CN114025210A - Popup shielding method, equipment, storage medium and device - Google Patents

Popup shielding method, equipment, storage medium and device Download PDF

Info

Publication number
CN114025210A
CN114025210A CN202111296711.4A CN202111296711A CN114025210A CN 114025210 A CN114025210 A CN 114025210A CN 202111296711 A CN202111296711 A CN 202111296711A CN 114025210 A CN114025210 A CN 114025210A
Authority
CN
China
Prior art keywords
window
pop
popup
control
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111296711.4A
Other languages
Chinese (zh)
Other versions
CN114025210B (en
Inventor
吴亚芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Xiaopai Technology Co ltd
Original Assignee
Shenzhen Xiaopai Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Xiaopai Technology Co ltd filed Critical Shenzhen Xiaopai Technology Co ltd
Priority to CN202111296711.4A priority Critical patent/CN114025210B/en
Publication of CN114025210A publication Critical patent/CN114025210A/en
Application granted granted Critical
Publication of CN114025210B publication Critical patent/CN114025210B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • H04N21/4516Management of client data or end-user data involving client characteristics, e.g. Set-Top-Box type, software version or amount of memory available
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Computer Graphics (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a popup shielding method, equipment, a storage medium and a device, which are used for collecting box end information of a set top box for sending a popup reporting instruction; reading popup window control information in the box end information, and determining whether the corresponding popup window control belongs to a popup window control to be shielded or not according to the popup window control information; and if so, updating the preset popup window shielding list according to the popup window control to be shielded, and sending the updated shielding popup window list to the set top box so that the set top box can shield the popup window control according to the updated shielding popup window list. According to the method and the device, the popup window control to be shielded is determined through the popup window control information, and the popup window control to be shielded is added into the preset popup window shielding list, so that the set top box can shield the popup window control according to the updated shielding popup window list.

Description

Popup shielding method, equipment, storage medium and device
Technical Field
The present invention relates to the field of pop-up windows, and in particular, to a pop-up window shielding method, device, storage medium, and apparatus.
Background
At present, in the process of a user intelligent set top box, the problem of complaining and even complaining pop windows is often reported. For example, during the process of watching a video, the interface suddenly jumps out of a pop-up window, and the user must manually close the pop-up window to continue watching.
Almost all applications in the market at present, especially the applications of video types with the highest user utilization rate, have more or less popup windows, some popup windows when an App is opened, some popup windows in the video watching process, some popup windows in the middle of a television, and some popup windows at the corners of the television.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a popup shielding method, equipment, a storage medium and a device, and aims to solve the technical problem that user experience is influenced by manually closing a popup in the prior art.
In order to achieve the above object, the present invention provides a pop-up window shielding method, which comprises the following steps:
when a popup report instruction triggered by a user is received, acquiring box end information of a set top box sending the popup report instruction;
reading popup window control information in the box end information, and determining whether the corresponding popup window control belongs to a popup window control to be shielded or not according to the popup window control information;
if yes, updating a preset popup window shielding list according to the popup window control to be shielded, and sending the updated shielding popup window list to the set top box so that the set top box can shield the popup window control according to the updated shielding popup window list.
Optionally, the step of reading the popup window control information in the box end information, and determining whether the corresponding popup window control belongs to a popup window control to be shielded according to the popup window control information includes:
extracting an interface screen capture, interface window control information, a marked popup window area and application information from the box end information;
determining popup control information according to the interface screen capture, the interface window control information, the marked popup area and the application information;
and judging whether the corresponding pop-up window control belongs to the pop-up window control to be shielded or not according to the information of the pop-up window control.
Optionally, the step of determining whether the corresponding pop-up window control belongs to the pop-up window control to be shielded according to the pop-up window control information includes:
determining an application stack currently operated by the set top box from the application information;
determining an application identifier of an application generating the popup window according to the application stack;
generating a control tree file according to the application identification and the interface window control information;
and judging whether the corresponding pop-up window control belongs to the pop-up window control to be shielded or not according to the control tree file and the pop-up window control information.
Optionally, the step of determining whether the corresponding pop-up window control belongs to the pop-up window control to be shielded according to the control tree file and the pop-up window control information includes:
traversing the control tree file according to the current window level, and recording target control information belonging to the marked popup area;
and judging whether the corresponding pop-up window control belongs to the pop-up window control to be shielded or not according to the target control information.
Optionally, before the step of traversing the control tree file according to the current window level and recording the target control information belonging to the marked popup area, the method further includes:
carrying out picture similarity comparison on the interface screenshot corresponding to the marked popup area to obtain comparison similarity;
when the contrast similarity of the interface screenshot is higher than a preset similarity, recording coordinate information of a popup area in the interface screenshot;
correspondingly, the step of traversing the control tree file according to the current window level and recording the target control information belonging to the marked popup area comprises the following steps:
and traversing the control tree file corresponding to the interface screenshot according to the current window level, and recording the target control information meeting the coordinate information.
Optionally, the step of determining whether the corresponding pop-up window control belongs to the pop-up window control to be shielded according to the target control information includes:
acquiring the occurrence times of the control ID in the target control information;
and when the occurrence frequency exceeds the preset frequency, judging that the pop-up window control corresponding to the control ID is the pop-up window control to be shielded.
Optionally, if so, updating a preset pop-up window shielding list according to the pop-up window control to be shielded, and sending the updated shielding pop-up window list to the set top box, so that the set top box performs pop-up window control shielding according to the updated shielding pop-up window list, including:
sending the updated shielding popup list to the set top box so that the set top box shields the popup control according to the control in the updated shielding popup list and prompts a user according to a preset mode;
and when the popup window control is invisible, receiving the information which is reported by the set top box and successfully shields the popup window control.
In addition, to achieve the above object, the present invention further provides a pop-up window shielding apparatus, which includes a memory, a processor, and a pop-up window shielding program stored in the memory and executable on the processor, wherein the pop-up window shielding program is configured to implement the steps of the pop-up window shielding as described above.
In addition, to achieve the above object, the present invention further provides a storage medium having a pop-up window masking program stored thereon, wherein the pop-up window masking program, when executed by a processor, implements the steps of the pop-up window masking method as described above.
In addition, in order to achieve the above object, the present invention further provides a pop-up window shielding device, including:
the information acquisition module is used for acquiring box end information of the set top box which sends the popup report instruction when the popup report instruction triggered by a user is received;
the popup window judging module is used for reading popup window control information in the box end information and determining whether the corresponding popup window control belongs to a popup window control to be shielded or not according to the popup window control information;
and the pop-up window shielding module is used for updating a preset pop-up window shielding list according to the pop-up window control to be shielded and sending the updated shielding pop-up window list to the set top box if the pop-up window shielding module is used, so that the set top box can shield the pop-up window control according to the updated shielding pop-up window list.
The method comprises the steps of collecting box end information of a set top box sending a popup report instruction when the popup report instruction triggered by a user is received; reading popup window control information in the box end information, and determining whether the corresponding popup window control belongs to a popup window control to be shielded or not according to the popup window control information; and if so, updating the preset popup window shielding list according to the popup window control to be shielded, and sending the updated shielding popup window list to the set top box so that the set top box can shield the popup window control according to the updated shielding popup window list. According to the method and the device, the popup window control to be shielded is determined according to the popup window control information in the box end information, and the popup window control to be shielded is added into the preset popup window shielding list, so that the set top box can shield the popup window control according to the updated shielding popup window list.
Drawings
FIG. 1 is a schematic structural diagram of a pop-up window shielding device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a pop-up window shielding method according to a first embodiment of the present invention;
FIG. 3 is a schematic view illustrating a pop-up window shielding control flow according to a first embodiment of the pop-up window shielding method of the present invention;
FIG. 4 is a flowchart illustrating a pop-up window shielding method according to a second embodiment of the present invention;
fig. 5 is a block diagram of the pop-up window shielding device according to the first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a pop-up window shielding device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the pop-up window shielding apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), and the optional user interface 1003 may further include a standard wired interface and a wireless interface, and the wired interface for the user interface 1003 may be a USB interface in the present invention. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) or a Non-volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the pop-up shield apparatus and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in FIG. 1, memory 1005, identified as one type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a pop-up window shield program.
In the pop-up window shielding device shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting user equipment; the pop-up window shielding device calls the pop-up window shielding program stored in the memory 1005 through the processor 1001, and executes the pop-up window shielding method provided by the embodiment of the present invention.
Based on the hardware structure, the embodiment of the pop-up window shielding method is provided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a pop-up window shielding method according to a first embodiment of the present invention.
In this embodiment, the pop-up window shielding method includes the following steps:
step S10: and when a popup report instruction triggered by a user is received, acquiring box end information of the set top box sending the popup report instruction.
It should be noted that the execution subject of this embodiment may be a background server of the pop-up window shielding device. The present embodiment is not limited to this, and other background servers that can implement the same or similar functions and that are configured with the pop-up window shielding device may also be used. The present embodiment and the following embodiments will be described herein by taking the above-described pop-up window shield apparatus as an example.
It should be understood that the pop window reporting instruction refers to a reporting instruction triggered by a user when the user encounters an objectionable pop window in the process of using the OTT intelligent set top box. The reporting mode can be various, for example, a certain key of the remote controller is pressed to trigger the reporting instruction. The present embodiment does not specifically limit the reporting manner.
It is understood that the box-end information includes: unique identifier of the box (serial number, device ID), interface screen shot, system interface information, recent network request link, marking pop-up area, etc.
In the specific implementation, when a popup report instruction triggered by a user is received, information such as a unique identifier (a serial number, an equipment ID), an interface screenshot, system interface information, a latest network request link, and a popup area of a box of the OTT intelligent set top box sending the popup report instruction is collected.
Step S20: reading the popup window control information in the box end information, and determining whether the corresponding popup window control belongs to the popup window control to be shielded or not according to the popup window control information.
It should be noted that the pop-up window control information may refer to all the pop-up window control information collected by the intelligent set-top box.
It should be understood that when a report instruction triggered by a user is received, the popup control information is read from the box end information, and the popup control in the popup control information is identified to determine the popup control to be shielded.
Step S30: if yes, updating a preset popup window shielding list according to the popup window control to be shielded, and sending the updated shielding popup window list to the set top box so that the set top box can shield the popup window control according to the updated shielding popup window list.
It should be noted that the preset pop-up window shielding list may refer to a preset control list for shielding pop-up windows, where the control list includes one or more controls, and the controls are hidden properties, that is, the pop-up windows corresponding to the controls are not displayed in the process of using the set-top box by the user.
In the specific implementation, after the pop-up window control to be shielded is determined, the pop-up window control to be shielded is added into a preset pop-up window shielding list, and the updated shielding pop-up window list is sent to the set top box corresponding to the pop-up window control to be shielded, so that the set top box shields the pop-up window control according to the updated shielding pop-up window list.
Further, if yes, updating a preset pop-up window shielding list according to the pop-up window control to be shielded, and sending the updated shielding pop-up window list to the set top box, so that the set top box performs pop-up window control shielding according to the updated shielding pop-up window list, and the method includes the steps of: sending the updated shielding popup list to the set top box so that the set top box shields the popup control according to the control in the updated shielding popup list and prompts a user according to a preset mode; and when the popup window control is invisible, receiving the information which is reported by the set top box and successfully shields the popup window control.
It should be noted that, through the above steps, each box can acquire the list of the shielding control by requesting the background.
It is understood that the preset mode can be a preset mode for prompting the user to successfully hide the pop-up window. The mode can be that the user is prompted by a text popup mode.
For further explanation, referring to fig. 3, a pop-up window shielding control flow diagram may be referred to, and the box acquires the list of the shielding control sent by the background when the box is started to be networked or requests the background at regular time. When the system creates a window, if a control successfully matched with the shielding control list is detected, the visible attribute of the control is automatically set to be invisible, for example: the control may be set to visibility ═ gone or visibility ═ lnceptible on the android. Meanwhile, the user can be prompted that the popup window is automatically hidden for you, and the information is reported to the big data background after the popup window is invisible. The statistical analysis of the shielding effect and the shielding quantity of the pop-up windows and the like by subsequent workers is facilitated.
In this embodiment, when a pop-up window reporting instruction triggered by a user is received, box end information of a set top box sending the pop-up window reporting instruction is collected; reading popup window control information in the box end information, and determining whether the corresponding popup window control belongs to a popup window control to be shielded or not according to the popup window control information; and if so, updating the preset popup window shielding list according to the popup window control to be shielded, and sending the updated shielding popup window list to the set top box so that the set top box can shield the popup window control according to the updated shielding popup window list. Because this embodiment is through confirming the bullet window control of waiting to shield to the bullet window control information in the box end information to will wait to shield the bullet window control and add to predetermineeing bullet window shielding list, so that the STB carries out bullet window control shielding according to the shielding bullet window list after the update, compare in prior art through the manual bullet window of closing, influence user experience, this embodiment has realized that the automatic shielding falls the bullet window that the visitor complains outstanding, improves user's good sense of use and user experience.
Referring to fig. 4, fig. 4 is a flowchart illustrating a second embodiment of the pop-up window shielding method according to the present invention, and the second embodiment of the pop-up window shielding method is proposed based on the first embodiment shown in fig. 2.
In this embodiment, the step S20 includes:
step S201: and extracting an interface screen capture, interface window control information, a marked popup window area and application information from the box terminal information.
It should be noted that the interface screenshot refers to the last OSD interface screenshot including the pop-up window. Since the pop-up window is a small window, there may be other backgrounds in the screenshot besides the pop-up window.
It is understood that the interface Window control information includes all control information of the current system interface, in the case of the android system, each application interface is referred to as a Surface (a producer of a buffer queue usually consumed by the Surface flunger, one Surface may be regarded as a layer View), or a Window (a top-level View of the View, a View at the top of a management View), and when an application creates a Window through the windows manager, the windows manager creates a Surface for each Window and transfers the Surface to the application so that the application can draw content on the Surface. There are many subclasses of windows, such as popupWindow, Activity, Toast, dialog, menu, etc., each window is composed of many kinds of controls (View), each of which has various properties (such as width, height, type, background, parent, child, coordinates, whether visible, etc.).
It should be understood that marking the popup area refers to a user circling the rough area of the popup on the interface screenshot through a simple tool, and simultaneously marking the popup area, recording the coordinate, size and record of the area to a file, and simultaneously uploading the screenshot with the popup area. For example, after the user can move the left and right up and down keys of the remote controller, the user can press the enter key to obtain a rectangular frame, and the pop-up window is located in the rectangular frame. The information is an important reference basis for judging the popup window, and if the screenshot exists, the screenshot is preferentially used as an analysis basis.
It is understood that the application information refers to information generated by an application currently running.
Step S202: and determining popup control information according to the interface screen capture, the interface window control information, the marked popup area and the application information.
It should be noted that the acquired interface screenshot, interface window control information, mark popup area, and application information are used to determine popup control information.
Step S203: and judging whether the corresponding pop-up window control belongs to the pop-up window control to be shielded or not according to the information of the pop-up window control.
It should be noted that the big data background server summarizes all the reported popup window control information, and if there is a problem of popup window reporting by multiple users at present, determines whether the corresponding popup window control belongs to the popup window control to be shielded according to the reported popup window control information.
In a specific implementation, if A, B, C, D, E, F users trigger reporting, the box end information of the set top box corresponding to A, B, C, D, E, F is collected, and popup window control information in the box end information is summarized, so that a popup window control to be shielded is determined.
Further, in order to accurately determine the pop-up window control to be shielded, the step S203 includes: determining an application stack currently operated by the set top box from the application information; determining an application identifier of an application generating the popup window according to the application stack; generating a control tree file according to the application identification and the interface window control information; and judging whether the corresponding pop-up window control belongs to the pop-up window control to be shielded or not according to the control tree file and the pop-up window control information.
It should be noted that, taking android as an example, an application stack currently running by the set top box is obtained from application information, the application stack is used as a reference for determining an application identifier of an application generating a popup, and the application identifier on the uppermost layer classifies all popup control information, for example, popup control information in which top applications are all flight videos is put together for classification, so that identification time of the popup controls can be saved, and faster and more accurate control positioning can be realized.
It can be understood that the control tree file is a control tree file generated according to all interface window control information and application identifiers of a system interface collected by each set top box reporting a popup window shielding instruction, and when a window is created, addView operation is executed through a Windows manager window manager, controls in the interface are added into a View tree, and the View tree is displayed through processes of measurement, layout, drawing and the like. In the android system, all control information can be acquired by executing instructions such as dumpWindowHierarchy, getwindow, getDecro (), dump surface flag and the like, and the system control tree information is stored in a certain file. The present embodiment does not specifically limit the control information obtaining instruction.
In specific implementation, in order to determine the pop-up window control more accurately, a control tree file may be generated according to interface window control information corresponding to the application identifier, and then whether the corresponding pop-up window control belongs to the pop-up window control to be shielded is determined according to the control tree file and the pop-up window control information.
Further, the step of judging whether the corresponding pop-up window control belongs to the pop-up window control to be shielded according to the control tree file and the pop-up window control information includes: traversing the control tree file according to the current window level, and recording target control information belonging to the marked popup area; and judging whether the corresponding pop-up window control belongs to the pop-up window control to be shielded or not according to the target control information.
It should be noted that the current window level refers to the window level of all the window controls corresponding to the application identifier. And traversing the control tree file by the windows according to the levels in sequence (the system can simultaneously have a plurality of windows, each window has a corresponding level, the high level can cover the low level, so the window with the high level can block the window with the low level), and recording the visible controls belonging to the area. And comparing whether the reported information contains the same control in the reported information of a plurality of users. Thereby determining the pop-up window control to be shielded.
It can be understood that the control tree file is traversed according to the current window level to determine the uppermost window corresponding to the application identifier and the control information of the window. And the target control information is determined from the uppermost window and the control information of the window according to the marked popup window area.
In specific implementation, whether the corresponding pop-up window control belongs to the pop-up window control to be shielded is judged according to the window belonging to the uppermost layer of the marked pop-up window area and the control information of the window.
Further, before the step of traversing the control tree file according to the current window level and recording the target control information belonging to the marked popup area, the method further includes: carrying out picture similarity comparison on the interface screenshot corresponding to the marked popup area to obtain comparison similarity; when the contrast similarity of the interface screenshot is higher than a preset similarity, recording coordinate information of a popup area in the interface screenshot; correspondingly, the step of traversing the control tree file according to the current window level and recording the target control information belonging to the marked popup area comprises the following steps: and traversing the control tree file corresponding to the interface screenshot according to the current window level, and recording the target control information meeting the coordinate information.
It should be noted that feature extraction is performed on the interface screenshot corresponding to the mark popup region, and similarity comparison is performed on the extracted features, so that contrast similarity is obtained.
It can be understood that the preset similarity is a preset threshold value for judging whether the screen shots are highly similar, and when the interface screen shot similarity corresponding to the marked popup area is higher than the preset similarity, the coordinate information of the popup area in the highly similar interface screen shot is recorded.
It should be understood that the target control information satisfying the coordinate information refers to the window belonging to the uppermost layer corresponding to the coordinate information in the marked popup area and the control information of the window.
In specific implementation, whether the corresponding popup window control belongs to the popup window control to be shielded or not is judged according to the window belonging to the uppermost layer corresponding to the coordinate information in the marked popup window area and the control information of the window
Further, the step of judging whether the corresponding pop-up window control belongs to the pop-up window control to be shielded according to the target control information includes: acquiring the occurrence times of the control ID in the target control information; and when the occurrence frequency exceeds the preset frequency, judging that the pop-up window control corresponding to the control ID is the pop-up window control to be shielded.
It should be noted that the control ID refers to an ID corresponding to each control in the target control information, where the ID may be identified by a character, the occurrence frequency refers to the number of occurrences of the control ID in the information reported by the user, and the preset frequency may be preset to determine whether the control in the information reported by the user needs to be shielded.
In the specific implementation, A, B, C, D, E, F users trigger reporting, the reported popup screenshot area contents of A, B, C, D users are highly similar, window control tree information of A, B, C, D users is traversed, area range matching and currently visible controls are recorded, and A, B, C users all have controls with id of popup view and are all the same application. The number of times the control is popup is recorded as 3 times. When the number of times is larger, the probability of popup and the frequency of occurrence are higher. And determining the pop-up window control to be shielded by increasing the condition and the threshold value of the pop-up window shielding. For example, if the number of times of suspected popup windows of the same control exceeds 10 times in the previous step, the control is considered to be popup and indicates that there are many users who wish to mask, and the control is added to the popup mask list. For a small amount of popup report information or background staff which are analyzed and confirmed to be popup through a manual method, the background staff can add control information or window information to a popup shielding list. For example, only pop windows which are strongly opened by individual users can be accurately shielded by the method, the shielded control information can be associated with the unique identifier of the box by accurate shielding, only the shielded control list acquired by the box has the control information, and if more users complain about a certain pop window, the pop window is a control PopImageView, the information of the PopImageView can be added into the rough shielding list, and the PopImageView control information is in the shielded control lists acquired by all boxes.
In the embodiment, when a popup report instruction triggered by a user is received, box end information of a set top box sending the popup report instruction is collected, and an interface screen capture, interface window control information, a popup marking area and application information are extracted from the box end information; determining popup control information according to the interface screenshot, the interface window control information, the marked popup area and the application information; and judging whether the corresponding pop-up window control belongs to the pop-up window control to be shielded or not according to the information of the pop-up window control. If yes, updating a preset popup window shielding list according to the popup window control to be shielded, and sending the updated shielding popup window list to the set top box so that the set top box can shield the popup window control according to the updated shielding popup window list. Because this embodiment is through confirming the bullet window control of waiting to shield to the bullet window control information in the box end information to will wait to shield the bullet window control and add to predetermineeing bullet window shielding list, so that the STB carries out bullet window control shielding according to the shielding bullet window list after the update, compare in prior art through the manual bullet window of closing, influence user experience, this embodiment has realized that the automatic shielding falls the bullet window that the visitor complains outstanding, improves user's good sense of use and user experience.
In addition, to achieve the above object, the present invention further provides a storage medium having a pop-up window masking program stored thereon, wherein the pop-up window masking program, when executed by a processor, implements the steps of the pop-up window masking method as described above.
Referring to fig. 5, fig. 5 is a block diagram of the pop-up window shielding device according to the first embodiment of the present invention.
As shown in fig. 5, the pop-up window shielding device according to the embodiment of the present invention includes:
the information acquisition module 10 is configured to acquire box-side information of the set top box that sends a pop-up window report instruction when the pop-up window report instruction triggered by a user is received;
the pop-up window judging module 20 is configured to read pop-up window control information in the box end information, and determine whether a corresponding pop-up window control belongs to a pop-up window control to be shielded according to the pop-up window control information;
and the pop-up window shielding module 30 is configured to update a preset pop-up window shielding list according to the pop-up window control to be shielded and send the updated shielding pop-up window list to the set top box if the pop-up window shielding module is yes, so that the set top box performs pop-up window control shielding according to the updated shielding pop-up window list.
In this embodiment, when a pop-up window reporting instruction triggered by a user is received, box end information of a set top box sending the pop-up window reporting instruction is collected; reading popup window control information in the box end information, and determining whether the corresponding popup window control belongs to a popup window control to be shielded or not according to the popup window control information; and if so, updating the preset popup window shielding list according to the popup window control to be shielded, and sending the updated shielding popup window list to the set top box so that the set top box can shield the popup window control according to the updated shielding popup window list. Because this embodiment is through confirming the bullet window control of waiting to shield to the bullet window control information in the box end information to will wait to shield the bullet window control and add to predetermineeing bullet window shielding list, so that the STB carries out bullet window control shielding according to the shielding bullet window list after the update, compare in prior art through the manual bullet window of closing, influence user experience, this embodiment has realized that the automatic shielding falls the bullet window that the visitor complains outstanding, improves user's good sense of use and user experience.
Further, the pop-up window judging module 20 is further configured to extract an interface screenshot, interface window control information, a mark pop-up window area, and application information from the box end information; determining popup control information according to the interface screen capture, the interface window control information, the marked popup area and the application information; and judging whether the corresponding pop-up window control belongs to the pop-up window control to be shielded or not according to the information of the pop-up window control.
Further, the popup window determining module 20 is further configured to determine, from the application information, an application stack currently running by the set top box; determining an application identifier of an application generating the popup window according to the application stack; generating a control tree file according to the application identification and the interface window control information; and judging whether the corresponding pop-up window control belongs to the pop-up window control to be shielded or not according to the control tree file and the pop-up window control information.
Further, the popup judgment module 20 is further configured to traverse the control tree file according to the current window level, and record target control information belonging to the popup marked area; and judging whether the corresponding pop-up window control belongs to the pop-up window control to be shielded or not according to the target control information.
Further, the pop-up window judging module 20 is further configured to perform picture similarity comparison on the interface screenshot corresponding to the marked pop-up window area to obtain a comparison similarity; when the contrast similarity of the interface screenshot is higher than a preset similarity, recording coordinate information of a popup area in the interface screenshot; and traversing the control tree file corresponding to the interface screenshot according to the current window level, and recording the target control information meeting the coordinate information.
Further, the popup window determining module 20 is further configured to obtain the occurrence frequency of the control ID in the target control information; and when the occurrence frequency exceeds the preset frequency, judging that the pop-up window control corresponding to the control ID is the pop-up window control to be shielded.
Further, the pop-up window shielding module 30 is further configured to send the updated shielding pop-up window list to the set top box, so that the set top box shields the pop-up window control according to the control in the updated shielding pop-up window list, and prompts a user according to a preset manner; and when the popup window control is invisible, receiving the information which is reported by the set top box and successfully shields the popup window control.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may refer to the pop-up window shielding method provided in any embodiment of the present invention, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order, but rather the words first, second, third, etc. are to be interpreted as names.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., a Read Only Memory (ROM)/Random Access Memory (RAM), a magnetic disk, an optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A pop-up window shielding method is characterized by comprising the following steps:
when a popup report instruction triggered by a user is received, acquiring box end information of a set top box sending the popup report instruction;
reading popup window control information in the box end information, and determining whether the corresponding popup window control belongs to a popup window control to be shielded or not according to the popup window control information;
if yes, updating a preset popup window shielding list according to the popup window control to be shielded, and sending the updated shielding popup window list to the set top box so that the set top box can shield the popup window control according to the updated shielding popup window list.
2. The pop-up window shielding method of claim 1, wherein the step of reading the information of the pop-up window control in the box end information and determining whether the corresponding pop-up window control belongs to the pop-up window control to be shielded according to the information of the pop-up window control comprises:
extracting an interface screen capture, interface window control information, a marked popup window area and application information from the box end information;
determining popup control information according to the interface screen capture, the interface window control information, the marked popup area and the application information;
and judging whether the corresponding pop-up window control belongs to the pop-up window control to be shielded or not according to the information of the pop-up window control.
3. The pop-up window shielding method according to claim 2, wherein the step of determining whether the corresponding pop-up window control belongs to the pop-up window control to be shielded according to the pop-up window control information comprises:
determining an application stack currently operated by the set top box from the application information;
determining an application identifier of an application generating the popup window according to the application stack;
generating a control tree file according to the application identification and the interface window control information;
and judging whether the corresponding pop-up window control belongs to the pop-up window control to be shielded or not according to the control tree file and the pop-up window control information.
4. The pop-up window shielding method of claim 3, wherein the step of determining whether the corresponding pop-up window control belongs to the pop-up window control to be shielded according to the control tree file and the pop-up window control information comprises:
traversing the control tree file according to the current window level, and recording target control information belonging to the marked popup area;
and judging whether the corresponding pop-up window control belongs to the pop-up window control to be shielded or not according to the target control information.
5. The pop-up window shielding method of claim 4, wherein before the step of traversing the control tree file according to the current window level and recording the target control information belonging to the marked pop-up window region, the method further comprises:
carrying out picture similarity comparison on the interface screenshot corresponding to the marked popup area to obtain comparison similarity;
when the contrast similarity of the interface screenshot is higher than a preset similarity, recording coordinate information of a popup area in the interface screenshot;
correspondingly, the step of traversing the control tree file according to the current window level and recording the target control information belonging to the marked popup area comprises the following steps:
and traversing the control tree file corresponding to the interface screenshot according to the current window level, and recording the target control information meeting the coordinate information.
6. The pop-up window shielding method of claim 4, wherein the step of determining whether the corresponding pop-up window control belongs to the pop-up window control to be shielded according to the target control information comprises:
acquiring the occurrence times of the control ID in the target control information;
and when the occurrence frequency exceeds the preset frequency, judging that the pop-up window control corresponding to the control ID is the pop-up window control to be shielded.
7. The pop-up window shielding method according to any one of claims 1 to 6, wherein if yes, updating a preset pop-up window shielding list according to the pop-up window control to be shielded, and sending the updated shielding pop-up window list to the set-top box, so that the set-top box performs pop-up window control shielding according to the updated shielding pop-up window list, the method comprises:
sending the updated shielding popup list to the set top box so that the set top box shields the popup control according to the control in the updated shielding popup list and prompts a user according to a preset mode;
and when the popup window control is invisible, receiving the information which is reported by the set top box and successfully shields the popup window control.
8. A pop-up window shield, comprising: a memory, a processor, and a pop-up masking program stored on the memory and executable on the processor, the pop-up masking program when executed by the processor implementing the pop-up masking method of any of claims 1 to 7.
9. A storage medium having stored thereon a pop-up masking program which, when executed by a processor, implements the pop-up masking method of any one of claims 1 to 7.
10. A pop-up window shield assembly, comprising:
the information acquisition module is used for acquiring box end information of the set top box which sends the popup report instruction when the popup report instruction triggered by a user is received;
the popup window judging module is used for reading popup window control information in the box end information and determining whether the corresponding popup window control belongs to a popup window control to be shielded or not according to the popup window control information;
and the pop-up window shielding module is used for updating a preset pop-up window shielding list according to the pop-up window control to be shielded and sending the updated shielding pop-up window list to the set top box if the pop-up window shielding module is used, so that the set top box can shield the pop-up window control according to the updated shielding pop-up window list.
CN202111296711.4A 2021-11-01 2021-11-01 Popup shielding method, equipment, storage medium and device Active CN114025210B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111296711.4A CN114025210B (en) 2021-11-01 2021-11-01 Popup shielding method, equipment, storage medium and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111296711.4A CN114025210B (en) 2021-11-01 2021-11-01 Popup shielding method, equipment, storage medium and device

Publications (2)

Publication Number Publication Date
CN114025210A true CN114025210A (en) 2022-02-08
CN114025210B CN114025210B (en) 2023-02-28

Family

ID=80060391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111296711.4A Active CN114025210B (en) 2021-11-01 2021-11-01 Popup shielding method, equipment, storage medium and device

Country Status (1)

Country Link
CN (1) CN114025210B (en)

Citations (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030233482A1 (en) * 2002-06-18 2003-12-18 Skrepetos Nicholas C. System and method for enhancing a user's web browsing experience
US20060235960A1 (en) * 2004-11-23 2006-10-19 Inventec Appliances Corporation Method for blocking network advertising
CN103019906A (en) * 2012-11-20 2013-04-03 北京奇虎科技有限公司 Method, device and system for popup information display
CN103019687A (en) * 2012-11-20 2013-04-03 北京奇虎科技有限公司 Method and device for displaying pop window information
CN103164654A (en) * 2013-03-28 2013-06-19 北京奇虎科技有限公司 Method of carrying out information cue on popup window and user interface display device
CN103729110A (en) * 2013-12-27 2014-04-16 广州华多网络科技有限公司 Popup window information display method, device and terminal
CN104021172A (en) * 2014-05-30 2014-09-03 北京搜狗科技发展有限公司 Advertisement filtering method and advertisement filtering device
CN104965838A (en) * 2014-09-11 2015-10-07 腾讯科技(深圳)有限公司 Page element processing method and page element processing apparatus
CN105354138A (en) * 2015-10-12 2016-02-24 上海斐讯数据通信技术有限公司 Method for determining specific control attribute of mobile phone page
CN105681561A (en) * 2016-01-22 2016-06-15 努比亚技术有限公司 Advertisement blocking device and method
CN105843494A (en) * 2015-01-15 2016-08-10 中兴通讯股份有限公司 Method and device for realizing region screen capture, and terminal
CN106155691A (en) * 2016-07-21 2016-11-23 北京奇虎科技有限公司 Interface data processing method, device and the mobile terminal of a kind of mobile terminal
CN106326316A (en) * 2015-07-08 2017-01-11 腾讯科技(深圳)有限公司 Web page advertisement filtering method and device
US20170351775A1 (en) * 2015-07-15 2017-12-07 Tencent Technology (Shenzhen) Company Limited Multimedia information pop-up window processing method and device, and computer storage medium
CN107609122A (en) * 2017-09-14 2018-01-19 百度在线网络技术(北京)有限公司 Update method, device, server and the storage medium of advertisement shielding rules
CN109117358A (en) * 2017-06-23 2019-01-01 百度在线网络技术(北京)有限公司 test method and test device for electronic equipment
CN109829092A (en) * 2018-12-26 2019-05-31 厦门邑通软件科技有限公司 The method that a kind of pair of webpage is oriented monitoring
CN109947650A (en) * 2019-03-20 2019-06-28 广州云测信息技术有限公司 Script step process methods, devices and systems
CN110737578A (en) * 2018-07-20 2020-01-31 北京奇虎科技有限公司 test application method and device
CN111475241A (en) * 2020-04-02 2020-07-31 深圳创维-Rgb电子有限公司 Interface operation method and device, electronic equipment and readable storage medium
CN111641750A (en) * 2020-05-19 2020-09-08 Oppo广东移动通信有限公司 Screen capture method, terminal and non-volatile computer-readable storage medium
CN112685285A (en) * 2019-10-18 2021-04-20 北京奇虎科技有限公司 User interface test case generation method and device
CN113032264A (en) * 2021-03-29 2021-06-25 网易(杭州)网络有限公司 Method and device for detecting page view control

Patent Citations (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030233482A1 (en) * 2002-06-18 2003-12-18 Skrepetos Nicholas C. System and method for enhancing a user's web browsing experience
US20060235960A1 (en) * 2004-11-23 2006-10-19 Inventec Appliances Corporation Method for blocking network advertising
CN103019906A (en) * 2012-11-20 2013-04-03 北京奇虎科技有限公司 Method, device and system for popup information display
CN103019687A (en) * 2012-11-20 2013-04-03 北京奇虎科技有限公司 Method and device for displaying pop window information
CN103164654A (en) * 2013-03-28 2013-06-19 北京奇虎科技有限公司 Method of carrying out information cue on popup window and user interface display device
CN103729110A (en) * 2013-12-27 2014-04-16 广州华多网络科技有限公司 Popup window information display method, device and terminal
CN104021172A (en) * 2014-05-30 2014-09-03 北京搜狗科技发展有限公司 Advertisement filtering method and advertisement filtering device
CN104965838A (en) * 2014-09-11 2015-10-07 腾讯科技(深圳)有限公司 Page element processing method and page element processing apparatus
CN105843494A (en) * 2015-01-15 2016-08-10 中兴通讯股份有限公司 Method and device for realizing region screen capture, and terminal
CN106326316A (en) * 2015-07-08 2017-01-11 腾讯科技(深圳)有限公司 Web page advertisement filtering method and device
US20170351775A1 (en) * 2015-07-15 2017-12-07 Tencent Technology (Shenzhen) Company Limited Multimedia information pop-up window processing method and device, and computer storage medium
CN105354138A (en) * 2015-10-12 2016-02-24 上海斐讯数据通信技术有限公司 Method for determining specific control attribute of mobile phone page
CN105681561A (en) * 2016-01-22 2016-06-15 努比亚技术有限公司 Advertisement blocking device and method
CN106155691A (en) * 2016-07-21 2016-11-23 北京奇虎科技有限公司 Interface data processing method, device and the mobile terminal of a kind of mobile terminal
CN109117358A (en) * 2017-06-23 2019-01-01 百度在线网络技术(北京)有限公司 test method and test device for electronic equipment
CN107609122A (en) * 2017-09-14 2018-01-19 百度在线网络技术(北京)有限公司 Update method, device, server and the storage medium of advertisement shielding rules
CN110737578A (en) * 2018-07-20 2020-01-31 北京奇虎科技有限公司 test application method and device
CN109829092A (en) * 2018-12-26 2019-05-31 厦门邑通软件科技有限公司 The method that a kind of pair of webpage is oriented monitoring
CN109947650A (en) * 2019-03-20 2019-06-28 广州云测信息技术有限公司 Script step process methods, devices and systems
CN112685285A (en) * 2019-10-18 2021-04-20 北京奇虎科技有限公司 User interface test case generation method and device
CN111475241A (en) * 2020-04-02 2020-07-31 深圳创维-Rgb电子有限公司 Interface operation method and device, electronic equipment and readable storage medium
CN111641750A (en) * 2020-05-19 2020-09-08 Oppo广东移动通信有限公司 Screen capture method, terminal and non-volatile computer-readable storage medium
CN113032264A (en) * 2021-03-29 2021-06-25 网易(杭州)网络有限公司 Method and device for detecting page view control

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙冲冲等: "恶意弹窗广告攻击检测技术的研究", 《软件工程》 *

Also Published As

Publication number Publication date
CN114025210B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
US10088969B2 (en) Image-based automation systems and methods
US20160227066A1 (en) Information processing device, method, and medium
CN110837403A (en) Robot process automation
CN112363943A (en) Buried point setting method and device, computer equipment and storage medium
WO2019041442A1 (en) Method and system for structural extraction of figure data, electronic device, and computer readable storage medium
CN112149570B (en) Multi-person living body detection method, device, electronic equipment and storage medium
CN108230114B (en) Method, device and equipment for selecting user feature tag and readable storage medium
CN109271982A (en) Multiple identification region recognition methods, identification terminal and readable storage medium storing program for executing
CN113032264A (en) Method and device for detecting page view control
CN112507087B (en) Terminal equipment identification method, equipment, storage medium and device
CN110796014A (en) Garbage throwing habit analysis method, system and device and storage medium
CN114025210B (en) Popup shielding method, equipment, storage medium and device
US9036946B2 (en) Image processing apparatus that retrieves similar images, method of controlling the same, and storage medium
CN113076961A (en) Image feature library updating method, image detection method and device
CN104866545B (en) The method of search key on information displayed page
CN112817817A (en) Buried point information query method and device, computer equipment and storage medium
CN114463656A (en) Detection model training method, device, equipment and storage medium
CN107908525A (en) Alert processing method, equipment and readable storage medium storing program for executing
CN110727436A (en) Operation interface script execution method and device, terminal equipment and storage medium
CN112492397A (en) Video processing method, computer device, and storage medium
CN114360055A (en) Behavior detection method, device and storage medium based on artificial intelligence
CN112597012A (en) Traversal method and device of application program, electronic equipment and storage medium
CN114785607A (en) Advertisement blocking method, device, equipment and computer readable storage medium
CN114071213B (en) Method, equipment and storage medium for intercepting bullet frame of set top box
CN107861969B (en) Statement modification method, scanning platform and computer-readable storage medium

Legal Events

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