CN114071213A - Set top box elastic frame intercepting method, device and storage medium - Google Patents

Set top box elastic frame intercepting method, device and storage medium Download PDF

Info

Publication number
CN114071213A
CN114071213A CN202111351545.3A CN202111351545A CN114071213A CN 114071213 A CN114071213 A CN 114071213A CN 202111351545 A CN202111351545 A CN 202111351545A CN 114071213 A CN114071213 A CN 114071213A
Authority
CN
China
Prior art keywords
bullet frame
frame
target
interception
target bullet
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.)
Pending
Application number
CN202111351545.3A
Other languages
Chinese (zh)
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 CN202111351545.3A priority Critical patent/CN114071213A/en
Publication of CN114071213A publication Critical patent/CN114071213A/en
Pending legal-status Critical Current

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/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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • 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/47End-user applications
    • H04N21/485End-user interface for client configuration
    • 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/812Monomedia components thereof involving advertisement data

Abstract

The invention belongs to the technical field of set top boxes and discloses a set top box elastic frame intercepting method, equipment and a storage medium. The method comprises the following steps: acquiring a target bullet frame and a corresponding type of the target bullet frame; if the target bullet frame type is a preset bullet frame type, performing interface detection on the target bullet frame to obtain a corresponding detection result; and acquiring identification information corresponding to the target bullet frame according to the detection result so that the terminal equipment can finish the interception of the target bullet frame based on the identification information. In this way, whether the target bullet frame belongs to the bullet frame that needs to be intercepted is judged through carrying out interface detection to the target bullet frame, if, then generates the identification information of this target bullet frame to make terminal equipment accomplish the intelligent interception to this target bullet frame based on identification information, thereby reduced the influence of bullet frame when using to the user, reduced user operation, improved user experience, still promoted the smoothness degree of system simultaneously.

Description

Set top box elastic frame intercepting method, device and storage medium
Technical Field
The invention relates to the technical field of set top boxes, in particular to a set top box elastic frame intercepting method, equipment and a storage medium.
Background
With the development of the internet, an OTT box is also gradually popular, and the OTT box refers to a high-definition terminal device which is used for watching online videos (such as high-definition live television, television dramas, movies, and heddles) by connecting a user to the internet. Compared with the traditional set top box, the OTT box has massive contents, high-definition image quality and the like, so that the OTT box is popular with vast users, but the OTT box is accompanied by frequent advertisement bullet frames which are frequently encountered by the users in the process of using the OTT box, more applications can be installed carelessly, more bullet frames not only influence the use experience of the users, but also can cause the system to be more and more jammed.
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 method, equipment and a storage medium for intercepting a popup frame of a set top box, and aims to solve the technical problem that the popup frame cannot be intelligently intercepted in the use process of the set top box in the prior art.
In order to achieve the above object, the present invention provides a method for intercepting a pop-up box of a set-top box, comprising the following steps:
acquiring a target bullet frame and a corresponding type of the target bullet frame;
if the target bullet frame type is a preset bullet frame type, performing interface detection on the target bullet frame to obtain a corresponding detection result;
and acquiring identification information corresponding to the target bullet frame according to the detection result so that the terminal equipment can finish the interception of the target bullet frame based on the identification information.
Optionally, the interface detection on the target bullet frame to obtain a corresponding detection result includes:
performing interface element analysis on the target bullet frame to obtain a corresponding analysis result;
if the analysis result is a preset result, judging whether the target bullet frame is closed within a preset interval;
and if the target bullet frame is closed within a preset time interval, judging whether a user confirmation instruction is acquired or not, and acquiring a corresponding detection result.
Optionally, the obtaining, according to the detection result, identification information corresponding to the target bullet frame to enable the terminal device to complete interception of the target bullet frame based on the identification information includes:
if a user confirmation instruction is obtained, obtaining identification information corresponding to the target bullet frame;
generating a corresponding identification code according to the identification information and determining the pop-up frequency corresponding to the identification code;
and adding the identification code and the pop-up frequency corresponding to the identification code to a preset interception list so that the terminal equipment finishes the hierarchical interception of the target bomb frame based on the preset interception list.
Optionally, the performing interface element analysis on the target bullet box to obtain a corresponding analysis result includes:
acquiring a preset bullet frame element;
performing interface element decomposition on the target bullet frame to obtain a corresponding target bullet frame element;
and comparing the target bullet frame element with the preset bullet frame element, and judging whether the preset bullet frame element exists in the target bullet frame element or not to obtain a corresponding analysis result.
Optionally, the adding the identification code and the pop-up frequency corresponding to the identification code to a preset interception list to enable the terminal device to complete the hierarchical interception of the target bullet frame based on the preset interception list includes:
adding the identification code and the pop-up frequency corresponding to the identification code to a preset interception list;
and sending the preset interception list to a terminal device so that the terminal device obtains an initial identification code of an initial bullet frame, if the initial identification code exists in the preset interception list, obtaining an initial pop-up frequency corresponding to the initial identification code, and performing hierarchical interception on the initial bullet frame serving as a target bullet frame according to the initial pop-up frequency.
Optionally, the identification information includes at least one of package name information, class name information, and a window identifier.
Optionally, the obtaining the target bullet frame and the corresponding type of the target bullet frame includes:
acquiring a target bullet frame;
identifying the bullet frame position and the bullet frame size corresponding to the target bullet frame;
and determining the corresponding target bullet frame type according to the bullet frame position and the bullet frame size.
In addition, in order to achieve the above object, the present invention further provides a set top box elastic frame intercepting device, including: the device comprises a memory, a processor and a set-top box bullet-frame interception program which is stored on the memory and can run on the processor, wherein the set-top box bullet-frame interception program is configured to realize the set-top box bullet-frame interception method.
In addition, in order to achieve the above object, the present invention further provides a storage medium, where a set-top box bullet frame interception program is stored on the storage medium, and when the set-top box bullet frame interception program is executed by a processor, the set-top box bullet frame interception method is implemented as described above.
The method comprises the steps of obtaining a target bullet frame and a corresponding type of the target bullet frame; if the target bullet frame type is a preset bullet frame type, performing interface detection on the target bullet frame to obtain a corresponding detection result; and acquiring identification information corresponding to the target bullet frame according to the detection result so that the terminal equipment can finish the interception of the target bullet frame based on the identification information. In this way, whether the target bullet frame belongs to the bullet frame that needs to be intercepted is judged through carrying out interface detection to the target bullet frame, if, then generates the identification information of this target bullet frame to make terminal equipment accomplish the intelligent interception to this target bullet frame based on identification information, thereby reduced the influence of bullet frame when using to the user, reduced user operation, improved user experience, still promoted the smoothness degree of system simultaneously.
Drawings
Fig. 1 is a schematic structural diagram of a set-top box elastic frame intercepting device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flowchart of a first embodiment of a set-top box popup frame interception method according to the present invention;
FIG. 3 is a view illustrating a pop-up box according to an embodiment of a pop-up box blocking method of the present invention;
FIG. 4 is a schematic flowchart of a second embodiment of a set-top box popup frame interception method according to the present invention;
FIG. 5 is a schematic overall flow chart of an embodiment of a set top box popup frame interception method according to the present invention;
fig. 6 is a block diagram of a first embodiment of a set-top box elastic frame intercepting apparatus according to 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 set-top box popup box intercepting apparatus in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the set-top box pop-up box intercepting 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), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. 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) Memory, or may be 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 set-top box bezel intercepting apparatus and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a set-top box popup intercepting program.
In the set-top box elastic frame intercepting device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the set-top box elastic frame intercepting equipment can be arranged in the set-top box elastic frame intercepting equipment, the set-top box elastic frame intercepting equipment calls the set-top box elastic frame intercepting program stored in the memory 1005 through the processor 1001, and the set-top box elastic frame intercepting method provided by the embodiment of the invention is executed.
An embodiment of the present invention provides a set top box popup frame intercepting method, and referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of the set top box popup frame intercepting method according to the present invention.
In this embodiment, the set top box pop-up frame intercepting method includes the following steps:
step S10: and acquiring the target bullet frame and the corresponding type of the target bullet frame.
It should be noted that the execution main body of this embodiment is a set-top box bullet frame detection system, after receiving a target bullet frame, a bullet window detection system confirms a bullet frame type of the target bullet frame, and performs an interface detection thread on the target bullet frame, so as to obtain whether the target bullet frame needs to be intercepted, and when the target bullet frame needs to be intercepted, the identification information of the target bullet frame is obtained, and the identification information is sent to a third-party application, so that the third-party application completes the interception of the target bullet frame according to the identification information.
It is understood that the target pop-up box refers to content that is automatically popped up without receiving an operation instruction of the user, for example, a page that is automatically popped up when the user presses an OK key of the remote controller, that is, no instruction is issued.
In a specific implementation, since the target bullet frame has multiple types, in order to better identify the advertisement harassment bullet frame that needs to be intercepted, further, the acquiring the target bullet frame and the corresponding type of the target bullet frame includes: acquiring a target bullet frame; identifying the bullet frame position and the bullet frame size corresponding to the target bullet frame; and determining the corresponding target bullet frame type according to the bullet frame position and the bullet frame size.
It should be noted that after the target pop-up frame is obtained, the position of the target pop-up frame in the current page needs to be identified, the size of the current pop-up frame is obtained, and the type of the current target pop-up frame can be determined after the position and the size of the pop-up frame are obtained. For example, as shown in fig. 3, after the bullet box is obtained, the position of the bullet box is determined to be above the page, and the size of the bullet box is 20% of the page proportion, then the current bullet box type can be determined to be a floating layer bullet box inherited to the dialog type.
Step S20: and if the target bullet frame type is the preset bullet frame type, performing interface detection on the target bullet frame to obtain a corresponding detection result.
It should be noted that the preset box type refers to an advertisement harassment box type that needs to be intercepted, and in this embodiment, the preset box type includes a floating layer box inherited from a dialog type and a full screen box inherited from an activity type, and there are background modification and pop animation modification in the attribute of the preset box type.
It can be understood that, in order to efficiently intercept the target bullet frame, the type of the target bullet frame may be determined and judged first, when the type of the target bullet frame is a preset bullet frame type, it is indicated that the target bullet frame may be an advertisement harassment bullet frame that needs to be intercepted, interface detection is further performed on the target bullet frame to obtain a corresponding detection result, and if the type of the target bullet frame is not the preset bullet frame type, it is indicated that the target bullet frame may be a bullet frame that a user needs to watch, and no further detection is performed.
In specific implementation, the interface detection refers to analyzing interface elements in a target bullet frame, comparing the interface elements with preset bullet frame elements, judging whether the target bullet frame contains the preset bullet frame elements, judging according to a user operation instruction, and immediately closing the target bullet frame by a user when the target bullet frame is popped up to obtain a corresponding detection result.
Step S30: and acquiring identification information corresponding to the target bullet frame according to the detection result so that the terminal equipment can finish the interception of the target bullet frame based on the identification information.
It should be noted that after the detection result is obtained, if the target bomb frame is the advertisement harassment bomb frame to be intercepted, the identification information corresponding to the target bomb frame is obtained, the identification information is sent to the target terminal, and when the target bomb frame is obtained again by subsequent terminal equipment, namely a third-party application, the target bomb frame can be distinguished as the bomb frame to be intercepted by obtaining the identification information of the target bomb frame, so that the target bomb frame is intercepted.
It is to be understood that, in order to obtain more accurate identification information, further, the identification information includes at least one of package name information, class name information, and a window identifier.
It should be noted that each target popup corresponds to a unique package name, class name, or window identifier, and after the target popup is obtained, the package name, class name, or window identifier of the target popup is obtained, so as to obtain the identification information of the target popup.
In the embodiment, the target bullet frame and the corresponding type of the target bullet frame are obtained; if the target bullet frame type is a preset bullet frame type, performing interface detection on the target bullet frame to obtain a corresponding detection result; and acquiring identification information corresponding to the target bullet frame according to the detection result so that the terminal equipment can finish the interception of the target bullet frame based on the identification information. In this way, whether the target bullet frame belongs to the bullet frame that needs to be intercepted is judged through carrying out interface detection to the target bullet frame, if, then generates the identification information of this target bullet frame to make terminal equipment accomplish the intelligent interception to this target bullet frame based on identification information, thereby reduced the influence of bullet frame when using to the user, reduced user operation, improved user experience, still promoted the smoothness degree of system simultaneously.
Referring to fig. 4, fig. 4 is a flowchart illustrating a set-top box pop-up box blocking method according to a second embodiment of the present invention.
Based on the first embodiment, the step S20 in the set-top box popup frame intercepting method of this embodiment includes:
step S21: and analyzing interface elements of the target bullet frame to obtain a corresponding analysis result.
It should be noted that after the target bullet frame is obtained, element decomposition needs to be performed on an interface corresponding to the target bullet frame to obtain target bullet frame elements, so that the target bullet frame elements are analyzed to obtain an analysis result of whether the target bullet frame contains the advertisement harassment bullet frame elements.
It can be understood that, in order to obtain an accurate interface element analysis result, further, the performing interface element analysis on the target bullet box to obtain a corresponding analysis result includes: acquiring a preset bullet frame element; performing interface element decomposition on the target bullet frame to obtain a corresponding target bullet frame element; and comparing the target bullet frame element with the preset bullet frame element, and judging whether the preset bullet frame element exists in the target bullet frame element or not to obtain a corresponding analysis result.
It should be noted that the preset bullet frame element refers to an advertisement harassment bullet frame element, and in this embodiment, the preset bullet frame element includes a countdown element, that is, an advertisement countdown element, an interface button element, for example, a confirmation or download button existing in the interface, and a full-screen picture element, for example, a picture layout in which the existence of the advertisement harassment bullet frame is not full of the full screen.
The method includes the steps of decomposing interface elements of a target bullet frame to obtain target bullet frame elements, comparing the target bullet frame elements with preset bullet frame elements, analyzing whether the preset bullet frame elements exist in the target bullet frame elements or not, and obtaining corresponding analysis results.
Step S22: and if the analysis result is a preset result, judging whether the target bullet frame is closed within a preset interval.
It should be noted that the preset result indicates that the preset bullet frame element exists in the target bullet frame element, which indicates that the target bullet frame may be an advertisement harassing bullet frame, and further determines whether the bullet frame is a bullet frame to be intercepted according to the user operation instruction.
It can be understood that, it is determined whether the target bullet box receives a user closing instruction within a preset time interval to close the target bullet box, where the preset time interval may be any time interval, and in this embodiment, it is described in 3s to 5s, that is, it is determined whether the target bullet box is closed within 3s to 5 s.
Step S23: and if the target bullet frame is closed within a preset time interval, judging whether a user confirmation instruction is acquired or not, and acquiring a corresponding detection result.
It should be noted that when the target pop-up frame is closed within the preset time interval, it needs to further determine whether to acquire a user confirmation instruction, that is, prompt the user to detect the pop-up frame just now, and determine whether the user has pressed a confirmation key, that is, send the user confirmation instruction, so as to obtain a corresponding detection result.
It can be understood that, in order to improve the accuracy of the bullet frame interception, further, the acquiring, according to the detection result, the identification information corresponding to the target bullet frame so that the terminal device completes interception of the target bullet frame based on the identification information includes: if a user confirmation instruction is obtained, obtaining identification information corresponding to the target bullet frame; generating a corresponding identification code according to the identification information and determining the pop-up frequency corresponding to the identification code; and adding the identification code and the pop-up frequency corresponding to the identification code to a preset interception list so that the terminal equipment finishes the hierarchical interception of the target bomb frame based on the preset interception list.
When a user confirmation instruction is obtained, it is described that the current user confirms that the target bomb frame is an advertisement harassing bomb frame, the target bomb frame needs to be intercepted, identification information corresponding to the target bomb frame is obtained at the moment, a corresponding identification code is generated according to the identification information, the identification code is a unique id code corresponding to the target bomb frame, the identification code is added to a preset interception list, namely a blacklist, so that when the terminal equipment obtains the target bomb frame again, the target bomb frame can be distinguished as the bomb frame needing to be intercepted by obtaining the identification information of the target bomb frame, and accordingly, the target bomb frame is intercepted in a grading mode.
It can be understood that, when the identification code is added to the preset interception list, the pop-up frequency of the bullet frame corresponding to the identification code is also stored, and the pop-up frequency can be determined according to the identification result obtained by identifying the target bullet frame element, for example, the pop-up frequency corresponding to the xxxx1 identification code is 1, when the terminal device intercepts the bullet frame based on the preset interception list, the bullet frame can be allowed to be displayed once a day, for example, the current a bullet frame is the bullet frame to be intercepted, the pop-up frequency corresponding to the a bullet frame identification code in the preset interception list is 1, when the terminal device intercepts the a bullet frame, the number of times that the a bullet frame has been displayed needs to be obtained, if the number of times that the a bullet frame has been displayed is 1, the a bullet frame continues to be intercepted, and if the number of times that the a bullet frame has been displayed is 0, the interception of the a bullet frame can be suspended, so that the a bullet frame is displayed.
In a specific implementation, in order to enable the terminal device to be accurate to prevent false interception and to enable level management of a preset interception list, further, adding the identification code and the pop-up frequency corresponding to the identification code to the preset interception list so that the terminal device completes interception of the target bullet frame based on the preset interception list includes: adding the identification code and the pop-up frequency corresponding to the identification code to a preset interception list; and sending the preset interception list to a terminal device so that the terminal device obtains an initial identification code of an initial bullet frame, if the initial identification code exists in the preset interception list, obtaining an initial pop-up frequency corresponding to the initial identification code, and performing hierarchical interception on the initial bullet frame serving as a target bullet frame according to the initial pop-up frequency.
The method includes the steps of adding an identification code of a target bullet frame to be intercepted and a corresponding pop-up frequency to a preset interception list, sending the preset interception list to terminal equipment, acquiring the identification code of an initial bullet frame when the terminal equipment detects that the initial bullet frame appears, acquiring the initial pop-up frequency corresponding to the initial identification code if the initial identification code is in the preset interception list, taking the initial bullet frame as the target bullet frame, performing graded interception according to the initial bullet frame frequency, and if the initial identification code is not in the preset interception list, indicating that the initial identification code of the initial bullet frame exists in a bullet frame interception white list, and indicating that the initial bullet frame does not need to be intercepted.
In a specific implementation, as shown in fig. 5, after a set-top box frame detection system server obtains a frame, if a user temporarily does not press a confirmation key, the frame is detected through a detection thread, when the frame type conforms to a preset frame type, an interface layout, i.e., interface elements, of the frame is analyzed, when the interface elements have the preset frame elements, whether the frame is closed immediately within a preset time interval is judged, if the frame is closed, the user is prompted to detect the frame, and the user presses the confirmation key, i.e., the frame is determined to be a frame to be intercepted, if the frame is closed, a unique identification code is generated according to a packet name and a windows name of the frame, the unique identification code is written into a local blacklist, i.e., a preset interception blacklist, an identification code which is not stored in the preset interception whitelist is automatically stored in the interception whitelist, and is reported to the server, and when a terminal device, i.e., a third party application, identifies that a frame exists to be intercepted, the method comprises the steps of obtaining a preset interception black-and-white list from a server, searching in the preset interception list according to an identification code of a bullet frame, allowing the bullet frame to be displayed when the identification code is searched in a white list, and intercepting the bullet frame if the identification code is searched in a black list. The method comprises the steps that bullet frame information collected by a third-party application, namely terminal equipment, is reported to a service server, the server judges whether the bullet frame is an advertisement harassment bullet frame needing to be intercepted or not according to detection and operation of other users, and if yes, a generated interception blacklist is sent to the third-party application, so that the third-party application can directly finish interception of the bullet frame without confirmation of corresponding users of the current third-party application.
In the embodiment, the interface element analysis is performed on the target bullet frame to obtain a corresponding analysis result; if the analysis result is a preset result, judging whether the target bullet frame is closed within a preset interval; and if the target bullet frame is closed within a preset time interval, judging whether a user confirmation instruction is acquired or not, and acquiring a corresponding detection result. The detection of the target bullet frame is completed through user operation and interface element analysis, so that the detection result is more accurate, and the accuracy of bullet frame interception is improved.
In addition, referring to fig. 6, an embodiment of the present invention further provides a set top box elastic frame intercepting apparatus, where the set top box elastic frame intercepting apparatus includes:
the obtaining module 10 is configured to obtain a target bullet frame and a corresponding type of the target bullet frame.
And the detection module 20 is configured to perform interface detection on the target bullet frame to obtain a corresponding detection result if the type of the target bullet frame is a preset bullet frame type.
The determining module 30 is configured to obtain identification information corresponding to the target bullet frame according to the detection result, so that the terminal device completes interception of the target bullet frame based on the identification information.
In the embodiment, the target bullet frame and the corresponding type of the target bullet frame are obtained; if the target bullet frame type is a preset bullet frame type, performing interface detection on the target bullet frame to obtain a corresponding detection result; and acquiring identification information corresponding to the target bullet frame according to the detection result so that the terminal equipment can finish the interception of the target bullet frame based on the identification information. In this way, whether the target bullet frame belongs to the bullet frame that needs to be intercepted is judged through carrying out interface detection to the target bullet frame, if, then generates the identification information of this target bullet frame to make terminal equipment accomplish the intelligent interception to this target bullet frame based on identification information, thereby reduced the influence of bullet frame when using to the user, reduced user operation, improved user experience, still promoted the smoothness degree of system simultaneously.
In an embodiment, the detection module 20 is further configured to perform interface element analysis on the target bullet box to obtain a corresponding analysis result;
if the analysis result is a preset result, judging whether the target bullet frame is closed within a preset interval;
and if the target bullet frame is closed within a preset time interval, judging whether a user confirmation instruction is acquired or not, and acquiring a corresponding detection result.
In an embodiment, the detection module 20 is further configured to, if a user confirmation instruction is obtained, obtain identification information corresponding to the target bullet box;
generating a corresponding identification code according to the identification information;
and adding the identification code to a preset interception list so that the terminal equipment can finish the interception of the target bullet frame based on the preset interception list.
In an embodiment, the detection module 20 is further configured to obtain a preset bullet frame element;
performing interface element decomposition on the target bullet frame to obtain a corresponding target bullet frame element;
and comparing the target bullet frame element with the preset bullet frame element, and judging whether the preset bullet frame element exists in the target bullet frame element or not to obtain a corresponding analysis result.
In an embodiment, the detection module 20 is further configured to add the identification code to a preset interception list;
and sending the preset interception list to a terminal device so that the terminal device can acquire an initial identification code of an initial bomb frame, and if the initial identification code exists in the preset interception list, intercepting the initial bomb frame as a target bomb frame.
In an embodiment, the obtaining module 10 is further configured to obtain a target bullet frame;
identifying the bullet frame position and the bullet frame size corresponding to the target bullet frame;
and determining the corresponding target bullet frame type according to the bullet frame position and the bullet frame size.
Since the present apparatus employs all technical solutions of all the above embodiments, at least all the beneficial effects brought by the technical solutions of the above embodiments are achieved, and are not described in detail herein.
In addition, an embodiment of the present invention further provides a storage medium, where a set-top box bullet frame interception program is stored on the storage medium, and the set-top box bullet frame interception program implements the steps of the set-top box bullet frame interception method described above when executed by a processor.
Since the storage medium adopts all technical solutions of all the embodiments, at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and no further description is given here.
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 set-top box popup frame intercepting method provided in any embodiment of the present invention, and are not described herein again.
Further, it is to 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.
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 solution 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. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. 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 (9)

1. A set top box elastic frame intercepting method is characterized by comprising the following steps:
acquiring a target bullet frame and a corresponding type of the target bullet frame;
if the target bullet frame type is a preset bullet frame type, performing interface detection on the target bullet frame to obtain a corresponding detection result;
and acquiring identification information corresponding to the target bullet frame according to the detection result so that the terminal equipment can finish the interception of the target bullet frame based on the identification information.
2. The set-top box bullet frame interception method according to claim 1, wherein the interface detection of the target bullet frame to obtain a corresponding detection result comprises:
performing interface element analysis on the target bullet frame to obtain a corresponding analysis result;
if the analysis result is a preset result, judging whether the target bullet frame is closed within a preset interval;
and if the target bullet frame is closed within a preset time interval, judging whether a user confirmation instruction is acquired or not, and acquiring a corresponding detection result.
3. The set-top box bullet frame interception method according to claim 2, wherein the acquiring identification information corresponding to the target bullet frame according to the detection result so that the terminal device completes interception of the target bullet frame based on the identification information includes:
if a user confirmation instruction is obtained, obtaining identification information corresponding to the target bullet frame;
generating a corresponding identification code according to the identification information and determining the pop-up frequency corresponding to the identification code;
and adding the identification code and the pop-up frequency corresponding to the identification code to a preset interception list so that the terminal equipment finishes the hierarchical interception of the target bomb frame based on the preset interception list.
4. The set-top box bullet frame interception method according to claim 2, wherein the performing interface element analysis on the target bullet frame to obtain a corresponding analysis result comprises:
acquiring a preset bullet frame element;
performing interface element decomposition on the target bullet frame to obtain a corresponding target bullet frame element;
and comparing the target bullet frame element with the preset bullet frame element, and judging whether the preset bullet frame element exists in the target bullet frame element or not to obtain a corresponding analysis result.
5. The set top box bullet frame interception method according to claim 3, wherein the adding the identification code and the pop-up frequency corresponding to the identification code to a preset interception list so that a terminal device finishes intercepting the target bullet frame based on the preset interception list comprises:
adding the identification code and the pop-up frequency corresponding to the identification code to a preset interception list;
and sending the preset interception list to a terminal device so that the terminal device obtains an initial identification code of an initial bullet frame, if the initial identification code exists in the preset interception list, obtaining an initial pop-up frequency corresponding to the initial identification code, and performing hierarchical interception on the initial bullet frame serving as a target bullet frame according to the initial pop-up frequency.
6. The set-top box pop-frame interception method according to any one of claims 1 to 5, wherein said identification information includes at least one of packet name information, class name information, and window identifier.
7. The set-top box bullet frame intercepting method according to any one of claims 1 to 6, wherein said obtaining a target bullet frame and a corresponding target bullet frame type comprises:
acquiring a target bullet frame;
identifying the bullet frame position and the bullet frame size corresponding to the target bullet frame;
and determining the corresponding target bullet frame type according to the bullet frame position and the bullet frame size.
8. A set top box popup frame intercepting apparatus, comprising: a memory, a processor, and a set-top box bullet and frame interception program stored on the memory and executable on the processor, the set-top box bullet and frame interception program being configured to implement the set-top box bullet and frame interception method according to any one of claims 1 to 7.
9. A storage medium, wherein a set-top box bullet frame interception program is stored on the storage medium, and when being executed by a processor, the set-top box bullet frame interception program implements the set-top box bullet frame interception method according to any one of claims 1 to 7.
CN202111351545.3A 2021-11-15 2021-11-15 Set top box elastic frame intercepting method, device and storage medium Pending CN114071213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111351545.3A CN114071213A (en) 2021-11-15 2021-11-15 Set top box elastic frame intercepting method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111351545.3A CN114071213A (en) 2021-11-15 2021-11-15 Set top box elastic frame intercepting method, device and storage medium

Publications (1)

Publication Number Publication Date
CN114071213A true CN114071213A (en) 2022-02-18

Family

ID=80272764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111351545.3A Pending CN114071213A (en) 2021-11-15 2021-11-15 Set top box elastic frame intercepting method, device and storage medium

Country Status (1)

Country Link
CN (1) CN114071213A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685136A (en) * 2012-08-30 2014-03-26 腾讯科技(深圳)有限公司 Pop-up window intercepting method and device
CN105303105A (en) * 2015-10-20 2016-02-03 珠海市君天电子科技有限公司 Window message interception method and device and terminal equipment
CN107797841A (en) * 2017-11-21 2018-03-13 广东欧珀移动通信有限公司 Window control method, apparatus, terminal device and storage medium
CN109634609A (en) * 2018-12-21 2019-04-16 江苏满运软件科技有限公司 Display methods, system, equipment and the storage medium of dynamic pop-up

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685136A (en) * 2012-08-30 2014-03-26 腾讯科技(深圳)有限公司 Pop-up window intercepting method and device
CN105303105A (en) * 2015-10-20 2016-02-03 珠海市君天电子科技有限公司 Window message interception method and device and terminal equipment
CN107797841A (en) * 2017-11-21 2018-03-13 广东欧珀移动通信有限公司 Window control method, apparatus, terminal device and storage medium
CN109634609A (en) * 2018-12-21 2019-04-16 江苏满运软件科技有限公司 Display methods, system, equipment and the storage medium of dynamic pop-up

Similar Documents

Publication Publication Date Title
JP7018920B2 (en) Confidential information processing methods, devices, servers, and security decision systems
US11570211B1 (en) Detection of phishing attacks using similarity analysis
US10581879B1 (en) Enhanced malware detection for generated objects
US9665701B2 (en) Mask based challenge response test
CN104331662B (en) Android malicious application detection method and device
CN106295333A (en) For detecting the method and system of malicious code
CN109495467B (en) Method and device for updating interception rule and computer readable storage medium
CN106789973B (en) Page security detection method and terminal equipment
WO2021012517A1 (en) Message display method and apparatus, and storage medium and computer device
CN114253860A (en) Interface misuse defect detection method and device, readable medium and electronic equipment
CN112615873A (en) Internet of things equipment safety detection method, equipment, storage medium and device
CN114071213A (en) Set top box elastic frame intercepting method, device and storage medium
CN111143001A (en) Language detection method of terminal, user equipment, storage medium and device
CN106709343B (en) Virus monitor method and device
CN112351008B (en) Network attack analysis method and device, readable storage medium and computer equipment
CN114301713A (en) Risk access detection model training method, risk access detection method and risk access detection device
CN109788001B (en) Suspicious internet protocol address discovery method, user equipment, storage medium and device
CN112597012A (en) Traversal method and device of application program, electronic equipment and storage medium
CN110706221A (en) Verification method, verification device, storage medium and device for customizing pictures
CN112542165A (en) Voice control method of application program and intelligent terminal
CN111063340A (en) Service processing method and device of terminal, terminal and computer readable storage medium
CN111143867B (en) Safety input method and system applied to Mac platform
CN114025210B (en) Popup shielding method, equipment, storage medium and device
CN114465789A (en) Analysis method, device and equipment for network rubbing equipment and storage medium
Rughani et al. AUMFOR: Automated Memory Forensics for Malware Analysis

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