CN109948088B - Advertisement blocking method and system - Google Patents

Advertisement blocking method and system Download PDF

Info

Publication number
CN109948088B
CN109948088B CN201910118193.3A CN201910118193A CN109948088B CN 109948088 B CN109948088 B CN 109948088B CN 201910118193 A CN201910118193 A CN 201910118193A CN 109948088 B CN109948088 B CN 109948088B
Authority
CN
China
Prior art keywords
advertisement
page
popup
window
browser
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.)
Active
Application number
CN201910118193.3A
Other languages
Chinese (zh)
Other versions
CN109948088A (en
Inventor
刘爱君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201910118193.3A priority Critical patent/CN109948088B/en
Publication of CN109948088A publication Critical patent/CN109948088A/en
Application granted granted Critical
Publication of CN109948088B publication Critical patent/CN109948088B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention belongs to the field of Internet and discloses an advertisement blocking method and system, wherein the method comprises the following steps: when the browser is started, configuring an advertisement containing page, wherein the advertisement containing page is minimized in the browser; detecting whether a browser page has an advertisement popup window; and when the browser page has the advertisement popup window, transplanting the advertisement popup window into the advertisement accommodating page for playing. According to the invention, the advertisement accommodating page is arranged to transfer the advertisement popup window, so that the interference of the advertisement popup window on the normal work of a user can be avoided, and the use experience of the user is improved; the advertisement blocking method does not need to be bound with the IP (Internet protocol) and the webpage of the computer of the user, can prevent malicious binding events of software, does not need to click the closing control of the advertisement popup window to close the advertisement popup window, can prevent unsafe links in the advertisement to protect the data safety of the user, meanwhile, does not conflict with other protection software installed on the computer in the using process, and is low in development difficulty.

Description

Advertisement blocking method and system
Technical Field
The invention belongs to the technical field of internet, and particularly relates to an advertisement blocking method and system.
Background
With the rapid development of information technology and network technology, computers and the internet have become effective ways for people to obtain information in life and work. For example, information such as various texts, images and videos is browsed through a browser webpage.
During the process of browsing a webpage or watching a video, a user often has some advertisement popup windows which are not opened by the user, but are some popup windows of advertisement classes which automatically load the popup windows. To avoid interference, the user may choose to close these advertisement pops. The user actively closes the advertisement popup window to cause interference to normal work of the user, so that the user has poor experience, and when the user clicks the popup window, the user easily fails to accurately click a closing control of the popup window, so that the user jumps to an advertisement page to interfere with the normal work of the user. Based on this, some software developers develop the advertisement blocking function, but at present, most of the advertisement blocking functions need to bind the IP or web page of the user computer, which is easy to cause malicious binding events and affect the user experience.
Disclosure of Invention
The invention aims to provide an advertisement blocking method and system, which can prevent malicious software binding events by transplanting an advertisement popup without actively closing the advertisement popup by a user, interfering the normal work of the user and binding with the computer IP (Internet protocol) and a webpage of the user.
The technical scheme provided by the invention is as follows:
in one aspect, an advertisement blocking method is provided, including:
when a browser is started, configuring an advertisement accommodating page, wherein the advertisement accommodating page is minimized in the browser;
detecting whether a browser page has an advertisement popup window;
and when the browser page has the advertisement popup, transplanting the advertisement popup into the advertisement accommodating page for playing.
Further preferably, the detecting whether the browser page has the advertisement popup specifically includes:
when a browser page has a popup window, analyzing data contained in the popup window;
identifying image information and character information contained in the popup window according to an analysis result;
and judging whether the pop-up window is an advertisement pop-up window or not according to the image information and the character information.
Further preferably, the determining whether the pop-up window is an advertisement pop-up window according to the image information and the text information specifically includes:
judging whether the pop-up window contains a plurality of different pictures or not according to the image information;
if the pop-up window comprises a plurality of different pictures and the different pictures are circularly switched at a certain time interval, judging that the pop-up window is an advertisement pop-up window;
and if the pop-up window only contains one picture, judging whether the character information contains preset specific characters, and if not, judging that the pop-up window is an advertisement pop-up window.
Further preferably, when the browser page has an advertisement popup, after migrating the advertisement popup into the advertisement receiving page for playing, the method further includes:
and detecting the operation of clicking a closing control of the advertisement accommodating page, and closing all advertisement popup windows in the advertisement accommodating page by closing the advertisement accommodating page.
Further preferably, when the browser page has an advertisement popup, the moving the advertisement popup into the advertisement accommodating page to play specifically includes:
and when the browser page has the advertisement popup, transplanting the advertisement popup into the advertisement accommodating page for playing through a VPN (virtual private network) channel or an HTTP (hyper text transport protocol) proxy.
In another aspect, an advertisement blocking system is further provided, including:
the system comprises a configuration module, a search module and a display module, wherein the configuration module is used for configuring an advertisement containing page when a browser is started, and the advertisement containing page is minimized in the browser;
the advertisement detection module is used for detecting whether the browser page has an advertisement popup window;
and the advertisement transplanting module is used for transplanting the advertisement popup window into the advertisement accommodating page to play when the browser page has the advertisement popup window.
Further preferably, the advertisement detection module includes:
the data analysis unit is used for analyzing data contained in the popup window when the browser page has the popup window;
the identification unit is used for identifying the image information and the character information contained in the popup window according to the analysis result;
and the judging unit is used for judging whether the pop-up window is an advertisement pop-up window or not according to the image information and the character information.
Further preferably, the judging unit includes:
the judging subunit is used for judging whether the pop-up window contains a plurality of different pictures or not according to the image information;
the judging subunit is further configured to judge that the pop-up window is an advertisement pop-up window if the pop-up window includes a plurality of different pictures, and the plurality of different pictures are cyclically switched at a certain time interval;
the judging subunit is further configured to, if the popup only contains one picture, judge whether the text information contains preset specific text, and if not, judge that the popup is an advertisement popup.
Further preferably, the method further comprises the following steps:
the click detection module is used for detecting the operation of clicking the closing control of the advertisement accommodating page;
and the execution module is used for closing the advertisement containing page so as to close all advertisement popup windows in the advertisement containing page.
Further preferably, the advertisement migration module comprises:
and the advertisement transplanting unit is used for transplanting the advertisement popup into the advertisement accommodating page for playing through a VPN (virtual private network) channel or an HTTP (hyper text transport protocol) proxy when the browser page has the advertisement popup.
Compared with the prior art, the advertisement interception method and the advertisement interception system provided by the invention have the following beneficial effects:
1. according to the invention, the advertisement accommodating page is arranged to transfer the advertisement popup window, so that the interference of the advertisement popup window on the normal work of a user can be avoided, and the use experience of the user is improved; the advertisement blocking method does not need to be bound with the IP (Internet protocol) and the webpage of the computer of the user, can prevent malicious binding events of software, does not need to click the closing control of the advertisement popup window to close the advertisement popup window, can prevent unsafe links in the advertisement to protect the data safety of the user, meanwhile, does not conflict with other protection software installed on the computer in the using process, and is low in development difficulty.
2. In a preferred embodiment of the present invention, all advertisement pop-windows in the advertisement accommodating page are closed by closing the advertisement accommodating page, which not only operates the method, but also once and for all, and does not require the user to manually click the closing control of each advertisement pop-window to close each advertisement pop-window, so that the unsafe links in the advertisement can be prevented to protect the data security of the user.
Drawings
The foregoing features, technical features, advantages and implementations of an advertisement blocking method and system will be further described in the following detailed description of preferred embodiments in a clearly understandable manner in conjunction with the accompanying drawings.
FIG. 1 is a flowchart illustrating a first embodiment of an advertisement blocking method according to the present invention;
FIG. 2 is a flowchart illustrating a second embodiment of an advertisement blocking method according to the present invention;
FIG. 3 is a flowchart illustrating a third exemplary advertisement blocking method according to the present invention;
FIG. 4 is a flowchart illustrating a fourth exemplary embodiment of an advertisement blocking method according to the present invention;
FIG. 5 is a flowchart illustrating a fifth embodiment of an advertisement blocking method according to the present invention;
FIG. 6 is a flowchart illustrating a sixth exemplary advertisement blocking method according to the present invention;
FIG. 7 is a flowchart illustrating a seventh exemplary advertisement blocking method according to the present invention;
FIG. 8 is a flowchart illustrating an eighth embodiment of an advertisement blocking method according to the present invention;
FIG. 9 is a block diagram illustrating the structure of an embodiment of an advertisement blocking system according to the present invention.
Description of the reference numerals
100. A configuration module; 200. An advertisement detection module;
210. a data analysis unit; 220. An identification unit;
230. a judgment unit; 231. A judgment subunit;
300. an advertisement transplanting module; 310. An advertisement transplanting unit;
400. clicking a detection module; 500. And executing the module.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
For the sake of simplicity, only the parts relevant to the present invention are schematically shown in the drawings, and they do not represent the actual structure as a product. Moreover, in the interest of brevity and understanding, only one of the components having the same structure or function is illustrated schematically or designated in some of the drawings. In this document, "one" means not only "only one" but also a case of "more than one".
According to a first embodiment provided by the present invention, as shown in fig. 1, an advertisement blocking method includes:
s100, when a browser is started, configuring an advertisement containing page, wherein the advertisement containing page is minimized in the browser;
s200, detecting whether the browser page has an advertisement popup;
s300, when the browser page has the advertisement popup, transplanting the advertisement popup into the advertisement accommodating page to be played.
Specifically, when the user starts the browser, an advertisement containing page can be configured in the browser, the advertisement containing page can be a built-in page of the set Linux, and the advertisement containing page is narrowed to a corner which does not obstruct the visual effect of the user in the browser. That is, a page with an advertisement accommodating function is developed in a browser, the advertisement accommodating page can be minimized and maximized, the minimization is generally set by default, and when a user needs to watch a popup window in the advertisement accommodating page, the advertisement accommodating page can be maximized for the user to watch.
An advertisement identification plug-in can be arranged in the browser, and whether the browser has an advertisement popup window or not is judged through the built-in advertisement identification plug-in. For example, after a user inputs a webpage to be accessed in a browser, the browser loads an HTML file to load the webpage, the loading of the webpage includes loading of characters, pictures, flash animations and the like, and when the webpage is loaded, whether the webpage loaded by the browser has an advertisement popup window is identified through a built-in advertisement identification plug-in. For another example, during the process of browsing the web page, the user identifies whether the browsed web page has an advertisement popup window through a built-in advertisement identification plug-in.
When the advertisement identification plug-in built in the browser identifies that the browser page has the advertisement popup window, the advertisement popup window is automatically transplanted to the previously loaded advertisement accommodating page to be played. At this time, only the pop-up position of the advertisement popup is shifted, namely, the advertisement popup is transplanted into the advertisement accommodating page from the browsing page of the browser, and the advertisement popup is continuously played in the set advertisement accommodating page.
In the embodiment, the advertisement accommodating page is arranged to transfer the advertisement popup window, so that the interference of the advertisement popup window on the normal work of a user can be avoided, and the use experience of the user is improved; the advertisement blocking method does not need to be bound with the IP (Internet protocol) and the webpage of the computer of the user, can prevent malicious binding events of software, does not need to click the closing control of the advertisement popup window to close the advertisement popup window, can prevent unsafe links in the advertisement to protect the data safety of the user, meanwhile, does not conflict with other protection software installed on the computer in the using process, and is low in development difficulty.
According to a second embodiment provided by the present invention, as shown in fig. 2, an advertisement blocking method includes:
s100, when a browser is started, configuring an advertisement accommodating page, wherein the advertisement accommodating page is minimized in the browser;
specifically, when the user starts the browser, an advertisement accommodating page can be configured in the browser, the advertisement accommodating page can be a built-in page of Linux which is set, and the advertisement accommodating page is narrowed to a corner which does not obstruct the visual effect of the user in the browser. That is, a page with an advertisement accommodating function is developed in a browser, the advertisement accommodating page can be minimized and maximized, the minimization is generally set by default, and when a user needs to watch a popup window in the advertisement accommodating page, the advertisement accommodating page can be maximized for the user to watch.
S210, when the browser page has a popup window, analyzing data contained in the popup window;
s220, identifying image information and character information contained in the popup window according to an analysis result;
s230, judging whether the pop-up window is an advertisement pop-up window or not according to the image information and the character information;
specifically, when the browser page has a popup, analyzing the acquired popup data, identifying image information and characters contained in the popup according to an analysis result, and then judging whether the popup is an advertisement popup according to the image information and the character information.
For example, when a user opens a certain webpage, an advertisement popup may occur at any position on the webpage, and of course, other non-advertisement popup may also occur, and in order to avoid that the normal work of the user is affected by transplanting the non-advertisement popup into an advertisement accommodating page, it is necessary to identify whether the popup on the webpage is an advertisement popup. When identifying the popup, the image information and the text information contained in the popup can be obtained first, and then whether the popup is an advertisement popup is judged according to the characteristics of the image information and the text information, for example, some specific texts and icons are stored in a pre-stored file library of an advertisement identification plug-in built in a browser, and when the image information in the popup is matched with the pre-stored icon or the text information is matched with the pre-stored text, the popup is considered as an advertisement popup.
The pre-stored file library of the advertisement identification plug-in can be updated once in a period of time, when the advertisement popup window which cannot be identified by the advertisement identification plug-in exists, the user actively adds the advertisement popup window into the pre-stored file library of the advertisement identification plug-in, the server can collect all the advertisement popup windows which are actively added by the user, and then the pre-stored file library of the advertisement identification plug-in on the user client side is updated in a period of time, so that the advertisement identification accuracy of the advertisement identification plug-in is guaranteed.
S300, when the browser page has the advertisement popup, transplanting the advertisement popup into the advertisement accommodating page to be played.
Specifically, when the browser page is identified to have the advertisement popup through the advertisement identification plug-in, the advertisement popup is automatically transplanted to the previously loaded advertisement accommodation page for playing. At this time, the pop-up position of the advertisement popup window is only transferred, namely, the popup window is transplanted into the advertisement accommodating page from the browsing page of the browser, and the popup window advertisement is continuously played in the set advertisement accommodating page.
According to a third embodiment provided by the present invention, as shown in fig. 3, an advertisement blocking method includes:
s100, when a browser is started, configuring an advertisement containing page, wherein the advertisement containing page is minimized in the browser;
specifically, when the user starts the browser, an advertisement accommodating page can be configured in the browser, the advertisement accommodating page can be a built-in page of Linux which is set, and the advertisement accommodating page is narrowed to a corner which does not obstruct the visual effect of the user in the browser. That is, a page with an advertisement accommodating function is developed in a browser, the advertisement accommodating page can be minimized and maximized, the minimization is generally set by default, and when a user needs to watch a popup window in the advertisement accommodating page, the advertisement accommodating page can be maximized for the user to watch.
S210, when the browser page has a popup, analyzing data contained in the popup;
s220, identifying image information and character information contained in the popup window according to an analysis result;
s231, judging whether the pop-up window contains a plurality of different pictures or not according to the image information;
s232, if the pop-up window comprises a plurality of different pictures, and the plurality of different pictures are circularly switched at a certain time interval, judging that the pop-up window is an advertisement pop-up window;
specifically, after image information in the pop-up window is obtained, it is determined whether the pop-up window includes a plurality of different pictures, when the pop-up window includes a plurality of different pictures, it is determined whether the plurality of different pictures are played in a cycle at a certain time interval, if so, the pop-up window is considered as an advertisement pop-up window, and if the plurality of different pictures are not played in a cycle at a certain time interval, it is further determined whether the text information includes predetermined specific text, such as "advertisement", "hard explosion", "sales promotion", "financial settlement", "preferential", "immediate purchase", "game agent", "recharge", and if so, the pop-up window is considered as an advertisement pop-up window.
S233, if the popup only contains one picture, judging whether the character information contains preset specific characters, if not, judging that the popup is an advertisement popup;
specifically, when the pop-up window only contains one picture, it is determined whether the text information contains preset specific text, such as "advertisement", "strong explosion", "promotion", "calculation", "special offer", "prompt purchase", "game agent", "charge", etc., if so, the pop-up window is considered as an advertisement pop-up window, if not, the information in the picture is identified, information such as text, icon, image, etc. is extracted from the picture, and then it is determined whether the pop-up window is an advertisement pop-up window by combining the information in the picture, for example, it is determined whether the pop-up window contains specific text, specific icon, specific image, etc.
S300, when the browser page has the advertisement popup, transplanting the advertisement popup into the advertisement accommodating page to be played.
Specifically, when the browser page is identified to have the advertisement popup through the advertisement identification plug-in, the advertisement popup is automatically transplanted to the previously loaded advertisement accommodation page for playing. At this time, only the pop-up position of the advertisement popup is shifted, namely, the advertisement popup is transplanted into the advertisement accommodating page from the browsing page of the browser, and the advertisement popup is continuously played in the set advertisement accommodating page.
According to a fourth embodiment provided by the present invention, as shown in fig. 4, an advertisement blocking method includes:
s100, when a browser is started, configuring an advertisement accommodating page, wherein the advertisement accommodating page is minimized in the browser;
specifically, when the user starts the browser, an advertisement containing page can be configured in the browser, the advertisement containing page can be a built-in page of the set Linux, and the advertisement containing page is narrowed to a corner which does not obstruct the visual effect of the user in the browser. That is, a page with an advertisement accommodating function is developed in a browser, the advertisement accommodating page can be minimized and maximized, the advertisement accommodating page is generally set to be minimized by default, and when a user needs to watch a popup window in the advertisement accommodating page, the advertisement accommodating page can be maximized for the user to watch.
S200, detecting whether the browser page has an advertisement popup;
s300, when the browser page has the advertisement popup, transplanting the advertisement popup into the advertisement accommodating page to be played;
s400, detecting the operation of clicking a closing control of the advertisement accommodating page, and closing all advertisement popup windows in the advertisement accommodating page by closing the advertisement accommodating page.
Specifically, after detecting that the browser page has the advertisement popup through the method in the above embodiment, the popup position of the advertisement popup is shifted, that is, the popup is transplanted from the browser page to the advertisement accommodating page, so that the popup advertisement is continuously played in the set advertisement accommodating page. When the user clicks the closing control of the advertisement accommodating page, the advertisement accommodating page can be closed, all advertisement popup windows in the advertisement accommodating page are closed at the same time when the advertisement accommodating page is closed, the user never needs to manually click the closing control of each advertisement popup window to close each advertisement popup window, and unsafe links in the advertisement can be prevented so as to protect the data safety of the user.
According to a fifth embodiment provided by the present invention, as shown in fig. 5, an advertisement blocking method includes:
s100, when a browser is started, configuring an advertisement containing page, wherein the advertisement containing page is minimized in the browser;
s200, detecting whether the browser page has an advertisement popup window;
s310, when the browser page has the advertisement popup, the advertisement popup is transplanted into the advertisement accommodating page through a VPN channel or an HTTP proxy to be played.
Specifically, when a user starts a browser and configures an advertisement containing page, a communication channel between the computer and the advertisement containing page is established, when an advertisement identification plug-in built in the browser detects that the browser page has an advertisement popup through the method of the embodiment, the advertisement popup of the browser page can be transplanted into the advertisement containing page for playing through a VPN channel or an HTTP proxy, when the user clicks a closing control of the advertisement containing page, the advertisement containing page can be closed, all the advertisement popup in the advertisement containing page are closed at the same time of closing the advertisement containing page, and once and for all, the user does not need to manually click the closing control of each advertisement popup to close each advertisement popup, so that unsafe links in the advertisement can be prevented, and the data safety of the user can be protected.
According to a sixth embodiment provided by the present invention, as shown in fig. 6, an advertisement blocking method includes:
s100, when a browser is started, configuring an advertisement containing page, wherein the advertisement containing page is minimized in the browser;
s210, when the browser page has a popup window, analyzing data contained in the popup window;
s220, identifying image information and character information contained in the popup according to an analysis result;
s230, judging whether the pop-up window is an advertisement pop-up window or not according to the image information and the character information;
s310, when the browser page has the advertisement popup, the advertisement popup is transplanted into the advertisement accommodating page through a VPN channel or an HTTP proxy to be played.
The detailed description of each step in this embodiment has been described in detail in the corresponding embodiment, and will not be elaborated herein.
According to a seventh embodiment provided by the present invention, as shown in fig. 7, an advertisement blocking method includes:
s100, when a browser is started, configuring an advertisement containing page, wherein the advertisement containing page is minimized in the browser;
s210, when the browser page has a popup window, analyzing data contained in the popup window;
s220, identifying image information and character information contained in the popup according to an analysis result;
s231, judging whether the pop-up window contains a plurality of different pictures or not according to the image information;
s232, if the pop-up window comprises a plurality of different pictures, and the plurality of different pictures are circularly switched at a certain time interval, judging that the pop-up window is an advertisement pop-up window;
s233, if the popup only contains one picture, judging whether the character information contains preset specific characters, if not, judging that the popup is an advertisement popup;
s310, when the browser page has the advertisement popup, the advertisement popup is transplanted into the advertisement accommodating page through a VPN channel or an HTTP proxy to be played.
The detailed description of each step in this embodiment has been described in detail in the corresponding embodiment, and will not be elaborated herein.
According to an eighth embodiment provided by the present invention, as shown in fig. 8, an advertisement blocking method includes:
s100, when a browser is started, configuring an advertisement accommodating page, wherein the advertisement accommodating page is minimized in the browser;
s200, detecting whether the browser page has an advertisement popup;
s310, when the browser page has the advertisement popup, transplanting the advertisement popup into the advertisement accommodating page through a VPN channel or an HTTP proxy to be played;
s400, detecting the operation of clicking the closing control of the advertisement accommodating page, and closing all advertisement popup windows in the advertisement accommodating page by closing the advertisement accommodating page.
The detailed description of each step in this embodiment has been described in detail in the corresponding embodiment, and will not be elaborated herein.
According to a ninth embodiment provided by the present invention, as shown in fig. 9, an advertisement blocking system includes:
a configuration module 100, configured to configure an advertisement accommodating page when a browser is started, where the advertisement accommodating page is minimized in the browser;
the advertisement detection module 200 is configured to detect whether a browser page has an advertisement popup;
and an advertisement transplanting module 300, configured to, when the browser page has an advertisement popup window, transplant the advertisement popup window into the advertisement accommodating page for playing.
Specifically, when the user starts the browser, an advertisement containing page can be configured in the browser, the advertisement containing page can be a built-in page of the set Linux, and the advertisement containing page is narrowed to a corner which does not obstruct the visual effect of the user in the browser. That is, a page with an advertisement accommodating function is developed in a browser, the advertisement accommodating page can be minimized and maximized, the minimization is generally set by default, and when a user needs to watch a popup window in the advertisement accommodating page, the advertisement accommodating page can be maximized for the user to watch.
An advertisement identification plug-in can be built in the browser, and whether the browser has an advertisement popup window or not is judged through the built-in advertisement identification plug-in. For example, after a user inputs a webpage to be accessed in a browser, the browser loads an HTML file to load the webpage, the loading of the webpage includes loading of characters, pictures, flash animations and the like, and when the webpage is loaded, whether the webpage loaded by the browser has an advertisement popup window is identified through a built-in advertisement identification plug-in. For another example, during the process of browsing the web page, the user identifies whether the browsed web page has an advertisement popup window through a built-in advertisement identification plug-in.
When the advertisement identification plug-in built in the browser identifies that the browser page has the advertisement popup window, the advertisement popup window is automatically transplanted to the previously loaded advertisement accommodating page to be played. At this time, only the pop-up position of the advertisement popup is shifted, namely, the advertisement popup is transplanted into the advertisement accommodating page from the browsing page of the browser, and the advertisement popup is continuously played in the set advertisement accommodating page.
In the embodiment, the advertisement accommodating page is arranged to transfer the advertisement popup window, so that the interference of the advertisement popup window to the normal work of a user can be avoided, and the use experience of the user is improved; the advertisement blocking method does not need to be bound with the IP (Internet protocol) and the webpage of the computer of the user, can prevent malicious binding events of software, does not need to click the closing control of the advertisement popup window to close the advertisement popup window, can prevent unsafe links in the advertisement to protect the data safety of the user, meanwhile, does not conflict with other protection software installed on the computer in the using process, and is low in development difficulty.
Preferably, the advertisement detection module 200 includes:
the data analysis unit 210 is configured to, when a browser page has a popup window, analyze data included in the popup window;
the identifying unit 220 is configured to identify image information and text information included in the popup window according to an analysis result;
a determining unit 230, configured to determine whether the pop-up window is an advertisement pop-up window according to the image information and the text information.
Specifically, when the browser page has a popup, analyzing the acquired popup data, identifying image information and characters contained in the popup according to an analysis result, and then judging whether the popup is an advertisement popup according to the image information and the character information.
For example, when a user opens a certain webpage, an advertisement popup may occur at any position on the webpage, and of course, other non-advertisement popup may also occur, and in order to avoid that the normal work of the user is affected by transplanting the non-advertisement popup into an advertisement accommodating page, it is necessary to identify whether the popup on the webpage is an advertisement popup. When identifying the pop-up window, the image information and the text information contained in the pop-up window may be obtained first, and then whether the pop-up window is an advertisement pop-up window is determined according to the characteristics of the image information and the text information, for example, some specific texts and icons are stored in a pre-stored file library of an advertisement identification plug-in installed in the browser, and when the image information in the pop-up window is matched with the pre-stored icon, or the text information is matched with the pre-stored texts, the pop-up window is considered as an advertisement pop-up window.
The pre-stored file library of the advertisement identification plug-in can be updated once in a period of time, when the advertisement popup window which cannot be identified by the advertisement identification plug-in exists, the user actively adds the advertisement popup window into the pre-stored file library of the advertisement identification plug-in, the server can collect all the advertisement popup windows which are actively added by the user, and then the pre-stored file library of the advertisement identification plug-in on the user client side is updated in a period of time, so that the advertisement identification accuracy of the advertisement identification plug-in is guaranteed.
When the browser page is identified to have the advertisement popup through the advertisement identification plug-in, the advertisement popup is automatically transplanted to the previously loaded advertisement accommodating page to be played. At this time, only the pop-up position of the advertisement popup is shifted, namely, the advertisement popup is transplanted into the advertisement accommodating page from the browsing page of the browser, and the advertisement popup is continuously played in the set advertisement accommodating page.
Preferably, the judging unit 230 includes:
a determining subunit 231, configured to determine, according to the image information, whether the pop window includes multiple different pictures;
the determining subunit 231 is further configured to determine that the pop window is an advertisement pop window if the pop window includes multiple different pictures, and the multiple different pictures are cyclically switched at a certain time interval;
specifically, after image information in the pop-up window is obtained, it is determined whether the pop-up window includes a plurality of different pictures, when the pop-up window includes a plurality of different pictures, it is determined whether the plurality of different pictures are played in a cycle at a certain time interval, if so, the pop-up window is considered as an advertisement pop-up window, and if the plurality of different pictures are not played in a cycle at a certain time interval, it is further determined whether the text information includes predetermined specific text, such as "advertisement", "hard explosion", "sales promotion", "financial settlement", "preferential", "immediate purchase", "game agent", "recharge", and if so, the pop-up window is considered as an advertisement pop-up window.
The determining subunit 231 is further configured to determine whether the text information includes preset specific text if the pop-up window only includes one picture, and determine that the pop-up window is an advertisement pop-up window if the text information includes preset specific text.
Specifically, when the pop-up window only contains one picture, it is determined whether the text information contains preset specific text, such as "advertisement", "strong explosion", "promotion", "calculation", "special offer", "prompt purchase", "game agent", "charge", etc., if so, the pop-up window is considered as an advertisement pop-up window, if not, the information in the picture is identified, information such as text, icon, image, etc. is extracted from the picture, and then it is determined whether the pop-up window is an advertisement pop-up window by combining the information in the picture, for example, it is determined whether the pop-up window contains specific text, specific icon, specific image, etc.
Preferably, the method further comprises the following steps:
a click detection module 400, configured to detect an operation of clicking a closing control of the advertisement containing page;
an executing module 500, configured to close the advertisement accommodating page to close all advertisement pop-ups in the advertisement accommodating page.
Specifically, after detecting that the browser page has the advertisement popup through the method in the above embodiment, the popup position of the advertisement popup is shifted, that is, the popup is transplanted from the browser page to the advertisement accommodating page, so that the popup advertisement is continuously played in the set advertisement accommodating page. When a user clicks the closing control of the advertisement accommodating page, the advertisement accommodating page can be closed, all advertisement popup windows in the advertisement accommodating page are closed while the advertisement accommodating page is closed, and once and for all, the user does not need to manually click the closing control of each advertisement popup window to close each advertisement popup window, so that unsafe links in the advertisement can be prevented, and the data security of the user is protected.
Preferably, the advertisement migration module 300 includes:
and an advertisement transplanting unit 310, configured to, when the browser page has an advertisement popup, transplant the advertisement popup into the advertisement receiving page through a VPN channel or an HTTP proxy to play.
Specifically, when a user starts a browser and configures an advertisement containing page, a communication channel between the computer and the advertisement containing page is established, when an advertisement identification plug-in built in the browser detects that the browser page has an advertisement popup through the method of the embodiment, the advertisement popup of the browser page can be transplanted into the advertisement containing page for playing through a VPN channel or an HTTP proxy, when the user clicks a closing control of the advertisement containing page, the advertisement containing page can be closed, all the advertisement popup in the advertisement containing page are closed at the same time of closing the advertisement containing page, and once and for all, the user does not need to manually click the closing control of each advertisement popup to close each advertisement popup, so that unsafe links in the advertisement can be prevented, and the data safety of the user can be protected.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (2)

1. An advertisement blocking method, comprising:
when a browser is started, configuring an advertisement containing page, wherein the advertisement containing page is minimized in the browser;
detecting whether a browser page has an advertisement popup, comprising: when a browser page has a popup window, analyzing data contained in the popup window; identifying image information and character information contained in the popup window according to an analysis result; judging whether the pop-up window contains a plurality of different pictures or not according to the image information; if the pop-up window comprises a plurality of different pictures, and the plurality of different pictures are circularly switched at a certain time interval, judging that the pop-up window is an advertisement pop-up window; if the popup window only contains one picture, judging whether the character information contains preset specific characters, and if so, judging that the popup window is an advertisement popup window;
when the browser page has the advertisement popup, transplanting the advertisement popup into the advertisement accommodating page for playing through a VPN channel or an HTTP proxy;
and detecting the operation of clicking a closing control of the advertisement accommodating page, and closing all advertisement popup windows in the advertisement accommodating page by closing the advertisement accommodating page.
2. An advertisement blocking system, comprising:
the system comprises a configuration module, a search module and a search module, wherein the configuration module is used for configuring an advertisement accommodating page when a browser is started, and the advertisement accommodating page is minimized in the browser;
the advertisement detection module is used for detecting whether the browser page has an advertisement popup window; the advertisement detection module includes: the data analysis unit is used for analyzing data contained in the popup window when the browser page has the popup window; the identification unit is used for identifying the image information and the character information contained in the popup window according to an analysis result; the judging unit is used for judging whether the pop-up window is an advertisement pop-up window or not according to the image information and the character information; wherein the judging unit includes: the judging subunit is used for judging whether the popup window contains a plurality of different pictures or not according to the image information; the judging subunit is further configured to judge that the pop-up window is an advertisement pop-up window if the pop-up window includes a plurality of different pictures, and the plurality of different pictures are cyclically switched at a certain time interval; the judging subunit is further configured to, if the popup only contains one picture, judge whether the text information contains preset specific text, and if not, judge that the popup is an advertisement popup;
the advertisement transplanting module comprises an advertisement transplanting unit which is used for transplanting the advertisement popup into the advertisement accommodating page for playing through a VPN channel or an HTTP proxy when the browser page has the advertisement popup
The click detection module is used for detecting the operation of clicking the closing control of the advertisement accommodating page;
and the execution module is used for closing the advertisement accommodating page so as to close all advertisement popup windows in the advertisement accommodating page.
CN201910118193.3A 2019-02-15 2019-02-15 Advertisement blocking method and system Active CN109948088B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910118193.3A CN109948088B (en) 2019-02-15 2019-02-15 Advertisement blocking method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910118193.3A CN109948088B (en) 2019-02-15 2019-02-15 Advertisement blocking method and system

Publications (2)

Publication Number Publication Date
CN109948088A CN109948088A (en) 2019-06-28
CN109948088B true CN109948088B (en) 2022-10-14

Family

ID=67007942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910118193.3A Active CN109948088B (en) 2019-02-15 2019-02-15 Advertisement blocking method and system

Country Status (1)

Country Link
CN (1) CN109948088B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110688656A (en) * 2019-09-07 2020-01-14 西南计算机有限责任公司 Cross-platform plug-in system integration
CN112099885A (en) * 2020-08-17 2020-12-18 联想(北京)有限公司 Popup window processing method and device, equipment and storage medium
CN116524394B (en) * 2023-03-30 2024-07-05 北京百度网讯科技有限公司 Video detection method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1916897A (en) * 2006-08-28 2007-02-21 天图信息技术(上海)有限公司 Method for implementing advertisement at tool bar based on IE browser
KR20140089462A (en) * 2013-01-04 2014-07-15 박상정 System and server for providing pop typed advertisement
CN105812836A (en) * 2016-03-07 2016-07-27 北京奇虎科技有限公司 VPN based video advertisement blocking method and device
WO2018058330A1 (en) * 2016-09-27 2018-04-05 中兴通讯股份有限公司 Method and apparatus for blocking advertisements, and browser and computer storage medium
CN107948685A (en) * 2016-10-13 2018-04-20 腾讯科技(北京)有限公司 Information popularization method and information popularization device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629273B (en) * 2012-03-19 2014-11-05 北京奇虎科技有限公司 Advertising information pushing method based on browser, device and browser system
CN106033450B (en) * 2015-03-17 2020-02-14 中兴通讯股份有限公司 Advertisement blocking method and device and browser
CN105701154B (en) * 2015-12-29 2019-04-09 腾讯科技(深圳)有限公司 Advertisement sweep-out method and device
CN106454442A (en) * 2016-11-03 2017-02-22 Tcl集团股份有限公司 Advertisement putting method and advertisement receiving end
CN107844230A (en) * 2017-10-31 2018-03-27 努比亚技术有限公司 A kind of advertisement page method of adjustment, mobile terminal and computer-readable recording medium
CN108536504A (en) * 2018-03-16 2018-09-14 广东欧珀移动通信有限公司 page display method, device, mobile terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1916897A (en) * 2006-08-28 2007-02-21 天图信息技术(上海)有限公司 Method for implementing advertisement at tool bar based on IE browser
KR20140089462A (en) * 2013-01-04 2014-07-15 박상정 System and server for providing pop typed advertisement
CN105812836A (en) * 2016-03-07 2016-07-27 北京奇虎科技有限公司 VPN based video advertisement blocking method and device
WO2018058330A1 (en) * 2016-09-27 2018-04-05 中兴通讯股份有限公司 Method and apparatus for blocking advertisements, and browser and computer storage medium
CN107948685A (en) * 2016-10-13 2018-04-20 腾讯科技(北京)有限公司 Information popularization method and information popularization device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Avoidance of Social Media Advertising: A Latent Profile Analysis;Jens Mattke 等;《ACM》;20180618;第50-57页 *
史上最强的广告拦截软件:3721上网助手;满江红;《电脑爱好者》;20040201(第02期);第67页 *
拒绝骚扰,教你轻松过滤网页广告;友文;《电脑知识与技术(经验技巧)》;20160205(第02期);第91-93页 *
网络广告拦截的影响分析及常用拦截技术;胡桓等;《中国科技信息》;20091201(第23期);第97-98页 *

Also Published As

Publication number Publication date
CN109948088A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
US9762598B1 (en) Automatic dynamic vetting of browser extensions and web applications
US9602347B2 (en) Method, system and program for browser to switch IE kernel
CN102203765B (en) Uniquely identifying network-distributed devices without explicitly provided device or user identifying information
CN109948088B (en) Advertisement blocking method and system
CN111198730B (en) Method, device, terminal and computer storage medium for starting sub-application program
KR101953303B1 (en) Identifying matching applications based on browsing activity
US9215245B1 (en) Exploration system and method for analyzing behavior of binary executable programs
CN105940654A (en) Privileged static hosted WEB applications
US9443077B1 (en) Flagging binaries that drop malicious browser extensions and web applications
CN108319662A (en) Page processing method, device, electronic equipment and readable storage medium storing program for executing
CN104035984A (en) Method for blocking popup windows in browser and device for blocking popup windows
JP2007535012A (en) Technology for changing the behavior of documents distributed over a computer network
CN105243058A (en) Webpage content translation method and electronic apparatus
US9449308B2 (en) Defining actions for data streams via icons
US20220020047A1 (en) Automated testing of multiple on-line coupons
US20090282398A1 (en) On-the-fly addition of products to an existing installation
CN106371706A (en) Method and device for site selection of application shortcuts
CN111639333A (en) Information management method and device and electronic equipment
US11556611B2 (en) Embedded web page analytic elements
US10839066B1 (en) Distinguishing human from machine input using an animation
CN112307386A (en) Information monitoring method, system, electronic device and computer readable storage medium
US20210026913A1 (en) Web browser control feature
CN111913759A (en) Method, apparatus, computing device, and medium for controlling execution of application program
US9965744B1 (en) Automatic dynamic vetting of browser extensions and web applications
EP3506136A9 (en) Detecting stack cookie utilization in a binary software component using binary static analysis

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant