CN111596836A - A split-screen display method and electronic device - Google Patents
A split-screen display method and electronic device Download PDFInfo
- Publication number
- CN111596836A CN111596836A CN202010292314.9A CN202010292314A CN111596836A CN 111596836 A CN111596836 A CN 111596836A CN 202010292314 A CN202010292314 A CN 202010292314A CN 111596836 A CN111596836 A CN 111596836A
- Authority
- CN
- China
- Prior art keywords
- input
- application
- display
- electronic device
- application task
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明实施例提供一种分屏显示方法及电子设备,涉及通信技术领域,以解决电子设备分屏显示多个应用的界面的过程繁琐且耗时,人机交互性能差的问题。该方案包括:接收第一输入,第一输入为对M个应用任务窗的输入,该M个应用任务窗用于指示电子设备当前运行的M个应用程序,M为大于或等于2的整数;响应于第一输入,分屏显示该M个应用程序的界面。该方法应用于分屏显示应用程序的界面的场景中。
Embodiments of the present invention provide a split-screen display method and an electronic device, which relate to the field of communication technologies, so as to solve the problems of cumbersome and time-consuming process of split-screen display of multiple application interfaces on an electronic device and poor human-computer interaction performance. The solution includes: receiving a first input, where the first input is an input to M application task windows, where the M application task windows are used to indicate M application programs currently running on the electronic device, and M is an integer greater than or equal to 2; In response to the first input, the interfaces of the M application programs are displayed in a split screen. The method is applied in the scenario of displaying the interface of the application program in a split screen.
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种分屏显示方法及电子设备。Embodiments of the present invention relate to the field of communications technologies, and in particular, to a split-screen display method and an electronic device.
背景技术Background technique
随着电子技术的不断发展,电子设备的功能越来越丰富,例如,电子设备可以分屏显示多个应用程序(以下简称为应用)的界面。With the continuous development of electronic technologies, the functions of electronic devices are becoming more and more abundant. For example, the electronic devices can display interfaces of multiple application programs (hereinafter referred to as applications for short) on a split screen.
目前,用户可以通过在一个应用界面(例如应用1的界面)上三指下滑,以触发电子设备将电子设备的屏幕划分为第一屏幕区域和第二屏幕区域,且在第一屏幕区域显示应用1的界面,在第二屏幕区域显示支持分屏显示的多个应用的图标。然后,用户可以在第二屏幕区域点击一个应用图标(例如应用2的图标),以触发电子设备在第二屏幕区域显示应用2的界面。如此,电子设备可以分屏显示应用1的界面和应用2的界面。At present, the user can slide three fingers on an application interface (for example, the interface of application 1) to trigger the electronic device to divide the screen of the electronic device into a first screen area and a second screen area, and display the application on the first screen area 1, the icons of multiple applications that support split-screen display are displayed in the second screen area. Then, the user can click an application icon (eg, the icon of Application 2 ) in the second screen area to trigger the electronic device to display the interface of Application 2 in the second screen area. In this way, the electronic device can display the interface of application 1 and the interface of application 2 in a split screen.
然而,按照上述方法,由于用户需要先触发电子设备显示支持分屏显示的应用图标,然后再通过选择应用图标,才能触发电子设备分屏显示两个应用的界面,因此当需求分屏显示多个应用的界面时,用户需要通过多次输入选择多个应用图标,从而导致电子设备分屏显示多个应用的界面的过程繁琐且耗时,人机交互性能差。However, according to the above method, since the user needs to first trigger the electronic device to display the application icon that supports split-screen display, and then select the application icon, the electronic device can be triggered to display the interface of the two applications in the split-screen. When an application interface is used, the user needs to select multiple application icons through multiple inputs, which results in a cumbersome and time-consuming process for the electronic device to display multiple application interfaces on a split screen, and poor human-computer interaction performance.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种分屏显示方法及电子设备,以解决电子设备分屏显示多个应用的界面的过程繁琐且耗时,人机交互性能差的问题。Embodiments of the present invention provide a split-screen display method and an electronic device, so as to solve the problems of cumbersome and time-consuming process of split-screen display of interfaces of multiple applications on an electronic device and poor human-computer interaction performance.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本发明实施例提供了一种分屏显示方法,该方法可以应用于电子设备,该方法包括:接收第一输入,第一输入为对M个应用任务窗的输入,该M个应用任务窗用于指示电子设备当前运行的M个应用程序,M为大于或等于2的整数;响应于第一输入,分屏显示M个应用程序的界面。In a first aspect, an embodiment of the present invention provides a split-screen display method, which can be applied to an electronic device. The method includes: receiving a first input, where the first input is an input to M application task windows, the M The application task window is used to indicate M application programs currently running on the electronic device, where M is an integer greater than or equal to 2; in response to the first input, interfaces of the M application programs are displayed on a split screen.
第二方面,本发明实施例提供了一种分屏显示装置,该装置包括:接收模块和显示模块。接收模块,用于接收第一输入,第一输入为对M个应用任务窗的输入,该M个应用任务窗用于指示该装置当前运行的M个应用程序,M为大于或等于2的整数;显示模块,用于响应于接收模块接收的第一输入,分屏显示该M个应用程序的界面。In a second aspect, an embodiment of the present invention provides a split-screen display device, which includes: a receiving module and a display module. The receiving module is used for receiving the first input, the first input is the input to M application task windows, the M application task windows are used to indicate the M application programs currently running by the device, and M is an integer greater than or equal to 2 ; a display module for displaying the interfaces of the M application programs in a split screen in response to the first input received by the receiving module.
第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时可以实现上述第一方面的分屏显示方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor. When the computer program is executed by the processor, the above-mentioned first aspect can be implemented. Steps of the split screen method.
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时可以实现上述第一方面的分屏显示方法的步骤。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, the steps of the split-screen display method of the first aspect can be implemented .
在本发明实施例中,电子设备可以接收第一输入,第一输入为对M个应用任务窗的输入,该M个应用任务窗用于指示电子设备当前运行的M个应用程序,M为大于或等于2的整数;且响应于第一输入,分屏显示该M个应用程序的界面。通过该方案,由于用户可以通过对电子设备当前运行(例如后台运行)的多个应用程序的应用任务窗的输入(即上述第一输入),触发电子设备分屏显示该多个应用程序的界面,而无需用户依次在电子设备的桌面中查找并操作应用程序的图标触发对该多个应用程序的界面分屏显示,因此可以简化电子设备分屏显示多个应用程序的界面的操作过程,提高人机交互性能。In this embodiment of the present invention, the electronic device may receive a first input, where the first input is an input to M application task windows, where the M application task windows are used to indicate M application programs currently running on the electronic device, where M is greater than or an integer equal to 2; and in response to the first input, the interfaces of the M application programs are displayed in a split screen. With this solution, the user can trigger the electronic device to display the interfaces of the multiple application programs in a split screen by inputting the application task windows of multiple application programs currently running (for example, running in the background) on the electronic device (ie, the above-mentioned first input). , without the need for the user to search and operate the icons of the application programs on the desktop of the electronic device in turn to trigger the interface split-screen display of the multiple application programs, so the operation process of the electronic device split-screen display of the interfaces of the multiple application programs can be simplified, improving the Human-computer interaction performance.
附图说明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 the schematic diagrams of a split-screen display method provided by an embodiment of the present invention;
图3为本发明实施例提供的分屏显示方法应用的界面示意图之一;Fig. 3 is one of the interface schematic diagrams of the application of the split-screen display method provided by the embodiment of the present invention;
图4为本发明实施例提供的分屏显示方法应用的界面示意图之二;FIG. 4 is the second schematic diagram of the interface of the application of the split-screen display method provided by the embodiment of the present invention;
图5为本发明实施例提供的分屏显示方法应用的界面示意图之三;FIG. 5 is the third interface schematic diagram of the application of the split-screen display method provided by the embodiment of the present invention;
图6为本发明实施例提供的分屏显示方法的示意图之二;6 is a second schematic diagram of a split-screen display method provided by an embodiment of the present invention;
图7为本发明实施例提供的分屏显示方法应用的界面示意图之四;FIG. 7 is the fourth schematic diagram of the interface of the application of the split-screen display method provided by the embodiment of the present invention;
图8为本发明实施例提供的分屏显示方法应用的界面示意图之五;FIG. 8 is the fifth schematic diagram of the interface of the application of the split-screen display method provided by the embodiment of the present invention;
图9为本发明实施例提供的分屏显示方法的示意图之三;9 is a third schematic diagram of a split-screen display method provided by an embodiment of the present invention;
图10为本发明实施例提供的分屏显示方法应用的界面示意图之六;FIG. 10 is the sixth schematic diagram of the interface of the application of the split-screen display method provided by the embodiment of the present invention;
图11为本发明实施例提供的分屏显示方法应用的界面示意图之七;FIG. 11 is the seventh schematic diagram of the interface of the application of the split-screen display method provided by the embodiment of the present invention;
图12为本发明实施例提供的分屏显示装置的结构示意图之一;12 is one of the schematic structural diagrams of a split-screen display device provided by an embodiment of the present invention;
图13为本发明实施例提供的电子设备的硬件示意图。FIG. 13 is a schematic diagram of hardware of an electronic device provided by 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 herein are used to distinguish between different objects, rather than to describe a particular 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 application programs refers to two or more application programs, and the like.
下面首先对本申请的权利要求书和说明书中涉及的一些名词或者术语进行解释说明。First, some terms or terms involved in the claims and description of the present application will be explained below.
应用任务窗:为在电子设备后台运行的应用程序的任务在电子设备中的显示形式。应用任务窗通常显示在电子设备中的”运行任务页面”中。Application task window: a display form in the electronic device of the task of the application program running in the background of the electronic device. The application task window is usually displayed in the "running task page" in the electronic device.
前台运行:为电子设备中的应用程序在电子设备中的一种运行状态。具体的,一个应用程序在电子设备的前台运行时,电子设备的屏幕上显示该应用程序的用户界面,用户可以通过在该用户界面上输入,实现与该应用程序交互。Foreground running: It is a running state of the application in the electronic device in the electronic device. Specifically, when an application runs in the foreground of an electronic device, a user interface of the application is displayed on the screen of the electronic device, and the user can interact with the application by inputting on the user interface.
后台运行:为电子设备中的应用程序在电子设备中的另一种运行状态,具体的,一个应用程序在电子设备的后台运行时,该应用程序具体在电子设备的资源管理器里运行,且电子设备的屏幕上一般不显示该应用程序的用户界面。用户需要使用或者查看该应用程序时,可以先触发电子设备将该应用程序切换为前台运行,然后再使用或者查看该应用程序。Running in the background: is another running state of the application in the electronic device in the electronic device. Specifically, when an application is running in the background of the electronic device, the application is running in the resource manager of the electronic device, and The user interface of the application is generally not displayed on the screen of the electronic device. When the user needs to use or view the application, the electronic device can be triggered to switch the application to run in the foreground, and then use or view the application.
显示窗口:也可以称为显示窗口,为电子设备的屏幕中用于显示应用程序的界面的显示区域。Display window: It can also be called a display window, which is a display area on a screen of an electronic device for displaying an interface of an application program.
本发明实施例中,一个显示窗口中可以显示一个应用程序的界面,即一个应用程序可以对应一个显示窗口。当一个显示窗口被放大或缩小时,处于该显示窗口中的界面可以相同的比例放大或缩小。In this embodiment of the present invention, one display window may display the interface of one application, that is, one application may correspond to one display window. When a display window is enlarged or reduced, the interface in the display window can be enlarged or reduced in the same proportion.
需要说明的是,本发明实施例中,电子设备的屏幕中可以包括一个显示窗口,也可以包括多个显示窗口。当该屏幕包括一个显示窗口时,该显示窗口可以在屏幕上全屏显示,也可以非全屏显示。当该屏幕包括多个显示窗口时,一个显示窗口中可以显示一个应用程序的界面,且不同显示窗口中可以显示不同应用程序的界面;即这种情况下,电子设备可以分屏显示多个应用程序的界面。It should be noted that, in this embodiment of the present invention, the screen of the electronic device may include one display window, or may include multiple display windows. When the screen includes a display window, the display window can be displayed on the screen in full screen or not in full screen. When the screen includes multiple display windows, the interface of one application program can be displayed in one display window, and the interfaces of different application programs can be displayed in different display windows; that is, in this case, the electronic device can display multiple applications on a split screen program interface.
本发明实施例提供一种分屏显示方法及电子设备,该方法可以应用于电子设备,该电子设备可以接收第一输入,第一输入为对M个应用任务窗的输入,该M个应用任务窗用于指示电子设备当前运行的M个应用程序,M为大于或等于2的整数;且响应于第一输入,分屏显示该M个应用程序的界面。通过该方案,由于用户可以通过对电子设备当前运行的多个应用程序的应用任务窗的输入(即上述第一输入),触发电子设备分屏显示该多个应用程序的界面,而无需用户依次在电子设备的桌面中查找并操作应用程序的图标触发对该多个应用程序的界面分屏显示,因此可以简化电子设备分屏显示多个应用程序的界面的操作过程,提高人机交互性能。Embodiments of the present invention provide a split-screen display method and an electronic device. The method can be applied to an electronic device. The electronic device can receive a first input. The first input is an input to M application task windows. The M application task windows The window is used to indicate M application programs currently running on the electronic device, where M is an integer greater than or equal to 2; and in response to the first input, the interfaces of the M application programs are displayed on a split screen. With this solution, the user can trigger the electronic device to display the interfaces of the multiple application programs in a split screen by inputting the application task windows of multiple application programs currently running on the electronic device (ie, the above-mentioned first input), without requiring the user to sequentially display the interfaces of the multiple application programs. Finding and operating the icons of the application programs on the desktop of the electronic device triggers the split-screen display of the interfaces of the multiple application programs, thus simplifying the operation process of displaying the interfaces of the multiple application programs on the electronic device split-screen and improving the human-computer interaction performance.
本发明实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be an electronic device with 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 split-screen display 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 split-screen display method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG. The split-screen display method can run based on the Android operating system as shown in FIG. 1 . That is, the processor or the electronic device can implement the split-screen display method provided by the embodiment of the present invention by running the software program in the Android operating system.
本发明实施例中的电子设备可以为移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). 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 split-screen display method provided by the embodiment of the present invention may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device capable of implementing the split-screen display method, and the specific implementation may be based on actual usage requirements. It is determined that the embodiments of the present invention are not limited. The following takes an electronic device as an example to illustrate the split-screen display method provided by the embodiment of the present invention.
本发明实施例中,当用户需求电子设备分屏显示电子设备中的M个应用程序的界面时,如果该M个应用程序为电子设备当前运行的应用程序,那么用户可以先触发电子设备切换到“运行任务页面”(也可以称为最近运行任务栏),该“运行任务页面”中包括电子设备当前运行的所有应用程序的应用任务窗,从而用户可以对指示该M个应用程序的M个应用任务窗输入,以触发电子设备根据该M个应用任务窗确定其对应的M个应用程序,然后电子设备再在电子设备的屏幕上分屏显示该M个应用程序的界面。如此,由于用户可以通过对电子设备当前运行的多个应用程序的应用任务窗的输入(即上述第一输入),触发电子设备分屏显示该多个应用程序的界面,而无需用户依次在电子设备的桌面中查找并操作应用程序的图标触发对该多个应用程序的界面分屏显示,因此可以简化电子设备分屏显示多个应用程序的界面的操作过程,提高人机交互性能。In this embodiment of the present invention, when the user requests the electronic device to display the interfaces of M application programs in the electronic device in a split screen, if the M application programs are the application programs currently running on the electronic device, then the user can first trigger the electronic device to switch to The "running task page" (also referred to as the recently running taskbar) includes application task windows of all applications currently running on the electronic device, so that the user can control the M number of applications indicating the M number of applications. The application task window is input to trigger the electronic device to determine the corresponding M application programs according to the M application task windows, and then the electronic device displays the interface of the M application programs in a split screen on the screen of the electronic device. In this way, since the user can trigger the electronic device to display the interfaces of the multiple application programs in a split screen by inputting the application task windows of multiple application programs currently running on the electronic device (ie, the above-mentioned first input), it is not necessary for the user to sequentially display the interfaces of the multiple application programs on the electronic device. Finding and operating the icons of the application programs on the desktop of the device triggers the interface split-screen display of the multiple application programs, so the operation process of the electronic device split-screen displaying the interfaces of the multiple application programs can be simplified, and the human-computer interaction performance can be improved.
可选地,本发明实施例中,电子设备当前运行的运行应用程序可以为电子设备当前前台运行的应用程序,也可以为电子设备当前后台运行的应用程序,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the running application currently running on the electronic device may be an application currently running in the foreground of the electronic device, or may be an application currently running in the background of the electronic device, which may be specifically determined according to actual usage requirements. The embodiments of the invention are not limited.
需要说明的是,本发明实施例中,上述电子设备分屏显示的M个应用程序的界面可以为该M个应用程序从前台运行切换至后台运行时,电子设备显示的M个应用程序的界面;即可以为该M个应用程序从前台运行切换至后台运行时,电子设备最后一次在前台显示的界面。It should be noted that, in this embodiment of the present invention, the interfaces of the M application programs displayed on the split screen of the electronic device may be the interfaces of the M application programs displayed by the electronic device when the M application programs are switched from the foreground running to the background running. ; that is, the interface displayed by the electronic device in the foreground for the last time when the M applications are switched from running in the foreground to running in the background.
下面具体结合各个附图对本发明实施例提供的分屏显示方法进行示例性地描述。The split-screen display method provided by the embodiments of the present invention is exemplarily described below with specific reference to the accompanying drawings.
如图2所示,本发明实施例提供一种分屏显示方法,该方法可以包括下述的S201和S202。As shown in FIG. 2, an embodiment of the present invention provides a split-screen display method, and the method may include the following S201 and S202.
S201、电子设备接收第一输入。S201. The electronic device receives a first input.
其中,上述第一输入可以为用户对M个应用任务窗的输入,该M个应用任务窗可以用于指示电子设备当前运行的M个应用程序,即该M个应用任务窗为电子设备当前运行的M个应用程序的应用任务窗。M可以为大于或等于2的整数。Wherein, the above-mentioned first input can be the input of the user to M application task windows, and the M application task windows can be used to indicate the M application programs currently running by the electronic device, that is, the M application task windows are the current running of the electronic device. The application task window of the M applications. M can be an integer greater than or equal to 2.
可选地,本发明实施例中,电子设备当前运行的应用程序可以为电子设备当前前台运行的应用程序,也可以为电子设备当前台和后台运行的应用程序,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the application program currently running on the electronic device may be an application program currently running in the foreground of the electronic device, or may be an application program running in the current foreground and background of the electronic device, which may be specifically determined according to actual usage requirements. The embodiments of the present invention are not limited.
对上述M个应用任务窗的具体描述,可以参见上述名词解释部分对应用任务窗的相关描述,为了避免重复,此处不再赘述。For the specific description of the above-mentioned M application task windows, reference may be made to the relevant description of the application task window in the above-mentioned nomenclature explanation part, which is not repeated here in order to avoid repetition.
可选地,本发明实施例中,上述第一输入可以用于触发电子设备选中上述M个应用任务窗。Optionally, in this embodiment of the present invention, the above-mentioned first input may be used to trigger the electronic device to select the above-mentioned M application task windows.
可选地,本发明实施例中,上述第一输入可以为滑动输入,上述M个应用任务窗可以为电子设备根据该滑动输入的输入轨迹确定的应用任务窗。Optionally, in this embodiment of the present invention, the first input may be a sliding input, and the M application task windows may be application task windows determined by the electronic device according to the input trajectory of the sliding input.
具体的,第一输入可以为用户多指(例如双指、三指或四指等)在M个应用任务窗上聚合的输入(方式1),或者,上述第一输入也可以为用户在上述M个应用任务窗上,沿目标方向划圈的输入(方式2)。或者,上述第一输入还可以为用户对上述M个应用任务窗拖动的输入(方式3),具体可以根据实际使用需求确定,本发明实施例不作限定。Specifically, the first input may be an input aggregated on M application task windows by the user with multiple fingers (for example, two fingers, three fingers, or four fingers, etc.) On the M application task windows, circle the input in the target direction (mode 2). Alternatively, the above-mentioned first input may also be an input of the user dragging the above-mentioned M application task windows (mode 3), which may be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present invention.
可选地,本发明实施例中,在上述方式1中,用户多指在M个应用任务窗上聚合,是指用户多个手指触控M个应用任务窗,并将多个手指在M个应用任务窗上由外向内滑动的输入。Optionally, in the embodiment of the present invention, in the above method 1, the user aggregates multiple fingers on M application task windows, which means that the user touches the M application task windows with multiple fingers, and puts multiple fingers on the M application task windows. Swipe from outside to inside input on the application task window.
可选地,本发明实施例中,在上述方式2中,上述目标方向可以为顺时针方向,也可以为逆时针方向。其中,顺时针方向和逆时针方向均是以电子设备的屏幕朝向用户时,相对于电子设备的屏幕为例示意的。Optionally, in this embodiment of the present invention, in the foregoing manner 2, the foregoing target direction may be a clockwise direction or a counterclockwise direction. Wherein, the clockwise direction and the counterclockwise direction are both illustrated relative to the screen of the electronic device when the screen of the electronic device faces the user as an example.
可选地,本发明实施例中,在上述方式3中,上述第一输入具体可以为用户将上述M个应用任务窗中的前M-1个应用任务窗拖动到第M个应用任务窗所处位置或拖动到第M个应用任务窗上的输入。Optionally, in the embodiment of the present invention, in the above-mentioned mode 3, the above-mentioned first input may specifically be that the user drags the first M-1 application task windows in the above-mentioned M application task windows to the Mth application task window. Position or drag to the input on the M-th application task window.
例如,如图3中的(a)所示,用户可以将应用任务窗30向右拖(沿图3中的(a)的实线箭头示意的方向),那么,如图3中的(b)所示,当用户将应用任务窗30拖动到应用任务窗31上时,若用户继续将应用任务窗30向右拖,则应用任务窗31将随着应用任务窗30一起向右移动;从而,如图3中的(c)所示,用户可以将应用任务窗30和应用任务窗31均拖动到应用任务窗32上,此时,若用户手指离开电子设备的屏幕,则表示用户执行第一输入完成;那么电子设备可以确定应用任务窗30、应用任务窗31和应用任务窗32为上述M个应用任务窗。其中,应用任务窗30和应用任务窗31为该M个应用任务窗中的前M-1个应用任务窗,应用任务窗3为该M个应用任务窗中的第M个应用任务窗。在电子设备确定应用任务窗30、应用任务窗31和应用任务窗32之后,电子设备可以分屏显示应用任务窗30指示的应用程序的界面、应用任务窗31指示的应用程序的界面和应用任务窗32指示的应用程序的界面。For example, as shown in (a) of FIG. 3, the user can drag the
S202、电子设备响应于第一输入,分屏显示M个应用程序的界面。S202 , the electronic device, in response to the first input, displays the interfaces of the M application programs in a split screen.
本发明实施例中,上述M个应用程序为上述第一输入针对的M个应用任务窗指示的应用程序,即该M个应用任务窗为该M个应用程序的应用任务窗。In this embodiment of the present invention, the M application programs are the application programs indicated by the M application task windows targeted by the first input, that is, the M application task windows are application task windows of the M application programs.
本发明实施例中,电子设备分屏显示上述M个应用程序的界面是指:电子设备在其屏幕上的不同显示区域,同时显示该M个应用程序的界面。在电子设备在其屏幕上的不同显示区域,同时显示该M个应用程序的界面之后,用户即可同时查看该M个应用程序的界面,或者同时与该M个应用程序交互。In the embodiment of the present invention, the electronic device displays the interfaces of the M application programs on a split screen means that the electronic device simultaneously displays the interfaces of the M application programs in different display areas on the screen of the electronic device. After the interfaces of the M application programs are simultaneously displayed in different display areas of the electronic device on the screen, the user can view the interfaces of the M application programs at the same time, or interact with the M application programs at the same time.
例如,假设M个应用程序为3个应用程序,分别为应用程序1、应用程序2和应用程序3,那么,如图4中的(a)或图4中的(b)所示,电子设备可以在电子设备的屏幕上的不同显示区域,同时显示应用程序1的界面、应用程序2的界面和应用程序3的界面。For example, assuming that the M application programs are 3 application programs, namely application program 1, application program 2 and application program 3, then, as shown in (a) in FIG. 4 or (b) in FIG. 4 , the electronic device The interface of application 1 , the interface of application 2 and the interface of application 3 can be displayed simultaneously in different display areas on the screen of the electronic device.
可选地,本发明实施例中,当电子设备分屏显示M个应用程序的界面时,该M个应用程序的界面在电子设备的屏幕上可以横向排布,也可以纵向排布,还可以以其他任意可能的排布方式排布,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, when the electronic device displays interfaces of M application programs in a split screen, the interfaces of the M application programs may be arranged horizontally, vertically, or vertically on the screen of the electronic device. Arrangement in any other possible arrangement manner may be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
可选地,本发明实施例中,当电子设备分屏显示M个应用程序的界面时,电子设备可以根据该M个应用程序的显示优先级(可以为预先设置的),按照上述排布方式,在电子设备的屏幕上显示该M个应用程序的界面;或者电子设备可以根据用户触发电子设备选中M个应用任务窗的时序,按照上述排布方式,在电子设备的屏幕上显示该M个应用任务窗指示的M个应用程序的界面。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, when the electronic device displays interfaces of M application programs on a split screen, the electronic device may, according to the display priorities of the M application programs (which may be preset), follow the above arrangement. , display the interface of the M application programs on the screen of the electronic device; or the electronic device can select the M application task windows according to the time sequence of the user triggering the electronic device, and display the M application task windows on the screen of the electronic device according to the above arrangement The interface of the M applications indicated by the application task window. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
可选地,本发明实施例中,上述S202具体可以通过下述的S202a和S202b实现。Optionally, in this embodiment of the present invention, the foregoing S202 may be specifically implemented by the following S202a and S202b.
S202a、电子设备在不同显示区域显示M个显示控件。S202a, the electronic device displays M display controls in different display areas.
S202b、电子设备在M个显示控件中显示M个应用程序的界面。S202b, the electronic device displays the interfaces of the M application programs in the M display controls.
其中,不同显示控件中显示不同应用程序的界面。可以理解,对于M个显示窗口的每个显示控件,一个显示控件中显示一个应用程序的界面。The interfaces of different application programs are displayed in different display controls. It can be understood that, for each display control of the M display windows, one display control displays the interface of one application program.
本发明实施例中,显示控件可以为显示窗口,对于显示窗口的描述,具体可以参见上述名词解释部分的相关描述,为了避免重复,此处不再赘述。In this embodiment of the present invention, the display control may be a display window. For the description of the display window, reference may be made to the relevant description in the above-mentioned nomenclature section. In order to avoid repetition, details are not repeated here.
本发明实施例中,上述不同显示区域可以为电子设备的屏幕上的不同显示区域。In the embodiment of the present invention, the above-mentioned different display areas may be different display areas on the screen of the electronic device.
可选地,本发明实施例中,在电子设备接收到用户的第一输入之后,电子设备可以先根据第一输入的输入轨迹,确定用户操作的应用任务窗为M个应用任务窗,在确定用户操作的M个应用任务窗之后,电子设备可以再根据该M个应用任务窗,确定该M个应用任务窗对应的M个应用程序;然后,电子设备可以将电子设备的屏幕划分为M个显示区域,并在每个显示区域中显示一个显示控件,那么电子设备可以在M个显示区域中显示M个显示控件,从而电子设备可以在该M个显示控件中,分屏显示该M个应用程序。其中,对于电子设备根据第一输入的输入轨迹,确定M个应用程序的方法将在下述实施例中进行详细描述,为了避免重复,此处不予赘述。Optionally, in this embodiment of the present invention, after the electronic device receives the user's first input, the electronic device may first determine, according to the input track of the first input, that the application task windows operated by the user are M application task windows. After the M application task windows operated by the user, the electronic device can then determine M application programs corresponding to the M application task windows according to the M application task windows; then, the electronic device can divide the screen of the electronic device into M applications display area, and display one display control in each display area, then the electronic device can display M display controls in the M display areas, so that the electronic device can display the M applications in the M display controls in a split screen program. The method for determining the M application programs by the electronic device according to the input track of the first input will be described in detail in the following embodiments, and in order to avoid repetition, details are not described here.
可以理解,本发明实施例中,对于该M个应用程序中的每个应用程序,电子设备可以为一个应用程序显示一个显示控件,即为不同应用程序显示不同的显示控件。然后,电子设备可以在每个应用程序的显示控件中显示该应用程序的界面。如此,电子设备可以在该M个显示控件中显示该M个应用程序的界面。It can be understood that, in this embodiment of the present invention, for each of the M application programs, the electronic device may display one display control for one application, that is, display different display controls for different applications. Then, the electronic device can display the interface of each application in the display controls of the application. In this way, the electronic device can display the interfaces of the M applications in the M display controls.
可选地,本发明实施例中,上述M个显示控件在电子设备的屏幕上的排布方式与上述M个应用程序的界面在电子设备的屏幕上的排布方式相同。具体的,当该M个应用程序的界面在电子设备的屏幕上横向排布时,该M个显示控件也在电子设备的屏幕上横向排布;当该M个应用程序的界面在电子设备的屏幕上纵向排布时,该M个显示控件也在电子设备的屏幕上纵向排布。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the arrangement manner of the M display controls on the screen of the electronic device is the same as the arrangement manner of the interfaces of the M application programs on the screen of the electronic device. Specifically, when the interfaces of the M applications are arranged horizontally on the screen of the electronic device, the M display controls are also arranged horizontally on the screen of the electronic device; when the interfaces of the M applications are arranged on the screen of the electronic device When arranged vertically on the screen, the M display controls are also arranged vertically on the screen of the electronic device. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
可选地,本发明实施例中,当电子设备在电子设备的屏幕上显示M个显示控件时,电子设备可以按照上述M个应用程序的排布顺序,在电子设备的屏幕上依次显示该M个显示控件;即该M个显示控件在电子设备上的排布顺序与其对应的应用程序的界面在电子设备的屏幕上的排布顺序相同。Optionally, in this embodiment of the present invention, when the electronic device displays M display controls on the screen of the electronic device, the electronic device may sequentially display the M display controls on the screen of the electronic device according to the arrangement order of the above-mentioned M application programs. display controls; that is, the arrangement order of the M display controls on the electronic device is the same as the arrangement order of the interface of the corresponding application program on the screen of the electronic device.
可选地,本发明实施例中,电子设备在电子设备的屏幕上显示上述M个显示控件之后,电子设备可以根据上述M个应用程序的显示优先级(可以为预先设置的),在上述M个显示控件中依次显示该M个应用程序的界面。或者,电子设备可以根据用户触发电子设备选中M个应用任务窗的时序,在上述M个显示控件中显示该M个应用任务窗指示的M个应用程序的界面。当然,电子设备还可以采用其他任意可能的方式在上述M个显示控件显示M个应用程序的界面。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, after the electronic device displays the above-mentioned M display controls on the screen of the electronic device, the electronic device may, according to the display priorities (which may be preset) of the above-mentioned M application programs, display the above-mentioned M The interfaces of the M application programs are sequentially displayed in each of the display controls. Alternatively, the electronic device may display the interfaces of the M application programs indicated by the M application task windows in the above M display controls according to the sequence when the user triggers the electronic device to select the M application task windows. Of course, the electronic device may also use any other possible manner to display the interfaces of the M application programs on the above-mentioned M display controls. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
可以理解,电子设备在M个显示控件中显示M个应用程序的界面时,可以按照该M个显示控件的排布顺序依次显示该M个应用程序的界面。It can be understood that when the electronic device displays the interfaces of the M application programs among the M display controls, the electronic device may sequentially display the interfaces of the M application programs according to the arrangement order of the M display controls.
示例性地,假设3(即M=3)个应用程序分别为应用程序1、应用程序2和应用程序3,且这3个应用程序的显示优先级从高到低依次为:应用程序1、应用程序2和应用程序3;又假设3个显示控件在电子设备的屏幕上纵向排布,且从上至下分别为第一显示控件、第二显示控件和第三显示控件;那么,如图4中的(a)所示,电子设备可以在第一显示控件中显示应用程序1的界面,并在第二显示控件中显示应用程序2的界面,以及在第三显示控件中显示应用程序3的界面。Exemplarily, it is assumed that 3 (ie M=3) application programs are application program 1, application program 2 and application program 3, and the display priorities of these three application programs from high to low are: application program 1, application program 2, and application program 3, respectively. Application program 2 and application program 3; it is also assumed that 3 display controls are arranged vertically on the screen of the electronic device, and are respectively the first display control, the second display control and the third display control from top to bottom; then, as shown in the figure As shown in (a) of 4, the electronic device may display the interface of application 1 in the first display control, the interface of application 2 in the second display control, and the application 3 in the third display control. interface.
又示例性地,假设3(即M=3)个应用程序分别为应用程序1、应用程序2和应用程序3,且用户触发电子设备选中指示这3个应用程序的3应用任务窗的时序为:应用任务窗2(指示应用程序2)、应用任务窗1(指示应用程序1)和应用任务窗3(指示应用程序3);又假设3个显示控件在电子设备的屏幕上纵向排布,且从上至下分别为第一显示控件、第二显示控件和第三显示控件;那么,如图4中的(b)所示,电子设备可以在第一显示控件中显示应用程序2的界面,并在第二显示控件中显示应用程序1的界面,以及在第三显示控件中显示应用程序3的界面。Also exemplarily, it is assumed that 3 (ie M=3) application programs are application program 1, application program 2 and application program 3 respectively, and the user triggers the electronic device to select the 3 application task windows indicating these 3 application programs The sequence is: : application task window 2 (indicates application program 2), application task window 1 (indicates application program 1), and application task window 3 (indicates application program 3); it is also assumed that three display controls are arranged vertically on the screen of the electronic device, And from top to bottom are respectively the first display control, the second display control and the third display control; then, as shown in (b) in Figure 4, the electronic device can display the interface of the application 2 in the first display control , and the interface of application 1 is displayed in the second display control, and the interface of application 3 is displayed in the third display control.
可选地,本发明实施例中,上述M个显示控件的形状可以全部相同,也可以部分相同,还可以全部不同,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the shapes of the above M display controls may all be the same, may be partially the same, or may be completely different, which may be determined according to actual usage requirements, which are not limited in the embodiment of the present invention.
可选地,本发明实施例中,上述M个显示控件的大小可以全部相同,也可以部分相同,还可以全部不同,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the sizes of the above M display controls may all be the same, may be partially the same, or may be completely different, which may be determined according to actual usage requirements, which are not limited in this embodiment of the present invention.
可选地,本发明实施例中,对于上述M个显示控件中的每个显示控件,用户均可以通过一个输入触发电子设备放大或缩小一个显示控件的显示尺寸(面积和形状)。当用户触发电子设备放大或缩小一个显示控件的显示尺寸时,电子设备可以以相同的缩放比例,放大或缩小该显示控件中的界面。其中,该输入可以为用户对缩放控件的输入,或者可以为用户直接在显示控件上的缩放手势的输入,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, for each display control in the above-mentioned M display controls, the user can trigger the electronic device to enlarge or reduce the display size (area and shape) of a display control through an input. When the user triggers the electronic device to enlarge or reduce the display size of a display control, the electronic device can enlarge or reduce the interface in the display control at the same scaling ratio. The input may be the user's input to the zoom control, or may be the user's input of a zoom gesture directly on the display control, which may be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present invention.
本发明实施例中,由于电子设备可以通过显示显示控件的方式,在电子设备的屏幕上分屏显示应用程序的界面,因此可以保证每个应用程序的界面在一个独立的控件(例如显示窗口)中显示,从而使得用户可以独立操作电子设备分屏显示的各个界面,如此可以保证电子设备分屏显示应用程序的界面的可靠性。In this embodiment of the present invention, since the electronic device can display the interface of the application program on the screen of the electronic device in a split-screen manner by displaying the display control, it can be ensured that the interface of each application program is displayed in an independent control (for example, a display window) In this way, the user can independently operate each interface of the electronic device split-screen display, so that the reliability of the interface of the electronic device split-screen display application program can be guaranteed.
下面再结合图5对本发明实施例提供的分屏显示方法进行示例地说明。The split-screen display method provided by the embodiment of the present invention is exemplarily described below with reference to FIG. 5 .
示例性地,如图5中的(a)所示,假设电子设备的屏幕上显示的M个应用任务窗分别为应用任务窗50、应用任务窗51和应用任务窗52,且应用任务窗50指示应用程序4、应用任务窗51指示应用程序5,以及应用任务窗52指示应用程序6。那么,用户可以双指在应用任务窗51和应用任务窗52上聚合(即沿如图5中的(a)中的实线箭头所示的方向聚合),即电子设备接收到用户的第一输入,从而电子设备响应于第一输入,如图5中的(b)所示,电子设备可以在电子设备的屏幕上分屏显示应用程序5的界面和应用程序6的界面;即电子设备分屏显示M个应用程序的界面。Exemplarily, as shown in (a) of FIG. 5 , it is assumed that the M application task windows displayed on the screen of the electronic device are respectively the
本发明实施例提供的分屏显示方法中,由于用户可以通过对电子设备后台运行的多个应用程序的应用任务窗的输入(即上述第一输入),触发电子设备分屏显示该多个应用程序的界面,而无需用户依次在电子设备的桌面中查找并操作应用程序的图标触发对该多个应用程序的界面分屏显示,因此可以简化电子设备分屏显示多个应用程序的界面的操作过程,提高人机交互性能。In the split-screen display method provided by the embodiment of the present invention, because the user can trigger the electronic device to display the multiple applications in a split-screen by inputting the application task windows of multiple application programs running in the background of the electronic device (ie, the above-mentioned first input) The interface of the program does not require the user to search and operate the icons of the application programs on the desktop of the electronic device in turn to trigger the interface split-screen display of the multiple application programs, so the operation of the electronic device to display the interfaces of the multiple application programs on the split screen can be simplified process to improve human-computer interaction performance.
可选地,本发明实施例中,电子设备分屏显示上述M个应用程序的界面之前,可以先确定该M个应用程序。Optionally, in this embodiment of the present invention, before the electronic device displays the interfaces of the M application programs in a split-screen manner, the M application programs may be determined first.
示例性地,本发明实施例中,结合上述图2,如图6所示,在上述S202之前,本发明实施例提供的分屏显示方法还可以包括下述的S203。并且,上述S202具体可以通过下述的S202c实现。Exemplarily, in the embodiment of the present invention, with reference to the above FIG. 2 , as shown in FIG. 6 , before the above S202 , the split-screen display method provided by the embodiment of the present invention may further include the following S203 . In addition, the above S202 can be specifically implemented by the following S202c.
S203、电子设备响应于第一输入,根据第一输入的输入轨迹,确定M个应用程序。S203, the electronic device determines M application programs according to the input track of the first input in response to the first input.
S202c、电子设备分屏显示M个应用程序的界面。S202c, the electronic device displays interfaces of the M application programs in a split screen.
对于S202c的描述具体可以参见上述S202中的相关描述,为避免重复,此处不再赘述。For the description of S202c, reference may be made to the relevant description in the above-mentioned S202, which is not repeated here to avoid repetition.
可选地,本发明实施例中,电子设备接收第一输入之后,可以先获取第一输入的输入轨迹,然后再根据第一输入的输入轨迹,确定上述M个应用程序。在电子设备确定该M个应用程序之后,电子设备可以在电子设备的屏幕上分屏显示该M个应用程序的界面。Optionally, in this embodiment of the present invention, after receiving the first input, the electronic device may first acquire the input track of the first input, and then determine the above-mentioned M application programs according to the input track of the first input. After the electronic device determines the M application programs, the electronic device may display the interfaces of the M application programs in a split screen on the screen of the electronic device.
可选地,本发明实施例中,第一输入的输入轨迹可以包括第一输入的输入方向、第一输入的输入形状、第一输入的起始位置和第一输入的结束位置中的至少一项,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the input trajectory of the first input may include at least one of an input direction of the first input, an input shape of the first input, a start position of the first input, and an end position of the first input. item, which can be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present invention.
可选地,本发明实施例中,上述S203具体可以通过下述的S203a和S203b实现。Optionally, in this embodiment of the present invention, the foregoing S203 may be specifically implemented by the following S203a and S203b.
S203a、电子设备确定位于第一输入的输入轨迹上的M个应用任务窗。S203a, the electronic device determines M application task windows located on the input track of the first input.
示例性地,以第一输入为用户多指在M个应用任务窗上聚合的输入,即上述方式1为例。如图7所示,用户双指在应用任务窗70和应用任务窗72上聚合(即沿如图7中的实线箭头所示的方向聚合),即电子设备接收到用户的第一输入,然后电子设备响应于第一输入,可以将位于第一输入的输入起始位置上的应用任务窗70和应用任务窗72,确定为上述M个应用任务窗。或者,电子设备可以将位于第一输入的输入起始位置上的应用任务窗70和应用任务窗72,以及位于第一输入的输入结束位置上的应用任务窗72,确定为上述M个应用任务窗。Exemplarily, take the first input as an input aggregated by the user with multiple fingers on M application task windows, that is, the above Mode 1 as an example. As shown in FIG. 7 , the user’s two fingers are aggregated on the
又示例性地,以第一输入为用户在上述M个应用任务窗上沿目标方向划圈的输入,即上述方式2为例。如图8中的(b)所示,用户可以在应用任务窗83、应用任务窗84和应用任务窗85上沿顺时针滑圈(即沿如图8中的(b)中的实线箭头所示的方向划圈),即电子设备接收到用户的第一输入,然后电子设备响应于第一输入,可以将位于第一输入的输入形状上的应用任务窗83、应用任务窗84和应用任务窗85,确定为上述M个应用任务窗。For another example, take the first input as the input of the user drawing a circle along the target direction on the above-mentioned M application task windows, that is, the above-mentioned mode 2 as an example. As shown in (b) of FIG. 8 , the user can slide circles clockwise on the
再示例性地,以第一输入为用户对上述M个应用任务窗拖动的输入,即上述方式3为例。如图3所示,用户可以将应用任务窗30和应用任务窗31向右拖动到应用任务窗32上,即电子设备接收到用户的第一输入,然后电子设备响应于第一输入,将位于第一输入的输入结束位置上的应用任务窗30、应用任务窗31和应用任务32,确定为上述M个应用任务窗。For another example, take the first input as the input of the user dragging the above-mentioned M application task windows, that is, the above-mentioned way 3 as an example. As shown in FIG. 3, the user can drag the
S203b、电子设备将M个应用任务窗指示的应用程序确定为M个应用程序。S203b, the electronic device determines the applications indicated by the M application task windows as M applications.
本发明实施例中,由于位于第一输入的输入轨迹上的应用任务窗可能为满足用户需求的应用程序的应用任务窗,因此可以将位于该输入轨迹上的应用任务窗指示的应用程序确定为上述M个应用程序,可以提高用户体验感。In this embodiment of the present invention, since the application task window located on the input track of the first input may be the application task window of the application program that meets the user's needs, the application program indicated by the application task window located on the input track may be determined as The above-mentioned M applications can improve the user experience.
本发明实施例中,由于用户的第一输入可以指示用户需求分屏显示的应用程序的界面,因此根据用户输入的输入轨迹确定的M个应用程序即为满足用户的分屏需求的应用程序,如此可以提高用户体验感。In this embodiment of the present invention, since the user's first input can indicate the user's requirement for the interface of the application program to be displayed on the split screen, the M application programs determined according to the input track input by the user are the application programs that meet the user's split-screen requirement. This can improve the user experience.
进一步地,由于第一输入的输入轨迹不同时,电子设备确定的M个应用程序也不同,因此可以提高电子设备确定M个应用程序的灵活性,进一步提升用户体验感。Further, when the input trajectories of the first input are different, the M application programs determined by the electronic device are also different, so the flexibility of the electronic device in determining the M application programs can be improved, and the user experience can be further improved.
可选地,本发明实施例中,为了便于用户快速查找、操作满足其使用需求的应用任务窗,用户可以在执行上述第一输入之前,先通过一个输入触发电子设备将电子设备中的全部或者部分应用任务窗缩小显示,以增加电子设备的屏幕上显示的应用任务窗的数量。如此,用户可以快速准确地查找、操作满足其使用需求的应用任务窗。Optionally, in this embodiment of the present invention, in order to facilitate the user to quickly find and operate the application task window that meets his usage requirements, the user may first trigger the electronic device through an input before executing the above-mentioned first input Part of the application task windows are reduced in size to increase the number of application task windows displayed on the screen of the electronic device. In this way, the user can quickly and accurately find and operate the application task window that meets his usage requirements.
示例性地,本发明实施例中,结合上述图2,如图9所示,在上述S201之前,本发明实施例提供的分屏显示方法还可以包括下述的S204和S205。Exemplarily, in this embodiment of the present invention, with reference to the foregoing FIG. 2 , as shown in FIG. 9 , before the foregoing S201 , the split-screen display method provided by the embodiment of the present invention may further include the following S204 and S205 .
S204、电子设备接收第二输入。S204, the electronic device receives the second input.
S205、电子设备响应于第二输入,按照预设倍数,缩小显示N个应用任务窗。S205. In response to the second input, the electronic device reduces and displays N application task windows according to a preset multiple.
其中,上述第二输入可以为用户对N个应用任务窗的输入,该N个应用任务窗可以用于指示电子设备后台运行的N个应用程序,N可以为大于或等于M的整数。Wherein, the above-mentioned second input may be user input to N application task windows, the N application task windows may be used to indicate N application programs running in the background of the electronic device, and N may be an integer greater than or equal to M.
本发明实施例中,上述S201中的M个应用任务窗可以为缩小后的N个应用任务窗中的应用任务窗,即N个应用任务窗中包括上述M个应用任务窗。In the embodiment of the present invention, the M application task windows in the above S201 may be the application task windows in the reduced N application task windows, that is, the N application task windows include the above M application task windows.
可选地,本发明实施例中,电子设备接收到用户的第二输入之后,电子设备响应于第二输入,可以选中上述M个应用任务窗,并按照预设倍数,缩小显示该N个应用任务窗。Optionally, in this embodiment of the present invention, after the electronic device receives the second input from the user, in response to the second input, the electronic device may select the above-mentioned M application task windows, and display the N applications in a reduced size according to a preset multiple. task window.
可选地,本发明实施例中,电子设备可以保持缩小后的N个应用任务窗之间的相对位置关系不变(如图8中的(b)所示);或者,电子设备可以调整缩小后的N个应用任务窗之间的相对位置关系,并显示调整相对位置关系后N个应用任务窗(如图8中的(c)所示)。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the electronic device may keep the relative positional relationship between the reduced N application task windows unchanged (as shown in (b) in FIG. 8 ); or, the electronic device may adjust and reduce The relative positional relationship between the N later application task windows is displayed, and the N application task windows after adjusting the relative positional relationship are displayed (as shown in (c) in FIG. 8 ). Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
可选地,本发明实施例中,上述N个应用任务窗指示的N个应用程序可以为电子设备当前运行的全部应用程序,也可以为电子设备当前运行的部分应用程序,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the N application programs indicated by the above-mentioned N application task windows may be all the application programs currently running on the electronic device, or may be part of the application programs currently running on the electronic device. Requirements are determined, which is not limited in the embodiment of the present invention.
为了更清楚地描述本发明实施例提供的分屏显示方法,下面均以上述N个应用任务窗指示的N个应用程序为电子设备当前运行的全部应用程序为例进行示例性地说明。In order to more clearly describe the split-screen display method provided by the embodiments of the present invention, the following is an example of the N application programs indicated by the above N application task windows being all the application programs currently running on the electronic device.
可选地,本发明实施例中,电子设备可以在一个页面(以下称为“运行任务页面”)中显示电子设备当前运行的全部应用程序的应用任务窗。该“运行任务页面”可以为一个长页面,即电子设备的屏幕的至少一个方向上的显示尺寸小于该“运行任务页面”的尺寸,从而电子设备的屏幕上可以显示该“运行任务页面”中的部分应用任务窗。如此,用户可以通过在该页面上的输入(例如向左或向右滑动),触发电子设备依次显示该“运行任务页面”中的全部应用任务窗。Optionally, in this embodiment of the present invention, the electronic device may display application task windows of all application programs currently running on the electronic device on a page (hereinafter referred to as a "running task page"). The "running task page" may be a long page, that is, the display size in at least one direction of the screen of the electronic device is smaller than the size of the "running task page", so that the "running task page" can be displayed on the screen of the electronic device. part of the application task window. In this way, the user can trigger the electronic device to display all application task windows in the "running task page" in sequence by inputting on the page (eg, swiping left or right).
需要说明的是,本发明实施例中,上述“运行任务页面”中包括的应用任务窗可以为电子设备在第一预设时间段内运行的应用程序的应用任务窗。其中,第一预设时间段可以为最近1天(24小时),最近1个星期,最近一个月等,具体可以根据实际使用需求确定,本发明实施例不作限定。It should be noted that, in this embodiment of the present invention, the application task window included in the above-mentioned "running task page" may be an application task window of an application program that the electronic device runs within the first preset time period. The first preset time period may be the last day (24 hours), the last week, the last month, etc., which may be specifically determined according to actual usage requirements, which are not limited in the embodiment of the present invention.
可选地,本发明实施例中,用户对上述N个应用任务窗的输入具体可以为用户在上述“运行任务页面”上的输入。Optionally, in this embodiment of the present invention, the user's input to the above-mentioned N application task windows may specifically be the user's input on the above-mentioned "running task page".
可选地,本发明实施例中,一种情况下,电子设备可以在上述“运行任务页面”中设置一个控件(以下称为目标控件),该目标控件可以用于触发电子设备缩小显示上述N个运行任务窗,这种情况下,上述第二输入可以为用户对目标控件的输入。另一种情况下,第二输入可以为用户在上述“运行任务页面”中的空白处的点击输入、长按输入或重按输入等任意可能形式的输入。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, in one case, the electronic device may set a control (hereinafter referred to as a target control) in the above-mentioned "running task page", and the target control may be used to trigger the electronic device to zoom out and display the above N. In this case, the above-mentioned second input may be the user's input to the target control. In another case, the second input may be any possible form of input, such as a click input, a long-press input, or a re-press input by the user in the blank space in the above-mentioned "running task page". Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
其中,上述点击输入可以为其中,上述点击输入可以为单击、双击或者连续点击预设次数的输入。上述长按输入可以为接触预设时长的输入。上述重按输入也称为压力触控输入,是指用户以大于或等于压力阈值的压力值按下的输入。Wherein, the above-mentioned click input may be wherein, the above-mentioned click input may be an input of a single click, a double click, or a preset number of consecutive clicks. The above-mentioned long-press input may be an input of a preset duration of contact. The above-mentioned re-press input is also referred to as a pressure touch input, which refers to an input in which the user presses with a pressure value greater than or equal to a pressure threshold.
本发明实施例中,上述预设次数、预设时长以及压力阈值均可以根据实际使用需求确定,本发明实施例不作限定。In the embodiment of the present invention, the above-mentioned preset number of times, the preset duration, and the pressure threshold may be determined according to actual usage requirements, which are not limited in the embodiment of the present invention.
下面再结合图8对上述S204和S205进行示例性地说明。The foregoing S204 and S205 will be exemplarily described below with reference to FIG. 8 .
示例性地,假设N个应用任务窗指示的N个应用程序为电子设备当前运行的全部应用程序;又假设预设倍数为3;那么如图8中的(a)所示,电子设备中的“运行任务页面”80中包括目标控件81和5个应用任务窗(图8中未完全示出),从而用户可以在目标控件81上点击,即电子设备接收到用户的第二输入,然后电子设备响应于第二输入,将该5个应用任务窗缩小3倍;然后,如图8中的(b)或图8中的(c)所示,电子设备可以显示缩小3倍后的这5个应用任务窗;即电子设备按照预设倍数,缩小显示N个应用任务窗。Exemplarily, it is assumed that the N applications indicated by the N application task windows are all the applications currently running on the electronic device; it is also assumed that the preset multiple is 3; then, as shown in (a) in FIG. The "run task page" 80 includes a
需要说明的是,在图8中的(b)中,由于电子设备保持上述5个应用任务窗之间的相对位置关系不变,而电子设备的屏幕的横向显示尺寸,小于缩小后的这5个应用任务窗的横向显示尺寸,因此使得缩小3倍后的这5个应用任务窗的最后一个应用任务窗未显示出来。这时,用户可以单指在电子设备的屏幕上向左滑动,以触发电子设备显示缩小后的最后一个应用任务窗。It should be noted that in (b) of FIG. 8, since the electronic device keeps the relative positional relationship between the above five application task windows unchanged, the horizontal display size of the screen of the electronic device is smaller than the reduced five The horizontal display size of the 5 application task windows makes the last application task window of the 5 application task windows reduced by 3 times not displayed. At this time, the user may slide one finger to the left on the screen of the electronic device to trigger the electronic device to display the last reduced application task window.
本发明实施例中,由于用户可以通过第二输入触发电子设备缩小显示上述N个应用任务窗,因此可以使得电子设备的屏幕上同时显示更多数量的应用任务窗,从而用户可以快速查找、操作满足其分屏需求的应用任务窗。如此可以提高操作灵活性,提高人机交互性能。In this embodiment of the present invention, since the user can trigger the electronic device to display the above N application task windows in a reduced size through the second input, a larger number of application task windows can be simultaneously displayed on the screen of the electronic device, so that the user can quickly search and operate An application task window that meets its split-screen needs. This can improve operational flexibility and improve human-computer interaction performance.
可以理解,上述实施例是以用户需求电子设备分屏显示电子设备当前运行的M个应用程序的界面为例进行示例性地描述的。实际实现中,本发明实施例提供的分屏显示方法的思想还可以应用于用户需求电子设备分屏显示两个应用图标指示的应用程序的界面的场景(以下称为场景1)中。It can be understood that, the above-mentioned embodiments are exemplarily described by taking an example that the user requires the electronic device to display the interface of the M application programs currently running on the electronic device in a split screen as an example. In actual implementation, the idea of the split-screen display method provided by the embodiments of the present invention can also be applied to a scenario (hereinafter referred to as scenario 1) where a user requires an electronic device to display an interface of an application program indicated by two application icons on a split-screen.
可选地,本发明实施例中,当用户需求电子设备分屏显示至少两个应用图标指示的应用程序的界面时,用户可以对该至少两个应用程序的图标执行一个输入(以下称为目标输入),电子设备接收到目标输入之后,一种可能的实现方式中,电子设备可以直接分屏显示该至少两个图标指示的应用程序;另一种可能的实现方式中,电子设备可以显示一个选择框,该选择框中可以包括第一选项和第二选项,其中,第一选项可以用于触发电子设备分屏显示该至少两个应用图标指示的应用程序的界面,第二选项可以用于触发电子设备将该至少两个应用图标归类显示到一个文件夹中。可以理解,本发明实施例中,在另一种可能的实现方式中,若用户对第二选项执行另一个输入(例如点击输入),则电子设备可以分屏显示该至少两个应用图标指示的应用程序的界面。Optionally, in this embodiment of the present invention, when the user requires the electronic device to display the interface of the application program indicated by the at least two application icons in a split screen, the user may perform an input (hereinafter referred to as the target) for the icons of the at least two application programs. input), after the electronic device receives the target input, in a possible implementation manner, the electronic device may directly display the application program indicated by the at least two icons on a split screen; in another possible implementation manner, the electronic device may display a A selection box, the selection box may include a first option and a second option, where the first option may be used to trigger the electronic device to split-screen display the interface of the application indicated by the at least two application icons, and the second option may be used to Triggering the electronic device to categorize and display the at least two application icons into a folder. It can be understood that, in this embodiment of the present invention, in another possible implementation manner, if the user performs another input (for example, a click input) on the second option, the electronic device may display the information indicated by the at least two application icons on a split screen. The interface of the application.
可选地,本发明实施例中,在上述一种可能的实现方式中,上述至少两个应用图标为“近期使用应用页面”中的应用图标。在上述另一种可能的实现方式中,上述至少两个应用图标为电子设备的桌面中的图标。Optionally, in this embodiment of the present invention, in the above-mentioned possible implementation manner, the above-mentioned at least two application icons are application icons in the "recently used application page". In another possible implementation manner of the above, the above at least two application icons are icons on the desktop of the electronic device.
可选地,本发明实施例中,上述近期使用应用页面中的应用图标为电子设备在第二预设时间段(具体可以根据实际使用需求确定)内运行的全部应用程序的图标。Optionally, in the embodiment of the present invention, the application icons in the above-mentioned recently used application page are icons of all application programs running by the electronic device within the second preset time period (specifically, it may be determined according to actual use requirements).
通常,上述近期使用应用页面中显示的图标的数量小于或等于电子设备桌面中显示的图标的数量。Generally, the number of icons displayed in the above-mentioned recently used application page is less than or equal to the number of icons displayed in the desktop of the electronic device.
需要说明的是,本发明实施例中,当电子设备全屏显示一个界面(例如全屏显示下述图10中的(a)所示的界面10)时,用户可以通过对在该界面上执行一个分屏输入(例如三指下滑),触发电子设备分屏显示上述“近期使用应用页面”和该界面。It should be noted that, in this embodiment of the present invention, when the electronic device displays an interface in full screen (for example, the
可选地,本发明实施例中,上述目标输入可以为用户多指在该至少两个图标上聚合的输入。或者,上述目标输入可以为用户对该至少两个图标拖动的输入,例如,以至少两个图标为2个图标为例,该一个输入可以为用户将一个图标拖动到另一个图标上的输入。Optionally, in this embodiment of the present invention, the above-mentioned target input may be an input aggregated by the user with multiple fingers on the at least two icons. Alternatively, the above-mentioned target input may be the input of the user dragging the at least two icons. For example, taking the at least two icons as two icons as an example, the one input may be the user dragging one icon onto another icon. enter.
下面再结合图10和图11对上述场景1进行示例性地描述。The foregoing scenario 1 is exemplarily described below with reference to FIG. 10 and FIG. 11 .
示例性地,如图10中的(a)所示,电子设备的屏幕上显示购物应用程序的界面10和“近期使用应用页面”11,其中,“近期使用应用页面”11上显示图标1、图标2和图标3(为电子设备在第二预设时间段内运行的应用程序的图标);那么,用户可以双指在图标1和图标2上聚合(即沿如图10中的实线箭头所示的方向聚合),即电子设备接收到上述目标输入,然后电子设备响应于目标输入,如图10中的(b)所示,电子设备可以分屏显示图标1指示的应用程序的界面12和图标2指示的应用程序的界面13。Exemplarily, as shown in (a) of FIG. 10 , an
又示例性地,如图11中的(a)所示,电子设备桌面14上显示图标5、图标6和图标7;那么,用户可以将图标5拖动至图标6上,即电子设备接收到上述拖动输入,然后电子设备响应于该拖动输入,如图11中的(b)所示,电子设备可以显示一个选择框15,该选择框15中包括“合并到文件夹”选项(即上述第二选项)和“分屏显示”选项(即上述第一选项)。从而,用户可以在“分屏显示”选项上点击,那么电子设备响应于该点击输入,如图11中的(c)所示,电子设备可以分屏显示图标5指示的应用程序的界面16和图标6指示的应用程序的界面17。For another example, as shown in (a) of FIG. 11 , icon 5, icon 6 and icon 7 are displayed on the
本发明实施例中,在上述一种可能的实现方式中,由于用户可以直接对至少两个应用图标输入,即可触发电子设备分屏显示该至少两个应用图标指示的应用程序的界面,因此可以简化电子设备分屏显示应用程序的界面的过程;此外,由于“近期使用应用页面”中的应用图标可以为用户使用频率较高的应用程序的图标,且“近期使用应用页面”中的图标的数量小于或等于桌面中的图标的数量,因此用户可以快速查找到满足其实际使用需求的图标。在上述另一种可能的实现方式中,由于电子设备可以在用户将一个图标拖动至另一个图标上时,显示包括“分屏显示”选项和“合并到文件夹”选项的选择框,因此用户可以根据其使用电子设备的实际使用需求,触发电子设备对这两个图标执行相应操作,从而可以提高操作的灵活性和便捷性,提高人机交互性能。如此,可以简化电子设备分屏显示应用程序的界面的过程,提高用户体验感。In the embodiment of the present invention, in the above-mentioned one possible implementation manner, since the user can directly input at least two application icons, the electronic device can be triggered to display the interface of the application program indicated by the at least two application icons in a split screen, so It can simplify the process of displaying the interface of the application program in a split screen on the electronic device; in addition, because the application icon in the "Recently Used Application Page" can be the icon of the application that is frequently used by the user, and the icon in the "Recently Used Application Page" The number is less than or equal to the number of icons in the desktop, so users can quickly find icons that meet their actual needs. In another possible implementation manner of the above, since the electronic device can display a selection box including the "split screen display" option and the "merge to folder" option when the user drags one icon onto another icon, therefore The user can trigger the electronic device to perform corresponding operations on the two icons according to the actual use requirements of the electronic device, so that the flexibility and convenience of the operation can be improved, and the human-computer interaction performance can be improved. In this way, the process of displaying the interface of the application program in a split screen on the electronic device can be simplified, and the user experience can be improved.
对于上述场景1中的其他描述,具体可以参见上述实施例中的相关描述,为了避免重复,此处不再赘述。For other descriptions in the foregoing scenario 1, specific reference may be made to the relevant descriptions in the foregoing embodiments, which are not repeated here in order to avoid repetition.
需要说明的是,本发明实施例中,上述各个方法附图所示的分屏显示方法均是以结合本发明实施例中的一个附图为例示例性地说明的。具体实现时,上述各个方法附图所示的分屏显示方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。It should be noted that, in the embodiments of the present invention, the split-screen display methods shown in the drawings of the above methods are all illustratively described by taking a drawing in the embodiments of the present invention as an example. During specific implementation, the split-screen display methods shown in the drawings of the above methods can also be implemented in combination with any other drawings shown in the above embodiments that can be combined, and details are not described herein again.
如图12所示,本发明实施例提供一种分屏显示装置120,该分屏显示装置可以包括接收模块121和显示模块122。接收模块121,可以用于接收第一输入,第一输入可以为对M个应用任务窗的输入,该M个应用任务窗可以用于指示分屏显示装置当前运行的M个应用程序,M可以为大于或等于2的整数。显示模块122,可以用于响应于接收模块121接收的第一输入,分屏显示该M个应用程序的界面。As shown in FIG. 12 , an embodiment of the present invention provides a split-
可选地,本发明实施例中,上述第一输入可以为滑动输入,上述M个应用任务窗可以为根据滑动输入的输入轨迹确定的应用任务窗。Optionally, in this embodiment of the present invention, the first input may be a sliding input, and the M application task windows may be application task windows determined according to input trajectories of the sliding input.
可选地,本发明实施例中,上述显示模块122可以包括第一显示子模块和第二显示子模块;第二显示子模块,可以用于在分屏显示装置的不同显示区域显示M个显示控件;第二显示子模块,用于在第一显示子模块显示的该M个显示控件中显示上述M个应用程序的界面,其中,不同显示控件中显示不同应用程序的界面。Optionally, in this embodiment of the present invention, the above-mentioned
可选地,本发明实施例中,上述接收模块121,还可以用于在接收第一输入之前,接收第二输入,第二输入可以为对N个应用任务窗的输入,该N个应用任务窗可以用于指示分屏显示装置当前运行的N个应用程序,N可以为大于或等于M的整数;显示模块122,还可以用于响应于接收模块121接收的第二输入,按照预设倍数,缩小显示该N个应用任务窗;其中,该M个应用任务窗可以为缩小后的N个应用任务窗中的应用任务窗。Optionally, in this embodiment of the present invention, the above-mentioned
可选地,本发明实施例中,上述第一输入可以为多指在上述M个应用任务窗上聚合的输入。Optionally, in this embodiment of the present invention, the above-mentioned first input may be an input aggregated by multiple fingers on the above-mentioned M application task windows.
本发明实施例提供的分屏显示装置120能够实现上述方法实施例所示的分屏显示装置实现的各个过程,为避免重复,这里不再赘述。The split-
本发明实施例提供一种分屏显示装置,该分屏显示装置可以接收第一输入,第一输入为对M个应用任务窗的输入,该M个应用任务窗用于指示分屏显示装置当前运行的M个应用程序,M为大于或等于2的整数;且响应于第一输入,分屏显示该M个应用程序的界面。通过该方案,由于用户可以通过对分屏显示装置当前运行的多个应用程序的应用任务窗的输入(即上述第一输入),触发分屏显示装置分屏显示该多个应用程序的界面,而无需用户依次在分屏显示装置的桌面中查找并操作应用程序的图标触发对该多个应用程序的界面分屏显示,因此可以简化分屏显示装置分屏显示多个应用程序的界面的操作过程,提高人机交互性能。An embodiment of the present invention provides a split-screen display device. The split-screen display device can receive a first input, where the first input is an input to M application task windows, where the M application task windows are used to indicate the current state of the split-screen display device. M running application programs, where M is an integer greater than or equal to 2; and in response to the first input, the interfaces of the M application programs are displayed in a split screen. With this solution, since the user can trigger the split-screen display device to display the interfaces of the multiple application programs in a split-screen by inputting the application task windows of the multiple application programs currently running on the split-screen display device (ie, the above-mentioned first input), There is no need for the user to search and operate the icons of the application programs on the desktop of the split-screen display device in sequence to trigger the split-screen display of the interfaces of the multiple application programs, so the operation of the split-screen display device to display the interfaces of the multiple application programs on the split screen can be simplified. process to improve human-computer interaction performance.
图13为实现本发明各个实施例的一种电子设备的硬件结构示意图。如图13所示,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图13中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、以及计步器等。FIG. 13 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention. As shown in FIG. 13 , the
其中,用户输入单元107,用于接收第一输入,第一输入为对M个应用任务窗的输入,该M个应用任务窗用于指示电子设备当前运行的M个应用程序,M为大于或等于2的整数;显示单元106,用于响应于用户输入单元107接收的第一输入,分屏显示该M个应用程序的界面。Wherein, the
可选地,所述第一输入为滑动输入,所述M个应用任务窗为根据所述滑动输入的输入轨迹确定的应用任务窗。Optionally, the first input is a sliding input, and the M application task windows are application task windows determined according to input trajectories of the sliding input.
可选地,显示单元106,还用于在分屏显示装置的不同显示区域显示M个显示控件;在分屏显示装置的不同显示区域显示M个显示控件。Optionally, the
可选地,用户输入单元107,还用于接收第二输入,所述第二输入为对N个应用任务窗的输入,所述N个应用任务窗用于指示所述电子设备当前运行的N个应用程序,N为大于或等于M的整数。Optionally, the
显示单元106,还用于响应于所述第二输入,按照预设倍数,缩小显示所述N个应用任务窗;The
可选地,第一输入为多指在所述M个应用任务窗上聚合的输入。Optionally, the first input is an input aggregated by multiple fingers on the M application task windows.
可以理解,本发明实施例中,上述分屏显示装置的结构示意图(例如图12)中的接收模块121可以通过上述用户输入单元107实现。上述分屏显示装置的结构示意图(例如图12)中的显示模块122可以通过上述显示单元106实现。It can be understood that, in this embodiment of the present invention, the receiving
本发明实施例提供一种电子设备,该电子设备可以接收第一输入,第一输入为对M个应用任务窗的输入,该M个应用任务窗用于指示电子设备当前运行的M个应用程序,M为大于或等于2的整数;且响应于第一输入,分屏显示该M个应用程序的界面。通过该方案,由于用户可以通过对电子设备当前运行的多个应用程序的应用任务窗的输入(即上述第一输入),触发电子设备分屏显示该多个应用程序的界面,而无需用户依次在电子设备的桌面中查找并操作应用程序的图标触发对该多个应用程序的界面分屏显示,因此可以简化电子设备分屏显示多个应用程序的界面的操作过程,提高人机交互性能。An embodiment of the present invention provides an electronic device that can receive a first input, where the first input is an input to M application task windows, where the M application task windows are used to indicate M application programs currently running on the electronic device , M is an integer greater than or equal to 2; and in response to the first input, the interfaces of the M application programs are displayed in a split screen. With this solution, the user can trigger the electronic device to display the interfaces of the multiple application programs in a split screen by inputting the application task windows of multiple application programs currently running on the electronic device (ie, the above-mentioned first input), without requiring the user to sequentially display the interfaces of the multiple application programs. Finding and operating the icons of the application programs on the desktop of the electronic device triggers the split-screen display of the interfaces of the multiple application programs, thus simplifying the operation process of displaying the interfaces of the multiple application programs on the electronic device split-screen and improving the human-computer interaction performance.
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals in the process of sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the
电子设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides the user with wireless broadband Internet access through the
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(graphics processing unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板1061。The
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图13中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。The
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器110是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器110可包括一个或多个处理单元;可选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The
电子设备100还可以包括给各个部件供电的电源111(比如电池),可选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
另外,电子设备100包括一些未示出的功能模块,在此不再赘述。In addition, the
可选的,本发明实施例还提供一种电子设备,包括如图13所示的处理器110,存储器109,存储在存储器109上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention further provides an electronic device, including a
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(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 foregoing method embodiments can be implemented, and the same technical effects can be achieved. , in order to avoid repetition, it will not be 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 solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010292314.9A CN111596836A (en) | 2020-04-14 | 2020-04-14 | A split-screen display method and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010292314.9A CN111596836A (en) | 2020-04-14 | 2020-04-14 | A split-screen display method and electronic device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111596836A true CN111596836A (en) | 2020-08-28 |
Family
ID=72184984
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010292314.9A Pending CN111596836A (en) | 2020-04-14 | 2020-04-14 | A split-screen display method and electronic device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111596836A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112433693A (en) * | 2020-12-11 | 2021-03-02 | 维沃移动通信(杭州)有限公司 | Split screen display method and device and electronic equipment |
| WO2022068819A1 (en) * | 2020-09-30 | 2022-04-07 | 华为技术有限公司 | Interface display method and related apparatus |
| WO2024183647A1 (en) * | 2023-03-07 | 2024-09-12 | 华为技术有限公司 | Method for switching application program and electronic device |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103809845A (en) * | 2012-11-13 | 2014-05-21 | 上海斐讯数据通信技术有限公司 | Mobile terminal supporting multi-application display and multi-application display method |
| CN106527868A (en) * | 2016-11-29 | 2017-03-22 | 珠海市魅族科技有限公司 | Task management method and device of application program |
| CN106537319A (en) * | 2016-10-31 | 2017-03-22 | 北京小米移动软件有限公司 | Split-screen display method and device |
| CN107203305A (en) * | 2017-05-03 | 2017-09-26 | 努比亚技术有限公司 | It is switched fast method, mobile terminal and the computer-readable recording medium of application |
| US20170322709A1 (en) * | 2016-05-09 | 2017-11-09 | Beijing Xiaomi Mobile Software Co., Ltd. | Split-screen display method, apparatus and medium |
| US20190179503A1 (en) * | 2017-12-13 | 2019-06-13 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and device for displaying task management interface |
-
2020
- 2020-04-14 CN CN202010292314.9A patent/CN111596836A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103809845A (en) * | 2012-11-13 | 2014-05-21 | 上海斐讯数据通信技术有限公司 | Mobile terminal supporting multi-application display and multi-application display method |
| US20170322709A1 (en) * | 2016-05-09 | 2017-11-09 | Beijing Xiaomi Mobile Software Co., Ltd. | Split-screen display method, apparatus and medium |
| CN106537319A (en) * | 2016-10-31 | 2017-03-22 | 北京小米移动软件有限公司 | Split-screen display method and device |
| CN106527868A (en) * | 2016-11-29 | 2017-03-22 | 珠海市魅族科技有限公司 | Task management method and device of application program |
| CN107203305A (en) * | 2017-05-03 | 2017-09-26 | 努比亚技术有限公司 | It is switched fast method, mobile terminal and the computer-readable recording medium of application |
| US20190179503A1 (en) * | 2017-12-13 | 2019-06-13 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and device for displaying task management interface |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2022068819A1 (en) * | 2020-09-30 | 2022-04-07 | 华为技术有限公司 | Interface display method and related apparatus |
| CN112433693A (en) * | 2020-12-11 | 2021-03-02 | 维沃移动通信(杭州)有限公司 | Split screen display method and device and electronic equipment |
| WO2024183647A1 (en) * | 2023-03-07 | 2024-09-12 | 华为技术有限公司 | Method for switching application program and electronic device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110851051A (en) | Object sharing method and electronic equipment | |
| CN111596845A (en) | Display control method and device and electronic equipment | |
| WO2021083132A1 (en) | Icon moving method and electronic device | |
| WO2020258929A1 (en) | Folder interface switching method and terminal device | |
| CN110737374A (en) | Operation method and electronic equipment | |
| CN111273993B (en) | Icon arrangement method and electronic equipment | |
| CN110874147A (en) | A display method and electronic device | |
| CN109857289B (en) | Display control method and terminal equipment | |
| CN110489029A (en) | Icon display method and terminal device | |
| WO2021104163A1 (en) | Icon arrangement method and electronic device | |
| CN110058754A (en) | A kind of option display method and terminal device | |
| CN111596817A (en) | Icon moving method and electronic device | |
| WO2021104193A1 (en) | Interface display method and electronic device | |
| CN110209369A (en) | A kind of interface display method and terminal device | |
| CN110764666A (en) | Display control method and electronic equipment | |
| CN109408072B (en) | Application program deleting method and terminal equipment | |
| CN110244884A (en) | A kind of desktop icon management method and terminal device | |
| CN110647277A (en) | Control method and terminal equipment | |
| WO2021017738A1 (en) | Interface display method and electronic device | |
| CN110989896A (en) | A control method and electronic device | |
| CN109976611A (en) | The control method and terminal device of terminal device | |
| CN109901760B (en) | Object control method and terminal device | |
| CN111352547A (en) | Display method and electronic equipment | |
| CN111596836A (en) | A split-screen display method and electronic device | |
| CN111190517B (en) | Split-screen display method and electronic 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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200828 |
|
| RJ01 | Rejection of invention patent application after publication |