An advertisement processing method and device, a storage medium and an electronic device
By combining a multimodal ad recognition mechanism with DOM parsing, image recognition, and user rule matching, the problem of ads interfering with user experience in browsers has been solved. This has enabled accurate recognition and efficient filtering, improved the intelligence and personalization of ad processing, and enhanced the user experience.
Patent Information
- Application Number
- CN202510662666.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-21
- Publication Date
- 2026-11-24
AI Technical Summary
In existing technologies, advertisements in browsers interfere with user experience and are difficult to identify and process effectively, affecting page loading speed and causing user aversion.
Employing a multimodal ad recognition mechanism, this system combines DOM parsing, image recognition, and user ad rule matching with a large ad detection model and a user rule engine to achieve accurate ad recognition and filtering of browser page data.
It achieves accurate identification and efficient filtering of advertisements on browser pages, improves the intelligence and personalization of ad processing, enhances user experience, and improves the efficiency and accuracy of ad blocking.
Smart Images

Figure CN123160218A_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of computer technology, and in particular to an advertising processing method, apparatus, storage medium, and electronic device. Background Technology
[0002] With the rapid development of the internet, advertising has become an unavoidable part of the web browsing process. Especially when accessing various websites through a browser, users often encounter different forms of advertising, such as banner ads, pop-up ads, and video ads. These ads typically disrupt the user's browsing experience, affect page loading speed, and may provoke user annoyance. Therefore, effectively identifying and handling these ads has become crucial in browser ad-blocking technology. Summary of the Invention
[0003] This specification provides an advertising processing method, apparatus, storage medium, and electronic device, the technical solution of which is as follows:
[0004] Firstly, this specification provides an advertising processing method, the method comprising:
[0005] Monitor user page browsing data on the browser;
[0006] Based on the user browsing page data, a multimodal advertising recognition mechanism is used to perform DOM parsing to obtain DOM advertising parsing results. Image recognition is then performed on the DOM advertising parsing results and the user browsing page data to obtain advertising image recognition results. Finally, user advertising rule matching is performed on the user browsing page data to obtain advertising rule matching results.
[0007] Based on the DOM ad parsing results, the ad image recognition results, and the ad rule matching results, the browsing ad recognition results are obtained, and the user browsing page data is filtered for ad content based on the browsing ad recognition results.
[0008] In one feasible implementation, the step of obtaining DOM ad parsing results by using a multimodal ad recognition mechanism based on the user's browsing page data includes:
[0009] The DOM structure of the user's browsed page data is parsed to obtain DOM tree information;
[0010] Based on the DOM tree information, user page interaction behavior is identified from the user's browsing page data to obtain user DOM tree interaction features;
[0011] The DOM ad parsing result is obtained by identifying ads based on the user's DOM tree interaction features and the DOM tree information.
[0012] In one feasible implementation, the step of obtaining DOM ad parsing results by identifying ads based on the user DOM tree interaction features and the DOM tree information includes:
[0013] Based on the DOM tree information, determine the DOM page element information, and based on the DOM page element information, perform ad element feature recognition to obtain static element ad detection results;
[0014] Based on the user DOM tree interaction features and the DOM tree information, the interaction area sentiment evaluation is performed to obtain the predicted user interaction sentiment state of multiple user interaction areas. Based on the predicted user interaction sentiment state of the user interaction areas, the area advertisement recognition is performed to obtain the dynamic interactive advertisement detection result.
[0015] The DOM ad page features are determined based on the DOM page elements, the user DOM tree interaction features, and the DOM tree information; the DOM ad detection results are determined based on the static element ad detection results and the dynamic interactive ad detection results.
[0016] The DOM ad parsing results are obtained based on the DOM ad page features and the DOM ad detection results.
[0017] In one feasible implementation, the step of performing image recognition on the DOM ad parsing result and the user browsing page data to obtain the ad image recognition result includes:
[0018] The DOM ad parsing results and the user browsing page data are used to perform ad visual recognition processing using an ad detection big data model to obtain ad image recognition results.
[0019] In one feasible implementation, the step of using a large-scale ad detection model to perform ad visual recognition processing on the DOM ad parsing results and the user browsing page data to obtain ad image recognition results includes:
[0020] The DOM ad parsing results and the user's page browsing data are input into the ad detection model.
[0021] The ad detection big model is used to encode the DOM ad parsing results to obtain page DOM modal features, and the user browsing page data is visually parsed to obtain page image modal features. Cross-modal attention processing is performed on the page DOM modal features and the page image modal features to obtain multimodal page features.
[0022] Based on the multimodal page features, potential advertising content is predicted to obtain potential advertising element context information and potential advertising display context information. Based on the advertising element context information and potential advertising display context information, advertising content is identified to obtain advertising image recognition results.
[0023] In one feasible implementation, the method further includes:
[0024] Collect historical ad image recognition results and historical ad browsing recognition results during each round of ad processing, and adjust the model parameters of the ad detection model based on the historical ad image recognition results and historical ad browsing recognition results.
[0025] In one feasible implementation, the step of performing user advertising rule matching on the user's browsed page data to obtain advertising rule matching results includes:
[0026] Based on the DOM ad parsing results and the ad image recognition results, at least one target user ad matching rule is determined from the user rule engine library. The target user ad matching rule is then used to perform user ad rule matching on the user's browsing page data to obtain ad rule matching results.
[0027] In one feasible implementation, determining at least one target user ad matching rule from the user rule engine library based on the DOM ad parsing result and the ad image recognition result includes:
[0028] Based on the DOM ad parsing results and the ad image recognition results, potential ad promotion patterns and potential ad locations are determined;
[0029] Based on the potential advertising promotion mode and the potential advertising position, at least one target user advertising matching rule is matched from the user rule engine library.
[0030] Secondly, this specification provides an advertising processing apparatus, the apparatus comprising:
[0031] The data monitoring module is used to monitor user page browsing data on the browser;
[0032] The ad recognition module is used to perform DOM parsing based on the user's browsing page data using a multimodal ad recognition mechanism to obtain DOM ad parsing results, perform image recognition on the DOM ad parsing results and the user's browsing page data to obtain ad image recognition results, and perform user ad rule matching on the user's browsing page data to obtain ad rule matching results.
[0033] The ad filtering module is used to obtain browsing ad recognition results based on the DOM ad parsing results, the ad image recognition results, and the ad rule matching results, and to perform ad content filtering processing on the user browsing page data based on the browsing ad recognition results.
[0034] In one feasible implementation, the step of obtaining DOM ad parsing results by using a multimodal ad recognition mechanism based on the user's browsing page data includes:
[0035] The DOM structure of the user's browsed page data is parsed to obtain DOM tree information;
[0036] Based on the DOM tree information, user page interaction behavior is identified from the user's browsing page data to obtain user DOM tree interaction features;
[0037] The DOM ad parsing result is obtained by identifying ads based on the user's DOM tree interaction features and the DOM tree information.
[0038] In one feasible implementation, the step of obtaining DOM ad parsing results by identifying ads based on the user DOM tree interaction features and the DOM tree information includes:
[0039] Based on the DOM tree information, determine the DOM page element information, and based on the DOM page element information, perform ad element feature recognition to obtain static element ad detection results;
[0040] Based on the user DOM tree interaction features and the DOM tree information, the interaction area sentiment evaluation is performed to obtain the predicted user interaction sentiment state of multiple user interaction areas. Based on the predicted user interaction sentiment state of the user interaction areas, the area advertisement recognition is performed to obtain the dynamic interactive advertisement detection result.
[0041] The DOM ad page features are determined based on the DOM page elements, the user DOM tree interaction features, and the DOM tree information; the DOM ad detection results are determined based on the static element ad detection results and the dynamic interactive ad detection results.
[0042] The DOM ad parsing results are obtained based on the DOM ad page features and the DOM ad detection results.
[0043] In one feasible implementation, the step of performing image recognition on the DOM ad parsing result and the user browsing page data to obtain the ad image recognition result includes:
[0044] The DOM ad parsing results and the user browsing page data are used to perform ad visual recognition processing using an ad detection big data model to obtain ad image recognition results.
[0045] In one feasible implementation, the step of using a large-scale ad detection model to perform ad visual recognition processing on the DOM ad parsing results and the user browsing page data to obtain ad image recognition results includes:
[0046] The DOM ad parsing results and the user's page browsing data are input into the ad detection model.
[0047] The ad detection big model is used to encode the DOM ad parsing results to obtain page DOM modal features, and the user browsing page data is visually parsed to obtain page image modal features. Cross-modal attention processing is performed on the page DOM modal features and the page image modal features to obtain multimodal page features.
[0048] Based on the multimodal page features, potential advertising content is predicted to obtain potential advertising element context information and potential advertising display context information. Based on the advertising element context information and potential advertising display context information, advertising content is identified to obtain advertising image recognition results.
[0049] In one feasible implementation, the device further includes:
[0050] Collect historical ad image recognition results and historical ad browsing recognition results during each round of ad processing, and adjust the model parameters of the ad detection model based on the historical ad image recognition results and historical ad browsing recognition results.
[0051] In one feasible implementation, the step of performing user advertising rule matching on the user's browsed page data to obtain advertising rule matching results includes:
[0052] Based on the DOM ad parsing results and the ad image recognition results, at least one target user ad matching rule is determined from the user rule engine library. The target user ad matching rule is then used to perform user ad rule matching on the user's browsing page data to obtain ad rule matching results.
[0053] In one feasible implementation, determining at least one target user ad matching rule from the user rule engine library based on the DOM ad parsing result and the ad image recognition result includes:
[0054] Based on the DOM ad parsing results and the ad image recognition results, potential ad promotion patterns and potential ad locations are determined;
[0055] Based on the potential advertising promotion mode and the potential advertising position, at least one target user advertising matching rule is matched from the user rule engine library.
[0056] Thirdly, this specification provides a computer storage medium storing at least one instruction adapted for loading by a processor and executing method steps of one or more embodiments of this specification.
[0057] Fourthly, this specification provides a computer program product storing at least one instruction adapted to be loaded by a processor and to execute the method steps of one or more embodiments of this specification.
[0058] Fifthly, this specification provides an electronic device that may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to execute the method steps of one or more embodiments of this specification.
[0059] The beneficial effects of the technical solutions provided in some embodiments of this specification include at least the following:
[0060] In one or more embodiments of this specification, the electronic device monitors user browsing page data on a browser, performs DOM parsing based on the user browsing page data using a multimodal advertising recognition mechanism to obtain DOM advertising parsing results, performs image recognition on the DOM advertising parsing results and user browsing page data to obtain advertising image recognition results, and performs user advertising rule matching on the user browsing page data to obtain advertising rule matching results, obtains browsing advertising recognition results based on the DOM advertising parsing results, advertising image recognition results, and advertising rule matching results, and performs advertising content filtering processing on the user browsing page data based on the browsing advertising recognition results. This enables accurate identification and efficient filtering of advertisements on user browsing pages, improving the intelligence and personalization of advertising processing. The flexible application of multimodal advertising recognition combined with user-defined rules ensures that the system can adapt to the diversity of advertising formats and changes in user needs, ultimately providing users with a clean and personalized browsing environment, enhancing user experience, and improving the efficiency and accuracy of ad blocking. Attached Figure Description
[0061] To more clearly illustrate the technical solutions in this specification or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0062] Figure 1 This is a schematic diagram of a scenario for an advertising processing system provided in this manual;
[0063] Figure 2 This is a flowchart illustrating an advertising processing method provided in this manual;
[0064] Figure 3 This is a flowchart illustrating a DOM parsing process provided in this manual;
[0065] Figure 4 This is a flowchart illustrating an advertisement recognition process provided in this manual;
[0066] Figure 5 This is a flowchart illustrating an advertising visual recognition process provided in this manual;
[0067] Figure 6 This is a flowchart illustrating an advertising rule matching process provided in this manual;
[0068] Figure 7 This is a schematic diagram of the structure of an advertising processing device provided in this specification;
[0069] Figure 8 This is a schematic diagram of the structure of an electronic device provided in this specification. Detailed Implementation
[0070] The technical solutions in this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this specification.
[0071] In the description of this specification, it should be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. In the description of this specification, it should be noted that, unless otherwise expressly specified and limited, "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices. Those skilled in the art can understand the specific meaning of the above terms in this specification based on the specific circumstances. Furthermore, in the description of this specification, unless otherwise stated, "multiple" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.
[0072] The present specification will now be described in detail with reference to specific embodiments.
[0073] Please see Figure 1 This is a schematic diagram of an advertising processing system provided in this specification. Figure 1 As shown, the advertising processing system may include at least a client cluster and a service platform 100.
[0074] The client cluster may include at least one client, such as Figure 1 As shown, it specifically includes client 1 corresponding to user 1, client 2 corresponding to user 2, ..., client n corresponding to user n, where n is an integer greater than 0.
[0075] Each client in a client cluster can be an electronic device with communication capabilities, including but not limited to: wearable devices, handheld devices, personal computers, tablets, in-vehicle devices, smartphones, computing devices, or other processing devices connected to a wireless modem. Electronic devices may have different names in different networks, such as: user equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, electronic device, wireless communication device, user agent or user device, cellular phone, cordless phone, personal digital assistant (PDA), and electronic devices in 5G networks or future evolved networks.
[0076] The service platform 100 can be a standalone server device, such as a rack-mount, blade, tower, or cabinet-type server device, or a workstation, mainframe, or other hardware device with strong computing power; or it can be a server cluster composed of multiple servers. The servers in the service cluster can be composed in a symmetrical manner, wherein each server is functionally and hierarchically equivalent in the transaction chain, and each server can provide services independently. The independent provision of services can be understood as not requiring the assistance of other servers.
[0077] In one or more embodiments of this specification, the service platform 100 may establish a communication connection with at least one client in the client cluster, and complete the data interaction during the advertising processing process based on the communication connection, such as online transaction data interaction. For example, the service platform 100 may recommend content to the client based on the target neural network model obtained by the advertising processing method of this specification; or the service platform 100 may obtain training data from the client, such as the first training data.
[0078] It should be noted that the service platform 100 establishes a communication connection with at least one client in the client cluster via a network for interactive communication. This network can be a wireless network or a wired network. Wireless networks include, but are not limited to, cellular networks, wireless LANs, infrared networks, or Bluetooth networks. Wired networks include, but are not limited to, Ethernet, universal serial bus (USB), or controller area networks. In one or more embodiments of the specification, technologies and / or formats including Hyper Text Markup Language (HTML), Extensible Markup Language (XML), etc., are used to represent data exchanged over the network (such as target compressed packets). Furthermore, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), and Internet Protocol Security (IPsec) can be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies can be used to replace or supplement the aforementioned data communication technologies.
[0079] The advertising processing system embodiments provided in this specification and the advertising processing methods described in one or more embodiments belong to the same concept. The executing entity corresponding to the advertising processing methods involved in one or more embodiments of this specification can be an electronic device, which can be the aforementioned service platform 100; it can also be a client, depending on the actual application environment. The implementation process of the advertising processing system embodiments can be detailed in the following method embodiments, and will not be repeated here.
[0080] based on Figure 1 The following is a detailed description of the advertising processing method provided by one or more embodiments of this specification, illustrated in the scenario diagram.
[0081] Please see Figure 2 This specification provides a flowchart illustrating an advertising processing method according to one or more embodiments. This method can be implemented using a computer program and can run on an advertising processing device based on the von Neumann architecture. The computer program can be integrated into an application or run as a standalone utility application. The advertising processing device can be an electronic device.
[0082] Specifically, the advertising processing method includes:
[0083] S102: Monitor user page browsing data on the browser;
[0084] User browsing data: This includes all data generated by users during the browsing process of web pages, such as web page content, page structure, advertising elements, images, text, user interactions (such as clicks, scrolling), etc.
[0085] Electronic devices' systems monitor user activity in their browsers. The system collects the content of web pages visited by the user, including the page's HTML structure, loaded image resources, advertising elements, and interactive elements on the page (such as buttons and links). This data provides raw information for subsequent ad recognition and processing.
[0086] Example: Suppose a user visits an e-commerce website. The system will monitor the website's advertising elements (such as banner ads or recommended ads) and the user's interactions with the page (such as clicking ads, scrolling the page, etc.). This information will provide the necessary context for subsequent ad recognition processing.
[0087] S104: Based on the user browsing page data, a multimodal advertising recognition mechanism is used to perform DOM parsing to obtain DOM advertising parsing results; image recognition is performed on the DOM advertising parsing results and the user browsing page data to obtain advertising image recognition results; and user advertising rule matching is performed on the user browsing page data to obtain advertising rule matching results.
[0088] Multimodal ad recognition mechanism: This refers to a mechanism that uses multiple input types (such as structured data, images, text, etc.) to identify ads. A multimodal mechanism can simultaneously utilize DOM structure data (HTML tags, class names, IDs, etc.), image data (ad images, videos, etc.), and user-defined rules to detect ads in web page content.
[0089] DOM (Document Object Model) parsing is a part of the multimodal advertising recognition mechanism. It refers to parsing the DOM (Document Object Model) structure of a webpage and then parsing the advertisements to obtain the DOM advertisement parsing results.
[0090] Optionally, the DOM ad parsing results may include: ad type (e.g., banner ad, pop-up ad, video ad, etc.), ad location information (e.g., ad located at the top, bottom, or sidebar of the page), ad size (e.g., width, height, etc.), and ad tags (e.g., ...). , wait).
[0091] Image recognition, a component of multimodal advertising recognition mechanisms, refers to the use of computer vision technology to analyze image content (such as advertising images) on web pages to identify advertisements. Common computer vision techniques include deep learning models such as convolutional neural networks (CNNs).
[0092] User-defined ad rule matching is a part of the multimodal ad recognition mechanism. It refers to matching page data according to user-defined ad rules (such as ad size, ad type, ad content, regular expression matching, CSS selectors, etc.) to filter out ads that meet the conditions.
[0093] In one feasible implementation, the system parses the entire HTML structure of the webpage and all DOM elements on the page from the user's browsing data using a multimodal ad recognition mechanism. The browser's parsing engine then converts the HTML structure and DOM elements into a DOM tree. A DOM tree is a webpage object model organized in a tree structure, where each node represents an element or text within the webpage. By analyzing the DOM tree, ad-related features are extracted from the webpage. These features may include: Ad position: the location of the ad element within the webpage (e.g., top, bottom, sidebar, etc.); Ad size: the width and height of the ad element, which may be determined by CSS styles or the element's natural size; Ad tag type: such as... 、 、 <iframe>Ad elements typically use specific tags and styles to display. Ad identifiers include class names, IDs, and attributes (such as src, href). Sometimes, ads have specific class names or IDs to identify ad elements (e.g., class="ad-banner"). Further, ad element features are analyzed to identify potential ad elements, and DOM ad parsing results are generated based on these potential ad elements.
[0094] Furthermore, the system can combine the DOM ad parsing results with the ad images on the page or directly perform image recognition processing based on the ad images on the page through a multimodal ad recognition mechanism. Specifically, it extracts the visual features of the ad images, such as color, shape, size, and text information, through an ad image recognition model (such as an ad image recognition model trained based on a machine learning model). Based on the visual features of the ad images, it detects which image regions belong to the ads, thereby obtaining the ad image recognition results.
[0095] Furthermore, the system uses a multimodal advertising recognition mechanism to match and filter ads based on the user's custom advertising rules. For example, a user may define rules to block "all banner ads" or "all ads containing the word 'discount'". The system will match the user's page browsing data with these user-defined advertising rules to obtain the advertising rule matching results;
[0096] For example, suppose a user visits a news website on a browser. The system first parses the DOM structure of the webpage using a multimodal advertising recognition mechanism to obtain the DOM advertising parsing result. If the DOM advertising parsing result finds an advertising banner on the page (located at the top of the page), then image recognition is performed to obtain the advertising image recognition result. The advertising image recognition result may be the result of analyzing whether the banner image contains specific advertising copy (such as "special offer"). Finally, the user-defined rules are used to perform rule matching on the user's browsing page data to obtain the advertising rule matching result. If the advertising rule matching result finds that the rule requires "blocking advertisements containing discounts".
[0097] S106: Based on the DOM ad parsing result, the ad image recognition result and the ad rule matching result, a browsing ad recognition result is obtained, and the user browsing page data is filtered for ad content based on the browsing ad recognition result.
[0098] Browsing Ad Recognition Results: This refers to the final ad recognition conclusion obtained by comprehensively analyzing the DOM ad parsing results, ad image recognition results, and ad rule matching results. This result indicates whether there are ads on the page and determines information such as the type and location of the ads.
[0099] Ad content filtering: refers to the process of blocking or hiding ads based on ad identification results to prevent ads from interfering with the user's browsing experience. Filtering may include completely removing ad elements or simply hiding ad content.
[0100] Illustratively, the results obtained from the three steps of DOM parsing, image recognition, and user ad rule matching are combined to form the final ad recognition conclusion as the browsing ad recognition result. The system determines whether the page contains an ad, the location of the ad, and the type of ad (such as banner ad, video ad, etc.) based on the DOM ad parsing result, the ad image recognition result, and the ad rule matching result, thereby obtaining the browsing ad recognition result; then, based on the browsing ad recognition result, when it is determined that an ad exists, the ad content is filtered according to the ad content blocking rules. For example, if the ad is confirmed to be a banner ad and meets the user's ad blocking rules, the system will choose to hide or delete the ad element to prevent it from affecting the user's browsing experience. The filtering method of the ad content blocking rules can be adjusted according to the ad type and the filtering rules set by the user. For example, some ads may be completely removed, while some ads may only be hidden.
[0101] In one or more embodiments of this specification, the electronic device monitors user browsing page data on a browser, performs DOM parsing based on the user browsing page data using a multimodal advertising recognition mechanism to obtain DOM advertising parsing results, performs image recognition on the DOM advertising parsing results and user browsing page data to obtain advertising image recognition results, and performs user advertising rule matching on the user browsing page data to obtain advertising rule matching results, obtains browsing advertising recognition results based on the DOM advertising parsing results, advertising image recognition results, and advertising rule matching results, and performs advertising content filtering processing on the user browsing page data based on the browsing advertising recognition results. This enables accurate identification and efficient filtering of advertisements on user browsing pages, improving the intelligence and personalization of advertising processing. The flexible application of multimodal advertising recognition combined with user-defined rules ensures that the system can adapt to the diversity of advertising formats and changes in user needs, ultimately providing users with a clean and personalized browsing environment, enhancing user experience, and improving the efficiency and accuracy of advertising interception.
[0102] Optionally, referring to FIG. 3, FIG. 3 is a schematic flowchart of DOM parsing processing proposed in this specification. Specifically, the DOM parsing based on the user browsing page data using the multimodal advertisement recognition mechanism to obtain a DOM advertisement parsing result may be performed with reference to the following manners:
[0103] S202: Perform DOM structure parsing on the user browsing page data to obtain DOM tree information;
[0104] DOM structure parsing: refers to converting an HTML document or webpage content in the user browsing page data into a tree structure (DOM tree), and extracting information of each element in a page by parsing tags, attributes, and text content in the webpage. DOM (Document Object Model) is a structured representation of a webpage, which allows a developer to dynamically modify, access, and operate webpage content through a programming language (such as JavaScript).
[0105] DOM tree information: the DOM tree is a tree structure of a webpage, and each node represents a part in the webpage. Each element (such as , , , etc.) is represented as a node in the DOM tree.
[0106] S204: Perform user page interaction behavior recognition on the user browsing page data based on the DOM tree information to obtain a user DOM tree interaction feature;
[0107] User page interaction behavior: refers to an interaction behavior between a user and webpage content, such as clicking, swiping, scrolling a page, hovering, etc. The user page interaction behavior can reveal the user's attention or interest in the page content.
[0108] User DOM tree interaction feature: by analyzing the interaction between the user and a DOM element in the webpage (for example, which advertisement is clicked, time staying in an advertisement area, etc.), the system may extract a specific interaction feature. The user DOM tree interaction feature may help determine whether an advertisement is attractive, or whether it will interfere with the user's normal browsing experience.
[0109] Illustratively, user interaction features related to DOM tree information are extracted through user browsing behavior (e.g., clicking on advertisements, scrolling pages, mouse hovering, etc.) in user page browsing data, including but not limited to:
[0110] Click Behavior: When a user clicks on an element, the system records the element's tag, ID, class name, and other information. If the click occurs within the advertising area, it indicates that the user is interested in the advertisement. The system can identify user interaction with the advertisement through click events; Dwell Time: If a user lingers in an area, especially the advertising area, for a long time, it also indicates that the advertisement may have attracted the user's attention. The system estimates the user's dwell time in the advertising area by listening to the user's mouse movement and page scrolling; Scrolling and Hovering: When a user scrolls the page, if the advertisement appears in the visible area of the page and the user stays in that area for a certain period of time, the system will also record it as user interaction with the advertisement.
[0111] Furthermore, the system associates the captured user interaction behavior with DOM ad elements in the DOM tree to obtain user interaction and ad features. For example, by combining the position information, size, and display method of the ad elements, the system determines the intensity of interaction between the user and the ad elements. Then, based on the user interaction and ad features, the system performs feature parsing to obtain user DOM tree interaction features. This process judges the effectiveness of the ad and the user's attention to the ad. If the interaction features in the ad area are strong (e.g., frequent clicks, long dwell time), then the ad may be an ad that attracts users, and the system can provide valuable information for subsequent ad identification and filtering.
[0112] The above method enables the analysis of user interaction behavior based on DOM tree information, and the extraction of features related to advertisements. These user DOM tree interaction features provide strong data support for subsequent advertisement identification and analysis, helping the system to intelligently determine which advertisements are highly attractive to users and further optimize the advertisement identification process. This process effectively improves the accuracy of advertisement identification and helps the system better understand the interactive relationship between advertisements and users.
[0113] S206: Based on the user DOM tree interaction features and the DOM tree information, the DOM advertisement parsing result is obtained by advertising recognition.
[0114] Ad recognition: This refers to identifying potentially advertising parts of a webpage by analyzing user DOM tree interaction features and the DOM tree information. This ad recognition process typically combines multiple data sources (such as DOM element type, location, user behavior, etc.) for comprehensive judgment.
[0115] DOM Ad Parsing Results: The final output of DOM ad recognition includes ad type, location, size and other feature information to assist subsequent ad processing (such as filtering, optimization, etc.).
[0116] Illustratively, the association parsing result is obtained by combining the user's DOM tree interaction features and the DOM tree information. The user's interaction behavior can help determine which advertising elements the user is interested in, while the DOM tree information provides structured data of the advertisements, such as the advertisement's tags, styles, nesting relationships, etc. Furthermore, based on the association parsing result, advertisement identification, such as advertisement type identification, advertisement position and size identification, is performed to generate DOM advertisement parsing results.
[0117] Ad type identification: By analyzing element features in the DOM tree information (such as...) ,<iframe> , The type of advertisement is determined by combining tag types (such as labels) with user behavior characteristics. For example, banner ads typically use... Tags, video ads may contain<video> Tags and pop-up ads may be embedded in<iframe> middle.
[0118] Ad placement and size identification: By analyzing the element position and size attributes in the DOM tree information, the system can identify the position of the ad on the page (such as top, bottom, sidebar, etc.) and determine the size of the ad (such as width, height, etc.).
[0119] In this specification, through steps S202-S206, relevant features of advertisements can be extracted from user browsing page data. DOM parsing helps extract webpage structure information, user behavior analysis reveals the degree of user interest in advertisements through interaction features, and the final advertisement recognition result combines these information to form an accurate identification of advertisements, providing strong data support for subsequent advertisement filtering and optimization, and ensuring that advertisement processing is more intelligent and personalized.
[0120] Optionally, please refer to Figure 4. Figure 4 is a schematic flowchart of advertisement identification proposed in this specification. The step of performing advertisement identification based on the user DOM tree interaction features and the DOM tree information to obtain a DOM advertisement parsing result may refer to the following manner:
[0121] S302: Determine DOM page element information based on the DOM tree information, and perform advertisement element feature identification based on the DOM page element information to obtain a static element advertisement detection result;
[0122] DOM page element information: refers to detailed information of each page element obtained by parsing the DOM tree, such as tag type (, , , etc.), CSS attributes, positioning, and the like.
[0123] Advertisement element feature identification: refers to identifying possible advertisement elements in the page by analyzing visual features, positions, sizes, etc. of advertisements based on the information of DOM page elements.
[0124] Static element advertisement detection result: refers to a detection result of static advertisement elements in the page (such as image advertisements, banner advertisements, text advertisements, etc.). These advertisement elements are usually fixed in position and do not change with user interaction.
[0125] Illustratively, the system first parses the DOM tree information to determine all DOM page element information in the page, where the DOM page element information may include advertisement elements (such as banner advertisements, image advertisements, etc.). Then, advertisement element feature identification processing (such as element type, size, positioning, background color, advertisement identifier, etc.) is performed according to the DOM page element information to determine which elements may be advertisements, thereby obtaining a static element advertisement detection result.
[0126] S304: Based on the user DOM tree interaction features and the DOM tree information, perform interaction area sentiment evaluation to obtain the predicted user interaction sentiment state of multiple user interaction areas, and perform area advertisement recognition based on the predicted user interaction sentiment state of the user interaction areas to obtain dynamic interactive advertisement detection results.
[0127] User DOM tree interaction features: These refer to the behavioral characteristics of users interacting with DOM elements in a webpage, such as clicks, dwell time, and hovering. These features help identify the user's level of attention to advertising content.
[0128] Interactive area emotion assessment: refers to analyzing user emotions (such as anxiety, interest, etc.) based on the user's interaction behavior with advertising elements. For example, staying in the advertising area for a long time may indicate that the user is interested in the advertisement, while quickly skipping the advertisement may indicate aversion.
[0129] Predicting user interaction emotional state: By analyzing user behavior data, predict the user's emotional state in the advertising area, such as whether they are interested in or averse to the advertisement.
[0130] Regional advertising identification: Based on user sentiment assessment and interaction data, determine which regions contain advertisements, especially dynamic advertisements (such as video advertisements, pop-up advertisements, etc.).
[0131] Illustratively, user emotion recognition prompts are constructed based on user DOM tree interaction features and DOM tree information. The user DOM tree interaction features, DOM tree information, and user emotion recognition prompts are input into the target large language model (LLM). The user emotion recognition prompts instruct the target large language model to associate user behavior patterns with emotional reactions (such as anxiety, interest, boredom, etc.). The user's interaction behavior with multiple user interaction areas (such as clicking on advertisements, dwell time, etc.) is analyzed to predict the user's emotional state. Based on the predicted user interaction emotional state of the user interaction area, regional advertisement recognition is performed. The target large language model (LLM) outputs dynamic interactive advertisement detection results. Optionally, the results include advertisement type, user emotion, and advertisement effect.
[0132] Optionally, the target large language model (LLM) includes, but is not limited to, the GPT series of large models, the Wenxin Yiyan series of large models, the Tongyi Qianwen series of large models, the DeepSeek series of large models, etc.
[0133] S306: Determine DOM ad page features based on the DOM page elements, the user DOM tree interaction features and the DOM tree information, and determine DOM ad detection results based on the static element ad detection results and the dynamic interactive ad detection results;
[0134] DOM ad page features: refers to the ad features derived from a combination of DOM page elements, user interaction features, and page structure information. For example, the ad's location, type, and user interaction behavior.
[0135] As an illustration, the system combines DOM page element information, user DOM tree interaction features, and the DOM tree information to obtain DOM advertising page features. DOM advertising page features include the type of advertisement (banner advertisement, video advertisement, etc.), location, size, advertisement content, user interaction behavior, etc.
[0136] As an illustration, the system integrates the detection results of static and dynamic advertisements and generates DOM advertisement detection results, including the type, location, size, and user behavior of the advertisement.
[0137] S308: Obtain DOM ad parsing results based on the DOM ad page features and the DOM ad detection results.
[0138] Illustratively, the system combines the DOM ad page features and DOM ad detection results to obtain the final DOM ad parsing result.
[0139] In this specification, through steps S302-S308, DOM tree information, user interaction features, and ad detection results can be comprehensively used to identify and parse ads in web pages. This involves the identification of static elements and dynamic interactive ads, combining user sentiment and behavioral data to accurately identify ad features such as location, type, and size. The final generated DOM ad parsing results provide detailed data support for ad filtering, analysis, and optimization, ensuring the accuracy and personalization of ad identification.
[0140] Optionally, specifically performing image recognition on the DOM advertisement parsing result and the user browsing page data to obtain the advertisement image recognition result includes:
[0141] The DOM ad parsing results and the user browsing page data are processed by an ad detection big data model to obtain ad image recognition results.
[0142] Advertisement detection large model: refers to a large model obtained by performing scenario adaptation training on a trained large language model (LLM) in the advertisement detection scenario, which can process tasks such as image recognition, feature extraction, and advertisement classification. In this step, the advertisement detection large model is used to visually identify advertisement elements in the web page.
[0143] Advertisement image recognition result: an advertisement visual feature recognition result obtained through processing by the advertisement detection large model, including the type of the advertisement, visual content, advertisement area, and whether it is an advertisement, etc.
[0144] In a feasible implementation manner, please refer to Figure 5. Figure 5 is a schematic flowchart of advertisement visual recognition provided by this specification. Specifically, performing advertisement visual recognition processing on the DOM advertisement parsing result and the user browsing page data by using the advertisement detection large model to obtain an advertisement image recognition result may refer to the following manner:
[0145] S402: input the DOM advertisement parsing result and the user browsing page data into the advertisement detection large model;
[0146] S404: perform feature encoding on the DOM advertisement parsing result by the advertisement detection large model to obtain a page DOM modality feature, perform visual parsing on the user browsing page data to obtain a page image modality feature, and perform cross-modal attention processing on the page DOM modality feature and the page image modality feature to obtain a multimodal page feature;
[0147] Feature encoding: refers to converting input data into a high-dimensional feature representation through an encoding network of the advertisement detection large model. For DOM tree information, the system controls the advertisement detection large model to convert tags, positions, element attributes, etc. into feature vectors; for image data, the system controls the advertisement detection large model to extract visual features of the image.
[0148] DOM modality feature: refers to a feature extracted from DOM tree information, which usually includes structured data such as the position, size, type, and tag of an advertisement.
[0149] Image modal features: refers to the advertising image features extracted through the encoding network of the advertising detection big model, such as color, shape, text content, image content, etc.
[0150] Cross-modal attention processing: Cross-modal learning techniques (such as multimodal Transformer) are used to fuse features from different data modalities (such as DOM trees and images) to find the correlations between them. This helps the large ad detection model to fully understand the content of the ad and improve the accuracy of ad recognition.
[0151] Illustratively, the DOM ad parsing results are feature-encoded using the encoding network of the ad detection big data model to obtain page DOM modal features, and visual features of ad images are extracted from user browsing page data as page image modal features, including image color, edges, shape, text content, etc. Furthermore, through the cross-modal attention mechanism of the ad detection big data model, the features extracted from the DOM modal features and image modal features are fused. By calculating the similarity and correlation between the two modal features, feature fusion is performed to obtain multimodal page features, enabling the subsequent model to better understand the context and content of the ads.
[0152] S406: Based on the multimodal page features, perform potential advertising content prediction to obtain potential advertising element context information and potential advertising display context information, and perform advertising content recognition based on the advertising element context information and potential advertising display context information to obtain advertising image recognition results.
[0153] Multimodal page features: refers to features extracted and fused from multiple modalities (such as DOM tree structure information, image data, etc.). Multimodal page features integrate web page structure, image content and user behavior information.
[0154] Potential advertising element context information: refers to the environmental information surrounding the advertising element identified on the page, such as the location of the advertisement, the category of the advertisement, and the interaction pattern between the user and the advertising element. Potential advertising element context information helps the model determine whether the advertisement has truly attracted the user.
[0155] Potential advertising display context information: refers to the display context of advertising elements, such as the timing of the advertisement display (e.g., whether it is a pop-up advertisement) and the display method of the advertisement (e.g., video advertisement, banner advertisement, etc.).
[0156] Ad content recognition: refers to the large model of ad detection recognizing the actual content of the ad, determining the type of ad (such as banner ad, pop-up ad, video ad, etc.), and further analyzing the specific content of the ad (such as promotion, product ad, etc.).
[0157] Schematic, the large-scale ad detection model is based on multimodal page features (i.e., fused DOM tree information and image features), integrating multiple data modalities (such as DOM tree information, ad image features, user behavior information, etc.) for comprehensive analysis. During the analysis process, multimodal features provide a complete view of ad elements, thereby helping to predict potential ad content on the page. Based on user interaction features and DOM structure information, the large-scale ad detection model further obtains contextual information of potential ad elements. For example, the location of the ad (such as the top, bottom, or sidebar of the page) may affect the visibility and interactivity of the ad. The large-scale ad detection model will consider the size of the ad, whether the ad is embedded in other elements (such as...<iframe> The context of potential ad elements, including the way the ad is displayed (e.g., whether it is a video ad or a banner ad), helps determine the context in which the ad is displayed, thus influencing ad identification and classification.
[0158] In addition, the large-scale model for controlling ad detection, on the other hand, combines multimodal page features to perform multi-dimensional display context prediction, including but not limited to fitting one or more of the following dimensions:
[0159] Ad Display Timing Prediction: Ad display timing refers to the time when an ad is displayed after the page loads or after a user action (such as clicking, scrolling, etc.). The large-scale ad detection control model predicts the timing of ad appearance based on the page loading order, user behavior patterns (such as clicking a product or scrolling the page), and the type of ad. Example: If the ad is a pop-up ad, the large-scale ad detection control model will analyze the ** on the page.<iframe> The `display:none` style of tags and ads determines when an ad will appear on the user interface. Predicting when an ad will appear helps determine whether it will disrupt the user's browsing experience or whether it will be dynamically displayed after a user action (such as scrolling to a certain part of the page before showing the ad).
[0160] Ad Display Method Prediction: Ad display method refers to whether the ad is displayed as a static image, video, or dynamic element. Based on DOM tree information and image features, the large-scale ad detection model can identify the ad type and predict the ad display method. Example: If the ad element contains...<video> By identifying tags and extracting video content through image recognition, it can be predicted that this is a video advertisement.If the ad element is If the image contains the tags and the words "offer" or "discount," the system can predict that it is a promotional banner ad.
[0161] Ad Display Area Prediction: The ad display area refers to the location where the ad is displayed, such as the top, bottom, or sidebar of the page. Based on DOM tree information, the large ad detection model can predict the ad display area. Example: If the ad is located at the top of the page and its size is 800x150px, it can be predicted that the ad is a banner ad. If the ad is located at the bottom of the page and contains...<iframe> The tag could be a pop-up ad or a video ad.
[0162] Context and Behavior Prediction of Ad Display: By analyzing the context of ad display (such as whether the ad is displayed after a user visits a page, or whether the ad is accompanied by specific content such as promotional activities), the large-scale ad detection model can predict the scenario of ad display. For example, ads on e-commerce pages are usually product recommendation ads, while ads on news websites may be ads related to news content. Example: If a user visits a product page and browses some products, the large-scale ad detection model infers based on these behaviors that ads may be displayed that are related to these products.
[0163] Furthermore, by comprehensively predicting the timing of ad display, the display method, the display area, and the behavior, potential ad display context information is generated through the ad detection big model.
[0164] In one feasible implementation, for a large-scale advertising detection model, the following approach can also be adopted:
[0165] Collect the historical ad image recognition results and historical browsing ad recognition results in each round of ad processing, and adjust the model parameters of the ad detection big model based on the historical ad image recognition results and historical browsing ad recognition results.
[0166] Historical advertising image recognition results: refers to the results of advertising images recognized by the advertising detection big model in each advertising processing process.
[0167] Historical browsing ad recognition results: refers to the historical ad recognition results obtained by integrating the DOM ad parsing results, ad image recognition results and ad rule matching results of previous multimodal ad recognition mechanisms.
[0168] Model parameter adjustment: The parameters of the large-scale advertising detection model are dynamically optimized based on the historical advertising image recognition results and the historical browsing advertising recognition results to improve the accuracy and generalization ability of the model.
[0169] As an illustration, the model loss is calculated using a preset model loss calculation formula based on the historical advertisement image recognition results and the historical browsed advertisement recognition results. The model loss is then used to adjust the model parameters of the large advertisement detection model.
[0170] The preset model loss calculation formulas include, but are not limited to, the hinge loss calculation formula, the Euclidean distance loss calculation formula, the contrast loss calculation formula, the cross-entropy loss calculation formula, etc.;
[0171] Understandably, by collecting historical advertising image recognition results and browsing advertising recognition results, and using this data to adjust the parameters of the large-scale advertising detection model, the system can achieve dynamic optimization based on actual feedback. This method not only improves the accuracy and adaptability of the advertising recognition model, but also enhances the intelligence level of advertising content recognition through a continuous learning process, making advertising recognition more accurate and personalized.
[0172] In this specification, through methods S402-S406, the DOM ad parsing results and user browsing page data can be integrated to perform deep ad image recognition using a large ad detection model. The fusion of multimodal features and cross-modal analysis not only improves the accuracy of ad recognition but also intelligently predicts the ad display context based on the ad's display timing, method, region, and user interaction behavior, thereby achieving accurate ad content recognition. This provides precise support for ad filtering, optimization, and user experience improvement, ensuring that ad recognition and display are more intelligent and personalized.
[0173] Optionally, referring to FIG. 6, FIG. 6 is a schematic flowchart of advertisement rule matching proposed in this specification. The user advertisement rule matching performed on the user browsing page data to obtain an advertisement rule matching result may be implemented with reference to the following manner:
[0174] S502: determining at least one target user advertisement matching rule from a user rule engine library based on the DOM advertisement parsing result and the advertisement image recognition result;
[0175] User rule engine library: a database or rule set storing advertisement matching rules customized by a browser user. The browser user may configure a rule according to their own requirements, such as an advertisement type, a position, a display frequency, etc. The browser user may be understood as all or part of users using the browser, and is not limited to a user of a current browser;
[0176] Target user advertisement matching rule: refers to a rule selected from the user rule engine library and applicable to a current advertisement. These rules define whether the advertisement meets the user's requirements, such as a display position of the advertisement, a size of the advertisement, a text of advertisement content, etc.
[0177] In an optional implementation manner, key information of the advertisement is obtained through the DOM advertisement parsing result and the advertisement image recognition result, such as an advertisement type, an advertisement position, advertisement content, and a visual feature of the advertisement. A rule matching the current key information is searched from the user rule engine library according to the obtained key information. The rule engine library includes a plurality of user-defined rules, and the system automatically filters the target user advertisement matching rule meeting conditions according to the key information (such as a position, a type, a size, etc.).
[0178] Optionally, the step of determining at least one target user ad matching rule from the user rule engine library based on the DOM ad parsing result and the ad image recognition result can be carried out in the following manner:
[0179] Step S2: Determine potential advertising promotion patterns and potential advertising locations based on the DOM advertising parsing results and the advertising image recognition results;
[0180] Potential advertising promotion patterns: refers to the promotional forms or types that advertisements may adopt, such as banner ads, video ads, pop-up ads, etc. The model will predict potential promotion patterns based on the type, structure, and display method of the advertisement.
[0181] Potential ad location: refers to the location where an ad may appear on the page, such as the top, bottom, sidebar, etc. The model can predict the ad display location by using DOM parsing results and ad image features.
[0182] Illustratively, the DOM ad parsing results (such as the ad's structural information, tags, location, etc.) and ad image recognition results (such as the ad's image content, text information, color, etc.) are input into the rule filtering big model. The rule filtering big model refers to a rule filtering big model obtained after adapting the rule filtering scenario based on the basic big model (LLM), which is used to filter out potentially applicable ad rules based on the ad's visual and structural features. This rule filtering big model can automatically predict the ad's potential ad promotion mode and potential ad location from the DOM ad parsing results and ad image recognition results.
[0183] Step S4: Match at least one target user ad matching rule from the user rule engine library based on the potential ad promotion mode and the potential ad position.
[0184] Illustratively, the system compares potential advertising promotion patterns and potential advertising locations with rules in the user rule engine library. The user rule library contains rules for various advertising types, display locations, etc., and the system matches the most suitable rule based on the characteristics of the advertisement (such as banner ads, video ads, top positions, etc.). Based on the potential advertising promotion patterns and potential advertising locations, the system selects a target user advertising matching rule that meets the conditions from the rule engine library. For example, if the advertisement is identified as a "banner ad" and is located "at the top of the page," the system may select a rule for "banner ads at the top of the page." Using this target user advertising matching rule, the system performs rule matching to determine whether to display, block, or optimize the advertisement, or to perform other operations on the advertisement.
[0185] S504: Perform user-advertisement rule matching on the user browsing page data using the target user advertisement matching rule to obtain an advertisement rule matching result.
[0186] Advertisement rule matching result: It is an output result of the system based on a user advertisement rule matching process, generally refers to whether the advertisement meets rule conditions defined by the user, and may include detailed information about rule matching, such as matched advertisement type, position, size, etc.
[0187] Illustratively, matching and screening are performed according to the target user advertisement matching rule through a multimodal advertisement recognition mechanism. For example, the user may define a rule to require interception of "all banner advertisements" or "all advertisements containing the word 'discount'". The system will match the user browsing page data with these user-defined advertisement rules, so as to obtain the advertisement rule matching result.
[0188] In this specification, through the methods of S502-S504, the system can screen, from a user-defined advertisement rule library, a rule matched with a current advertisement based on a DOM advertisement parsing result and an advertisement image recognition result, and match and process the advertisement according to these rules. This makes advertisement processing more intelligent and personalized, can accurately identify an advertisement type concerned by the user, and perform advertisement interception or optimization, thereby improving the user's browsing experience.
[0189] An advertisement processing apparatus provided in this specification will be described in detail below with reference to FIG. 7.It should be noted that the advertisement processing apparatus shown in Figure 7 is configured to execute the methods of the embodiments shown in Figures 1 to 6 described in this specification. For ease of description, only parts related to this specification are shown. For specific technical details not disclosed, please refer to the embodiments shown in Figures 1 to 6 in this specification.
[0190] Referring to Figure 7, it shows a structural schematic diagram of the advertisement processing apparatus in this specification. The advertisement processing apparatus 1 may be implemented as all or part of a device through software, hardware, or a combination thereof.According to some embodiments, the advertising processing device 1 includes a data monitoring module 11, an advertising identification module 12, and an advertising filtering module 13, specifically used for:
[0191] The data monitoring module 11 is used to monitor user browsing page data on the browser;
[0192] The advertising recognition module 12 is used to perform DOM parsing based on the user browsing page data using a multimodal advertising recognition mechanism to obtain DOM advertising parsing results, perform image recognition on the DOM advertising parsing results and the user browsing page data to obtain advertising image recognition results, and perform user advertising rule matching on the user browsing page data to obtain advertising rule matching results.
[0193] The ad filtering module 13 is used to obtain the browsing ad recognition result based on the DOM ad parsing result, the ad image recognition result and the ad rule matching result, and to perform ad content filtering processing on the user browsing page data based on the browsing ad recognition result.
[0194] In one feasible implementation, the step of obtaining DOM ad parsing results by using a multimodal ad recognition mechanism based on the user's browsing page data includes:
[0195] Perform DOM structure parsing on the user-browsed page data to obtain DOM tree information;
[0196] Based on the DOM tree information, user page interaction behavior is identified from the user's browsing page data to obtain user DOM tree interaction features;
[0197] Based on the user DOM tree interaction features and the DOM tree information, the DOM advertisement parsing result is obtained by advertisement recognition.
[0198] In one feasible implementation, the step of obtaining DOM ad parsing results by ad recognition based on the user DOM tree interaction features and the DOM tree information includes:
[0199] Based on the DOM tree information, determine the DOM page element information, and based on the DOM page element information, perform advertising element feature recognition to obtain static element advertising detection results;
[0200] Based on the user DOM tree interaction features and the DOM tree information, the interaction area sentiment evaluation is performed to obtain the predicted user interaction sentiment state of multiple user interaction areas. Based on the predicted user interaction sentiment state of the user interaction areas, the area advertisement recognition is performed to obtain the dynamic interactive advertisement detection result.
[0201] The DOM ad page features are determined based on the DOM page elements, the user DOM tree interaction features and the DOM tree information, and the DOM ad detection results are determined based on the static element ad detection results and the dynamic interactive ad detection results;
[0202] The DOM ad parsing result is obtained based on the DOM ad page features and the DOM ad detection result.
[0203] In one feasible implementation, the step of performing image recognition on the DOM advertisement parsing result and the user browsing page data to obtain the advertisement image recognition result includes:
[0204] The DOM ad parsing results and the user browsing page data are processed by an ad detection big data model to obtain ad image recognition results.
[0205] In one feasible implementation, the step of using an ad detection big data model to perform ad visual recognition processing on the DOM ad parsing results and the user browsing page data to obtain ad image recognition results includes:
[0206] Input the DOM ad parsing results and the user browsing page data into the ad detection model;
[0207] The page DOM modal features are obtained by feature encoding the DOM ad parsing results through the ad detection big model, the page image modal features are obtained by visual parsing the user browsing page data, and the multimodal page features are obtained by cross-modal attention processing of the page DOM modal features and the page image modal features;
[0208] Based on the multimodal page features, potential advertising content is predicted to obtain potential advertising element context information and potential advertising display context information. Based on the advertising element context information and potential advertising display context information, advertising content is identified to obtain advertising image recognition results.
[0209] In one feasible embodiment, the device further includes:
[0210] Collect the historical ad image recognition results and historical browsing ad recognition results in each round of ad processing, and adjust the model parameters of the ad detection big model based on the historical ad image recognition results and historical browsing ad recognition results.
[0211] In one feasible implementation, the step of performing user advertising rule matching on the user browsing page data to obtain advertising rule matching results includes:
[0212] Based on the DOM ad parsing result and the ad image recognition result, at least one target user ad matching rule is determined from the user rule engine library, and the user browsing page data is matched with the user ad rule using the target user ad matching rule to obtain the ad rule matching result.
[0213] In one feasible implementation, determining at least one target user ad matching rule from the user rule engine library based on the DOM ad parsing result and the ad image recognition result includes:
[0214] Based on the DOM ad parsing results and the ad image recognition results, potential ad promotion patterns and potential ad locations are determined;
[0215] Based on the potential advertising promotion mode and the potential advertising position, at least one target user advertising matching rule is matched from the user rule engine library.
[0216] It should be noted that the advertising processing device provided in the above embodiments is only illustrated by the division of the above functional modules when executing the advertising processing method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the advertising processing device and the advertising processing method embodiments provided in the above embodiments belong to the same concept, and the implementation process can be found in the method embodiments, which will not be repeated here.
[0217] The serial numbers in this specification are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0218] In this specification, the electronic device monitors user browsing page data on a browser, performs DOM parsing based on the user browsing page data using a multimodal advertising recognition mechanism to obtain DOM advertising parsing results, performs image recognition on the DOM advertising parsing results and user browsing page data to obtain advertising image recognition results, and performs user advertising rule matching on the user browsing page data to obtain advertising rule matching results. Based on the DOM advertising parsing results, advertising image recognition results, and advertising rule matching results, the browsing advertising recognition results are obtained, and advertising content filtering is performed on the user browsing page data based on the browsing advertising recognition results. This enables accurate identification and efficient filtering of advertisements on user browsing pages, improving the intelligence and personalization of advertising processing. The flexible application of multimodal advertising recognition combined with user-defined rules ensures that the system can adapt to the diversity of advertising formats and changes in user needs, ultimately providing users with a clean and personalized browsing environment, enhancing user experience, and improving the efficiency and accuracy of advertising interception.
[0219] The present specification further provides a computer storage medium, which can store a plurality of instructions adapted to be loaded and executed by a processor to implement the advertisement processing method of the embodiments illustrated in FIG. 1 to FIG. 6. For the specific execution process, reference may be made to the detailed descriptions of the embodiments illustrated in FIG. 1 to FIG. 6, which will not be repeated herein.
[0220] The present specification further provides a computer program product storing at least one instruction, which is loaded and executed by the processor to implement the advertisement processing method according to the embodiments shown in FIG. 1 to FIG. 6. For specific execution processes, reference may be made to the detailed descriptions of the embodiments shown in FIG. 1 to FIG. 6, which will not be repeated here.
[0221] Referring to FIG. 8, a structural block diagram of an electronic device provided by an embodiment of the present specification is shown. The electronic device in the present specification may include one or more of the following components: a processor 1010, a memory 1020, an input device 1030, an output device 1040, and a bus 1050. The processor 1010, the memory 1020, the input device 1030, and the output device 1040 may be connected via the bus 1050.
[0222] The processor 1010 may include one or more processing cores.The processor 1010 connects various parts within the electronic device using various interfaces and lines. It performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1020, and by calling data stored in the memory 1020. Optionally, the processor 1010 can be implemented using at least one hardware form selected from digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1010 can integrate one or more of the following: a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem can also be implemented separately as a communication chip without being integrated into the processor 1010.
[0223] The memory 1020 may include random access memory (RAM) or read-only memory (ROM). Optionally, the memory 1020 may include non-transitory computer-readable storage medium. The memory 1020 may be used to store instructions, programs, code, code sets, or instruction sets.
[0224] The input device 1030 is used to receive input instructions or data, and the input device 1030 includes, but is not limited to, a keyboard, mouse, camera, microphone, or touch device. The output device 1040 is used to output instructions or data, and the output device 1040 includes, but is not limited to, a display device and a speaker. In the embodiments of this specification, the input device 1030 can be a temperature sensor for obtaining the operating temperature of the electronic device. The output device 1040 can be a speaker for outputting audio signals.
[0225] In addition, those skilled in the art will understand that the structure of the electronic device shown in the above figures does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements.For example, the electronic device may further include a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WIFI) module, a power supply, a Bluetooth module, and other components, which will not be described in detail here.
[0226] In the embodiments of this specification, the execution subject of each step may be the electronic device introduced above. Optionally, the execution subject of each step is an operating system of the electronic device. The operating system may be an Android system, an iOS system, or another operating system, which is not limited in the embodiments of this specification.
[0227] In the electronic device of FIG. 8, the processor 1010 may be configured to invoke a program stored in the memory 1020, and execute the advertisement processing method described in each method embodiment of this specification.
[0228] A person of ordinary skill in the art may understand that all or part of the processes of the methods in the foregoing embodiments may be implemented by a computer program instructing related hardware. The program may be stored in a computer-readable storage medium. When the program is executed, the processes of the foregoing method embodiments may be included. The storage medium may be a magnetic disk, an optical disc, a read-only memory, or a random access memory.
[0229] It should be noted that information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, presented data, etc.) and signals mentioned in the embodiments of this specification are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0230] The above descriptions are merely optional embodiments of this specification, and certainly cannot limit the scope of rights of this specification. Therefore, equivalent changes made according to the claims of this specification still fall within the scope covered by this specification.< / iframe>
Claims
1. An advertising processing method, the method comprising: Monitor user page browsing data on the browser; Based on the user browsing page data, a multimodal advertising recognition mechanism is used to perform DOM parsing to obtain DOM advertising parsing results. Image recognition is then performed on the DOM advertising parsing results and the user browsing page data to obtain advertising image recognition results. Finally, user advertising rule matching is performed on the user browsing page data to obtain advertising rule matching results. Based on the DOM ad parsing results, the ad image recognition results, and the ad rule matching results, the browsing ad recognition results are obtained, and the user browsing page data is filtered for ad content based on the browsing ad recognition results.
2. The method according to claim 1, wherein obtaining the DOM ad parsing result by performing DOM parsing based on the user's browsing page data using a multimodal ad recognition mechanism includes: The DOM structure of the user-browsed page data is parsed to obtain DOM tree information; Based on the DOM tree information, user page interaction behavior is identified from the user's browsing page data to obtain user DOM tree interaction features; The DOM ad parsing result is obtained by identifying ads based on the user's DOM tree interaction features and the DOM tree information.
3. The method according to claim 2, wherein the step of obtaining DOM ad parsing results by ad recognition based on the user DOM tree interaction features and the DOM tree information includes: Based on the DOM tree information, determine the DOM page element information, and based on the DOM page element information, perform ad element feature recognition to obtain static element ad detection results; Based on the user DOM tree interaction features and the DOM tree information, the interaction area sentiment evaluation is performed to obtain the predicted user interaction sentiment state of multiple user interaction areas. Based on the predicted user interaction sentiment state of the user interaction areas, the area advertisement recognition is performed to obtain the dynamic interactive advertisement detection result. The DOM ad page features are determined based on the DOM page elements, the user DOM tree interaction features, and the DOM tree information; the DOM ad detection results are determined based on the static element ad detection results and the dynamic interactive ad detection results. The DOM ad parsing results are obtained based on the DOM ad page features and the DOM ad detection results.
4. The method according to claim 1, wherein the step of performing image recognition on the DOM advertisement parsing result and the user browsing page data to obtain the advertisement image recognition result includes: The DOM ad parsing results and the user browsing page data are used to perform ad visual recognition processing using an ad detection big data model to obtain ad image recognition results.
5. The method according to claim 4, wherein the step of using the DOM ad parsing result and the user browsing page data to perform ad visual recognition processing using an ad detection big data model to obtain the ad image recognition result includes: The DOM ad parsing results and the user's page browsing data are input into the ad detection model. The ad detection big model is used to encode the DOM ad parsing results to obtain page DOM modal features, and the user browsing page data is visually parsed to obtain page image modal features. Cross-modal attention processing is performed on the page DOM modal features and the page image modal features to obtain multimodal page features. Based on the multimodal page features, potential advertising content is predicted to obtain potential advertising element context information and potential advertising display context information. Based on the advertising element context information and potential advertising display context information, advertising content is identified to obtain advertising image recognition results.
6. The method according to claim 4, further comprising: Collect historical ad image recognition results and historical ad browsing recognition results during each round of ad processing, and adjust the model parameters of the ad detection model based on the historical ad image recognition results and historical ad browsing recognition results.
7. The method according to claim 1, wherein the step of performing user advertising rule matching on the user browsing page data to obtain advertising rule matching results includes: Based on the DOM ad parsing results and the ad image recognition results, at least one target user ad matching rule is determined from the user rule engine library. The target user ad matching rule is then used to perform user ad rule matching on the user's browsing page data to obtain ad rule matching results.
8. The method according to claim 7, wherein determining at least one target user ad matching rule from the user rule engine library based on the DOM ad parsing result and the ad image recognition result comprises: Based on the DOM ad parsing results and the ad image recognition results, potential ad promotion patterns and potential ad locations are determined; Based on the potential advertising promotion mode and the potential advertising position, at least one target user advertising matching rule is matched from the user rule engine library.
9. A computer storage medium storing a plurality of instructions adapted for loading by a processor and executing the method steps of any one of claims 1 to 8.
10. An electronic device, comprising: A processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and executed the method steps as claimed in any one of claims 1 to 8.
