Popup interception control method and device, storage medium and electronic equipment
Patent Information
- Application Number
- CN202210821214.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-13
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2042-07-13
AI Technical Summary
[0005]本发明实施例提供了一种弹窗的拦截控制方法和装置、存储介质及电子设备,以至少解决现有的广告弹窗的拦截准确性较低的技术问题
[0010]根据本发明实施例的又一方面,还提供了一种电子设备,包括存储器和处理器,上述存储器中存储有计算机程序,上述处理器被设置为通过上述计算机程序执行上述的弹窗的拦截控制方法。
Smart Images

Figure CN117473189B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computers, and more specifically, to a method and apparatus for controlling pop-up windows, a storage medium, and an electronic device. Background Technology
[0002] With the development of the internet, online advertising has become increasingly frequent. Users are frequently bothered by various pop-up ads while browsing the web or using applications on their computers. How to accurately block these pop-up ads has become an important issue in improving the user experience.
[0003] Existing pop-up blocking methods typically detect the pop-up's location (e.g., the bottom right corner of the desktop) and block pop-ups whose locations match those of regular advertising pop-ups. This method has several problems. First, it cannot identify and block advertising pop-ups from other locations. Second, some applications also use the bottom right corner to send notifications, so indiscriminately blocking these pop-ups can easily lead to incorrect blocking. In other words, existing pop-up blocking methods suffer from inaccurate blocking techniques.
[0004] There is currently no effective solution to the above problems. Summary of the Invention
[0005] This invention provides a pop-up blocking control method and apparatus, storage medium and electronic device, to at least solve the technical problem of low accuracy in blocking existing advertising pop-ups.
[0006] According to one aspect of the present invention, a method for blocking and controlling pop-ups is provided, comprising: collecting pop-up information sent by multiple terminals respectively, wherein the pop-up information is attribute information of pop-up windows displayed on the terminals; clustering the pop-up information to obtain multiple pop-up cluster sets, wherein the pop-up windows in each pop-up cluster set are pop-up windows with the same type of display characteristics; identifying pop-up content in the multiple pop-up cluster sets; generating a pop-up blocking condition set using the identified display characteristics of content promotion pop-ups; and sending the pop-up blocking condition set to the multiple terminals to block content promotion pop-ups that match the pop-up blocking condition set.
[0007] According to another aspect of the present invention, a pop-up blocking control device is also provided, comprising: a collection unit for collecting pop-up information sent by multiple terminals respectively, wherein the pop-up information is attribute information of pop-up windows displayed on the terminals; a clustering unit for clustering the pop-up information to obtain multiple pop-up cluster sets, wherein the pop-up windows in each pop-up cluster set are pop-up windows with the same type of display features; an identification unit for identifying the pop-up content of the multiple pop-up cluster sets; a generation unit for generating a pop-up blocking condition set using the identified display features of the content promotion pop-ups; and a sending unit for sending the pop-up blocking condition set to the multiple terminals to block content promotion pop-ups that match the pop-up blocking condition set.
[0008] According to another aspect of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer program, and the computer program is configured to execute the above-mentioned pop-up window interception and control method when running.
[0009] According to another aspect of the embodiments of this application, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the aforementioned pop-up window interception control method.
[0010] According to another aspect of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to execute the pop-up window interception control method through the computer program.
[0011] In this embodiment of the invention, pop-up information sent by multiple terminals is first collected, whereby the pop-up information refers to the attribute information of the pop-up windows displayed on the terminals. Next, the pop-up information is clustered to obtain multiple pop-up cluster sets, where each pop-up window in a cluster set contains pop-up windows with the same display characteristics. Pop-up content is identified across the multiple pop-up cluster sets. A pop-up blocking condition set is generated using the identified display characteristics of the content promotion pop-ups. The pop-up blocking condition set is then sent to multiple terminals to block content promotion pop-ups that match the condition set. By collecting pop-up information uploaded by multiple terminals and clustering the pop-up windows based on this information, the clustering characteristics of the pop-up information currently reported by the user are determined. Based on these clustering characteristics, the blocking control method is accurately determined, improving the accuracy of window blocking and solving the technical problem of low accuracy in blocking existing advertising pop-ups. Attached Figure Description
[0012] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0013] Figure 1 This is a schematic diagram of the hardware environment for an optional pop-up window interception and control method according to an embodiment of the present invention;
[0014] Figure 2 This is a flowchart of an optional pop-up blocking control method according to an embodiment of the present invention;
[0015] Figure 3 This is a schematic diagram of an optional pop-up window interception control method according to an embodiment of the present invention;
[0016] Figure 4 This is a schematic diagram of another optional pop-up window interception control method according to an embodiment of the present invention;
[0017] Figure 5 This is a flowchart of another optional pop-up blocking control method according to an embodiment of the present invention;
[0018] Figure 6 This is a flowchart of another optional pop-up window interception and control method according to an embodiment of the present invention;
[0019] Figure 7 This is a flowchart of another optional pop-up window interception and control method according to an embodiment of the present invention;
[0020] Figure 8 This is a timing diagram of an optional pop-up window interception control method according to an embodiment of the present invention;
[0021] Figure 9 This is a schematic diagram of an optional pop-up blocking control device according to an embodiment of the present invention;
[0022] Figure 10 This is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present invention. Detailed Implementation
[0023] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0024] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0025] It should be noted that, in this application, before obtaining the pop-up information sent by the terminal, it is necessary to obtain the user's authorization in accordance with legal provisions before collecting the pop-up information.
[0026] The following explains the technical terms used in this application:
[0027] Pop-up ads: Advertisements that pop up on a user's device by software, usually appearing as a small window in the lower right corner of the display interface;
[0028] Process (process name): During the execution of an application, a specific .exe software will run. This .exe software is called a process, and the file name of the .exe is the process name.
[0029] OCR (Optical Character Recognition): Optical character recognition is the process of translating shapes into text using character recognition methods.
[0030] According to one aspect of the present invention, a method for blocking and controlling pop-ups is provided. As an optional implementation, the above-described method for blocking and controlling pop-ups can be applied to, but is not limited to, situations such as... Figure 1 The pop-up interception control system shown consists of server 102 and terminal device 104. For example... Figure 1As shown, server 102 is connected to terminal device 104 via network 110. This network may include, but is not limited to, wired networks and wireless networks. The wired network includes local area networks (LANs), metropolitan area networks (MANs), and wide area networks (WANs). The wireless network includes Bluetooth, Wi-Fi, and other networks enabling wireless communication. The terminal device may include, but is not limited to, at least one of the following: mobile phones (such as Android phones, iOS phones, etc.), laptops, tablets, PDAs, MIDs (Mobile Internet Devices), PADs, desktop computers, smart TVs, in-vehicle devices, etc. The terminal device also includes a display, a processor, and a memory. The display shows the current terminal's interface and pop-up windows to be processed. The processor processes pop-up windows using a set of blocking conditions; for example, if the current window's characteristics match the pop-up window's blocking conditions, the current window is canceled. The memory is used to process the pop-up window's blocking conditions. Understandably, when a pop-up window is detected in the terminal device 104, relevant pop-up window information is obtained, and the pop-up window information is compared with the interception condition set. If the comparison is successful, the current window is canceled; if the comparison fails, the pop-up window information is sent to the server for cluster analysis. The terminal device 104 can send the pop-up window information to be analyzed to the server 102 via network 110. When the server 102 receives multiple pop-up window information from multiple terminals, it performs cluster analysis based on the obtained pop-up window information to obtain a pop-up window interception condition set that matches the analysis results. The terminal device 104 can receive the updated pop-up window interception condition set returned by the server 102 via network 110 and perform window interception based on the updated pop-up window interception condition set. The server 102 can be a single server, a server cluster consisting of multiple servers, or a cloud server. The server includes a database and a processing engine. The database may include pop-up window information received from multiple terminals and a method for determining the corresponding pop-up window interception condition set based on the cluster analysis results.
[0031] According to one aspect of the present invention, the above-mentioned pop-up interception control system may further perform the following steps: the terminal device 104 performs step S102, comparing the pop-up information of the current pop-up with the first pop-up interception condition set; then performs step S104, in the case of failure of comparison, sending the pop-up information of the current pop-up, which can be understood as, in the case of success of comparison, intercepting the current pop-up; as in step S106, the terminal device 104 sends the pop-up information of the current pop-up to the server 102 through the network 110; the server 102 performs steps S108 to S114, collecting the pop-up information sent by multiple terminals respectively, wherein the pop-up information is the attribute information of the pop-up window displayed on the terminal. The pop-up windows are clustered based on their information to obtain multiple pop-up cluster sets, where each cluster contains pop-up windows with the same display characteristics. If a content promotion pop-up is identified from these clusters, a pop-up blocking condition set is generated using its display characteristics. This condition set is then sent to multiple terminals to control the terminals to block content promotion pop-ups that match the condition set. Next, server 102 executes step S116, sending an updated pop-up blocking condition set to terminal device 104 via network 110. Terminal device 104 executes step S118, blocking the pop-up based on the updated condition set. It is understood that if terminal device 104 has sufficient computing power, steps S108 to S116 can also be performed on terminal device 104.
[0032] In the above embodiments of this application, pop-up information sent by multiple terminals is first collected, wherein the pop-up information is the attribute information of the pop-up window displayed on the terminal; then, the pop-up information is clustered to obtain multiple pop-up cluster sets, wherein the pop-up windows in each pop-up cluster set are pop-up windows with the same type of display characteristics; pop-up content is identified for multiple pop-up cluster sets; pop-up blocking condition sets are generated using the identified display characteristics of content promotion pop-ups; and pop-up blocking condition sets are sent to multiple terminals to block content promotion pop-ups that match the pop-up blocking condition sets. By collecting pop-up information uploaded by multiple terminals and performing clustering processing on pop-up windows based on the pop-up information, the clustering characteristics of the pop-up information currently reported by the user are determined, and the blocking control method is accurately determined based on the clustering characteristics, thereby improving the accuracy of window blocking and solving the technical problem of low blocking accuracy of existing advertising pop-ups.
[0033] The above is merely an example, and no limitation is made in this embodiment.
[0034] As an optional implementation method, such as Figure 2 As shown, the method for blocking and controlling the above pop-up window includes the following steps:
[0035] S202, collect pop-up information sent by multiple terminals, wherein the pop-up information is the attribute information of the pop-up window displayed on the terminal;
[0036] First, let's explain the concept of pop-up windows. These pop-up windows can be any type of window that automatically appears and displays on the terminal device's interface. For example, these windows can include, but are not limited to, browser windows, advertising windows, and news information windows. It is understandable that during the interaction between the identified user and the terminal device's interface, these pop-up windows, which automatically appear on the terminal interface, can cause inconvenience for the identified user.
[0037] It should also be noted that before collecting pop-up information sent by multiple terminals, authorization from the respective identifiers of each terminal is required to receive pop-up information from multiple terminals under certain conditions. The aforementioned pop-up information may include, but is not limited to: the process identifier corresponding to the pop-up window, the window identifier of the pop-up window, the display position of the pop-up window, the size of the pop-up window, and the image of the pop-up window. The above is merely an illustrative example and does not limit the specific content of the aforementioned pop-up information.
[0038] As an optional approach, before collecting pop-up windows sent by multiple terminals, dual authorization permissions must be obtained for each terminal's corresponding identifier. These permissions include a first permission to intercept the pop-up windows and a second permission to upload the pop-up information.
[0039] In one alternative approach, prior to collecting the pop-up information sent by each of the multiple terminals, the following may also be included:
[0040] S1, if the pop-up blocking function is detected to be off, display the first function prompt window, wherein the first function prompt window is used to obtain authorization to start the pop-up blocking function;
[0041] S2, in response to the selection operation of the interception type, confirm that the pop-up window for the selected interception type will start the interception function;
[0042] S3, when the pop-up blocking function is detected to be in the activated state, pop-up notifications are detected in real time. The pop-up notifications are used to indicate the pop-up window to be displayed.
[0043] S4, If the window information of the current pop-up window indicated by the detected pop-up notification matches the interception condition set, the current pop-up window is intercepted;
[0044] S5, if the window information of the current pop-up window indicated by the detected pop-up notification does not match the interception condition set, detect the running status of the window information collection function;
[0045] S6, when the window information collection function is not started, a second function prompt window is displayed, wherein the second function prompt window is used to prompt for obtaining authorization to start the window information collection function;
[0046] S7, when the window information collection function is enabled, reports the window information of the current pop-up window.
[0047] To illustrate the aforementioned dual licensing method in a specific way, such as... Figure 3 As shown, the above window collection operation is achieved through the application "Security Manager" running on the terminal. Before performing the collection operation through "Security Manager", the following is displayed: Figure 3 The first authorization interface shown grants initial permission for the currently identified object to intercept the pop-up window. For example... Figure 3 As shown, the identified object can, through authorized operations, block pop-ups of types such as "illegal pop-ups," "news and information," and "promotional pop-ups" on the current terminal device via the "security manager" running on the terminal device.
[0048] like Figure 4 As shown, this interface obtains a second permission from the identified object to collect pop-up information. And if the identified object selects the "Join" control, it is determined that the current identified object has authorized the current application to collect pop-up information from the current terminal. Figure 4 As shown in the diagram, the authorization interface allows you to obtain authorization for the current identified object to collect pop-up images.
[0049] S204, cluster the pop-up information to obtain multiple pop-up cluster sets, wherein the pop-up windows in each pop-up cluster set are pop-up windows with the same type of display characteristics;
[0050] After collecting pop-up information from multiple terminals, the collected pop-up windows are clustered based on this information. It is understood that these multiple pop-up clusters can be obtained based on pop-up category display characteristics. For example, a preliminary classification of the collected pop-up windows can yield clusters such as "suspected advertising pop-ups," "suspected news pop-ups," and "suspected malicious pop-ups." Another clustering method can be based on the display characteristics of the process identifier corresponding to each pop-up, such as clustering "Software A pop-ups," "Software B pop-ups," and "Software C pop-ups." Yet another clustering method can be based on the pop-up's position display characteristics, such as clustering "bottom right corner pop-ups," "centered pop-ups," and "full-screen pop-ups." The above clustering methods are merely illustrative and do not limit the clustering methods in specific embodiments.
[0051] S206, perform pop-up content recognition on multiple pop-up cluster sets;
[0052] S208, Generate a set of pop-up blocking conditions using the identified display characteristics of the content promotion pop-up;
[0053] It is understandable that the aforementioned content promotion pop-up can be considered an advertising pop-up used to promote a merchant's products or services. It should be noted that in actual content promotion pop-ups, there may be pop-ups "disguised" in various other forms. For example, pop-up A might have the title "Freshly Released News!", initially identifying it as a "news" pop-up, but its actual content is promotional information. Therefore, this type of pop-up would still be identified as a content promotion pop-up.
[0054] In one optional approach, after obtaining multiple pop-up cluster sets through preliminary clustering, identification operations can be performed on each pop-up cluster set separately to obtain a pop-up blocking condition set corresponding to each pop-up cluster set by promoting the display features of the pop-up based on the content corresponding to each pop-up cluster set. In another optional approach, after performing preliminary clustering operations on the pop-up windows, category labels can be marked for the pop-up windows in different pop-up cluster sets, and then pop-up identification can be performed on the pop-up sets marked with category labels, thereby generating a pop-up blocking condition set by promoting the display features of the pop-up based on the content corresponding to multiple pop-up cluster sets.
[0055] The following explains the aforementioned pop-up blocking condition set. This condition set can be sent to the terminal for blocking pop-ups that match it. For example, if the identified content pop-up advertisement's display characteristics satisfy the features "the pop-up window's process corresponds to software A," "the pop-up location is the lower right corner," and "the window title includes the text 'advertisement'," then these features can be used as one of the conditions in the pop-up blocking condition set. When the above pop-up blocking conditions are sent to the terminal, pop-ups that meet all three conditions are identified as content promotion pop-ups, and these are blocked. The above method of generating a pop-up blocking condition set using the display characteristics of the content promotion pop-up is merely an example and does not limit the actual operation method.
[0056] S210 sends a pop-up blocking condition set to multiple terminals to block content promotion pop-ups that match the pop-up blocking condition set.
[0057] As an alternative approach, the above-mentioned interception method could be that after the terminal displays the pop-up window, the terminal cancels the display of the pop-up window according to the configured interception rules; alternatively, after the terminal displays the pop-up window, the process could be terminated according to the process identifier corresponding to the pop-up window. The above interception methods are merely examples and do not limit the specific interception methods in the embodiments of this application.
[0058] Understandably, when multiple pop-up window information is received from multiple terminals, clustering and identification operations are performed on the pop-up window information. A set of pop-up window blocking conditions is generated based on the display features corresponding to the identification results. Multiple terminals are then controlled to block pop-up windows that meet any one of the blocking conditions in this set. It is also understandable that, since the aforementioned set of pop-up window blocking conditions is confirmed through clustering, identification, and transformation operations based on pop-up window information from multiple terminals, the updated set of conditions can include the latest display features of content promotion pop-ups, thereby enabling precise blocking of advertising pop-ups.
[0059] In the above embodiments of this application, pop-up information sent by multiple terminals is first collected, wherein the pop-up information is the attribute information of the pop-up window displayed on the terminal; the pop-up windows are clustered according to the pop-up information to obtain multiple pop-up cluster sets, wherein the pop-up windows in each pop-up cluster set are pop-up windows with the same type of display characteristics; when a content promotion pop-up is identified from the multiple pop-up cluster sets, a pop-up blocking condition set is generated using the display characteristics of the content promotion pop-up; the pop-up blocking condition set is sent to multiple terminals to control the terminals to block content promotion pop-ups that match the pop-up blocking condition set. By collecting pop-up information uploaded by multiple terminals and performing clustering processing on the pop-up windows based on the pop-up information, the clustering characteristics of the pop-up information currently reported by the user are determined, and the blocking control method is accurately determined based on the clustering characteristics, thereby improving the accuracy of window blocking and solving the technical problem of low blocking accuracy of existing advertising pop-ups.
[0060] As an optional implementation, after clustering the displayed pop-up windows based on the pop-up information to obtain multiple pop-up cluster sets, the method further includes:
[0061] S1, perform feature recognition on pop-up windows in multiple pop-up cluster sets to identify at least one candidate pop-up window with content promotion features;
[0062] S2, determine the promotion recognition parameters corresponding to each candidate pop-up window in at least one candidate pop-up window;
[0063] S3 identifies candidate pop-up windows whose recognition parameters are greater than the target recognition threshold as content promotion pop-ups.
[0064] As an optional approach, the aforementioned content promotion features can be determined based on the collected pop-up information. For example, if the collected pop-up information includes: the process identifier corresponding to the pop-up window, the window identifier of the pop-up window, the display position of the pop-up window, the size of the pop-up window, and the manufacturer information corresponding to the pop-up window, then content promotion features corresponding to each of the above pop-up information items can be determined, such as: field features contained in the process identifier corresponding to the pop-up window (e.g., the process identifier field includes the "advertisement" field), field features contained in the window identifier of the pop-up window, display position features of the pop-up window, size features of the pop-up window, and manufacturer information features corresponding to the pop-up window, etc. It is understood that in this embodiment, when the aforementioned pop-up information includes multiple pieces of information, and the corresponding pop-up window features will select a pop-up window that satisfies any one of the above multiple features as a candidate pop-up window.
[0065] Understandably, if the identified pop-up window does not have any content promotion characteristics, it can be determined that the current pop-up window is not a content promotion pop-up.
[0066] The following explains the vendor information features corresponding to the aforementioned pop-up windows. It's understandable that the advertising methods of the same software service provider are usually similar. Therefore, for the same software service provider, Company A, the probability of its software A, B, and C displaying pop-up ads is relatively similar. Thus, if it's determined that Company A's software A engages in advertising, it can be assumed that its software B and C are also likely to display pop-up ads. Therefore, during the clustering process, using the vendor information features corresponding to the aforementioned pop-up windows as a selectable content promotion feature, and determining candidate pop-up windows based on this feature, can improve the accuracy of pop-up ad identification.
[0067] If at least one candidate pop-up ad with content promotion characteristics is identified, the promotion identification parameters corresponding to each candidate pop-up window are determined. Candidate pop-ups with promotion identification parameters greater than a target identification threshold are identified as content promotion pop-ups.
[0068] Understandably, the first screening in step S1 yields a set of candidate pop-up windows that satisfy any one of the content promotion features. Since each window in this set only satisfies one content promotion feature, there is a certain probability that each pop-up window in the set is not a content promotion window. Then, a second screening using the promotion identification parameters is performed to identify the candidate pop-up windows with the highest probability of being content promotion windows. Based on these content promotion windows, a pop-up blocking condition set is generated, thereby achieving precise blocking of content promotion windows.
[0069] As an optional implementation, the aforementioned promotion identification parameter can be a parameter indicating the probability that the corresponding candidate pop-up window is a content promotion pop-up window. The larger the parameter value, the greater the probability that the corresponding candidate pop-up window is a content promotion pop-up window. In another optional implementation, the aforementioned promotion identification parameter can be a parameter indicating the number of content promotion features satisfied by the corresponding candidate pop-up window. For example, if there are 20 content promotion features, the aforementioned promotion identification parameter can be a parameter indicating the number of content promotion features matched by the corresponding pop-up window. The above selection method of promotion identification parameter is only an illustrative example and does not limit the method of determining the promotion identification parameter in specific embodiments.
[0070] Through the above-described embodiments of this application, feature recognition is performed on pop-up windows in multiple pop-up cluster sets to identify at least one candidate pop-up window with content promotion features; promotion identification parameters corresponding to each candidate pop-up window are determined; candidate pop-up windows with promotion identification parameters greater than the target identification threshold are identified as content promotion pop-ups. Thus, the collected pop-up windows are first screened using content promotion features to determine the set of all candidate pop-up windows with content promotion feature points, avoiding the omission of content promotion pop-ups; and a second screening is performed using the promotion identification parameters corresponding to each candidate pop-up window to determine the set of pop-up windows that are closest to the real content promotion pop-ups. The determined content promotion pop-ups are then used to determine the pop-up blocking condition set, avoiding the erroneous blocking of non-content promotion pop-ups. Thus, the above two screening operations achieve the technical effect of improving the blocking accuracy of pop-up windows.
[0071] As an optional implementation, the above-mentioned feature recognition of pop-up windows in multiple pop-up window clusters to identify at least one candidate pop-up window with content promotion features includes:
[0072] S1, filter multiple pop-up clusters according to content promotion conditions to obtain a reference pop-up set;
[0073] S2 identifies pop-up windows carrying content promotion identifiers within the reference pop-up window set as candidate pop-up windows with content promotion characteristics.
[0074] In this embodiment, the aforementioned content promotion conditions may include the display position and size of the pop-up window. Given multiple pop-up cluster sets, these clusters are filtered based on the aforementioned conditions, and pop-up windows that satisfy any one of the aforementioned content promotion conditions are used as reference pop-ups. Further, based on the reference pop-up set, pop-up windows carrying content promotion identifiers within the reference pop-up set are identified as candidate pop-up windows with promotional content characteristics. It is understood that the aforementioned content promotion identifier may be advertising information contained in the window title or the corresponding process name, and pop-up windows that meet this condition are then used as candidate pop-up windows.
[0075] Through the above-described implementation method of this application, multiple pop-up cluster sets are filtered according to content promotion conditions to obtain a reference pop-up set; pop-up windows carrying content promotion identifiers in the reference pop-up set are identified as candidate pop-up windows with content promotion characteristics, thereby accurately determining candidate pop-up windows with content promotion characteristics based on multiple screenings, thus improving the accuracy of pop-up window interception.
[0076] As an optional implementation, after filtering multiple pop-up clusters according to content promotion conditions to obtain a reference pop-up set, the method further includes:
[0077] S1, perform content recognition on the screen displayed in the pop-up window that does not carry content promotion logo, and obtain the screen recognition result;
[0078] S2, when content promotion elements appear in the content of the screen in the pop-up window indicating the screen recognition results, count the number of times the content promotion elements appear;
[0079] S3. Based on the statistical results, identify pop-up windows that meet the recognition criteria for content promotion elements, and recognize these pop-up windows as candidate pop-up windows with content promotion characteristics.
[0080] It is understandable that in the above steps, the identification of the content promotion identifier can be determined directly based on the window text information of the pop-up window. If the current pop-up window cannot be determined as a candidate pop-up window based on the above text information, the image recognition of the window is then used to determine whether the current pop-up window meets the content promotion characteristics.
[0081] The aforementioned content promotion elements may include, but are not limited to, elements such as advertising labels, ad tags (ad labels in English form), and news information text included in the window image. It should be noted that, in practice, some content promotion windows may "disguise" themselves as news information; therefore, using news information text as a recognition element for candidate pop-up windows can improve the accuracy of content promotion window identification.
[0082] The following explains the method for calculating the frequency of the aforementioned content promotion elements. When a large number of pop-up windows are obtained, clustering is performed based on the window identifiers of the same pop-up windows. That is, pop-up windows with the same window identifier are grouped into a set, and the frequency of the aforementioned content promotion elements appearing in the pop-up windows within that set is calculated. Specifically, the calculation method is: Total number of occurrences of the content promotion element in the pop-up window set of the same pop-up / Number of pop-ups with the same identifier = Frequency of the content promotion element appearing in that pop-up window.
[0083] In another way to count the frequency of content promotion elements, different elements can be assigned weights. For example, the weight of "ad tag" can be set to 5, the weight of "ad label" to 5, and the weight of "news text" to 1. The frequency of content promotion elements appearing in the pop-up can then be calculated as follows: Frequency of content promotion elements appearing in pop-up A = (Number of occurrences of "ad tag" in pop-up A's pop-up set * 5 + Number of occurrences of "ad label" in pop-up A's pop-up set * 5 + Number of occurrences of "news text" in pop-up A's pop-up set * 1) / Number of pop-ups in pop-up A. This calculation method is merely an example and does not limit the actual method for counting the frequency of content promotion elements.
[0084] Through the above-described embodiments of this application, the screen content displayed in a pop-up window that does not carry a content promotion label is identified to obtain a screen recognition result; when the screen recognition result indicates that a content promotion element appears in the screen content of the pop-up window, the frequency of occurrence of the content promotion element is counted; based on the statistical results, pop-up windows that meet the recognition conditions for content promotion elements are determined, and these pop-up windows are identified as candidate pop-up windows with content promotion characteristics. Furthermore, when the content promotion label cannot be directly obtained from the text information of the pop-up window, the image content of the pop-up window is identified, and the content promotion elements appearing in the identified content are counted. Pop-up windows that meet the statistical conditions are then used as candidate pop-up windows, thereby reducing the probability of identifying non-content promotion pop-ups as content promotion pop-ups and improving the accuracy of intercepting content promotion pop-ups.
[0085] As an optional implementation, the above-mentioned filtering of multiple pop-up clusters according to content promotion conditions yields a reference pop-up set including:
[0086] S1, determine the configured content promotion conditions, wherein the content promotion conditions include at least one of the following: the software to which the pop-up window belongs has a content promotion history, the number of times the pop-up window is displayed is greater than the target threshold, and the pop-up window is displayed in the content promotion position.
[0087] S2, select pop-up windows that meet the content promotion conditions from multiple pop-up cluster sets to obtain a reference pop-up set.
[0088] In this embodiment, pop-up windows can be filtered using the aforementioned content promotion conditions to obtain a reference pop-up window set. It is understood that the conditions in the aforementioned content promotion conditions are common attributes of content promotion pop-ups, and candidate pop-ups are preferentially selected from those that meet these attributes. The aforementioned content promotion conditions include: the software to which the pop-up window belongs has a content promotion history, the number of times the pop-up window is displayed is greater than a target threshold, and the pop-up window is displayed in a content promotion location. The number of times the pop-up window is displayed can be determined based on the total number of times the same pop-up window appears in the collected pop-up window set.
[0089] Through the above-described embodiments of this application, by determining the configured content promotion conditions, wherein the content promotion conditions include at least one of the following: the software to which the pop-up window belongs has a content promotion history, the number of times the pop-up window is displayed is greater than a target threshold, and the display position of the pop-up window is located in a content promotion position; pop-up windows that meet the content promotion conditions are selected from multiple pop-up window cluster sets to obtain a reference pop-up window set, and then a reference pop-up window set is initially selected based on the content promotion conditions for subsequent further selection to obtain candidate pop-up windows, thereby improving the recognition accuracy of pop-up windows.
[0090] As an optional implementation, determining the promotion identification parameters corresponding to each candidate pop-up window in at least one candidate pop-up window includes: traversing at least one candidate pop-up window, taking each candidate pop-up window as the current candidate pop-up window, and performing the following operations:
[0091] S1, determine the current window feature parameter set corresponding to the current candidate pop-up window;
[0092] S2, obtain the feature values and weights matched by each window feature parameter in the current window feature parameter set;
[0093] S3, perform a weighted summation of the feature values and weights to obtain the current promotion and recognition parameters corresponding to the current candidate pop-up window.
[0094] The following section illustrates the method for calculating and generalizing the identification parameters. Assume the current window features include:
[0095] Feature 1: The window title includes advertising information;
[0096] Feature 2: The process title includes advertising information;
[0097] Feature 3: The window image includes an ad label.
[0098] The methods for determining the basic feature values corresponding to the above three features and their corresponding weights are as follows:
[0099] Feature 1: If this feature is satisfied, the feature value is 10; if this feature is not satisfied, the feature value is 0; the weight is 10.
[0100] Feature 2: If this feature is satisfied, the feature value is 10; if this feature is not satisfied, the feature value is 0; the weight is 10.
[0101] Feature 3: If this feature is satisfied, the corresponding feature value is obtained based on the frequency of the included advertising tags; the weight is 0.01.
[0102] Suppose that the title of the current pop-up window A includes advertising information, but the process title does not. The frequency of the advertising tag included in its window image is 1000. Then the corresponding current window feature parameter set is (10, 0, 1000). Since the corresponding weights are (10, 10, 0.01), the promotion identification parameter of pop-up window A is determined to be 10*10+0*10+1000*0.01=20.
[0103] Assuming that the title of pop-up window B does not contain advertising information, and the process title also does not contain advertising information, and the frequency of the advertising tag included in its window image is 1500, then its corresponding current window feature parameter set is (0, 0, 1500). Since the corresponding weights are (10, 10, 0.01), the promotion identification parameter of pop-up window B is determined to be 0*10+0*10+1500*0.01=15.
[0104] Through the above-described embodiments of this application, the current window feature parameter set corresponding to the current candidate pop-up window is determined; the feature values and weights of each window feature parameter in the current window feature parameter set are obtained; the feature values and weights are weighted and summed to obtain the current promotion identification parameters corresponding to the current candidate pop-up window, thereby accurately determining the promotion identification parameters of each candidate pop-up window, and determining the candidate pop-up window that meets the promotion identification parameter conditions as a content promotion pop-up window, thereby improving the recognition accuracy of content promotion pop-ups.
[0105] As an optional implementation, the above-mentioned method of generating a pop-up blocking condition set based on the display characteristics of content promotion pop-ups includes:
[0106] S1, convert the display characteristics of the content promotion pop-up into corresponding pop-up blocking conditions to obtain a pop-up blocking condition set;
[0107] S2 generates an interception configuration file based on the pop-up interception condition set.
[0108] It should be noted that in this embodiment, pop-up blocking conditions can be configured for different software content promotion pop-ups according to software classification. For example, for window 'a' of software A, its display characteristics are: the title contains information; the window position is in the lower right corner of the interface; and the window contains the advertising element "ad". These display characteristics are then used as the pop-up blocking conditions for window 'a' of software A. Since software A may have multiple pop-up windows b, c, and d, and according to the above clustering results, they are all content promotion pop-ups, the display characteristics corresponding to windows b, c, and d are used as their respective pop-up blocking conditions. The four pop-up blocking conditions corresponding to windows a, b, c, and d are then used as the pop-up blocking condition set for software A, and the pop-up blocking condition set for software A is rendered to obtain the corresponding blocking configuration file.
[0109] In another alternative approach, multiple software-related pop-up blocking condition sets can be jointly rendered to obtain a blocking configuration file. When blocking pop-ups based on the aforementioned blocking configuration file, the software information corresponding to the current pop-up is first verified, and pop-up identification and blocking are performed based on the pop-up blocking condition set corresponding to the software information.
[0110] Through the above-described embodiments of this application, the display characteristics of content promotion pop-ups are converted into corresponding pop-up blocking conditions to obtain a pop-up blocking condition set; a blocking configuration file is generated based on the pop-up blocking condition set to determine the pop-up blocking conditions corresponding to each pop-up; and a pop-up blocking condition set corresponding to the same software is determined based on multiple pop-up blocking conditions of the same software. Furthermore, if the pop-up blocking conditions of a software change, the pop-up blocking condition set of that software can be updated separately, avoiding a complete update of the blocking configuration file, improving the update efficiency of the blocking configuration file, and thus enhancing the accuracy of blocking advertising pop-ups.
[0111] As an optional implementation, after sending a pop-up blocking condition set to multiple terminals to control the terminals to block content promotion pop-ups that match the pop-up blocking condition set, the method further includes:
[0112] S1, send the interception configuration file carrying the pop-up interception condition set to multiple terminals, so as to control the terminals to intercept the content promotion pop-up that matches at least one pop-up interception condition in the pop-up interception condition set according to the interception configuration file;
[0113] S2, receive the pop-up interception processing result returned by the terminal, wherein the pop-up interception processing result carries the target pop-up window intercepted by the terminal.
[0114] Understandably, given a preliminary interception configuration file containing a set of pop-up blocking conditions, pop-ups that meet any one of the conditions can be blocked, and the blocking result can be fed back. The server then updates or adjusts the interception configuration file based on the feedback.
[0115] In another optional implementation, after sending a pop-up blocking condition set to multiple terminals to control the terminals to block content promotion pop-ups that match the pop-up blocking condition set, the following may also be included:
[0116] S1, send the interception configuration file carrying the pop-up interception condition set to multiple terminals, so as to control the terminals to obtain content promotion pop-ups that are consistent with at least one pop-up interception condition in the pop-up interception condition set according to the interception configuration file;
[0117] S2, the target pop-up window returned by the receiving terminal.
[0118] It should be noted that, in this embodiment, the control terminal can collect content promotion pop-ups that meet any one of the pop-up blocking conditions based on the initially determined blocking configuration file carrying the pop-up blocking condition set, and obtain the pop-up windows collected by the terminal to verify the expected blocking effect of the initially determined blocking configuration file carrying the pop-up blocking condition set.
[0119] Through the above-described embodiments of this application, an interception configuration file carrying a set of pop-up interception conditions is sent to multiple terminals to control the terminals to intercept pop-ups that match at least one pop-up interception condition in the pop-up interception condition set according to the interception configuration file; the terminals receive pop-up interception processing results returned by the terminals, wherein the pop-up interception processing results carry the target pop-up window intercepted by the terminals, thereby intercepting pop-ups on the terminals based on the interception configuration file sent to multiple terminals, and obtaining the interception results in real time to immediately feed them back to the server for verification, thereby improving the accuracy of pop-up window interception.
[0120] As an optional implementation, after receiving the pop-up blocking processing result returned by the receiving terminal, the following further steps are included:
[0121] S1, verify the received target pop-up window;
[0122] S2, if the verification result indicates that at least one target pop-up window received is not a content promotion pop-up, update the pop-up blocking condition set.
[0123] It should be noted that the above-mentioned method of verifying the target pop-up window can be manual verification. It is understood that in this embodiment, by verifying the received target window, the interception effect of the initially released interception configuration file is checked, and the interception condition set is updated or adjusted in a timely manner based on the interception effect. In an optional approach, if the initially obtained target window contains other non-content promotion windows, further cluster analysis is needed to add more filtering conditions to improve the accuracy of interception.
[0124] The above-described embodiments of this application are used to verify the received target pop-up window; when the verification result indicates that at least one received target pop-up window is not a content promotion pop-up window, the pop-up window blocking condition set is updated, thereby verifying the blocking result in real time based on the target pop-up window fed back by the terminal, and making dynamic adjustments based on the verification result, thereby improving the accuracy of blocking.
[0125] The following combination Figure 5 A specific implementation method that can be applied to the server side is described.
[0126] For example, in step S502, a set of window information feedback from multiple terminals is obtained;
[0127] It should be noted that before this step, dual authorization of the terminal's identifier object is required to obtain the user's feedback window information. Specifically, if the terminal has obtained authorization, the current pop-up window of the terminal is first intercepted based on the original interception condition file. If the current pop-up window of the terminal matches the conditions in the original interception condition file, the interception operation is performed; if the current pop-up window of the terminal does not match the conditions in the original interception condition file, the terminal sends window information to the server, and the server then obtains the window information fed back by the terminal.
[0128] Specifically, the method for obtaining dual authorization for the identified object may include: S1, when the pop-up blocking function is detected to be off, displaying a first function prompt window, wherein the first function prompt window is used to obtain authorization to start the pop-up blocking function; S2, in response to the selection operation of the blocking type, determining to start the blocking function for the selected blocking type of pop-up window; S3, when the pop-up blocking function is detected to be on, detecting pop-up notifications in real time, wherein the pop-up notifications are used to indicate the pop-up window to be displayed; S4, when the window information of the current pop-up window indicated by the detected pop-up notification matches the blocking condition set, blocking the current pop-up window; S5, when the window information of the current pop-up window indicated by the detected pop-up notification does not match the blocking condition set, detecting the running status of the window information collection function; S6, when the window information collection function is off, displaying a second function prompt window, wherein the second function prompt window is used to prompt for obtaining authorization to start the window information collection function; S7, when the window information collection function is on, reporting the window information of the current pop-up window.
[0129] To illustrate the aforementioned dual licensing method in a specific way, such as... Figure 3 As shown, the above window collection operation is achieved through the application "Security Manager" running on the terminal. Before performing the collection operation through "Security Manager", the following is displayed: Figure 3 The first authorization interface shown grants initial permission for the currently identified object to intercept the pop-up window. For example... Figure 3 As shown, the identified object can, through authorized operations, block pop-ups of types such as "illegal pop-ups," "news pop-ups," and "promotional pop-ups" on the current terminal device via the "security manager" running on the terminal device. For example... Figure 4 As shown, this interface obtains a second permission from the identified object to collect pop-up information. And if the identified object selects the "Join" control, it is determined that the current identified object has authorized the current application to collect pop-up information from the current terminal. Figure 4 As shown in the diagram, the authorization interface allows you to obtain authorization for the current identified object to collect pop-up images.
[0130] Next, each piece of window information in the window information set is processed as follows, such as step S504, determining whether the window title or process name contains advertising information. If the window title or process name contains advertising information, step S504-1 is executed to determine that the current pop-up is a suspected advertising window; if neither the window title nor the process name contains advertising information, step S504-2 is executed to perform OCR text recognition on the window image.
[0131] As an optional approach, the above judgment conditions may also include: the server statistically analyzes the obtained pop-up information based on factors such as the number of times the window pops up, whether the software to which the window process belongs has a history of pop-ups, and whether the pop-up is located in the lower right corner, and performs cluster analysis on the obtained windows. Priority is given to filtering windows that meet all N conditions, such as the software history of pop-up ads, a high number of pop-up windows, and the pop-up location being in the lower right corner; windows that satisfy 1-(N-1) of these conditions are then selected.
[0132] The machine automatically determines whether the window title and process information contain advertising information. If they do, the window is suspected of being an advertising window. For windows without advertising in the title and process, the next step is to determine them through OCR text recognition.
[0133] It should be noted that in this embodiment, multiple window information reports from multiple terminals are filtered using the above method to determine the set of suspected advertising windows. It should also be noted that the aforementioned criterion "whether the window title or process name contains advertising information" is only one optional condition. In specific embodiments, there can be multiple criteria, such as the number of times the window pops up, whether the software to which the window process belongs has a history of pop-ups, and whether the pop-up is located in the lower right corner. If any one of these conditions is met, the current window can be determined to be a suspected advertising window.
[0134] After performing OCR text recognition on the window image in step S504-2, step S506 is executed to determine whether the image contains an advertising tag. If the image contains an advertising tag, step S506-1 is executed to determine that the current pop-up window is a suspected advertising window. If the image does not contain an advertising tag, step S506-2 is executed to determine that it is a normal window.
[0135] Specifically, text recognition is used to filter out advertisements, news, and other information in the window and add tags to mark them as suspected advertisements. The frequency of occurrence of advertising elements, such as ad tags, ad labels, and news text, is counted and weighted according to the frequency of occurrence.
[0136] It should be noted that if the current window does not meet the conditions in step S504 above, OCR recognition is performed on the current window to further determine the pop-up window. It is understandable that the judgment operation performed after OCR recognition of the current pop-up window may include multiple conditions. A pop-up window that meets any one of these conditions can be identified as a suspected advertising pop-up window, while a pop-up window that does not meet any of the above conditions is ultimately identified as a normal pop-up window.
[0137] S508, configures and collects configuration rules based on window process, title, size, and position information;
[0138] Specifically, the advertising weight values of pop-up windows are sorted, and then windows with a weight higher than a certain value are filtered in turn. The configuration file of suspected advertising windows is automatically generated based on the window information, and the configuration file of suspected advertising windows is distributed to collect window information.
[0139] It should be noted that in this step, the ad weight value of each ad pop-up in the suspected ad pop-up is first determined based on the matching of each ad pop-up in the condition set with the conditions in the condition set. Then, windows with a weight higher than a certain preset weight are filtered out, and a suspected ad pop-up configuration file is generated based on the filtered suspected ad pop-ups.
[0140] S510, through enhanced planning, accurately collects the aforementioned window information;
[0141] For example, in step S512, it is determined whether all the collected windows are advertisements. If there are non-pop-up advertisements, S512-1 is executed to determine that they are non-pop-up advertisements; if all of them are advertisements, S512-2 is executed, indicating that this window is an advertisement window and can be configured to be blocked.
[0142] S514 issues the interception rules configured according to the collected configuration rules.
[0143] It should be noted that in the above steps, the reported windows are first precisely matched using the configuration file. If all reported windows are pop-up ads, the window corresponding to the configuration rule is determined to be a pop-up ad, and ad blocking is performed based on this configuration rule. If the windows collected through this rule include non-pop-up windows, further cluster analysis is needed to add more filtering conditions. For windows that have been identified as pop-up ads, pop-up ads are blocked by adding blocking configuration rules.
[0144] The following combination Figure 6 This paper describes one implementation method on the terminal side.
[0145] It should be noted that, in this embodiment, the process of a pop-up blocking rule for a software taking effect on the terminal side can be divided into three different stages:
[0146] In the first phase (since this is the initial interception, the local system does not include interception rules for software A, and interception can only be based on other rules), the terminal attempts to intercept the pop-up window of software A according to the local first interception rule. If the interception fails, the terminal sends the pop-up window information of software A; the server then responds based on the feedback information from the terminal. Figure 5 The steps in the process are used to obtain the collection configuration rules for software A and then distribute them to the terminal.
[0147] Second stage (terminal receives the above collection configuration rules): The terminal performs collection operations on the pop-up window of software A based on the received collection configuration rules and sends the collection results back to the server; the server verifies the collection configuration rules based on the feedback results and obtains the pop-up window blocking rules of software A based on the verification results.
[0148] The third stage (terminal receives the above-mentioned interception rules): The terminal intercepts the pop-up window of software A based on the received interception configuration rules. This embodiment mainly describes the steps of the second stage mentioned above.
[0149] It is understood that this implementation method can correspond to Figure 5 After the server completes S510 and accurately collects the aforementioned window information through the enhanced plan, the implementation method on the terminal side is as follows: Taking the collection configuration rule issued by the server as the advertising collection configuration rule for software A as an example, the terminal executes step S602 to obtain the collection configuration rule;
[0150] Next, the terminal executes step S604 to detect the pop-up notification from software A;
[0151] Execute judgment step S606 to determine whether software A window is open. If software A window is detected to be open, execute step S608 to capture and receive the pop-up notification that software A window is open. If software A window is not detected to be open, repeat execution step S604.
[0152] Next, execute judgment step S610 to determine whether the pop-up window matches the interception rule. If the current pop-up window matches the interception rule, execute step S610-1 to directly intercept the current window. If the current pop-up window does not match the interception rule, continue to execute judgment step S612 to determine whether the current window meets the collection configuration rules of software A. If the collection configuration rules are not met, execute step S612-1 to do not perform the upload operation. If the collection configuration rules are met, execute step S612-2 to send it to the server.
[0153] S614, Receive the interception rules updated based on the verification result;
[0154] S616, based on updated interception rules, intercepts the window of software A.
[0155] The following combination Figure 7 Another implementation of this application in a terminal will be described. Figure 7 This section mainly introduces the implementation method of the first stage mentioned above.
[0156] As in step S702, initialize;
[0157] Specifically, start the terminal and initialize the client's settings configuration, and obtain the user's on / off configuration results for enabling pop-up-related functions;
[0158] Next, step S704 is executed to determine whether the function is enabled. If the function is enabled, step S704-2 is executed to monitor the notification popped up in the pop-up window; if the function is not enabled, step S704-1 is executed to guide the user to enable the function.
[0159] Specifically, check whether pop-up blocking is enabled. If not, guide the user to enable pop-up blocking and have the user click "Enable All".
[0160] Next, execute step S706 to determine whether the window is open. If it is not open, confirm step S706-1, no window opening notification is received, and return to S706. If a window is currently open, execute step S706-2 to capture and receive the window opening notification.
[0161] Specifically, the system detects notifications of open windows on the terminal to see if any windows are open. If a window is open, it proceeds to the next window judgment step; otherwise, no operation is performed.
[0162] Execute step S708 to determine if the rule is matched. If matched, execute S708-1 to directly intercept the window. If not matched, execute step S708-2 to determine if the user has joined the plan. If the user has not joined the plan, execute step S710-1 to guide the user to join the enhancement plan. If the user has joined the plan, execute step S710-2 to report window information, size, process, title, image, etc.
[0163] Specifically, when a window is detected to be open, the process name, window title, size, and position of the current window are obtained and compared with existing pop-up ad blocking rules. Then, based on the comparison results, it is determined whether it is an existing pop-up ad. If it can be identified as a pop-up ad, it is directly blocked; if no match can be found, it means the current window cannot yet be identified as a pop-up ad.
[0164] Next, it checks whether the current user has joined the enhanced pop-up blocking program. If not, the user is guided to join; if they have, the window information is obtained, encrypted, and uploaded to the backend for evaluation. Finally, the window information acquisition phase ends.
[0165] The following combination Figure 8 A complete implementation of this application will be described.
[0166] As in step S802, the terminal obtains dual authorization for the identified object;
[0167] In a specific way, such as Figure 3 As shown, the above window collection operation is achieved through the application "Security Manager" running on the terminal. Before performing the collection operation through "Security Manager", the following is displayed: Figure 3 The first authorization interface shown grants initial permission for the currently identified object to intercept the pop-up window. For example... Figure 3 As shown, the identified object can, through authorized operations, block pop-ups of types such as "illegal pop-ups," "news pop-ups," and "promotional pop-ups" on the current terminal device via the "security manager" running on the terminal device. For example... Figure 4 As shown, this interface obtains a second permission from the identified object to collect pop-up information. And if the identified object selects the "Join" control, it is determined that the current identified object has authorized the current application to collect pop-up information from the current terminal. Figure 4 As shown in the diagram, the authorization interface allows you to obtain authorization for the current identified object to collect pop-up images.
[0168] Then, as in step S804, the terminal reports a pop-up message;
[0169] Specifically, after the terminal obtains dual authorization from the identified object, it performs preliminary interception and reporting of the pop-up window displayed on the terminal. If the current pop-up window matches the first interception configuration file saved in the terminal, the current pop-up window is intercepted; if the current pop-up window does not match the first interception configuration file saved in the terminal, the pop-up window information of the current pop-up window is reported to the server.
[0170] Step S806: The server determines whether the current pop-up is a suspected pop-up window based on the obtained pop-up information;
[0171] Specifically, the server compares the acquired pop-up information with a set of suspected pop-up conditions. If any condition in the suspected pop-up condition set is met, the current pop-up is determined to be a suspected pop-up window. These conditions may include: whether the window title or process name contains advertising information; whether the number of times the window has popped up exceeds a preset threshold; whether the software to which the window process belongs has a history of pop-ups; whether the pop-up is located in the lower right corner; and whether the image contains advertising tags or elements after OCR text recognition. If the current pop-up window does not meet any of the above conditions, it is determined to be a normal pop-up window.
[0172] For example, in step S808, the server configures a pop-up blocking condition set based on the pop-up information corresponding to the suspected pop-up set;
[0173] Based on the pop-up information corresponding to the suspected pop-up window set obtained by S806, a pop-up blocking condition set can be configured. Specifically, based on the hit status of each suspected pop-up window with the above suspected pop-up condition set, the advertising weight score of each pop-up window can be calculated, and the advertising weight values of the pop-up windows can be sorted. Then, windows with a weight higher than a certain value are filtered in turn, and a suspected advertising window configuration file is automatically generated based on the window information. The configuration file of the suspected advertising window is then distributed to collect window information.
[0174] It should be noted that in this step, the ad weight value of each ad pop-up in the suspected ad pop-up is first determined based on the matching of each ad pop-up in the condition set with the conditions in the condition set. Then, windows with a weight higher than a certain preset weight are filtered out, and a suspected ad pop-up configuration file is generated based on the filtered suspected ad pop-ups.
[0175] As in step S810, the server sends out the interception configuration file;
[0176] It should be noted that the above-mentioned interception configuration file is the second interception configuration file generated based on the above-mentioned interception condition set. This configuration file is used to collect and report advertising windows that meet the interception conditions in order to verify the accuracy of the interception configuration file on the server side.
[0177] For example, in step S812, the terminal sends a collected pop-up window based on the interception configuration file;
[0178] Understandably, the terminal reports windows that meet the interception configuration conditions based on the aforementioned second interception configuration file, so as to verify the accuracy of the interception configuration file on the server side.
[0179] As in step S814, the server verifies the received pop-up window;
[0180] S814-1, if the verification is successful, notify the terminal to perform pop-up blocking based on the verified interception configuration file;
[0181] S814-2, In the event of verification failure, an updated interception configuration file will be issued;
[0182] Specifically, server-side verification can be performed manually. This involves manually verifying pop-up windows collected using the interception configuration file over a specific period. If all pop-up windows collected during that period are advertisements, the current interception configuration file is deemed valid and can be used to block advertisements. If, however, some pop-up windows collected during that period are not advertisements, the accuracy of the current interception configuration file is deemed insufficient, and further adjustments to the interception precision are needed.
[0183] Finally, as in step S816, the terminal intercepts the pop-up window based on the verified interception configuration file.
[0184] Understandably, if the received interception configuration file is an updated configuration file, the terminal continues to collect pop-up windows based on the updated configuration file so that the terminal can perform the next round of verification on the pop-up windows collected by the updated configuration file; if a verification success notification is received from the server, the terminal intercepts pop-up windows based on the verified interception configuration file.
[0185] The above-described implementation method of this application first collects pop-up information sent by multiple terminals, wherein the pop-up information is the attribute information of the pop-up windows displayed on the terminals; the pop-up windows are clustered according to the pop-up information to obtain multiple pop-up cluster sets, wherein the pop-up windows in each pop-up cluster set are pop-up windows with the same type of display characteristics; when a content promotion pop-up is identified from the multiple pop-up cluster sets, a pop-up blocking condition set is generated using the display characteristics of the content promotion pop-up; the pop-up blocking condition set is sent to multiple terminals to control the terminals to block content promotion pop-ups that match the pop-up blocking condition set. By collecting pop-up information uploaded by multiple terminals and performing clustering processing on the pop-up windows based on the pop-up information, the clustering characteristics of the pop-up information currently reported by the user are determined, and the blocking control method is accurately determined based on the clustering characteristics, thereby improving the accuracy of window blocking and solving the technical problem of low blocking accuracy of existing advertising pop-ups.
[0186] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the present invention is not limited to the described order of actions, because according to the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to the present invention.
[0187] According to another aspect of the present invention, a pop-up blocking control device for implementing the above-described pop-up blocking control method is also provided. For example... Figure 9 As shown, the device includes:
[0188] The collection unit 902 is used to collect pop-up information sent by multiple terminals, wherein the pop-up information is the attribute information of the pop-up window displayed on the terminal.
[0189] Clustering unit 904 is used to cluster pop-up information to obtain multiple pop-up cluster sets, wherein the pop-up windows in each pop-up cluster set are pop-up windows with the same type of display characteristics;
[0190] The recognition unit 906 is used to recognize the content of pop-up windows from multiple pop-up window clusters.
[0191] The generation unit 908 is used to generate a set of pop-up blocking conditions by utilizing the display characteristics of the identified content promotion pop-up;
[0192] The sending unit 910 is used to send a pop-up blocking condition set to multiple terminals to block content promotion pop-ups that match the pop-up blocking condition set.
[0193] Optionally, in this embodiment, the implementation of each of the above-mentioned unit modules can be referred to the above-mentioned method embodiments, which will not be repeated here.
[0194] According to another aspect of the present invention, an electronic device for implementing the above-described pop-up blocking control method is also provided. This electronic device may be... Figure 10 The terminal device or server shown. This embodiment uses this electronic device as an example for illustration. Figure 10 As shown, the electronic device includes a memory 1002 and a processor 1004. The memory 1002 stores a computer program, and the processor 1004 is configured to execute the steps of any of the above method embodiments via the computer program.
[0195] Optionally, in this embodiment, the aforementioned electronic device may be located in at least one of a plurality of network devices in a computer network.
[0196] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:
[0197] S1, collect pop-up information sent by multiple terminals, wherein the pop-up information is the attribute information of the pop-up window displayed on the terminal;
[0198] S2, cluster the pop-up information to obtain multiple pop-up cluster sets, wherein the pop-up windows in each pop-up cluster set are pop-up windows with the same type of display characteristics;
[0199] S3, performs pop-up content recognition on multiple pop-up cluster sets;
[0200] S4, generate a set of pop-up blocking conditions using the display characteristics of the identified content promotion pop-ups;
[0201] S5 sends a pop-up blocking condition set to multiple terminals to block content promotion pop-ups that match the pop-up blocking condition set.
[0202] Alternatively, as those skilled in the art will understand, Figure 10The structure shown is for illustrative purposes only. Electronic devices can also be in-vehicle terminals, smartphones (such as Android phones, iOS phones, etc.), tablets, handheld computers, mobile internet devices (MIDs), PADs, and other terminal devices. Figure 10 This does not limit the structure of the aforementioned electronic devices. For example, the electronic device may also include components that are more... Figure 10 The more or fewer components shown (such as network interfaces, etc.), or having the same Figure 10 The different configurations shown.
[0203] The memory 1002 can be used to store software programs and modules, such as the program instructions / modules corresponding to the pop-up interception control method and device in this embodiment of the invention. The processor 1004 executes various functional applications and data processing by running the software programs and modules stored in the memory 1002, thereby realizing the pop-up interception control method described above. The memory 1002 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1002 may further include memory remotely located relative to the processor 1004, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Specifically, the memory 1002 may be used, but is not limited to, to store information such as pop-up interception control information. As an example, such as Figure 10 As shown, the memory 1002 may include, but is not limited to, the collection unit 902, clustering unit 904, identification unit 906, generation unit 908, and sending unit 910 of the pop-up window interception control device. Furthermore, it may include, but is not limited to, other module units of the pop-up window interception control device, which will not be elaborated in this example.
[0204] Optionally, the transmission device 1006 described above is used to receive or send data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission device 1006 includes a Network Interface Controller (NIC), which can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network. In another example, the transmission device 1006 is a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0205] In addition, the aforementioned electronic device also includes a display 1008 and a connection bus 1010 for connecting various module components in the aforementioned electronic device.
[0206] In other embodiments, the aforementioned terminal device or server can be a node in a distributed system, wherein the distributed system can be a blockchain system, which is a distributed system formed by connecting multiple nodes through network communication. The nodes can form a peer-to-peer (P2P) network, and any form of computing device, such as a server, terminal, or other electronic device, can become a node in the blockchain system by joining this peer-to-peer network.
[0207] According to one aspect of this application, a computer program product is provided, comprising a computer program / instructions containing program code for performing the methods shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium. When the computer program is executed by a central processing unit, it performs various functions provided in embodiments of this application.
[0208] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0209] According to one aspect of this application, a computer-readable storage medium is provided, wherein a processor of a computer device reads computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform the aforementioned pop-up window interception and control method.
[0210] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0211] S1, collect pop-up information sent by multiple terminals, wherein the pop-up information is the attribute information of the pop-up window displayed on the terminal;
[0212] S2, cluster the pop-up information to obtain multiple pop-up cluster sets, wherein the pop-up windows in each pop-up cluster set are pop-up windows with the same type of display characteristics;
[0213] S3, performs pop-up content recognition on multiple pop-up cluster sets;
[0214] S4, generate a set of pop-up blocking conditions using the display characteristics of the identified content promotion pop-ups;
[0215] S5 sends a pop-up blocking condition set to multiple terminals to block content promotion pop-ups that match the pop-up blocking condition set.
[0216] Optionally, in this embodiment, those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0217] If the integrated units in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in the aforementioned computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.
[0218] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0219] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection between units or modules, and may be electrical or other forms.
[0220] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0221] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0222] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for intercepting and controlling pop-ups, characterized in that, include: Collect pop-up information sent by multiple terminals, wherein the pop-up information is the attribute information of the pop-up window displayed on the terminal; The pop-up information is clustered to obtain multiple pop-up cluster sets, wherein the pop-up windows in each pop-up cluster set are pop-up windows with the same type of display characteristics; Pop-up windows that meet the content promotion conditions and carry the content promotion identifier in the multiple pop-up window clusters are identified as candidate pop-up windows. A content promotion pop-up is determined from at least one of the candidate pop-up windows; The display characteristics of the aforementioned content-driven pop-up windows are used to generate a set of pop-up blocking conditions; The pop-up blocking condition set is sent to the multiple terminals to block content promotion pop-ups that match the pop-up blocking condition set.
2. The method according to claim 1, characterized in that, After clustering the pop-up information to obtain multiple pop-up cluster sets, the process also includes: Determine the promotion identification parameters corresponding to each of the at least one candidate pop-up windows; Candidate pop-up windows whose promotion identification parameters are greater than the target identification threshold are identified as content promotion pop-ups.
3. The method according to claim 1, characterized in that, When determining pop-up windows that meet the content promotion conditions and carry a content promotion identifier from the multiple pop-up window clusters as candidate pop-up windows, the method further includes: The screen content displayed in the pop-up window that does not carry the content promotion mark is identified to obtain the screen recognition result; When the image recognition result indicates that a content promotion element appears in the content of the pop-up window, the number of times the content promotion element appears is counted. Based on the statistical results, pop-up windows that meet the recognition criteria for the content promotion elements are identified, and these pop-up windows are identified as candidate pop-up windows with content promotion characteristics.
4. The method according to claim 1, characterized in that, The step of identifying pop-up windows that meet the content promotion conditions and carry a content promotion identifier from the multiple pop-up window clusters as candidate pop-up windows includes: The configured content promotion conditions are determined, wherein the content promotion conditions include at least one of the following: the software to which the pop-up window belongs has a content promotion history, the number of times the pop-up window is displayed is greater than the target threshold, and the pop-up window is displayed in a content promotion position. From the multiple pop-up cluster sets, pop-up windows that meet the content promotion conditions are selected to obtain a reference pop-up set.
5. The method according to claim 2, characterized in that, The step of determining the promotion identification parameters corresponding to each of the at least one candidate pop-up window includes: Iterate through the at least one candidate pop-up window, taking each candidate pop-up window as the current candidate pop-up window, and perform the following operations: Determine the set of feature parameters of the current window corresponding to the current candidate pop-up window; Obtain the feature value and weight of each window feature parameter matched in the current window feature parameter set; The feature values and the weights are weighted and summed to obtain the current promotion identification parameters corresponding to the current candidate pop-up window.
6. The method according to claim 1, characterized in that, The method of generating a pop-up blocking condition set by utilizing the display characteristics of the identified content-driven pop-up includes: The display characteristics of the content promotion pop-up are converted into corresponding pop-up blocking conditions to obtain the pop-up blocking condition set; An interception configuration file is generated based on the pop-up interception condition set.
7. The method according to claim 6, characterized in that, After sending the pop-up blocking condition set to the multiple terminals to control the terminals to block content promotion pop-ups that match the pop-up blocking condition set, the method further includes: The interception configuration file carrying the pop-up interception condition set is sent to the multiple terminals to control the terminals to intercept content promotion pop-ups that are consistent with at least one pop-up interception condition in the pop-up interception condition set according to the interception configuration file. The terminal returns a pop-up window interception processing result, wherein the pop-up window interception processing result carries the target pop-up window intercepted by the terminal.
8. The method according to claim 7, characterized in that, After receiving the pop-up blocking processing result returned by the terminal, the method further includes: Verify the received target pop-up window; If the verification result indicates that at least one of the target pop-up windows received is not a content promotion pop-up, the pop-up blocking condition set is updated.
9. A pop-up window interception control device, characterized in that, include: A collection unit is used to collect pop-up information sent by multiple terminals, wherein the pop-up information is the attribute information of the pop-up window displayed on the terminal; Clustering unit, used to cluster the pop-up information to obtain multiple pop-up cluster sets, wherein the pop-up windows in each pop-up cluster set are pop-up windows with the same type of display characteristics; The identification unit is used to identify the content of the multiple pop-up window clusters; The generation unit is used to generate a set of pop-up blocking conditions by utilizing the display characteristics of the identified content promotion pop-ups; The sending unit is used to send the pop-up blocking condition set to the multiple terminals to block content promotion pop-ups that match the pop-up blocking condition set; The device is further configured to identify pop-up windows that meet the content promotion conditions and carry a content promotion identifier from the plurality of pop-up window clusters as candidate pop-up windows; and to identify a content promotion pop-up window from at least one of the candidate pop-up windows.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed, performs the method according to any one of claims 1 to 8.
11. 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 8.
12. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method described in any one of claims 1 to 8 through the computer program.
Citation Information
Patent Citations
Method for quickly intercepting popup windows of webpage
CN105183793A
Advertisement popup window interception method and device, electronic equipment and storage medium
CN111753192A