CN108958629A - Split screen quitting method and device, storage medium and electronic equipment - Google Patents
Split screen quitting method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN108958629A CN108958629A CN201810732886.7A CN201810732886A CN108958629A CN 108958629 A CN108958629 A CN 108958629A CN 201810732886 A CN201810732886 A CN 201810732886A CN 108958629 A CN108958629 A CN 108958629A
- Authority
- CN
- China
- Prior art keywords
- split
- screen
- screen display
- application
- exit
- 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
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000013507 mapping Methods 0.000 claims description 32
- 238000012545 processing Methods 0.000 claims description 15
- 238000001514 detection method Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 9
- 230000000717 retained effect Effects 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 15
- 238000004891 communication Methods 0.000 description 7
- 238000007726 management method Methods 0.000 description 6
- 238000010801 machine learning Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 244000025254 Cannabis sativa Species 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请实施例公开了一种分屏退出方法、装置、存储介质和电子设备;方法包括:当处于分屏显示状态时,检测用户针对分屏显示界面的滑动操作;当滑动操作满足预设分屏退出条件时,获取用户执行滑动操作的手指数量;根据手指数量确定在分屏退出后保留显示的目标分屏应用;退出分屏显示状态,并对目标分屏应用进行显示。该方案可以提升分屏退出的效率。
The embodiment of the present application discloses a split-screen exit method, device, storage medium and electronic device; the method comprises: when in a split-screen display state, detecting a user's sliding operation on a split-screen display interface; when the sliding operation meets a preset split-screen exit condition, obtaining the number of fingers of the user performing the sliding operation; determining a target split-screen application to be retained after the split-screen exit according to the number of fingers; exiting the split-screen display state and displaying the target split-screen application. This solution can improve the efficiency of split-screen exit.
Description
技术领域technical field
本申请涉及电子设备领域,具体涉及一种分屏退出方法、装置、存储介质和电子设备。The present application relates to the field of electronic equipment, in particular to a split-screen exit method, device, storage medium and electronic equipment.
背景技术Background technique
随着终端技术的发展,终端已经开始从以前简单地提供通话设备渐渐变成一个通用软件运行的平台。该平台不再以提供通话管理为主要目的,而是提供一个包括通话管理、游戏娱乐、办公记事、移动支付等各类应用软件在内的运行环境,随着大量的普及,已经深入至人们的生活、工作的方方面面。With the development of terminal technology, the terminal has gradually changed from simply providing communication equipment in the past to a platform for general software operation. The platform no longer aims to provide call management, but to provide an operating environment including call management, game entertainment, office notes, mobile payment and other application software. With a large number of popularization, it has penetrated into people's All aspects of life and work.
分屏目前是Android系统智能终端的一种比较常见的用户场景。用户对于分屏使用时的体验是比较重视的,如果用户在使用分屏时,对分屏操作的快捷性,显示的表现力,进入与退出是否方便,人性化,都会有较高的要求,还有操作过程中的流畅度也比较影响体验,用户对手机的性能与直观感受会跟分屏操作关联起来,影响到产品的品牌与声誉。Split screen is currently a relatively common user scenario for Android system smart terminals. Users pay more attention to the experience of split-screen use. If users use split-screen, they will have higher requirements for the quickness of split-screen operation, expressiveness of display, convenience of entry and exit, and humanization. In addition, the smoothness of the operation process also affects the experience. The user's performance and intuitive experience of the mobile phone will be associated with the split-screen operation, which will affect the brand and reputation of the product.
但目前的Android系统,对于用户使用分屏的场景,现阶段并没有特殊的处理,而且操作比较原始,不利于用户的快捷使用。However, in the current Android system, there is no special treatment for the scene where the user uses the split screen at this stage, and the operation is relatively primitive, which is not conducive to the quick use of the user.
发明内容Contents of the invention
本申请实施例提供一种分屏退出方法、装置、存储介质和电子设备,可以提高分屏退出效率。Embodiments of the present application provide a split-screen exit method, device, storage medium, and electronic device, which can improve split-screen exit efficiency.
第一方面,本申请实施例提供一种分屏退出方法,包括:In the first aspect, the embodiment of the present application provides a split-screen exit method, including:
当处于分屏显示状态时,检测用户针对分屏显示界面的滑动操作;When in the split-screen display state, detect the user's sliding operation on the split-screen display interface;
当所述滑动操作满足预设分屏退出条件时,获取用户执行所述滑动操作的手指数量;When the sliding operation satisfies the preset split-screen exit condition, acquire the number of fingers of the user performing the sliding operation;
根据所述手指数量确定在分屏退出后保留显示的目标分屏应用;Determine the target split-screen application that remains displayed after the split-screen exits according to the number of fingers;
退出分屏显示状态,并对所述目标分屏应用进行显示。Exit the split-screen display state, and display the target split-screen application.
第二方面,本申请实施例还提供了一种分屏退出装置,包括:In the second aspect, the embodiment of the present application also provides a split-screen exit device, including:
检测模块,用于当处于分屏显示状态时,检测用户针对分屏显示界面的滑动操作;The detection module is used to detect the user's sliding operation on the split-screen display interface when it is in the split-screen display state;
数量获取模块,用于当所述滑动操作满足预设分屏退出条件时,获取用户执行所述滑动操作的手指数量;A quantity acquisition module, configured to acquire the number of fingers performed by the user for performing the sliding operation when the sliding operation satisfies the preset split-screen exit condition;
应用确定模块,用于根据所述手指数量确定在分屏退出后保留显示的目标分屏应用;An application determination module, configured to determine, according to the number of fingers, the target split-screen application that remains displayed after the split-screen exits;
退出处理模块,用于退出分屏显示状态,并对所述目标分屏应用进行显示。The exit processing module is used to exit the split-screen display state and display the target split-screen application.
第三方面,本申请实施例还提供一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述分屏退出方法的步骤。In a third aspect, the embodiment of the present application further provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method for split-screen exit are implemented.
第四方面,本申请实施例还提供一种电子设备,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述分屏退出方法的步骤。In the fourth aspect, the embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the above-mentioned split-screen exit is realized when the processor executes the program method steps.
本申请实施例可以当处于分屏显示状态时,检测用户针对分屏显示界面的滑动操作;当滑动操作满足预设分屏退出条件时,获取用户执行滑动操作的手指数量;根据手指数量确定在分屏退出后保留显示的目标分屏应用;退出分屏显示状态,并对目标分屏应用进行显示。该方案可以基于用户的滑动操作来实现分屏退出,并且可以基于滑动操作的手指数量来确定分屏退出后保留显示的分屏应用,无需用户进行繁琐的操作,简化了分屏退出操作,对于用户来说,只需要采用相应数量的手指在分屏显示界面上执行滑动操作即可实现分屏退出、并保留显示相应的分屏应用,提升了分屏退出的效率。The embodiment of the present application can detect the user's sliding operation on the split-screen display interface when it is in the split-screen display state; when the sliding operation meets the preset split-screen exit condition, obtain the number of fingers the user performs the sliding operation; Keep the displayed target split-screen application after split-screen exit; exit the split-screen display state, and display the target split-screen application. This solution can realize split-screen exit based on the user's sliding operation, and can determine the split-screen application that remains displayed after the split-screen exit based on the number of fingers used for the sliding operation, which does not require the user to perform cumbersome operations and simplifies the split-screen exit operation. For users, they only need to use a corresponding number of fingers to perform sliding operations on the split-screen display interface to realize split-screen exit and keep displaying the corresponding split-screen application, which improves the efficiency of split-screen exit.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为本申请实施例提供的分屏退出方法的一种流程示意图。FIG. 1 is a schematic flowchart of a split-screen exit method provided by an embodiment of the present application.
图2为本申请实施例提供的分屏显示示意图。FIG. 2 is a schematic diagram of a split-screen display provided by an embodiment of the present application.
图3为本申请实施例提供的分屏显示的另一种示意图。FIG. 3 is another schematic diagram of the split-screen display provided by the embodiment of the present application.
图4为本申请实施例提供的分屏退出方法的场景示意图。FIG. 4 is a schematic diagram of a scenario of a split-screen exit method provided by an embodiment of the present application.
图5为本申请实施例提供的分屏退出方法的另一种场景示意图。FIG. 5 is a schematic diagram of another scene of the split-screen exit method provided by the embodiment of the present application.
图6为本申请实施例提供的分屏退出方法的另一种场景示意图。FIG. 6 is a schematic diagram of another scene of the split-screen exit method provided by the embodiment of the present application.
图7为本申请实施例提供的分屏退出方法的另一种场景示意图。FIG. 7 is a schematic diagram of another scene of the split-screen exit method provided by the embodiment of the present application.
图8为本申请实施例提供的分屏退出方法的另一种场景示意图。FIG. 8 is a schematic diagram of another scene of the split-screen exit method provided by the embodiment of the present application.
图9为本申请实施例提供的分屏退出方法的另一种流程示意图。FIG. 9 is another schematic flow chart of the split-screen exit method provided by the embodiment of the present application.
图10为本申请实施例提供的分屏退出方法的另一种场景示意图。FIG. 10 is a schematic diagram of another scene of the split-screen exit method provided by the embodiment of the present application.
图11为本申请实施例提供的分屏退出装置的一种结构示意图。FIG. 11 is a schematic structural diagram of a split-screen exit device provided by an embodiment of the present application.
图12为本申请实施例提供的分屏退出装置的另一种结构示意图。FIG. 12 is a schematic diagram of another structure of a split-screen exit device provided by an embodiment of the present application.
图13为本申请实施例提供的分屏退出装置的另一种结构示意图。FIG. 13 is a schematic diagram of another structure of a split-screen exit device provided by an embodiment of the present application.
图14为本申请实施例提供的电子设备的一种结构示意图。FIG. 14 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
图15为本申请实施例提供的电子设备的另一种结构示意图。FIG. 15 is another schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
请参照图式,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。Referring to the drawings, wherein the same reference numerals represent the same components, the principles of the present application are exemplified by being implemented in a suitable computing environment. The following description is based on illustrated specific embodiments of the present application, which should not be construed as limiting other specific embodiments of the present application that are not described in detail here.
在以下的说明中,本申请的具体实施例将参考由一部或多部计算机所执行的步骤及符号来说明,除非另有述明。因此,这些步骤及操作将有数次提到由计算机执行,本文所指的计算机执行包括了由代表了以一结构化型式中的数据的电子信号的计算机处理单元的操作。此操作转换该数据或将其维持在该计算机的内存系统中的位置处,其可重新配置或另外以本领域测试人员所熟知的方式来改变该计算机的运作。该数据所维持的数据结构为该内存的实体位置,其具有由该数据格式所定义的特定特性。但是,本申请原理以上述文字来说明,其并不代表为一种限制,本领域测试人员将可了解到以下所述的多种步骤及操作亦可实施在硬件当中。In the following description, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise stated. Accordingly, these steps and operations will several times be referred to as being computer-implemented, which herein refers to operations by a computer processing unit of electronic signals representing data in a structured form. This operation transforms the data or maintains it at a location in the computer's memory system that can reconfigure or otherwise alter the operation of the computer in a manner well known to testers in the art. The data structures maintained by the data are physical locations in the memory that have certain characteristics defined by the data format. However, the principle of the present application is described in the above text, which is not meant to be a limitation, and testers in the field will understand that the various steps and operations described below can also be implemented in hardware.
本申请的原理使用许多其它泛用性或特定目的运算、通信环境或组态来进行操作。所熟知的适合用于本申请的运算系统、环境与组态的范例可包括(但不限于)手持电话、个人计算机、服务器、多处理器系统、微电脑为主的系统、主架构型计算机、及分布式运算环境,其中包括了任何的上述系统或装置。The principles of the present application operate with numerous other general purpose or special purpose computing, communication environments or configurations. Examples of well-known computing systems, environments, and configurations suitable for use in this application may include, but are not limited to, handheld phones, personal computers, servers, multiprocessor systems, microcomputer-based systems, mainframe computers, and A distributed computing environment, including any of the above systems or devices.
以下将分别进行详细说明。The details will be described respectively below.
本实施例将从分屏退出装置的角度进行描述,该装置具体可以集成在电子设备中,该电子设备可以为移动互连接网络设备(如智能手机、平板电脑)等具备图像处理功能的电子设备。This embodiment will be described from the perspective of a split-screen exit device. The device can be integrated in an electronic device, and the electronic device can be an electronic device with an image processing function such as a mobile interconnection network device (such as a smart phone or a tablet computer). .
参考图1,图1为本申请实施例提供的分屏退出方法的一种流程示意图,包括以下步骤:Referring to FIG. 1, FIG. 1 is a schematic flow chart of a split-screen exit method provided in an embodiment of the present application, including the following steps:
101、当处于分屏显示状态时,检测用户针对分屏显示界面的滑动操作。101. When in a split-screen display state, detect a user's sliding operation on a split-screen display interface.
在电子设备处于分屏显示状态时,电子设备将会显示分屏显示界面,该分屏显示界面可以包括多个分屏显示窗口,比如两个、三个或者三个以上的分屏显示窗口。其中,每个分屏显示窗口在屏幕中的位置可以根据实际需求设定,每个分屏显示窗口将对一个应用程序(以下简称应用)进行显示。When the electronic device is in a split-screen display state, the electronic device will display a split-screen display interface, and the split-screen display interface may include multiple split-screen display windows, such as two, three or more than three split-screen display windows. Wherein, the position of each split-screen display window on the screen can be set according to actual needs, and each split-screen display window will display an application program (hereinafter referred to as application).
本申请实施例中,多个分屏显示窗口之间的位置可以根据实际需求设定,比如,多个分屏显示窗口之间可以相互隔离,也可以相互重叠等。In the embodiment of the present application, the positions of the multiple split-screen display windows can be set according to actual needs, for example, the multiple split-screen display windows can be isolated from each other, or can overlap each other.
比如,参考图2,当电子设备处理分屏显示状态时,可以显示两个分屏显示窗口,也即上分屏显示窗口、下分屏显示窗口。在一实施例中,还可以显示左右两个分屏显示窗口。参考图2,上分屏显示窗口对应用A进行分屏显示,下分屏显示窗口对应用B进行分屏显示。For example, referring to FIG. 2 , when the electronic device is in a split-screen display state, it may display two split-screen display windows, that is, an upper split-screen display window and a lower split-screen display window. In an embodiment, two left and right split-screen display windows may also be displayed. Referring to FIG. 2 , the upper split-screen display window performs split-screen display of application A, and the lower split-screen display window performs split-screen display of application B.
又比如,参考图3,当电子设备处理分屏显示状态时,可以显示三个分屏显示窗口,也即分屏显示窗口1、2、3。参考图3,分屏显示窗口1、2、3分别对应用A、B、C进行显示。For another example, referring to FIG. 3 , when the electronic device is in a split-screen display state, it may display three split-screen display windows, that is, split-screen display windows 1, 2, and 3. Referring to FIG. 3 , split-screen display windows 1, 2, and 3 display applications A, B, and C, respectively.
在一实施例中,电子设备可以实时检测针对应用界面的操作如滑动操作,当检测到滑动操作时,电子设备可以得到滑动操作的相关信息,比如,滑动操作的滑动方向、滑动轨迹、滑动时长、滑动距离、滑动速度、滑动手指数量等信息。In an embodiment, the electronic device can detect an operation on the application interface in real time, such as a sliding operation. When the sliding operation is detected, the electronic device can obtain information related to the sliding operation, such as the sliding direction, sliding track, and sliding duration of the sliding operation. , swipe distance, swipe speed, number of swipe fingers and other information.
102、当滑动操作满足预设分屏退出条件时,获取用户执行滑动操作的手指数量。102. Acquire the number of fingers used by the user to perform the sliding operation when the sliding operation satisfies the preset split-screen exit condition.
其中,预设分屏退出条件为预设的触发分屏退出的条件,该条件可以根据实际需求设定,比如,基于滑动操作的相关信息进行设定。比如,预设分屏退出条件可以包括:滑动操作满足预设操作条件;也即,步骤“当检测到的滑动操作满足预设分屏退出条件时,获取用户执行滑动操作的手指数量”,可以包括:Wherein, the preset split-screen exit condition is a preset condition that triggers the split-screen exit, and the condition can be set according to actual needs, for example, based on information related to the sliding operation. For example, the preset split-screen exit condition may include: the sliding operation satisfies the preset operation condition; that is, the step "when the detected sliding operation satisfies the preset split-screen exit condition, obtain the number of fingers used by the user to perform the sliding operation" may be include:
当检测到的滑动操作满足预设操作条件时,获取用户执行滑动操作的手指数量。When the detected sliding operation satisfies the preset operation condition, the number of fingers used by the user to perform the sliding operation is obtained.
其中,预设操作条件可以基于滑动操作的相关操作信息来设定,比如,预设操作条件可以包括滑动操作的滑动方向为预设方向,滑动操作的滑动轨迹为预设轨迹,滑动距离为预设距离等中的至少一种。Wherein, the preset operation condition can be set based on the relevant operation information of the sliding operation, for example, the preset operating condition can include that the sliding direction of the sliding operation is the preset direction, the sliding track of the sliding operation is the preset track, and the sliding distance is the preset At least one of distance and the like is set.
比如,在一实施例中,为了提升分屏退出的操作准确性,预设分屏退出条件可以包括:滑动轨迹经过的分屏显示窗口数量大于预设数量;也即,步骤“当滑动操作满足预设分屏退出条件时,获取用户执行滑动操作的手指数量”,可以包括:For example, in one embodiment, in order to improve the accuracy of split-screen exit operations, the preset split-screen exit conditions may include: the number of split-screen display windows passed by the sliding track is greater than the preset number; that is, the step "when the sliding operation satisfies When presetting the split-screen exit condition, get the number of fingers the user performs the swipe operation", which can include:
获取滑动操作的滑动轨迹;Obtain the sliding track of the sliding operation;
当滑动轨迹经过的分屏显示窗口数量大于预设数量时,确定滑动操作满足预设分屏退出条件,获取用户执行滑动操作的手指数量。When the number of split-screen display windows passed by the sliding track is greater than the preset number, it is determined that the sliding operation satisfies the preset split-screen exit condition, and the number of fingers used by the user to perform the sliding operation is obtained.
例如,参考图2,用户在分屏显示界面上进行滑动操作时,电子设备将会检测到滑动轨迹,然后确定滑动轨迹经过的分屏显示窗口数量,比如,经过上下分屏显示窗口时,那么滑动轨迹经过的分屏显示窗口数量为2,假设预设数量为1,此时,可以确定滑动草满足预设分屏退出条件,电子设备将会获取用户执行滑动操作的手指数量。For example, referring to Figure 2, when the user performs a sliding operation on the split-screen display interface, the electronic device will detect the sliding track, and then determine the number of split-screen display windows that the sliding track passes through, for example, when passing through the upper and lower split-screen display windows, then The number of split-screen display windows passed by the sliding track is 2. Assume that the preset number is 1. At this time, it can be determined that the sliding grass meets the preset split-screen exit condition, and the electronic device will obtain the number of fingers used by the user to perform the sliding operation.
其中,滑动操作的手指数量可以从操作检测存储单元中获取,比如,电子设备对用户针对应用界面的操作进行检测时,可以将检测到的操作信息保存在相应的存储单元(如操作检测存储单元)中,这样后续在需要获取操作信息如滑动手指数量时,可以从该存储单元中提取。Wherein, the number of fingers for the sliding operation can be obtained from the operation detection storage unit. For example, when the electronic device detects the user's operation on the application interface, the detected operation information can be stored in the corresponding storage unit (such as the operation detection storage unit ), so that when it is necessary to obtain operation information such as the number of sliding fingers, it can be extracted from the storage unit.
103、根据手指数量确定在分屏退出后保留显示的目标分屏应用。103. Determine the target split-screen application to be displayed after the split-screen exit according to the number of fingers.
其中,目标分屏应用为在退出分屏功能时需要保留显示的分屏应用,比如,在退出分屏功能需要保留显示分屏应用A,那么应用A即为目标分屏应用。Wherein, the target split-screen application is a split-screen application that needs to be displayed when the split-screen function is exited. For example, if the split-screen application A needs to be retained and displayed when the split-screen function is exited, then application A is the target split-screen application.
其中,基于手指数量确定目标分屏应用的方式可以有多种,比如,在一实施例中,可以预先建立手指数量与分屏显示窗口之间的映射关系,这样后续便可以基于该映射关系和手指数量确定相应的分屏显示窗口,然后,将该分屏显示窗口显示的分屏应用作为目标分屏应用。Among them, there are many ways to determine the target split-screen application based on the number of fingers. For example, in an embodiment, the mapping relationship between the number of fingers and the split-screen display window can be established in advance, so that subsequent applications can be based on the mapping relationship and the split-screen display window. The number of fingers determines the corresponding split-screen display window, and then, the split-screen application displayed in the split-screen display window is used as the target split-screen application.
其中,当分屏显示界面可以包括多个分屏显示窗口时,步骤“根据手指数量确定在分屏退出后保留显示的目标分屏应用”,可以包括:Wherein, when the split-screen display interface may include multiple split-screen display windows, the step of "determining the target split-screen application to be displayed after split-screen exit according to the number of fingers" may include:
获取映射关系集合,映射关系集合包括预设手指数量与分屏应用之间的映射关系;Obtain a set of mapping relationships, the set of mapping relationships includes the mapping relationship between the number of preset fingers and the split-screen application;
根据映射关系集合和手指数量确定在分屏退出后保留显示的目标分屏应用。The target split-screen application that remains displayed after the split-screen exit is determined according to the mapping relationship set and the number of fingers.
其中,分屏应用可以为当前分屏显示的应用程序,比如,参考图2,分屏应用为应用A和应用B。Wherein, the split-screen application may be an application program currently displayed in a split-screen. For example, referring to FIG. 2 , the split-screen application includes application A and application B.
在一实施例中,可以根据映射关系集合确定手指数量对应的分屏应用,并手指数量对应的分屏应用作为在分屏退出后保留显示的目标分屏应用。In an embodiment, the split-screen application corresponding to the number of fingers may be determined according to the set of mapping relationships, and the split-screen application corresponding to the number of fingers may be used as the target split-screen application that remains displayed after the split-screen exit.
其中,映射关系的表现形式可以有多种,比如,可以为表格形式。例如,参考下表为预设手指数量与分屏应用之间的对应关系。There may be multiple representation forms of the mapping relationship, for example, it may be in the form of a table. For example, refer to the table below for the correspondence between the number of preset fingers and the split-screen application.
表1Table 1
比如,参考图4,当用户在应用界面上用一根手指进行滑动操作时,电子设备可以获取滑动操作的手指数量为1,根据上表,可以得到分屏退出后保留显示的分屏应用为应用A。电子设备会在退出分屏时将保留显示应用A,也即保留显示上分屏显示窗口显示的应用。For example, referring to Figure 4, when the user uses one finger to perform a sliding operation on the application interface, the number of fingers that the electronic device can obtain for the sliding operation is 1. According to the above table, the split-screen application that remains displayed after the split-screen exit can be obtained as apply a. When exiting the split screen, the electronic device will keep displaying the application A, that is, keep displaying the application displayed in the split screen display window.
又比如,参考图5,当用户在应用界面上用户两根手指进行滑动操作时,电子设备可以获取滑动操作的手指数量为2,根据上表,可以得到分屏退出后保留显示的分屏应用为应用B。电子设备会在退出分屏时将保留显示应用B。For another example, referring to Figure 5, when the user performs a sliding operation with two fingers on the application interface, the number of fingers that the electronic device can obtain for the sliding operation is 2. According to the above table, the split-screen application that remains displayed after the split-screen exit can be obtained For application B. The electronic device will keep displaying application B when exiting the split screen.
在一实施例中,还可以基于算法模型如机器学习模型预测滑动手指数量对应的分屏应用;比如,可以利用历史滑动手指数量及其对应的保留显示分屏应用,然后,基于历史数据对算法模型如机器学习模型进行训练,这样后续便可以基于训练后的如机器学习模型。In an embodiment, the split-screen application corresponding to the number of sliding fingers can also be predicted based on an algorithm model such as a machine learning model; A model such as a machine learning model is trained, so that the follow-up can be based on the trained machine learning model.
又比如,在一实施例中,还可以基于滑动方向选择一些分屏显示窗口,然后,根据手指数量在这些分屏显示窗口中确定一个分屏显示窗口,将该分屏显示窗口显示的分屏应用作为保留显示的目标分屏应用。For another example, in one embodiment, some split-screen display windows can also be selected based on the sliding direction, and then a split-screen display window is determined in these split-screen display windows according to the number of fingers, and the split-screen display window displayed by the split-screen display window app as the target split-screen app for the reserved display.
比如,当分屏显示界面包括至少三个分屏显示窗口时,步骤“根据手指数量确定在分屏退出后保留显示的目标分屏应用”,可以包括:For example, when the split-screen display interface includes at least three split-screen display windows, the step of "determining the target split-screen application to be displayed after split-screen exit according to the number of fingers" may include:
根据滑动操作的滑动方向从分屏显示窗口中选择候选分屏显示窗口;Select a candidate split-screen display window from the split-screen display windows according to the sliding direction of the sliding operation;
从候选分屏显示窗口中选取手指数量对应的目标分屏显示窗口;Select the target split-screen display window corresponding to the number of fingers from the candidate split-screen display windows;
将目标分屏显示窗口显示的分屏应用作为在分屏退出后保留显示的目标分屏应用。The split-screen application displayed in the target split-screen display window is used as the target split-screen application that remains displayed after the split-screen exits.
其中,基于滑动方向选择候选分屏显示窗口的方式可以有多种,比如,在一实施例中,可以选择朝向滑动方向的分屏显示窗口,或者选择背离滑动方向的分屏显示窗口,等等。There are multiple ways to select candidate split-screen display windows based on the sliding direction. For example, in one embodiment, a split-screen display window facing the sliding direction can be selected, or a split-screen display window facing away from the sliding direction can be selected, etc. .
在确定候选分屏显示窗口后,可以基于手指数量选择目标分屏显示窗口,其中,基于手指数量选择目标分屏显示窗口的方式可以有多种,比如,可以预先建立手指数量与分屏显示窗口之间的映射关系,这些后续便可以基于该映射关系来确定目标分屏显示窗口。After the candidate split-screen display window is determined, the target split-screen display window can be selected based on the number of fingers. There are multiple ways to select the target split-screen display window based on the number of fingers. For example, the number of fingers and the split-screen display window can be established in advance. The mapping relationship among them, and then the target split-screen display window can be determined based on the mapping relationship.
又比如,在一实施例中,不同手指数量对应不同的分屏显示窗口,比如,可以对应不同位置的分屏显示窗口。For another example, in an embodiment, different numbers of fingers correspond to different split-screen display windows, for example, may correspond to split-screen display windows at different positions.
其中,映射关系的表现形式可以有多种,比如,可以为表格形式。例如,参考下表为预设手指数量与分屏显示窗口之间的对应关系。There may be multiple representation forms of the mapping relationship, for example, it may be in the form of a table. For example, refer to the table below for the correspondence between the number of preset fingers and the split-screen display window.
表2Table 2
又比如,参考图6,当用户在应用界面上用户一根手指向上进行滑动操作时,电子设备可以获取滑动操作的滑动方向(即向上)和手指数量为1,电子设备根据滑动方向选择分屏显示窗口1和和分屏显示窗口2作为候选分屏显示窗口,然后,根据上表,可以确定手指数量1对应的目标分屏显示窗口为窗口1,此时,可以将分屏显示窗口1显示的分屏应用即应用A,作为分屏退出后保留显示的分屏应用。电子设备会在退出分屏时将保留显示应用A。For another example, referring to FIG. 6, when the user slides one finger upwards on the application interface, the electronic device can obtain the sliding direction of the sliding operation (that is, upward) and the number of fingers is 1, and the electronic device selects the split screen according to the sliding direction. Display window 1 and split-screen display window 2 as candidate split-screen display windows. Then, according to the above table, it can be determined that the target split-screen display window corresponding to the number of fingers 1 is window 1. At this time, split-screen display window 1 can be displayed The split-screen application of , namely application A, is the split-screen application that remains displayed after exiting the split-screen. The electronic device will keep displaying the application A when exiting the split screen.
在一实施例中,为了提升分屏退出应用显示的智能性和灵活性,还可以基于滑动轨迹选择一些分屏显示窗口,然后,根据手指数量在这些分屏显示窗口中确定一个分屏显示窗口,将该分屏显示窗口显示的分屏应用作为保留显示的目标分屏应用。In an embodiment, in order to improve the intelligence and flexibility of split screen exit application display, it is also possible to select some split screen display windows based on the sliding track, and then determine a split screen display window in these split screen display windows according to the number of fingers , and use the split-screen application displayed in the split-screen display window as the target split-screen application for reserved display.
比如,当分屏显示界面包括多个分屏显示窗口时,步骤“根据手指数量确定在分屏退出后保留显示的目标分屏应用”,可以包括:For example, when the split-screen display interface includes multiple split-screen display windows, the step of "determining the target split-screen application to be displayed after split-screen exit according to the number of fingers" may include:
确定滑动操作的滑动轨迹经过的分屏显示窗口,得到候选分屏显示窗口;Determine the split-screen display window through which the sliding track of the sliding operation passes, and obtain a candidate split-screen display window;
从候选分屏显示窗口中选取手指数量对应的目标分屏显示窗口;Select the target split-screen display window corresponding to the number of fingers from the candidate split-screen display windows;
将目标分屏显示窗口显示的分屏应用作为在分屏退出后保留显示的目标分屏应用。The split-screen application displayed in the target split-screen display window is used as the target split-screen application that remains displayed after the split-screen exits.
其中,候选分屏显示窗口可以为分屏显示界面上滑动轨迹经过或路过的分屏显示窗口。Wherein, the candidate split-screen display window may be a split-screen display window that the sliding track on the split-screen display interface passes or passes by.
在确定候选分屏显示窗口后,可以基于手指数量选择目标分屏显示窗口,其中,基于手指数量选择目标分屏显示窗口的方式可以有多种,比如,可以预先建立手指数量与分屏显示窗口之间的映射关系,这些后续便可以基于该映射关系来确定目标分屏显示窗口。After the candidate split-screen display window is determined, the target split-screen display window can be selected based on the number of fingers. There are multiple ways to select the target split-screen display window based on the number of fingers. For example, the number of fingers and the split-screen display window can be established in advance. The mapping relationship among them, and then the target split-screen display window can be determined based on the mapping relationship.
又比如,在一实施例中,不同手指数量对应不同的分屏显示窗口,比如,可以对应不同位置的分屏显示窗口。For another example, in an embodiment, different numbers of fingers correspond to different split-screen display windows, for example, may correspond to split-screen display windows at different positions.
其中,映射关系的表现形式可以有多种,比如,可以为表格形式,参考上述表2。There may be various forms of representation of the mapping relationship, for example, it may be in the form of a table, refer to Table 2 above.
例如,参考图7,当用户在应用界面上用户两根手指屏幕右上角进行滑动操作时,电子设备可以获取滑动操作的轨迹和手指数量为2,电子设备检测到滑动轨迹经过窗口2和窗口3,此时,可以选择分屏显示窗口2和和分屏显示窗口3作为候选分屏显示窗口,然后,根据上表2,可以确定手指数量2对应的目标分屏显示窗口为窗口2,此时,可以将分屏显示窗口2显示的分屏应用即应用B,作为分屏退出后保留显示的分屏应用。电子设备会在退出分屏时将保留显示应用B。For example, referring to Figure 7, when the user performs a sliding operation on the upper right corner of the screen with two fingers on the application interface, the electronic device can obtain the trajectory of the sliding operation and the number of fingers is 2, and the electronic device detects that the sliding trajectory passes through window 2 and window 3 , at this time, split-screen display window 2 and split-screen display window 3 can be selected as candidate split-screen display windows, and then, according to the above table 2, it can be determined that the target split-screen display window corresponding to the number of fingers 2 is window 2, at this time , the split-screen application displayed in the split-screen display window 2, that is, application B, can be used as the split-screen application that remains displayed after the split-screen exit. The electronic device will keep displaying application B when exiting the split screen.
在一实施例中,为了提升分屏退出应用显示的智能性和灵活性,还可以基于滑动操作的起始位置初步选择一些候选分屏显示窗口,然后,根据手指数量在这些分屏显示窗口中确定一个分屏显示窗口,将该分屏显示窗口显示的分屏应用作为保留显示的目标分屏应用。In an embodiment, in order to improve the intelligence and flexibility of split-screen exit application display, some candidate split-screen display windows can also be preliminarily selected based on the initial position of the sliding operation, and then, according to the number of fingers in these split-screen display windows A split-screen display window is determined, and the split-screen application displayed in the split-screen display window is used as a target split-screen application for reserved display.
比如,当分屏显示界面包括多个分屏显示窗口时,步骤“根据手指数量确定在分屏退出后保留显示的目标分屏应用”,可以包括:For example, when the split-screen display interface includes multiple split-screen display windows, the step of "determining the target split-screen application to be displayed after split-screen exit according to the number of fingers" may include:
确定滑动操作的起始位置所在的起始分屏显示窗口;Determine the initial split-screen display window where the initial position of the sliding operation is located;
根据起始分屏显示窗口从多个分屏显示窗口中确定保留显示的候选分屏显示窗口;determining a candidate split-screen display window to be reserved from multiple split-screen display windows according to the initial split-screen display window;
从候选分屏显示窗口中选取手指数量对应的目标分屏显示窗口;Select the target split-screen display window corresponding to the number of fingers from the candidate split-screen display windows;
将目标分屏显示窗口显示的分屏应用作为在分屏退出后保留显示的目标分屏应用。The split-screen application displayed in the target split-screen display window is used as the target split-screen application that remains displayed after the split-screen exits.
在一实施例中,可以选择除起始分屏显示窗口以外的分屏显示窗口作为候选分屏显示窗口。In an embodiment, a split-screen display window other than the initial split-screen display window may be selected as a candidate split-screen display window.
在确定候选分屏显示窗口后,可以基于手指数量选择目标分屏显示窗口,其中,基于手指数量选择目标分屏显示窗口的方式可以有多种,比如,可以预先建立手指数量与分屏显示窗口之间的映射关系,这些后续便可以基于该映射关系来确定目标分屏显示窗口。After the candidate split-screen display window is determined, the target split-screen display window can be selected based on the number of fingers. There are many ways to select the target split-screen display window based on the number of fingers. For example, the number of fingers and the split-screen display window can be established in advance. The mapping relationship among them, and then the target split-screen display window can be determined based on the mapping relationship.
又比如,在一实施例中,不同手指数量对应不同的分屏显示窗口,比如,可以对应不同位置的分屏显示窗口。For another example, in an embodiment, different numbers of fingers correspond to different split-screen display windows, for example, may correspond to split-screen display windows at different positions.
其中,映射关系的表现形式可以有多种,比如,可以为表格形式,参考上述表2。There may be various forms of representation of the mapping relationship, for example, it may be in the form of a table, refer to Table 2 above.
例如,参考图8,当用户在应用界面上用户两根手指进行滑动操作时,电子设备可以手指数量为2,并检测到滑动操作的起始位置,以及起始位置在窗口1中,此时,电子设备将会选择分屏显示窗口2和和分屏显示窗口3作为候选分屏显示窗口,然后,根据上表2,可以确定手指数量2对应的目标分屏显示窗口为窗口2,此时,可以将分屏显示窗口2显示的分屏应用即应用B,作为分屏退出后保留显示的分屏应用。电子设备会在退出分屏时将保留显示应用B。For example, referring to FIG. 8 , when the user performs a sliding operation with two fingers on the application interface, the electronic device may have two fingers and detect the starting position of the sliding operation, and the starting position is in window 1, at this time , the electronic device will select split-screen display window 2 and split-screen display window 3 as candidate split-screen display windows, and then, according to the above table 2, it can be determined that the target split-screen display window corresponding to the number of fingers 2 is window 2, at this time , the split-screen application displayed in the split-screen display window 2, that is, application B, can be used as the split-screen application that remains displayed after the split-screen exit. The electronic device will keep displaying application B when exiting the split screen.
104、退出分屏显示状态,并对目标分屏应用进行显示。104. Exit the split-screen display state, and display the target split-screen application.
比如,图4和图5,电子设备可以退出分屏显示功能,并对应用A或应用B进行显示。For example, as shown in FIG. 4 and FIG. 5 , the electronic device can exit the split-screen display function and display application A or application B.
在一实施例中,为了提升显示效果和用户体验,可以在退出分屏显示状态时,可以仅仅保留显示目标分屏应用的分屏显示窗口,并对该分屏显示窗口放大,同时关闭除显示目标分屏应用的分屏显示窗口以外的窗口。In an embodiment, in order to improve the display effect and user experience, when exiting the split-screen display state, only the split-screen display window displaying the target split-screen application can be reserved, and the split-screen display window can be enlarged, and the other screen display window can be closed at the same time. A window other than the split-screen display window of the target split-screen app.
比如,步骤“退出分屏显示状态,并对目标分屏应用进行显示”,可以包括:For example, the step "exit the split-screen display state and display the target split-screen application" may include:
退出分屏显示状态,并对目标分屏应用进行显示,包括:Exit the split-screen display state and display the target split-screen application, including:
退出分屏显示状态,并关闭不显示目标分屏应用的分屏显示窗口;Exit the split-screen display state, and close the split-screen display window that does not display the target split-screen application;
根据屏幕的尺寸信息对显示目标分屏应用的分屏显示窗口进行放大。The split-screen display window displaying the target split-screen application is enlarged according to the size information of the screen.
在一实施例中,可以显示目标分屏应用的分屏显示窗口放大到与屏幕尺寸匹配,如相同等。In an embodiment, the split-screen display window displaying the target split-screen application may be enlarged to match the screen size, such as the same.
例如,参考图4,当确定保留显示的分屏应用为应用A后,可以关闭下分屏显示窗口,将显示应用A的上分屏显示窗口放大到屏幕尺寸。For example, referring to FIG. 4 , after it is determined that the split-screen application reserved for display is application A, the lower split-screen display window may be closed, and the upper split-screen display window displaying application A may be enlarged to the screen size.
又例如,参考图5,当确定保留显示的分屏应用为应用B后,可以关闭显示应用A、应用C的左上分屏显示窗、下分屏显示窗口,将显示应用B的右上分屏显示窗口放大到屏幕尺寸。For another example, referring to Figure 5, after it is determined that the split-screen application reserved for display is application B, the upper left split-screen display window and the lower split-screen display window of application A and application C can be closed, and the upper right split-screen display of application B will be displayed The window is enlarged to fit the screen size.
应当理解的是:本申请实施例虽然是以分屏显示状态时分成两个和三个分屏显示窗口的情况介绍本申请的方法,但是,本申请不限于分屏成两个显示窗口的场景,还可以适用于分屏时分成两个以上如四个、五个显示窗口的场景,具体实现方式与分成两个显示窗口的实现方式相同或类似,可以参考上述的内容,这里不再赘述。It should be understood that although the embodiment of the present application introduces the method of the present application by dividing the display window into two and three split-screen display windows in the split-screen display state, the present application is not limited to the scenario of splitting the screen into two display windows , and can also be applied to the scene where the screen is divided into two or more such as four or five display windows. The specific implementation method is the same as or similar to the implementation method of dividing into two display windows. You can refer to the above content and will not repeat it here.
本申请实施例中,上述电子设备可以是任何能够运行应用程序的智能电子设备,例如:手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile InternetDevice,MID)或可穿戴式设备(Wearable Device)等。In the embodiment of the present application, the above-mentioned electronic device may be any intelligent electronic device capable of running an application program, such as a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (personal digital assistant, PDA for short), Mobile Internet Device (Mobile Internet Device, MID) or wearable device (Wearable Device) and so on.
由上可知,本申请实施例可以当处于分屏显示状态时,检测用户针对分屏显示界面的滑动操作;当滑动操作满足预设分屏退出条件时,获取用户执行滑动操作的手指数量;根据手指数量确定在分屏退出后保留显示的目标分屏应用;退出分屏显示状态,并对目标分屏应用进行显示。该方案可以基于用户的滑动操作来实现分屏退出,并且可以基于滑动操作的手指数量来确定分屏退出后保留显示的分屏应用,无需用户进行繁琐的操作,简化了分屏退出操作,对于用户来说,只需要采用相应数量的手指在分屏显示界面上执行滑动操作即可实现分屏退出、并保留显示相应的分屏应用,提升了分屏退出的效率。此外,方案还可以提供了多种保留显示应用确定方式,可以提升分屏退出的灵活性。As can be seen from the above, the embodiment of the present application can detect the user's sliding operation on the split-screen display interface when it is in the split-screen display state; when the sliding operation meets the preset split-screen exit condition, obtain the number of fingers the user performs the sliding operation; according to The number of fingers determines the target split-screen application that remains displayed after the split-screen exit; the split-screen display state is exited, and the target split-screen application is displayed. This solution can realize split-screen exit based on the user's sliding operation, and can determine the split-screen application that remains displayed after the split-screen exit based on the number of fingers used for the sliding operation, which does not require the user to perform cumbersome operations and simplifies the split-screen exit operation. For users, they only need to use a corresponding number of fingers to perform sliding operations on the split-screen display interface to realize split-screen exit and keep displaying the corresponding split-screen application, which improves the efficiency of split-screen exit. In addition, the solution may also provide multiple determination methods for retaining the display application, which may improve the flexibility of split-screen exit.
根据上述实施例的描述,以下将进一步地来说明本申请的分屏退出方法。According to the description of the above embodiments, the split-screen exit method of the present application will be further described below.
请参阅图9,图9为本申请实施例提供的另一种分屏退出方法的流程示意图,包括以下步骤:Please refer to FIG. 9. FIG. 9 is a schematic flowchart of another split-screen exit method provided by the embodiment of the present application, including the following steps:
201、当处于分屏显示状态时,电子设备检测用户针对分屏显示界面的滑动操作。201. When in a split-screen display state, the electronic device detects a user's sliding operation on a split-screen display interface.
在电子设备处于分屏显示状态时,电子设备将会显示分屏显示界面,该分屏显示界面可以包括多个分屏显示窗口,比如两个、三个或者三个以上的分屏显示窗口。其中,每个分屏显示窗口在屏幕中的位置可以根据实际需求设定,每个分屏显示窗口将对一个应用程序(以下简称应用)进行显示。When the electronic device is in a split-screen display state, the electronic device will display a split-screen display interface, and the split-screen display interface may include multiple split-screen display windows, such as two, three or more than three split-screen display windows. Wherein, the position of each split-screen display window on the screen can be set according to actual needs, and each split-screen display window will display an application program (hereinafter referred to as application).
本申请实施例中,多个分屏显示窗口之间的位置可以根据实际需求设定,比如,可以多个分屏显示窗口之间可以相互隔离等。In the embodiment of the present application, the positions of the multiple split-screen display windows may be set according to actual needs, for example, the multiple split-screen display windows may be isolated from each other.
比如,参考图10在电子设备显示应用A的应用界面时,电子设备可以检测用户针对该应用界面的滑动操作。For example, referring to FIG. 10 , when the electronic device displays the application interface of application A, the electronic device may detect the user's sliding operation on the application interface.
在一实施例中,电子设备可以实时检测针对应用界面的操作如滑动操作,当检测到滑动操作时,电子设备可以得到滑动操作的相关信息,比如,滑动操作的滑动方向、滑动轨迹、滑动时长、滑动距离、滑动速度、滑动手指数量等信息。In an embodiment, the electronic device can detect an operation on the application interface in real time, such as a sliding operation. When the sliding operation is detected, the electronic device can obtain information related to the sliding operation, such as the sliding direction, sliding track, and sliding duration of the sliding operation. , swipe distance, swipe speed, number of swipe fingers and other information.
202、当滑动操作满足预设分屏退出条件时,电子设备获取用户执行滑动操作的手指数量。202. When the sliding operation satisfies a preset split-screen exit condition, the electronic device obtains the number of fingers performed by the user for performing the sliding operation.
其中,预设分屏退出条件为预设的触发分屏退出的条件,该条件可以根据实际需求设定,比如,基于滑动操作的相关信息进行设定。比如,预设分屏退出条件可以包括:滑动操作满足预设操作条件;也即,步骤“当检测到的滑动操作满足预设分屏退出条件时,获取用户执行滑动操作的手指数量”,可以包括:Wherein, the preset split-screen exit condition is a preset condition that triggers the split-screen exit, and the condition can be set according to actual needs, for example, based on information related to the sliding operation. For example, the preset split-screen exit condition may include: the sliding operation satisfies the preset operation condition; that is, the step "when the detected sliding operation satisfies the preset split-screen exit condition, obtain the number of fingers used by the user to perform the sliding operation" may be include:
当检测到的滑动操作满足预设操作条件时,获取用户执行滑动操作的手指数量。When the detected sliding operation satisfies the preset operation condition, the number of fingers used by the user to perform the sliding operation is obtained.
比如,在一实施例中,为了提升分屏退出的操作准确性,预设分屏退出条件可以包括:滑动轨迹经过的分屏显示窗口数量大于预设数量;也即,电子设备可以获取滑动操作的滑动轨迹;当滑动轨迹经过的分屏显示窗口数量大于预设数量时,确定滑动操作满足预设分屏退出条件,获取用户执行滑动操作的手指数量。For example, in an embodiment, in order to improve the accuracy of split-screen exit operations, the preset split-screen exit conditions may include: the number of split-screen display windows passed by the sliding track is greater than the preset number; that is, the electronic device can obtain the sliding operation sliding track; when the number of split-screen display windows passed by the sliding track is greater than the preset number, it is determined that the sliding operation satisfies the preset split-screen exit condition, and the number of fingers performed by the user performing the sliding operation is obtained.
203、电子设备从多个分屏显示窗口中选择在分屏退出后保留显示的候选分屏显示窗口。203. The electronic device selects, from multiple split-screen display windows, a candidate split-screen display window that remains displayed after the split-screen exit.
其中,候选分屏显示窗口为在电子设备退出分屏功能后保留显示的候选窗口。比如,参考图10,在退出分屏功能需要保留显示的候选窗口可以为上、下分屏显示窗口。Wherein, the candidate split-screen display window is a candidate window that remains displayed after the electronic device quits the split-screen function. For example, referring to FIG. 10 , the candidate windows that need to be kept displayed after exiting the split-screen function may be upper and lower split-screen display windows.
其中,候选分屏显示窗口的方式可以有多种,比如,在一实施例中,可以基于滑动操作的滑动方向选择,譬如,电子设备可以根据滑动操作的滑动方向从多个分屏显示窗口中选择候选分屏显示窗口。Among them, there are many ways to display the candidate split-screen windows. For example, in an embodiment, it can be selected based on the sliding direction of the sliding operation. For example, the electronic device can display windows from multiple split-screens according to the sliding direction of the sliding operation Select a candidate split-screen display window.
例如,在一实施例中,可以选择朝向滑动方向的分屏显示窗口,或者选择背离滑动方向的分屏显示窗口,等等。For example, in an embodiment, the split-screen display window facing the sliding direction may be selected, or the split-screen display window facing away from the sliding direction may be selected, and so on.
又比如,在一实施例中,还可以基于滑动操作的滑动轨迹选择候选分屏显示窗口,比如,电子设备可以确定滑动操作的滑动轨迹经过的分屏显示窗口,得到候选分屏显示窗口;其中,候选分屏显示窗口可以为分屏显示界面上滑动轨迹经过或路过的分屏显示窗口。例如,参考图10,用户在分屏显示界面上向右滑动时,如果滑动轨迹经过左右两个分屏显示窗口,那么此时,确定左右两个分屏显示窗口为候选分屏显示窗口。For another example, in an embodiment, the candidate split-screen display window may also be selected based on the sliding track of the sliding operation. For example, the electronic device may determine the split-screen display window through which the sliding track of the sliding operation passes to obtain the candidate split-screen display window; , the candidate split-screen display window may be a split-screen display window that the sliding track on the split-screen display interface passes or passes by. For example, referring to FIG. 10 , when the user slides to the right on the split-screen display interface, if the sliding track passes through the left and right split-screen display windows, then at this time, the left and right split-screen display windows are determined as candidate split-screen display windows.
又比如,在一实施例中,还可以基于滑动操作的起始位置选择候选分屏显示窗口,比如,电子设备可以确定滑动操作的起始位置所在的起始分屏显示窗口;根据起始分屏显示窗口从多个分屏显示窗口中确定保留显示的候选分屏显示窗口。For another example, in an embodiment, a candidate split-screen display window may also be selected based on the initial position of the sliding operation. For example, the electronic device may determine the initial split-screen display window where the initial position of the sliding operation is located; The on-screen display window determines a candidate split-screen display window to be reserved from among the plurality of split-screen display windows.
204、电子设备根据手指数量从候选分屏显示窗口中选择相应的目标分屏显示窗口。204. The electronic device selects a corresponding target split-screen display window from candidate split-screen display windows according to the number of fingers.
比如,电子设备可以从候选分屏显示窗口中选择与手指数量对应的目标分屏显示窗口。For example, the electronic device may select a target split-screen display window corresponding to the number of fingers from candidate split-screen display windows.
在一实施例中可以预先建立手指数量与分屏显示窗口之间的映射关系,这些后续便可以基于该映射关系来确定手指数量对应的目标分屏显示窗口。其中,映射关系的表现形式可以有多种,比如,可以为表格形式,参考上述表2。In an embodiment, a mapping relationship between the number of fingers and the split-screen display window can be established in advance, and then the target split-screen display window corresponding to the number of fingers can be determined based on the mapping relationship. There may be various forms of representation of the mapping relationship, for example, it may be in the form of a table, refer to Table 2 above.
205、电子设备将目标分屏显示窗口显示的分屏应用作为在分屏退出后保留显示的目标分屏应用。205. The electronic device uses the split-screen application displayed in the target split-screen display window as the target split-screen application that remains displayed after the split-screen exits.
比如,参考图10,当用户采用一根手指在分屏显示界面滑动时,确定左边分屏显示窗口为手指数量对应的目标分屏显示窗口为左分屏显示窗口,此时,可以将左分屏显示窗口显示的分屏应用A作为分屏退出后保留显示的目标分屏应用。For example, referring to Figure 10, when the user uses a finger to slide on the split-screen display interface, it is determined that the left split-screen display window is the target split-screen display window corresponding to the number of fingers as the left split-screen display window. The split-screen application A displayed in the screen display window is used as the target split-screen application that remains displayed after the split-screen exits.
206、电子设备退出分屏显示状态,并对目标分屏应用进行显示。206. The electronic device exits the split-screen display state, and displays the target split-screen application.
在一实施例中,为了提升显示效果和用户体验,可以在退出分屏显示状态时,可以仅仅保留显示目标分屏应用的分屏显示窗口,并对该分屏显示窗口放大,同时关闭除显示目标分屏应用的分屏显示窗口以外的窗口。In an embodiment, in order to improve the display effect and user experience, when exiting the split-screen display state, only the split-screen display window displaying the target split-screen application can be reserved, and the split-screen display window can be enlarged, and the other screen display window can be closed at the same time. A window other than the split-screen display window of the target split-screen app.
比如,参考图10电子设备可以退出分屏显示功能,关闭显示应用B的右分屏显示窗口,并根据显示屏的尺寸对左分屏显示窗口进行放大显示。For example, referring to FIG. 10 , the electronic device can exit the split-screen display function, close the right split-screen display window of application B, and enlarge the left split-screen display window according to the size of the display screen.
本申请实施例中,上述电子设备可以是任何能够运行应用程序的智能电子设备,例如:手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile InternetDevice,MID)或可穿戴式设备(Wearable Device)等。In the embodiment of the present application, the above-mentioned electronic device may be any intelligent electronic device capable of running an application program, such as a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (personal digital assistant, PDA for short), Mobile Internet Device (Mobile Internet Device, MID) or wearable device (Wearable Device) and so on.
由上可知,本申请实施例可以当处于分屏显示状态时,检测用户针对分屏显示界面的滑动操作;当滑动操作满足预设分屏退出条件时,获取用户执行滑动操作的手指数量;根据手指数量确定在分屏退出后保留显示的目标分屏应用;退出分屏显示状态,并对目标分屏应用进行显示。该方案可以基于用户的滑动操作来实现分屏退出,并且可以基于滑动操作的手指数量来确定分屏退出后保留显示的分屏应用,无需用户进行繁琐的操作,简化了分屏退出操作,对于用户来说,只需要采用相应数量的手指在分屏显示界面上执行滑动操作即可实现分屏退出、并保留显示相应的分屏应用,提升了分屏退出的效率。此外,方案还可以提供了多种保留显示应用确定方式,可以提升分屏退出的灵活性。As can be seen from the above, the embodiment of the present application can detect the user's sliding operation on the split-screen display interface when it is in the split-screen display state; when the sliding operation meets the preset split-screen exit condition, obtain the number of fingers the user performs the sliding operation; according to The number of fingers determines the target split-screen application that remains displayed after the split-screen exit; the split-screen display state is exited, and the target split-screen application is displayed. This solution can realize split-screen exit based on the user's sliding operation, and can determine the split-screen application that remains displayed after the split-screen exit based on the number of fingers used for the sliding operation, which does not require the user to perform cumbersome operations and simplifies the split-screen exit operation. For users, they only need to use a corresponding number of fingers to perform sliding operations on the split-screen display interface to realize split-screen exit and keep displaying the corresponding split-screen application, which improves the efficiency of split-screen exit. In addition, the solution may also provide multiple determination methods for retaining the display application, which may improve the flexibility of split-screen exit.
为了便于更好的实施本申请实施例提供的分屏退出方法,本申请实施例还提供了一种分屏退出装置。其中名词的含义与上述分屏退出方法中相同,具体实现细节可以参考方法实施例中的说明。In order to better implement the split-screen exit method provided in the embodiment of the present application, the embodiment of the present application further provides a split-screen exit device. The meanings of the nouns are the same as those in the above split-screen exit method, and for specific implementation details, please refer to the description in the method embodiments.
参考图11,图11为本申请实施例提供的一种分屏退出装置的结构示意图,该分屏退出装置30包括:检测模块301、数量获取模块302、应用确定模块303以及退出处理模块304;具体如下:Referring to FIG. 11 , FIG. 11 is a schematic structural diagram of a split-screen exit device provided in an embodiment of the present application. The split-screen exit device 30 includes: a detection module 301 , a quantity acquisition module 302 , an application determination module 303 and an exit processing module 304 ; details as follows:
检测模块301,用于当处于分屏显示状态时,检测用户针对分屏显示界面的滑动操作;The detection module 301 is configured to detect the user's sliding operation on the split-screen display interface when in the split-screen display state;
数量获取模块302,用于当所述滑动操作满足预设分屏退出条件时,获取用户执行所述滑动操作的手指数量;A quantity acquisition module 302, configured to acquire the number of fingers performed by the user for performing the sliding operation when the sliding operation satisfies the preset split-screen exit condition;
应用确定模块303,用于根据所述手指数量确定在分屏退出后保留显示的目标分屏应用;An application determining module 303, configured to determine, according to the number of fingers, the target split-screen application that remains displayed after the split-screen exits;
退出处理模块304,用于退出分屏显示状态,并对所述目标分屏应用进行显示。The exit processing module 304 is configured to exit the split-screen display state and display the target split-screen application.
在一实施例中,应用确定模块303,可以具体用于:In an embodiment, the application determining module 303 can be specifically used for:
获取映射关系集合,所述映射关系集合包括预设手指数量与分屏应用之间的映射关系;Obtain a set of mapping relationships, the set of mapping relationships including the mapping relationship between the number of preset fingers and the split-screen application;
根据所述映射关系集合和所述手指数量确定在分屏退出后保留显示的目标分屏应用。A target split-screen application that remains displayed after the split-screen exit is determined according to the set of mapping relationships and the number of fingers.
在一实施例中,所述分屏显示界面包括至少三个分屏显示窗口;参考图12,应用确定模块303可以包括:第一窗口选择子模块3031、第二窗口选择子模块3032以及应用确定子模块3033;In one embodiment, the split-screen display interface includes at least three split-screen display windows; referring to FIG. Submodule 3033;
第一窗口选择子模块3031,用于根据所述滑动操作的滑动方向从所述分屏显示窗口中选择候选分屏显示窗口;The first window selection submodule 3031 is configured to select a candidate split-screen display window from the split-screen display windows according to the sliding direction of the sliding operation;
第二窗口选择子模块3032,用于从所述候选分屏显示窗口中选取所述手指数量对应的目标分屏显示窗口;The second window selection submodule 3032 is configured to select a target split-screen display window corresponding to the number of fingers from the candidate split-screen display windows;
应用确定子模块3033,用于将所述目标分屏显示窗口显示的分屏应用作为在分屏退出后保留显示的目标分屏应用。The application determination sub-module 3033 is configured to use the split-screen application displayed in the target split-screen display window as the target split-screen application that remains displayed after the split-screen exits.
在一实施例中,所述分屏显示界面包括多个分屏显示窗口;参考图12,所述应用确定模块303,可以包括:In an embodiment, the split-screen display interface includes multiple split-screen display windows; referring to FIG. 12 , the application determination module 303 may include:
第一窗口选择子模块3031,用于确定所述滑动操作的滑动轨迹经过的分屏显示窗口,得到候选分屏显示窗口;The first window selection submodule 3031 is configured to determine the split-screen display window through which the sliding track of the sliding operation passes, and obtain candidate split-screen display windows;
第二窗口选择子模块3032,用于从所述候选分屏显示窗口中选取所述手指数量对应的目标分屏显示窗口;The second window selection submodule 3032 is configured to select a target split-screen display window corresponding to the number of fingers from the candidate split-screen display windows;
应用确定子模块3033,用于将所述目标分屏显示窗口显示的分屏应用作为在分屏退出后保留显示的目标分屏应用。The application determination sub-module 3033 is configured to use the split-screen application displayed in the target split-screen display window as the target split-screen application that remains displayed after the split-screen exits.
在一实施例中,所述分屏显示界面包括多个分屏显示窗口;参考图13,所述应用确定模块303,可以包括:In an embodiment, the split-screen display interface includes multiple split-screen display windows; referring to FIG. 13 , the application determination module 303 may include:
起始窗口确定子模块3034,用于确定所述滑动操作的起始位置所在的起始分屏显示窗口;The initial window determination sub-module 3034 is used to determine the initial split-screen display window where the initial position of the sliding operation is located;
第一窗口选择子模块3031,用于根据起始分屏显示窗口从所述多个分屏显示窗口中确定保留显示的候选分屏显示窗口;The first window selection submodule 3031 is configured to determine a candidate split-screen display window to be reserved from the plurality of split-screen display windows according to the initial split-screen display window;
第二窗口选择子模块3032,用于从所述候选分屏显示窗口中选取所述手指数量对应的目标分屏显示窗口;The second window selection submodule 3032 is configured to select a target split-screen display window corresponding to the number of fingers from the candidate split-screen display windows;
应用确定子模块3033,用于将所述目标分屏显示窗口显示的分屏应用作为在分屏退出后保留显示的目标分屏应用。The application determination sub-module 3033 is configured to use the split-screen application displayed in the target split-screen display window as the target split-screen application that remains displayed after the split-screen exits.
在一实施例中,数量获取模块302,可以具体用于:In an embodiment, the quantity acquisition module 302 may be specifically used for:
获取所述滑动操作的滑动轨迹;Acquiring a sliding track of the sliding operation;
当所述滑动轨迹经过的分屏显示窗口数量大于预设数量时,确定所述滑动操作满足预设分屏退出条件,获取用户执行所述滑动操作的手指数量。When the number of split-screen display windows passed by the sliding track is greater than a preset number, it is determined that the sliding operation satisfies a preset split-screen exit condition, and the number of fingers performed by the user performing the sliding operation is obtained.
在一实施例中,所述分屏显示界面包括多个分屏显示窗口;退出处理模块304,可以具体用于:In one embodiment, the split-screen display interface includes multiple split-screen display windows; the exit processing module 304 can be specifically used for:
退出分屏显示状态,并关闭不显示目标分屏应用的分屏显示窗口;Exit the split-screen display state, and close the split-screen display window that does not display the target split-screen application;
根据屏幕的尺寸信息对显示目标分屏应用的分屏显示窗口进行放大。The split-screen display window displaying the target split-screen application is enlarged according to the size information of the screen.
具体实施时,以上各个模块可以作为独立的实体实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个单位的具体实施可参见前面的实施例,在此不再赘述。During specific implementation, each of the above modules can be implemented as an independent entity, or can be combined arbitrarily as the same or several entities. The specific implementation of each of the above units can refer to the previous embodiments, and will not be repeated here.
由上可知,本申请实施例的分屏退出装置30当处于分屏显示状态时,通过检测模块301检测用户针对分屏显示界面的滑动操作;由数量获取模块302当所述滑动操作满足预设分屏退出条件时,获取用户执行所述滑动操作的手指数量;由应用确定模块303根据所述手指数量确定在分屏退出后保留显示的目标分屏应用;由退出处理模块304退出分屏显示状态,并对所述目标分屏应用进行显示。该方案可以基于用户的滑动操作来实现分屏退出,并且可以基于滑动操作的手指数量来确定分屏退出后保留显示的分屏应用,无需用户进行繁琐的操作,简化了分屏退出操作,对于用户来说,只需要采用相应数量的手指在分屏显示界面上执行滑动操作即可实现分屏退出、并保留显示相应的分屏应用,提升了分屏退出的效率。It can be seen from the above that when the split-screen exit device 30 of the embodiment of the present application is in the split-screen display state, the detection module 301 detects the user's sliding operation on the split-screen display interface; When split-screen exit conditions, the number of fingers that the user performs the sliding operation is obtained; the application determination module 303 determines the target split-screen application that remains displayed after the split-screen exits according to the number of fingers; exits the split-screen display by the exit processing module 304 state, and display the target split-screen application. This solution can realize split-screen exit based on the user's sliding operation, and can determine the split-screen application that remains displayed after the split-screen exit based on the number of fingers used for the sliding operation, which does not require the user to perform cumbersome operations and simplifies the split-screen exit operation. For users, they only need to use a corresponding number of fingers to perform sliding operations on the split-screen display interface to realize split-screen exit and keep displaying the corresponding split-screen application, which improves the efficiency of split-screen exit.
本申请还提供一种存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现方法实施例提供的分屏退出方法。The present application also provides a storage medium on which a computer program is stored, wherein, when the computer program is executed by a processor, the split-screen exit method provided by the method embodiment is implemented.
本申请还提供一种电子设备,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现方法实施例提供的分屏退出方法。The present application also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor. screen exit method.
在本申请又一实施例中还提供一种电子设备,该电子设备可以是智能手机、平板电脑等设备。如图14所示,电子设备400包括处理器401、存储器402。其中,处理器401与存储器402电性连接。In yet another embodiment of the present application, an electronic device is also provided, and the electronic device may be a smart phone, a tablet computer, or the like. As shown in FIG. 14 , an electronic device 400 includes a processor 401 and a memory 402 . Wherein, the processor 401 is electrically connected with the memory 402 .
处理器401是电子设备400的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或加载存储在存储器402内的应用程序,以及调用存储在存储器402内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。The processor 401 is the control center of the electronic device 400. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or loading the application program stored in the memory 402 and calling the data stored in the memory 402, the processor 401 executes the electronic Various functions and processing data of the equipment, so as to monitor the electronic equipment as a whole.
在本实施例中,电子设备400中的处理器401会按照如下的步骤,将一个或一个以上的应用程序的进程对应的指令加载到存储器402中,并由处理器401来运行存储在存储器402中的应用程序,从而实现各种功能,比如:In this embodiment, the processor 401 in the electronic device 400 will follow the steps below to load the instructions corresponding to the process of one or more application programs into the memory 402, and the instructions stored in the memory 402 will be executed by the processor 401. in the application, so as to realize various functions, such as:
当处于分屏显示状态时,检测用户针对分屏显示界面的滑动操作;当所述滑动操作满足预设分屏退出条件时,获取用户执行所述滑动操作的手指数量;根据所述手指数量确定在分屏退出后保留显示的目标分屏应用;退出分屏显示状态,并对所述目标分屏应用进行显示。When in the split-screen display state, detect the user’s sliding operation on the split-screen display interface; when the sliding operation meets the preset split-screen exit condition, obtain the number of fingers the user performs the sliding operation; determine according to the number of fingers The displayed target split-screen application is retained after the split-screen exit; the split-screen display state is exited, and the target split-screen application is displayed.
请参阅图15,图15为本申请实施例提供的电子设备结构示意图。该电子设备500可以包括射频(RF,Radio Frequency)电路501、包括有一个或一个以上计算机可读存储介质的存储器502、输入单元503、显示单元504、传感器504、音频电路506、无线保真(WiFi,Wireless Fidelity)模块507、包括有一个或者一个以上处理核心的处理器508、以及电源509等部件。本领域技术人员可以理解,图15中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 15 . FIG. 15 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device 500 may include a radio frequency (RF, Radio Frequency) circuit 501, a memory 502 including one or more computer-readable storage media, an input unit 503, a display unit 504, a sensor 504, an audio circuit 506, a wireless fidelity ( WiFi, Wireless Fidelity) module 507, including a processor 508 with one or more processing cores, and a power supply 509 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 15 does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
射频电路501可用于收发信息,或通话过程中信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器508处理;另外,将涉及上行的数据发送给基站。通常,射频电路501包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM,Subscriber Identity Module)卡、收发信机、耦合器、低噪声放大器(LNA,Low Noise Amplifier)、双工器等。此外,射频电路501还可以通过无线通信与网络和其他设备通信。该无线通信可以使用任一通信标准或协议,包括但不限于全球移动通信系统(GSM,Global System of Mobile communication)、通用分组无线服务(GPRS,GeneralPacket Radio Service)、码分多址(CDMA,Code Division Multiple Access)、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、长期演进(LTE,Long TermEvolution)、电子邮件、短消息服务(SMS,Short Messaging Service)等。The radio frequency circuit 501 can be used to send and receive information, or to receive and send signals during a call. In particular, after receiving the downlink information of the base station, it is processed by one or more processors 508; in addition, the data related to the uplink is sent to the base station . Generally, the radio frequency circuit 501 includes but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM, Subscriber Identity Module) card, a transceiver, a coupler, a low noise amplifier (LNA, Low Noise Amplifier), duplexer, etc. In addition, the radio frequency circuit 501 can also communicate with the network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communications (GSM, Global System of Mobile communication), General Packet Radio Service (GPRS, General Packet Radio Service), Code Division Multiple Access (CDMA, Code Division Multiple Access), Wideband Code Division Multiple Access (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution), email, Short Message Service (SMS, Short Messaging Service), etc.
存储器502可用于存储应用程序和数据。存储器502存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器508通过运行存储在存储器502的应用程序,从而执行各种功能应用以及数据处理。存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器502还可以包括存储器控制器,以提供处理器508和输入单元503对存储器502的访问。Memory 502 may be used to store applications and data. The application programs stored in the memory 502 include executable codes. Applications can be composed of various functional modules. The processor 508 executes various functional applications and data processing by running the application programs stored in the memory 502 . The memory 502 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of electronic devices (such as audio data, phonebook, etc.), etc. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 502 may further include a memory controller to provide access to the memory 502 by the processor 508 and the input unit 503 .
输入单元503可用于接收输入的数字、字符信息或用户特征信息(比如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,在一个具体的实施例中,输入单元503可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器508,并能接收处理器508发来的命令并加以执行。The input unit 503 can be used to receive input numbers, character information or user characteristic information (such as fingerprints), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, in a specific embodiment, the input unit 503 may include a touch-sensitive surface and other input devices. A touch-sensitive surface, also known as a touch display or trackpad, collects user touch operations on or near it (for example, the user uses a finger, stylus, etc. any suitable object or accessory on the touch-sensitive surface or on the touch-sensitive Operation near the surface), and drive the corresponding connection device according to the preset program. Optionally, the touch-sensitive surface may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and 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 sends it to the to the processor 508, and can receive and execute commands sent by the processor 508.
显示单元504可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元504可包括显示面板。可选的,可以采用液晶显示器(LCD,Liquid CrystalDisplay)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。进一步的,触敏表面可覆盖显示面板,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器508以确定触摸事件的类型,随后处理器508根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图15中,触敏表面与显示面板是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面与显示面板集成而实现输入和输出功能。The display unit 504 can be used to display information input by or provided to the user and various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. The display unit 504 may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface can cover the display panel. When the touch-sensitive surface detects a touch operation on or near it, it is sent to the processor 508 to determine the type of the touch event, and then the processor 508 displays on the display according to the type of the touch event. The corresponding visual output is provided on the panel. Although in FIG. 15, the touch-sensitive surface and the display panel are used as two separate components to realize the input and input functions, in some embodiments, the touch-sensitive surface and the display panel can be integrated to realize the input and output functions.
电子设备还可包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在电子设备移动到耳边时,关闭显示面板和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于电子设备还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The electronic device may also include at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and/or backlight. As a kind of motion sensor, the gravitational acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used for applications that recognize the attitude of mobile phones (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. Let me repeat.
音频电路506可通过扬声器、传声器提供用户与电子设备之间的音频接口。音频电路506可将接收到的音频数据转换成电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路506接收后转换为音频数据,再将音频数据输出处理器508处理后,经射频电路501以发送给比如另一电子设备,或者将音频数据输出至存储器502以便进一步处理。音频电路506还可能包括耳塞插孔,以提供外设耳机与电子设备的通信。The audio circuit 506 can provide an audio interface between the user and the electronic device through a speaker or a microphone. The audio circuit 506 can convert the received audio data into an electrical signal, transmit it to the speaker, and the speaker converts it into a sound signal output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is converted into The audio data, after being processed by the audio data output processor 508, is sent to another electronic device through the radio frequency circuit 501, or the audio data is output to the memory 502 for further processing. Audio circuitry 506 may also include an earphone jack to provide communication of peripheral headphones with the electronic device.
无线保真(WiFi)属于短距离无线传输技术,电子设备通过无线保真模块507可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图15示出了无线保真模块507,但是可以理解的是,其并不属于电子设备的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。Wireless Fidelity (WiFi) belongs to the short-distance wireless transmission technology. Electronic devices can help users send and receive emails, browse web pages, and access streaming media through the Wi-Fi module 507. It provides users with wireless broadband Internet access. Although Fig. 15 shows the Wi-Fi module 507, it can be understood that it is not a necessary component of the electronic device, and can be completely omitted as required without changing the essence of the invention.
处理器508是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器502内的应用程序,以及调用存储在存储器502内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。可选的,处理器508可包括一个或多个处理核心;优选的,处理器508可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器508中。The processor 508 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing the application program stored in the memory 502 and calling the data stored in the memory 502, the electronic device executes Various functions and processing data, so as to monitor the electronic equipment as a whole. Optionally, the processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 508 .
电子设备还包括给各个部件供电的电源509(比如电池)。优选的,电源可以通过电源管理系统与处理器508逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源509还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The electronic device also includes a power source 509 (such as a battery) for powering various components. Preferably, the power supply can be logically connected to the processor 508 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 509 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.
尽管图15中未示出,电子设备还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 15 , the electronic device may also include a camera, a Bluetooth module, etc., which will not be repeated here.
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。During specific implementation, each of the above modules may be implemented as an independent entity, or may be combined arbitrarily as the same or several entities. For the specific implementation of each of the above modules, please refer to the previous method embodiments, which will not be repeated here.
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储介质中,如存储在终端的存储器中,并被该终端内的至少一个处理器执行,在执行过程中可包括如分屏退出方法的实施例的流程。其中,存储介质可以包括:只读存储器(ROM,Read OnlyMemory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。It should be noted that those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, such as It is stored in the memory of the terminal and executed by at least one processor in the terminal, and the execution process may include the flow of the embodiment of the split-screen exit method. Wherein, the storage medium may include: a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.
以上对本申请实施例提供的一种分屏退出方法、装置、存储介质和电子设备进行了详细介绍,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。A split-screen exit method, device, storage medium, and electronic device provided in the embodiments of the present application have been described in detail above. Each functional module can be integrated into one processing chip, or each module can exist separately physically, or it can be two One or more modules are integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. In this paper, specific examples are used to illustrate the principle and implementation of the application. The description of the above embodiments is only used to help understand the method and core idea of the application; meanwhile, for those skilled in the art, according to the application Thoughts, specific implementation methods and application ranges all have changes. In summary, the content of this specification should not be construed as limiting the application.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810732886.7A CN108958629B (en) | 2018-07-05 | 2018-07-05 | Split-screen exit method, device, storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810732886.7A CN108958629B (en) | 2018-07-05 | 2018-07-05 | Split-screen exit method, device, storage medium and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108958629A true CN108958629A (en) | 2018-12-07 |
CN108958629B CN108958629B (en) | 2020-09-08 |
Family
ID=64485948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810732886.7A Active CN108958629B (en) | 2018-07-05 | 2018-07-05 | Split-screen exit method, device, storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108958629B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110618769A (en) * | 2019-08-22 | 2019-12-27 | 华为技术有限公司 | Application window processing method and device |
CN110825336A (en) * | 2019-11-08 | 2020-02-21 | 广东明创软件科技有限公司 | Split screen display method and device, terminal equipment and storage medium |
WO2020224449A1 (en) * | 2019-05-05 | 2020-11-12 | 华为技术有限公司 | Split-screen display operation method and electronic device |
CN113268194A (en) * | 2021-07-20 | 2021-08-17 | 广州朗国电子科技股份有限公司 | Split screen control interaction method and device based on mobile equipment and storage medium |
CN114968046A (en) * | 2021-02-18 | 2022-08-30 | 深圳市柔宇科技股份有限公司 | Split-screen interaction method and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102495705A (en) * | 2011-11-18 | 2012-06-13 | 深圳市中兴移动通信有限公司 | Method for switching multi-screen interfaces of touch screen terminal and device |
US20120194462A1 (en) * | 2008-07-12 | 2012-08-02 | Lester F. Ludwig | Advanced touch control of interactive immersive imaging applications via finger angle using a high dimensional touchpad (hdtp) touch user interface |
CN106201166A (en) * | 2016-06-25 | 2016-12-07 | 深圳市金立通信设备有限公司 | A kind of multi-screen display method and terminal |
CN106775314A (en) * | 2016-12-09 | 2017-05-31 | 珠海市魅族科技有限公司 | Multi-screen display method and split screen display available device |
CN107037949A (en) * | 2017-03-29 | 2017-08-11 | 北京小米移动软件有限公司 | A kind of multi-screen display method and device |
CN107423011A (en) * | 2017-03-27 | 2017-12-01 | 上海天马微电子有限公司 | Split-screen display method and display screen |
CN107506117A (en) * | 2017-03-30 | 2017-12-22 | 宝沃汽车(中国)有限公司 | display control method, device and vehicle |
CN108076224A (en) * | 2017-12-21 | 2018-05-25 | 广东欧珀移动通信有限公司 | application control method, device and storage medium and mobile terminal |
-
2018
- 2018-07-05 CN CN201810732886.7A patent/CN108958629B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120194462A1 (en) * | 2008-07-12 | 2012-08-02 | Lester F. Ludwig | Advanced touch control of interactive immersive imaging applications via finger angle using a high dimensional touchpad (hdtp) touch user interface |
CN102495705A (en) * | 2011-11-18 | 2012-06-13 | 深圳市中兴移动通信有限公司 | Method for switching multi-screen interfaces of touch screen terminal and device |
CN106201166A (en) * | 2016-06-25 | 2016-12-07 | 深圳市金立通信设备有限公司 | A kind of multi-screen display method and terminal |
CN106775314A (en) * | 2016-12-09 | 2017-05-31 | 珠海市魅族科技有限公司 | Multi-screen display method and split screen display available device |
CN107423011A (en) * | 2017-03-27 | 2017-12-01 | 上海天马微电子有限公司 | Split-screen display method and display screen |
CN107037949A (en) * | 2017-03-29 | 2017-08-11 | 北京小米移动软件有限公司 | A kind of multi-screen display method and device |
CN107506117A (en) * | 2017-03-30 | 2017-12-22 | 宝沃汽车(中国)有限公司 | display control method, device and vehicle |
CN108076224A (en) * | 2017-12-21 | 2018-05-25 | 广东欧珀移动通信有限公司 | application control method, device and storage medium and mobile terminal |
Non-Patent Citations (2)
Title |
---|
KEKELEFE: "华为荣耀4A如何使用黑屏手势", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/EA24BC399DBFBBDA63B33170.HTML》 * |
OPPO手机: "OPPO R11s/R11s Plus如何设置黑屏手势?", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/C85B7A64B7318D003BAC9592.HTML》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020224449A1 (en) * | 2019-05-05 | 2020-11-12 | 华为技术有限公司 | Split-screen display operation method and electronic device |
US11561687B2 (en) | 2019-05-05 | 2023-01-24 | Huawei Technologies Co., Ltd. | Operation method for split-screen display and electronic device |
CN110618769A (en) * | 2019-08-22 | 2019-12-27 | 华为技术有限公司 | Application window processing method and device |
CN110618769B (en) * | 2019-08-22 | 2021-11-19 | 华为技术有限公司 | Application window processing method and device |
CN110825336A (en) * | 2019-11-08 | 2020-02-21 | 广东明创软件科技有限公司 | Split screen display method and device, terminal equipment and storage medium |
CN114968046A (en) * | 2021-02-18 | 2022-08-30 | 深圳市柔宇科技股份有限公司 | Split-screen interaction method and electronic equipment |
CN113268194A (en) * | 2021-07-20 | 2021-08-17 | 广州朗国电子科技股份有限公司 | Split screen control interaction method and device based on mobile equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108958629B (en) | 2020-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108549519B (en) | Split screen processing method and device, storage medium and electronic equipment | |
CN108984064B (en) | Split-screen display method, device, storage medium and electronic device | |
CN109062467B (en) | Split screen application switching method and device, storage medium and electronic equipment | |
CN108958629B (en) | Split-screen exit method, device, storage medium and electronic device | |
CN105786878B (en) | Display method and device of browsing object | |
CN108984095A (en) | Gesture interaction method and device, storage medium and electronic equipment | |
CN109067981B (en) | Split-screen application switching method, device, storage medium and electronic device | |
CN109062464B (en) | Touch operation method, device, storage medium and electronic device | |
CN108984142B (en) | Split-screen display method, device, storage medium and electronic device | |
CN108494957A (en) | Antenna switching method and device, storage medium and electronic equipment | |
CN108958606B (en) | Split screen display method and device, storage medium and electronic equipment | |
WO2020007114A1 (en) | Method and apparatus for switching split-screen application, storage medium, and electronic device | |
WO2020007116A1 (en) | Split-screen window adjustment method and apparatus, storage medium and electronic device | |
WO2020007144A1 (en) | Switching method and device for split screen application, storage medium and electronic device | |
CN108958587B (en) | Split screen processing method and device, storage medium and electronic equipment | |
US20170046040A1 (en) | Terminal device and screen content enlarging method | |
US10101894B2 (en) | Information input user interface | |
CN109062469B (en) | Split screen display method and device, storage medium and electronic equipment | |
CN108536388A (en) | Split screen processing method and device, storage medium and electronic equipment | |
CN106057213B (en) | A kind of method and apparatus of display voice pitch data | |
US11327639B2 (en) | Split view exiting method, split view exiting device, and electronic device | |
CN109040427B (en) | Split screen processing method and device, storage medium and electronic equipment | |
CN109032487A (en) | Electronic device control method, electronic device control device, storage medium and electronic device | |
CN108566482A (en) | Antenna feed point switching method, device, storage medium and electronic equipment | |
CN107291453A (en) | Component display method and related product |
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 |