CN112578958B - Control method, control device, terminal equipment and storage medium - Google Patents

Control method, control device, terminal equipment and storage medium Download PDF

Info

Publication number
CN112578958B
CN112578958B CN202011492405.3A CN202011492405A CN112578958B CN 112578958 B CN112578958 B CN 112578958B CN 202011492405 A CN202011492405 A CN 202011492405A CN 112578958 B CN112578958 B CN 112578958B
Authority
CN
China
Prior art keywords
display interface
window
preset
control
popup
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.)
Active
Application number
CN202011492405.3A
Other languages
Chinese (zh)
Other versions
CN112578958A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011492405.3A priority Critical patent/CN112578958B/en
Publication of CN112578958A publication Critical patent/CN112578958A/en
Priority to PCT/CN2021/112604 priority patent/WO2022127152A1/en
Application granted granted Critical
Publication of CN112578958B publication Critical patent/CN112578958B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention relates to a control method, a control device, terminal equipment and a storage medium, wherein the method comprises the following steps: receiving target trigger operation on a display interface when a popup window is arranged on the display interface in a floating manner; determining a preset element corresponding to the popup window based on the target trigger operation; through the preset element is right the popup is controlled, the popup is closed or skipped through target triggering operation, operation is fast and convenient to build, the user is prevented from spending time to find a closing or skipping button, and user experience of the user in the process of the terminal device is improved.

Description

Control method, control device, terminal equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of intelligent terminals, in particular to a control method, a control device, terminal equipment and a storage medium.
Background
With the development of communication technology, more and more applications are installed in terminals such as smart mobile phones, personal digital assistants, palm computers and desktop computers, and opportunities for some malicious advertisers to make a break-in are brought, for example, the malicious advertisers download the applications in a bundled manner, and when a user installs a downloaded application installation package, the implanted malicious applications are also installed under the condition that the user is not aware of the downloaded application installation package, so that various types of pop-up windows, such as an advertisement floating window, can be popped up to the user through the installed malicious applications.
When a user operates the terminal, malicious application programs and some application programs running in a background can start the popup window by calling the popup window starting function, the advertisement floating window is displayed for the user, the closing icon corresponding to the advertisement floating window is usually arranged in a place which is not easy to be found by the user, so that the user needs to spend a large amount of time to find the closing icon, and then the closing icon is clicked to close the advertisement floating window.
Disclosure of Invention
In view of this, in order to solve the technical problems that a user manually closes an advertisement floating window, the time consumption is long, and the user experience is poor, embodiments of the present invention provide a control method, an apparatus, a terminal device, and a storage medium.
In a first aspect, an embodiment of the present invention provides a control method, including:
receiving target trigger operation on a display interface when a popup window is arranged on the display interface in a floating manner;
determining a preset element corresponding to the popup window based on the target trigger operation;
and controlling the pop-up window through the preset element.
In one possible embodiment, the determining, based on the target trigger operation, the preset element corresponding to the popup window includes:
calling a monitoring component of the display interface through the target triggering operation;
and searching the preset elements corresponding to the pop-up windows through the monitoring component.
In one possible embodiment, the preset elements include: a close button or a skip button.
In a possible embodiment, the controlling the pop-up window by the preset element includes:
when the preset element is determined to be the closing button, calling a control assembly to execute click operation on the closing button so as to control the popup to be closed;
or the like, or, alternatively,
and when the preset element is determined to be the skip button, calling a control component to execute click operation on the skip button so as to control the popup to skip.
In one possible embodiment, the method further comprises:
configuring target trigger operation corresponding to the popup window;
and associating the target triggering operation with a monitoring component and a control component so as to enable the target triggering operation to control the popup.
In one possible embodiment, the method further comprises:
updating the target trigger operation, wherein the target trigger operation comprises one or more gestures.
In one possible implementation, the gesture includes: the two fingers slide in the same or opposite directions simultaneously.
In one possible embodiment, the pop-up window includes: and (6) advertising pop-up windows.
In a second aspect, an embodiment of the present invention provides a control apparatus, including:
the receiving module is used for receiving target triggering operation on the display interface when the popup window is arranged on the display interface in a floating mode;
the determining module is used for determining preset elements corresponding to the popup windows based on the target triggering operation;
and the control module is used for controlling the pop-up window through the preset elements.
In a third aspect, an embodiment of the present invention provides a terminal device, including: a processor and a memory, the processor being configured to execute a control program stored in the memory to implement the control method of any one of the first aspect described above.
In a fourth aspect, an embodiment of the present invention provides a storage medium, where one or more programs are stored, and the one or more programs are executable by one or more processors to implement the control method according to any one of the first aspects.
According to the control scheme provided by the embodiment of the invention, when the pop-up window is arranged on the display interface in a floating manner, the target trigger operation on the display interface is received; determining a preset element corresponding to the popup window based on the target trigger operation; the popup is controlled through the preset elements, the popup is closed or skipped through target triggering operation, the user is prevented from spending time to find a closing or skipping button, and user experience of the user in the process of the terminal device is improved.
Drawings
Fig. 1 is a schematic flow chart of a control method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another control method according to an embodiment of the present invention;
fig. 3 is a schematic view of a display interface of a terminal device in which a pop-up window is suspended according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a pop-up window closing control based on gestures according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a control device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For the convenience of understanding of the embodiments of the present invention, the following description will be further explained with reference to specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
Fig. 1 is a schematic flowchart of a control method according to an embodiment of the present invention, and as shown in fig. 1, the method specifically includes:
and S11, receiving target trigger operation on the display interface when the pop-up window is arranged on the display interface in a floating manner.
The control method provided by the embodiment of the invention is applied to the terminal equipment, when the floating window pops up in the display process of the display interface of the terminal equipment (the pop-up window can be arranged at any position of the display interface in a suspending way), the pop-up window is automatically closed or skipped through the triggering operation of the user so as to avoid influencing the reading/watching experience of the user, and the pop-up window can be an advertisement floating window.
The terminal device monitors the current display interface in real time, when detecting that the popup window is arranged on the display interface in a floating mode, a user can operate the display interface through gesture actions, and the terminal device judges whether the triggering operation triggered by the user on the display interface is target triggering operation or not, wherein the target triggering operation is operation corresponding to the popup window, and the target triggering operation can control the popup window.
And S12, determining the preset element corresponding to the popup window based on the target trigger operation.
In the embodiment of the present invention, the pop-up window is correspondingly provided with a preset element, the preset element is usually set in an area that is not beneficial to be found, and the preset element may be a close button or a skip button.
Trigger operation according to targetSearching for preset elements corresponding to the popup window from the display interface, wherein in the display interface, besides the preset elements corresponding to the popup window, other elements (e.g., elements such as page turning, fast forwarding, etc.) may exist, so that all the elements of the display interface are first screened to obtain the preset elements, and the screening basis may be determined according to visual samples of the elements, for example, the visual style corresponding to the close button is:
Figure BDA0002838662590000051
and S13, controlling the pop-up window through the preset elements.
In this embodiment, the pop-up window is controlled by setting the target trigger operation and the linked control of the pop-up window, the preset element is determined by the target trigger operation, and then the pop-up window is controlled by the target trigger operation by automatically executing the click operation on the preset element.
Further, when the preset element is a close button, the close button of the popup in the display interface is determined through target triggering operation, and then clicking operation on the close button is automatically executed, so that the popup is automatically closed.
According to the control method provided by the embodiment of the invention, when the popup window is arranged on the display interface in a floating manner, the target trigger operation on the display interface is received; determining a preset element corresponding to the popup window based on the target trigger operation; the popup is controlled through the preset elements, the popup is closed or skipped through target triggering operation, the user is prevented from spending time to find a closing or skipping button, and user experience of the user in the process of the terminal device is improved.
Fig. 2 is a schematic flow chart of another control method according to an embodiment of the present invention, and as shown in fig. 2, the method specifically includes:
and S21, receiving target trigger operation on the display interface when the pop-up window is arranged on the display interface in a floating manner.
In the process that a user uses a terminal device, a popup with an advertisement promotion function often appears in the process that the user uses a certain application program, and a design person of the popup often sets a closing button or a skipping button corresponding to the popup at a hidden position by staying a focus on the popup for a long time, so that the user can spend a certain time to find the popup, thereby prolonging the display time of the popup.
The control method provided by the embodiment of the invention is applied to the control of the popup on the terminal equipment, the popup is controlled through the preset target trigger operation, the user does not need to spend time to search the control button of the popup, and the target trigger operation can be the operation of controlling the preset element in the display interface.
In an alternative of the embodiment of the present invention, a target trigger operation corresponding to the popup window is configured, where the target trigger operation may include: one or more gestures, which act on the screen of the terminal device through user triggering.
Further, the gesture includes: the two fingers slide in the same or opposite directions simultaneously.
For example, the gesture may be that two thumbs slide from the middle position of the screen to the two side frames of the display interface at the same time, or the two thumbs slide from the positions of the two side frames of the screen to the middle of the screen at the same time.
In an alternative of the embodiment of the present invention, an update option of the target trigger operation is further provided, and the operation of deleting, replacing, or adding the target trigger operation can be implemented through the update option.
It should be noted that: the gesture may also be any other form of motion, the starting position of the gesture may be any position of the screen, the sliding distance of the gesture on the screen may be set according to the user requirement, and the embodiment does not specifically limit the form of the gesture, the initial position of the gesture on the screen, and the sliding distance corresponding to the gesture.
The display interface may be a corresponding interface on an application program loaded on the terminal device, and the interface may be an initial interface entering the application program, a content interface in the application program display process, or a switching interface when the application program executes interface switching.
For example, a reading presentation interface of a novel reading type APP.
Further, the display interface includes a plurality of elements, an element may be understood as a component in the display interface or a sub-interface suspended on the display interface, the element may include a preset element and a non-preset element, and the preset element may be: the floating setting is set on a sub-interface or a component of the display interface (for example, a close button or a skip button of the advertisement floating window), and the non-preset elements may be: a component for controlling the display interface (e.g., an exit button or a next page button of the current display interface).
And S22, calling a monitoring component of the display interface through the target triggering operation.
In this embodiment, a target departure operation, a monitoring component for displaying an interface, and a control component for displaying an interface are associated in advance, and the monitoring component and the control component are called by the target departure operation to realize linkage control of a popup window in the display interface.
And S23, searching the preset elements corresponding to the pop-up windows through the monitoring component.
The monitoring component is configured to monitor elements of the display interface and determine preset elements corresponding to the pop-up windows, and the manner of determining the preset elements from all the elements in the display interface may include the following: the judgment is made by the visual style of the element or by the code of the element.
Further, the preset elements corresponding to the pop-up window may include: closing the button and skipping the button, correspondingly, for the closing button, when judging through the visual style of the element, can judge whether the visual style corresponding to the closing button is:
Figure BDA0002838662590000071
in determining the visual style as
Figure BDA0002838662590000072
Determining the element as a preset element; when the judgment is carried out through the codes of the elements, whether the code segment corresponding to the closing button contains characters of button and closing can be judged, and the code segment contains the characters of button and closingIncluding "button" and "close", which are determined as the preset elements.
In an example of the present invention, the code segment corresponding to the pop-up close button may be:
"input id ═ BtnClose" type ═ button "value ═ close" onclick ═ closeIframe () "/> < input id ═ BtnClose" type ═ button "value ═ close" onclick ═ closeIframe () "/>, and
s24, when the preset element is determined to be the closing button, calling a control component to execute clicking operation on the closing button so as to control the popup to be closed.
S25, when the preset element is determined to be the skip button, calling a control component to execute clicking operation on the skip button so as to control the popup window to skip.
In this embodiment, the control assembly is an assembly for controlling the preset element corresponding to the pop-up window, and after the preset element of the pop-up window is acquired through the monitoring assembly, the control assembly is called to directly execute a click operation on the preset element, so that the pop-up window is controlled through a gesture.
When the preset element is a closing button, the monitoring component is called through target triggering operation to search for a preset element closing button corresponding to the popup window in the display interface, and then the control component is called to execute click operation on the preset element closing button, so that the popup window is automatically controlled to be closed.
When the preset element is a skip button, the monitoring component is called through target triggering operation to search the preset element 'skip button' corresponding to the popup window in the display interface, then the control component is called to execute click operation on the preset element 'skip button', and then the popup window is automatically controlled to skip.
The terminal device referred to above may be a mobile terminal, for example, a terminal such as a smart phone, a tablet computer, and the like, and the embodiment will be described below by taking the terminal device as a smart phone as an example.
Referring to fig. 3, a schematic diagram of a display interface where a popup provided by an embodiment of the present invention is suspended in a terminal device is shown, in the display interface, the popup is located in the middle of the display interface, a preset element is a "close button", and the "close button" is located at an upper right corner of the popup.
Referring to fig. 4, a schematic diagram of controlling the closing of the pop-up window based on the gesture according to the embodiment of the present invention is shown, in the display interface, the thumbs of the left and right hands of the user are respectively placed in the positions below the pop-up window of the display interface, the thumb of the left hand is placed at the position of the index finger of the left hand, the thumb of the right hand is placed at the position of the thumb of the right hand, and then the thumb of the left hand and the thumb of the right hand simultaneously slide on the display interface of the terminal device according to the arrow direction, so as to control the closing of the pop-up window.
According to the control method provided by the embodiment of the invention, when the popup window is arranged on the display interface in a floating manner, the target trigger operation on the display interface is received; determining a preset element corresponding to the popup window based on the target trigger operation; through it is right to predetermine the element the popup controls, triggers the operation through the target and realizes closing or skipping the popup, and easy operation is swift, avoids the user to spend time to look for and close or skip the button, promotes the user experience of user at terminal equipment in-process.
Fig. 5 is a schematic structural diagram of a control device according to an embodiment of the present invention, and as shown in fig. 5, the control device specifically includes:
the receiving module 501 is configured to receive a target trigger operation on a display interface when a pop-up window is arranged on the display interface in a floating manner;
a determining module 502, configured to determine a preset element corresponding to the popup window based on the target trigger operation;
and a control module 503, configured to control the pop-up window through the preset element.
In a possible implementation manner, the determining module 502 is specifically configured to invoke a monitoring component of the display interface through the target triggering operation; and searching the preset elements corresponding to the pop-up windows through the monitoring component.
In one possible embodiment, the preset elements include: a close button or a skip button.
In a possible embodiment, the control module 503 is specifically configured to, when it is determined that the preset element is the close button, invoke a control component to perform a click operation on the close button, so as to control the pop-up window to be closed; or when the preset element is determined to be the skip button, calling a control component to execute click operation on the skip button so as to control the popup window to skip.
In one possible embodiment, the apparatus further comprises:
a configuration module 504, configured to configure a target trigger operation corresponding to the popup window;
an association module 505, configured to associate the target trigger operation with a monitoring component and a control component, so that the target trigger operation controls the popup.
In one possible embodiment, the apparatus further comprises:
an update module 506, configured to update the target trigger operation, where the target trigger operation includes one or more gestures.
In one possible implementation, the gesture includes: the two fingers slide in the same or opposite directions simultaneously.
In one possible embodiment, the pop-up window includes: and (6) advertising pop-up windows.
The control device provided in this embodiment may be the control device shown in fig. 5, and may perform all the steps of the control method shown in fig. 1-2, so as to achieve the technical effects of the control method shown in fig. 1-2, and for brevity, it is not described herein again.
Fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention, where the terminal device 600 shown in fig. 6 includes: at least one processor 601, memory 602, at least one network interface 604, and other user interfaces 603. The various components in the terminal device 600 are coupled together by a bus system 605. It is understood that the bus system 605 is used to enable communications among the components. The bus system 605 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 605 in fig. 6.
The user interface 603 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that the memory 602 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 602 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 602 stores the following elements, executable units or data structures, or a subset thereof, or an expanded set thereof: an operating system 6021 and application programs 6022.
The operating system 6021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application program 6022 includes various application programs such as a Media Player (Media Player), a Browser (Browser), and the like, and is used to implement various application services. A program implementing the method of an embodiment of the invention can be included in the application program 6022.
In the embodiment of the present invention, by calling a program or an instruction stored in the memory 602, specifically, a program or an instruction stored in the application program 6022, the processor 601 is configured to execute the method steps provided by the method embodiments, for example, including:
when the popup window is arranged on the display interface in a floating mode, receiving target trigger operation on the display interface; determining a preset element corresponding to the popup window based on the target trigger operation; and controlling the pop-up window through the preset element.
In one possible implementation, a monitoring component of the display interface is called through the target triggering operation; and searching the preset elements corresponding to the pop-up windows through the monitoring component.
In one possible embodiment, the preset elements include: a close button or a skip button.
In one possible embodiment, when the preset element is determined to be the close button, a control component is called to execute a click operation on the close button so as to control the popup to close; or when the preset element is determined to be the skip button, calling a control component to execute click operation on the skip button so as to control the popup window to skip.
In one possible implementation, configuring a target trigger operation corresponding to the popup window; and associating the target triggering operation with a monitoring component and a control component so as to enable the target triggering operation to control the popup.
In one possible implementation, the target trigger operation is updated, and the target trigger operation comprises one or more gestures.
In one possible implementation, the gesture includes: the two fingers slide in the same or opposite directions simultaneously.
In one possible embodiment, the pop-up window includes: and (6) advertising pop-up windows.
The method disclosed by the above-mentioned embodiment of the present invention can be applied to the processor 601, or implemented by the processor 601. The processor 601 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 601. The Processor 601 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software elements in the decoding processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, among other storage media that are well known in the art. The storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602 and completes the steps of the method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units performing the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
The terminal device provided in this embodiment may be the terminal device shown in fig. 6, and may execute all the steps of the control method shown in fig. 1-2, so as to achieve the technical effect of the control method shown in fig. 1-2, and for brevity, it is not described here again.
The embodiment of the invention also provides a storage medium (computer readable storage medium). The storage medium herein stores one or more programs. Among others, the storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
When one or more programs in the storage medium are executable by one or more processors to implement the above-described control method executed on the control device side.
The processor is configured to execute the control program stored in the memory to implement the following steps of the control method executed on the control device side:
receiving target trigger operation on a display interface when a popup window is arranged on the display interface in a floating manner; determining a preset element corresponding to the popup window based on the target trigger operation; and controlling the pop-up window through the preset element.
In one possible implementation, a monitoring component of the display interface is called through the target triggering operation; and searching the preset elements corresponding to the pop-up windows through the monitoring component.
In one possible embodiment, the preset elements include: a close button or a skip button.
In one possible embodiment, when the preset element is determined to be the close button, a control component is called to execute a click operation on the close button so as to control the popup to close; or when the preset element is determined to be the skip button, calling a control component to execute click operation on the skip button so as to control the popup window to skip.
In one possible implementation, configuring a target trigger operation corresponding to the popup window; and associating the target triggering operation with a monitoring component and a control component so as to enable the target triggering operation to control the popup.
In one possible implementation, the target trigger operation is updated, and the target trigger operation comprises one or more gestures.
In one possible implementation, the gesture includes: the two fingers slide in the same or opposite directions simultaneously.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (11)

1. A control method, comprising:
when the popup window is arranged on the display interface in a floating mode, receiving target trigger operation on the display interface, wherein the target trigger operation is operation for controlling preset elements in the display interface;
determining preset elements corresponding to the popup window based on the target trigger operation, wherein the preset elements comprise: searching preset elements corresponding to the pop-up window from the display interface according to the target triggering operation, wherein all the elements of the display interface are screened to obtain the preset elements, and the screening basis is to judge according to visual samples of the elements;
and controlling the pop-up window through the preset element.
2. The method of claim 1, wherein the determining the preset element corresponding to the popup based on the target trigger operation comprises:
calling a monitoring component of the display interface through the target triggering operation;
and searching the preset elements corresponding to the pop-up windows through the monitoring component.
3. The method of claim 1, wherein the preset elements comprise: a close button or a skip button.
4. The method of claim 3, wherein the controlling the pop-up window by the preset element comprises:
when the preset element is determined to be the closing button, calling a control assembly to execute click operation on the closing button so as to control the popup to be closed;
or the like, or, alternatively,
and when the preset element is determined to be the skip button, calling a control component to execute click operation on the skip button so as to control the popup window to skip.
5. The method of claim 1, further comprising:
configuring the target trigger operation corresponding to the popup window;
and associating the target triggering operation with a monitoring component and a control component so as to enable the target triggering operation to control the popup.
6. The method of claim 5, further comprising:
updating the target trigger operation, wherein the target trigger operation comprises one or more gestures.
7. The method of claim 6, wherein the gesture comprises: the two fingers slide in the same or opposite directions simultaneously.
8. The method of any of claims 1-7, wherein the pop-up window comprises: and (5) advertisement pop-up window.
9. A control device, comprising:
the device comprises a receiving module, a display interface and a control module, wherein the receiving module is used for receiving target trigger operation on the display interface when a popup window is arranged on the display interface in a floating manner, and the target trigger operation is operation for controlling preset elements in the display interface;
a determining module, configured to determine a preset element corresponding to the popup window based on the target trigger operation, where the determining module includes: searching preset elements corresponding to the pop-up window from the display interface according to the target triggering operation, wherein all the elements of the display interface are screened to obtain the preset elements, and the screening basis is to judge according to visual samples of the elements;
and the control module is used for controlling the pop-up window through the preset elements.
10. A terminal device, comprising: a processor and a memory, the processor being configured to execute a control program stored in the memory to implement the control method of any one of claims 1 to 8.
11. A storage medium storing one or more programs executable by one or more processors to implement the control method of any one of claims 1 to 8.
CN202011492405.3A 2020-12-16 2020-12-16 Control method, control device, terminal equipment and storage medium Active CN112578958B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011492405.3A CN112578958B (en) 2020-12-16 2020-12-16 Control method, control device, terminal equipment and storage medium
PCT/CN2021/112604 WO2022127152A1 (en) 2020-12-16 2021-08-13 Control method and apparatus, terminal device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011492405.3A CN112578958B (en) 2020-12-16 2020-12-16 Control method, control device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112578958A CN112578958A (en) 2021-03-30
CN112578958B true CN112578958B (en) 2022-05-17

Family

ID=75135635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011492405.3A Active CN112578958B (en) 2020-12-16 2020-12-16 Control method, control device, terminal equipment and storage medium

Country Status (2)

Country Link
CN (1) CN112578958B (en)
WO (1) WO2022127152A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112578958B (en) * 2020-12-16 2022-05-17 珠海格力电器股份有限公司 Control method, control device, terminal equipment and storage medium
CN114168873B (en) * 2021-11-19 2023-02-17 北京达佳互联信息技术有限公司 Method and device for processing page popup frame, terminal device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284157A (en) * 2018-08-13 2019-01-29 北京城市网邻信息技术有限公司 Method, apparatus, equipment and the computer readable storage medium for playing frame is automatically closed
CN111046290A (en) * 2019-12-13 2020-04-21 珠海格力电器股份有限公司 Advertisement processing method and device, electronic equipment and storage medium
CN111385668A (en) * 2018-12-29 2020-07-07 深圳市九洲电器有限公司 Pop-up advertisement management method and system
CN112083973A (en) * 2020-09-18 2020-12-15 珠海豹趣科技有限公司 Window closing method and device, electronic equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9021402B1 (en) * 2010-09-24 2015-04-28 Google Inc. Operation of mobile device interface using gestures
CN102968590B (en) * 2012-10-23 2015-08-05 北京奇虎科技有限公司 Play window suppressing method and system
CN104915088B (en) * 2014-03-10 2018-10-12 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN104049900A (en) * 2014-06-30 2014-09-17 北京安兔兔科技有限公司 Floating window closing method and device
US10360622B2 (en) * 2016-05-31 2019-07-23 Target Brands, Inc. Method and system for attribution rule controls with page content preview
CN111385652A (en) * 2018-12-29 2020-07-07 深圳市九洲电器有限公司 Popup window management method and system
CN111610855A (en) * 2020-03-30 2020-09-01 北京爱接力科技发展有限公司 Gesture advertisement removing method, device, terminal and computer readable storage medium
CN114661219A (en) * 2020-07-09 2022-06-24 Oppo广东移动通信有限公司 Device control method, device, storage medium and electronic device
CN112578958B (en) * 2020-12-16 2022-05-17 珠海格力电器股份有限公司 Control method, control device, terminal equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284157A (en) * 2018-08-13 2019-01-29 北京城市网邻信息技术有限公司 Method, apparatus, equipment and the computer readable storage medium for playing frame is automatically closed
CN111385668A (en) * 2018-12-29 2020-07-07 深圳市九洲电器有限公司 Pop-up advertisement management method and system
CN111046290A (en) * 2019-12-13 2020-04-21 珠海格力电器股份有限公司 Advertisement processing method and device, electronic equipment and storage medium
CN112083973A (en) * 2020-09-18 2020-12-15 珠海豹趣科技有限公司 Window closing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2022127152A1 (en) 2022-06-23
CN112578958A (en) 2021-03-30

Similar Documents

Publication Publication Date Title
US20180285471A1 (en) Page caching method and apparatus
CN109753617B (en) Page display method, equipment and storage medium
US10403235B2 (en) Methods for screen-sharing and apparatuses using the same
US10169590B2 (en) Apparatus and method for displaying computer health index
JP2021507364A (en) User interface display methods, devices, devices and storage media
CN112578958B (en) Control method, control device, terminal equipment and storage medium
US20120287039A1 (en) User interface for application selection and action control
US9154578B2 (en) Display device with scaling of selected object images
JP5253936B2 (en) Information processing apparatus and program
KR20160136250A (en) Method for launching a second application using a first application icon in an electronic device
WO2017107356A1 (en) Application switching method and switching device
US10824445B2 (en) Dynamic presentation of function portals
CN106126041B (en) Desktop icon management method of mobile terminal and mobile terminal
CN111666007A (en) Method and device for realizing mouse following special effect, computer equipment and storage medium
EP3598303A1 (en) Method for multi-path copying and pasting, and mobile terminal
CN111046290A (en) Advertisement processing method and device, electronic equipment and storage medium
CN111158811B (en) Advertisement processing method and device, electronic equipment and storage medium
CN106599257B (en) Method for realizing page shortcut and electronic equipment
US8661445B2 (en) Information-processing device and program
CN105630304B (en) A kind of method and electronic equipment operating browser
CN107562324B (en) Data display control method and terminal
US9218788B2 (en) Information-processing device and program for displaying a window group including a plurality of windows
CN106855885B (en) Page processing method of browser and terminal
CN106445291B (en) Method and terminal for realizing application processing
CN111506848A (en) Webpage processing method, device, equipment and 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