CN110008011B - Task switching method and terminal equipment - Google Patents

Task switching method and terminal equipment Download PDF

Info

Publication number
CN110008011B
CN110008011B CN201910153252.0A CN201910153252A CN110008011B CN 110008011 B CN110008011 B CN 110008011B CN 201910153252 A CN201910153252 A CN 201910153252A CN 110008011 B CN110008011 B CN 110008011B
Authority
CN
China
Prior art keywords
screen
identifier
input
application
application program
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
CN201910153252.0A
Other languages
Chinese (zh)
Other versions
CN110008011A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910153252.0A priority Critical patent/CN110008011B/en
Publication of CN110008011A publication Critical patent/CN110008011A/en
Priority to PCT/CN2020/071497 priority patent/WO2020173235A1/en
Application granted granted Critical
Publication of CN110008011B publication Critical patent/CN110008011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Landscapes

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

Abstract

The embodiment of the invention provides a task switching method and terminal equipment, relates to the technical field of communication, and aims to solve the problems of poor flexibility and convenience in maintaining recent tasks of the conventional multi-screen terminal equipment. The method comprises the following steps: receiving a first input of a user on a first screen; responding to the first input, and displaying a first interface on a first screen, wherein the first interface comprises at least one first application program identifier, and each first application program identifier is used for indicating an application program started by the terminal equipment; and receiving a second input of a target application identification of the at least one first application identification by the user; and in response to the second input, switching the screen having the display mapping relationship with the target application from a second screen to a third screen, the second screen being different from the third screen; the target application identifies the indicated application for the target application. The method can be applied to the scene of recent task management of the multi-screen terminal device.

Description

Task switching method and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a task switching method and terminal equipment.
Background
With the wider application range of terminal devices and the development of multi-screen technologies, users increasingly demand flexibility in using multi-screen terminal devices.
Taking the dual-screen terminal device as an example, the dual-screen terminal device may display different applications on the first screen and the second screen thereof, respectively. On the one hand, the dual-screen terminal device may maintain all started applications (hereinafter referred to as recent tasks) on the first screen or the second screen. For example, the terminal device may display a list of all recent tasks in response to a user input on either of the first screen and the second screen. On the other hand, the double-screen terminal device can also maintain its recent tasks at the first screen and the second screen respectively. For example, the terminal device may display a recent task list of a first screen on the first screen in response to a user input on the first screen; alternatively, the terminal device may display a recent task list of the second screen on the second screen in response to an input of the user on the second screen.
However, in the first aspect described above, since recent tasks are all exposed, there are problems of disorder, inconvenience in arrangement and search. In the second aspect, since the two screens each maintain their recent tasks, there may be a problem that the cooperative maintenance of the recent tasks is inconvenient. Thus, the double-sided screen terminal equipment has poor flexibility and convenience in maintaining recent tasks.
Disclosure of Invention
The embodiment of the invention provides a task switching method and terminal equipment, and aims to solve the problems of poor flexibility and convenience in maintaining recent tasks of the conventional multi-screen terminal equipment.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a task switching method, which is applied to a terminal device, and the method includes: receiving a first input of a user on a first screen; responding to the first input, and displaying a first interface on a first screen, wherein the first interface comprises at least one first application program identifier, and each first application program identifier is used for indicating an application program started by the terminal equipment; and receiving a second input of a target application identification of the at least one first application identification by the user; and in response to the second input, switching the screen having the display mapping relationship with the target application from a second screen to a third screen, the second screen being different from the third screen; the target application identifies the indicated application for the target application.
In a second aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes a receiving module, a display module, and a processing module. The receiving module is used for receiving a first input of a user on a first screen. The display module is used for responding to the first input received by the receiving module and displaying a first interface on the first screen, wherein the first interface comprises at least one first application program identifier, and each first application program identifier is used for indicating an application program started by the terminal equipment. The receiving module is further used for receiving a second input of the target application program identification in the at least one first application program identification displayed by the display module. The processing module is used for responding to the second input received by the receiving module, and switching the screen with the display mapping relation with the target application program from a second screen to a third screen, wherein the second screen is different from the third screen; the target application identifies the indicated application for the target application.
In a third aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and the computer program, when executed by the processor, implements the steps of the task switching method in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the task switching method in the first aspect.
In the embodiment of the invention, a first input of a user on a first screen can be received; responding to the first input, and displaying a first interface on a first screen, wherein the first interface comprises at least one first application program identifier, and each first application program identifier is used for indicating an application program started by the terminal equipment; and receiving a second input of a target application identification of the at least one first application identification by the user; and in response to the second input, switching the screen having the display mapping relationship with the target application from a second screen to a third screen, the second screen being different from the third screen; the target application identifies the indicated application for the target application. By the scheme, the target application program and one screen can be switched to have the display mapping relation, and the target application program and the other screen can have the display mapping relation, so that the target application program can be switched from the recent task of one screen to the recent task of the other screen, and the user can conveniently perform interaction operation on the recent tasks of the screens. Furthermore, according to the embodiment of the invention, the running interfaces of the application programs with different attributes (such as office application programs, entertainment application programs and the like) are respectively displayed by different screens by executing the task switching action according to the use requirements of the user, so that the flexibility and convenience for maintaining recent tasks can be improved.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a task switching method according to an embodiment of the present invention;
fig. 3 is one of schematic interfaces of an application of the task switching method according to the embodiment of the present invention;
fig. 4 is a second schematic interface diagram of an application of the task switching method according to the embodiment of the present invention;
fig. 5 is a second schematic diagram of a task switching method according to an embodiment of the present invention;
fig. 6 is a third schematic interface diagram of an application of the task switching method according to the embodiment of the present invention;
fig. 7 is a third schematic diagram of a task switching method according to an embodiment of the present invention;
FIG. 8 is a fourth schematic interface diagram of an application of the task switching method according to the embodiment of the present invention;
FIG. 9 is a fourth schematic diagram illustrating a task switching method according to an embodiment of the present invention;
FIG. 10 is a fifth schematic interface diagram of an application of the task switching method according to the embodiment of the present invention;
FIG. 11 is a fifth schematic diagram illustrating a task switching method according to an embodiment of the present invention;
FIG. 12 is a sixth schematic view illustrating a task switching method according to an embodiment of the present invention;
fig. 13 is a sixth schematic interface diagram of an application of the task switching method according to the embodiment of the present invention;
fig. 14 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 15 is a hardware schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
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, 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.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of processing units means two or more processing units, and the like.
The embodiment of the invention provides a task switching method and terminal equipment, which can receive a first input of a user on a first screen; responding to the first input, and displaying a first interface on a first screen, wherein the first interface comprises at least one first application program identifier, and each first application program identifier is used for indicating an application program started by the terminal equipment; and receiving a second input of a target application identification of the at least one first application identification by the user; and in response to the second input, switching the screen having the display mapping relationship with the target application from a second screen to a third screen, the second screen being different from the third screen; the target application identifies the indicated application for the target application. By the scheme, the target application program and one screen can be switched to have the display mapping relation, and the target application program and the other screen can have the display mapping relation, so that the target application program can be switched from the recent task of one screen to the recent task of the other screen, and the user can conveniently perform interaction operation on the recent tasks of the screens. Furthermore, according to the embodiment of the invention, the running interfaces of the application programs with different attributes (such as office application programs, entertainment application programs and the like) are respectively displayed by different screens by executing the task switching action according to the use requirements of the user, so that the flexibility and convenience for maintaining recent tasks can be improved.
The terminal device in the embodiment of the present invention may be a terminal device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment to which the task switching method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the task switching method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the task switching method may operate based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can implement the task switching method provided by the embodiment of the invention by running the software program in the android operating system.
The terminal equipment in the embodiment of the invention can be a mobile terminal or a non-mobile terminal. For example, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile terminal may be a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
The execution main body of the task switching method provided by the embodiment of the present invention may be the terminal device, or may also be a functional module and/or a functional entity capable of implementing the task switching method in the terminal device, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The following takes a terminal device as an example to exemplarily explain a task switching method provided by the embodiment of the present invention.
As shown in fig. 2, an embodiment of the present invention provides a task switching method, which may include S200 to S203 described below.
S200, the terminal equipment receives a first input of a user on a first screen.
Optionally, the terminal device applied by the task switching method provided in the embodiment of the present invention may not be limited to a dual-screen terminal device, may also be a flexible-screen terminal device (where at least two screens may be formed after the flexible screen is folded), or may be a multi-screen terminal device other than the dual-screen terminal device, and may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present invention. For convenience of explanation and understanding, the following description will be given taking a double-sided screen terminal device as an example, where the first screen is one of two screens of the double-sided screen terminal device, for example.
In the embodiment of the present invention, if a user needs to check which applications (applications that have been started and are not closed, such as a background application and a foreground application) are currently running on the terminal device, at this time, the user may input on a first screen of the terminal device (i.e., the first input) to trigger the terminal device to display a first interface on the first screen, so that the user can check which applications (hereinafter, simply referred to as applications) are currently running on the terminal device through the first interface.
Optionally, in the embodiment of the present invention, the first input of the user may be a click input (for example, a single-click input or a double-click input), may also be a slide input, and may also be an input in any other possible form, which may be determined specifically according to an actual use requirement, and the embodiment of the present invention is not limited.
The first input in the embodiment of the present invention is exemplarily described below with reference to fig. 3.
Illustratively, taking the first input as the click input, as shown in fig. 3 (a), the first input may be a click input of the user to a "most recently used" key (i.e., the Recent key) 31 in a virtual navigation bar 30 displayed on a display screen of the terminal device. Also taking the first input as a slide input as an example, as shown in fig. 3 (b), the first input may be an input that the user starts to slide upward from the bottom edge 32 of the display screen of the terminal device and pauses for a predetermined time (for example, the predetermined time is greater than or equal to 1 second). Also taking the first input as a double-click input as an example, as shown in (c) of fig. 3, the first input may be a double-click input of the user on a physical key 32 (e.g., a home key) of the terminal device. That is, these inputs of the user may be used to trigger the terminal device to display the first interface.
Optionally, in the embodiment of the present invention, the first screen may be a main screen of the multi-screen terminal device, and the other screens except the first screen may be secondary screens of the multi-screen terminal device; of course, the first screen may also be a secondary screen of the multi-screen terminal device, and one of the other screens except the first screen may be a main screen of the multi-screen terminal device. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
S201, the terminal device responds to the first input and displays a first interface on the first screen, wherein the first interface comprises at least one first application program identifier.
Wherein each first application identification is used for indicating the application started by the terminal equipment.
In the embodiment of the present invention, the terminal device may display a first interface (also referred to as a recent task interface or a multitasking interface) on the first screen in response to a first input of the user on the first screen, and then the user may know which applications (including background applications and foreground applications) are currently running on the terminal device by looking at the first application identifier displayed on the first interface.
It can be understood that the foreground application and the background application mentioned in the embodiment of the present invention are relative concepts, and since the terminal device controls the application running in the foreground to be converted into the background running under the condition that the terminal device displays the first interface, and all running applications run in the background at this time, the application indicated by the at least one first application identifier displayed on the first interface can be understood as the background application.
Optionally, in the embodiment of the present invention, the first application identifier may be an icon of an application, an interface thumbnail of the application, a combination of the icon of the application and the interface thumbnail, or any other identifier that may indicate a currently running application, and may be specifically determined according to an actual use requirement, which is not limited in the embodiment of the present invention. In addition, the shape, size, and location of the first application identifier may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited.
Illustratively, FIG. 4 schematically illustrates a schematic view of the first interface. As shown in fig. 4, the terminal device displays a first interface 40 on the first screen, where the first interface 40 includes three first application identifiers 41, that is, an interface thumbnail of application 1, an interface thumbnail of application 2, and an interface thumbnail of application 3. Therefore, a user can check which applications are currently running on the terminal device through the first interface, and further, the user can input the first application program identifier in the first interface to trigger the terminal device to perform a certain operation on the application indicated by the first application program identifier, for example, to exit the running state of the application, switch the application from background running to foreground running, or switch a screen having a display mapping relationship with the application from one screen to another screen, and the like.
S202, the terminal device receives a second input of the target application program identification in the at least one first application program identification from the user.
Optionally, in this embodiment of the present invention, the second screen and the first screen may be the same screen, at this time, the terminal device receives a second input of a target application identifier displayed on the first screen by the user, where the application indicated by the target application identifier is an application having a display mapping relationship with the first screen, and the application may be referred to as a recent task of the first screen. Or, the second screen and the first screen may be different screens, that is, the second screen may be a screen (hereinafter, referred to as another screen) other than the first screen among the at least two screens, at this time, the terminal device receives a second input of a target application identifier displayed on the first screen by the user, the application indicated by the target application identifier is an application having a display mapping relationship with the other screen, and the application may be referred to as a recent task of the other screen.
Taking a double-screen terminal device as an example, assuming that a first screen is a main screen, if a second screen and the first screen are the same screen, the second screen is the main screen, and at this time, the terminal device receives a second input of a target application program identifier displayed on the main screen by a user, the application indicated by the target application program identifier is an application having a display mapping relationship with the main screen, and the application belongs to a recent task of the main screen. And if the second screen and the first screen are different screens, the second screen is an auxiliary screen, the terminal equipment receives second input of a target application program identifier displayed on the main screen by the user, the application indicated by the target application program identifier is an application having a display mapping relation with the auxiliary screen, and the application belongs to a recent task of the auxiliary screen.
Optionally, in the embodiment of the present invention, the second input of the user may be a dragging input, a sliding input, or any other possible form of input, which may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited.
S203, the terminal equipment responds to the second input, and switches the screen with the display mapping relation with the target application program from the second screen to a third screen, wherein the second screen is different from the third screen; the target application identifies the indicated application for the target application.
In the embodiment of the present invention, it is assumed that the target application program has a display mapping relationship with the second screen, and then the running interface of the target application program may be displayed on the second screen, which may be understood as a recent task of the target application program as the second screen.
Optionally, in the embodiment of the present invention, the terminal device may switch the screen of the target application running interface to be displayed from the second screen to the third screen, or may switch the screen of the target application running interface to be displayed from the second screen to the third screen, which may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited.
In the embodiment of the present invention, in a case that the target application and the second screen have a display mapping relationship, the terminal device switches, in response to the second input, the screen having the display mapping relationship with the target application from the second screen to the third screen, and as a result, the target application and the third screen have the display mapping relationship (and the target application and the second screen no longer have the display mapping relationship). In this way, the running interface of the target application may be displayed or to be displayed on the third screen, i.e., the target application is a recent task of the third screen.
Taking a dual-screen terminal device as an example, it is assumed that the dual-screen terminal device includes a main screen and a sub-screen. Specifically, a specific implementation manner of switching the screen having the display mapping relationship with the target application from the second screen to the third screen is described below for the following four cases (i.e., the following first case, second case, third case, and fourth case).
In the first case: if the first screen and the second screen are the same screen and are both main screens, the third screen is an auxiliary screen (that is, the third screen is different from the second screen), that is, the terminal device can respond to the second input and switch the screen having the display mapping relation with the target application program from the main screen to the auxiliary screen.
In the second case: if the first screen and the second screen are the same screen and are both the auxiliary screens, the third screen is the main screen (namely, the third screen is different from the second screen), namely, the terminal device can respond to the second input and switch the screen having the display mapping relation with the target application program from the auxiliary screen to the main screen.
In the third case: if the first screen and the second screen are different screens, the first screen is a main screen, and the second screen is an auxiliary screen, the third screen and the first screen are the same screen and are both main screens (namely the third screen is different from the second screen), namely the terminal equipment can respond to the second input and switch the screen having the display mapping relation with the target application program from the auxiliary screen to the main screen.
In a fourth case: if the first screen and the second screen are different screens, the first screen is an auxiliary screen, and the second screen is a main screen, the third screen and the first screen are the same screen and are both auxiliary screens (namely the third screen is different from the second screen), namely the terminal equipment can respond to the second input and switch the screen having the display mapping relation with the target application program from the main screen to the auxiliary screen.
The task switching method provided by the embodiment of the invention can enable the multi-task processing capability of the multi-screen terminal equipment to be stronger, simultaneously facilitates the switching of tasks by users, and fully utilizes the secondary screen. The invention can make the multi-screen terminal device more competitive in the fields of entertainment, office and the like, and through improvement, a user can distinguish frequently used background applications, and the entertainment and the work are separated, for example, the recent task of the main screen is related to the work, and the recent task of the auxiliary screen is related to the entertainment.
The task switching method provided by the embodiment of the invention receives a first input of a user on a first screen; responding to the first input, and displaying a first interface on a first screen, wherein the first interface comprises at least one first application program identifier, and each first application program identifier is used for indicating an application program started by the terminal equipment; and receiving a second input of a target application identification of the at least one first application identification by the user; and in response to the second input, switching the screen having the display mapping relationship with the target application from a second screen to a third screen, the second screen being different from the third screen; the target application identifies the indicated application for the target application. By the scheme, the target application program and one screen can be switched to have the display mapping relation, and the target application program and the other screen can have the display mapping relation, so that the target application program can be switched from the recent task of one screen to the recent task of the other screen, and the user can conveniently perform interaction operation on the recent tasks of the screens. Furthermore, according to the embodiment of the invention, the running interfaces of the application programs with different attributes (such as office application programs, entertainment application programs and the like) are respectively displayed by different screens by executing the task switching action according to the use requirements of the user, so that the flexibility and convenience for maintaining recent tasks can be improved.
The following respectively takes the first embodiment and the second embodiment as examples to describe in detail a specific implementation manner of the task switching method provided by the embodiment of the present invention.
First embodiment
Optionally, in the first embodiment, the first interface may further include at least two folders, and each of the at least two folders corresponds to a different screen. If a folder corresponds to a screen, the folder may include identifiers (for example, application icons) of applications having a display mapping relationship with the screen, and each identifier may be displayed in a specific arrangement manner (for example, 3 × 3 array).
It should be noted that, in the above exemplary description, different folders are used to represent different screens, and it is understood that the embodiments of the present invention include, but are not limited to, the above manner, for example, at least two folders may be replaced by at least two icons. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Illustratively, a double-sided screen terminal device is taken as an example. The first interface may include two folders, one folder may correspond to the home screen of the dual-screen terminal device, and the folder may include an identifier of an application program having a display mapping relationship with the home screen; the other folder corresponds to the secondary screen of the dual-screen terminal device, and the folder can include an identifier of an application having a display mapping relation with the secondary screen. Thus, the two folders correspond to different screens of the two screens of the double-screen terminal device respectively.
Optionally, in the first embodiment, the terminal device may display, in response to the first input, a first interface on the first screen, where the first interface includes at least one first application identifier, and all applications indicated by the at least one first application identifier are applications having a display mapping relationship with the first screen.
Illustratively, a double-sided screen terminal device is taken as an example. The terminal device may respond to the first input, and display a first interface on a home screen (i.e., the first screen) of the dual-screen terminal device, where the first interface includes at least one first application identifier, and all applications indicated by the at least one first application identifier are applications having a display mapping relationship with the home screen. Or, the terminal device may further respond to the first input, and display a first interface on a secondary screen (i.e., the first screen) of the dual-screen terminal device, where the first interface includes at least one first application identifier, and all applications indicated by the at least one first application identifier are applications having a display mapping relationship with the secondary screen. In this way, if the user inputs on one screen of the terminal device (i.e., the first input), the terminal device may display, on the screen, an application identifier indicating that the application having the display mapping relationship with the screen corresponds to the application.
Optionally, in the first embodiment, the second input may be an input that the user drags the target application identifier to the first folder corresponding to the third screen.
Illustratively, a double-sided screen terminal device is taken as an example. The second input may be an input that a user drags the target application identifier to a folder (i.e., the first folder) corresponding to the home screen of the dual-screen terminal device. Alternatively, the second input may be an input that the user drags the target application identifier to a folder (i.e., the first folder) corresponding to the secondary screen of the dual-screen terminal device.
Optionally, in the first embodiment, with reference to fig. 2, as shown in fig. 5, after S203 described above, the task switching method provided in the embodiment of the present invention may further include S204 described below.
And S204, the terminal equipment cancels the display of the target application program identifier on the first screen.
Optionally, in this embodiment of the present invention, assuming that the folder corresponding to the second screen includes the target icon of the application indicated by the target application identifier, if the user drags the target application identifier to the folder corresponding to the third screen (i.e., the second input), the terminal device may cancel, in response to the input, the display of the target application identifier on the first screen and cancel the display of the target icon in the folder corresponding to the second screen.
In the embodiment of the present invention, the terminal device may cancel the display mapping relationship between the target application and the first screen in response to the input.
Illustratively, a double-sided screen terminal device is taken as an example. Assuming that the folder corresponding to the home screen of the dual-screen terminal device (referred to simply as the home screen folder) includes the target icon of the application indicated by the target application identifier, if the user drags the target application identifier to the folder corresponding to the sub-screen of the dual-screen terminal device (referred to simply as the sub-screen folder), the terminal device may cancel the display of the target application identifier on the home screen and cancel the display of the target icon in the folder corresponding to the home screen in response to the input.
Optionally, in this embodiment of the present invention, if the user drags the target application identifier to the folder corresponding to the third screen (i.e., the second input), the terminal device may update the target application identifier to the target icon of the application indicated by the target application identifier in response to the input, and move the target icon to the folder corresponding to the third screen, so that the folder corresponding to the third screen includes the target icon.
Illustratively, fig. 6 shows a schematic diagram of a home screen interface of a dual-screen terminal device. As shown in (a) of fig. 6, the terminal device displays a first interface 60 on the home screen, where the first interface 60 includes three first application identifiers (e.g., thumbnails of applications having a display mapping relationship with the home screen), and the applications indicated by the at least one first application identifier are all applications having a display mapping relationship with the home screen (e.g., application 1, application 2, and application 3). The first interface 60 also includes two folders: a main screen folder and an auxiliary screen folder. Icons of various applications having a display mapping relation with the home screen can be displayed in the home screen folder. Wherein, the application 1, the application 2 and the application 3 all belong to the recent tasks of the main screen.
As shown in (b) of fig. 6, the terminal device may update the target application identifier 61 to the target icon 62 of the application indicated by the target application identifier 61 in response to a long press input of the target application identifier 61 by the user. Also, the terminal device may gradually reduce the size of the target icon 62 and move the target icon 62 into the sub-screen folder in response to a drag input of the user to drag the target icon 62 into the sub-screen folder, and accordingly cancel the display of the target application identification 61 on the first screen and cancel the display of the target icon in the folder corresponding to the second screen. In this way, the display mapping relationship between the application 2 and the main screen is switched to the display mapping relationship between the application 2 and the auxiliary screen, so that the application 2 belongs to the recent task of the auxiliary screen. If the user wants to give up the switching task halfway, the user can directly release the finger, so that the terminal device can control the target icon 62 to be restored to the thumbnail style.
In the embodiment of the invention, the terminal device can respond to the input that the user drags the target application program identifier to the folder corresponding to the screen, the target application program and one screen have a display mapping relation, and the target application program and the other screen have the display mapping relation, so that the terminal device can operate on any screen of the terminal device according to the use requirement of the user, and the target application program is switched from the recent task of one screen to the recent task of the other screen, the user can conveniently carry out interaction operation on the recent tasks of all screens, and the flexibility of the terminal device in maintaining the recent tasks is improved.
Optionally, with reference to fig. 2, as shown in fig. 7, after the above S203, the task switching method provided in the embodiment of the present invention may further include the following S205 and S206.
S205, the terminal device receives a third input of the user to a second folder of the at least two folders.
Optionally, in this embodiment of the present invention, the third input of the user may be a click input (for example, a single-click input or a double-click input), may also be a long-press input, and may also be an input in any other possible form, which may specifically be determined according to an actual use requirement, and this embodiment of the present invention is not limited.
S206, the terminal device responds to a third input, the first application program identification displayed on the first screen is updated to be a second application program identification, and the application indicated by the second application program identification and the screen corresponding to the second folder have a display mapping relation.
In this embodiment of the present invention, the terminal device may respond to the first input, and display a first interface on the first screen, where the first interface includes at least one first application identifier, and all applications indicated by the at least one first application identifier are applications having a display mapping relationship with the first screen. In this case, if the user inputs (i.e., a third input) to a second folder of the at least two folders in the first interface, the terminal device may update the first application identifier displayed on the first screen to the second application identifier in response to the input, so that the user may know a recent task on the screen corresponding to the second folder by viewing the second application identifier.
Illustratively, a double-sided screen terminal device is taken as an example. As shown in (a) of fig. 8, the terminal device displays a first interface 80 in the home screen, the first interface 80 including a plurality of first application identifications 81 indicating recent tasks (e.g., application 1, application 2, and application 3) of the home screen. As shown in fig. 8 (a), the terminal device may update the plurality of first application identifications 81 displayed on the main screen to the plurality of second application identifications 82 indicating recent tasks (e.g., application 4, application 5, and application 6) of the sub-screen in response to a third input (e.g., a one-click input) of the user to the sub-screen folder (i.e., the second folder).
In the embodiment of the invention, a user can trigger the terminal equipment to display the application program identifier for indicating the application corresponding to the screen with the display mapping relation by inputting the folder corresponding to the screen, so that the recent task of the screen can be known by checking the application program identifier, the user can conveniently operate the recent task of each screen, and the flexibility and the convenience for maintaining the recent task can be improved.
Second implementation
Optionally, in a second implementation manner, the second input may be an input to the target application identifier in a target preset manner on the first screen, where the target preset manner is an input manner corresponding to the third screen.
For example, the second input may be a sliding input of the target application identification by the user on the first screen along the first direction, wherein the sliding input along the specific direction is an input mode corresponding to the third screen. In this way, the terminal device can switch the application indicated by the target application program identification to have a display mapping relation with the third screen in response to the sliding input along the first direction.
It should be noted that, the target preset mode is exemplarily described above by taking the sliding input along the specific direction as an example, and it is understood that the embodiment of the present invention includes but is not limited to the target preset mode, which can be determined according to actual use requirements, and the embodiment of the present invention is not limited thereto.
In a second implementation manner, with reference to fig. 2, as shown in fig. 9, after S201 described above, the task switching method provided in the embodiment of the present invention may further include S207 to S209 described below.
And S207, the terminal equipment receives a fourth input of the target application program from the user.
Optionally, in the embodiment of the present invention, the fourth input of the user may be a sliding input, or may be an input in any other possible form, which may be determined specifically according to an actual use requirement, and the embodiment of the present invention is not limited.
And S208, the terminal equipment responds to a fourth input, and switches the screen with the display mapping relation with the target application program from the second screen to a fourth screen, wherein the second screen is different from the fourth screen, and the fourth screen is different from the third screen.
S209, the terminal equipment updates the display effect of the target application program identification to the display effect corresponding to the fourth screen.
In an embodiment of the present invention, the fourth input may be a gesture input that is performed by using a preset gesture on the first screen to apply an identifier to the target, each screen may correspond to different preset gestures (for example, a left-slide input, a right-slide input, and the like), and each screen may correspond to different display effects of the identifier of the application program.
Specifically, the display effect of the application program identifier corresponding to the second screen is different from the display effect of the application program identifier corresponding to the fourth screen. The terminal device may switch the screen having the display mapping relationship with the target application from the second screen to the fourth screen, and update the display effect identified by the target application from the display effect corresponding to the second screen to the display effect corresponding to the fourth screen.
In the embodiment of the present invention, the display effect of the target application identifier may be presented by applying elements such as an icon, a color, a shape, or a character, or a combination of various elements, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited.
Illustratively, taking a double-sided terminal device as an example, as shown in (a) and (b) of fig. 10, a user may input (e.g., click input) to a switch button in the first interface 80 to trigger switching of the application identification in the first interface 80 from the card format as shown in (a) of fig. 10 to the list format as shown in (b) of fig. 10. When the application program identifier presents the tabular display effect, all applications (including the application having the display mapping relation with the main screen and the application having the display mapping relation with the auxiliary screen) currently running by the terminal device are included in the first interface 80. If the terminal device has more applications currently running (started and not closed), and part of the application program identifiers are displayed in the first interface 80, the user may slide up or down on the first interface 80 to trigger the terminal device to update and display other application program identifiers.
As shown in (b) of fig. 10, the display effect of the application identification of the main screen may be presented as a bar shape including a right arrow (e.g., the recent tasks of the main screen include application 1, application 2, and application 3), and the display effect of the application identification of the sub screen may be presented as a bar shape including a left arrow (e.g., the recent tasks of the sub screen include application 4, application 5, and application 6). At this time, if the user performs a slide input on the main screen in a direction opposite to the arrow shown (for example, the user performs a slide input to the right on the application id indicating the application 4 having the display mapping relationship with the sub-screen), the terminal device may switch the application 4 indicated by the target application id to have the display mapping relationship with the main screen in response to the slide input, and update the display effect of the target application id (i.e., the bar shape including the left arrow) to the display effect corresponding to the main screen (i.e., the bar shape including the right arrow). The terminal equipment can also increase the animation effect in the process of sliding input by the user and the updating process of the display effect of the target application program identification, and the flexibility of man-machine interaction is improved.
As further shown in fig. 10, the user may press a certain application identifier for a long time and drag the certain application identifier to the close area 84 in the first interface, so as to trigger the terminal device to close or clean the application indicated by the application identifier from the background.
The task switching method provided by the embodiment of the invention can quickly switch the screen with the display mapping relation with the target application program from one screen to another screen, and the list-type display effect can display more tasks on one screen, so that a user can better manage recent tasks.
In the embodiment of the invention, the terminal equipment can respond to the input of the target application program identifier by the user in a preset mode and update the display effect of the target application program identifier, so that the recent tasks of each screen can be distinguished according to different display effects, the user can conveniently carry out interactive operation on the recent tasks of each screen, and the flexibility and convenience for maintaining the recent tasks can be improved.
Optionally, in the embodiment of the present invention, each first application identifier may correspond to one screen identifier, and the screen identifier corresponding to one first application identifier is used to indicate the screen corresponding to the one first application identifier. With reference to fig. 2, as shown in fig. 11, after S203 described above, the task switching method provided in the embodiment of the present invention may further include S210 described below.
S210, the terminal equipment updates the screen identification corresponding to the target application program identification into the screen identification used for indicating the third screen.
Optionally, in this embodiment of the present invention, the screen identifier may be represented by a different numerical value (or attribute value). For example, taking a dual-screen terminal device as an example, the screen identifier of the primary screen is 0, and the screen identifier of the secondary screen is 1. It can be understood that the embodiment of the present invention includes, but is not limited to, the representation manner of the screen identifier, which may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
In the embodiment of the invention, the terminal device can respond to the input of the target application program identifier by a user, switch the screen with the display mapping relation with the target application program from the second screen to the third screen, and update the screen identifier corresponding to the target application program identifier to the screen identifier for indicating the third screen, so that the recent task of which screen each application belongs to is specifically indicated by each application program identifier can be identified through the screen identifier, and the flexibility and the convenience for maintaining the background application can be improved.
Optionally, with reference to fig. 2, as shown in fig. 12, after the above S203, the task switching method provided in the embodiment of the present invention may further include the following S211 to S214.
And S211, the terminal equipment receives a fifth input of the target application program identification by the user.
Optionally, in the embodiment of the present invention, the fifth input of the user may be a long press input, or may also be an input in any other possible form, which may be determined specifically according to an actual use requirement, and the embodiment of the present invention is not limited.
And S212, the terminal equipment responds to the fifth input and updates the target application program identification from the first state to the second state.
In this embodiment of the present invention, the first state may be a thumbnail of an application indicated by the target application identifier, and the second state may be an icon of an application indicated by the target application identifier. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
And S213, the terminal equipment receives the sixth input of the target application program identification in the second state from the user.
Wherein the sixth input may be an input that triggers the target application to identify the shake.
S214, the terminal device responds to the sixth input, displays the animation effect that the target application program identification collides with the at least one third application program identification, and cancels the display of the at least one third application program identification on the first screen.
The at least one third application identifier is an application identifier in other application identifiers, and the other application identifiers are application identifiers in the at least one first application identifier except for the target application identifier.
Illustratively, in conjunction with (a) and (b) in fig. 6, as shown in (a) and (b) in fig. 13, the terminal device may update the target application identification from the thumbnail style to the icon style in response to a long press input of the target application identification (corresponding to the application 2) by the user. Further, the user may keep the pressing state without loosing his hand, shake the target application identifier in the icon style with his hand, and the terminal device may display an animation effect that the target application identifier collides with an adjacent application identifier in response to a shake input of the target application identifier in the icon style by the user, and cancel the display of the collided application identifier on the first screen, so that applications (e.g., application 1 and application 3) indicated by the collided application identifier may be closed or cleaned. If the user wants to abandon the cleaning task halfway, the user can directly release the finger, so that the terminal device can control the target application program identifier of the icon style to return to the initial state (namely, the thumbnail style).
According to the embodiment of the invention, the recent tasks can be quickly cleaned, so that a user can select to reserve the independent tasks, and other applications on the same screen can be emptied while switching the tasks, thereby reducing resource consumption, improving performance and saving electric quantity.
As further shown in fig. 13 (b), the user may drag the target application identifier 61 to the closing area 63 in the first interface 60 to trigger the terminal device to close or clean the application 2 indicated by the target application identifier 61 from the background.
In the embodiment of the invention, the application indicated by the target application program identifier can be closed by dragging the target application program identifier to the closing area, and the application indicated by the collided application program identifier can be closed by pressing the target application program identifier and triggering the target application program identifier to collide with other application program identifiers, so that a user can clean background applications in different modes according to use requirements, and thus, the flexibility and the convenience for maintaining the background applications can be provided.
It should be noted that, the application program identifiers in the recent task interface are displayed in a card-type display manner, a list-type display manner, and the like as an exemplary illustration, it can be understood that the display manner of the application program identifiers in the recent task interface in the embodiment of the present invention includes but is not limited to this, for example, the application program identifiers in the recent task interface can also be displayed in a nine-square grid manner; for another example, the application program identifier in the recent task interface may also be in a small icon form, only thumbnails of the screens are reserved, and the thumbnail of each screen includes icons of all tasks of the screen, so that a user can drag the icon from the thumbnail of one screen to the thumbnail of another screen to trigger execution of a task switching action. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
It should be further noted that, under the condition that background applications of each screen of the multi-screen terminal device are distinguished, unlocking modes of each screen of the multi-screen terminal device can be also distinguished, and a recent task entry can be added with a hiding function, which is equivalent to realizing simple false mobile phone differentiation.
It should be noted that, each of the drawings (for example, fig. 5, fig. 7, fig. 9, fig. 11, fig. 12, and the like) in the above-described embodiment of the present invention is illustrated in combination with the above-described fig. 2, and when the embodiment is specifically implemented, each of the drawings may also be implemented in combination with any other drawing that may be combined.
As shown in fig. 14, an embodiment of the present invention provides a terminal device 700, where the terminal device 700 may include a receiving module 701, a display module 702, and a processing module 703.
The receiving module 701 is configured to receive a first input of a user on a first screen. The display module 702 is configured to display a first interface on the first screen in response to the first input received by the receiving module 701, where the first interface includes at least one first application identifier, and each first application identifier is used to indicate an application that has been started by the terminal device 700. The receiving module 701 is further configured to receive a second input of the target application identifier from the at least one first application identifier displayed by the displaying module 702. The processing module 703 is configured to switch, in response to the second input received by the receiving module 701, a screen having a display mapping relationship with the target application from a second screen to a third screen, where the second screen is different from the third screen; the target application identifies the indicated application for the target application.
Optionally, in an embodiment of the present invention, the first interface may further include at least two folders, and the at least two folders correspond to different screens respectively. The application program indicated by the at least one first application program identifier has a display mapping relation with the first screen. The second input is input of dragging the target application program identifier to the first folder corresponding to the third screen by the user. In this case, the display module 702 is further configured to cancel the display of the target application identifier on the first screen after the processing module 703 switches the screen having the display mapping relationship with the target application from the second screen to the third screen.
Optionally, in this embodiment of the present invention, the receiving module 701 is further configured to receive a third input of the user to a second folder in the at least two folders after the displaying module 702 displays the first interface on the first screen. The display module 702 is further configured to update the first application identifier displayed on the first screen to a second application identifier in response to the third input received by the receiving module 701, where the application indicated by the second application identifier has a display mapping relationship with the screen corresponding to the second folder.
Optionally, in this embodiment of the present invention, the receiving module 701 is further configured to receive a fourth input of the target application program from the user after the displaying module 702 displays the first interface. The processing module 703 is further configured to switch, in response to the fourth input received by the receiving module 701, a screen having a display mapping relationship with the target application from a second screen to a fourth screen, where the second screen is different from the fourth screen and the fourth screen is different from the third screen. The display module 702 is further configured to update the display effect of the target application identifier from the display effect corresponding to the second screen to the display effect corresponding to the fourth screen.
Optionally, in this embodiment of the present invention, each of the at least one first application identifier corresponds to a screen identifier, and the screen identifier corresponding to one first application identifier is used to indicate a screen having a display mapping relationship with the application indicated by the one first application identifier. The processing module 703 is further configured to update the screen identifier corresponding to the target application identifier to the screen identifier indicating the third screen after the screen having the display mapping relationship with the target application is switched from the second screen to the third screen.
Optionally, in this embodiment of the present invention, the receiving module 701 is further configured to receive a fifth input of the target application identifier by the user after the displaying module 702 displays the first interface. The display module 702 is further configured to update the target application identification from the first state to the second state in response to the fifth input received by the receiving module 701. The receiving module 701 is further configured to receive a sixth input of the target application identifier in the second state from the user, where the sixth input is an input for triggering shaking of the target application identifier. The display module 702 is further configured to, in response to the sixth input received by the receiving module 701, display an animation effect that the target application identifier collides with at least one third application identifier, and cancel the display of the at least one third application identifier on the first screen, where the at least one third application identifier is an application identifier in the other application identifiers, and the other application identifiers are application identifiers in the at least one first application identifier except for the target application identifier.
The terminal device provided by the embodiment of the present invention can implement each process implemented by the terminal device in the above method embodiments, and is not described here again to avoid repetition.
The terminal device provided by the embodiment of the invention can receive the first input of a user on the first screen; responding to the first input, and displaying a first interface on a first screen, wherein the first interface comprises at least one first application program identifier, and each first application program identifier is used for indicating an application program started by the terminal equipment; and receiving a second input of a target application identification of the at least one first application identification by the user; and in response to the second input, switching the screen having the display mapping relationship with the target application from a second screen to a third screen, the second screen being different from the third screen; the target application identifies the indicated application for the target application. By the scheme, the target application program and one screen can be switched to have the display mapping relation, and the target application program and the other screen can have the display mapping relation, so that the target application program can be switched from the recent task of one screen to the recent task of the other screen, and the user can conveniently perform interaction operation on the recent tasks of the screens. Furthermore, according to the embodiment of the invention, the running interfaces of the application programs with different attributes (such as office application programs, entertainment application programs and the like) are respectively displayed by different screens by executing the task switching action according to the use requirements of the user, so that the flexibility and convenience for maintaining recent tasks can be improved.
Fig. 15 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention. As shown in fig. 15, the terminal device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 15 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
A user input unit 807 for receiving a first input of a user on a first screen, which is one of the at least two screens; a display unit 806, configured to display, in response to a first input received by the user input unit 807, a first interface on the first screen, where the first interface includes at least one first application identifier, and each first application identifier is used to indicate an application started by the terminal device; a user input unit 807 for receiving a second input of a target application identification of the at least one first application identification by a user; a processor 810 for switching a screen having a display mapping relation with the target application from a second screen to a third screen in response to a second input received by the user input unit 807, the second screen being different from the third screen; the target application identifies the indicated application for the target application.
The embodiment of the invention provides a terminal device, which can receive a first input of a user on a first screen; responding to the first input, and displaying a first interface on a first screen, wherein the first interface comprises at least one first application program identifier, and each first application program identifier is used for indicating an application program started by the terminal equipment; and receiving a second input of a target application identification of the at least one first application identification by the user; and in response to the second input, switching the screen having the display mapping relationship with the target application from a second screen to a third screen, the second screen being different from the third screen; the target application identifies the indicated application for the target application. By the scheme, the target application program and one screen can be switched to have the display mapping relation, and the target application program and the other screen can have the display mapping relation, so that the target application program can be switched from the recent task of one screen to the recent task of the other screen, and the user can conveniently perform interaction operation on the recent tasks of the screens. Furthermore, according to the embodiment of the invention, the running interfaces of the application programs with different attributes (such as office application programs, entertainment application programs and the like) are respectively displayed by different screens by executing the task switching action according to the use requirements of the user, so that the flexibility and convenience for maintaining recent tasks can be improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 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. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The terminal device 800 provides the user with wireless broadband internet access through the network module 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the terminal apparatus 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The terminal device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the terminal device 800 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 807 is operable to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 15, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the terminal device, and this is not limited herein.
The interface unit 808 is an interface for connecting an external device to the terminal apparatus 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 800 or may be used to transmit data between the terminal apparatus 800 and an external device.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can 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 processor 810 is a control center of the terminal device, connects various parts of the whole terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby performing overall monitoring of the terminal device. Processor 810 may include one or more processing units; optionally, the processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
Terminal device 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and optionally, power supply 811 may be logically coupled to processor 810 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the terminal device 800 includes some functional modules that are not shown, and are not described in detail here.
Optionally, an embodiment of the present invention further provides a terminal device, which includes the processor 810 shown in fig. 15, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the task switching method embodiment, and can achieve the same technical effect, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the task switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method disclosed in the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A task switching method is applied to terminal equipment and is characterized by comprising the following steps:
receiving a first input of a user on a first screen;
responding to the first input, displaying a first interface on the first screen, wherein the first interface comprises at least one first application program identifier, each first application program identifier is used for indicating an application program started by the terminal equipment, the first interface further comprises at least two folders, the at least two folders respectively correspond to different screens, and one folder comprises an identifier of the application program which has a display mapping relation with the folder;
receiving a second input of a target application program identifier in the at least one first application program identifier by a user, wherein the second input is an input of dragging the target application program identifier to a first folder corresponding to a third screen by the user;
switching a screen having a display mapping relationship with a target application from a second screen to the third screen in response to the second input, the second screen being different from the third screen; the target application program is the application program indicated by the target application program identification.
2. The method of claim 1, wherein the at least one first application identifier indicates that the application has a display mapping relationship with the first screen;
after switching the screen having the display mapping relationship with the target application from the second screen to the third screen, the method further comprises:
canceling the display of the target application identification on the first screen.
3. The method of claim 2, wherein after displaying the first interface on the first screen, the method further comprises:
receiving a third input of a user to a second folder of the at least two folders;
and responding to the third input, updating the first application program identification displayed on the first screen to be a second application program identification, wherein the application program indicated by the second application program identification has a display mapping relation with the screen corresponding to the second folder.
4. The method of claim 1, wherein after displaying the first interface, the method further comprises:
receiving a fourth input of the target application program identification by the user;
in response to the fourth input, switching a screen having a display mapping relationship with the target application from the second screen to a fourth screen, the second screen being different from the fourth screen and the fourth screen being different from the third screen;
and updating the display effect of the target application program identifier from the display effect corresponding to the second screen to the display effect corresponding to the fourth screen.
5. The method according to any one of claims 1 to 4, wherein each first application identifier corresponds to a screen identifier, and the screen identifier corresponding to one first application identifier is used for indicating a screen having a display mapping relationship with the application indicated by the one first application identifier;
after switching the screen having the display mapping relationship with the target application from the second screen to the third screen, the method further comprises:
and updating the screen identifier corresponding to the target application program identifier into the screen identifier for indicating the third screen.
6. The method of any of claims 1-4, wherein after displaying the first interface, the method further comprises:
receiving a fifth input of the target application program identification by the user;
updating the target application identification from a first state to a second state in response to the fifth input;
receiving a sixth input of the target application program identifier in the second state from the user, wherein the sixth input is an input for triggering the target application program identifier to shake;
and responding to the sixth input, displaying an animation effect that the target application program identification collides with at least one third application program identification, and canceling the display of the at least one third application program identification on the first screen, wherein the at least one third application program identification is an application program identification in other application program identifications, and the other application program identifications are application program identifications in the at least one first application program identification except for the target application program identification.
7. The terminal equipment is characterized by comprising a receiving module, a display module and a processing module;
the receiving module is used for receiving a first input of a user on a first screen;
the display module is configured to display a first interface on the first screen in response to the first input received by the receiving module, where the first interface includes at least one first application identifier, each first application identifier is used to indicate an application that has been started by the terminal device, the first interface further includes at least two folders, each of the at least two folders corresponds to a different screen, and one folder includes an identifier of an application that has a display mapping relationship with the one folder;
the receiving module is further configured to receive a second input of a target application identifier in the at least one first application identifier displayed by the display module, where the second input is an input of dragging the target application identifier to a first folder corresponding to a third screen by a user;
the processing module is used for responding to the second input received by the receiving module, and switching the screen with the display mapping relation with the target application program from a second screen to the third screen, wherein the second screen is different from the third screen; the target application program is the application program indicated by the target application program identification.
8. The terminal device according to claim 7, wherein the application program indicated by the at least one first application program identifier has a display mapping relationship with the first screen;
the display module is further configured to cancel the display of the target application program identifier on the first screen after the processing module switches the screen having the display mapping relationship with the target application program from the second screen to the third screen.
9. The terminal device according to claim 8, wherein the receiving module is further configured to receive a third input from the user to a second folder of the at least two folders after the displaying module displays the first interface on the first screen;
the display module is further configured to update the first application identifier displayed on the first screen to a second application identifier in response to the third input received by the receiving module, where the application indicated by the second application identifier and the screen corresponding to the second folder have a display mapping relationship.
10. The terminal device according to claim 7, wherein the receiving module is further configured to receive a fourth input of the target application identification from the user after the display module displays the first interface;
the processing module is further configured to switch, in response to the fourth input received by the receiving module, a screen having a display mapping relationship with the target application from the second screen to a fourth screen, where the second screen is different from the fourth screen and the fourth screen is different from the third screen;
the display module is further configured to update the display effect of the target application identifier from the display effect corresponding to the second screen to the display effect corresponding to the fourth screen.
11. The terminal device according to any one of claims 7 to 10, wherein each first application identifier corresponds to a screen identifier, and the screen identifier corresponding to one first application identifier is used for indicating a screen having a display mapping relationship with the application indicated by the one first application identifier;
the processing module is further configured to update the screen identifier corresponding to the target application identifier to the screen identifier for indicating the third screen after the screen having the display mapping relationship with the target application is switched from the second screen to the third screen.
12. The terminal device according to any one of claims 7 to 10, wherein the receiving module is further configured to receive a fifth input of the target application identification from the user after the display module displays the first interface;
the display module is further configured to update the target application identifier from a first state to a second state in response to the fifth input received by the receiving module;
the receiving module is further configured to receive a sixth input of the target application program identifier in the second state from the user, where the sixth input is an input for triggering shaking of the target application program identifier;
the display module is further configured to, in response to the sixth input received by the receiving module, display an animation effect that the target application identifier collides with at least one third application identifier, and cancel the display of the at least one third application identifier on the first screen, where the at least one third application identifier is an application identifier in other application identifiers, and the other application identifiers are application identifiers in the at least one first application identifier except for the target application identifier.
13. A terminal device, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the task switching method according to any one of claims 1 to 6.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the task switching method according to any one of claims 1 to 6.
CN201910153252.0A 2019-02-28 2019-02-28 Task switching method and terminal equipment Active CN110008011B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910153252.0A CN110008011B (en) 2019-02-28 2019-02-28 Task switching method and terminal equipment
PCT/CN2020/071497 WO2020173235A1 (en) 2019-02-28 2020-01-10 Task switching method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910153252.0A CN110008011B (en) 2019-02-28 2019-02-28 Task switching method and terminal equipment

Publications (2)

Publication Number Publication Date
CN110008011A CN110008011A (en) 2019-07-12
CN110008011B true CN110008011B (en) 2021-07-16

Family

ID=67166213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910153252.0A Active CN110008011B (en) 2019-02-28 2019-02-28 Task switching method and terminal equipment

Country Status (2)

Country Link
CN (1) CN110008011B (en)
WO (1) WO2020173235A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110008011B (en) * 2019-02-28 2021-07-16 维沃移动通信有限公司 Task switching method and terminal equipment
CN110489029B (en) 2019-07-22 2021-07-13 维沃移动通信有限公司 Icon display method and terminal equipment
CN113676709B (en) * 2020-05-14 2023-10-27 聚好看科技股份有限公司 Intelligent projection equipment and multi-screen display method
CN112130791B (en) * 2020-09-10 2023-08-18 青岛海尔科技有限公司 Method and device for editing information among multiple screens, storage medium and electronic device
CN113342293B (en) * 2021-05-21 2022-07-08 亿咖通(湖北)技术有限公司 Information display method and device
CN113360120B (en) * 2021-07-02 2023-04-07 亿咖通(湖北)技术有限公司 Screen driving method and apparatus, electronic apparatus, computer-readable storage medium, and computer program product
CN114116098B (en) * 2021-11-23 2024-03-22 维沃移动通信有限公司 Application icon management method and device, electronic equipment and storage medium
CN114578899A (en) * 2022-02-18 2022-06-03 维沃移动通信有限公司 Display method, display device, electronic equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108418954A (en) * 2018-02-08 2018-08-17 维沃移动通信有限公司 A kind of method for information display and terminal
CN108572866A (en) * 2018-04-23 2018-09-25 Oppo广东移动通信有限公司 A kind of application management method, application program management device and mobile terminal
CN108762708A (en) * 2018-05-30 2018-11-06 维沃移动通信有限公司 A kind of display control method and terminal

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012075025A (en) * 2010-09-29 2012-04-12 Kyocera Mita Corp Operation device and operation method
KR20120071670A (en) * 2010-12-23 2012-07-03 엘지전자 주식회사 Mobile terminal and method for controlling the same
EP3657311B1 (en) * 2012-06-20 2022-04-13 Samsung Electronics Co., Ltd. Apparatus including a touch screen and screen change method thereof
CN103713828A (en) * 2013-12-11 2014-04-09 上海斐讯数据通信技术有限公司 Method of deleting two desktop icons by collision
CN104391621A (en) * 2014-11-11 2015-03-04 北京元心科技有限公司 Management operating method for application programs on mobile terminal
CN107943388A (en) * 2017-11-14 2018-04-20 口碑(上海)信息技术有限公司 Information deletion method and device
CN108646958B (en) * 2018-03-23 2020-06-23 维沃移动通信有限公司 Application program starting method and terminal
CN108984063B (en) * 2018-06-28 2021-10-15 努比亚技术有限公司 Desktop interaction regulation and control method and device and computer readable storage medium
CN109144580A (en) * 2018-07-17 2019-01-04 努比亚技术有限公司 A kind of application progress control method, double screen terminal and computer readable storage medium
CN109117054A (en) * 2018-07-23 2019-01-01 维沃移动通信有限公司 A kind of display control method and terminal
CN109213401A (en) * 2018-08-28 2019-01-15 南昌努比亚技术有限公司 Double-sided screen application icon method for sorting, mobile terminal and readable storage medium storing program for executing
CN110008011B (en) * 2019-02-28 2021-07-16 维沃移动通信有限公司 Task switching method and terminal equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108418954A (en) * 2018-02-08 2018-08-17 维沃移动通信有限公司 A kind of method for information display and terminal
CN108572866A (en) * 2018-04-23 2018-09-25 Oppo广东移动通信有限公司 A kind of application management method, application program management device and mobile terminal
CN108762708A (en) * 2018-05-30 2018-11-06 维沃移动通信有限公司 A kind of display control method and terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Android图形显示系统的改进研究与实现";谢志华;《中国优秀硕士学位论文全文数据库 信息科技辑》;20180115(第01期);第I138-743页 *
"Android实现程序前后台切换效果";Healtheon;《https://www.cnblogs.com/hanyonglu/archive/2012/04/15/2450551.html》;20120415;第1-11页 *

Also Published As

Publication number Publication date
WO2020173235A1 (en) 2020-09-03
CN110008011A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN110008011B (en) Task switching method and terminal equipment
CN111596845B (en) Display control method and device and electronic equipment
CN109002243B (en) Image parameter adjusting method and terminal equipment
CN109542282B (en) Interface display method and terminal equipment
CN110502163B (en) Terminal device control method and terminal device
CN110928461A (en) Icon moving method and electronic equipment
CN111078076A (en) Application program switching method and electronic equipment
CN110489029B (en) Icon display method and terminal equipment
CN109828850B (en) Information display method and terminal equipment
CN109857289B (en) Display control method and terminal equipment
CN110502162B (en) Folder creating method and terminal equipment
CN110209369B (en) Interface display method and terminal equipment
CN110752981B (en) Information control method and electronic equipment
CN109828731B (en) Searching method and terminal equipment
CN110489045B (en) Object display method and terminal equipment
CN109408072B (en) Application program deleting method and terminal equipment
CN110703972B (en) File control method and electronic equipment
CN111163224B (en) Voice message playing method and electronic equipment
WO2020192297A1 (en) Screen interface switching method and terminal device
CN111026350A (en) Display control method and electronic equipment
CN111190517B (en) Split screen display method and electronic equipment
CN111273993A (en) Icon sorting method and electronic equipment
CN110647277A (en) Control method and terminal equipment
CN110753155A (en) Proximity detection method and terminal equipment
CN111198637B (en) Operation control method and electronic equipment

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