CN113239304B - Advertisement processing method - Google Patents

Advertisement processing method Download PDF

Info

Publication number
CN113239304B
CN113239304B CN202110483398.9A CN202110483398A CN113239304B CN 113239304 B CN113239304 B CN 113239304B CN 202110483398 A CN202110483398 A CN 202110483398A CN 113239304 B CN113239304 B CN 113239304B
Authority
CN
China
Prior art keywords
attention
user
advertisement
iframe
time
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
CN202110483398.9A
Other languages
Chinese (zh)
Other versions
CN113239304A (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.)
Xian Jiaotong University
Original Assignee
Xian Jiaotong University
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 Xian Jiaotong University filed Critical Xian Jiaotong University
Priority to CN202110483398.9A priority Critical patent/CN113239304B/en
Publication of CN113239304A publication Critical patent/CN113239304A/en
Application granted granted Critical
Publication of CN113239304B publication Critical patent/CN113239304B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Abstract

The application belongs to the technical field of computers, and particularly relates to an advertisement processing method. At present, accurate advertisement delivery can hit a user pain point probably, so that when a user needs a clean internet surfing environment, sometimes when the user wants to see an advertisement capable of solving the user pain point, the advertisement is directly deleted and filtered. The method for deleting and filtering the advertisement not only can change the page layout, but also can make the page layout disordered and influence the beauty. The application provides an advertisement processing method which comprises the steps of obtaining iframe advertisement nodes, conducting fuzzy processing on all iframe areas, monitoring user attention events, and conducting throttling processing on the user attention events; and judging whether the user pays attention to the iframe area and processing the iframe area, and correcting the attention event judgment condition. And effectively processing the iframe advertisement embedded with the page source code according to the user requirement.

Description

Advertisement processing method
Technical Field
The application belongs to the technical field of computers, and particularly relates to an advertisement processing method.
Background
With the popularization and application of the internet, the method and the way for obtaining information data by surfing the internet become common practice in life of people. Many operating companies have web advertising as an important tool for their advertising campaign. At present, a large number of commercial advertisements exist on a webpage, the advertisements are various and influence visual aesthetics, information key points are disturbed, the advertisements are closed by manual clicking of a user, the user is induced to access harmful webpages when clicking, the internet surfing cost of people is increased invisibly, time and energy are wasted, and finally a bad internet surfing experience is brought to the user.
One of the web page advertisement technologies is to monitor a router to obtain a request, embed an iframe in a page source code before a browser receives a response of a portal server to be accessed by a user, place an advertisement in the iframe, and respond to the browser; such advertisements are not commercials that are released by the portal itself, but are some injection programs that the operator adds itself.
Currently, some web page advertisement blocking tools are widely used, such as Adblock and Adblock Plus (ABP) and uBlock Origin, which are very similar in principle. Adblock Plus is a free extension to the custom web experience, i.e. the user blocks out unwanted elements by using a filter list (EasyList), which is a set of rules that tell the browser which elements need to be blocked, the user can choose from a pre-made externally maintained filter list, or create his own filter list. Adblock Plus proceeds primarily from a portion of the "acceptable ad program". That is to say, when using Adblock Plus, a common user needs certain knowledge about the browser, which increases the learning cost of the user, and Adblock Plus sometimes fails with the change of the web page layout and the web page technology, needs to revise the matching rule again, and is therefore not suitable for the common user.
Still other advertising masks are formulated based on the new advertising act of 2016, 9, 1. That is, according to the seventh provision of the interim approach of internet advertisement management of China, "the internet advertisement should be identifiable, and the advertisement is marked prominently, so that the consumer can identify it as the advertisement". Therefore, partial advertisement shielding acquires a small-area screenshot by acquiring and analyzing DOM elements, and then identifies advertisement words through an image identification technology, thereby performing advertisement shielding. This type of advertisement blocking technique does reduce human intervention, but at a slow rate. When the user separates the advertisement picture from the advertisement word, the image recognition technology only recognizes and shields the advertisement word, and the effect is not good.
The accurate advertisement delivery can hit user's pain point probably at present, therefore the user when needing clean internet access environment, when the user wants to see the advertisement that can solve oneself pain point, the advertisement has directly been deleted the filtration. This extreme approach blocks the merchant from communicating with the user and does not address the user's needs, which is a loss for both the user and the merchant. Meanwhile, the method for deleting and filtering the advertisements not only changes the page layout, but also makes the page layout disordered and beautiful.
Disclosure of Invention
1. Technical problem to be solved
The user pain point can be hit probably based on the accurate delivery of the current advertisement, so that the user can directly delete and filter the advertisement when the user wants to see the advertisement capable of solving the user pain point in the clean internet surfing environment. This extreme approach blocks the merchant from communicating with the user and does not address the user's needs, which is a loss for both the user and the merchant. Meanwhile, the method for deleting and filtering the advertisement not only changes the page layout and leads the page layout to be disordered and influence the attractiveness, but also provides the advertisement processing method.
2. Technical scheme
In order to achieve the purpose, the method comprises the steps of obtaining iframe advertisement nodes, conducting fuzzy processing on all iframe areas, monitoring user attention events, and conducting throttling processing on the user attention events; and judging whether the user pays attention to the iframe area and processing the iframe area, and correcting the attention event judgment condition.
Another embodiment provided by the present application is: and the step of obtaining the iframe advertisement node comprises the step of obtaining the embedded iframe advertisement node existing in the DOM tree according to the loading state of the Document.
Another embodiment provided by the present application is: the front-end script judges by monitoring the loading state Document of Document, when the loading state of the file is changed to 'complete', the page loading is completed, all iframe areas in the DOM tree are obtained, all the obtained iframes are traversed, the attribute of the iframe style is modified, the attribute is modified to 'filter: opportunity (0.2) blu (10 px)' and the user attention event is monitored.
Another embodiment provided by the present application is: the determining whether the user is interested in the iframe area is based on an analytical comparison of duration and attention time.
Another embodiment provided by the present application is: the processing comprises deblurring processing of the corresponding area of the confirmed user attention event, and performing the blur processing again on the corresponding area after the user attention is lost; the confirmed non-user attention event is not responded, and the action time is recorded; and updating the user attention model and correcting the attention event judgment condition by using the behavior time after each behavior is finished whether the attention is triggered or not.
Another embodiment provided by the present application is: the deblurring process includes modifying the region style attribute to "filter: none ", so that the user can see the original iframe area content.
Another embodiment provided by the present application is: the blurring of the corresponding region includes modifying the region style attribute to "filter: accessibility (0.2) blu (10 px)".
Another embodiment provided by the present application is: when the duration is longer than the attention time, if the judgment result is yes, confirming that the user pays attention to the event and carrying out deblurring processing on the corresponding area; when the duration is less than the attention time, the judgment result is no, namely the event which is not focused by the user is confirmed, no response is made, and the action time is recorded.
Another embodiment provided by the present application is: the condition for judging the corrected attention event comprises that when the behavior time is longer than the attention time, positive feedback adjustment is carried out on the attention time; if the action time is less than half of the attention time, performing negative feedback regulation on the attention time; and if the attention time is longer than the action time by more than half of the attention time, performing positive feedback adjustment on the attention time.
Another embodiment provided by the present application is: the feedback is adjusted to increase or decrease the time by 50 milliseconds.
3. Advantageous effects
Compared with the prior art, the advertisement processing method provided by the application has the beneficial effects that:
the application provides an advertisement processing method, and relates to software engineering. The method for automatically processing the iframe advertisement based on the chrome plug-in is applied to a chrome browser.
According to the advertisement processing method, the iframe advertisement embedded with the page source code can be effectively processed according to the user requirement.
Drawings
FIG. 1 is a flow chart illustrating an advertisement processing method of the present application;
fig. 2 is a schematic diagram of the effect of the advertisement processing method of the present application.
Detailed Description
Hereinafter, specific embodiments of the present application will be described in detail with reference to the accompanying drawings, and it will be apparent to those skilled in the art from this detailed description that the present application can be practiced. Features from different embodiments may be combined to yield new embodiments, or certain features may be substituted for certain embodiments to yield yet further preferred embodiments, without departing from the principles of the present application.
Referring to fig. 1-2, the present application provides an advertisement processing method, which includes acquiring iframe advertisement nodes, performing fuzzy processing on all iframe areas, monitoring user attention events, and performing throttling processing on the user attention events; and judging whether the user pays attention to the iframe area and processing the iframe area, and correcting the judgment condition of the attention event.
Further, the acquiring the iframe advertisement node comprises acquiring an embedded iframe advertisement node existing in the DOM tree according to the loading state of the Document.
And further, the front-end script judges by monitoring the loading state Document of Document, the ready state, when the loading state of Document is changed into 'complete', the page loading is completed, all iframe areas in the DOM tree are obtained, all the obtained iframes are traversed, the iframe style attribute is modified, the attribute is modified into 'filter: open (0.2) blu (10 px)' and the user attention event is monitored.
Further, the determining whether the user is interested in the iframe area is based on an analytical comparison of duration and attention time.
Further, the processing includes performing deblurring processing on the corresponding region for the confirmed user attention event, and performing the blurring processing on the corresponding region again after the user attention is lost; the confirmed non-user attention event is not responded, and the action time is recorded; and updating the user attention model and correcting the attention event judgment condition by using the behavior time after each behavior is finished whether the attention is triggered or not.
Further, the deblurring process includes modifying the region style attribute to "filter: none ", so that the user can see the original iframe area content.
Further, the blurring the corresponding region includes modifying the region style attribute to be "filter: opportunity (0.2) blu (10 px)".
Further, when the duration is longer than the attention time, if the judgment result is yes, confirming that the user pays attention to the event and carrying out deblurring processing on the corresponding area; when the duration is less than the attention time, the judgment result is 'no', namely the non-user attention event is confirmed, no response is made, and the action time is recorded.
Further, the condition for correcting the attention event judgment condition comprises that when the action time is greater than the attention time, positive feedback adjustment is carried out on the attention time; if the action time is less than half of the attention time, performing negative feedback regulation on the attention time; and if the attention time is longer than the action time by more than half the attention time, performing positive feedback adjustment on the attention time.
Further, the feedback is adjusted to increase or decrease the time by 50 milliseconds.
Most advertisements are injected via iframe technology. Therefore, the invention provides a new method for automatically processing the iframe advertisement based on the chrome plug-in by combining the chrome plug-in and JS injection.
The DOM is an abbreviation of Document Object Model.
The DOM tree is a structure, and the hierarchical structure refers to the relationship between elements, and the tree output by the resolver is composed of DOM elements and attribute nodes. When we say that a tree contains DOM nodes, we mean that the tree is made up of elements that implement DOM interfaces. These implementations contain other attributes that are required inside the browser.
The hierarchical relationships are unchanged from the document stream.
Examples
As shown in FIG. 1, the method for automatically processing the iframe advertisement based on the chrome plug-in. Under the condition that a user uses a chrome browser and installs the plug-in, the user opens a webpage, if the webpage has the advertisement content embedded with the iframe, the method and the device automatically add readystatechange to the page for monitoring according to the flow shown in figure 1 when the page is loaded. When the page loading is completed, that is, the status of document readystate is changed to "complete", at this time, all the pictures, documents and child resources are loaded, and the iframe is already loaded.
All iframe nodes of the current page are obtained, then all the iframe nodes are subjected to fuzzy processing, and user attention events are monitored, namely, a filter, an accessibility (0.2) blu (10 px) is added in the style attributes of all the iframe nodes, and the user attention events (mouse in events) and the user attention lost events (mouse out events) are added in all the iframe areas.
When the mouse is moved in and out, the event is throttled, namely, the last move-in event is processed for a plurality of times within a certain time, so that the resource consumption of the computer is reduced.
And starting timing from the last mouse moving event, comparing the duration time with the attention time according to the user duration time, and judging whether the user pays attention to the iframe.
The attention time default time is set to 1000ms, and the adjustment range is [500,2000] (unit ms).
When the duration time is longer than the attention time, if the determination result is 'yes', confirming the attention event of the user, and performing deblurring processing on the corresponding area, namely modifying the style attribute to be 'filter: none', so that the user can see the content of the original iframe area; when the user attention is lost, the fuzzy processing is carried out again, namely the style attribute of the iframe is modified to be 'filter: opportunity (0.2) blu (10 px)'.
When the duration is shorter than the attention time, if the judgment result is 'no', the event which is not attended by the user is confirmed, no response is made, and the action time is recorded;
and updating the user attention model by using the behavior time after each behavior is finished and correcting the attention event judgment condition whether the attention is triggered or not. When the action time is longer than the attention time, positive feedback adjustment within a certain range is carried out on the attention time, namely the attention time is increased by 50ms; if the behavior time is less than attention time/2, performing negative feedback regulation within a certain range on the attention time, namely reducing the attention time by 50ms; if the attention time is longer than the action time by more than the attention time/2, the attention time is adjusted in a positive feedback manner within a certain range, namely the attention time is increased by 50ms.
The left diagram in fig. 2 shows the unprocessed diagram of the method of the embodiment and the diagram of the effect after losing the attention of the user; the right diagram is the effect diagram after the processing of the method of the embodiment.
Although the present application has been described above with reference to specific embodiments, those skilled in the art will recognize that many changes may be made in the configuration and details of the present application within the principles and scope of the present application. The scope of protection of the present application is determined by the appended claims, and all changes that come within the meaning and range of equivalency of the technical features of the claims are intended to be embraced therein.

Claims (5)

1. An advertisement processing method, characterized by: the method comprises the following steps:
step 1, acquiring iframe advertisement nodes, performing fuzzy processing on all iframe areas, monitoring a user attention event, and performing throttling processing on the user attention event, wherein the steps are as follows: automatically adding readystatechange monitoring to the page when the page is loaded; when the page loading is completed, acquiring all iframe advertisement nodes of the current page, carrying out fuzzy processing on all the iframe advertisement nodes, monitoring user attention events, adding the user attention events and user attention loss events in all the iframe areas, throttling the events when a mouse moves in and out, and starting timing from the last mouse moving in event;
step 2, judging whether the user pays attention to the iframe area and processing, specifically: according to the duration of the user, comparing the duration with the attention time, and judging whether the user pays attention to the iframe; when the duration time is longer than the attention time, the judgment result is yes, namely the user concerns the event, and the deblurring processing of the corresponding area is carried out, so that the user can see the content of the original iframe area; after the user attention is lost, performing fuzzy processing on the corresponding area again, and when the duration time is less than the attention time, judging whether the result is negative, namely confirming the event which is not the user attention, not responding, and still recording the behavior time;
and 3, correcting the judgment condition of the concerned event, specifically comprising the following steps: after each action is finished, updating a user attention model by utilizing the action time, and correcting the attention event judgment condition; when the action time is longer than the attention time, performing positive feedback adjustment on the attention time; if the action time is less than half of the attention time, performing negative feedback regulation on the attention time; and if the attention time is longer than the action time by half than the attention time, performing positive feedback adjustment on the attention time.
2. The advertisement processing method of claim 1, wherein: the acquiring of the iframe advertisement node comprises acquiring the embedded iframe advertisement node existing in the DOM tree according to the loading state of the Document.
3. The advertisement processing method of claim 1, wherein: the deblurring process includes modifying the style attribute of the region to filter: none.
4. The advertisement processing method of claim 1, wherein: the blurring of the corresponding region includes modifying a style attribute of the region to be filter: opportunity (0.2) blu (10 px).
5. The advertisement processing method of claim 1, wherein: the feedback is adjusted to increase or decrease the time by 50 milliseconds.
CN202110483398.9A 2021-04-30 2021-04-30 Advertisement processing method Active CN113239304B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110483398.9A CN113239304B (en) 2021-04-30 2021-04-30 Advertisement processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110483398.9A CN113239304B (en) 2021-04-30 2021-04-30 Advertisement processing method

Publications (2)

Publication Number Publication Date
CN113239304A CN113239304A (en) 2021-08-10
CN113239304B true CN113239304B (en) 2023-03-28

Family

ID=77131847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110483398.9A Active CN113239304B (en) 2021-04-30 2021-04-30 Advertisement processing method

Country Status (1)

Country Link
CN (1) CN113239304B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279882A (en) * 2013-06-19 2013-09-04 成都智元汇数码科技有限公司 Method for achieving advertisement interaction through interactive information issue Internet of Things terminal
CN104766229A (en) * 2015-04-22 2015-07-08 合一信息技术(北京)有限公司 Implantable advertisement putting method
CN104965890A (en) * 2015-06-17 2015-10-07 深圳市腾讯计算机系统有限公司 Advertisement recommendation method and apparatus
CN107122773A (en) * 2017-07-05 2017-09-01 司马大大(北京)智能系统有限公司 A kind of video commercial detection method, device and equipment
CN107193889A (en) * 2017-05-02 2017-09-22 努比亚技术有限公司 Ad blocking method, terminal and computer-readable recording medium
CN107274222A (en) * 2017-06-12 2017-10-20 迈普通信技术股份有限公司 Advertisement placement method and device
CN107729385A (en) * 2017-09-19 2018-02-23 杭州安恒信息技术有限公司 A kind of method for gathering dynamic web page partial data content
CN108153753A (en) * 2016-12-02 2018-06-12 阿里巴巴集团控股有限公司 Recommend methods, devices and systems
TWI678668B (en) * 2018-09-04 2019-12-01 誠屏科技股份有限公司 Active advertising system and method thereof
CN111861572A (en) * 2020-07-24 2020-10-30 咪咕文化科技有限公司 Advertisement putting method and device, electronic equipment and computer readable storage medium
CN112581167A (en) * 2020-12-11 2021-03-30 王飞 Advertisement big data perception discernment storage terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070124202A1 (en) * 2005-11-30 2007-05-31 Chintano, Inc. Systems and methods for collecting data and measuring user behavior when viewing online content

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279882A (en) * 2013-06-19 2013-09-04 成都智元汇数码科技有限公司 Method for achieving advertisement interaction through interactive information issue Internet of Things terminal
CN104766229A (en) * 2015-04-22 2015-07-08 合一信息技术(北京)有限公司 Implantable advertisement putting method
CN104965890A (en) * 2015-06-17 2015-10-07 深圳市腾讯计算机系统有限公司 Advertisement recommendation method and apparatus
CN108153753A (en) * 2016-12-02 2018-06-12 阿里巴巴集团控股有限公司 Recommend methods, devices and systems
CN107193889A (en) * 2017-05-02 2017-09-22 努比亚技术有限公司 Ad blocking method, terminal and computer-readable recording medium
CN107274222A (en) * 2017-06-12 2017-10-20 迈普通信技术股份有限公司 Advertisement placement method and device
CN107122773A (en) * 2017-07-05 2017-09-01 司马大大(北京)智能系统有限公司 A kind of video commercial detection method, device and equipment
CN107729385A (en) * 2017-09-19 2018-02-23 杭州安恒信息技术有限公司 A kind of method for gathering dynamic web page partial data content
TWI678668B (en) * 2018-09-04 2019-12-01 誠屏科技股份有限公司 Active advertising system and method thereof
CN111861572A (en) * 2020-07-24 2020-10-30 咪咕文化科技有限公司 Advertisement putting method and device, electronic equipment and computer readable storage medium
CN112581167A (en) * 2020-12-11 2021-03-30 王飞 Advertisement big data perception discernment storage terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"GPS-Free Host Approaching in Mobile Ad-Hoc Networks";Kazuyuki Ishii et al.;《 International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing》;20130919;全文 *
"微博广告推荐关键技术研究";孟庆博;《万方数据知识服务平台》;20190124;全文 *

Also Published As

Publication number Publication date
CN113239304A (en) 2021-08-10

Similar Documents

Publication Publication Date Title
US8775923B1 (en) Web page restoration
US8533141B2 (en) Systems and methods for rule based inclusion of pixel retargeting in campaign management
US10152773B2 (en) Creating a blurred area for an image to reuse for minimizing blur operations
US20080163068A1 (en) Method and system for visualizing weblog social network communities
US20100017700A1 (en) Methods and Systems for Handling Annotations and Using Calculation of Addresses in Tree-Based Structures
US20090282062A1 (en) Data protection and management
US20090249188A1 (en) Method for adaptive transcription of web pages
CN105677654B (en) Advertisement filtering method and device
CN111177621B (en) Web page development method, device and system
US11436659B2 (en) Back end server modification and model visualization
Díaz et al. End-user browser-side modification of web pages
CN104268282A (en) Web banner advertisement displaying method and system
CN113378040A (en) User behavior analysis method and device for popularization
CN111309578A (en) Method and device for identifying object
CN113239304B (en) Advertisement processing method
CN108509189B (en) A kind of component of the H5 time gate based on DOM unifies implementation method
CN109240664A (en) A kind of method and terminal acquiring user behavior information
JP4977096B2 (en) Highlighting addition method, display control program, and server
KR100697809B1 (en) The method making homepage with iframe and layer
TW202016723A (en) Method for adaptively adjusting amount of information in user interface design and electronic device
CN108388667A (en) A kind of web advertisement visual marker and intercepting system and method
Marco et al. Annotated Flickr dataset for identification of professional photographers
US11907310B2 (en) Data correlation system and method
US20230096332A1 (en) Virtual Browser For Retail Crawling Engine
US20240095806A1 (en) Back end server modification and model visualization

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