Movatterモバイル変換


[0]ホーム

URL:


CN104462583A - Browser device for advertisement blocking processing and mobile terminal - Google Patents

Browser device for advertisement blocking processing and mobile terminal
Download PDF

Info

Publication number
CN104462583A
CN104462583ACN201410843935.6ACN201410843935ACN104462583ACN 104462583 ACN104462583 ACN 104462583ACN 201410843935 ACN201410843935 ACN 201410843935ACN 104462583 ACN104462583 ACN 104462583A
Authority
CN
China
Prior art keywords
information
rule
file
advertisement
blocking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410843935.6A
Other languages
Chinese (zh)
Inventor
袁晓波
杜海燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 LtdfiledCriticalBeijing Qihoo Technology Co Ltd
Priority to CN201410843935.6ApriorityCriticalpatent/CN104462583A/en
Publication of CN104462583ApublicationCriticalpatent/CN104462583A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开一种进行广告拦截处理浏览器装置和移动终端,其中该进行广告拦截处理浏览器装置包括:一处理器,其在浏览器客户端中设置一广告过滤器组件;其中,所述广告过滤器组件配置为在浏览器客户端在加载页面过程中,对待加载页面进行静态广告元素过滤处理和/或动态广告元素过滤处理。通过本发明,能够针对当前加载的页面进行切实有效地广告元素过滤。

The invention discloses a browser device and a mobile terminal for performing advertisement interception processing, wherein the browser device for performing advertisement interception processing includes: a processor, which sets an advertisement filter component in the browser client; wherein, the advertisement The filter component is configured to perform static advertisement element filtering and/or dynamic advertisement element filtering on the page to be loaded during the page loading process of the browser client. Through the present invention, it is possible to effectively and effectively filter advertisement elements for the currently loaded page.

Description

Translated fromChinese
一种进行广告拦截处理浏览器装置和移动终端A browser device and mobile terminal for ad blocking processing

技术领域technical field

本发明属于浏览器技术领域,尤其涉及一种进行广告拦截处理浏览器装置和移动终端。The invention belongs to the technical field of browsers, and in particular relates to a browser device and a mobile terminal for performing advertisement interception processing.

背景技术Background technique

网络广告就是在互联网络上做的广告。通过网络广告投放平台来利用网站上的广告横幅、文本链接、多媒体的方法,在互联网刊登或发布广告,通过网络传递到互联网用户的一种高科技广告运作方式。与传统的传播媒体广告(报纸、杂志、电视、广播、户外)相比,网络广告具有得天独厚的优势,目前,互联网网络广告的市场正在以惊人的速度增长。Online advertising is advertising on the Internet. It is a high-tech advertising operation method that uses advertising banners, text links, and multimedia methods on the website to publish or publish advertisements on the Internet through the online advertising platform, and deliver them to Internet users through the Internet. Compared with traditional communication media advertisements (newspapers, magazines, television, radio, outdoor), online advertisements have unique advantages. At present, the market of Internet advertisements is growing at an alarming rate.

在互联网技术中,通过浏览器访问是一种最常见的有效获取各种信息和数据的方式。在通过浏览器访问时,网页上大量投放的广告给用户提供信息的同时也给大多数用户带来干扰,频繁出现的弹窗严重干扰和影响了用户的工作,因此,有必要对网页中的广告进行过滤。In Internet technology, accessing through a browser is the most common way to effectively obtain various information and data. When accessing through a browser, a large number of advertisements on the webpage provide users with information and also cause interference to most users. Frequent pop-up windows seriously interfere with and affect the work of users. Therefore, it is necessary to Ads are filtered.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的进行广告拦截处理浏览器装置和移动终端。In view of the above problems, the present invention is proposed to provide a browser device and a mobile terminal that overcome the above problems or at least partially solve the above problems.

依据本发明的一个方面,提供一种进行广告拦截处理浏览器装置,包括:一处理器,其在浏览器客户端中设置一广告过滤器组件;其中,所述广告过滤器组件配置为在浏览器客户端在加载页面过程中,对待加载页面进行静态广告元素过滤处理和/或动态广告元素过滤处理。According to one aspect of the present invention, there is provided a browser device for ad blocking processing, including: a processor, which sets an ad filter component in the browser client; wherein, the ad filter component is configured to browse During the page loading process, the server client performs static advertisement element filtering and/or dynamic advertisement element filtering on the page to be loaded.

其中,所述广告过滤器组件还配置为:根据网页请求的URL的黑/白名单机制,确定是否进行静态广告元素过滤处理和/或动态广告元素过滤处理。Wherein, the advertisement filter component is further configured to: determine whether to perform static advertisement element filtering and/or dynamic advertisement element filtering according to the blacklist/whitelist mechanism of the URL requested by the webpage.

其中,所述静态广告元素过滤处理包括:基于网页请求的URL确定出对应的层叠样式表CSS文件的过滤处理规则,对指定网站的URL进行CSS文件中的广告元素进行隐藏操作。Wherein, the filtering process of the static advertisement element includes: determining the filter processing rule of the corresponding cascading style sheet CSS file based on the URL of the web page request, and performing an operation of hiding the advertisement element in the CSS file for the URL of the specified website.

其中,所述静态广告元素过滤处理包括:基于当前URL网页中的广告子窗口确定出对对应的本地cookie文件的不进行读取后上传,或者不进行对当前URL网页之外的第三方网站的cookie文件的读写操作。Wherein, the static advertisement element filtering process includes: based on the advertisement sub-window in the current URL webpage, it is determined not to upload the corresponding local cookie file after reading, or not to upload to a third-party website other than the current URL webpage Read and write operations for cookie files.

其中,所述动态广告元素过滤处理包括:在页面加载过程中进行的基于广告拦截规则的匹配后生成的是否发起http网页请求。Wherein, the dynamic advertisement element filtering process includes: whether to initiate an http web page request generated after matching based on advertisement blocking rules during the page loading process.

其中,所述广告过滤器组件配置有广告拦截规则解析引擎,http网页的网页请求发出时,由所述广告拦截规则解析引擎对该网页请求进行解析得到以下解析结果:网页地址url信息、来源地址refer信息、接受的类型accept-type信息;并根据解析结果确定出是否对该网页请求进行拦截处理。Wherein, the advertisement filter component is configured with an advertisement blocking rule analysis engine, and when a webpage request of an http webpage is sent, the webpage request is analyzed by the advertisement interception rule analysis engine to obtain the following analysis results: webpage address url information, source address refer information, accepted type accept-type information; and determine whether to intercept the webpage request according to the analysis result.

其中,所述广告拦截规则解析引擎维护有与网络端进行定期更新的多个规则库,其中每个规则库分别存储有不同网站的广告拦截规则文件;广告拦截规则解析引擎将该广告拦截规则文件生成为不同的过滤器,通过过滤器对于http的请求中的url信息、refer信息、accept-type信息进行过滤处理,从而判断出是否对该网页请求进行拦截处理。Wherein, the ad blocking rule analysis engine maintains a plurality of rule bases that are regularly updated with the network side, wherein each rule base stores the ad blocking rule files of different websites respectively; the ad blocking rule analysis engine takes the ad blocking rule file Generate different filters, and filter the url information, refer information, and accept-type information in the http request through the filter, so as to determine whether to intercept the web page request.

其中,所述广告过滤器组件还配置为,依据用户对于页面中的元素信息的点击事件的记录信息,确定出对应到过滤器被优先加载或使用的优先级别,其中,预定元素信息的点击事件被记录的数量与处理该元素信息的过滤器的优先级别成反比例。Wherein, the advertisement filter component is further configured to, according to the record information of the user's click event on the element information in the page, determine the priority level corresponding to the filter being preferentially loaded or used, wherein the click event of the predetermined element information The number logged is inversely proportional to the priority of the filter processing the element's information.

其中,所述过滤器为脚本语言JS过滤器,所述JS过滤器用于当网页请求的文件是JS文件时,对于JS文件所在的网页的URL信息判断是否对该网页请求进行拦截处理。Wherein, the filter is a scripting language JS filter, and the JS filter is used for judging whether to intercept the web page request for the URL information of the web page where the JS file is located when the file requested by the web page is a JS file.

其中,所述广告拦截规则文件包括:固定格式的文件名、规则标题、更新时间、作者、版本、固定语法的规则内容文件。Wherein, the advertisement blocking rule file includes: a file name in a fixed format, a rule title, an update time, an author, a version, and a rule content file with a fixed syntax.

其中,所述广告过滤器组件还配置为,识别所述浏览器客户端的设备信息,并向与浏览器客户端对应的服务器请求下发与设备信息相对应的广告拦截规则。Wherein, the advertisement filter component is further configured to identify the device information of the browser client, and request the server corresponding to the browser client to deliver an advertisement blocking rule corresponding to the device information.

其中,所述广告过滤器组件还配置为:统计所述浏览器客户端中经常访问的网页的url信息,所述服务器将该网页的广告拦截规则下发到对应的浏览器客户端。Wherein, the advertisement filter component is further configured to: collect the url information of frequently visited webpages in the browser client, and the server sends the advertisement blocking rules of the webpage to the corresponding browser client.

依据本发明的另一方面,提供一种移动终端,其包括以上所述的进行广告拦截处理浏览器装置。According to another aspect of the present invention, a mobile terminal is provided, which includes the above-mentioned browser device for performing advertisement blocking processing.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:

图1是根据本发明一个实施例的进行广告拦截处理浏览器装置的结构框图;Fig. 1 is a structural block diagram of a browser device for ad blocking processing according to an embodiment of the present invention;

图2是根据本发明一个实施例的移动终端的结构框图。Fig. 2 is a structural block diagram of a mobile terminal according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

根据本发明实施例,提供一种进行广告拦截处理浏览器装置。According to an embodiment of the present invention, a browser device for performing advertisement blocking processing is provided.

图1是根据本发明一个实施例的进行广告拦截处理浏览器装置的结构框图。如图1所示,所述进行广告拦截处理浏览器装置100包括有一处理器110,其在浏览器客户端中设置一广告过滤器组件;其中,所述广告过滤器组件配置为在浏览器客户端在加载页面过程中,对待加载页面进行静态广告元素过滤处理和/或动态广告元素过滤处理。Fig. 1 is a structural block diagram of a browser device for ad blocking processing according to an embodiment of the present invention. As shown in Figure 1, the browser device 100 for performing advertisement interception processing includes a processor 110, which sets an advertisement filter component in the browser client; wherein, the advertisement filter component is configured to In the process of loading the page, the terminal performs static advertisement element filtering processing and/or dynamic advertisement element filtering processing on the page to be loaded.

在本发明实施例中,预先设置URL的黑名单和白名单,当进行网页请求时,所述广告过滤器组件根据网页请求的URL的黑/白名单机制,确定是否对加载的网页进行静态广告元素过滤处理和/或动态广告元素过滤处理。其中,可以对加载的网页单独进行静态广告元素过滤处理,也可以单独进行动态广告元素过滤处理,还可以同时进行静态广告元素过滤处理和动态广告元素过滤处理,下面分别描述静态广告元素过滤处理和动态广告元素过滤处理的处理细节。In the embodiment of the present invention, the blacklist and whitelist of URLs are preset, and when a webpage request is made, the advertisement filter component determines whether to perform static advertisement on the loaded webpage according to the blacklist/whitelist mechanism of the URL requested by the webpage Element filtering and/or dynamic ad element filtering. Among them, static advertisement element filtering processing can be performed on the loaded webpage separately, dynamic advertisement element filtering processing can also be performed separately, and static advertisement element filtering processing and dynamic advertisement element filtering processing can also be performed at the same time, the following describes static advertisement element filtering processing and dynamic advertisement element filtering processing respectively. Processing details of dynamic ad element filtering processing.

其中,所述静态广告元素过滤处理可以包括以下实现方式:Wherein, the static advertisement element filtering process may include the following implementation methods:

(1)基于网页请求的URL确定出对应的层叠样式表(CSS)文件的过滤处理规则,对指定网站的URL进行CSS文件中的广告元素进行隐藏操作。例如,确定对网站sina.com进行广告过滤,设置sina.com#DIV(id=ad),即对DIV元素进行过滤隐藏。(1) Determine the filter processing rule of the corresponding Cascading Style Sheet (CSS) file based on the URL of the webpage request, and perform an operation of hiding the advertisement element in the CSS file for the URL of the specified website. For example, if it is determined to filter advertisements on the website sina.com, set sina.com#DIV(id=ad), that is, to filter and hide the DIV element.

(2)基于当前URL网页中的广告子窗口确定出对对应的本地cookie文件的不进行读取后上传,例如sina网中的某一个广告弹窗要进行本地cookie文件读取时,就拦截掉,以达到不显示基于cookie数据的广告加载;或者不进行对当前URL网页之外的第三方网站的cookie文件的读写操作。(2) Based on the advertisement sub-window in the current URL web page, it is determined that the corresponding local cookie file is not read and then uploaded. For example, when a certain advertisement pop-up window in the sina network needs to read the local cookie file, it is intercepted , so as not to display the advertisement loading based on the cookie data; or not to read and write the cookie file of the third-party website other than the current URL page.

其中,所述动态广告元素过滤处理是指:在页面加载过程中进行的基于广告拦截规则的匹配后生成的是否发起http网页请求。具体地,所述广告过滤器组件配置有广告拦截规则解析引擎,http的网页请求(request)发出时,由所述广告拦截规则解析引擎对该网页请求进行解析,并得到以下解析结果:网页地址url信息、来源地址refer信息、接受的类型accept-type信息;可以使用一个进行广告拦截判断的代理服务器,该代理服务器与广告拦截规则解析引擎进行交互,输入了当前网页请求(request)中的url信息、refer信息、accept-type信息后,确定出是否对该request进行拦截处理,如果决定拦截,直接由该代理服务器向当前网页请求返回404错误提示。Wherein, the dynamic advertisement element filtering process refers to: whether to initiate an http web page request generated after matching based on advertisement blocking rules during the page loading process. Specifically, the advertisement filter component is configured with an advertisement interception rule analysis engine. When a web page request (request) of http is sent out, the advertisement interception rule analysis engine analyzes the web page request, and obtains the following analysis results: web page address url information, source address refer information, accepted type accept-type information; a proxy server for ad blocking judgment can be used, the proxy server interacts with the ad blocking rule analysis engine, and the url in the current web page request (request) is input information, refer information, and accept-type information, determine whether to intercept the request, and if it decides to intercept, the proxy server will directly return a 404 error prompt to the current web page request.

在本发明的一个实施例中,所述广告拦截规则解析引擎维护有多个规则库,这些规则库中分别存储有对应不同网站的广告拦截规则文件,其中,所述广告拦截规则文件包括但不限于以下的信息:固定格式的文件名、规则标题、更新时间、作者、版本、固定语法的规则内容文件。所述规则库需要定期或实时更新,所述的广告拦截规则可以是浏览器用户手动配置的,也可以是通过与网络端进行交互,保持与网络端的更新。例如,所述广告过滤器组件识别所述浏览器客户端的设备信息,确定出是手机设备还是PC端设备,并向与浏览器客户端对应的服务器请求下发与设备信息相对应的广告拦截规则。又例如,所述广告过滤器组件统计浏览器客户端中经常访问的网页的url信息,所述服务器将该网页的广告拦截规则下发到对应的浏览器客户端。In one embodiment of the present invention, the ad-blocking rule analysis engine maintains a plurality of rule bases, and the ad-blocking rule files corresponding to different websites are respectively stored in these rule bases, wherein the ad-blocking rule files include but not Information limited to the following: fixed-format filename, rule title, update time, author, version, fixed-syntax rule content file. The rule base needs to be updated periodically or in real time, and the advertisement blocking rules can be manually configured by browser users, or can be kept updated with the network terminal through interaction with the network terminal. For example, the advertisement filter component identifies the device information of the browser client, determines whether it is a mobile device or a PC device, and requests the server corresponding to the browser client to issue an advertisement blocking rule corresponding to the device information . For another example, the advertisement filter component collects statistics on url information of frequently visited webpages in the browser client, and the server sends the advertisement blocking rules of the webpage to the corresponding browser client.

广告拦截规则解析引擎根据广告拦截规则文件生成为不同的过滤器,通过过滤器对于http的请求进行过滤处理。在本发明的部分实施例中,所述过滤器可以为脚本语言(JS)过滤器,当网页请求的文件是JS文件时,所述JS过滤器对于JS文件所在的网页的URL信息判断是否对该网页请求进行拦截处理。The ad-blocking rule parsing engine generates different filters according to the ad-blocking rule file, and filters http requests through the filters. In some embodiments of the present invention, the filter can be a scripting language (JS) filter. When the file requested by the webpage is a JS file, the JS filter judges whether the URL information of the webpage where the JS file is located is correct or not. The web page request is intercepted.

一般地,可以设置过滤器的优先级别,过滤器按照其优先级别顺序被加载或使用。在实际应用中,如果某个加载的页面中的元素信息被用户点击操作,说明该元素信息不需要过滤,记录用户对于页面中的元素信息的点击事件的记录信息,如果预定元素信息的点击事件被记录的越多,则处理该元素信息的过滤器的优先级别越低,即,预定元素信息的点击事件被记录的数量与处理该元素信息的过滤器的优先级别成反比例。Generally, the priority level of filters can be set, and the filters are loaded or used in order of their priority levels. In practical applications, if the element information in a loaded page is clicked by the user, it means that the element information does not need to be filtered, and the record information of the user's click event on the element information in the page is recorded. The more recorded, the lower the priority level of the filter for processing the element information, that is, the number of recorded click events for predetermined element information is inversely proportional to the priority level of the filter for processing the element information.

根据本发明的实施例,还提供一种移动终端。According to an embodiment of the present invention, a mobile terminal is also provided.

图2是根据本发明一个实施例的移动终端的结构框图。如图2所示,所述移动终端200包括进行广告拦截处理浏览器装置210,所述进行广告拦截处理浏览器装置进一步包括有一处理器220,其在浏览器客户端中设置一广告过滤器组件;其中,所述广告过滤器组件配置为在浏览器客户端在加载页面过程中,对待加载页面进行静态广告元素过滤处理和/或动态广告元素过滤处理。Fig. 2 is a structural block diagram of a mobile terminal according to an embodiment of the present invention. As shown in Figure 2, the mobile terminal 200 includes a browser device 210 for ad blocking processing, and the browser device for ad blocking processing further includes a processor 220, which sets an ad filter component in the browser client ; Wherein, the ad filter component is configured to perform static ad element filtering and/or dynamic ad element filtering on the page to be loaded when the browser client is loading the page.

在本发明实施例中,预先设置URL的黑名单和白名单,当进行网页请求时,所述广告过滤器组件根据网页请求的URL的黑/白名单机制,确定是否对加载的网页进行静态广告元素过滤处理和/或动态广告元素过滤处理。其中,可以对加载的网页单独进行静态广告元素过滤处理,也可以单独进行动态广告元素过滤处理,还可以同时进行静态广告元素过滤处理和动态广告元素过滤处理,下面分别描述静态广告元素过滤处理和动态广告元素过滤处理的处理细节。In the embodiment of the present invention, the blacklist and whitelist of URLs are preset, and when a webpage request is made, the advertisement filter component determines whether to perform static advertisement on the loaded webpage according to the blacklist/whitelist mechanism of the URL requested by the webpage Element filtering and/or dynamic ad element filtering. Among them, static advertisement element filtering processing can be performed on the loaded webpage separately, dynamic advertisement element filtering processing can also be performed separately, and static advertisement element filtering processing and dynamic advertisement element filtering processing can also be performed at the same time, the following describes static advertisement element filtering processing and dynamic advertisement element filtering processing respectively. Processing details of dynamic ad element filtering processing.

其中,所述静态广告元素过滤处理可以包括以下实现方式:Wherein, the static advertisement element filtering process may include the following implementation methods:

(1)基于网页请求的URL确定出对应的层叠样式表(CSS)文件的过滤处理规则,对指定网站的URL进行CSS文件中的广告元素进行隐藏操作。例如,确定对网站sina.com进行广告过滤,设置sina.com#DIV(id=ad),即对DIV元素进行过滤隐藏。(1) Determine the filter processing rule of the corresponding Cascading Style Sheet (CSS) file based on the URL of the webpage request, and perform an operation of hiding the advertisement element in the CSS file for the URL of the specified website. For example, if it is determined to filter advertisements on the website sina.com, set sina.com#DIV(id=ad), that is, to filter and hide the DIV element.

(2)基于当前URL网页中的广告子窗口确定出对对应的本地cookie文件的不进行读取后上传,例如sina网中的某一个广告弹窗要进行本地cookie文件读取时,就拦截掉,以达到不显示基于cookie数据的广告加载;或者不进行对当前URL网页之外的第三方网站的cookie文件的读写操作。(2) Based on the advertisement sub-window in the current URL web page, it is determined that the corresponding local cookie file is not read and then uploaded. For example, when a certain advertisement pop-up window in the sina network needs to read the local cookie file, it is intercepted , so as not to display the advertisement loading based on the cookie data; or not to read and write the cookie file of the third-party website other than the current URL page.

其中,所述动态广告元素过滤处理是指:在页面加载过程中进行的基于广告拦截规则的匹配后生成的是否发起http网页请求。具体地,所述广告过滤器组件配置有广告拦截规则解析引擎,http的网页请求(request)发出时,由所述广告拦截规则解析引擎对该网页请求进行解析,并得到以下解析结果:网页地址url信息、来源地址refer信息、接受的类型accept-type信息;可以使用一个进行广告拦截判断的代理服务器,该代理服务器与广告拦截规则解析引擎进行交互,输入了当前网页请求(request)中的url信息、refer信息、accept-type信息后,确定出是否对该request进行拦截处理,如果决定拦截,直接由该代理服务器向当前网页请求返回404错误提示。Wherein, the dynamic advertisement element filtering process refers to: whether to initiate an http web page request generated after matching based on advertisement blocking rules during the page loading process. Specifically, the advertisement filter component is configured with an advertisement interception rule analysis engine. When a web page request (request) of http is sent out, the advertisement interception rule analysis engine analyzes the web page request, and obtains the following analysis results: web page address url information, source address refer information, accepted type accept-type information; a proxy server for ad blocking judgment can be used, the proxy server interacts with the ad blocking rule analysis engine, and the url in the current web page request (request) is input information, refer information, and accept-type information, determine whether to intercept the request, and if it decides to intercept, the proxy server will directly return a 404 error prompt to the current web page request.

在本发明的一个实施例中,所述广告拦截规则解析引擎维护有多个规则库,这些规则库中分别存储有对应不同网站的广告拦截规则文件,其中,所述广告拦截规则文件包括但不限于以下的信息:固定格式的文件名、规则标题、更新时间、作者、版本、固定语法的规则内容文件。所述规则库需要定期或实时更新,所述的广告拦截规则可以是浏览器用户手动配置的,也可以是通过与网络端进行交互,保持与网络端的更新。例如,所述广告过滤器组件识别所述浏览器客户端的设备信息,确定出是手机设备还是PC端设备,并向与浏览器客户端对应的服务器请求下发与设备信息相对应的广告拦截规则。又例如,所述广告过滤器组件统计浏览器客户端中经常访问的网页的url信息,所述服务器将该网页的广告拦截规则下发到对应的浏览器客户端。In one embodiment of the present invention, the ad-blocking rule analysis engine maintains a plurality of rule bases, and the ad-blocking rule files corresponding to different websites are respectively stored in these rule bases, wherein the ad-blocking rule files include but not Information limited to the following: fixed-format filename, rule title, update time, author, version, fixed-syntax rule content file. The rule base needs to be updated periodically or in real time, and the advertisement blocking rules can be manually configured by browser users, or can be kept updated with the network terminal through interaction with the network terminal. For example, the advertisement filter component identifies the device information of the browser client, determines whether it is a mobile device or a PC device, and requests the server corresponding to the browser client to issue an advertisement blocking rule corresponding to the device information . For another example, the advertisement filter component collects statistics on url information of frequently visited webpages in the browser client, and the server delivers the advertisement blocking rules of the webpage to the corresponding browser client.

广告拦截规则解析引擎根据广告拦截规则文件生成为不同的过滤器,通过过滤器对于http的请求进行过滤处理。在本发明的部分实施例中,所述过滤器可以为脚本语言(JS)过滤器,当网页请求的文件是JS文件时,所述JS过滤器对于JS文件所在的网页的URL信息判断是否对该网页请求进行拦截处理。The ad-blocking rule parsing engine generates different filters according to the ad-blocking rule file, and filters http requests through the filters. In some embodiments of the present invention, the filter can be a scripting language (JS) filter. When the file requested by the webpage is a JS file, the JS filter judges whether the URL information of the webpage where the JS file is located is correct or not. The web page request is intercepted.

一般地,可以设置过滤器的优先级别,过滤器按照其优先级别顺序被加载或使用。在实际应用中,如果某个加载的页面中的元素信息被用户点击操作,说明该元素信息不需要过滤,记录用户对于页面中的元素信息的点击事件的记录信息,如果预定元素信息的点击事件被记录的越多,则处理该元素信息的过滤器的优先级别越低,即,预定元素信息的点击事件被记录的数量与处理该元素信息的过滤器的优先级别成反比例。Generally, the priority level of filters can be set, and the filters are loaded or used in order of their priority levels. In practical applications, if the element information in a loaded page is clicked by the user, it means that the element information does not need to be filtered, and the record information of the user's click event on the element information in the page is recorded. The more recorded, the lower the priority level of the filter for processing the element information, that is, the number of recorded click events for predetermined element information is inversely proportional to the priority level of the filter for processing the element information.

综上所述,根据本发明的上述技术方案,通过在浏览器客户端在加载页面过程中,对待加载页面进行静态广告元素过滤处理和/或动态广告元素过滤处理,从而能够针对当前加载的页面进行切实有效地广告元素过滤。To sum up, according to the technical solution of the present invention, by performing static advertisement element filtering and/or dynamic advertisement element filtering on the page to be loaded during the page loading process of the browser client, it is possible to target the currently loaded page Effectively filter advertising elements.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例提供的装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in the device provided according to the embodiments of the present invention. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

Claims (13)

CN201410843935.6A2014-12-302014-12-30Browser device for advertisement blocking processing and mobile terminalPendingCN104462583A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201410843935.6ACN104462583A (en)2014-12-302014-12-30Browser device for advertisement blocking processing and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410843935.6ACN104462583A (en)2014-12-302014-12-30Browser device for advertisement blocking processing and mobile terminal

Publications (1)

Publication NumberPublication Date
CN104462583Atrue CN104462583A (en)2015-03-25

Family

ID=52908618

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410843935.6APendingCN104462583A (en)2014-12-302014-12-30Browser device for advertisement blocking processing and mobile terminal

Country Status (1)

CountryLink
CN (1)CN104462583A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104778226A (en)*2015-03-262015-07-15小米科技有限责任公司Webpage content item shielding method and webpage content item shielding device
CN105100084A (en)*2015-07-072015-11-25中国科学院计算技术研究所Method and system for preventing cross-site request forgery attack
CN105183790A (en)*2015-08-212015-12-23成都秋雷科技有限责任公司Advertisement blocking method for web page browsing
CN105654333A (en)*2015-12-162016-06-08北京奇虎科技有限公司Browser and prompt window pop-up realization method and system
CN106095869A (en)*2016-06-032016-11-09腾讯科技(深圳)有限公司Advertisement information processing method, subscriber equipment, background server and system
CN106227847A (en)*2016-07-272016-12-14宁波圆形网络科技有限公司One goes ad system and method
CN106326316A (en)*2015-07-082017-01-11腾讯科技(深圳)有限公司Web page advertisement filtering method and device
CN106339208A (en)*2015-07-152017-01-18腾讯科技(深圳)有限公司Multimedia information popup processing method and equipment
CN106611355A (en)*2015-10-272017-05-03深圳市多尼卡电子技术有限公司Method and system for saving aviation network advertisement flow
CN107204958A (en)*2016-03-162017-09-26阿里巴巴集团控股有限公司The detection method and device of web page resources element, terminal device
WO2018121011A1 (en)*2016-12-282018-07-05北京金山安全软件有限公司Advertisement interception method and apparatus, and terminal device
CN109241437A (en)*2018-09-192019-01-18麒麟合盛网络技术股份有限公司A kind of generation method, advertisement recognition method and the system of advertisement identification model
CN110610375A (en)*2018-06-152019-12-24北京奇虎科技有限公司 An advertisement filtering method, device and computer equipment
CN115730162A (en)*2021-08-312023-03-03腾讯科技(深圳)有限公司Webpage information display method, device, equipment and storage medium
CN119128303A (en)*2024-11-142024-12-13星火智云(上海)科技发展有限公司 A real-time advertisement blocking and optimization method

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20080200207A1 (en)*2007-02-202008-08-21Microsoft CorporationContextual Auto-Replication in Short Range Wireless Networks
CN101917404A (en)*2010-07-152010-12-15优视科技有限公司 Browser Security Defense Method for Mobile Terminals
CN102054030A (en)*2010-12-172011-05-11惠州Tcl移动通信有限公司Mobile terminal webpage display control method and device
CN102857493A (en)*2012-06-302013-01-02华为技术有限公司Content filtering method and device
CN103605688A (en)*2013-11-012014-02-26北京奇虎科技有限公司Intercept method and intercept device for homepage advertisements and browser
CN104021172A (en)*2014-05-302014-09-03北京搜狗科技发展有限公司Advertisement filtering method and advertisement filtering device
CN104102743A (en)*2014-07-312014-10-15可牛网络技术(北京)有限公司Method and device for filtering webpage advertisement

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20080200207A1 (en)*2007-02-202008-08-21Microsoft CorporationContextual Auto-Replication in Short Range Wireless Networks
CN101917404A (en)*2010-07-152010-12-15优视科技有限公司 Browser Security Defense Method for Mobile Terminals
CN102054030A (en)*2010-12-172011-05-11惠州Tcl移动通信有限公司Mobile terminal webpage display control method and device
CN102857493A (en)*2012-06-302013-01-02华为技术有限公司Content filtering method and device
CN103605688A (en)*2013-11-012014-02-26北京奇虎科技有限公司Intercept method and intercept device for homepage advertisements and browser
CN104021172A (en)*2014-05-302014-09-03北京搜狗科技发展有限公司Advertisement filtering method and advertisement filtering device
CN104102743A (en)*2014-07-312014-10-15可牛网络技术(北京)有限公司Method and device for filtering webpage advertisement

Cited By (25)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104778226A (en)*2015-03-262015-07-15小米科技有限责任公司Webpage content item shielding method and webpage content item shielding device
CN105100084A (en)*2015-07-072015-11-25中国科学院计算技术研究所Method and system for preventing cross-site request forgery attack
CN105100084B (en)*2015-07-072018-03-30中国科学院计算技术研究所It is a kind of to prevent the method and system across station request forgery attack
CN106326316A (en)*2015-07-082017-01-11腾讯科技(深圳)有限公司Web page advertisement filtering method and device
CN106326316B (en)*2015-07-082022-11-29腾讯科技(深圳)有限公司Webpage advertisement filtering method and device
CN106339208A (en)*2015-07-152017-01-18腾讯科技(深圳)有限公司Multimedia information popup processing method and equipment
WO2017008552A1 (en)*2015-07-152017-01-19腾讯科技(深圳)有限公司Multimedia information popup window processing method and device, and computer storage medium
US10579690B2 (en)2015-07-152020-03-03Tencent Technology (Shenzhen) Company LimitedMultimedia information pop-up window processing method and device, and computer storage medium
CN106339208B (en)*2015-07-152019-12-13腾讯科技(深圳)有限公司Multimedia information popup window processing method and equipment
CN105183790A (en)*2015-08-212015-12-23成都秋雷科技有限责任公司Advertisement blocking method for web page browsing
CN106611355A (en)*2015-10-272017-05-03深圳市多尼卡电子技术有限公司Method and system for saving aviation network advertisement flow
CN105654333A (en)*2015-12-162016-06-08北京奇虎科技有限公司Browser and prompt window pop-up realization method and system
CN107204958B (en)*2016-03-162021-03-23阿里巴巴集团控股有限公司Method and device for detecting webpage resource elements and terminal equipment
CN107204958A (en)*2016-03-162017-09-26阿里巴巴集团控股有限公司The detection method and device of web page resources element, terminal device
WO2017206782A1 (en)*2016-06-032017-12-07腾讯科技(深圳)有限公司Information processing method, terminal, background server and system, and storage medium
CN106095869B (en)*2016-06-032020-11-06腾讯科技(深圳)有限公司Advertisement information processing method, user equipment, background server and system
CN106095869A (en)*2016-06-032016-11-09腾讯科技(深圳)有限公司Advertisement information processing method, subscriber equipment, background server and system
US11087361B2 (en)2016-06-032021-08-10Tencent Technology (Shenzhen) Company LimitedInformation processing method, terminal, background server and system, storage medium
CN106227847A (en)*2016-07-272016-12-14宁波圆形网络科技有限公司One goes ad system and method
WO2018121011A1 (en)*2016-12-282018-07-05北京金山安全软件有限公司Advertisement interception method and apparatus, and terminal device
CN110610375A (en)*2018-06-152019-12-24北京奇虎科技有限公司 An advertisement filtering method, device and computer equipment
CN110610375B (en)*2018-06-152023-10-20三六零科技集团有限公司Advertisement filtering method and device and computer equipment
CN109241437A (en)*2018-09-192019-01-18麒麟合盛网络技术股份有限公司A kind of generation method, advertisement recognition method and the system of advertisement identification model
CN115730162A (en)*2021-08-312023-03-03腾讯科技(深圳)有限公司Webpage information display method, device, equipment and storage medium
CN119128303A (en)*2024-11-142024-12-13星火智云(上海)科技发展有限公司 A real-time advertisement blocking and optimization method

Similar Documents

PublicationPublication DateTitle
CN104462583A (en)Browser device for advertisement blocking processing and mobile terminal
US11886402B2 (en)Systems, methods, and media for dynamically generating informational content
US8645453B2 (en)Method and system of processing cookies across domains
US20160357867A1 (en)Creating rules for use in third-party tag management systems
CN104021172B (en)Advertisement filter method and advertisement filter device
US10013500B1 (en)Behavior based optimization for content presentation
CN107807937B (en)Website SEO processing method, device and system
US9864671B1 (en)Systems and methods of live experimentation on content provided by a web site
CN104428765B (en) reduce redirects
US8788925B1 (en)Authorized syndicated descriptions of linked web content displayed with links in user-generated content
US20180041530A1 (en)Method and system for detecting malicious web addresses
US20150012363A1 (en)Methods and systems for processing and displaying content
US20140068411A1 (en)Methods and apparatus to monitor usage of internet advertising networks
US20110214163A1 (en)Automated analysis of cookies
US20160019195A1 (en)Method and system for posting comments on hosted web pages
US20120221386A1 (en)Real-time online advertisement verification system and method
US20120216109A1 (en)Analyzing an interaction history to generate a customized webpage
WO2014124420A1 (en)System and method to analyze and rate online advertisement placement quality and potential value
US20170192941A1 (en)Computer-Automated Generation of Application Deep Links
WO2009149380A1 (en)Displaying online advertisements
US20140278926A1 (en)System and method for attribution of mobile advertisements related to mobile applications
CN105260421A (en)Webpage loading method and apparatus
CN109471974A (en)Filter method, apparatus, electronic equipment and the storage medium of third party's web advertisement
US20170345052A1 (en)Method and system for identifying anomalous content requests
US20150193809A1 (en)Do Not Track / Advertise Functionality Based on User Identification Association

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20150325


[8]ページ先頭

©2009-2025 Movatter.jp