[go: up one dir, main page]

WO2019041355A1 - Terminal-based browser advertisement blocking method, terminal, and computer storage medium - Google Patents

Terminal-based browser advertisement blocking method, terminal, and computer storage medium Download PDF

Info

Publication number
WO2019041355A1
WO2019041355A1 PCT/CN2017/100418 CN2017100418W WO2019041355A1 WO 2019041355 A1 WO2019041355 A1 WO 2019041355A1 CN 2017100418 W CN2017100418 W CN 2017100418W WO 2019041355 A1 WO2019041355 A1 WO 2019041355A1
Authority
WO
WIPO (PCT)
Prior art keywords
webpage data
advertisement
information
pop
terminal
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.)
Ceased
Application number
PCT/CN2017/100418
Other languages
French (fr)
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.)
Shenzhen Transsion Communication Co Ltd
Original Assignee
Shenzhen Transsion Communication 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 Shenzhen Transsion Communication Co Ltd filed Critical Shenzhen Transsion Communication Co Ltd
Priority to PCT/CN2017/100418 priority Critical patent/WO2019041355A1/en
Publication of WO2019041355A1 publication Critical patent/WO2019041355A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Definitions

  • the present invention relates to the field of electronic information, and in particular, to a terminal-based browser advertisement screening method, a terminal, and a computer storage medium.
  • a browser In various brands of terminals, such as mobile phones, a browser is always built in, so that everyone can browse the website to access information, but in order to increase operating income, website operators usually set a lot of floating pop-ups on the website page. Advertising, but when the user browses the website page through the browser of the terminal, these floating pop-up advertisements easily hinder the page that the user actually needs to browse, and the browser will download all the data in the pop-up advertisement information when loading the website page. It also increases the load on the system and wastes traffic.
  • the main purpose of the present invention is to provide a terminal-based browser advertisement shielding method, a terminal and a computer storage medium, which are intended to solve the technical problem that a browser's pop-up advertisement affects user usage, increases terminal system load, and wastes traffic.
  • the present invention provides a terminal-based browser advertisement screening method, including the steps of:
  • a function for identifying the pop-up advertisement information is embedded to form a webpage data acquisition and screening function
  • the pop-up advertisement page corresponding to the pop-up advertisement information is blocked.
  • the method further includes:
  • the website page corresponding to the webpage data information is displayed.
  • the step of acquiring the webpage data information from the web server by the calling webpage data acquisition and screening function, and identifying whether the pop-up advertisement information is included in the webpage data information comprises:
  • the webpage data information includes popup advertisement information.
  • the step of shielding the pop-up advertisement page corresponding to the pop-up advertisement information includes:
  • the webpage display time information corresponding to all the webpages in the webpage data information is acquired;
  • the step of acquiring the webpage data information from the web server by the calling webpage data acquisition and screening function, and identifying whether the pop-up advertisement information is included in the webpage data information comprises:
  • the webpage data information matches the popup advertisement information in the preset database, it is recognized that the webpage data information includes popup advertisement information.
  • the browser is based on a webkit kernel or a chrome kernel.
  • a step of embedding a function for identifying pop-up advertisement information in the webpage data acquisition function to form a webpage data acquisition and screening function is performed.
  • the present invention also provides a terminal comprising a memory, a processor, and a browser program stored on the memory and executable on the processor, the browser program being processed
  • the steps of the terminal-based browser advertisement screening method as described above are implemented when the device is executed.
  • the terminal is an Android mobile phone.
  • the present invention also provides a computer storage medium on which a browser program is stored, and when the browser program is executed by the processor, the terminal-based browser advertisement as described above is implemented. The steps of the masking method.
  • the invention provides a terminal-based browser advertisement shielding method, a terminal and a computer storage medium, and forms a webpage data acquisition and screening function by embedding a function for identifying pop-up advertisement information in a webpage data acquisition function; And sending a webpage data acquisition request to the web server; calling the webpage data acquisition and screening function to obtain webpage data information from the web server, and identifying whether the webpage data information includes popup advertisement information;
  • the webpage data information includes the pop-up advertisement information
  • the pop-up advertisement page corresponding to the pop-up advertisement information is blocked. Therefore, when the pop-up window information is included in the confirmation webpage data information, the pop-up advertisement page corresponding to the pop-up window broadcast information is shielded to avoid increasing the system load, and does not affect the user's use, thereby reducing waste of traffic.
  • FIG. 1 is a schematic flowchart of a first embodiment of a browser-based browser advertisement screening method according to the present invention
  • step S30 is a schematic flowchart of the refinement of step S30 in the second embodiment of the terminal-based browser advertisement screening method according to the present invention
  • step S40 is a schematic flowchart of the refinement of step S40 in the third embodiment of the terminal-based browser advertisement screening method according to the present invention.
  • FIG. 4 is a schematic flowchart of the refinement of step S30 in the fourth embodiment of the terminal-based browser advertisement screening method according to the present invention.
  • the terminal-based browser advertisement screening method includes the following steps:
  • Step S10 embedding a function for identifying pop-up advertisement information in the webpage data acquisition function to form a webpage data acquisition and screening function
  • the browser advertisement mask is applied to the terminal field
  • the terminal may be a mobile phone, a tablet computer, a notebook computer, or the like.
  • the browser specifically refers to an HTML (HyperText) that can display a web server or a file system.
  • HTML Hypertext Markup Language
  • the browser may be based on a webkit kernel or a chrome kernel, and the browser invokes a webpage data acquisition function to download and parse data in the web server by some protocol at runtime.
  • a function for identifying pop-up advertisement information is embedded in the original webpage data acquisition function, thereby forming a new webpage data acquisition and screening function. It should be noted that the function is composed of the running code applicable to the browser, as long as the function of identifying the pop-up advertisement information can be realized, and the specific code content is not described.
  • Step S20 in response to the user's operation, sending a webpage data acquisition request to the web server;
  • the browser acts as a medium for the user and the web server or the file system, and after the user triggers the browser interface, responds to the user's operation, and then sends a webpage data acquisition request to the web server according to the user's operation instruction, so that the web server obtains the request according to the webpage data.
  • the content extracts web page data information in the web server to the browser.
  • Step S30 calling the webpage data acquisition and screening function to obtain webpage data information from the web server, and identifying whether the webpage data information includes popup advertisement information;
  • step S40 when the pop-up advertisement information is included in the webpage data information, the pop-up advertisement page corresponding to the pop-up advertisement information is blocked.
  • the browser After sending the webpage data acquisition request, the browser will invoke the new webpage data acquisition and screening function to obtain the webpage data information from the web server, and identify whether the webpage data information contains popup advertisement information.
  • the method for identifying whether the pop-up advertisement information is included in the webpage data information may be set according to actual needs, or may be
  • the pop-up advertisement information in the database is matched with the website data information.
  • the webpage data information includes pop-up advertisement information;
  • the advertisement page is inconsistent with the pop-up time of the website page that needs to be displayed, and the pop-up advertisement information is selected.
  • the pop-up advertisement information is recognized, the pop-up advertisement page corresponding to the pop-up advertisement information is blocked, and the website page to be displayed is displayed.
  • a webpage data acquisition and screening function is formed by embedding a function for identifying popup advertisement information in a webpage data acquisition function; after the webpage is acquired from the web server, the browser displays the webpage through the webpage
  • the data acquisition and screening function filters out the pop-up advertisement information, and blocks the pop-up advertisement page corresponding to the pop-up advertisement information.
  • step S30 the following steps are further included:
  • the website page corresponding to the webpage data information is displayed.
  • the browser may be configured to obtain an identifier of the blocked pop-up advertisement of the browser.
  • step S10 is performed.
  • a browser for shielding the pop-up window advertisement may be preset.
  • An identifier of the functional status which may also be correspondingly provided with a function button displayed on the browser interface.
  • the setting of the identifier may be set according to actual needs, and may be, when the identifier is 1, the opening of the masked pop-up advertisement; when the identifier is 0, it is indicated as closing the closed pop-up advertisement.
  • a second embodiment of the terminal-based browser advertisement screening method of the present invention is proposed based on the first embodiment of the terminal-based browser advertisement screening method of the present invention.
  • the step S30 is performed.
  • Step S31 calling the webpage data acquisition and screening function to obtain webpage data information from the web server, and acquiring quantity information of the webpage in the webpage data information;
  • step S32 when the quantity information of the webpage is greater than 1, it is recognized that the webpage data information includes popup advertisement information.
  • the pop-up advertisement is an advertisement that automatically pops up after the website is opened, and is displayed on the screen of the terminal whether clicked or not clicked. Therefore, if the website data is When the pop-up advertisement information is included, the number of webpages must be greater than 1, so that when the number information of the webpage is greater than 1, it can be known that the webpage data information includes a pop-up advertisement, thereby further performing a browser advertisement screening operation. The judgment of the quantity information of the webpage in the webpage data information provides a basis for subsequent browser advertisement blocking operations.
  • a third embodiment of the terminal-based browser advertisement screening method of the present invention is proposed based on the second embodiment of the terminal-based browser advertisement screening method of the present invention.
  • the step S40 is performed.
  • Step S41 when pop-up advertisement information is included in the webpage data information, acquiring webpage display time information corresponding to all webpages in the webpage data information;
  • Step S42 determining, according to the webpage display time information, other webpages other than the first webpage displayed among all the webpages in the webpage data information as a pop-up advertisement page;
  • Step S43 shielding the pop-up advertisement page.
  • the step of masking the pop-up advertisement page corresponding to the pop-up advertisement information is further refined.
  • the display of the pop-up advertisement page is delayed compared to the display of the ordinary website page, that is to say, the pop-up advertisement page display is later than the normal website page pop-up time, so that other than the oldest displayed webpage in all the webpages can be used.
  • the web page is determined to be a pop-up advertisement page.
  • the technical solution of the present embodiment determines the pop-up advertisement page by displaying the time information on the webpage, which is simple and convenient, and provides support for shielding the browser pop-up advertisement.
  • a fourth embodiment of the terminal-based browser advertisement screening method of the present invention is proposed based on the first embodiment of the terminal-based browser advertisement screening method of the present invention.
  • the step S30 is performed.
  • Step S33 calling the webpage data acquisition and screening function to obtain webpage data information from the web server;
  • Step S34 matching the webpage data information with the pop-up advertisement information in the preset database
  • Step S35 When the webpage data information matches the popup advertisement information in the preset database, it is recognized that the webpage data information includes popup advertisement information.
  • the pop-up advertisement information shielding by the webpage display time and the number of webpages may not completely block all the pop-up advertisement pages. For this reason, the pop-up advertisement information may be saved in the preset database.
  • the database update is accumulated, and the pop-up advertisement information in the preset database is matched with the webpage data information, and when the webpage data information matches the pop-up advertisement information in the preset database, the webpage data information is recognized. Contains pop-up advertising information.
  • the combination of the webpage display time and the judging method of the webpage quantity information can be combined to enhance the comprehensiveness of the screened pop-up advertisement information; or the webpage display time and the number of webpages can be displayed.
  • the combination of information methods achieves the effect of reducing the load on the browser system and saving traffic.
  • the present invention further provides a terminal.
  • the terminal includes a memory and a processor, and the terminal may be an Android mobile phone, wherein the processor is connected to the memory, and the browser stores a browser program.
  • the step of implementing the terminal-based browser advertisement screening method in any one of the foregoing embodiments when the browser program is executed by the processor specifically includes:
  • a function for identifying the pop-up advertisement information is embedded to form a webpage data acquisition and screening function
  • the pop-up advertisement page corresponding to the pop-up advertisement information is blocked.
  • the website page corresponding to the webpage data information is displayed.
  • the webpage data information includes popup advertisement information.
  • the webpage display time information corresponding to all the webpages in the webpage data information is acquired;
  • the webpage data information matches the popup advertisement information in the preset database, it is recognized that the webpage data information includes popup advertisement information.
  • a step of embedding a function for identifying pop-up advertisement information in the webpage data acquisition function to form a webpage data acquisition and screening function is performed.
  • the present invention also provides a computer storage medium having stored thereon a browser program that, when executed by the processor, implements all of the steps of the terminal-based browser advertisement screening method described above.
  • portions of the technical solution of the present invention that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A terminal-based browser advertisement blocking method, terminal, and computer storage medium. The method comprises steps of: embedding, in a webpage data acquisition function, a function for identifying a pop-up window advertisement so as to create a webpage data acquisition and filtering function (S10); sending, in response to a user operation, a webpage data acquisition request to a web server (S20); calling the webpage data acquisition and filtering function to obtain webpage data from the web server, and identifying whether the webpage data contains pop-up window advertisement information (S30); and if so, then blocking a pop-up window advertisement page corresponding to the pop-up window advertisement information (S40). The method solves the problem in which pop-up window advertisements cannot be easily closed, cause inconvenience for users, and cause excessive data traffic.

Description

基于终端的浏览器广告屏蔽方法、终端及计算机存储介质  Terminal-based browser advertisement shielding method, terminal and computer storage medium

技术领域Technical field

本发明涉及电子信息领域,尤其涉及基于终端的浏览器广告屏蔽方法、终端及计算机存储介质。The present invention relates to the field of electronic information, and in particular, to a terminal-based browser advertisement screening method, a terminal, and a computer storage medium.

背景技术Background technique

在各种品牌的终端,例如手机中,总是会内置一款浏览器,方便大家通过上网浏览网站查询资料,但网站运营商为了增加运营收入,通常会在网站页面上设置很多悬浮的弹窗广告,但当用户通过终端的浏览器浏览网站页面时,这些悬浮的弹窗广告容易阻碍用户实际需要浏览的页面,且浏览器在加载网站页面时将包括弹窗广告信息内的所有数据都下载下来也增加了系统的负荷,浪费流量。In various brands of terminals, such as mobile phones, a browser is always built in, so that everyone can browse the website to access information, but in order to increase operating income, website operators usually set a lot of floating pop-ups on the website page. Advertising, but when the user browses the website page through the browser of the terminal, these floating pop-up advertisements easily hinder the page that the user actually needs to browse, and the browser will download all the data in the pop-up advertisement information when loading the website page. It also increases the load on the system and wastes traffic.

发明内容Summary of the invention

本发明的主要目的在于提供一种基于终端的浏览器广告屏蔽方法、终端及计算机存储介质,旨在解决浏览器的弹窗广告影响用户使用,增加终端系统负荷,浪费流量的技术问题。The main purpose of the present invention is to provide a terminal-based browser advertisement shielding method, a terminal and a computer storage medium, which are intended to solve the technical problem that a browser's pop-up advertisement affects user usage, increases terminal system load, and wastes traffic.

为实现上述目的,本发明提供一种基于终端的浏览器广告屏蔽方法,包括步骤:To achieve the above objective, the present invention provides a terminal-based browser advertisement screening method, including the steps of:

在网页数据获取函数中,嵌入用于识别弹窗广告信息的函数,形成网页数据获取与筛选函数;In the webpage data acquisition function, a function for identifying the pop-up advertisement information is embedded to form a webpage data acquisition and screening function;

响应用户的操作,发送网页数据获取请求至web服务器;Sending a webpage data acquisition request to the web server in response to the user's operation;

调用所述网页数据获取与筛选函数从所述web服务器中获取网页数据信息,并识别所述网页数据信息中是否包含弹窗广告信息;Calling the webpage data acquisition and screening function to obtain webpage data information from the web server, and identifying whether the webpage data information includes popup advertisement information;

在所述网页数据信息中包含弹窗广告信息时,屏蔽所述弹窗广告信息对应的弹窗广告页面。When the pop-up advertisement information is included in the webpage data information, the pop-up advertisement page corresponding to the pop-up advertisement information is blocked.

可选地,所述调用网页数据获取与筛选函数从所述web服务器中获取网页数据信息,并识别所述网页数据信息中是否包含弹窗广告信息的步骤之后,还包括:Optionally, after the step of acquiring the webpage data information by the webpage data acquisition and screening function from the web server, and identifying whether the webpage data information includes popup advertisement information, the method further includes:

在所述网页数据信息中不包含弹窗广告信息时,显示所述网页数据信息对应的网站页面。When the pop-up advertisement information is not included in the webpage data information, the website page corresponding to the webpage data information is displayed.

可选地,所述调用网页数据获取与筛选函数从所述web服务器中获取网页数据信息,并识别所述网页数据信息中是否包含弹窗广告信息的步骤包括:Optionally, the step of acquiring the webpage data information from the web server by the calling webpage data acquisition and screening function, and identifying whether the pop-up advertisement information is included in the webpage data information comprises:

调用所述网页数据获取与筛选函数从所述web服务器中获取网页数据信息,并获取所述网页数据信息中的网页的数量信息;Calling the webpage data acquisition and screening function to obtain webpage data information from the web server, and acquiring quantity information of webpages in the webpage data information;

在所述网页的数量信息大于1时,识别所述网页数据信息中包含弹窗广告信息。When the number information of the webpage is greater than 1, it is identified that the webpage data information includes popup advertisement information.

可选地,所述在所述网页数据信息中包含弹窗广告信息时,屏蔽所述弹窗广告信息对应的弹窗广告页面的步骤包括:Optionally, when the pop-up advertisement information is included in the webpage data information, the step of shielding the pop-up advertisement page corresponding to the pop-up advertisement information includes:

在所述网页数据信息中包含弹窗广告信息时,获取所述网页数据信息中的所有网页对应的网页显示时间信息;When the webpage data information includes the pop-up advertisement information, the webpage display time information corresponding to all the webpages in the webpage data information is acquired;

根据所述网页显示时间信息,将所述网页数据信息中的所有网页中最早显示的网页以外的其他网页确定为弹窗广告页面;Determining, according to the webpage display time information, other webpages other than the first displayed webpage among all the webpages in the webpage data information as a pop-up advertisement page;

屏蔽所述弹窗广告页面。Block the pop-up advertisement page.

可选地,所述调用网页数据获取与筛选函数从所述web服务器中获取网页数据信息,并识别所述网页数据信息中是否包含弹窗广告信息的步骤包括:Optionally, the step of acquiring the webpage data information from the web server by the calling webpage data acquisition and screening function, and identifying whether the pop-up advertisement information is included in the webpage data information comprises:

调用所述网页数据获取与筛选函数从所述web服务器中获取网页数据信息;Calling the webpage data acquisition and screening function to obtain webpage data information from the web server;

将所述网页数据信息与预设数据库中的弹窗广告信息匹配;Matching the webpage data information with popup advertisement information in a preset database;

在所述网页数据信息与所述预设数据库中的弹窗广告信息匹配时,识别到所述网页数据信息中包含弹窗广告信息。When the webpage data information matches the popup advertisement information in the preset database, it is recognized that the webpage data information includes popup advertisement information.

可选地,所述浏览器是基于webkit内核或chrome内核。Optionally, the browser is based on a webkit kernel or a chrome kernel.

可选地,在所有步骤之前还包括:Optionally, before all steps include:

获取所述浏览器的是否开启屏蔽弹窗广告的标识符;Obtaining whether the browser opens an identifier of the blocked pop-up advertisement;

当所述屏蔽弹窗广告的标识符表示为开启时,执行在网页数据获取函数中,嵌入用于识别弹窗广告信息的函数,形成网页数据获取与筛选函数的步骤。When the identifier of the masked pop-up advertisement is indicated as being on, a step of embedding a function for identifying pop-up advertisement information in the webpage data acquisition function to form a webpage data acquisition and screening function is performed.

此外,为实现上述目的,本发明还提供一种终端,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的浏览器程序,所述浏览器程序被所述处理器执行时实现如上所述的基于终端的浏览器广告屏蔽方法的步骤。Furthermore, in order to achieve the above object, the present invention also provides a terminal comprising a memory, a processor, and a browser program stored on the memory and executable on the processor, the browser program being processed The steps of the terminal-based browser advertisement screening method as described above are implemented when the device is executed.

可选地,所述终端是安卓手机。Optionally, the terminal is an Android mobile phone.

此外,为实现上述目的,本发明还提供一种计算机存储介质,所述计算机存储介质上存储有浏览器程序,所述浏览器程序被处理器执行时实现如上所述的基于终端的浏览器广告屏蔽方法的步骤。In addition, in order to achieve the above object, the present invention also provides a computer storage medium on which a browser program is stored, and when the browser program is executed by the processor, the terminal-based browser advertisement as described above is implemented. The steps of the masking method.

本发明提出的一种基于终端的浏览器广告屏蔽方法、终端及计算机存储介质,通过在网页数据获取函数中,嵌入用于识别弹窗广告信息的函数,形成网页数据获取与筛选函数;响应用户的操作,发送网页数据获取请求至web服务器;调用所述网页数据获取与筛选函数从所述web服务器中获取网页数据信息,并识别所述网页数据信息中是否包含弹窗广告信息;在所述网页数据信息中包含弹窗广告信息时,屏蔽所述弹窗广告信息对应的弹窗广告页面。从而在确认网页数据信息中包含弹窗广播信息时,屏蔽弹窗广播信息对应的弹窗广告页面,避免增加系统负荷,且不影响用户的使用,减少了流量的浪费。The invention provides a terminal-based browser advertisement shielding method, a terminal and a computer storage medium, and forms a webpage data acquisition and screening function by embedding a function for identifying pop-up advertisement information in a webpage data acquisition function; And sending a webpage data acquisition request to the web server; calling the webpage data acquisition and screening function to obtain webpage data information from the web server, and identifying whether the webpage data information includes popup advertisement information; When the webpage data information includes the pop-up advertisement information, the pop-up advertisement page corresponding to the pop-up advertisement information is blocked. Therefore, when the pop-up window information is included in the confirmation webpage data information, the pop-up advertisement page corresponding to the pop-up window broadcast information is shielded to avoid increasing the system load, and does not affect the user's use, thereby reducing waste of traffic.

附图说明DRAWINGS

图1为本发明基于终端的浏览器广告屏蔽方法第一实施例的流程示意图;1 is a schematic flowchart of a first embodiment of a browser-based browser advertisement screening method according to the present invention;

图2为本发明基于终端的浏览器广告屏蔽方法第二实施例中步骤S30的细化流程示意图;2 is a schematic flowchart of the refinement of step S30 in the second embodiment of the terminal-based browser advertisement screening method according to the present invention;

图3为本发明基于终端的浏览器广告屏蔽方法第三实施例中步骤S40的细化流程示意图;3 is a schematic flowchart of the refinement of step S40 in the third embodiment of the terminal-based browser advertisement screening method according to the present invention;

图4为本发明基于终端的浏览器广告屏蔽方法第四实施例中步骤S30的细化流程示意图。FIG. 4 is a schematic flowchart of the refinement of step S30 in the fourth embodiment of the terminal-based browser advertisement screening method according to the present invention.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.

具体实施方式Detailed ways

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

请参照图1,在本发明基于终端的浏览器广告屏蔽方法的第一实施例中,所述基于终端的浏览器广告屏蔽方法包括步骤:Referring to FIG. 1 , in a first embodiment of the terminal-based browser advertisement screening method of the present invention, the terminal-based browser advertisement screening method includes the following steps:

步骤S10,在网页数据获取函数中,嵌入用于识别弹窗广告信息的函数,形成网页数据获取与筛选函数;Step S10, embedding a function for identifying pop-up advertisement information in the webpage data acquisition function to form a webpage data acquisition and screening function;

在本方案中,浏览器广告屏蔽应用于终端领域,所述终端可以是手机、平板电脑及笔记本电脑等。In this solution, the browser advertisement mask is applied to the terminal field, and the terminal may be a mobile phone, a tablet computer, a notebook computer, or the like.

以下以具有安卓系统的智能手机为例,来说明在本发明中的基于终端的浏览器广告屏蔽方法。其中,所述浏览器具体是指可以显示网页服务器或者文件系统的HTML(HyperText Mark-up Language,超文本标记语言)文件内容,并让用户与这些文件交互的一种软件。在本实施例中,所述浏览器可以基于webkit内核或chrome内核,所述浏览器在运行时通过某种协议调用网页数据获取函数下载并解析网站服务器中的数据。Hereinafter, a terminal-based browser advertisement screening method in the present invention will be described by taking a smartphone having an Android system as an example. The browser specifically refers to an HTML (HyperText) that can display a web server or a file system. Mark-up Language, Hypertext Markup Language) A piece of software that allows the user to interact with these files. In this embodiment, the browser may be based on a webkit kernel or a chrome kernel, and the browser invokes a webpage data acquisition function to download and parse data in the web server by some protocol at runtime.

为了达到屏蔽浏览器广告的技术效果,在原有的网页数据获取函数中嵌入了用于识别弹窗广告信息的函数,从而形成了新的网页数据获取与筛选函数。需要说明的是,函数由适用于浏览器的运行代码构成,只要能实现识别弹窗广告信息的功能即可,具体代码内容不进行赘述。In order to achieve the technical effect of blocking browser advertisement, a function for identifying pop-up advertisement information is embedded in the original webpage data acquisition function, thereby forming a new webpage data acquisition and screening function. It should be noted that the function is composed of the running code applicable to the browser, as long as the function of identifying the pop-up advertisement information can be realized, and the specific code content is not described.

步骤S20,响应用户的操作,发送网页数据获取请求至web服务器;Step S20, in response to the user's operation, sending a webpage data acquisition request to the web server;

浏览器作为用户与网站服务器或文件系统的媒介,会在用户触发浏览器界面后,响应用户的操作,继而根据用户的操作指令向web服务器发送网页数据获取请求,使web服务器根据网页数据获取请求内容提取web服务器中的网页数据信息给所述浏览器。The browser acts as a medium for the user and the web server or the file system, and after the user triggers the browser interface, responds to the user's operation, and then sends a webpage data acquisition request to the web server according to the user's operation instruction, so that the web server obtains the request according to the webpage data. The content extracts web page data information in the web server to the browser.

步骤S30,调用所述网页数据获取与筛选函数从所述web服务器中获取网页数据信息,并识别所述网页数据信息中是否包含弹窗广告信息;Step S30, calling the webpage data acquisition and screening function to obtain webpage data information from the web server, and identifying whether the webpage data information includes popup advertisement information;

步骤S40,在所述网页数据信息中包含弹窗广告信息时,屏蔽所述弹窗广告信息对应的弹窗广告页面。In step S40, when the pop-up advertisement information is included in the webpage data information, the pop-up advertisement page corresponding to the pop-up advertisement information is blocked.

浏览器在发送网页数据获取请求后,将调用新的网页数据获取与筛选函数从所述web服务器中获取上述网页数据信息,并识别所述网页数据信息中是否含有弹窗广告信息。After sending the webpage data acquisition request, the browser will invoke the new webpage data acquisition and screening function to obtain the webpage data information from the web server, and identify whether the webpage data information contains popup advertisement information.

需要说明的是,通过调用嵌入了用于识别弹窗广告信息的函数的网页数据获取与筛选函数,识别所述网页数据信息中是否包含弹窗广告信息的方法可以根据实际需要进行设置,可以是通过数据库中已有的弹窗广告信息与网站数据信息进行匹配,当数据库中的弹窗广告信息与网站数据信息匹配时,则所述网页数据信息中包含弹窗广告信息;还可以利用弹窗广告页面与实际需要显示的网站页面弹出时间不一致的特性,挑选出弹窗广告信息。当识别出弹窗广告信息时,将屏蔽所述弹窗广告信息对应的弹窗广告页面,并显示需要显示的网站页面。It should be noted that, by calling the webpage data acquisition and screening function embedded with the function for identifying the pop-up advertisement information, the method for identifying whether the pop-up advertisement information is included in the webpage data information may be set according to actual needs, or may be The pop-up advertisement information in the database is matched with the website data information. When the pop-up advertisement information in the database matches the website data information, the webpage data information includes pop-up advertisement information; The advertisement page is inconsistent with the pop-up time of the website page that needs to be displayed, and the pop-up advertisement information is selected. When the pop-up advertisement information is recognized, the pop-up advertisement page corresponding to the pop-up advertisement information is blocked, and the website page to be displayed is displayed.

本实施例通过在网页数据获取函数中嵌入用于识别弹窗广告信息的函数,形成网页数据获取与筛选函数;使得在从web服务器获取网站数据之后,浏览器显示网站页面之前,通过所述网页数据获取与筛选函数筛选出弹窗广告信息,并屏蔽弹窗广告信息对应的弹窗广告页面。相比目前通过协议解析全部的网页数据信息直接显示在终端的浏览器页面上,本申请的技术方案不会妨碍用户的使用,且由于对弹窗广告页面进行了屏蔽,因此也避免增加了系统的负荷,整体减少了流量的浪费。In this embodiment, a webpage data acquisition and screening function is formed by embedding a function for identifying popup advertisement information in a webpage data acquisition function; after the webpage is acquired from the web server, the browser displays the webpage through the webpage The data acquisition and screening function filters out the pop-up advertisement information, and blocks the pop-up advertisement page corresponding to the pop-up advertisement information. Compared with the current web page data analysis through the protocol, the technical solution of the present application does not hinder the user's use, and the window advertisement page is shielded, thereby avoiding the addition of the system. The load, the overall reduction of the waste of traffic.

此外,在所述步骤S30之后还包括以下步骤:In addition, after the step S30, the following steps are further included:

在所述网页数据信息中不包含弹窗广告信息时,显示所述网页数据信息对应的网站页面。When the pop-up advertisement information is not included in the webpage data information, the website page corresponding to the webpage data information is displayed.

可选地,还可以在执行浏览器屏蔽广告操作之前,获取所述浏览器的是否开启屏蔽弹窗广告的标识符;当所述屏蔽弹窗广告的标识符表示为开启时,执行步骤S10。Optionally, before the browser is blocked from performing the advertising operation, the browser may be configured to obtain an identifier of the blocked pop-up advertisement of the browser. When the identifier of the blocked pop-up advertisement is indicated as being turned on, step S10 is performed.

可以理解地是,在某些必要的场景或条件下,用户可能需要获取弹窗广告的内容,此时浏览器无需进行屏蔽广告操作,因此可以预先设置一个用于表示浏览器屏蔽弹窗广告的功能状态的标识符,所述标识符还可以对应设置有显示在浏览器界面上的功能按键。所述标识符的设置可以根据实际需要进行设置,可以是当标识符为1时,表示为开启屏蔽弹窗广告;当标识符为0时,表示为关闭屏蔽弹窗广告。It can be understood that, in some necessary scenarios or conditions, the user may need to obtain the content of the pop-up advertisement, and the browser does not need to perform the blocking advertisement operation, so a browser for shielding the pop-up window advertisement may be preset. An identifier of the functional status, which may also be correspondingly provided with a function button displayed on the browser interface. The setting of the identifier may be set according to actual needs, and may be, when the identifier is 1, the opening of the masked pop-up advertisement; when the identifier is 0, it is indicated as closing the closed pop-up advertisement.

进一步地,参见图2,基于本发明基于终端的浏览器广告屏蔽方法的第一实施例提出本发明基于终端的浏览器广告屏蔽方法的第二实施例,在本实施例中,所述步骤S30包括:Further, referring to FIG. 2, a second embodiment of the terminal-based browser advertisement screening method of the present invention is proposed based on the first embodiment of the terminal-based browser advertisement screening method of the present invention. In this embodiment, the step S30 is performed. include:

步骤S31,调用所述网页数据获取与筛选函数从所述web服务器中获取网页数据信息,并获取所述网页数据信息中的网页的数量信息;Step S31, calling the webpage data acquisition and screening function to obtain webpage data information from the web server, and acquiring quantity information of the webpage in the webpage data information;

步骤S32,在所述网页的数量信息大于1时,识别所述网页数据信息中包含弹窗广告信息。In step S32, when the quantity information of the webpage is greater than 1, it is recognized that the webpage data information includes popup advertisement information.

本实施例是对步骤S30的进一步细化,可以理解的是,弹窗广告是打开网站后自动弹出的广告,无论点击还是不点击都会显示在终端的屏幕上,因此,如果所述网站数据中包含弹窗广告信息时,网页的数量一定会大于1,由此可以在所述网页的数量信息大于1时获知所述网页数据信息中包含弹窗广告,从而进一步进行浏览器广告屏蔽操作。通过网页数据信息中网页的数量信息的判断,为后续浏览器广告屏蔽操作提供了基础。This embodiment is a further refinement of step S30. It can be understood that the pop-up advertisement is an advertisement that automatically pops up after the website is opened, and is displayed on the screen of the terminal whether clicked or not clicked. Therefore, if the website data is When the pop-up advertisement information is included, the number of webpages must be greater than 1, so that when the number information of the webpage is greater than 1, it can be known that the webpage data information includes a pop-up advertisement, thereby further performing a browser advertisement screening operation. The judgment of the quantity information of the webpage in the webpage data information provides a basis for subsequent browser advertisement blocking operations.

进一步地,参见图3,基于本发明基于终端的浏览器广告屏蔽方法的第二实施例提出本发明基于终端的浏览器广告屏蔽方法的第三实施例,在本实施例中,所述步骤S40包括:Further, referring to FIG. 3, a third embodiment of the terminal-based browser advertisement screening method of the present invention is proposed based on the second embodiment of the terminal-based browser advertisement screening method of the present invention. In this embodiment, the step S40 is performed. include:

步骤S41,在所述网页数据信息中包含弹窗广告信息时,获取所述网页数据信息中的所有网页对应的网页显示时间信息;Step S41, when pop-up advertisement information is included in the webpage data information, acquiring webpage display time information corresponding to all webpages in the webpage data information;

步骤S42,根据所述网页显示时间信息,将所述网页数据信息中的所有网页中最早显示的网页以外的其他网页确定为弹窗广告页面;Step S42, determining, according to the webpage display time information, other webpages other than the first webpage displayed among all the webpages in the webpage data information as a pop-up advertisement page;

步骤S43,屏蔽所述弹窗广告页面。Step S43, shielding the pop-up advertisement page.

本实施例中具体是对在所述网页数据信息中包含弹窗广告信息时,屏蔽所述弹窗广告信息对应的弹窗广告页面步骤的进一步细化。需要说明的是,在实际运用中,除了通过网页的数量信息判断网页数据中是否包含弹窗广告信息外,还需要将弹窗广告页面与普通网站页面进行区分。而弹窗广告页面的显示相比普通网站页面显示是具有延时性的,也就是说,弹窗广告页面显示比普通网站页面弹出时间晚,因此可以将所有网页中最早显示的网页以外的其他网页确定为弹窗广告页面。本实施的技术方案通过网页显示时间信息确定弹窗广告页面,简单便捷,为屏蔽浏览器弹窗广告提供了支持。Specifically, in this embodiment, when the pop-up advertisement information is included in the webpage data information, the step of masking the pop-up advertisement page corresponding to the pop-up advertisement information is further refined. It should be noted that, in actual use, in addition to determining whether the pop-up advertisement information is included in the webpage data through the quantity information of the webpage, it is also necessary to distinguish the pop-up advertisement page from the ordinary websitepage. The display of the pop-up advertisement page is delayed compared to the display of the ordinary website page, that is to say, the pop-up advertisement page display is later than the normal website page pop-up time, so that other than the oldest displayed webpage in all the webpages can be used. The web page is determined to be a pop-up advertisement page. The technical solution of the present embodiment determines the pop-up advertisement page by displaying the time information on the webpage, which is simple and convenient, and provides support for shielding the browser pop-up advertisement.

进一步地,参见图4,基于本发明基于终端的浏览器广告屏蔽方法的第一实施例提出本发明基于终端的浏览器广告屏蔽方法的第四实施例,在本实施例中,所述步骤S30包括:Further, referring to FIG. 4, a fourth embodiment of the terminal-based browser advertisement screening method of the present invention is proposed based on the first embodiment of the terminal-based browser advertisement screening method of the present invention. In this embodiment, the step S30 is performed. include:

步骤S33,调用所述网页数据获取与筛选函数从所述web服务器中获取网页数据信息;Step S33, calling the webpage data acquisition and screening function to obtain webpage data information from the web server;

步骤S34,将所述网页数据信息与预设数据库中的弹窗广告信息匹配;Step S34, matching the webpage data information with the pop-up advertisement information in the preset database;

步骤S35,在所述网页数据信息与所述预设数据库中的弹窗广告信息匹配时,识别到所述网页数据信息中包含弹窗广告信息。Step S35: When the webpage data information matches the popup advertisement information in the preset database, it is recognized that the webpage data information includes popup advertisement information.

需要说明的是,通过网页显示时间和网页的数量信息进行弹窗广告信息屏蔽可能并不能完整地屏蔽所有的弹窗广告页面,为此还可以在预设数据库中保存弹窗广告信息,通过不断地数据库更新积累,将预设数据库中的弹窗广告信息与所述网页数据信息进行匹配,当所述网页数据信息与预设数据库中的弹窗广告信息匹配时,识别到所述网页数据信息中包含弹窗广告信息。通过预设数据库中弹窗广告的匹配步骤,能和网页显示时间和网页的数量信息的判断方法相结合,增强屏蔽弹窗广告信息的全面性;或者也可以不与网页显示时间和网页的数量信息的方法相结合,达到减小承载浏览器系统的负荷,节约流量的效果。It should be noted that the pop-up advertisement information shielding by the webpage display time and the number of webpages may not completely block all the pop-up advertisement pages. For this reason, the pop-up advertisement information may be saved in the preset database. The database update is accumulated, and the pop-up advertisement information in the preset database is matched with the webpage data information, and when the webpage data information matches the pop-up advertisement information in the preset database, the webpage data information is recognized. Contains pop-up advertising information. By matching the matching step of the pop-up window advertisement in the database, the combination of the webpage display time and the judging method of the webpage quantity information can be combined to enhance the comprehensiveness of the screened pop-up advertisement information; or the webpage display time and the number of webpages can be displayed. The combination of information methods achieves the effect of reducing the load on the browser system and saving traffic.

本发明还提供一种终端,在一实施例中,终端包括存储器及处理器,所述终端可以是安卓手机,其中,所述处理器与所述存储器连接,所述存储器上存储有浏览器程序。所述浏览器程序被所述处理器执行时实现上述任一实施例中的基于终端的浏览器广告屏蔽方法的步骤,具体包括:The present invention further provides a terminal. In an embodiment, the terminal includes a memory and a processor, and the terminal may be an Android mobile phone, wherein the processor is connected to the memory, and the browser stores a browser program. . The step of implementing the terminal-based browser advertisement screening method in any one of the foregoing embodiments when the browser program is executed by the processor, specifically includes:

在网页数据获取函数中,嵌入用于识别弹窗广告信息的函数,形成网页数据获取与筛选函数;In the webpage data acquisition function, a function for identifying the pop-up advertisement information is embedded to form a webpage data acquisition and screening function;

响应用户的操作,发送网页数据获取请求至web服务器;Sending a webpage data acquisition request to the web server in response to the user's operation;

调用所述网页数据获取与筛选函数从所述web服务器中获取网页数据信息,并识别所述网页数据信息中是否包含弹窗广告信息;Calling the webpage data acquisition and screening function to obtain webpage data information from the web server, and identifying whether the webpage data information includes popup advertisement information;

在所述网页数据信息中包含弹窗广告信息时,屏蔽所述弹窗广告信息对应的弹窗广告页面。When the pop-up advertisement information is included in the webpage data information, the pop-up advertisement page corresponding to the pop-up advertisement information is blocked.

进一步的,所述浏览器程序被所述处理器执行时还实现步骤:Further, when the browser program is executed by the processor, the steps are further implemented:

在所述网页数据信息中不包含弹窗广告信息时,显示所述网页数据信息对应的网站页面。When the pop-up advertisement information is not included in the webpage data information, the website page corresponding to the webpage data information is displayed.

进一步的,所述浏览器程序被所述处理器执行时还实现步骤:Further, when the browser program is executed by the processor, the steps are further implemented:

调用所述网页数据获取与筛选函数从所述web服务器中获取网页数据信息,并获取所述网页数据信息中的网页的数量信息;Calling the webpage data acquisition and screening function to obtain webpage data information from the web server, and acquiring quantity information of webpages in the webpage data information;

在所述网页的数量信息大于1时,识别所述网页数据信息中包含弹窗广告信息。When the number information of the webpage is greater than 1, it is identified that the webpage data information includes popup advertisement information.

进一步的,所述浏览器程序被所述处理器执行时还实现步骤:Further, when the browser program is executed by the processor, the steps are further implemented:

在所述网页数据信息中包含弹窗广告信息时,获取所述网页数据信息中的所有网页对应的网页显示时间信息;When the webpage data information includes the pop-up advertisement information, the webpage display time information corresponding to all the webpages in the webpage data information is acquired;

根据所述网页显示时间信息,将所述网页数据信息中的所有网页中最早显示的网页以外的其他网页确定为弹窗广告页面;Determining, according to the webpage display time information, other webpages other than the first displayed webpage among all the webpages in the webpage data information as a pop-up advertisement page;

屏蔽所述弹窗广告页面。Block the pop-up advertisement page.

进一步的,所述浏览器程序被所述处理器执行时还实现步骤:Further, when the browser program is executed by the processor, the steps are further implemented:

调用所述网页数据获取与筛选函数从所述web服务器中获取网页数据信息;Calling the webpage data acquisition and screening function to obtain webpage data information from the web server;

将所述网页数据信息与预设数据库中的弹窗广告信息匹配;Matching the webpage data information with popup advertisement information in a preset database;

在所述网页数据信息与所述预设数据库中的弹窗广告信息匹配时,识别到所述网页数据信息中包含弹窗广告信息。When the webpage data information matches the popup advertisement information in the preset database, it is recognized that the webpage data information includes popup advertisement information.

进一步的,所述浏览器程序被所述处理器执行时还实现步骤:Further, when the browser program is executed by the processor, the steps are further implemented:

获取所述浏览器的是否开启屏蔽弹窗广告的标识符;Obtaining whether the browser opens an identifier of the blocked pop-up advertisement;

当所述屏蔽弹窗广告的标识符表示为开启时,执行在网页数据获取函数中,嵌入用于识别弹窗广告信息的函数,形成网页数据获取与筛选函数的步骤。When the identifier of the masked pop-up advertisement is indicated as being on, a step of embedding a function for identifying pop-up advertisement information in the webpage data acquisition function to form a webpage data acquisition and screening function is performed.

本发明还提出一种计算机存储介质,其上存储有浏览器程序,所述浏览器程序被处理器执行时实现如上述基于终端的浏览器广告屏蔽方法的全部步骤。The present invention also provides a computer storage medium having stored thereon a browser program that, when executed by the processor, implements all of the steps of the terminal-based browser advertisement screening method described above.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, item, or system. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in a process, method, article, or system that includes the element, without further limitation.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, portions of the technical solution of the present invention that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (10)

一种基于终端的浏览器广告屏蔽方法,其特征在于,包括步骤: A terminal-based browser advertisement screening method, comprising the steps of: 在网页数据获取函数中,嵌入用于识别弹窗广告信息的函数,形成网页数据获取与筛选函数;In the webpage data acquisition function, a function for identifying the pop-up advertisement information is embedded to form a webpage data acquisition and screening function; 响应用户的操作,发送网页数据获取请求至web服务器;Sending a webpage data acquisition request to the web server in response to the user's operation; 调用所述网页数据获取与筛选函数从所述web服务器中获取网页数据信息,并识别所述网页数据信息中是否包含弹窗广告信息;Calling the webpage data acquisition and screening function to obtain webpage data information from the web server, and identifying whether the webpage data information includes popup advertisement information; 在所述网页数据信息中包含弹窗广告信息时,屏蔽所述弹窗广告信息对应的弹窗广告页面。When the pop-up advertisement information is included in the webpage data information, the pop-up advertisement page corresponding to the pop-up advertisement information is blocked. 如权利要求1所述的基于终端的浏览器广告屏蔽方法,其特征在于,所述调用网页数据获取与筛选函数从所述web服务器中获取网页数据信息,并识别所述网页数据信息中是否包含弹窗广告信息的步骤之后,还包括:The terminal-based browser advertisement screening method according to claim 1, wherein the calling webpage data acquisition and screening function acquires webpage data information from the web server, and identifies whether the webpage data information includes After the steps of pop-up advertising information, it also includes: 在所述网页数据信息中不包含弹窗广告信息时,显示所述网页数据信息对应的网站页面。When the pop-up advertisement information is not included in the webpage data information, the website page corresponding to the webpage data information is displayed. 如权利要求1所述的基于终端的浏览器广告屏蔽方法,其特征在于,所述调用网页数据获取与筛选函数从所述web服务器中获取网页数据信息,并识别所述网页数据信息中是否包含弹窗广告信息的步骤包括:The terminal-based browser advertisement screening method according to claim 1, wherein the calling webpage data acquisition and screening function acquires webpage data information from the web server, and identifies whether the webpage data information includes The steps for pop-up advertising information include: 调用所述网页数据获取与筛选函数从所述web服务器中获取网页数据信息,并获取所述网页数据信息中的网页的数量信息;Calling the webpage data acquisition and screening function to obtain webpage data information from the web server, and acquiring quantity information of webpages in the webpage data information; 在所述网页的数量信息大于1时,识别所述网页数据信息中包含弹窗广告信息。When the number information of the webpage is greater than 1, it is identified that the webpage data information includes popup advertisement information. 如权利要求3所述的基于终端的浏览器广告屏蔽方法,其特征在于,所述在所述网页数据信息中包含弹窗广告信息时,屏蔽所述弹窗广告信息对应的弹窗广告页面的步骤包括:The terminal-based browser advertisement screening method according to claim 3, wherein when the pop-up advertisement information is included in the webpage data information, the pop-up advertisement page corresponding to the pop-up advertisement information is blocked. The steps include: 在所述网页数据信息中包含弹窗广告信息时,获取所述网页数据信息中的所有网页对应的网页显示时间信息;When the webpage data information includes the pop-up advertisement information, the webpage display time information corresponding to all the webpages in the webpage data information is acquired; 根据所述网页显示时间信息,将所述网页数据信息中的所有网页中最早显示的网页以外的其他网页确定为弹窗广告页面;Determining, according to the webpage display time information, other webpages other than the first displayed webpage among all the webpages in the webpage data information as a pop-up advertisement page; 屏蔽所述弹窗广告页面。Block the pop-up advertisement page. 如权利要求1所述的基于终端的浏览器广告屏蔽方法,其特征在于,所述调用网页数据获取与筛选函数从所述web服务器中获取网页数据信息,并识别所述网页数据信息中是否包含弹窗广告信息的步骤包括:The terminal-based browser advertisement screening method according to claim 1, wherein the calling webpage data acquisition and screening function acquires webpage data information from the web server, and identifies whether the webpage data information includes The steps for pop-up advertising information include: 调用所述网页数据获取与筛选函数从所述web服务器中获取网页数据信息;Calling the webpage data acquisition and screening function to obtain webpage data information from the web server; 将所述网页数据信息与预设数据库中的弹窗广告信息匹配;Matching the webpage data information with popup advertisement information in a preset database; 在所述网页数据信息与所述预设数据库中的弹窗广告信息匹配时,识别到所述网页数据信息中包含弹窗广告信息。When the webpage data information matches the popup advertisement information in the preset database, it is recognized that the webpage data information includes popup advertisement information. 如权利要求1-5任一项所述的基于终端的浏览器广告屏蔽方法,其特征在于,所述浏览器是基于webkit内核或chrome内核。The terminal-based browser advertisement screening method according to any one of claims 1 to 5, wherein the browser is based on a webkit kernel or a chrome kernel. 如权利要求1-5任一项所述的基于终端的浏览器广告屏蔽方法,其特征在于,在所有步骤之前还包括:The terminal-based browser advertisement screening method according to any one of claims 1 to 5, further comprising: before all the steps: 获取所述浏览器的是否开启屏蔽弹窗广告的标识符;Obtaining whether the browser opens an identifier of the blocked pop-up advertisement; 当所述屏蔽弹窗广告的标识符表示为开启时,执行在网页数据获取函数中,嵌入用于识别弹窗广告信息的函数,形成网页数据获取与筛选函数的步骤。When the identifier of the masked pop-up advertisement is indicated as being on, a step of embedding a function for identifying pop-up advertisement information in the webpage data acquisition function to form a webpage data acquisition and screening function is performed. 一种终端,其特征在于,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的浏览器程序,所述浏览器程序被所述处理器执行时实现如权利要求1至7中任一项所述的基于终端的浏览器广告屏蔽方法的步骤。A terminal, comprising: a memory, a processor, and a browser program stored on the memory and executable on the processor, the browser program being executed by the processor to implement the claims The step of the terminal-based browser advertisement screening method according to any one of 1 to 7. 如权利要求8所述的终端,其特征在于,所述终端是安卓手机。The terminal of claim 8 wherein said terminal is an Android phone. 一种计算机存储介质,其特征在于,所述计算机存储介质上存储有浏览器程序,所述浏览器程序被处理器执行时实现如权利要求1至7中任一项所述的基于终端的浏览器广告屏蔽方法的步骤。 A computer storage medium, characterized in that the computer storage medium stores a browser program, and when the browser program is executed by the processor, the terminal-based browsing according to any one of claims 1 to 7 is implemented Steps to block the ad blocking method.
PCT/CN2017/100418 2017-09-04 2017-09-04 Terminal-based browser advertisement blocking method, terminal, and computer storage medium Ceased WO2019041355A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/100418 WO2019041355A1 (en) 2017-09-04 2017-09-04 Terminal-based browser advertisement blocking method, terminal, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/100418 WO2019041355A1 (en) 2017-09-04 2017-09-04 Terminal-based browser advertisement blocking method, terminal, and computer storage medium

Publications (1)

Publication Number Publication Date
WO2019041355A1 true WO2019041355A1 (en) 2019-03-07

Family

ID=65524718

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100418 Ceased WO2019041355A1 (en) 2017-09-04 2017-09-04 Terminal-based browser advertisement blocking method, terminal, and computer storage medium

Country Status (1)

Country Link
WO (1) WO2019041355A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060136295A1 (en) * 2004-11-23 2006-06-22 Mark Bobick Techniques for magazine like presentation of advertisment using computers
CN102999636A (en) * 2012-12-19 2013-03-27 北京奇虎科技有限公司 Method and browser for carrying out interception treatment on popup window in webpage
CN103116723A (en) * 2013-02-06 2013-05-22 北京奇虎科技有限公司 Method, device and system of web site interception process
CN104268193A (en) * 2014-09-19 2015-01-07 北京金山安全软件有限公司 Advertisement webpage intercepting method and device
CN105701166A (en) * 2015-12-30 2016-06-22 广东欧珀移动通信有限公司 Advertisement blocking method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060136295A1 (en) * 2004-11-23 2006-06-22 Mark Bobick Techniques for magazine like presentation of advertisment using computers
CN102999636A (en) * 2012-12-19 2013-03-27 北京奇虎科技有限公司 Method and browser for carrying out interception treatment on popup window in webpage
CN103116723A (en) * 2013-02-06 2013-05-22 北京奇虎科技有限公司 Method, device and system of web site interception process
CN104268193A (en) * 2014-09-19 2015-01-07 北京金山安全软件有限公司 Advertisement webpage intercepting method and device
CN105701166A (en) * 2015-12-30 2016-06-22 广东欧珀移动通信有限公司 Advertisement blocking method and system

Similar Documents

Publication Publication Date Title
WO2020224250A1 (en) Method, apparatus, and device for smart contract triggering, and storage medium
WO2014000672A1 (en) Method and system for copying and pasting webpage content, and computer storage medium
WO2021027143A1 (en) Information pushing method, apparatus and device, and computer-readable storage medium
WO2017131354A2 (en) Apparatus and method for managing history information in an electronic device
WO2010024513A1 (en) Advertisement system based on smart card, a method thereof, and smart card applied to the same
WO2015111926A1 (en) Electronic device and user interface display method for the same
WO2013168890A1 (en) Advertising system and targeted advertising method
WO2017063396A1 (en) Intelligent searching method and system based on mobile device
WO2017150791A2 (en) Digital content monitoring system and processing method therefor
WO2017175904A1 (en) Message-based advertisement providing system and method using lock screen
WO2018094839A1 (en) Method and device for installing preloaded application of mobile terminal
WO2017041544A1 (en) Method and device for acquiring web page content in android system
WO2011012052A1 (en) Method and system for acquiring communication session group
WO2014030869A1 (en) System for editing digital signage template in smart tv, and method therefor
WO2011065768A2 (en) Method for protecting application and method for executing application using the same
WO2019041355A1 (en) Terminal-based browser advertisement blocking method, terminal, and computer storage medium
WO2020143296A1 (en) Data collection method, device, equipment and computer readable storage medium
WO2019033718A1 (en) Third party information notification method, system, and computer readable storage medium
WO2017175905A1 (en) Method and system for providing advertisement through lock screen on basis of message associated application
EP3164816A1 (en) Method of providing relevant information and electronic device adapted to the same
WO2021003922A1 (en) Page information input optimization method, device and apparatus, and storage medium
WO2019000962A1 (en) Revenue calculation method and device, and computer readable storage medium
WO2012141412A9 (en) Method and server for providing a webpage
WO2016068557A1 (en) Method and apparatus for notifying of content change
WO2015093737A1 (en) System and method for distributing/running application using content exposure

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17923496

Country of ref document: EP

Kind code of ref document: A1