Information processing method and device, electronic equipment and computer storage medium

By listening to click events on target links, obtaining response information, and detecting advertising information in dynamic and static content, the negative impact of advertisements on user experience on web pages is resolved, achieving accurate ad filtering and improved user experience.

CN114547509BActive Publication Date: 2026-02-10BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210179910.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-25
Publication Date
2026-02-10
Estimated Expiration
2042-02-25

AI Technical Summary

Technical Problem

Advertisements appearing on web pages create a negative experience for internet users and negatively impact their user experience.

Method used

By listening to the click events of the target links and obtaining the corresponding response information, the advertising information is determined and filtered in both the dynamic response process and the static display content.

Benefits of technology

It enables accurate and complete detection and filtering of advertisements, improving the user's online experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114547509B_ABST
    Figure CN114547509B_ABST
Patent Text Reader

Abstract

The present disclosure provides an information processing method and device, electronic equipment and computer storage medium, relates to the technical field of computers, and particularly relates to the field of artificial intelligence such as NLP, big data, and deep learning. The specific implementation scheme is as follows: in the case of listening to a click event of a target link, first response information corresponding to the click event is obtained; first advertisement information in the first response information is determined; second advertisement information is determined in pre-display content of the target link; the pre-display content of the target link is determined according to the first response information and the first advertisement information. The embodiment of the present disclosure can improve user experience.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of computers, and particularly relates to the field of artificial intelligence such as NLP (Natural Language Processing), big data, deep learning, etc. BACKGROUND

[0002] With the development of computer technology, the number of network users is also increasing, and people's daily life gradually becomes inseparable from the network. Web pages are one of the important tools for network users to use the network, and a web page can generate a large amount of browsing volume every day, so the web page becomes a tool used by an advertisement placement party when the advertisement placement party hopes to perform advertisement promotion.

[0003] Further, a large number of advertisements that may cause adverse experiences to network users appear in some web pages, affecting the use experience of network users. SUMMARY

[0004] The present disclosure provides an information processing method and device, an electronic device, and a computer storage medium.

[0005] According to an aspect of the present disclosure, an information processing method is provided, comprising:

[0006] In the case of listening to a click event of a target link, first response information corresponding to the click event is obtained;

[0007] First advertisement information in the first response information is determined;

[0008] Second advertisement information is determined in pre-display content of the target link; the pre-display content of the target link is determined according to the first response information and the first advertisement information.

[0009] According to another aspect of the present disclosure, an information processing device is provided, comprising:

[0010] A first response information obtaining module is configured to obtain first response information corresponding to a click event of a target link in the case of listening to the click event;

[0011] A first advertisement information module is configured to determine first advertisement information in the first response information;

[0012] A second advertisement information module is configured to determine second advertisement information in pre-display content of the target link; the pre-display content of the target link is determined according to the first response information and the first advertisement information.

[0013] According to another aspect of the present disclosure, an electronic device is provided, comprising:

[0014] At least one processor; and

[0015] The memory is communicatively connected to the at least one processor; wherein,

[0016] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the methods in any embodiment of this disclosure.

[0017] According to another aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions for causing a computer to perform the methods of any embodiment of this disclosure.

[0018] According to another aspect of this disclosure, a computer program product is provided, including a computer program / instructions that, when executed by a processor, implement the methods in any embodiment of this disclosure.

[0019] According to the technology disclosed herein, advertising information can be determined separately from the response information corresponding to a click event and the pre-displayed content of the target link. This allows for the detection of different types of advertisements both during dynamic responses and in static display content, enabling accurate and complete advertisement detection. This facilitates a series of operations such as advertisement filtering, improving the user's online experience.

[0020] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0021] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:

[0022] Figure 1 This is a schematic diagram of an information processing method according to an embodiment of the present disclosure;

[0023] Figure 2 This is a schematic diagram of an information processing method according to another embodiment of the present disclosure;

[0024] Figure 3 This is a schematic diagram of an information processing method according to yet another embodiment of the present disclosure;

[0025] Figure 4 This is a schematic diagram of an information processing method according to yet another embodiment of the present disclosure;

[0026] Figure 5 This is a schematic diagram of a webpage containing an accompanying advertisement according to yet another embodiment of this disclosure;

[0027] Figure 6A , 6BThese are screenshots of the webpage before and after ad filtering;

[0028] Figure 7 This is a schematic diagram of an example information processing method disclosed herein;

[0029] Figure 8 This is yet another example of the dynamic resource detection process performed during webpage loading, illustrated in this disclosure.

[0030] Figure 9 This is yet another example of the static resource detection process for pre-displayed content, illustrated in this disclosure.

[0031] Figure 10 This is yet another example of a node information diagram in this disclosure;

[0032] Figure 11 This is a schematic diagram of an information processing apparatus according to an embodiment of the present disclosure;

[0033] Figure 12 This is a schematic diagram of an information processing apparatus according to another embodiment of the present disclosure;

[0034] Figure 13 This is a schematic diagram of an information processing apparatus according to yet another embodiment of the present disclosure;

[0035] Figure 14 This is a schematic diagram of an information processing apparatus according to yet another embodiment of the present disclosure;

[0036] Figure 15 This is a schematic diagram of an information processing apparatus according to yet another embodiment of the present disclosure;

[0037] Figure 16 This is a schematic diagram of an information processing apparatus according to yet another embodiment of the present disclosure;

[0038] Figure 17 This is a block diagram of an electronic device used to implement the information processing method of the embodiments of this disclosure. Detailed Implementation

[0039] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0040] This disclosure provides an information processing method, such as... Figure 1 As shown, it includes:

[0041] Step S11: If a click event of the target link is detected, obtain the first response information corresponding to the click event;

[0042] Step S12: Determine the first advertising information in the first response information;

[0043] Step S13: Determine the second advertising information in the pre-display content of the target link; the pre-display content of the target link is determined based on the first response information and the first advertising information.

[0044] The method provided in this disclosure can be deployed on an application or a terminal. The application can be a terminal or a server with the application installed. The terminal can include a desktop computer, a laptop computer, a mobile terminal, a wearable mobile device, etc.

[0045] The target link can be a link displayed in a terminal browser, a floating window, a small window, etc., and can specifically correspond to a web page, i.e., a webpage, or other types of pages.

[0046] For example, a user performs a search operation through a search engine in their terminal browser, and selects a link corresponding to one of the search results as the target link on the search results display page.

[0047] For example, a user can select a link that allows them to jump to another page on any page displayed in their browser as the target link.

[0048] For example, a user can select a link that allows them to jump to another page on any page displayed in a terminal application as the target link. Terminal applications can specifically include search engine applications, news publishing applications, entertainment applications, video playback applications, writing tool applications, note-taking tool applications, weather forecast applications, map applications, document applications, and various other applications that may have embedded web page links.

[0049] A click event on a target link can be an event in which a user clicks the target link through touch, mouse click, voice operation, gesture operation, or a preset condition that triggers a default click, thereby sending a link access request.

[0050] If a click event of a target link is detected, the user can send an access request by clicking the target link, so that the server corresponding to the target link can respond after receiving the access request and return at least one response message.

[0051] In this embodiment, the first response information corresponding to the click event can be at least one piece of information from the server or the other end of the access request corresponding to the click operation, responding to the access request sent by clicking the target link.

[0052] Determining the first advertising information in the first response information can be done by identifying a specific portion of content from a single first response message as the first advertising information, or by identifying at least one first response message from multiple first response messages as the first advertising information.

[0053] The first advertisement can be an advertisement that appears along with the main document corresponding to the first response information before the page has finished loading.

[0054] The pre-display content of the target link may include the display interface content of the target link pre-generated based on the response information corresponding to the click event.

[0055] Determining the second advertising information from the pre-displayed content can be done by determining the advertising information that can be displayed once the page has finished loading, based on the pre-displayed content.

[0056] In this embodiment, after step S13, an advertising information detection result can be generated based on the first advertising information and the second advertising information. For example, at least one of the first advertising information and the second advertising information can be used as an advertising information detection result based on a target link or a click event.

[0057] In this embodiment, advertising information can be determined from both the response information corresponding to a click event and the pre-displayed content of the target link. This allows for the detection of different types of advertisements both during the dynamic response process and in the static display content, enabling accurate and complete advertisement detection. This facilitates a series of operations such as advertisement filtering, improving the user's online experience.

[0058] In one implementation, such as Figure 2 As shown, the first advertising information in the first response information includes:

[0059] Step S21: Obtain the response text based on the first response information;

[0060] Step S22: Determine the advertising text based on the response text;

[0061] Step S23: Use the second response information corresponding to the advertising text in the first response information as the first advertising information.

[0062] In this embodiment, the first response information may include a response message based on a network communication protocol. Further, the response message may include a response body. In one possible implementation, the response message in the first response information can be parsed to obtain the response body, which serves as the response text.

[0063] In another possible implementation, the target link can be a link to a webpage based on the first protocol, and the first response information can include a response message based on the first protocol. The response message based on the first protocol can further include a status line, response headers, and a response body. Obtaining the response text based on the first response information can include converting the status line and response headers into text.

[0064] In another possible implementation, obtaining the response text based on the first response information may further include converting the status line and response header in the first response information into text, which, together with the response body, constitutes the response text.

[0065] In another possible implementation, obtaining the response text based on the first response information may further include combining the status line in the first response information, the characters in the response header, and the response body to form the response text.

[0066] The advertising text can be determined based on the response text, or a portion of the response text can be identified as advertising text. This identification can be done character by character or word by word. For example, if the response text contains 10 characters, 3 of those characters can be identified as advertising text.

[0067] Using the second response information corresponding to the advertising text in the first response information as the first advertising information can be done by using the part of the advertising text corresponding to a first response information as the first advertising information after the advertising text has been determined, or by using the part of the first response information corresponding to the advertising text corresponding to multiple first response information as the second response information.

[0068] Considering that when a user clicks a target link, a network request is sent for the target link, but the advertisement associated with the target link is also sent via a network request at the same time, informing the server corresponding to the advertisement to return the advertisement page along with the page corresponding to the target link, the response information for the network request to the advertisement will be interspersed in the response information for the target link click event. The response information for the network request to the advertisement is embedded in the main document of the webpage of the target link. If it is filtered or deleted after the webpage corresponding to the target link has finished loading, it may affect the normal function of the main document of the webpage, causing the webpage corresponding to the target link to fail to display properly.

[0069] In this embodiment, the information related to the advertisement is identified in the response information as the first advertisement information, which helps to filter or extract advertisements in the main document of the webpage with the embedded target link in the correct way.

[0070] In one implementation, such as Figure 3 As shown, based on the response text, the advertising text is determined, including:

[0071] Step S31: Obtain the vocabulary to be analyzed based on the response text;

[0072] Step S32: Classify the words to be analyzed to obtain the classification information corresponding to the words to be analyzed;

[0073] Step S33: Determine the target word segmentation based on the vocabulary to be analyzed, classification information, and preset conditions;

[0074] Step S34: Use the target word segmentation as advertising text.

[0075] In this embodiment, the vocabulary to be analyzed is obtained based on the response text. This can be achieved by filtering a portion of the text from the response text using a preset filtering method, or by further parsing and transforming the response text to obtain the vocabulary to be analyzed.

[0076] Classifying the vocabulary to be analyzed can be done by determining the predefined category to which the vocabulary belongs. Alternatively, classifying the vocabulary to be analyzed and obtaining its classification information can be done by analyzing the probability of each vocabulary belonging to each predefined category, and using the resulting probability information as the classification information.

[0077] For example, the vocabulary to be analyzed includes character A, natural language vocabulary B, natural language vocabulary C, and single character D. The probability that A belongs to category a is X1, the probability that it belongs to category b is X2, and the probability that it belongs to category c is X3. The probability that B belongs to category a is X4, the probability that it belongs to category b is X5, and the probability that it belongs to category c is X6. The probability that C belongs to category a is X7, the probability that it belongs to category b is X8, and the probability that it belongs to category c is X9. The probability that C belongs to category a is X10, the probability that it belongs to category b is X11, and the probability that it belongs to category c is X12.

[0078] The preset conditions can be that a word to be analyzed is identified as a target word when its classification information meets one or more conditions. For example, a preset condition could be a probability threshold condition for a first category: if a word to be analyzed belongs to category a and its corresponding probability is higher than Y1, then the word to be analyzed is determined to be a target word. Another example is a probability threshold condition for multiple second categories: if the probability of a word to be analyzed belonging to category a is higher than Y2, and the probability of belonging to category b is higher than Y3, then the word to be analyzed is determined to be a target word.

[0079] In other implementation methods, besides using the target word segment as the advertising text, further operations such as deduplication, grouping, and merging of the target word segment can be performed to obtain the advertising text.

[0080] In this embodiment, by performing vocabulary screening on the response text, the advertising text is obtained, thereby enabling the determination of the first advertising information in the first response information based on the advertising text.

[0081] In one implementation, multiple words to be analyzed are obtained based on the response text, including:

[0082] Perform word segmentation on the response text to obtain all the words in the response text;

[0083] Remove all stop words from all word segments and treat the remaining word segments as the vocabulary to be analyzed.

[0084] In this embodiment, the word segmentation operation on the response text can be performed according to natural language word segmentation rules, or according to word segmentation rules for a specific advertising recognition scenario. Alternatively, it can be performed using a word segmentation rule derived from a combination of natural language word segmentation rules and word segmentation rules for the specific advertising recognition scenario.

[0085] In this embodiment, stop words can be pre-set words, single words, or characters that are explicitly unrelated to the advertising information and can be ignored during analysis.

[0086] A stop word list can be pre-built for words, phrases, or characters that are common in the response information and are explicitly unrelated to the advertising information. After obtaining all the words in the response text, the stop words in all the words are identified by searching the stop word list, and at least one stop word is removed from all the words to obtain at least one remaining word.

[0087] In this embodiment, stop words can be removed from all word segments of the response text, thereby reducing analysis operations and improving analysis efficiency.

[0088] In one embodiment, the information processing method further includes:

[0089] Filter the first advertisement information from the first response information to obtain the second response information;

[0090] Based on the second response information, generate the pre-display content for the target link.

[0091] In this embodiment, filtering the first advertising information in the first response information can be achieved by setting the first advertising information to null. Since in some cases the first advertising information is essentially response information, deleting part of the response information may cause the webpage corresponding to the target link to fail to display correctly. Therefore, even when the first advertising information is set to null, the response information corresponding to the first advertising information can still be returned to the requesting end normally, but the advertising content will not be displayed, thus achieving the purpose of filtering advertisements.

[0092] The second response information can be a new response obtained by filtering the first advertisement information in the first response information. The number of items or the amount of information in the second response information can be the same as the number of items or the amount of information in the first response information, but the content corresponding to the first advertisement information is set to empty content.

[0093] In some cases, the portion of the first response information that corresponds to the first advertisement information may also be deleted.

[0094] Based on the second response information, the pre-display content of the target link is generated. This can be the display content obtained by pre-converting the webpage content before the webpage corresponding to the target link is fully loaded.

[0095] In this embodiment, pre-display content is obtained based on the first response information and the first advertising information. The pre-display content can be generated by processing the first advertising information in the first response information, thereby allowing the identification of other advertising information that is generated in a different way than the first advertising information within the pre-display content.

[0096] In one implementation, such as Figure 4 As shown, the second advertising information is determined from the pre-display content of the target link, including:

[0097] Step S41: Determine the corresponding source code based on the pre-displayed content;

[0098] Step S42: Determine the element characteristics in the pre-display content based on the display node content corresponding to the specified field in the source code;

[0099] Step S43: Determine the second advertising information based on the element characteristics.

[0100] In this embodiment, determining the corresponding source code based on the pre-displayed content can be done by determining the code in the document corresponding to the set protocol for the pre-displayed content.

[0101] Specifying fields in the source code can refer to specific fields corresponding to a webpage node, or it can refer to all fields corresponding to a webpage node in the source code. Examples include header fields, heading fields, body fields, and paragraph fields.

[0102] The display node content corresponding to a specified field in the source code can be the specific code content that follows the specified field. For example, if a header field is followed by a title field, meaning that the header field contains the title field, and the title field further contains content code <...>, then the display node content of the header field can include both the title field and the title field's content code.

[0103] Based on the content of the display node corresponding to the specified field in the source code, determine the element characteristics in the pre-displayed content, which can be the display node content as the element characteristics.

[0104] For example, in one specific implementation, the specified field may include a display field. <display>According to the element feature, the second advertisement information can be determined. The determining the second advertisement information according to the element feature can include: when the display field is the first set content, determining the part of the pre-display content corresponding to the display field as the second advertisement information.

[0105] In another possible implementation, the specified field can include a plurality of fields, and for the pre-display content of one target link, a plurality of element features can be determined.

[0106] According to the element feature, the second advertisement information can be determined. The determining the second advertisement information according to the element feature can include: when there is an element feature consistent with a preset advertisement feature, determining the information corresponding to the element feature in the pre-display content as the second advertisement information.

[0107] According to the element feature, the second advertisement information can be determined. The determining the second advertisement information according to the element feature can include: when there are a plurality of element features consistent with a plurality of preset advertisement features, determining the information corresponding to the plurality of element features in the pre-display content as the second advertisement information. The plurality of element features in the pre-display content can correspond to one element, such as an image, a floating window, a pop-up link, etc. The plurality of element features in the pre-display content can correspond to a plurality of elements.

[0108] In this embodiment, the second advertisement information in the pre-display content can be filtered by inserting an advertisement that does not respond to a webpage in the form of a webpage response and only appearing statically in the webpage.

[0109] In one embodiment, the second advertisement information is determined according to the element feature, including:

[0110] Determining a target feature in the element feature that meets a preset condition;

[0111] The information in the pre-display content corresponding to the target feature is determined as the second advertisement information.

[0112] In this embodiment, some element features can be set as target features for the advertisement. The preset condition can be changed according to the type of the advertisement information to be filtered and the quality standard.

[0113] For example, if the current advertisement detection requirement is to detect low-quality advertisements in the webpage corresponding to the target link, the features of the advertisements determined to be low-quality can be summarized, and the features of the advertisements to be filtered are set as the preset condition of the target feature.

[0114] For another example, if the current advertisement detection requirement is to detect specific product advertisements appearing in the webpage corresponding to the target link, the features of the specific product advertisements can be summarized, and the features of the advertisements to be filtered are set as the preset condition of the target feature.

[0115] After the target feature is screened, there can be other advertisements in the pre-display content, i.e., advertisements without the target feature.

[0116] Similarly, for the filtering of the first advertisement information, a corresponding condition can also be set, so that the response information corresponding to the advertisement information meeting the screening condition in the response information is detected.

[0117] In this embodiment, the target feature meeting the preset condition can be screened, so as to determine the second advertisement information to be screened.

[0118] In an embodiment, the information processing method further includes:

[0119] Filtering the second advertisement information in the pre-display content to obtain filtered pre-display content;

[0120] Displaying a page corresponding to the target link according to the filtered pre-display content.

[0121] In this embodiment, the filtered pre-display content has the first advertisement information and the second advertisement information filtered out, so that the page or the webpage finally displayed does not display the filtered advertisements, thereby improving the experience of the user watching the page or the webpage.

[0122] In an embodiment, filtering the second advertisement information in the pre-display content includes:

[0123] Deleting the information corresponding to the second advertisement information in the pre-display content;

[0124] Or, setting the information corresponding to the second advertisement information in the pre-display content to a non-display state.

[0125] In this embodiment, the second advertisement information can be filtered, so that the second advertisement information is not displayed to the user through the page, and meanwhile, the normal display function of the page corresponding to the target link is not affected. The information corresponding to the second advertisement information in the pre-display content can correspond to a node of a page element.

[0126] With the development of mobile terminals, mobile terminals such as mobile phones have become products that people cannot live without in daily life. Various applications that can be installed on mobile terminals are also rapidly developing in terms of quantity and quality. For example, in traditional computer equipment, users can only search for information through a browser, but currently there are APPs (Application) dedicated to searching for information. Users can search for information in a dedicated application and obtain a corresponding search result page. However, in some cases, when a user selects a link as a target link in a search result page, clicks the target link, and jumps to the landing page (equivalent to the webpage or page in the foregoing embodiments) corresponding to the target link in the search application, there will be some advertising problems in the landing page, including APP download floating ads, red envelope floating ads, and other interspersed ads, as shown in Figure 5 As shown in the article reading page, there are APP download ads 51, product floating ads 52, and red envelope floating ads 53. This situation can have a relatively serious impact on the user's browsing experience.

[0127] In an example of the present disclosure, for the ads that may cause trouble to the user's use of the application of the mobile terminal, an ad recognition model is deployed at the application end to monitor the quality of dynamic resources and static resources of the webpage, and to shield low-quality dynamic and static resources therein, so as to achieve the purpose of removing ads. As shown in Figure 6A As shown in the article reading page, there are APP download ads 51, product floating ads 52, and red envelope floating ads 53. This situation can have a relatively serious impact on the user's browsing experience. Figure 6B The effect after starting the ad recognition model.

[0128] Ads in webpages are often loaded asynchronously and dynamically during webpage loading, and some are embedded in the main document of the webpage. In the example of the present disclosure, a resource quality screening method combining dynamic and static resource monitoring is used to identify and shield ads for these two cases. The specific process is as shown in Figure 7 As shown in the article reading page, there are APP download ads 51, product floating ads 52, and red envelope floating ads 53. This situation can have a relatively serious impact on the user's browsing experience.

[0129] Step S71: Webpage loading. In the case of monitoring the target link click event, the process of webpage loading is started.

[0130] Step S72: Perform dynamic resource detection during webpage loading. That is, obtain the first response information about the target link click event, take the first response information as a dynamic resource, perform ad detection, and obtain the first ad information.

[0131] The first advertisement information in the examples of the present application can also be response information for a target link click event, including JS (JavaScript) format, XHR (XMLHttpRequest, Extensible Markup Language HyperText Transfer Protocol Request) format, Sub Document format, Media format, Image format response information, respectively responding to the JS format, XHR format, Sub Document format, Media format, Image format advertisement request sent together with the target link access request. After dynamic resource detection, the first advertisement information is filtered to obtain the second response information.

[0132] Step S73: generating pre-display content according to the dynamic resource detection result.

[0133] The pre-display content can also be a web page or a page. The dynamic resource detection result can include the second response information in the foregoing embodiments.

[0134] Step S74: performing static resource detection on the pre-display content. That is, determining the second advertisement information in the pre-display content.

[0135] Step S75: displaying the final web page or page according to the static resource detection result.

[0136] The static resource detection result can be the content after processing the second advertisement information in the pre-display content.

[0137] In another possible implementation, the dynamic resource detection can be performed during the web page loading process, which can include the process as shown in Figure 8 The Response (response information) of the network request of the JS, XHR and the like is monitored, the quality of the resource is distinguished by text classification, and the low-quality resource in the monitoring result is shielded, so that the purpose of shielding the advertisement is achieved. Specifically, it can include:

[0138] Step S81: determining the response text according to the first response information.

[0139] Step S82: performing word segmentation on the response text to obtain all word segments of the response text.

[0140] Step S83: removing the stop words in all word segments to obtain the word to be analyzed.

[0141] Step S84: classifying the word to be analyzed by a classification model to obtain a first classification result.

[0142] Step S85: determining the first advertising information according to the first classification result.

[0143] In another possible implementation, the static resource detection for the pre-show content can include a process as shown in FIG. 8. The pre-show content is processed to generate a DOM tree, and quality monitoring is performed on each node of the DOM tree. The nodes are classified according to their features, including whether the nodes are fixed, visible, in position, in size, and in text semantics. The nodes determined to be of low quality are shielded, so as to achieve the purpose of shielding static advertisements. Figure 9 Figure 9 Specifically, the method includes the following steps.

[0144] Step S91: determining a page node in the pre-show content. The page node corresponds to a node of the DOM tree and to the specified field in the foregoing embodiments.

[0145] Step S92: performing feature calculation on the page node to determine the features of each node. The features correspond to the content of the node of the DOM tree and to the display node content in the foregoing embodiments.

[0146] Step S93: classifying the features by using a classification model to obtain a second classification result.

[0147] Step S94: determining second advertising information according to the second classification result.

[0148] In another specific example, the node features are as shown in FIG. 9. Figure 10

[0149] For each node, specific feature content can be found in Styles (style) information and Computed (computed) information. For example, in the Computed information, features such as Margin (margin), Border (border), and Padding (padding) can be found.

[0150] For a web page based on Http (Hyper Text Transfer Protocol), the selectable node features include box-sizing (box-sizing), color (color), Display (Display), font-family (font-family), font-size (font-size), height (height), line-height (line-height), margin-bottom (margin-bottom), margin-left (margin-left), margin-right (margin-right), margin-top (margin-top), overflow-wrap (overflow-wrap), padding-bottom (padding-bottom), padding-left (padding-left), and the like.​​

[0151] The example of the present disclosure provides a resource quality screening method for dynamic and static resource combination monitoring. The quality of dynamic resources loaded with advertisements, including javascript, xhr, sub document, and static advertisement resources, including picture advertisement nodes, iframe advertisement nodes, etc. is detected, the shielding of the advertisement resources is realized, and the user browsing experience is improved.

[0152] The embodiment of the present disclosure further provides an information processing device, as shown in the figure, comprising: Figure 11

[0153] The first response information acquisition module 111 is configured to acquire first response information corresponding to the click event in the case of listening to the click event of the target link.

[0154] The first advertisement information module 112 is configured to determine first advertisement information in the first response information.

[0155] The second advertisement information module 113 is configured to determine second advertisement information in the pre-display content of the target link. The pre-display content of the target link is determined according to the first response information and the first advertisement information.

[0156] In an embodiment, as shown in the figure, the first advertisement information module comprises: Figure 12

[0157] The response text unit 121 is configured to obtain response text according to the first response information.

[0158] The advertisement text unit 122 is configured to determine advertisement text according to the response text.

[0159] The advertisement text processing unit 123 is configured to take the second response information corresponding to the advertisement text in the first response information as the first advertisement information.

[0160] In an embodiment, the advertisement text unit is further configured to:

[0161] obtain a word to be analyzed according to the response text;

[0162] classify the word to be analyzed to obtain classification information corresponding to the word to be analyzed;

[0163] determine a target segmentation according to the word to be analyzed, the classification information, and a preset condition;

[0164] take the target segmentation as the advertisement text.

[0165] In an embodiment, the advertisement text unit is further configured to:

[0166] ​​Perform a word segmentation operation on the response text to obtain all word segments of the response text;

[0167] Remove stop words from all word segments, and take the remaining word segments in all word segments as to-be-analyzed words.

[0168] In an embodiment, as shown in Figure 13 The information processing apparatus further includes:

[0169] The second response information obtaining module 131 is configured to filter the first advertising information in the first response information to obtain second response information.

[0170] The second response information processing module 132 is configured to generate pre-display content of the target link according to the second response information.

[0171] In an embodiment, as shown in Figure 14 The second advertising information module includes:

[0172] The source code unit 141 is configured to determine corresponding source code according to the pre-display content.

[0173] The element feature unit 142 is configured to determine element features in the pre-display content according to display node content corresponding to a specified field in the source code.

[0174] The element feature processing unit 143 is configured to determine second advertising information according to the element features.

[0175] In an embodiment, the element feature processing unit is further configured to:

[0176] Determine target features in the element features that meet a preset condition.

[0177] Take information in the pre-display content corresponding to the target features as the second advertising information.

[0178] In an embodiment, as shown in Figure 15 The information processing apparatus further includes:

[0179] The pre-display content module 151 is configured to filter the second advertising information in the pre-display content to obtain filtered pre-display content.

[0180] The page display module 152 is configured to display a page corresponding to the target link according to the filtered pre-display content.

[0181] In an embodiment, as shown in Figure 16 The pre-display content module includes:

[0182] The first filtering unit 161 is configured to delete information corresponding to the second advertising information in the pre-display content.

[0183] And / or, the second filtering unit 162 is used for setting the corresponding information of the second advertising information in the pre-display content to a non-display state.

[0184] In the technical solutions of the present disclosure, the acquisition, storage and application of user personal information are in line with relevant laws and regulations and do not violate public order and good customs.

[0185] According to the embodiments of the present disclosure, the present disclosure further provides an electronic device, a readable storage medium and a computer program product.

[0186] Figure 17 A schematic block diagram of an example electronic device 170 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present disclosure described and / or claimed in this document.

[0187] As shown in Figure 17 The device 170 includes a computing unit 171 that can perform various appropriate actions and processes in accordance with a computer program stored in a read-only memory (ROM) 172 or a computer program loaded from a storage unit 178 into a random access memory (RAM) 173. Various programs and data required for the operation of the device 170 can also be stored in the RAM 173. The computing unit 171, the ROM 172, and the RAM 173 are connected to each other through a bus 174. An input / output (I / O) interface 175 is also connected to the bus 174.

[0188] Various components in the device 170 are connected to the I / O interface 175, including an input unit 176, such as a keyboard, a mouse, etc., an output unit 177, such as various types of displays, speakers, etc., a storage unit 178, such as a magnetic disk, an optical disk, etc., and a communication unit 179, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 179 allows the device 170 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunications networks.

[0189] The computing unit 171 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 171 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 171 performs various methods and processes described above, such as the information processing method. For example, in some embodiments, the information processing method can be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 178. In some embodiments, part or all of the computer program can be loaded and / or installed onto the device 170 via the ROM 172 and / or the communication unit 179. When the computer program is loaded onto the RAM 173 and executed by the computing unit 171, one or more steps of the information processing method described above can be performed. Alternatively, in other embodiments, the computing unit 171 can be configured to perform the information processing method by any other appropriate means, such as by means of firmware.

[0190] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (PLD), a computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0191] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, produces a means for implementing the functions / operations specified in the flowchart and / or block diagram. The program code can be executed entirely on a machine, partially on a machine, partially on a machine as a stand-alone software package, partially on a machine and partially on a remote machine or entirely on a remote machine or server.

[0192] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0193] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0194] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0195] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.

[0196] It should be understood that the various forms of flow shown above can be used to reorder, add, or remove steps. For example, the steps described in the present disclosure can be performed in parallel, in series, or in a different order, without limitation herein, so long as the desired results of the technology described in the present disclosure are achieved.

[0197] The specific implementation described above does not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present disclosure shall be included in the protection scope of the present disclosure.< / display>

Claims

1. An information processing method, comprising: Upon detecting a click event on the target link, obtain the first response information corresponding to the click event; Perform dynamic resource detection on the first response information to determine the first advertisement information in the first response information; After filtering the first advertising information in the first response information, a dynamic resource detection result is obtained, and the dynamic resource detection result includes the second response information; Based on the second response information, a pre-display content for the target link is generated; wherein, the pre-display content for the target link includes display content obtained by pre-converting the webpage content that has been filtered of the first advertising information before the webpage corresponding to the target link is fully loaded; Static resource detection is performed on the pre-display content of the target link to determine the second advertising information; wherein, the page nodes in the pre-display content are used to generate a DOM tree, and the static resource detection includes quality detection of the nodes in the DOM tree; Filter the second advertisement information in the pre-display content to obtain the filtered pre-display content; Based on the filtered pre-display content, display the page corresponding to the target link; The process of performing dynamic resource detection on the first response information to determine the first advertising information within the first response information includes: Based on the first response information, obtain the response text; Based on the response text, an advertising text is determined; wherein the advertising text includes target word segmentation obtained by classifying the words to be analyzed based on the response text using a classification model and then applying preset conditions; the preset conditions include probability thresholds for one or more categories to which the words to be analyzed belong. The portion of the advertising text corresponding to the first response information is used as the first advertising information.

2. The method according to claim 1, wherein, Determining the advertising text based on the response text includes: Based on the response text, the vocabulary to be analyzed is obtained; The words to be analyzed are classified to obtain the classification information corresponding to the words to be analyzed. The target word segmentation is determined based on the vocabulary to be analyzed, the classification information, and the preset conditions; The target word segment is used as the advertising text.

3. The method according to claim 2, wherein, The step of obtaining the vocabulary to be analyzed based on the response text includes: Perform word segmentation on the response text to obtain all the word segments of the response text; Remove stop words from all word segments and use the remaining word segments as the vocabulary to be analyzed.

4. The method according to any one of claims 1-3, wherein, The step of performing static resource detection in the pre-display content of the target link to determine the second advertising information includes: Based on the pre-displayed content, determine the corresponding source code; Based on the display node content corresponding to the specified field in the source code, determine the element characteristics in the pre-display content; The second advertising information is determined based on the element characteristics.

5. The method according to claim 4, wherein, Determining the second advertising information based on the element features includes: Identify the target features among the element features that meet the preset conditions; The information corresponding to the target feature in the pre-displayed content is used as the second advertising information.

6. The method according to claim 1, wherein, The filtering of the second advertising information in the pre-displayed content includes: Delete the information corresponding to the second advertisement information in the pre-display content; Alternatively, the information corresponding to the second advertisement in the pre-display content can be set to a non-display state.

7. An information processing apparatus, comprising: The first response information acquisition module is used to acquire the first response information corresponding to the click event when a click event of the target link is detected. The first advertising information module is used to perform dynamic resource detection on the first response information and determine the first advertising information in the first response information; The second response information acquisition module is used to filter the first advertising information in the first response information to obtain the dynamic resource detection result, wherein the dynamic resource detection result includes the second response information; The second response information processing module is used to generate pre-display content for the target link based on the second response information; wherein, the pre-display content for the target link includes display content obtained by pre-converting the webpage content that has been filtered of the first advertising information before the webpage corresponding to the target link is fully loaded; The second advertising information module is used to perform static resource detection on the pre-display content of the target link to determine the second advertising information; wherein, the page nodes in the pre-display content are used to generate a DOM tree, and the static resource detection includes quality detection of the nodes in the DOM tree; The pre-display content module is used to filter the second advertising information in the pre-display content to obtain filtered pre-display content; The page display module is used to display the page corresponding to the target link based on the filtered pre-display content; The first advertising information module includes: The response text unit is used to obtain the response text based on the first response information. An advertising text unit is used to determine advertising text based on the response text; wherein the advertising text includes target word segmentation obtained by classifying the words to be analyzed based on the response text using a classification model and then applying preset conditions; the preset conditions include probability thresholds for one or more categories to which the words to be analyzed belong; An advertising text processing unit is used to take the portion of the advertising text corresponding to the first response information as the first advertising information.

8. The apparatus according to claim 7, wherein, The advertising text unit is also used for: Based on the response text, the vocabulary to be analyzed is obtained; The words to be analyzed are classified to obtain the classification information corresponding to the words to be analyzed. The target word segmentation is determined based on the vocabulary to be analyzed, the classification information, and the preset conditions; The target word segment is used as the advertising text.

9. The apparatus according to claim 8, wherein, The advertising text unit is also used for: Perform word segmentation on the response text to obtain all the word segments of the response text; Remove stop words from all word segments and use the remaining word segments as the vocabulary to be analyzed.

10. The apparatus according to any one of claims 7-9, wherein, The second advertising information module includes: The source code unit is used to determine the corresponding source code based on the pre-displayed content; An element feature unit is used to determine the element features in the pre-display content based on the display node content corresponding to a specified field in the source code. An element feature processing unit is used to determine the second advertising information based on the element features.

11. The apparatus according to claim 10, wherein, The element feature processing unit is also used for: Identify the target features among the element features that meet the preset conditions; The information corresponding to the target feature in the pre-displayed content is used as the second advertising information.

12. The apparatus according to claim 7, wherein, The pre-display content module includes: The first filtering unit is used to delete the information corresponding to the second advertising information in the pre-display content; And / or, a second filtering unit is used to set the information corresponding to the second advertising information in the pre-display content to a non-display state.

13. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.

14. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-6.

15. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method, equipment and system for processing webpage

    CN104572798A

  • Webpage rendering method and apparatus

    CN105956026A