CN110008011A - A kind of target switching method and terminal device - Google Patents
A kind of target switching method and terminal device Download PDFInfo
- Publication number
- CN110008011A CN110008011A CN201910153252.0A CN201910153252A CN110008011A CN 110008011 A CN110008011 A CN 110008011A CN 201910153252 A CN201910153252 A CN 201910153252A CN 110008011 A CN110008011 A CN 110008011A
- Authority
- CN
- China
- Prior art keywords
- screen
- application
- input
- display
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling 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
本发明实施例提供了一种任务切换方法及终端设备,涉及通信技术领域,以解决现有多面屏终端设备维护近期任务的灵活性和便捷性较差的问题。该方法包括:接收用户在第一屏上的第一输入;并响应于该第一输入,在第一屏上显示第一界面,该第一界面中包括至少一个第一应用程序标识,每个第一应用程序标识用于指示终端设备已启动的应用程序;并且接收用户对该至少一个第一应用程序标识中的目标应用程序标识的第二输入;并响应于该第二输入,将与目标应用程序具有显示映射关系的屏幕从第二屏切换为第三屏,该第二屏与第三屏不同;该目标应用程序为目标应用程序标识指示的应用程序。该方法可以应用于多面屏终端设备的近期任务管理的场景中。
Embodiments of the present invention provide a task switching method and a terminal device, which relate to the field of communication technologies, so as to solve the problem of poor flexibility and convenience in maintaining recent tasks in an existing multi-screen terminal device. The method includes: receiving a first input from a user on a first screen; and in response to the first input, displaying a first interface on the first screen, the first interface includes at least one first application identifier, each The first application identifier is used to indicate an application that has been started by the terminal device; and a second input by the user of the target application identifier in the at least one first application identifier is received; and in response to the second input, the The screen in which the application program has a display mapping relationship is switched from the second screen to the third screen, and the second screen is different from the third screen; the target application program is the application program indicated by the target application program identifier. The method can be applied to the scenario of recent task management of a multi-screen terminal device.
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种任务切换方法及终端设备。Embodiments of the present invention relate to the field of communications technologies, and in particular, to a task switching method and a terminal device.
背景技术Background technique
随着终端设备的应用范围越来越广以及多面屏技术的发展,用户对使用多面屏终端设备的灵活性的需求日益提升。With the widening application scope of terminal devices and the development of multi-screen technology, users' demands for flexibility in using multi-screen terminal devices are increasing day by day.
以双面屏终端设备为例,双面屏终端设备可以在其第一屏和第二屏分别显示不同的应用程序。一方面,双面屏终端设备可以在第一屏或第二屏维护所有已启动的应用程序(以下称为近期任务)。例如,终端设备可以响应于用户在第一屏和第二屏中任一个屏上的输入,显示所有近期任务列表。另一方面,双面屏终端设备还可以在第一屏和第二屏各自维护其近期任务。例如,终端设备可以响应于用户在第一屏上的输入,在第一屏显示第一屏的近期任务列表;或者,终端设备可以响应于用户在第二屏上的输入,在第二屏显示第二屏的近期任务列表。Taking a double-screen terminal device as an example, the double-screen terminal device can display different application programs on its first screen and second screen respectively. On the one hand, the double-screen terminal device can maintain all activated 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 the user's input on either the first screen or the second screen. On the other hand, the double-sided screen terminal device can also maintain its recent tasks on the first screen and the second screen respectively. For example, the terminal device may display the recent task list of the first screen on the first screen in response to the user's input on the first screen; or, the terminal device may display the recent task list on the second screen in response to the user's input on the second screen List of recent tasks on the second screen.
然而,在上述第一方面中,由于近期任务会全部展示,因此会存在杂乱无序、不便整理和查找的问题。在第二方面中,由于两个屏各自维护其近期任务,因此会存在对近期任务的协同维护不方便的问题。如此,导致双面屏终端设备维护近期任务的灵活性和便捷性较差。However, in the above-mentioned first aspect, since all recent tasks will be displayed, there will be problems of disorder and inconvenience in sorting and searching. In the second aspect, since the two screens maintain their recent tasks respectively, there is a problem of inconvenience in the coordinated maintenance of the recent tasks. In this way, the flexibility and convenience of the short-term task of maintenance of the double-screen terminal device are poor.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种任务切换方法及终端设备,以解决现有多面屏终端设备维护近期任务的灵活性和便捷性较差的问题。Embodiments of the present invention provide a task switching method and a terminal device, so as to solve the problem of poor flexibility and convenience in maintaining recent tasks in an existing multi-screen terminal device.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:
第一方面,本发明实施例提供了一种任务切换方法,应用于终端设备,该方法包括:接收用户在第一屏上的第一输入;并响应于该第一输入,在第一屏上显示第一界面,该第一界面中包括至少一个第一应用程序标识,每个第一应用程序标识用于指示终端设备已启动的应用程序;并且接收用户对该至少一个第一应用程序标识中的目标应用程序标识的第二输入;并响应于该第二输入,将与目标应用程序具有显示映射关系的屏幕从第二屏切换为第三屏,该第二屏与第三屏不同;该目标应用程序为目标应用程序标识指示的应用程序。In a first aspect, an embodiment of the present invention provides a task switching method, which is applied to a terminal device. The method includes: receiving a first input from a user on a first screen; and responding to the first input, on the first screen Displaying a first interface, 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; and receiving the at least one first application identifier from the user The second input identified by the target application program; and in response to the second input, the screen with the display mapping relationship with the target application program is switched from the second screen to the third screen, the second screen is different from the third screen; the The target application is the application indicated by the target application ID.
第二方面,本发明实施例提供了一种终端设备,该终端设备包括接收模块、显示模块和处理模块。接收模块用于接收用户在第一屏上的第一输入。显示模块用于响应于接收模块接收的该第一输入,在第一屏上显示第一界面,该第一界面中包括至少一个第一应用程序标识,每个第一应用程序标识用于指示终端设备已启动的应用程序。接收模块还用于接收用户对显示模块显示的该至少一个第一应用程序标识中的目标应用程序标识的第二输入。处理模块用于响应于接收模块接收的该第二输入,将与目标应用程序具有显示映射关系的屏幕从第二屏切换为第三屏,该第二屏与第三屏不同;该目标应用程序为目标应用程序标识指示的应用程序。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 the first input of the user on the 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, the first interface includes at least one first application identifier, and each first application identifier is used to indicate the terminal The application that the device has launched. The receiving module is further configured to receive a second input from the user to the target application identifier in the at least one first application identifier displayed by the display module. The processing module is configured to, in response to the second input received by the receiving module, switch the screen having a display mapping relationship with the target application from the second screen to the third screen, where 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, the terminal device includes a processor, a memory, and a computer program stored in the memory and running on the processor, the computer program being executed by the processor to implement the above-mentioned first The steps of a task switching method in an 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 the computer program is executed by a processor, implements the steps of the task switching method in the first aspect.
在本发明实施例中,可以接收用户在第一屏上的第一输入;并响应于该第一输入,在第一屏上显示第一界面,该第一界面中包括至少一个第一应用程序标识,每个第一应用程序标识用于指示终端设备已启动的应用程序;并且接收用户对该至少一个第一应用程序标识中的目标应用程序标识的第二输入;并响应于该第二输入,将与目标应用程序具有显示映射关系的屏幕从第二屏切换为第三屏,该第二屏与第三屏不同;该目标应用程序为目标应用程序标识指示的应用程序。通过该方案,可以将目标应用程序与一个屏具有显示映射关系,切换为目标应用程序与另一屏具有显示映射关系,如此可以将目标应用程序由一个屏的近期任务切换为另一屏的近期任务,便于用户对各个屏的近期任务交互操作。进而,本发明实施例可以根据用户使用需求,通过执行任务切换动作,使不同属性的应用程序(例如办公类应用程序、娱乐类应用程序等)的运行界面分别由不同屏负责显示,从而可以提升维护近期任务的灵活性和便捷性。In this embodiment of the present invention, a first input from the user on the first screen may be received; and in response to the first input, a first interface is displayed on the first screen, and the first interface includes at least one first application program identifiers, each first application identifier is used to indicate an application that has been started by the terminal device; and a second input from the user of the target application identifier in the at least one first application identifier is received; and in response to the second input , switching the screen with the display mapping relationship with the target application from the second screen to the third screen, where the second screen is different from the third screen; the target application is the application indicated by the target application identifier. Through this solution, the target application can have a display mapping relationship with one screen, and can be switched to have a display mapping relationship with another screen, so that the target application can be switched from the recent tasks of one screen to the recent tasks of another screen. Tasks, which are convenient for users to interact with recent tasks on each screen. Furthermore, the embodiment of the present invention can make the running interfaces of applications with different attributes (such as office applications, entertainment applications, etc.) to be displayed on different screens respectively by performing task switching actions according to the user's usage requirements, thereby improving the Maintain flexibility and convenience for recent tasks.
附图说明Description of drawings
图1为本发明实施例提供的一种可能的安卓操作系统的架构示意图;1 is a schematic diagram of the architecture of a possible Android operating system provided by an embodiment of the present invention;
图2为本发明实施例提供的任务切换方法的示意图之一;FIG. 2 is one of schematic diagrams of a task switching method provided by an embodiment of the present invention;
图3为本发明实施例提供的任务切换方法应用的界面示意图之一;Fig. 3 is one of the interface schematic diagrams of the application of the task switching method provided by the embodiment of the present invention;
图4为本发明实施例提供的任务切换方法应用的界面示意图之二;Fig. 4 is the second interface schematic diagram of the application of the task switching method provided by the embodiment of the present invention;
图5为本发明实施例提供的任务切换方法的示意图之二;FIG. 5 is a second schematic diagram of a task switching method provided by an embodiment of the present invention;
图6为本发明实施例提供的任务切换方法应用的界面示意图之三;FIG. 6 is the third interface schematic diagram of the application of the task switching method provided by the embodiment of the present invention;
图7为本发明实施例提供的任务切换方法的示意图之三;FIG. 7 is a third schematic diagram of a task switching method provided by an embodiment of the present invention;
图8为本发明实施例提供的任务切换方法应用的界面示意图之四;FIG. 8 is the fourth schematic diagram of the interface of the application of the task switching method provided by the embodiment of the present invention;
图9为本发明实施例提供的任务切换方法的示意图之四;FIG. 9 is a fourth schematic diagram of a task switching method provided by an embodiment of the present invention;
图10为本发明实施例提供的任务切换方法应用的界面示意图之五;FIG. 10 is the fifth schematic diagram of the interface of the application of the task switching method provided by the embodiment of the present invention;
图11为本发明实施例提供的任务切换方法的示意图之五;FIG. 11 is a fifth schematic diagram of a task switching method provided by an embodiment of the present invention;
图12为本发明实施例提供的任务切换方法的示意图之六;FIG. 12 is a sixth schematic diagram of a task switching method provided by an embodiment of the present invention;
图13为本发明实施例提供的任务切换方法应用的界面示意图之六;FIG. 13 is the sixth schematic diagram of the interface of the application of the task switching method provided by the embodiment of the present invention;
图14为本发明实施例提供的终端设备的结构示意图;14 is a schematic structural diagram of a terminal device provided by an embodiment of the present invention;
图15为本发明实施例提供的终端设备的硬件示意图。FIG. 15 is a schematic diagram of hardware of a terminal device according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this paper is an association relationship that describes an associated object, indicating that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone these three situations. The symbol "/" in this document indicates the relationship in which the associated object is or, for example, A/B indicates A or B.
本发明的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一输入和第二输入等是用于区别不同的输入,而不是用于描述输入的特定顺序。The terms "first" and "second" and the like in the description and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of the objects. For example, the first input and the second input, etc. are used to distinguish different inputs, not to describe a specific order of the inputs.
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as an example, illustration or illustration. Any embodiments or designs described as "exemplary" or "such as" in the embodiments of the present invention should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.
在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元等。In the description of the embodiments of the present invention, unless otherwise specified, the meaning of "plurality" refers to two or more, for example, a plurality of processing units refers to two or more processing units and the like.
本发明实施例提供一种任务切换方法及终端设备,可以接收用户在第一屏上的第一输入;并响应于该第一输入,在第一屏上显示第一界面,该第一界面中包括至少一个第一应用程序标识,每个第一应用程序标识用于指示终端设备已启动的应用程序;并且接收用户对该至少一个第一应用程序标识中的目标应用程序标识的第二输入;并响应于该第二输入,将与目标应用程序具有显示映射关系的屏幕从第二屏切换为第三屏,该第二屏与第三屏不同;该目标应用程序为目标应用程序标识指示的应用程序。通过该方案,可以将目标应用程序与一个屏具有显示映射关系,切换为目标应用程序与另一屏具有显示映射关系,如此可以将目标应用程序由一个屏的近期任务切换为另一屏的近期任务,便于用户对各个屏的近期任务交互操作。进而,本发明实施例可以根据用户使用需求,通过执行任务切换动作,使不同属性的应用程序(例如办公类应用程序、娱乐类应用程序等)的运行界面分别由不同屏负责显示,从而可以提升维护近期任务的灵活性和便捷性。Embodiments of the present invention provide a task switching method and terminal device, which can receive a first input from a user on a first screen; and in response to the first input, display a first interface on the first screen, where the first interface is Including at least one first application program identifier, each first application program identifier is used to indicate an application program that has been started by the terminal device; and receiving a second input by the user of the target application program identifier in the at least one first application program identifier; And in response to the second input, the screen with the display mapping relationship with the target application is switched from the second screen to the third screen, and the second screen is different from the third screen; the target application is indicated by the target application identification. application. Through this solution, the target application can have a display mapping relationship with one screen, and can be switched to have a display mapping relationship with another screen, so that the target application can be switched from the recent tasks of one screen to the recent tasks of another screen. Tasks, which are convenient for users to interact with recent tasks on each screen. Furthermore, the embodiment of the present invention can make the running interfaces of applications with different attributes (such as office applications, entertainment applications, etc.) to be displayed on different screens respectively by performing task switching actions according to the user's usage requirements, thereby improving the Maintain flexibility and convenience for recent tasks.
本发明实施例中的终端设备可以为具有操作系统的终端设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。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, which are not specifically limited in the embodiment of the present invention.
下面以安卓操作系统为例,介绍一下本发明实施例提供的任务切换方法所应用的软件环境。The following takes the Android operating system as an example to introduce a software environment to which the task switching method provided by the embodiment of the present invention is applied.
如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1 , it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention. In FIG. 1, the architecture of the Android operating system includes four layers, namely: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。The application layer includes various applications (including system applications and third-party applications) in the Android operating system.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application, and developers can develop some applications based on the application framework layer under the condition of complying with the development principles of the framework of the application.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes libraries (also called system libraries) and the Android operating system runtime environment. The library mainly provides various resources required by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the bottom layer of the Android operating system software layer. The kernel layer provides core system services and hardware-related drivers for the Android operating system based on the Linux kernel.
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的任务切换方法的软件程序,从而使得该任务切换方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的任务切换方法。Taking the Android operating system as an example, in this embodiment of the present invention, a developer can develop a software program for implementing the task switching method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG. The switching method may be run based on the Android operating system as shown in FIG. 1 . That is, the processor or the terminal device can implement the task switching method provided by the embodiment of the present invention by running the software program in the Android operating system.
本发明实施例中的终端设备可以为移动终端,也可以为非移动终端。示例性的,移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本发明实施例不作具体限定。The terminal device in this embodiment of the present invention may be a mobile terminal or a non-mobile terminal. Exemplarily, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA). ), etc., the non-mobile terminal may be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present invention.
本发明实施例提供的任务切换方法的执行主体可以为上述的终端设备,也可以为该终端设备中能够实现该任务切换方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以终端设备为例,对本发明实施例提供的任务切换方法进行示例性的说明。The execution subject of the task switching method provided by the embodiment of the present invention may be the above-mentioned terminal device, or may be a functional module and/or functional entity capable of implementing the task switching method in the terminal device. The embodiments of the present invention are not limited. The task switching method provided by the embodiment of the present invention is exemplarily described below by taking a terminal device as an example.
如图2所示,本发明实施例提供一种任务切换方法,该任务切换方法可以包括下述的S200-S203。As shown in FIG. 2, an embodiment of the present invention provides a task switching method, and the task switching method may include the following S200-S203.
S200、终端设备接收用户在第一屏上的第一输入。S200. The terminal device receives the first input of the user on the first screen.
可选的,本发明实施例提供的任务切换方法所应用的终端设备可以不限于双面屏终端设备,也可以为柔性屏终端设备(其中,柔性屏折叠后可形成至少两个屏),或者可以为除双面屏终端设备之外的多面屏终端设备,具体可以根据实际使用需求确定,本发明实施例不作限定。为了便于说明和理解,下面以双面屏终端设备为例进行说明,例如,这里第一屏为双面屏终端设备的两个屏中的一个屏。Optionally, the terminal device to which the task switching method provided in this embodiment of the present invention is applied may not be limited to a double-sided screen terminal device, but may also be a flexible screen terminal device (wherein, after the flexible screen is folded, at least two screens can be formed), or It may be a multi-screen terminal device other than a double-sided screen terminal device, which may be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present invention. For ease of description and understanding, the following takes a double-screen terminal device as an example for description. For example, the first screen here is one of the two screens of the double-screen terminal device.
本发明实施例中,如果用户需要查看终端设备当前正在运行哪些应用程序(已启动且未关闭的应用程序,例如后台应用程序和前台应用程序),那么此时用户可以在终端设备的第一屏上输入(即上述第一输入),以触发终端设备在第一屏显示第一界面,以便用户通过第一界面查看终端设备当前正在运行哪些应用程序(以下简称为应用)。In this embodiment of the present invention, if the user needs to check which application programs are currently running on the terminal device (the applications that have been started but not closed, such as background applications and foreground applications), then the user can view the first screen of the terminal device at this time. The above input (ie, the above-mentioned first input) is used to trigger the terminal device to display the first interface on the first screen, so that the user can check which application programs (hereinafter referred to as applications) are currently running on the terminal device through the first interface.
可选的,本发明实施例中,上述用户的第一输入可以为点击输入(例如单击输入或双击输入),也可以为滑动输入,还可以是其它任意可能形式的输入,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this 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), a sliding input, or an input in any other possible form. The usage requirement is determined, which is not limited in the embodiment of the present invention.
下面结合图3对本发明实施例中的第一输入进行示例性的说明。The first input in the embodiment of the present invention is exemplarily described below with reference to FIG. 3 .
示例性的,以第一输入为单击输入为例,如图3中的(a)所示,上述的第一输入可以为用户对终端设备的显示屏上显示的虚拟导航栏30中的“最近使用”键(即Recent键)31的单击输入。又以第一输入为滑动输入为例,如图3中的(b)所示,上述的第一输入可以为用户从终端设备的显示屏的底部边缘32开始向上滑动并停顿预定时长(例如预定时长大于或等于1秒)的输入。又以第一输入为双击输入为例,如图3中的(c)所示,上述的第一输入可以为用户在终端设备的物理按键32(例如主页键)上的双击输入。即,用户的这些输入均可以用于触发终端设备显示上述第一界面。Exemplarily, taking the first input as a single-click input as an example, as shown in (a) in FIG. 3 , the above-mentioned first input may be the user's input to the "" in the virtual navigation bar 30 displayed on the display screen of the terminal device. A single-click input of the "most recently used" key (ie, the Recent key) 31. Taking the first input as a sliding input as an example, as shown in (b) in FIG. 3 , the above-mentioned first input may be that the user starts sliding up from the bottom edge 32 of the display screen of the terminal device and pauses for a predetermined period of time (for example, a predetermined period of time). duration greater than or equal to 1 second). Taking the first input as a double-click input as an example, as shown in (c) in FIG. 3 , the above-mentioned first input may be a double-click input by the user on the physical key 32 (eg, the home key) of the terminal device. That is, these inputs of the user can be used to trigger the terminal device to display the above-mentioned first interface.
可选的,本发明实施例中,第一屏可以为多面屏终端设备的主屏,除第一屏之外的其它屏可以为多面屏终端设备的副屏;当然,第一屏也可以为多面屏终端设备的副屏,除第一屏之外的其它屏中的一个屏可以为多面屏终端设备的主屏。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the first screen may be the main screen of the multi-screen terminal device, and other screens except the first screen may be the secondary screens of the multi-screen terminal device; of course, the first screen may also be a multi-screen terminal device. The secondary screen of the screen terminal device, and one of the other screens except the first screen may be the main screen of the multi-screen terminal device. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
S201、终端设备响应于第一输入,在第一屏上显示第一界面,该第一界面中包括至少一个第一应用程序标识。S201. In response to the first input, the terminal device displays a first interface on the first screen, where the first interface includes at least one first application identifier.
其中,每个第一应用程序标识用于指示终端设备已启动的应用程序。Wherein, each first application program identifier is used to indicate an application program that has been started by the terminal device.
本发明实施例中,终端设备可以响应于用户在第一屏上的第一输入,在第一屏上显示第一界面(也称为近期任务界面或多任务界面),进而用户可以通过查看第一界面显示的第一应用程序标识,获知终端设备当前正在运行哪些应用(包括后台应用和前台应用)。In this 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 the user's first input on the first screen, and then the user can view the first interface by viewing the first interface. The first application program identifier displayed on an interface is used to learn which applications (including background applications and foreground applications) are currently running on the terminal device.
可以理解,本发明实施例中所提到的前台应用和后台应用为相对概念,由于在终端设备显示第一界面的情况下,终端设备控制前台运行的应用转换到后台运行,此时所有正在运行的应用均在后台运行,因此第一界面显示的至少一个第一应用程序标识指示的应用可以理解为后台应用。It can be understood that the foreground application and the background application mentioned in the embodiments of the present invention are relative concepts, because when the terminal device displays the first interface, the terminal device controls the application running in the foreground to switch to running in the background. All applications run in the background, so the application indicated by the at least one first application identifier displayed on the first interface can be understood as a background application.
可选的,本发明实施例中,第一应用程序标识可以为应用的图标,也可以为应用的界面缩略图,还可以为应用的图标和界面缩略图的组合,或者可以为其它任意可以指示当前运行的应用的标识,具体可以根据实际使用需求确定,本发明实施例不作限定。此外,第一应用程序标识的形状、大小和位置具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the first application identifier may be an icon of an application, an interface thumbnail of an application, a combination of an icon of an application and an interface thumbnail, or any other identifier that can indicate The identifier of the currently running application may be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present invention. In addition, the shape, size, and position of the first application program identifier may be specifically determined according to actual usage requirements, which are not limited in this embodiment of the present invention.
示例性的,图4示例性的示出了第一界面的示意图。如图4所示,终端设备在第一屏显示第一界面40,该第一界面40包括三个第一应用程序标识41,即应用1的界面缩略图,应用2的界面缩略图和应用3的界面缩略图。如此,用户可以通过该第一界面查看终端设备当前正在运行的应用有哪些,进一步的,用户可以对第一界面中的第一应用程序标识输入,以触发终端设备对第一应用程序标识指示的应用执行某一操作,例如,将该应用退出运行状态、将该应用从后台运行切换到前台运行、或者将与该应用程序具有显示映射关系的屏幕从一个屏切换为另一屏等。Exemplarily, FIG. 4 exemplarily shows a schematic diagram of the first interface. As shown in FIG. 4 , the terminal device displays a first interface 40 on the first screen, and the first interface 40 includes three first application identifiers 41 , namely the interface thumbnail of Application 1, the interface thumbnail of Application 2 and the application 3 interface thumbnail. In this way, the 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 identifier in the first interface to trigger the terminal device to indicate the first application identifier. The application performs a certain operation, for example, exits the application from the running state, switches the application from background running to foreground running, or switches the screen that has a display mapping relationship with the application from one screen to another.
S202、终端设备接收用户对至少一个第一应用程序标识中的目标应用程序标识的第二输入。S202. The terminal device receives a second input by the user of the target application identifier in the at least one first application identifier.
可选的,本发明实施例中,上述第二屏和第一屏可以为同一屏,此时终端设备接收用户对第一屏显示的目标应用程序标识的第二输入,该目标应用程序标识指示的应用为与第一屏具有显示映射关系的应用,该应用可以称为第一屏的近期任务。或者,上述第二屏和第一屏也可以为不同屏,即第二屏可以为至少两个屏中除第一屏之外的屏(以下称为其它屏),此时终端设备接收用户对第一屏显示的目标应用程序标识的第二输入,该目标应用程序标识指示的应用为具有显示映射关系其它屏具有显示映射关系的应用,该应用可以称为其它屏的近期任务。Optionally, in this embodiment of the present invention, the above-mentioned second screen and the first screen may be the same screen. In this case, the terminal device receives the second input from the user on the target application identifier displayed on the first screen, and the target application identifier indicates The application is an application that has a display mapping relationship with the first screen, and the application may be called a recent task of the first screen. Alternatively, the above-mentioned second screen and the first screen may also be different screens, that is, the second screen may be a screen other than the first screen (hereinafter referred to as other screens) among the at least two screens. The second input of the target application identifier displayed on the first screen, the application indicated by the target application identifier is an application with a display mapping relationship and other screens with a display mapping relationship, and the application may be called a recent task of other screens.
以双面屏终端设备为例,假设第一屏为主屏,那么若第二屏和第一屏为同一屏,则第二屏为主屏,此时终端设备接收用户对主屏显示的目标应用程序标识的第二输入,该目标应用程序标识指示的应用为与主屏具有显示映射关系的应用,该应用属于主屏的近期任务。若第二屏和第一屏为不同屏,则第二屏为副屏,此时终端设备接收用户对主屏显示的目标应用程序标识的第二输入,该目标应用程序标识指示的应用为与副屏具有显示映射关系的应用,该应用程序属于副屏的近期任务。Taking a double-sided screen terminal device as an example, assuming that the first screen is the main screen, then if the second screen and the first screen are the same screen, the second screen is the main screen. At this time, the terminal device receives the target application identifier displayed by the user on the main screen. of the second input, the application indicated by the target application identifier is an application that has a display mapping relationship with the home screen, and the application belongs to a recent task of the home screen. If the second screen and the first screen are different screens, the second screen is the secondary screen, and the terminal device receives the second input from the user on the target application identifier displayed on the main screen, and the application indicated by the target application identifier is the same as the secondary screen. The screen has an application that displays the mapping relationship, and the application belongs to the recent task of the secondary screen.
可选的,本发明实施例中,上述用户的第二输入可以为拖动输入,也可以为滑动输入,还可以是其它任意可能形式的输入,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned second input of the user may be a drag input, a sliding input, or an input in any other possible form, which may be determined according to actual usage requirements. Not limited.
S203、终端设备响应于第二输入,将与目标应用程序具有显示映射关系的屏幕从第二屏切换为第三屏,该第二屏与第三屏不同;该目标应用程序为目标应用程序标识指示的应用程序。S203. In response to the second input, the terminal device switches the screen having a display mapping relationship with the target application from the second screen to the third screen, where the second screen is different from the third screen; the target application is the target application identifier indicated application.
本发明实施例中,假设目标应用程序与第二屏具有显示映射关系,那么目标应用程序的运行界面可以在第二屏上显示,可以理解为目标应用程序为第二屏的近期任务。In this embodiment of the present invention, assuming that the target application has a display mapping relationship with the second screen, the running interface of the target application can be displayed on the second screen, which can be understood as the target application being a recent task of the second screen.
可选的,本发明实施例中,终端设备可以将待显示目标应用程序运行界面的屏幕由第二屏切换为第三屏,也可以将显示目标应用程序运行界面的屏幕由第二屏切换为第三屏,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the terminal device may switch the screen on which the running interface of the target application program is to be displayed from the second screen to the third screen, or switch the screen on which the running interface of the target application program is displayed from the second screen to the third screen. The third screen can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
本发明实施例中,在目标应用程序与第二屏具有显示映射关系的情况下,终端设备响应于第二输入,将与目标应用程序具有显示映射关系的屏幕从第二屏切换为第三屏,结果为目标应用程序与第三屏具有显示映射关系(且目标应用程序与第二屏不再具有显示映射关系)。如此,目标应用程序的运行界面可以在第三屏上显示或待显示,即目标应用程序为第三屏的近期任务。In this embodiment of the present invention, when the target application has a display mapping relationship with the second screen, the terminal device switches the screen with the display mapping relationship with the target application from the second screen to the third screen in response to the second input , the result is that the target application has a display mapping relationship with the third screen (and the target application no longer has a display mapping relationship with the second screen). In this way, the running interface of the target application can be displayed or to be displayed on the third screen, that is, the target application is a recent task of the third screen.
以双面屏终端设备为例,假设双面屏终端设备包括主屏和副屏。具体的,下面针对以下四种情况(即下述的第一种情况、第二种情况、第三种情况和第四种情况)说明将与目标应用程序具有显示映射关系的屏幕从第二屏切换为第三屏的具体实现方式。Taking a double-sided screen terminal device as an example, it is assumed that the double-sided screen terminal device includes a main screen and a secondary screen. Specifically, for the following four cases (that is, the first case, the second case, the third case, and the fourth case described below), it will be explained that the screen with the display mapping relationship with the target application is changed from the second screen to the second screen. The specific implementation of switching to the third screen.
第一种情况:若第一屏和第二屏为同一屏且均为主屏,则第三屏为副屏(即第三屏与第二屏不同),即终端设备可以响应于第二输入,将与目标应用程序具有显示映射关系的屏幕从主屏切换为副屏。The first case: if the first screen and the second screen are the same screen and both are the main screen, then the third screen is a secondary screen (that is, the third screen is different from the second screen), that is, the terminal device can respond to the second input, Switch the screen that has a display mapping relationship with the target application from the main screen to the secondary screen.
第二种情况:若第一屏和第二屏为同一屏且均为副屏,则第三屏为主屏(即第三屏与第二屏不同),即终端设备可以响应于第二输入,将与目标应用程序具有显示映射关系的屏幕从副屏切换为主屏。The second case: if the first screen and the second screen are the same screen and both are secondary screens, then the third screen is the main screen (that is, the third screen is different from the second screen), that is, the terminal device can respond to the second input, Switch the screen that has a display mapping relationship with the target application from the secondary screen to the main screen.
第三种情况:若第一屏和第二屏为不同屏且第一屏为主屏,第二屏为副屏,则第三屏和第一屏为同一屏且均为主屏(即第三屏与第二屏不同),即终端设备可以响应于第二输入,将与目标应用程序具有显示映射关系的屏幕从副屏切换为主屏。The third case: if the first screen and the second screen are different screens and the first screen is the main screen and the second screen is the secondary screen, then the third screen and the first screen are the same screen and both are the main screen (that is, the third screen Different from the second screen), that is, the terminal device can switch the screen that has a display mapping relationship with the target application from the secondary screen to the main screen in response to the second input.
第四种情况:若第一屏和第二屏为不同屏且第一屏为副屏,第二屏为主屏,则第三屏和第一屏为同一屏且均为副屏(即第三屏与第二屏不同),即终端设备可以响应于第二输入,将与目标应用程序具有显示映射关系的屏幕从主屏切换为副屏。The fourth case: if the first screen and the second screen are different screens and the first screen is the secondary screen, and the second screen is the main screen, then the third screen and the first screen are the same screen and both are secondary screens (that is, the third screen The screen is different from the second screen), that is, the terminal device can switch the screen that has a display mapping relationship with the target application from the main screen to the secondary screen in response to the second input.
本发明实施例提供的任务切换方法可以使多面屏终端设备的多任务处理能力更加强大,同时方便了用户进行任务的切换,且充分利用了副屏。本发明可以使多面屏终端设备在娱乐和办公等领域更具竞争力,通过改进,用户可以将频繁使用的后台应用进行区分,娱乐和工作得到分离,例如,主屏的近期任务与工作相关,副屏的近期任务与娱乐相关。The task switching method provided by the embodiment of the present invention can make the multi-task processing capability of the multi-screen terminal device more powerful, at the same time, it is convenient for the user to switch tasks, and the secondary screen is fully utilized. The invention can make the multi-screen terminal equipment more competitive in the fields of entertainment and office. Through improvement, users can distinguish frequently used background applications, and separate entertainment and work. For example, the recent tasks of the main screen are related to work, and the secondary The screen's recent tasks are related to entertainment.
本发明实施例提供的任务切换方法,接收用户在第一屏上的第一输入;并响应于该第一输入,在第一屏上显示第一界面,该第一界面中包括至少一个第一应用程序标识,每个第一应用程序标识用于指示终端设备已启动的应用程序;并且接收用户对该至少一个第一应用程序标识中的目标应用程序标识的第二输入;并响应于该第二输入,将与目标应用程序具有显示映射关系的屏幕从第二屏切换为第三屏,该第二屏与第三屏不同;该目标应用程序为目标应用程序标识指示的应用程序。通过该方案,可以将目标应用程序与一个屏具有显示映射关系,切换为目标应用程序与另一屏具有显示映射关系,如此可以将目标应用程序由一个屏的近期任务切换为另一屏的近期任务,便于用户对各个屏的近期任务交互操作。进而,本发明实施例可以根据用户使用需求,通过执行任务切换动作,使不同属性的应用程序(例如办公类应用程序、娱乐类应用程序等)的运行界面分别由不同屏负责显示,从而可以提升维护近期任务的灵活性和便捷性。In the task switching method provided by the embodiment of the present invention, a first input from a user on a first screen is received; and in response to the first input, a first interface is displayed on the first screen, and the first interface includes at least one first interface. application identifiers, each first application identifier is used to indicate an application that has been started by the terminal device; and a second input from the user for the target application identifier in the at least one first application identifier is received; and in response to the first application identifier The second input switches the screen with the display mapping relationship with the target application from the second screen to the third screen, where the second screen is different from the third screen; the target application is the application indicated by the target application identification. Through this solution, the target application can have a display mapping relationship with one screen, and can be switched to have a display mapping relationship with another screen, so that the target application can be switched from the recent tasks of one screen to the recent tasks of another screen. Tasks, which are convenient for users to interact with recent tasks on each screen. Furthermore, the embodiment of the present invention can make the running interfaces of applications with different attributes (such as office applications, entertainment applications, etc.) to be displayed on different screens respectively by performing task switching actions according to the user's usage requirements, thereby improving the Maintain flexibility and convenience for recent tasks.
下面分别以第一实施方式和第二实施方式为例,详细介绍本发明实施例提供的任务切换方法的具体实现方式。The specific implementation manner of the task switching method provided by the embodiment of the present invention is described in detail below by taking the first implementation manner and the second implementation manner as examples respectively.
第一实施方式first embodiment
可选的,在第一实施方式中,上述第一界面中还可以包括至少两个文件夹,该至少两个文件夹各自对应不同屏幕。其中,若一个文件夹对应一个屏,则该文件夹中可以包括与该屏具有显示映射关系的应用的标识(例如应用图标),各个标识可以按特定排列方式(例如3*3阵列)显示。Optionally, in the first embodiment, the above-mentioned first interface may further include at least two folders, and the at least two folders correspond to different screens respectively. Wherein, if a folder corresponds to a screen, the folder may include identifiers (eg, application icons) of applications that have a display mapping relationship with the screen, and each identifier may be displayed in a specific arrangement (eg, a 3*3 array).
需要说明的是,以上以不同的文件夹代表不同屏示例性的说明,可以理解,本发明实施例包括但不限于上述方式,例如,至少两个文件夹可以替换为至少两个图标。具体可以根据实际使用需求确定,本发明实施例不作限定。It should be noted that different folders are used to represent different screens in the above exemplary description. It can be understood that embodiments of the present invention include but are not limited to the above methods. For example, at least two folders can be replaced with at least two icons. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
示例性的,以双面屏终端设备为例。上述第一界面中可以包括两个文件夹,一个文件夹对应双面屏终端设备的主屏,该文件夹中可以包括与主屏具有显示映射关系的应用程序的标识;另一个文件夹对应于双面屏终端设备的副屏,该文件夹中可以包括与副屏具有显示映射关系的应用的标识。如此,两个文件夹分别对应于双面屏终端设备的两个屏中的不同屏。Illustratively, take a terminal device with a double-sided screen as an example. The above-mentioned first interface may include two folders, one folder corresponds to the main screen of the double-sided screen terminal device, and the folder may include the identifier of the application program that has a display mapping relationship with the main screen; the other folder corresponds to the double-sided screen. The secondary screen of the screen terminal device, and the folder may include an identifier of an application that has a display mapping relationship with the secondary screen. In this way, the two folders respectively correspond to different screens in the two screens of the double-screen terminal device.
可选的,在第一实施方式中,终端设备可以响应于第一输入,在第一屏上显示第一界面,该第一界面包括至少一个第一应用程序标识,该至少一个第一应用程序标识指示的应用均为与第一屏具有显示映射关系的应用。Optionally, in the first implementation manner, the terminal device may display a first interface on the first screen in response to the first input, where the first interface includes at least one first application identifier, the at least one first application The applications indicated by the identifiers are all applications that have a display mapping relationship with the first screen.
示例性的,以双面屏终端设备为例。终端设备可以响应于第一输入,在双面屏终端设备的主屏(即上述的第一屏)上显示第一界面,该第一界面包括至少一个第一应用程序标识,该至少一个第一应用程序标识指示的应用均为与主屏具有显示映射关系的应用。或者,终端设备还可以响应于第一输入,在双面屏终端设备的副屏(即上述的第一屏)上显示第一界面,该第一界面包括至少一个第一应用程序标识,该至少一个第一应用程序标识指示的应用均为与副屏具有显示映射关系的应用。如此,若用户在终端设备的一个屏输入(即第一输入),则终端设备可以在该屏显示用于指示与该屏具有显示映射关系的应用所对应的应用程序标识。Illustratively, take a terminal device with a double-sided screen as an example. The terminal device may, in response to the first input, display a first interface on the main screen (that is, the above-mentioned first screen) of the double-screen terminal device, where the first interface includes at least one first application identifier, the at least one first application The applications indicated by the program identifiers are all applications that have a display mapping relationship with the home screen. Or, in response to the first input, the terminal device may also display a first interface on the secondary screen (ie, the above-mentioned first screen) of the double-screen terminal device, where the first interface includes at least one first application program identifier, which at least The applications indicated by a first application program identifier are all applications that have a display mapping relationship with the secondary screen. In this way, if the user inputs (ie, the first input) on a screen of the terminal device, the terminal device may display on the screen an application identifier corresponding to an application having a display mapping relationship with the screen.
可选的,在第一实施方式中,上述第二输入可以为用户将目标应用程序标识拖动至与第三屏对应的第一文件夹的输入。Optionally, in the first implementation manner, the above-mentioned second input may be an input of the user dragging the target application identifier to the first folder corresponding to the third screen.
示例性的,以双面屏终端设备为例。上述第二输入可以为用户将目标应用程序标识拖动至与双面屏终端设备的主屏对应的文件夹(即上述第一文件夹)的输入。或者,上述第二输入可以为用户将目标应用程序标识拖动至与双面屏终端设备的副屏对应的文件夹(即上述第一文件夹)的输入。Illustratively, take a terminal device with a double-sided screen as an example. The above-mentioned second input may be an input of the user dragging the target application program identifier to a folder (ie, the above-mentioned first folder) corresponding to the main screen of the double-screen terminal device. Alternatively, the above-mentioned second input may be an input in which the user drags the target application identifier to a folder (ie, the above-mentioned first folder) corresponding to the secondary screen of the double-screen terminal device.
可选的,在第一实施方式中,结合图2,如图5所示,在上述的S203之后,本发明实施例提供的任务切换方法还可以包括下述的S204。Optionally, in the first embodiment, with reference to FIG. 2 , as shown in FIG. 5 , after the foregoing S203 , the task switching method provided by the embodiment of the present invention may further include the following S204 .
S204、终端设备取消目标应用程序标识在第一屏上的显示。S204, the terminal device cancels the display of the target application identifier on the first screen.
可选的,本发明实施例中,假设与第二屏对应的文件夹包括与目标应用程序标识指示的应用的目标图标,那么若用户将目标应用程序标识拖动至与第三屏对应的文件夹(即第二输入),则终端设备可以响应于该输入,取消目标应用程序标识在第一屏上的显示,并取消目标图标在与第二屏对应的文件夹中的显示。Optionally, in this embodiment of the present invention, it is assumed that the folder corresponding to the second screen includes the target icon of the application indicated by the target application identifier, then if the user drags the target application identifier to the file corresponding to the third screen folder (ie, the second input), the terminal device can cancel the display of the target application logo on the first screen and the display of the target icon in the folder corresponding to the second screen in response to the input.
本发明实施例中,终端设备可以响应于该输入,取消该目标应用程序与第一屏的显示映射关系。In this 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, take a terminal device with a double-sided screen as an example. Assuming that the folder corresponding to the main screen of the double-sided screen terminal device (referred to as the home screen folder) includes the target icon of the application indicated by the target application identifier, then if the user drags the target application identifier to the terminal device with the double-sided screen The folder corresponding to the secondary screen (referred to as the secondary screen folder for short), the terminal device can, in response to the input, cancel the display of the target application logo on the main screen, and cancel the display of the target icon in the folder corresponding to the main screen .
可选的,本发明实施例中,若用户将目标应用程序标识拖动至与第三屏对应的文件夹(即第二输入),则终端设备可以响应于该输入,将目标应用程序标识更新为与该目标应用程序标识指示的应用的目标图标,并将该目标图标移动至与第三屏对应的文件夹中,如此与第三屏对应的文件夹中包括该目标图标。Optionally, in this embodiment of the present invention, if the user drags the target application identifier to the folder corresponding to the third screen (ie, the second input), the terminal device may update the target application identifier in response to the input. is the target icon of the application indicated by the target application program identifier, and the target icon is moved to the folder corresponding to the third screen, so that the folder corresponding to the third screen includes the target icon.
示例性的,图6示出了双面屏终端设备的主屏界面示意图。如图6中的(a)所示,终端设备在主屏显示第一界面60,该第一界面60包括三个第一应用程序标识(例如与主屏具有显示映射关系的应用的缩略图),该至少一个第一应用程序标识指示的应用均为与主屏具有显示映射关系的应用(例如应用1、应用2和应用3)。该第一界面60还包括两个文件夹:主屏文件夹和副屏文件夹。主屏文件夹中可以显示与主屏具有显示映射关系的各个应用的图标。其中,应用1、应用2和应用3均属于主屏的近期任务。Exemplarily, FIG. 6 shows a schematic diagram of a main screen interface of a double-screen terminal device. As shown in (a) of FIG. 6 , the terminal device displays a first interface 60 on the home screen, and the first interface 60 includes three first application identifiers (for example, thumbnails of applications that have a display mapping relationship with the home screen). The applications indicated by the at least one first application identifier are all applications that have a display mapping relationship with the home screen (for example, application 1, application 2, and application 3). The first interface 60 also includes two folders: a main screen folder and a secondary screen folder. Icons of various applications that have a display mapping relationship with the home screen can be displayed in the home screen folder. Among them, application 1, application 2 and application 3 all belong to the recent tasks of the home screen.
如图6中的(b)所示,终端设备可以响应于用户对目标应用程序标识61的长按输入,将目标应用程序标识61更新为与该目标应用程序标识61指示的应用的目标图标62。并且,终端设备可以响应于用户对目标图标62拖动至副屏文件夹的拖动输入,使目标图标62的尺寸逐渐缩小,并将目标图标62移动至副屏文件夹中,相应地取消目标应用程序标识61在第一屏上的显示,并且取消目标图标在与第二屏对应的文件夹中的显示。如此,将应用2与主屏具有显示映射关系,切换为应用2与副屏具有显示映射关系,这样,应用2属于副屏的近期任务。若用户中途想要放弃切换任务,则用户可以直接松开手指,从而终端设备可以控制目标图标62恢复为缩略图样式。As shown in (b) of FIG. 6 , in response to the user's long-press input on the target application identifier 61, the terminal device can update the target application identifier 61 to the target icon 62 of the application indicated by the target application identifier 61 . In addition, the terminal device can gradually reduce the size of the target icon 62 in response to the user's drag input of dragging the target icon 62 to the sub-screen folder, move the target icon 62 to the sub-screen folder, and cancel the target accordingly. The application logo 61 is displayed on the first screen, and the display of the target icon in the folder corresponding to the second screen is canceled. In this way, the application 2 has a display mapping relationship with the main screen, and is switched to have a display mapping relationship with the secondary screen, so that the application 2 belongs to the recent task of the secondary screen. If the user wants to give up the switching task in the middle, the user can directly release the finger, so that the terminal device can control the target icon 62 to return to the thumbnail style.
本发明实施例中,终端设备可以响应于用户将目标应用程序标识拖动至与屏对应的文件夹的输入,将目标应用程序与一个屏具有显示映射关系,切换为目标应用程序与另一屏具有显示映射关系,如此可以根据用户的使用需求,在终端设备的任一屏上操作,将目标应用程序由一个屏的近期任务切换为另一屏的近期任务,便于用户对各个屏的近期任务交互操作,如此提升了终端设备维护近期任务的灵活性。In this embodiment of the present invention, the terminal device may, in response to the user's input of dragging the target application identifier to the folder corresponding to the screen, the target application and one screen have a display mapping relationship, and switch to the target application and another screen It has a display mapping relationship, so that it can be operated on any screen of the terminal device according to the user's use requirements, and the target application can be switched from the recent task of one screen to the recent task of another screen, which is convenient for users to interact with the recent tasks of each screen. , thus improving the flexibility of the terminal equipment maintenance near-term tasks.
可选的,结合图2,如图7所示,在上述的S203之后,本发明实施例提供的任务切换方法还可以包括下述的S205和S206。Optionally, with reference to FIG. 2 , as shown in FIG. 7 , after the foregoing S203 , the task switching method provided in this embodiment of the present invention may further include the following S205 and S206 .
S205、终端设备接收用户对至少两个文件夹中的第二文件夹的第三输入。S205. The terminal device receives a third input from the user to the second folder in 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), a long-press input, or an input in any other possible form. The actual use requirement is determined, which is not limited in the embodiment of the present invention.
S206、终端设备响应于第三输入,将第一屏上显示的第一应用程序标识更新为第二应用程序标识,该第二应用程序标识指示的应用和与第二文件夹对应的屏幕具有显示映射关系。S206. In response to the third input, the terminal device updates the first application identifier displayed on the first screen to a second application identifier, and the application indicated by the second application identifier and the screen corresponding to the second folder have a display Mapping relations.
本发明实施例中,终端设备可以响应于第一输入,在第一屏上显示第一界面,该第一界面包括至少一个第一应用程序标识,该至少一个第一应用程序标识指示的应用均为与第一屏具有显示映射关系的应用。在此情况下,若用户对第一界面中的至少两个文件夹中的第二文件夹输入(即第三输入),则终端设备可以响应于该输入,将第一屏上显示的第一应用程序标识更新为第二应用程序标识,从而用户可以通过查看第二应用程序标识,获知在与第二文件夹对应的屏幕的近期任务。In this embodiment of the present invention, the terminal device may display a first interface on the first screen in response to the first input, where the first interface includes at least one first application identifier, and the applications indicated by the at least one first application identifier are all It is an application that has a display mapping relationship with the first screen. In this case, if the user inputs the second folder (ie, the third input) in the at least two folders in the first interface, the terminal device can respond to the input and convert the first folder displayed on the first screen to the second folder (ie the third input). The application identifier is updated to the second application identifier, so that the user can know the recent tasks on the screen corresponding to the second folder by viewing the second application identifier.
示例性的,以双面屏终端设备为例。如图8中的(a)所示,终端设备在主屏中显示第一界面80,第一界面80中包括指示主屏的近期任务(例如应用1、应用2和应用3)的多个第一应用程序标识81。如图8中的(a)所示,终端设备可以响应于用户对副屏文件夹(即第二文件夹)的第三输入(例如单击输入),将主屏上显示的多个第一应用程序标识81更新为指示副屏的近期任务(例如应用4、应用5和应用6)的多个第二应用程序标识82。Illustratively, take a terminal device with a double-sided screen as an example. As shown in (a) of FIG. 8 , the terminal device displays a first interface 80 in the home screen, and the first interface 80 includes a plurality of first applications indicating recent tasks of the home screen (eg, Application 1, Application 2, and Application 3). Program ID 81. As shown in (a) of FIG. 8 , the terminal device may respond to the user's third input (eg, single-click input) on the secondary screen folder (ie, the second folder), and display a plurality of first applications displayed on the main screen. The program identifier 81 is updated to a plurality of second application program identifiers 82 indicating recent tasks of the secondary screen (eg, application 4, application 5, and application 6).
本发明实施例中,用户可以通过对与屏对应的文件夹输入,触发终端设备显示用于指示与与该屏具有显示映射关系的应用对应的应用程序标识,进而可以通过查看应用程序标识,获知该屏的近期任务,便于用户对各个屏的近期任务进行操作,如此可以提升维护近期任务的灵活性和便捷性。In this embodiment of the present invention, the user can trigger the terminal device to display an application identifier corresponding to an application that has a display mapping relationship with the screen by inputting a folder corresponding to the screen, and then can learn the application identifier by viewing the application identifier. The recent tasks of the screen are convenient for the user to operate the recent tasks of each screen, which can improve the flexibility and convenience of maintaining the recent tasks.
第二实现方式Second implementation
可选的,在第二实现方式中,上述第二输入可以为在第一屏上以目标预设方式对目标应用程序标识的输入,该目标预设方式为与第三屏对应的输入方式。Optionally, in the second implementation manner, the above-mentioned second input may be an input to the target application program identifier in a target preset manner on the first screen, where the target preset manner is an input manner corresponding to the third screen.
示例性的,上述第二输入可以为用户在第一屏上沿第一方向对目标应用程序标识的滑动输入,其中,沿特定方向的滑动输入为与第三屏对应的输入方式。如此,终端设备可以响应于沿第一方向的滑动输入,将目标应用程序标识指示的应用切换为与第三屏具有显示映射关系。Exemplarily, the above-mentioned second input may be the user's sliding input to the target application identification in the first direction on the first screen, wherein the sliding input in a 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 identifier to have a display mapping relationship with the third screen in response to the sliding input in the first direction.
需要说明的是,以上以沿特定方向的滑动输入为例示例性的说明目标预设方式,可以理解,本发明实施例包括但不限于上述目标预设方式,具体可以根据实际使用需求确定,本发明实施例不作限定。It should be noted that the above takes the sliding input in a specific direction as an example to illustrate the target preset mode. It can be understood that the embodiments of the present invention include but are not limited to the above-mentioned target preset mode, which can be determined according to actual use requirements. The embodiments of the invention are not limited.
在第二实现方式中,结合图2,如图9所示,在上述的S201之后,本发明实施例提供的任务切换方法还可以包括下述的S207-S209。In a second implementation manner, with reference to FIG. 2 , as shown in FIG. 9 , after the above-mentioned S201 , the task switching method provided by the embodiment of the present invention may further include the following S207 - S209 .
S207、终端设备接收用户对目标应用程序的第四输入。S207. The terminal device receives a fourth input from the user to the target application.
可选的,本发明实施例中,上述用户的第四输入可以为滑动输入,也可以为是其它任意可能形式的输入,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this 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 according to actual usage requirements, which is not limited in the embodiment of the present invention.
S208、终端设备响应于第四输入,将与目标应用程序具有显示映射关系的屏幕从第二屏切换为第四屏,第二屏与第四屏不同且第四屏与第三屏不同。S208. In response to the fourth input, the terminal device switches the screen having a display mapping relationship with the target application from the second screen to the fourth screen, where the second screen is different from the fourth screen and the fourth screen is different from the third screen.
S209、终端设备将目标应用程序标识的显示效果更新为与第四屏对应的显示效果。S209: The terminal device updates the display effect of the target application program identifier to the display effect corresponding to the fourth screen.
本发明实施例中,上述第四输入可以为在第一屏上以预设手势对目标应用标识的手势输入,各个屏分别可以对应不同的预设手势(例如左滑输入、右滑输入等),并且各个屏分别可以对应不同的应用程序标识的显示效果。In this embodiment of the present invention, the above-mentioned fourth input may be a gesture input using a preset gesture on the first screen to identify the target application, and each screen may correspond to different preset gestures (for example, left swipe input, right swipe input, etc.) , and each screen can correspond to the display effects of different application program identifiers.
具体的,与第二屏对应的应用程序标识的显示效果不同于与第四屏对应的应用程序标识的显示效果。终端设备可以将与目标应用程序具有显示映射关系的屏幕从第二屏切换为第四屏,并将目标应用程序标识的显示效果从与第二屏对应的显示效果更新为与第四屏对应的显示效果。Specifically, the display effect of the application identifier corresponding to the second screen is different from the display effect of the application identifier corresponding to the fourth screen. The terminal device can switch the screen with the display mapping relationship with the target application from the second screen to the fourth screen, and update the display effect of the target application identification from the display effect corresponding to the second screen to the display effect corresponding to the fourth screen. display effect.
本发明实施例中,上述目标应用程序标识的显示效果可以通过应用图标、颜色、形状或字符等元素,或者各种元素的组合来呈现,具体可以根据实际使用需求确定,本发明实施例不作限定。In the embodiment of the present invention, the display effect of the above target application logo may be presented by elements such as application icons, colors, shapes, or characters, or a combination of various elements, which may be determined according to actual usage requirements, which is not limited in the embodiments of the present invention .
示例性的,以双面屏终端设备为例,如图10中的(a)和(b)所示,用户可以对第一界面80中的切换按钮输入(例如单击输入),以触发将第一界面80中的应用程序标识从如图10中的(a)所示的卡片式切换为如图10中的(b)所示的列表式。当应用程序标识呈现列表式的显示效果时,第一界面80中包括终端设备当前正在运行的所有应用(包括与主屏具有显示映射关系的应用以及与副屏具有显示映射关系的应用)。若终端设备当前正在运行(已启动未关闭)的应用较多,第一界面80中显示部分应用程序标识,则用户可以在第一界面80向上滑动或向下滑动,以触发终端设备更新显示其它应用程序标识。Exemplarily, taking a double-screen terminal device as an example, as shown in (a) and (b) of FIG. 10 , the user can input (for example, click input) on the switch button in the first interface 80 to trigger the The application identifiers in the first interface 80 are switched from the card type shown in FIG. 10( a ) to the list type shown in FIG. 10( b ). When the application identifier presents a list-like display effect, the first interface 80 includes all applications currently running on the terminal device (including applications with a display mapping relationship with the main screen and applications with a display mapping relationship with the secondary screen). If there are many applications currently running (started but not closed) on the terminal device, and some application identifiers are displayed on the first interface 80, the user can slide up or slide down on the first interface 80 to trigger the terminal device to update and display other applications. Application ID.
如图10中的(b)所示,主屏的应用程序标识的显示效果可以呈现为包括向右箭头的长条状(例如主屏的近期任务包括应用1、应用2和应用3),副屏的应用程序标识的显示效果可以呈现为包括向左箭头的长条状(例如副屏的近期任务包括应用4、应用5和应用6)。此时,若用户在主屏上沿与所示箭头相反的方向对目标应用程序标识滑动输入(例如用户对指示与副屏具有显示映射关系的应用4的应用程序标识向右滑动输入),则终端设备可以响应于该输入,将该目标应用程序标识指示的应用4切换为与主屏具有显示映射关系,并将该目标应用程序标识的显示效果(即包括向左箭头的长条状)更新为与主屏对应的显示效果(即包括向右箭头的长条状)。终端设备还可以将用户滑动输入的过程以及目标应用程序标识的显示效果的更新过程增加动画效果,提升人机交互的灵活性。As shown in (b) of FIG. 10 , the display effect of the application identifier on the main screen can be presented as a long bar including a rightward arrow (for example, the recent tasks on the main screen include application 1, application 2, and application 3), and the The display effect of the application identifier may be presented as a long bar including a left arrow (for example, the recent tasks of the secondary screen include application 4, application 5, and application 6). At this time, if the user slides the target application identifier in the direction opposite to the arrow shown on the main screen (for example, the user slides the application identifier indicating the application 4 that has a display mapping relationship with the secondary screen to the right), then the terminal In response to the input, the device can switch the application 4 indicated by the target application identification to have a display mapping relationship with the home screen, and update the display effect of the target application identification (that is, the long bar including the left arrow) to be the same as the one indicated by the left arrow. The display effect corresponding to the main screen (that is, the long bar including the right arrow). The terminal device can also add animation effects to the process of the user's sliding input and the update process of the display effect of the target application logo, so as to improve the flexibility of human-computer interaction.
再如图10所示,用户可以长按某一应用程序标识,将其拖动到第一界面中的关闭区域84,以触发终端设备从后台关闭或清理该应用程序标识指示的应用。As shown in FIG. 10 , the user can long press an application identifier and drag it to the closing area 84 in the first interface to trigger the terminal device to close or clear the application indicated by the application identifier from the background.
本发明实施例提供的任务切换方法可以迅速快捷地将与目标应用程序具有显示映射关系的屏幕从一个屏切换为另一屏,且上述列表式的显示效果可以在一个屏展示更多的任务,便于用户更好的管理近期任务。The task switching method provided by the embodiment of the present invention can quickly and quickly switch a screen having a display mapping relationship with a target application program from one screen to another screen, and the above-mentioned list-type display effect can display more tasks on one screen, It is convenient for users to better manage recent tasks.
本发明实施例中,终端设备可以响应于用户以预设方式对目标应用程序标识的输入,更新目标应用程序标识的显示效果,从而可以根据不同的显示效果区分各个屏的近期任务,便于用户对各个屏的近期任务进行交互操作,可以提升维护近期任务的灵活性和便捷性。In this embodiment of the present invention, the terminal device can update the display effect of the target application program identifier in response to the user's input of the target application program identifier in a preset manner, so that the recent tasks of each screen can be distinguished according to different display effects, which is convenient for the user to Interoperating with recent tasks on each screen can improve the flexibility and convenience of maintaining recent tasks.
可选的,本发明实施例中,每个第一应用程序标识分别可以对应一个屏标识,一个第一应用程序标识对应的屏标识用于指示与该一个第一应用程序标识对应的屏。结合图2,如图11所示,在上述的S203之后,本发明实施例提供的任务切换方法还可以包括下述的S210。Optionally, in this embodiment of the present invention, each first application identifier may correspond to a screen identifier, and a screen identifier corresponding to a first application identifier is used to indicate a screen corresponding to the first application identifier. With reference to FIG. 2 , as shown in FIG. 11 , after the foregoing S203 , the task switching method provided by the embodiment of the present invention may further include the following S210 .
S210、终端设备将目标应用程序标识对应的屏标识更新为用于指示第三屏的屏标识。S210. The terminal device updates the screen identifier corresponding to the target application identifier to a screen identifier used to indicate the third screen.
可选的,本发明实施例中,屏标识可以用不同的数值(或属性值)表示。例如,以双面屏终端设备为例,主屏的屏标识为0,副屏的屏标识为1。可以理解,本发明实施例包括但不限于上述屏标识的表示方式,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the screen identifier may be represented by different numerical values (or attribute values). For example, taking a double-screen terminal device as an example, the screen ID of the main screen is 0, and the screen ID of the secondary screen is 1. It can be understood that the embodiments of the present invention include, but are not limited to, the above-mentioned representation modes of the screen identifiers, which can be specifically determined according to actual usage requirements, and are not limited in the embodiments of the present invention.
本发明实施例中,终端设备可以响应于用户对目标应用程序标识的输入,将与目标应用程序具有显示映射关系的屏幕从第二屏切换为第三屏,并将目标应用程序标识对应的屏标识更新为用于指示第三屏的屏标识,如此可以通过屏标识,识别各个应用程序标识具体指示各个应用属于哪个屏的近期任务,如此可以提升维护后台应用的灵活性和便捷性。In this embodiment of the present invention, the terminal device may, in response to the user's input of the target application identifier, switch the screen that has a display mapping relationship with the target application from the second screen to the third screen, and switch the screen corresponding to the target application identifier The logo is updated to the screen logo used to indicate the third screen, so that the screen logo can be used to identify the recent tasks that each application logo specifically indicates which screen each application belongs to, which can improve the flexibility and convenience of maintaining background applications.
可选的,结合图2,如图12所示,在上述的S203之后,本发明实施例提供的任务切换方法还可以包括下述的S211-S214。Optionally, with reference to FIG. 2 , as shown in FIG. 12 , after the foregoing S203 , the task switching method provided by the embodiment of the present invention may further include the following S211 - S214 .
S211、终端设备接收用户对目标应用程序标识的第五输入。S211. The terminal device receives the fifth input of the target application identification from the user.
可选的,本发明实施例中,上述用户的第五输入可以为长按输入,也可以为是其它任意可能形式的输入,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the fifth input of the user may be a long-press input, or may be an input in any other possible form, which may be determined according to actual usage requirements, which is not limited in this embodiment of the present invention.
S212、终端设备响应于第五输入,将目标应用程序标识从第一状态更新为第二状态。S212. The terminal device updates the target application identifier from the first state to the second state in response to the fifth input.
本发明实施例中,上述第一状态可以为目标应用程序标识指示的应用的缩略图,第二状态可以为目标应用程序标识指示的应用的图标。具体可以根据实际使用需求确定,本发明实施例不作限定。In this embodiment of the present invention, the first state may be the thumbnail of the application indicated by the target application identifier, and the second state may be the icon of the application indicated by the target application identifier. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
S213、终端设备接收用户对处于第二状态的目标应用程序标识的第六输入。S213. The terminal device receives a sixth input by the user of the identifier of the target application program in the second state.
其中,该第六输入可以为触发目标应用程序标识晃动的输入。Wherein, the sixth input may be an input that triggers the target application identification to shake.
S214、终端设备响应于第六输入,显示目标应用程序标识与至少一个第三应用程序标识碰撞的动画效果,并取消该至少一个第三应用程序标识在第一屏上的显示。S214. In response to the sixth input, the terminal device displays an animation effect in which the target application identifier collides with at least one third application identifier, and cancels the display of the at least one third application identifier on the first screen.
其中,该至少一个第三应用程序标识为其它应用程序标识中的应用程序标识,该其它应用程序标识为上述至少一个第一应用程序标识中除目标应用程序标识之外的应用程序标识。The at least one third application identifier is an application identifier in other application identifiers, and the other application identifier is an application identifier other than the target application identifier in the at least one first application identifier.
示例性的,结合图6中的(a)和(b),如图13中的(a)和(b)所示,终端设备可以响应于用户对目标应用程序标识(对应于应用2)的长按输入,将目标应用程序标识从缩略图样式更新为图标样式。进而,用户可以保持按压状态不松手,摇晃手下处于图标样式的目标应用程序标识,进而终端设备可以响应于用户对处于图标样式的目标应用程序标识的晃动输入,显示目标应用程序标识与相邻应用程序标识碰撞的动画效果,并取消被碰撞的应用程序标识在第一屏上的显示,如此可以将被碰撞的应用程序标识指示的应用(例如应用1和应用3)关闭或清理。若用户中途想要放弃清理任务,则用户可以直接松开手指,从而终端设备可以控制图标样式的目标应用程序标识恢复到初始状态(即缩略图样式)。Exemplarily, in conjunction with (a) and (b) in FIG. 6 , as shown in (a) and (b) in FIG. 13 , the terminal device may respond to the user’s identification of the target application (corresponding to application 2) Press and hold Enter to update the target application ID from thumbnail style to icon style. Furthermore, the user can keep the pressing state and do not let go, and shake the target application identification in the icon style under his hand, and then the terminal device can respond to the user's shaking input of the target application identification in the icon style, and display the target application identification and adjacent applications. The program identifies the animation effect of the collision, and cancels the display of the collision application identification on the first screen, so that the applications indicated by the collision application identification (for example, application 1 and application 3) can be closed or cleaned up. If the user wants to give up the cleaning task in the middle, the user can directly release the finger, so that the terminal device can control the icon-style target application identifier to restore to the initial state (ie, the thumbnail style).
本发明实施例中,可以实现近期任务的快速清理,使用户可以选择保留单独的任务,并且可以在切换任务的同时清空同屏的其他应用,减少资源消耗,提高性能和节省电量。In the embodiment of the present invention, quick clearing of recent tasks can be realized, so that the user can choose to keep a separate task, and can clear other applications on the same screen while switching tasks, thereby reducing resource consumption, improving performance and saving power.
再如图13中的(b)所示,用户可以将目标应用程序标识61拖动到第一界面60中的关闭区域63,以触发终端设备从后台关闭或清理该目标应用程序标识61指示的应用2。As shown in (b) of FIG. 13, the user can drag the target application identifier 61 to the closing area 63 in the first interface 60 to trigger the terminal device to close from the background or clear the target application identifier 61. Application 2.
本发明实施例中,不但可以通过将目标应用程序标识拖动至关闭区域以将该目标应用程序标识指示的应用关闭,而且还可以通过长按目标应用程序标识并触发目标应用程序标识与其它应用程序标识碰撞,以将被碰撞的应用程序标识指示的应用关闭,因而用户可以根据使用需求以不同方式对后台应用进行清理,如此可以提供维护后台应用的灵活性和便捷性。In this embodiment of the present invention, not only can the application indicated by the target application identifier be closed by dragging the target application identifier to the closing area, but also the target application identifier and other applications can be triggered by long-pressing the target application identifier. The program identifies the collision to close the application indicated by the collided application identification, so that the user can clean up the background application in different ways according to usage requirements, which can provide flexibility and convenience for maintaining the background application.
需要说明的是,以上以近期任务界面中应用程序标识按照卡片式、列表式等显示方式显示为例示例性的说明,可以理解,本发明实施例中近期任务界面中应用程序标识的显示方式包括但不限于此,例如,近期任务界面中应用程序标识还可以按照九宫格方式显示;再例如,近期任务界面中应用程序标识也可以采用小图标式,只保留各个屏的缩略图,每个屏的缩略图中包括该屏的所有任务的图标,如此用户可以将图标从一个屏的缩略图中的拖动至另一屏的缩略图,以触发执行任务切换动作。具体可以根据实际使用需求确定,本发明实施例不作限定。It should be noted that, in the above description, the display of application program identifiers in the recent task interface in a card-type, list-type, etc. display mode is used as an example. But it is not limited to this. For example, the application identifiers in the recent tasks interface can also be displayed in a nine-square grid; for another example, the application identifiers in the recent tasks interface can also be in the form of small icons, and only the thumbnails of each screen are retained. The thumbnails include icons of all tasks of the screen, so that the user can drag the icons from the thumbnails of one screen to the thumbnails of another screen to trigger the task switching action. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
还需要说明的是,在多面屏终端设备的各个屏的后台应用得到区分的情况下,多面屏终端设备的各个屏的解锁方式同样可以得到区分,并且近期任务入口可以加入隐藏功能,如此相当于实现了简单的伪手机分身。It should also be noted that when the background applications of each screen of the multi-screen terminal device are distinguished, the unlocking methods of each screen of the multi-screen terminal device can also be distinguished, and the recent task entry can be added with a hidden function, which is equivalent to A simple pseudo mobile phone avatar is realized.
需要说明的是,本发明的上述实施例中的各个附图(例如图5、图7、图9、图11和图12等)均是结合上述图2示例说明的,具体实现时,各个附图还可以结合其它任意可以结合的附图实现。It should be noted that the drawings in the above-mentioned embodiments of the present invention (for example, FIG. 5 , FIG. 7 , FIG. 9 , FIG. 11 , and FIG. 12 , etc.) are all illustrated in conjunction with the above-mentioned FIG. 2 . The drawings can also be implemented in combination with any other drawings that can be combined.
如图14所示,本发明实施例提供一种终端设备700,该终端设备700可以包括接收模块701、显示模块702和处理模块703。As shown in FIG. 14 , an embodiment of the present invention provides a terminal device 700 . The terminal device 700 may include a receiving module 701 , a display module 702 and a processing module 703 .
接收模块701用于接收用户在第一屏上的第一输入。显示模块702用于响应于接收模块701接收的该第一输入,在第一屏上显示第一界面,该第一界面中包括至少一个第一应用程序标识,每个第一应用程序标识用于指示终端设备700已启动的应用程序。接收模块701还用于接收用户对显示模块702显示的该至少一个第一应用程序标识中的目标应用程序标识的第二输入。处理模块703用于响应于接收模块701接收的该第二输入,将与目标应用程序具有显示映射关系的屏幕从第二屏切换为第三屏,该第二屏与第三屏不同;该目标应用程序为目标应用程序标识指示的应用程序。The receiving module 701 is configured to receive the first input of the user on the 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, the first interface includes at least one first application identifier, and each first application identifier is used for Indicates an application that the terminal device 700 has started. The receiving module 701 is further configured to receive a second input from the user to the target application identifier in the at least one first application identifier displayed by the display module 702 . The processing module 703 is configured to, in response to the second input received by the receiving module 701, switch the screen having a display mapping relationship with the target application from the second screen to the third screen, where the second screen is different from the third screen; the target application Application is the application indicated by the target application ID.
可选的,本发明实施例中,上述第一界面中还可以包括至少两个文件夹,该至少两个文件夹各自对应不同屏幕。上述至少一个第一应用程序标识指示的应用程序与第一屏具有显示映射关系。上述第二输入为用户将目标应用程序标识拖动至与第三屏对应的第一文件夹的输入。在此情况下,显示模块702还用于在处理模块703将与目标应用程序具有显示映射关系的屏幕从第二屏切换为第三屏之后,取消该目标应用程序标识在第一屏上的显示。Optionally, in this embodiment of the present invention, the above-mentioned first interface may further include at least two folders, and the at least two folders correspond to different screens respectively. The application indicated by the at least one first application identifier has a display mapping relationship with the first screen. The above-mentioned second input is the input of the user dragging the target application program identifier to the first folder corresponding to the third screen. 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 a display mapping relationship with the target application from the second screen to the third screen .
可选的,本发明实施例中,接收模块701还用于在显示模块702在第一屏上显示第一界面之后,接收用户对至少两个文件夹中的第二文件夹的第三输入。显示模块702还用于响应于接收模块701接收的该第三输入,将第一屏上显示的第一应用程序标识更新为第二应用程序标识,该第二应用程序标识指示的应用程序和与该第二文件夹对应的屏幕具有显示映射关系。Optionally, in this embodiment of the present invention, the receiving module 701 is further configured to, after the display module 702 displays the first interface on the first screen, receive a third input from the user for the second folder in the at least two folders. The display module 702 is further configured to, in response to the third input received by the receiving module 701, update the first application program identifier displayed on the first screen to a second application program identifier, the application program indicated by the second application program identifier and the The screen corresponding to the second folder has a display mapping relationship.
可选的,本发明实施例中,接收模块701还用于在显示模块702显示第一界面之后,接收用户对目标应用程序的第四输入。处理模块703还用于响应于接收模块701接收的该第四输入,将与该目标应用程序具有显示映射关系的屏幕从第二屏切换为第四屏,该第二屏与第四屏不同且该第四屏与第三屏不同。显示模块702还用于将该目标应用程序标识的显示效果从与第二屏对应的显示效果更新为与该第四屏对应的显示效果。Optionally, in this embodiment of the present invention, the receiving module 701 is further configured to receive a fourth input from the user to the target application after the display module 702 displays the first interface. The processing module 703 is further configured to, in response to the fourth input received by the receiving module 701, switch the screen having a display mapping relationship with the target application from the second screen to the fourth screen, where the second screen is different from the fourth screen and This fourth screen is different from the third screen. The display module 702 is further configured to update 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.
可选的,本发明实施例中,上述至少一个第一应用程序标识中的每个第一应用程序标识分别对应一个屏标识,一个第一应用程序标识对应的屏标识用于指示与该一个第一应用程序标识指示的应用程序具有显示映射关系的屏幕。处理模块703还用于在将与目标应用程序具有显示映射关系的屏幕从第二屏切换为第三屏之后,将该目标应用程序标识对应的屏标识更新为用于指示第三屏的屏标识。Optionally, in this embodiment of the present invention, each first application identifier in the at least one first application identifier corresponds to a screen identifier respectively, and a screen identifier corresponding to a first application identifier is used to indicate a screen identifier corresponding to the first application identifier. An application indicated by an application identifier has a screen displaying the mapping relationship. The processing module 703 is further configured to update the screen identification corresponding to the target application identification to the screen identification used to indicate the third screen after switching the screen with the display mapping relationship with the target application from the second screen to the third screen .
可选的,本发明实施例中,接收模块701还用于在显示模块702显示第一界面之后,接收用户对目标应用程序标识的第五输入。显示模块702还用于响应于接收模块701接收的该第五输入,将该目标应用程序标识从第一状态更新为第二状态。接收模块701还用于接收用户对处于该第二状态的目标应用程序标识的第六输入,该第六输入为触发该目标应用程序标识晃动的输入。显示模块702还用于响应于接收模块701接收的该第六输入,显示该目标应用程序标识与至少一个第三应用程序标识碰撞的动画效果,并取消该至少一个第三应用程序标识在第一屏上的显示,该至少一个第三应用程序标识为其它应用程序标识中的应用程序标识,该其它应用程序标识为至少一个第一应用程序标识中除该目标应用程序标识之外的应用程序标识。Optionally, in this embodiment of the present invention, the receiving module 701 is further configured to receive, after the display module 702 displays the first interface, a fifth input from the user on the identifier of the target application. The display module 702 is further configured to update the target application identifier 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 from the user to the identifier of the target application program in the second state, where the sixth input is an input that triggers the shaking of the identifier of the target application program. The display module 702 is further configured to, in response to the sixth input received by the receiving module 701, display an animation effect in which the target application identifier collides with at least one third application identifier, and cancel the at least one third application identifier in the first Display on the screen, the at least one third application identifier is an application identifier in other application identifiers, and the other application identifier is an application identifier other than the target application identifier in the at least one first application identifier .
本发明实施例提供的终端设备能够实现上述方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。The terminal device provided in the embodiments of the present invention can implement each process implemented by the terminal device in the foregoing method embodiments, and to avoid repetition, details are not described herein again.
本发明实施例提供的终端设备,可以接收用户在第一屏上的第一输入;并响应于该第一输入,在第一屏上显示第一界面,该第一界面中包括至少一个第一应用程序标识,每个第一应用程序标识用于指示终端设备已启动的应用程序;并且接收用户对该至少一个第一应用程序标识中的目标应用程序标识的第二输入;并响应于该第二输入,将与目标应用程序具有显示映射关系的屏幕从第二屏切换为第三屏,该第二屏与第三屏不同;该目标应用程序为目标应用程序标识指示的应用程序。通过该方案,可以将目标应用程序与一个屏具有显示映射关系,切换为目标应用程序与另一屏具有显示映射关系,如此可以将目标应用程序由一个屏的近期任务切换为另一屏的近期任务,便于用户对各个屏的近期任务交互操作。进而,本发明实施例可以根据用户使用需求,通过执行任务切换动作,使不同属性的应用程序(例如办公类应用程序、娱乐类应用程序等)的运行界面分别由不同屏负责显示,从而可以提升维护近期任务的灵活性和便捷性。The terminal device provided in the embodiment of the present invention can receive a first input from a user on a first screen; and in response to the first input, display a first interface on the first screen, where the first interface includes at least one first application identifiers, each first application identifier is used to indicate an application that has been started by the terminal device; and a second input from the user for the target application identifier in the at least one first application identifier is received; and in response to the first application identifier The second input switches the screen with the display mapping relationship with the target application from the second screen to the third screen, where the second screen is different from the third screen; the target application is the application indicated by the target application identification. Through this solution, the target application can have a display mapping relationship with one screen, and can be switched to have a display mapping relationship with another screen, so that the target application can be switched from a recent task on one screen to a recent task on another screen. Tasks, which are convenient for users to interact with recent tasks on each screen. Furthermore, the embodiment of the present invention can make the running interfaces of applications with different attributes (such as office applications, entertainment applications, etc.) be displayed on different screens respectively by performing task switching actions according to the user's usage requirements, thereby improving the Maintain flexibility and convenience for recent tasks.
图15为实现本发明各个实施例的一种终端设备的硬件结构示意图。如图15所示,该终端设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、处理器810、以及电源811等部件。本领域技术人员可以理解,图15中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。FIG. 15 is a schematic diagram of a hardware structure of a terminal device 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 , and a memory 809 , the processor 810, and the power supply 811 and other components. Those skilled in the art can understand that the structure of the terminal device shown in FIG. 15 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than those shown in the figure, or combine some components, or different components layout. 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 palmtop computer, a vehicle terminal, a wearable device, a pedometer, and the like.
其中,用户输入单元807,用于接收用户在第一屏上的第一输入,该第一屏为至少两个屏中的一个屏;显示单元806,用于响应于用户输入单元807接收的第一输入,在第一屏上显示第一界面,该第一界面中包括至少一个第一应用程序标识,每个第一应用程序标识用于指示终端设备已启动的应用程序;用户输入单元807,还用于接收用户对至少一个第一应用程序标识中的目标应用程序标识的第二输入;处理器810,用于响应于用户输入单元807接收的第二输入,将与目标应用程序具有显示映射关系的屏幕从第二屏切换为第三屏,该第二屏与第三屏不同;该目标应用程序为目标应用程序标识指示的应用程序。Wherein, the user input unit 807 is used to receive the user's first input on the first screen, and the first screen is one of the at least two screens; the display unit 806 is used to respond to the first input received by the user input unit 807 Once an input is made, a first interface is displayed on the first screen, 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; the user input unit 807, is further configured to receive a second input from the user on the target application identifier in the at least one first application identifier; the processor 810 is configured to have a display mapping with the target application in response to the second input received by the user input unit 807 The screen of the relationship is switched from the second screen to the third screen, and the second screen is different from the third screen; the target application is the application indicated by the target application identification.
本发明实施例提供一种终端设备,该终端设备可以接收用户在第一屏上的第一输入;并响应于该第一输入,在第一屏上显示第一界面,该第一界面中包括至少一个第一应用程序标识,每个第一应用程序标识用于指示终端设备已启动的应用程序;并且接收用户对该至少一个第一应用程序标识中的目标应用程序标识的第二输入;并响应于该第二输入,将与目标应用程序具有显示映射关系的屏幕从第二屏切换为第三屏,该第二屏与第三屏不同;该目标应用程序为目标应用程序标识指示的应用程序。通过该方案,可以将目标应用程序与一个屏具有显示映射关系,切换为目标应用程序与另一屏具有显示映射关系,如此可以将目标应用程序由一个屏的近期任务切换为另一屏的近期任务,便于用户对各个屏的近期任务交互操作。进而,本发明实施例可以根据用户使用需求,通过执行任务切换动作,使不同属性的应用程序(例如办公类应用程序、娱乐类应用程序等)的运行界面分别由不同屏负责显示,从而可以提升维护近期任务的灵活性和便捷性。An embodiment of the present invention provides a terminal device, the terminal device can receive a first input from a user on a first screen; and in response to the first input, display a first interface on the first screen, where the first interface includes at least one first application identifier, each of which is used to indicate an application that has been started by the terminal device; and receiving a second input by the user of the target application identifier in the at least one first application identifier; and In response to the second input, the screen having a display mapping relationship with the target application is switched from the second screen to the third screen, where the second screen is different from the third screen; the target application is the application indicated by the target application identification program. Through this solution, the target application can have a display mapping relationship with one screen, and can be switched to have a display mapping relationship with another screen, so that the target application can be switched from the recent tasks of one screen to the recent tasks of another screen. Tasks, which are convenient for users to interact with recent tasks on each screen. Furthermore, the embodiment of the present invention can make the running interfaces of applications with different attributes (such as office applications, entertainment applications, etc.) to be displayed on different screens respectively by performing task switching actions according to the user's usage requirements, thereby improving the Maintain flexibility and convenience for recent tasks.
应理解的是,本发明实施例中,射频单元801可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器810处理;另外,将上行的数据发送给基站。通常,射频单元801包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元801还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 801 can be used for receiving and sending signals during sending and receiving of information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 810; The uplink data is sent to the base station. Generally, the 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. In addition, the radio frequency unit 801 can also communicate with the network and other devices through a wireless communication system.
终端设备800通过网络模块802为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device 800 provides the user with wireless broadband Internet access through the network module 802, such as helping the user to send and receive emails, browse web pages, and access streaming media.
音频输出单元803可以将射频单元801或网络模块802接收的或者在存储器809中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元803还可以提供与终端设备800执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元803包括扬声器、蜂鸣器以及受话器等。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 audio signals and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the terminal device 800 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
输入单元804用于接收音频或视频信号。输入单元804可以包括图形处理器(graphics processing unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元806上。经图形处理器8041处理后的图像帧可以存储在存储器809(或其它存储介质)中或者经由射频单元801或网络模块802进行发送。麦克风8042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元801发送到移动通信基站的格式输出。The input unit 804 is used to receive audio or video signals. The input unit 804 may include a graphics processor (graphics processing unit, GPU) 8041 and a microphone 8042. The graphics processor 8041 captures images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. 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 can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 801 for output in the case of a telephone call mode.
终端设备800还包括至少一种传感器805,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板8061的亮度,接近传感器可在终端设备800移动到耳边时,关闭显示面板8061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器805还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 800 also includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 8061 and the display panel 8061 when the terminal device 800 moves to the ear. / or backlight. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 805 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.
显示单元806用于显示由用户输入的信息或提供给用户的信息。显示单元806可包括显示面板8061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板8061。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, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
用户输入单元807可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板8071上或在触控面板8071附近的操作)。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器810,接收处理器810发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板8071。除了触控面板8071,用户输入单元807还可以包括其他输入设备8072。具体地,其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 807 can be used to receive input numerical or character information, and generate key signal input related to user setting 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, collects the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or accessory on or near the touch panel 8071). operate). The touch panel 8071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 810, the command sent by the processor 810 is received and executed. In addition, the touch panel 8071 can be realized by various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 8071 , the user input unit 807 may also include other input devices 8072 . Specifically, other input devices 8072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and operation sticks, which will not be repeated here.
进一步的,触控面板8071可覆盖在显示面板8061上,当触控面板8071检测到在其上或附近的触摸操作后,传送给处理器810以确定触摸事件的类型,随后处理器810根据触摸事件的类型在显示面板8061上提供相应的视觉输出。虽然在图15中,触控面板8071与显示面板8061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板8071与显示面板8061集成而实现终端设备的输入和输出功能,具体此处不做限定。Further, the touch panel 8071 can be covered on the display panel 8061. When the touch panel 8071 detects a touch operation on or near it, it transmits it to the processor 810 to determine the type of the touch event, and then the processor 810 determines the type of the touch event according to the touch The type of event provides a corresponding visual output on the display panel 8061. Although in FIG. 15 , the touch panel 8071 and the display panel 8061 are used as two independent components to realize the input and output functions of the terminal device, but in some embodiments, the touch panel 8071 and the display panel 8061 can be integrated The input and output functions of the terminal device are implemented, which is not specifically limited here.
接口单元808为外部装置与终端设备800连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元808可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备800内的一个或多个元件或者可以用于在终端设备800和外部装置之间传输数据。The interface unit 808 is an interface for connecting an external device to the terminal device 800 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 808 may be used to receive input (eg, data information, power, etc.) from external devices and transmit the received input to one or more elements within the terminal device 800 or may be used between the terminal device 800 and external Transfer data between devices.
存储器809可用于存储软件程序以及各种数据。存储器809可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器809可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, memory 809 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
处理器810是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器809内的软件程序和/或模块,以及调用存储在存储器809内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器810可包括一个或多个处理单元;可选的,处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。The processor 810 is the control center of the terminal device, uses various interfaces and lines to connect various parts of the entire terminal device, runs or executes the software programs and/or modules stored in the memory 809, and calls the data stored in the memory 809. , perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The 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 processes the operating system, user interface, and application programs, etc., and the modem The modulation processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 810.
终端设备800还可以包括给各个部件供电的电源811(比如电池),可选的,电源811可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 800 may also include a power supply 811 (such as a battery) for supplying power to various components. Optionally, the power supply 811 may be logically connected to the processor 810 through a power management system, so as to manage charging, discharging, and power consumption through the power management system management and other functions.
另外,终端设备800包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 800 includes some unshown functional modules, which will not be repeated here.
可选的,本发明实施例还提供一种终端设备,包括如图15所示的处理器810,存储器809,存储在存储器809上并可在处理器810上运行的计算机程序,该计算机程序被处理器810执行时实现上述任务切换方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention further provides a terminal device, including a processor 810 as shown in FIG. 15, a memory 809, a computer program stored in the memory 809 and executable on the processor 810, the computer program being When the processor 810 executes, each process of the above-mentioned task switching method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述任务切换方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned task switching method embodiment can be implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here. The computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例公开的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods disclosed in the various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.
Claims (14)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910153252.0A CN110008011B (en) | 2019-02-28 | 2019-02-28 | A task switching method and terminal device |
| 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 | A task switching method and terminal device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110008011A true CN110008011A (en) | 2019-07-12 |
| CN110008011B 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 | A task switching method and terminal device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110008011B (en) |
| WO (1) | WO2020173235A1 (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110489029A (en) * | 2019-07-22 | 2019-11-22 | 维沃移动通信有限公司 | Icon display method and terminal device |
| WO2020173235A1 (en) * | 2019-02-28 | 2020-09-03 | 维沃移动通信有限公司 | Task switching method and terminal device |
| CN112130791A (en) * | 2020-09-10 | 2020-12-25 | 青岛海尔科技有限公司 | Method and device for editing information among multiple screens, storage medium and electronic device |
| CN113342293A (en) * | 2021-05-21 | 2021-09-03 | 湖北亿咖通科技有限公司 | Information display method and device |
| CN113676709A (en) * | 2020-05-14 | 2021-11-19 | 聚好看科技股份有限公司 | Intelligent projection equipment and multi-screen display method |
| CN114116098A (en) * | 2021-11-23 | 2022-03-01 | 维沃移动通信有限公司 | 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 |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113360120B (en) * | 2021-07-02 | 2023-04-07 | 亿咖通(湖北)技术有限公司 | Screen driving method and apparatus, electronic apparatus, computer-readable storage medium, and computer program product |
Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120075652A1 (en) * | 2010-09-29 | 2012-03-29 | Kyocera Mita Corporation | Operation device, image forming apparatus, and operation method |
| US20120166975A1 (en) * | 2010-12-23 | 2012-06-28 | Oh Sesook | Mobile terminal and controlling 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 |
| 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广东移动通信有限公司 | Application program management method, application program management device and mobile terminal |
| CN108646958A (en) * | 2018-03-23 | 2018-10-12 | 维沃移动通信有限公司 | A kind of application program launching method and terminal |
| CN108762708A (en) * | 2018-05-30 | 2018-11-06 | 维沃移动通信有限公司 | A kind of display control method and terminal |
| CN108984063A (en) * | 2018-06-28 | 2018-12-11 | 努比亚技术有限公司 | A kind of desktop interaction regulation method, equipment 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 |
| 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 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013191488A1 (en) * | 2012-06-20 | 2013-12-27 | Samsung Electronics Co., Ltd. | Apparatus including a touch screen and screen change method thereof |
| CN109117054A (en) * | 2018-07-23 | 2019-01-01 | 维沃移动通信有限公司 | A kind of display control method and terminal |
| CN110008011B (en) * | 2019-02-28 | 2021-07-16 | 维沃移动通信有限公司 | A task switching method and terminal device |
-
2019
- 2019-02-28 CN CN201910153252.0A patent/CN110008011B/en active Active
-
2020
- 2020-01-10 WO PCT/CN2020/071497 patent/WO2020173235A1/en not_active Ceased
Patent Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120075652A1 (en) * | 2010-09-29 | 2012-03-29 | Kyocera Mita Corporation | Operation device, image forming apparatus, and operation method |
| US20120166975A1 (en) * | 2010-12-23 | 2012-06-28 | Oh Sesook | Mobile terminal and controlling 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 |
| CN108418954A (en) * | 2018-02-08 | 2018-08-17 | 维沃移动通信有限公司 | A kind of method for information display and terminal |
| CN108646958A (en) * | 2018-03-23 | 2018-10-12 | 维沃移动通信有限公司 | A kind of application program launching method and terminal |
| CN108572866A (en) * | 2018-04-23 | 2018-09-25 | Oppo广东移动通信有限公司 | Application program 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 |
| CN108984063A (en) * | 2018-06-28 | 2018-12-11 | 努比亚技术有限公司 | A kind of desktop interaction regulation method, equipment 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 |
| 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 |
Non-Patent Citations (2)
| Title |
|---|
| HEALTHEON: ""Android实现程序前后台切换效果"", 《HTTPS://WWW.CNBLOGS.COM/HANYONGLU/ARCHIVE/2012/04/15/2450551.HTML》 * |
| 谢志华: ""Android图形显示系统的改进研究与实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2020173235A1 (en) * | 2019-02-28 | 2020-09-03 | 维沃移动通信有限公司 | Task switching method and terminal device |
| US11733828B2 (en) | 2019-07-22 | 2023-08-22 | Vivo Mobile Communication Co., Ltd. | Icon moving method and terminal device |
| CN110489029A (en) * | 2019-07-22 | 2019-11-22 | 维沃移动通信有限公司 | Icon display method and terminal device |
| CN113676709A (en) * | 2020-05-14 | 2021-11-19 | 聚好看科技股份有限公司 | Intelligent projection equipment and multi-screen display method |
| CN113676710A (en) * | 2020-05-14 | 2021-11-19 | 聚好看科技股份有限公司 | Intelligent display device and application management method |
| CN113676710B (en) * | 2020-05-14 | 2024-03-29 | 聚好看科技股份有限公司 | Intelligent display device and application management method |
| CN113676709B (en) * | 2020-05-14 | 2023-10-27 | 聚好看科技股份有限公司 | Intelligent projection equipment and multi-screen display method |
| CN112130791A (en) * | 2020-09-10 | 2020-12-25 | 青岛海尔科技有限公司 | Method and device for editing information among multiple screens, storage medium and electronic device |
| CN112130791B (en) * | 2020-09-10 | 2023-08-18 | 青岛海尔科技有限公司 | Method and device for editing information among multiple screens, storage medium and electronic device |
| CN113342293A (en) * | 2021-05-21 | 2021-09-03 | 湖北亿咖通科技有限公司 | Information display method and device |
| CN113342293B (en) * | 2021-05-21 | 2022-07-08 | 亿咖通(湖北)技术有限公司 | Information display method and device |
| CN114116098A (en) * | 2021-11-23 | 2022-03-01 | 维沃移动通信有限公司 | Application icon management method and device, electronic equipment and storage medium |
| WO2023093745A1 (en) * | 2021-11-23 | 2023-06-01 | 维沃移动通信有限公司 | Application icon management method and apparatus, and electronic device and storage medium |
| 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 |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2020173235A1 (en) | 2020-09-03 |
| CN110008011B (en) | 2021-07-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP4145259A1 (en) | Display control method and apparatus, and electronic device | |
| CN111142747B (en) | Group management method and electronic equipment | |
| CN110008011A (en) | A kind of target switching method and terminal device | |
| CN109857306B (en) | Screen capture method and terminal device | |
| CN110874147A (en) | A display method and electronic device | |
| CN110244884B (en) | A desktop icon management method and terminal device | |
| CN109857289B (en) | Display control method and terminal equipment | |
| CN110489029A (en) | Icon display method and terminal device | |
| CN110069178A (en) | Interface control method and terminal device | |
| CN110531904A (en) | Background task display method and terminal | |
| US11526320B2 (en) | Multi-screen interface control method and terminal device | |
| CN111459349A (en) | Application recommended method and electronic device | |
| CN111273993A (en) | Icon arrangement method and electronic device | |
| CN110764666A (en) | Display control method and electronic equipment | |
| CN110752981A (en) | An information control method and electronic device | |
| CN110703972A (en) | A file control method and electronic device | |
| CN110768804A (en) | A group creation method and terminal device | |
| CN110647277A (en) | Control method and terminal equipment | |
| WO2020192297A1 (en) | Screen interface switching method and terminal device | |
| CN110866465A (en) | Electronic device control method and electronic device | |
| CN110196664A (en) | Control method and terminal device | |
| CN110058911A (en) | A kind of application control method and terminal device | |
| CN111596815B (en) | Application icon display method and electronic device | |
| CN111190517B (en) | Split-screen display method and electronic device | |
| CN109933266A (en) | A kind of display methods and terminal device |
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 |