CN114489405A - User interface display method and terminal equipment - Google Patents

User interface display method and terminal equipment Download PDF

Info

Publication number
CN114489405A
CN114489405A CN202210112930.0A CN202210112930A CN114489405A CN 114489405 A CN114489405 A CN 114489405A CN 202210112930 A CN202210112930 A CN 202210112930A CN 114489405 A CN114489405 A CN 114489405A
Authority
CN
China
Prior art keywords
interface
user
floating window
application
window
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
CN202210112930.0A
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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN202210112930.0A priority Critical patent/CN114489405A/en
Publication of CN114489405A publication Critical patent/CN114489405A/en
Pending legal-status Critical Current

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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • 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
    • 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/451Execution arrangements for user interfaces

Abstract

The invention relates to a user interface display method and terminal equipment, relating to the technical field of android application multi-user, wherein the method comprises the following steps: after detecting that a user triggers a target control instruction, displaying an interface containing a floating window clearing button; after detecting that a user triggers a floating window clearing button on an interface containing the floating window clearing button, determining a floating window contained in the interface which is being displayed according to information of a first target application; determining a target floating window from floating windows contained in the interface being displayed; redrawing the interface by adopting windows except the window with the first identifier in the windows contained in the interface being displayed; wherein the first identification is added on the target floating window before the interface is redrawn; and displaying the redrawn interface instead of the interface being displayed. The invention can solve the problem that the suspension window is suspended on other interfaces in the prior art, so that the user cannot normally operate, and the stability of the system is improved.

Description

User interface display method and terminal equipment
Technical Field
The invention relates to the technical field of android application multi-users, in particular to a user interface display method and terminal equipment.
Background
Android equipment is popular, various special scenes are more and more, and in order to achieve certain special purposes, a domestic application software APP developer does not consider the influence of user experience, and uses some unconventional methods to influence the normal use of a user and even steal user private information, such as a floating window.
The floating window function is that google opens a floating window which can be added with a non-Activity type to a third-party application, and the window can be floated on other interfaces to achieve the aim of globally responding to user operation in real time, such as common floating balls. However, in some scenarios, the use of such windows can create the problems described above. For example:
the implementation principle of the cell phone Lesox virus is that a full-screen high-level floating window is started on a system interface, so that all user touch operations are intercepted, and a user cannot normally use the cell phone.
The floating window advertisement always covers the area which the user wants to operate. For example, in the short message app, when a user wants to send a short message, the user may have a floating window to block, so that the user cannot successfully send the short message.
Some applications cannot layout the floating window which should be normally displayed due to the occurrence of an exception, so that a partial area on the interface cannot be operated.
The above problems all stem from the irregular or malicious use of the floating window by the application. Causing a bad influence on both the android system stability and the user experience.
Disclosure of Invention
The invention provides a user interface display method and terminal equipment, and provides a floating window clearing mode.
In a first aspect, a method for displaying a user interface provided in an embodiment of the present invention is applied to a terminal device, and includes:
after detecting that a user triggers a target control instruction, displaying an interface containing a floating window clearing button;
after detecting that a user triggers a floating window clearing button on an interface containing the floating window clearing button, determining a floating window contained in the interface which is being displayed according to information of a first target application; the first target application is an application calling an addWindow interface in a WMS window manager;
determining a target floating window from floating windows contained in the interface being displayed;
redrawing the interface by adopting windows except the window with the first identifier in the windows contained in the interface being displayed; wherein the first identifier is added on the target floating window before the interface is redrawn;
and displaying the redrawn interface instead of the interface being displayed.
The method provides a floating window clearing mode, an interface comprising a floating window clearing button can be displayed after a user triggers a target control instruction, the target floating window which the user wants to clear is determined after the user triggers the floating button to clear, then the interface is redrawn by adopting the window except the window with the first identifier, and the displayed interface is replaced by the redrawn interface, so that the problem that the floating window floats on other interfaces to cause that the user cannot normally operate in the prior art is solved, the stability of the system is improved, and the experience of the user is improved.
In one possible implementation, determining a target floating window from floating windows included in the interface being displayed includes:
creating a first selection interface according to a floating window identifier contained in a displayed interface, and displaying the first selection interface; the first selection interface is provided with a floating window identifier contained in the interface which is being displayed, so that a user can identify a floating window through the floating window identifier and select the floating window on the first selection interface;
and responding to a first selection instruction triggered on the first selection interface by the user, and taking the floating window selected by the user in the first selection instruction as a target floating window.
According to the method, the first selection interface is created through the floating window mark contained in the interface being displayed, and the user selects the floating window as the target floating window on the first selection interface, so that an interface can be provided for the user, the user can select the floating window which the user wants to hide, and the experience of the user is improved.
In one possible implementation, determining a target floating window from floating windows included in the interface being displayed includes:
determining a second target application being used by the user;
and selecting a floating window which is not the second target application from the floating windows contained in the displayed interface as a target floating window.
The method can determine the second target application used by the user, and takes the floating window which does not belong to the second target application as the target floating window, so that the target floating window is automatically determined, and the operation of the user is simplified.
In one possible implementation, the user-triggered target control instruction is detected by:
detecting a shutdown instruction triggered by a user; or
And detecting an instruction of triggering a shortcut button in a pull-down interface in a system UI system interface by a user.
According to the method, the display level of the shutdown page triggered by the shutdown instruction or the pull-down interface in the system UI system interface is higher, so that the interface containing the floating window clearing button can be displayed on the floating window, a user can trigger the button, and the experience of the user is improved.
In a second aspect, a user interface display method provided in an embodiment of the present invention is applied to a terminal device, and includes:
after detecting that a user triggers a target control instruction, displaying an interface containing a floating window clearing button;
determining a second target application which is used by the user after detecting that the user triggers the floating window clearing button on the interface containing the floating window clearing button;
redrawing the interface by adopting a window belonging to the application with the second identifier in the window contained in the interface being displayed; wherein the second identification is added on the second target application before the interface is redrawn;
and displaying the redrawn interface instead of the interface being displayed.
According to the method, the second target application is identified, so that the window of the target application can be used for drawing when the interface is redrawn, the target floating window is cleared in a roundabout mode, the purpose of clearing the target floating window in many aspects is achieved, and the user experience is improved.
In one possible implementation, after redrawing the interface with the remaining windows, the method further includes:
clearing the second identification of the second target application after determining that the second target application is closed.
According to the method, whether the second target application is closed or not can be determined after the interface is redrawn, the second identification of the second target application is cleared after the second target application is determined to be closed, and therefore the target floating window can be displayed after the second target application is restarted, different user requirements can be met, and user experience is improved.
In a third aspect, a method for displaying a user interface provided in an embodiment of the present invention is applied to a terminal device, and includes:
after detecting that a user triggers a target control instruction, displaying an interface containing a floating window clearing button;
displaying a second selection interface after detecting that the user triggers the floating window clearing button on the interface containing the floating window clearing button; the second selection interface is provided with a permanent clearing button, a targeted clearing button and a one-time clearing button so that a user can select the clearing button on the second selection interface;
if the user selects the permanent clearing button on the second selection interface, determining a target floating window from floating windows contained in the interface being displayed; redrawing the interface by adopting windows except the window with the first identifier in the windows contained in the interface being displayed; wherein the first identifier is added on the target floating window before the interface is redrawn; replacing the interface which is being displayed with the redrawn interface for displaying;
determining a second target application being used by the user if the user selects the targeted clear button on the second selection interface; redrawing the interface by adopting a window belonging to the application with the second identifier in the window contained in the interface being displayed; wherein the second identification is added on the second target application before the interface is redrawn; displaying the redrawn interface instead of the interface being displayed;
determining a second target application being used by the user if the user selects the one-time clear button on the second selection interface; redrawing the interface by adopting a window belonging to the application with the second identifier in the window contained in the interface being displayed; wherein the second identification is added on the second target application before the interface is redrawn; displaying the redrawn interface instead of the interface being displayed; clearing the second identification of the second target application after determining that the second target application is closed.
According to the method, the interface including the floating window clearing button can be displayed after the user triggers the target control instruction, the various types of clearing buttons are displayed after the user triggers the floating button to clear, then the interface is redrawn by adopting the corresponding clearing mode, and the displayed interface is replaced by the redrawn interface, so that the problem that the floating window floats on other interfaces to cause that the user cannot normally operate in the prior art is solved, the stability of the system is improved, and the experience of the user is improved.
In one possible implementation, after redrawing the interface with the remaining windows, the method further includes:
creating and displaying a third selection interface according to the floating window and/or the application with the identification;
and responding to a second selection instruction triggered on the third selection interface by the user, and clearing the identifier of the floating window and/or the application selected by the user in the second selection instruction.
The method can provide a recovery function, remove the added identifier and recover the normal display of the target floating window, thereby avoiding the situation that the user cannot modify the target floating window after mistakenly triggering the removal, and improving the user experience.
In a fourth aspect, a user interface display method provided in an embodiment of the present invention is applied to a terminal device, and includes:
responding to a third selection instruction triggered on a fourth selection interface by a user, and adding a third identifier to the application selected by the user in the third selection instruction; the fourth selection interface is an interface in a setting application; the fourth selection interface is provided with a plurality of application identifiers, so that a user can identify applications through the application identifiers and select the applications on the fourth selection interface;
and if the application is detected to have the third identification in the application starting process, only displaying the interface of the application.
According to the method, the fourth selection interface is added in the set application, the user can select the application on the fourth selection interface, the third identification is added to the selected application, and when the application is detected to have the third identification in the application starting process, the interface of the application is only displayed, so that the problem that the user cannot normally operate due to the fact that the floating window is suspended on other interfaces in the prior art is solved, the stability of the system is improved, and the experience of the user is improved.
In a fifth aspect, a terminal device provided in an embodiment of the present invention includes: a memory and a processor;
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the user interface display method of any one of the first aspect, or to implement the user interface display method of the second aspect, or to implement the user interface display method of the third aspect, or to implement the user interface display method of the fourth aspect.
In a sixth aspect, the present application further provides a computer storage medium having stored thereon a computer program which, when being executed by a processing unit, implements the steps of the user interface display method of the first aspect, or which, when being executed by a processing unit, implements the steps of the user interface display method of the second aspect, or which, when being executed by a processing unit, implements the steps of the user interface display method of the third aspect, or which, when being executed by a processing unit, implements the steps of the user interface display method of the fourth aspect.
In addition, for technical effects brought by any one implementation manner of the fifth aspect to the sixth aspect, reference may be made to technical effects brought by different implementation manners of the first aspect to the fourth aspect, and details are not described here.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention and are not to be construed as limiting the invention.
Fig. 1 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a software architecture of a terminal device according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a user interface of a terminal device according to an embodiment of the present invention;
FIG. 4 is a flowchart of a first method for displaying a user interface according to an embodiment of the present invention;
FIG. 5 is a diagram of a page including a clear floating-up button according to an embodiment of the present invention;
FIG. 6 is a diagram of another page including a clear floating-up button provided by an embodiment of the present invention;
FIG. 7 is a flowchart of a method for displaying a user interface based on automatically selecting a target floating window according to an embodiment of the present invention;
fig. 8 is a schematic diagram of interaction between a user and a terminal device when a target floating window is selected automatically according to an embodiment of the present invention;
FIG. 9 is a flowchart of a user interface display method based on a user selecting a target floating window according to an embodiment of the present invention;
FIG. 10 is a schematic diagram illustrating interaction between a user and a terminal device when the user selects a target floating window according to an embodiment of the present invention;
fig. 11 is a flowchart of a method for removing a floating window in a manner of adding an identifier to the window according to an embodiment of the present invention;
FIG. 12 is a flowchart of another method for removing a floating window by adding an identifier to the window according to an embodiment of the present invention;
FIG. 13 is a flowchart of a second method for displaying a user interface according to an embodiment of the present invention;
FIG. 14 is a flowchart of a method for clearing a floating window by adding an identifier according to an embodiment of the present invention;
FIG. 15 is a flowchart of a third method for displaying a user interface according to an embodiment of the present invention;
fig. 16 is a schematic diagram illustrating user interaction with a terminal device when a third user interface display method is performed according to an embodiment of the present invention.
Fig. 17 is a schematic diagram of interaction between a user and a terminal device when the user uses a recovery function according to an embodiment of the present invention;
FIG. 18 is a flowchart of a fourth method for displaying a user interface according to an embodiment of the present invention;
fig. 19 is a schematic diagram illustrating user interaction with a terminal device when a fourth user interface display method is executed according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present application will be described in detail and removed with reference to the accompanying drawings. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" in the text is only an association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B may mean: three cases of a alone, a and B both, and B alone exist, and in addition, "a plurality" means two or more than two in the description of the embodiments of the present application.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of embodiments of the application, unless stated otherwise, "plurality" means two or more.
Fig. 1 shows a schematic configuration diagram of a terminal device 100.
The following specifically describes the embodiment by taking the terminal device 100 as an example. It should be understood that the terminal device 100 shown in fig. 1 is only an example, and the terminal device 100 may have more or less components than those shown in fig. 1, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
A block diagram of a hardware configuration of a terminal device 100 according to an exemplary embodiment is exemplarily shown in fig. 1. As shown in fig. 1, the terminal device 100 includes: a Radio Frequency (RF) circuit 110, a memory 120, a display unit 130, a camera 140, a sensor 150, an audio circuit 160, a Wireless Fidelity (Wi-Fi) module 170, a processor 180, a bluetooth module 181, and a power supply 190.
The RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then send the downlink data to the processor 180 for processing; the uplink data may be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The memory 120 may be used to store software programs and data. The processor 180 performs various functions of the terminal device 100 and data processing by executing software programs or data stored in the memory 120. The memory 120 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The memory 120 stores an operating system that enables the terminal device 100 to operate. The memory 120 may store an operating system and various application programs, and may also store codes for performing the methods described in the embodiments of the present application.
The display unit 130 may be used to receive input numeric or character information and generate signal input related to user settings and function control of the terminal device 100, and particularly, the display unit 130 may include a touch screen 131 disposed on the front surface of the terminal device 100 and may collect touch operations of a user thereon or nearby, such as clicking a button, dragging a scroll box, and the like.
The display unit 130 may also be used to display a Graphical User Interface (GUI) of information input by or provided to the user and various menus of the terminal 100. Specifically, the display unit 130 may include a display screen 132 disposed on the front surface of the terminal device 100. The display screen 132 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 may be used to display various graphical user interfaces described herein.
The touch screen 131 may cover the display screen 132, or the touch screen 131 and the display screen 132 may be integrated to implement the input and output functions of the terminal device 100, and after the integration, the touch screen may be referred to as a touch display screen for short. In the present application, the display unit 130 may display the application programs and the corresponding operation steps.
The camera 140 may be used to capture still images or video. An object generates an optical image through the lens and projects the optical image to the photosensitive assembly. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive elements convert the optical signals into electrical signals which are then passed to the processor 180 for conversion into digital image signals.
The terminal device 100 may further comprise at least one sensor 150, such as an acceleration sensor 151, a distance sensor 152, a fingerprint sensor 153, a temperature sensor 154. The terminal device 100 may also be configured with other sensors such as a gyroscope, barometer, hygrometer, thermometer, infrared sensor, light sensor, motion sensor, and the like.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between the user and the terminal device 100. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The terminal device 100 may also be provided with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 160, and outputs the audio data to the RF circuit 110 to be transmitted to, for example, another terminal or outputs the audio data to the memory 120 for further processing. In this application, the microphone 162 may capture the voice of the user.
Wi-Fi belongs to short-distance wireless transmission technology, and the terminal device 100 can help the user to send and receive e-mails, browse web pages, access streaming media and the like through the Wi-Fi module 170, and provides wireless broadband Internet access for the user.
The processor 180 is a control center of the terminal device 100, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device 100 and processes data by running or executing software programs stored in the memory 120 and calling data stored in the memory 120. In some embodiments, processor 180 may include one or more processing units; the processor 180 may also integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a baseband processor, which mainly handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 180. In the present application, the processor 180 may run an operating system, an application program, a user interface display, and a touch response, and the processing method described in the embodiments of the present application. Further, the processor 180 is coupled with the display unit 130.
And the bluetooth module 181 is configured to perform information interaction with other bluetooth devices having a bluetooth module through a bluetooth protocol. For example, the terminal device 100 may establish a bluetooth connection with a wearable electronic device (e.g., a smart watch) having a bluetooth module via the bluetooth module 181, so as to perform data interaction.
The terminal device 100 also includes a power supply 190 (such as a battery) for powering the various components. The power supply may be logically connected to the processor 180 through a power management system to manage charging, discharging, power consumption, etc. through the power management system. The terminal device 100 may further be configured with a power button for powering on and off the terminal, and locking the screen.
Fig. 2 is a block diagram of a software configuration of the terminal device 100 according to the embodiment of the present invention.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
Content providers are used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide the communication function of the terminal device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the terminal device vibrates, an indicator light flickers, and the like.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following describes exemplary workflow of the software and hardware of the terminal device 100 in connection with capturing a photo scene.
When the touch screen 131 receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, a time stamp of the touch operation, and other information). The raw input events are stored at the kernel layer. And the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and taking a control corresponding to the click operation as a control of a camera application icon as an example, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera drive by calling a kernel layer, and captures a still image or a video through the camera 140.
The terminal device 100 in the embodiment of the present application may be a mobile phone, a tablet computer, a wearable device, a notebook computer, a television, and the like.
Fig. 3 is a schematic diagram for illustrating a user interface on a terminal device (e.g., terminal device 100 of fig. 1). In some implementations, a user can open a corresponding application by touching an application icon on the user interface, or can open a corresponding folder by touching a folder icon on the user interface.
For a specific work flow of the terminal device, with reference to fig. 4, the present invention provides a user interface display method, including:
s400: after detecting that a user triggers a target control instruction, displaying an interface containing a floating window clearing button;
the method comprises the following steps of detecting a user trigger target control instruction:
detecting a shutdown command triggered by a user; or
And detecting an instruction of triggering a shortcut button in a pull-down interface in a system UI system interface by a user.
Specifically, a floating window clearing button may be added to the shutdown interface, and as shown in fig. 5, for example, the framed button is the floating window clearing button, and after the user initiates a shutdown instruction, the shutdown interface is displayed, so that the floating window clearing button can be triggered. Referring to fig. 6, the user enters a command for triggering and displaying a shortcut button in a drop-down interface in the systemou system interface, and then displays the drop-down interface in the systemou, where the drop-down interface in the systemou includes a floating window clearing button.
Of course, the above is only exemplary, and a floating window clearing button may be added to another high-level system interface, which is not limited in the present invention.
S401: after detecting that a user triggers a floating window clearing button on an interface containing the floating window clearing button, determining a floating window contained in the interface which is being displayed according to information of a first target application; the first target application is an application calling an addWindow interface in a WMS window manager;
among them, since the WMS (windowmanager service) window manager is a server that manages various windows, the WMS provides an interface for a third party to add a floating window, which is called an addWindow interface. Therefore, after the third-party application calls the addWindow interface to add the floating window, information of the application calling the addWindow interface, such as a packet name or uid (user identification) of the application, may be recorded.
Therefore, the floating windows contained in the displayed interface can be recorded, such as the floating window ID 1-packet name and the floating window ID 2-packet name, the data record mode is named mFloatWindows for facilitating retrieval and use, and all the information of the floating windows being displayed is saved. For example {1k1l234 j-com.event.mm; 3ldkfjkd- - -com. };
meanwhile, an interface is added in the WMS and used for providing other service calls to acquire the current mFloatWindows information. An example interface is named getFloatWindows;
s402: determining a target floating window from floating windows contained in the interface being displayed;
determining a second target application used by a user, and selecting a floating window which belongs to the application and is not the second target application from floating windows contained in a displayed interface as a target floating window;
the Activity management service is an Activity interface management service, which is abbreviated as AMS hereinafter, and the AMS knows which information in an application package is currently started when starting an application interface. Therefore, when the application interface is started, the package name of the starting object is obtained and recorded as mcurrent packages, and the new interface getCurrentPackage is used for other service calls to obtain the mcurrent packages, and the return value can be a plurality of values, such as { com.tencent.mm; com.sina.weibo; which represents the Activity interface currently in use.
Therefore, when the target floating window is determined, the getCurrentPackage interface is called to acquire the mJurrentPackages, namely the target application which is currently used.
And calling mFloatWindows information from a getFloatWindows interface of the WMS, knowing which application floating windows are displayed, comparing the packet names of the applications, determining the floating windows which do not belong to the target application, and taking the floating windows which do not belong to the target application as the target floating windows.
Another determination method comprises the following steps: creating a first selection interface according to a floating window identifier contained in the interface being displayed, and displaying the first selection interface; the first selection interface is provided with a floating window identifier contained in the displayed interface, so that a user can identify the floating window through the floating window identifier and select the floating window on the first selection interface;
and responding to a first selection instruction triggered on the first selection interface by the user, and taking the floating window selected by the user in the first selection instruction as a target floating window.
In detail: the method can call a getFloatWindows interface of the WMS, call mFloatWindows information, know the floating window identification contained in the displayed interface, and form a first selection interface, wherein a user can select the floating window which the user wants to clear.
For example, the chat APP (application) includes an advertisement floating window and a floating ball, the floating ball is added in the function of "setting" of the mobile phone, mfloat windows information is called, the mfloat windows information includes advertisement floating window ID 1-shopping APP, advertisement floating window ID 1-shopping APP is a floating window identifier, the floating ball ID 2-setting software, according to the advertisement floating window ID 1-chat APP, the floating ball ID 2-setting software, a first selection interface is created and displayed, as shown in fig. 10, the first selection interface includes advertisement floating window ID 1-chat APP, floating ball ID 2-setting software information, and each information corresponds to a selection box, when the user clicks the "selection box" (it can be seen from the figure that which selection box is clicked by the user, the selection box is filled with black), the floating window corresponding to the selection box is used as the target floating window, when the user selects the selection box corresponding to the floating ball ID 2-setting software, the floating ball is the target floating window.
S403: redrawing the interface by adopting windows except the window with the first identifier in the windows contained in the interface being displayed; wherein the first identification is added on the target floating window before the interface is redrawn;
specifically, the target floating window is transferred to the WMS through a WMS add-on interface setwindowhigh (id). Because the object generated by WMS when addWindow is in a complex structure WindowState window state, an additional identification parameter "forceHidden" may be added to the WindowState, that is, setWindowHidden will eventually set forceHidden of the WindowState of the target floating window to true.
In this way, when the window is redrawn, whether the windowState of the window has forceHidden is checked, if yes, the window is determined to be a target floating window, and when the interface is synthesized, all windows included in the displayed interface except the target floating window are adopted for interface synthesis.
S404: and displaying the redrawn interface instead of the interface being displayed.
Based on the content of the above functions, with reference to fig. 7, an embodiment of the present invention provides a user interface display method based on automatically determining a target floating window, including:
s700: after detecting that a user triggers a target control instruction, displaying an interface containing a floating window clearing button;
s701: after detecting that a user triggers a floating window clearing button on an interface containing the floating window clearing button, determining a floating window contained in the interface which is being displayed according to information of a first target application; the first target application is an application calling an addWindow interface in a WMS window manager;
s702: determining a second target application being used by the user;
s703: selecting a floating window, which is not the second target application, from the floating windows contained in the displayed interface as a target floating window;
s704: redrawing the interface by adopting windows except the window with the first identifier in the windows contained in the interface being displayed; wherein the first identification is added on the target floating window before the interface is redrawn;
s705: and displaying the redrawn interface instead of the interface being displayed.
As shown in connection with FIG. 8, the current user is using the chat software and a hover ball is displayed, where the hover ball is added by the user through the "set up" function. The method comprises the steps that a user displays a shutdown page through triggering a shutdown instruction, the user triggers a floating window clearing button, the terminal device determines a floating window contained in a displayed interface after detecting that the user triggers the floating window clearing button on the interface containing the floating window clearing button, then selects a floating window which belongs to application and is not chat software from the floating windows contained in the displayed interface as a target floating window, namely a floating ball, redraws the interface by adopting windows except the floating ball in the windows contained in the displayed interface, and finally only displays a page of the chat software.
Referring to fig. 9, a user interface display method for determining a target floating window based on a user according to an embodiment of the present invention includes:
s900: after detecting that a user triggers a target control instruction, displaying an interface containing a floating window clearing button;
s901: after detecting that a user triggers a floating window clearing button on an interface containing the floating window clearing button, determining a floating window contained in the interface which is being displayed according to information of a first target application; the first target application is an application calling an addWindow interface in a WMS window manager;
s902: creating a first selection interface according to a floating window identifier contained in the interface being displayed, and displaying the first selection interface;
s903: responding to a first selection instruction triggered on a first selection interface by a user, and taking a floating window selected by the user in the first selection instruction as a target floating window;
s904: redrawing the interface by adopting windows except the window with the first identifier in the windows contained in the interface being displayed; wherein the first identification is added on the target floating window before the interface is redrawn;
s905: and displaying the redrawn interface instead of the interface being displayed.
As shown in connection with FIG. 10, the current user is using the chat software and a hover ball is displayed, where the hover ball is added by the user through the "set up" function. The method comprises the steps that a user triggers a shutdown instruction, a terminal device displays a shutdown page after detecting that the shutdown instruction is triggered by the user, the user clicks a floating window clearing button on the shutdown interface after seeing the shutdown interface, the terminal device creates a first selection interface according to advertisement floating window ID 1-shopping APP and floating ball ID 2-setting software after detecting that the floating window clearing button is triggered by the user, displays the first selection interface, selects a floating ball in the first selection interface, determines that the floating ball is a target floating window after receiving a message that the user selects the floating ball, and finally redraws the interface by the terminal device, displays a page of chatting software after drawing is completed, the page is free of the floating ball, and the floating ball is hidden visually.
Referring to fig. 11, an embodiment of the present invention provides a method for removing a floating window in a manner of adding an identifier to a window, where the method includes:
s1100: after detecting that a user triggers a target control instruction, displaying an interface containing a floating window clearing button;
s1101: after detecting that a user triggers the floating window clearing button on an interface containing the floating window clearing button, calling mFloatWindows information through a getFloatWindows interface, and determining a floating window contained in the interface being displayed;
s1102: calling a getCurrentPackage interface to obtain an mJurrentpackages, and determining a second target application;
s1103: selecting a floating window, which is not the second target application, from the floating windows contained in the displayed interface as a target floating window;
s1104: an additional identification parameter forceHidden is added to the WindowState of the target window.
S1105: and triggering a redrawing function, adopting a window synthesis interface except for the window with forceHidden from the windows contained in the interface being displayed, and displaying the redrawing interface instead of the interface being displayed.
Referring to fig. 12, an embodiment of the present invention provides another method for removing a floating window in a manner of adding an identifier to a window, where the method includes:
s1200: after detecting that a user triggers a target control instruction, displaying an interface containing a floating window clearing button;
s1201: after detecting that a user triggers the floating window clearing button on an interface containing the floating window clearing button, calling mFloatWindows information through a getFloatWindows interface, and determining a floating window contained in the interface being displayed;
s1202: creating a first selection interface according to a floating window identifier contained in the interface being displayed, and displaying the first selection interface;
s1203: responding to a first selection instruction triggered on a first selection interface by a user, and taking a floating window selected by the user in the first selection instruction as a target floating window;
s1204: an additional identification parameter forceHidden is added to the WindowState of the target window.
S1205: and triggering a redrawing function, adopting a window synthesis interface except for the window with forceHidden from the windows contained in the interface being displayed, and displaying the redrawing interface instead of the interface being displayed.
The embodiment of the present invention provides a second user interface display method, which is applied to a terminal device, and shown in fig. 13, and includes:
s1300: after detecting that a user triggers a target control instruction, displaying an interface containing a floating window clearing button;
s1301: determining a second target application which is used by the user after detecting that the user triggers the floating window clearing button on the interface containing the floating window clearing button;
s1302: redrawing the interface by adopting a window belonging to the application with the second identifier in the window contained in the interface being displayed; wherein the second identification is added on the second target application before the interface is redrawn;
s1303: and displaying the redrawn interface instead of the interface being displayed.
For S1300 to S1301, the above description may be referred to.
In detail, mfybiddenConver is recorded through an AMS newly added interface setForbiddencover (packagename), which represents that the currently used application is set not to be covered by other floating windows. After the activity of the interface is set to be started, the WMS side can preprocess the suspension window called by addWindow through the information acquired by the AMS interface getForbiddencoverPkg, and judges whether a forceHidden parameter needs to be added in advance. And synthesizing an interface by using the window added with the forceHidden parameter, namely the window of the second target application.
Referring to fig. 14, an embodiment of the present invention provides a method for removing a floating window by adding an identifier, where the method includes:
s1400: after detecting that a user triggers a target control instruction, displaying an interface containing a floating window clearing button;
s1401: after detecting that a user triggers the floating window clearing button on an interface containing the floating window clearing button, calling mFloatWindows information through a getFloatWindows interface, and determining a floating window contained in the interface being displayed;
s1402: calling a getCurrentPackage interface to obtain an mJurrentpackages, and determining a second target application;
s1403: an additional identification parameter forceHidden is added to the second target application.
S1404: and triggering a redrawing function, adopting a window synthesis interface belonging to a second target application in the window contained in the interface being displayed, and displaying the redrawing interface instead of the interface being displayed.
Here, the marking application means that only a window of the application may be displayed when the application is used. One of the realization effects is as follows: when the application is started again, only displaying the window of the application; the other realization effect is as follows: when the application is started again, the application can be normally displayed regardless of the application marked before. For another implementation effect. The invention provides the following implementation modes, in particular, after the interface is redrawn by adopting the residual windows, the method further comprises the following steps:
clearing the second identification of the second target application after determining that the second target application is closed.
Thus, when the same application is opened for the second time, the target floating window is normally displayed.
In summary, the present invention actually proposes three types of purging:
(1) once clearing: and directly clearing the floating window of all other applications on the current application interface, and restoring the display of the floating window of other applications when the application exits or enters other applications. When the application is re-entered, it will still be covered by other floating windows. For example, when the user is using the chat software, the chat software has a floating ball, the user clicks the clear button, the floating ball on the chat software disappears, the floating ball resumes displaying after exiting the chat software, and the floating ball displays after reentering the chat software.
(2) Targeted clearance: and directly clearing the floating window of all other applications on the current application interface, and restoring the display of the floating window of other applications when the application exits or enters other applications. When the application is re-entered, all floating windows covered on it are automatically cleared. For example, when the user clicks the clear button, the floating ball on the chat software disappears, the floating ball resumes displaying after exiting the chat software, and the floating ball disappears again after entering the chat software again.
(3) Permanent removal: the application that currently overlays all of the floating windows above the application is permanently prohibited from displaying the floating window. For example, when the user clicks the clear button, the floating ball on the chat software disappears, and when the user exits the chat software, the floating ball still disappears, and meanwhile, when the user enters any other software again, the floating ball disappears.
Based on the foregoing types of removal, an embodiment of the present invention provides a third method for displaying a user interface, which is shown in fig. 15 and includes:
s1500: after a shutdown command triggered by a user is detected, displaying an interface containing a floating window clearing button;
s1501: displaying a second selection interface after detecting that the user triggers the floating window clearing button on the interface containing the floating window clearing button; the second selection interface is provided with a permanent clearing button, a targeted clearing button and a one-time clearing button so that a user can select the clearing button on the second selection interface;
illustratively, referring to fig. 16, a user displays a shutdown page by triggering a shutdown instruction, the user triggers a clear floating window button, the terminal device displays a second selection interface after detecting that the user triggers the clear floating window button on an interface including the clear floating window button, where the second selection interface includes a permanent clear button, a targeted clear button, and a one-time clear button, and when the user clicks the "permanent clear button", S1502 is executed, when the user clicks the "targeted clear button", S1503 is executed, and when the user clicks the "one-time clear button", S1504 is executed.
S1502: if the user selects the permanent clearing button on the second selection interface, determining a target floating window from the floating windows contained in the interface being displayed; redrawing the interface by adopting windows except the window with the first identifier in the windows contained in the interface being displayed; wherein the first identification is added on the target floating window before the interface is redrawn; displaying the redrawn interface instead of the interface being displayed;
s1503: determining a second target application being used by the user if the user selects the targeted clear button on a second selection interface; redrawing the interface by adopting a window belonging to the application with the second identifier in the window contained in the interface being displayed; wherein the second identification is added on the second target application before the interface is redrawn; displaying the redrawn interface instead of the interface being displayed;
s1504: determining a second target application being used by the user if the user selects the one-time clear button on a second selection interface; redrawing the interface by adopting windows belonging to the application with the second identifier in the windows contained in the interface being displayed; wherein the second identification is added on the second target application before the interface is redrawn; displaying the redrawn interface instead of the interface being displayed; clearing the second identification of the second target application after determining that the second target application is closed.
S1502 is the same as the first user interface display method in content, and S1503 to S1504 are the same as the second user interface display method in content, and refer to the first user interface display method.
Further, the present invention also provides a recovery method, including: creating and displaying a third selection interface according to the floating window and/or the application with the identification;
and responding to a second selection instruction triggered on the third selection interface by the user, and clearing the identifier of the floating window and/or the application selected by the user in the second selection instruction.
In detail, when the floating window with the identifier is a floating window, the third selection interface may be created according to the floating window with the identifier, when the floating window with the identifier is an application, the third selection interface may be created according to the application with the identifier, and when the floating window with the identifier is a floating window and an application, the third selection interface may be created according to the floating window with the identifier and the application.
When the floating window is selected, the name of the application package to which the floating window belongs and the information of the floating window can be displayed on a third selection interface.
Taking the case that the floating window and the application with the identifiers are taken as examples, the floating window 1, the floating window 2, the application c and the application d all have the identifiers, wherein the floating window 1 is from the application a, the floating window 2 is from the application b, and a third selection interface is created according to the floating window 1-application a, the floating window 2-application b, the application c and the application d.
With reference to fig. 17, the recovery method provided by the present invention may be implemented by using "setting" as an interface, and after clicking "setting" by a user, finding a "floating window recovery" function, and then displaying a third selection interface, where the third selection interface includes a floating window 1-application a, a floating window 2-application b, an application c, and an application d, and each piece of information corresponds to a selection box, and when clicking "selection box" of application c by the user (it can be seen from the figure that which selection box is clicked by the user and the selection box is filled with black color), the identifier of application c is clear, so that the identifier included in the terminal device includes: floating window 1, floating window 2, application d.
Referring to fig. 18, an embodiment of the present invention provides a fourth user interface display method, applied to a terminal device, including:
s1800: responding to a third selection instruction triggered on the fourth selection interface by the user, and adding a third identifier to the application selected by the user in the third selection instruction; the fourth selection interface is an interface in the setting application; the fourth selection interface is provided with a plurality of application identifiers so that a user can identify the applications through the application identifiers and select the applications on the fourth selection interface;
s1801: and if the application is detected to have the third identification in the application starting process, only displaying the interface of the application.
Referring to fig. 19, the user clicks the "setup" application, clicks the hidden button in the "setup" application, and invokes a fourth selection interface, where the fourth selection interface includes a plurality of application identifiers in the terminal device, such as a chat application, a shopping application, and a video application, and after the user selects the chat application on the fourth selection interface, the terminal device responds to a third selection instruction triggered by the user on the fourth selection interface, and adds a third identifier to the chat application selected by the user in the third selection instruction.
And after the user clicks the chat application, the terminal equipment responds to the starting instruction of the user to start the chat application, the chat application has a third identifier, and only the self interface of the application is displayed when the displayed interface is formed.
Specifically, mfybiddenConver is recorded through an AMS newly added interface setForbiddencover (packagename), which means that the currently used application is set not to be covered by other floating windows. After the activity of the interface is set to be started, the WMS side can preprocess the suspension window called by addWindow through the information acquired by the AMS interface getForbiddencoverPkg, and judges whether a forceHidden parameter needs to be added in advance. And adopting the interface of the interface application added with the forceHidden parameter, namely the interface of the application selected on the fourth selection interface by the user as the finally displayed interface.
An embodiment of the present invention provides a terminal device, including: a memory and a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the user interface display method according to any one of the first technical solutions, or to implement the user interface display method according to any one of the second technical solutions, or to implement the user interface display method according to any one of the third technical solutions, or to implement the user interface display method according to any one of the fourth technical solutions.
In an exemplary embodiment, there is also provided a storage medium, for example a memory, comprising instructions executable by a processor of a terminal device to perform any one of the first user interface display methods described above, or to perform any one of the second user interface display methods described above, or to perform any one of the third user interface display methods described above, or to perform any one of the fourth user interface display methods described above. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
An embodiment of the present invention further provides a computer program product, which when running on a terminal device, enables the terminal device to execute a method for implementing any one of the first user interface display methods described above in the embodiment of the present invention, or implement any one of the second user interface display methods described above in the embodiment of the present invention, or implement any one of the third user interface display methods described above in the embodiment of the present invention, or implement any one of the fourth user interface display methods described above in the embodiment of the present invention.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1. A user interface display method is applied to terminal equipment and comprises the following steps:
after detecting that a user triggers a target control instruction, displaying an interface containing a floating window clearing button;
after detecting that a user triggers a floating window clearing button on an interface containing the floating window clearing button, determining a floating window contained in the interface which is being displayed according to information of a first target application; the first target application is an application calling an addWindow interface in a WMS window manager;
determining a target floating window from floating windows contained in the interface being displayed;
redrawing the interface by adopting windows except the window with the first identifier in the windows contained in the interface being displayed; wherein the first identifier is added on the target floating window before the interface is redrawn;
and displaying the redrawn interface instead of the interface being displayed.
2. The method for displaying the user interface according to claim 1, wherein the step of determining the target floating window from the floating windows included in the interface being displayed comprises the following steps:
creating a first selection interface according to a floating window identifier contained in a displayed interface, and displaying the first selection interface; the first selection interface is provided with a floating window identifier contained in the interface being displayed, so that a user can identify a floating window through the floating window identifier and select the floating window on the first selection interface;
and responding to a first selection instruction triggered on the first selection interface by the user, and taking the floating window selected by the user in the first selection instruction as a target floating window.
3. The method for displaying the user interface according to claim 1, wherein the step of determining the target floating window from the floating windows included in the interface being displayed comprises the following steps:
determining a second target application being used by the user;
and selecting a floating window which is not the second target application from the floating windows contained in the displayed interface as a target floating window.
4. The user interface display method according to any one of claims 1 to 3, wherein the user trigger target control instruction is detected by:
detecting a shutdown instruction triggered by a user; or
And detecting an instruction of triggering a shortcut button in a pull-down interface in a system UI system interface by a user.
5. A user interface display method is applied to terminal equipment and comprises the following steps:
after detecting that a user triggers a target control instruction, displaying an interface containing a floating window clearing button;
determining a second target application which is used by the user after detecting that the user triggers the floating window clearing button on the interface containing the floating window clearing button;
redrawing the interface by adopting a window belonging to the application with the second identifier in the window contained in the interface being displayed; wherein the second identification is added on the second target application before the interface is redrawn;
and displaying the redrawn interface instead of the interface being displayed.
6. The method of claim 5, wherein after redrawing the interface with a window belonging to the application having the second identifier in the window included in the interface being displayed, the method further comprises:
clearing the second identification of the second target application after determining that the second target application is closed.
7. A user interface display method is applied to terminal equipment and comprises the following steps:
after detecting that a user triggers a target control instruction, displaying an interface containing a floating window clearing button;
displaying a second selection interface after detecting that the user triggers the floating window clearing button on the interface containing the floating window clearing button; the second selection interface is provided with a permanent clearing button, a targeted clearing button and a one-time clearing button so that a user can select the clearing button on the second selection interface;
if the user selects the permanent clearing button on the second selection interface, determining a target floating window from floating windows contained in the interface being displayed; redrawing the interface by adopting windows except the window with the first identifier in the windows contained in the interface being displayed; wherein the first identifier is added on the target floating window before the interface is redrawn; displaying the redrawn interface instead of the interface being displayed;
determining a second target application that the user is using if the user selects the targeted clear button on the second selection interface; redrawing the interface by adopting a window belonging to the application with the second identifier in the window contained in the interface being displayed; wherein the second identification is added on the second target application before the interface is redrawn; displaying the redrawn interface instead of the interface being displayed;
determining a second target application being used by the user if the user selects the one-time clear button on the second selection interface; redrawing the interface by adopting a window belonging to the application with the second identifier in the window contained in the interface being displayed; wherein the second identification is added on the second target application before the interface is redrawn; displaying the redrawn interface instead of the interface being displayed; clearing the second identification of the second target application after determining that the second target application is closed.
8. The method of claim 7, wherein after displaying the redrawn interface in place of the interface being displayed, the method further comprises:
creating and displaying a third selection interface according to the floating window and/or the application with the identification;
and responding to a second selection instruction triggered on the third selection interface by the user, and clearing the identifier of the floating window and/or the application selected by the user in the second selection instruction.
9. A user interface display method is applied to terminal equipment and comprises the following steps:
responding to a third selection instruction triggered on a fourth selection interface by a user, and adding a third identifier to the application selected by the user in the third selection instruction; the fourth selection interface is an interface in a setting application; the fourth selection interface is provided with a plurality of application identifiers, so that a user can identify applications through the application identifiers and select the applications on the fourth selection interface;
and if the application is detected to have the third identification in the application starting process, only displaying the interface of the application.
10. A terminal device, comprising: a memory and a processor;
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the user interface display method of any one of claims 1 to 4, or to implement the user interface display method of any one of claims 5 to 6, or to implement the user interface display method of any one of claims 7 to 8, or to implement the user interface display method of claim 9.
CN202210112930.0A 2022-01-29 2022-01-29 User interface display method and terminal equipment Pending CN114489405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210112930.0A CN114489405A (en) 2022-01-29 2022-01-29 User interface display method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210112930.0A CN114489405A (en) 2022-01-29 2022-01-29 User interface display method and terminal equipment

Publications (1)

Publication Number Publication Date
CN114489405A true CN114489405A (en) 2022-05-13

Family

ID=81478119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210112930.0A Pending CN114489405A (en) 2022-01-29 2022-01-29 User interface display method and terminal equipment

Country Status (1)

Country Link
CN (1) CN114489405A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808245A (en) * 2016-03-01 2016-07-27 上海卓易科技股份有限公司 Floating window control method and system
CN110389736A (en) * 2019-06-05 2019-10-29 华为技术有限公司 A kind of throwing screen display methods and electronic equipment
CN110489043A (en) * 2019-07-31 2019-11-22 华为技术有限公司 A kind of management method and relevant apparatus of suspension windows
CN112083854A (en) * 2020-09-18 2020-12-15 维沃移动通信有限公司 Application program running method and device
CN113709026A (en) * 2021-08-04 2021-11-26 青岛海信移动通信技术股份有限公司 Method, device, storage medium and program product for processing instant communication message
US20210397309A1 (en) * 2019-07-19 2021-12-23 Tencent Technology (Shenzhen) Company Limited Interface display method and apparatus, and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808245A (en) * 2016-03-01 2016-07-27 上海卓易科技股份有限公司 Floating window control method and system
CN110389736A (en) * 2019-06-05 2019-10-29 华为技术有限公司 A kind of throwing screen display methods and electronic equipment
US20210397309A1 (en) * 2019-07-19 2021-12-23 Tencent Technology (Shenzhen) Company Limited Interface display method and apparatus, and storage medium
CN110489043A (en) * 2019-07-31 2019-11-22 华为技术有限公司 A kind of management method and relevant apparatus of suspension windows
CN112083854A (en) * 2020-09-18 2020-12-15 维沃移动通信有限公司 Application program running method and device
CN113709026A (en) * 2021-08-04 2021-11-26 青岛海信移动通信技术股份有限公司 Method, device, storage medium and program product for processing instant communication message

Similar Documents

Publication Publication Date Title
EP2615535A1 (en) Mobile terminal and method of controlling the same
CN111597000B (en) Small window management method and terminal
CN111367456A (en) Communication terminal and display method in multi-window mode
CN111597004B (en) Terminal and user interface display method in application
CN113835569A (en) Terminal device, quick start method for internal function of application and storage medium
CN111176766A (en) Communication terminal and component display method
CN113709026B (en) Method, device, storage medium and program product for processing instant communication message
CN112835472B (en) Communication terminal and display method
CN114371895B (en) Terminal equipment, mail marking method and storage medium
CN114035870A (en) Terminal device, application resource control method and storage medium
CN114594894A (en) Interface element marking method, terminal device and storage medium
CN114020379A (en) Terminal device, information feedback method and storage medium
CN114489405A (en) User interface display method and terminal equipment
CN112954622A (en) Mobile terminal and short message sending method thereof
CN111787157A (en) Mobile terminal and operation response method thereof
CN113760164A (en) Display device and response method of control operation thereof
CN111159734A (en) Communication terminal and multi-application data inter-access processing method
CN114489429B (en) Terminal equipment, long screen capturing method and storage medium
CN111258699B (en) Page display method and communication terminal
CN113642010B (en) Method for acquiring data of extended storage device and mobile terminal
CN114513760B (en) Font library synchronization method, device and storage medium
CN115509658A (en) Terminal device, identification method and storage medium
CN114675762A (en) Terminal device, function searching method and storage medium
CN111427492A (en) Display position control method and terminal
CN114721752A (en) Mobile terminal and display method of application interface thereof

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