CN106200970B - The method and terminal of a kind of split screen display available - Google Patents
The method and terminal of a kind of split screen display available Download PDFInfo
- Publication number
- CN106200970B CN106200970B CN201610551332.8A CN201610551332A CN106200970B CN 106200970 B CN106200970 B CN 106200970B CN 201610551332 A CN201610551332 A CN 201610551332A CN 106200970 B CN106200970 B CN 106200970B
- Authority
- CN
- China
- Prior art keywords
- application program
- user
- duration
- application
- pressing
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 238000001514 detection method Methods 0.000 claims description 22
- 230000006870 function Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 235000012054 meals Nutrition 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000010897 surface acoustic wave method Methods 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 238000006243 chemical reaction Methods 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
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000001629 suppression 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/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
- G06F3/013—Eye tracking input arrangements
-
- 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/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04803—Split screen, i.e. subdividing the display area or the window area into separate subareas
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
本发明提供了一种分屏显示的方法及终端。所述方法包括:确定用户选中的第一应用程序;检测所述用户按压所述第一应用程序的时长以及所述用户在屏幕上滑动的第一方向;若在第一等待时长内检测到所述用户选中第二应用程序,则检测所述用户按压所述第二应用程序的时长以及所述用户在屏幕上滑动的第二方向;若在第二等待时长内未检测第三应用程序被选中且按压所述第一应用程序的时长大于第一预设时长且按压所述第二应用程序的时长大于第二预设时长,则根据所述第一方向和第二方向将所述第一应用程序和第二应用程序进行分屏显示。从而可知,通过实施本发明的技术方案,能够对用户选中的应用程序进行分屏显示,从而满足用户的需求,进而提升用户的体验。
The invention provides a split-screen display method and terminal. The method includes: determining the first application program selected by the user; detecting the duration of pressing the first application program by the user and the first direction in which the user slides on the screen; The user selects the second application program, then detect the duration of the user pressing the second application program and the second direction of the user's sliding on the screen; if the third application program is not detected within the second waiting period is selected And the duration of pressing the first application program is longer than the first preset duration and the duration of pressing the second application program is longer than the second preset duration, then the first application program will be moved according to the first direction and the second direction. The program and the second application are displayed in a split screen. It can be seen that, by implementing the technical solution of the present invention, the application program selected by the user can be displayed in split screens, thereby satisfying the needs of the user, and further improving the experience of the user.
Description
技术领域technical field
本发明涉及终端领域,具体涉及了一种分屏显示的方法及终端。The invention relates to the field of terminals, in particular to a split-screen display method and a terminal.
背景技术Background technique
近年来,随着终端(例如智能手机、平板电脑等)的发展与普及,终端在人们日常生活中已经成为不可或缺的一部分。为了满足用户的工作、娱乐等要求,用户会在终端中安装大量的应用程序。In recent years, with the development and popularization of terminals (such as smart phones, tablet computers, etc.), terminals have become an indispensable part of people's daily life. In order to meet the requirements of the user for work, entertainment, etc., the user will install a large number of application programs in the terminal.
那么就会存在这么一种场景,用户可能会同时打开多个应用程序进行操作,现有技术中,终端往往只运行用户当前操作的应用程序,其他开启的应用程序会被挂起。Then there will be such a scenario that the user may simultaneously open multiple application programs for operation. In the prior art, the terminal usually only runs the application program currently operated by the user, and other opened application programs will be suspended.
从而可知,即便多个应用程序同时开启,终端也只显示当前用户操作的应用程序的界面,用户需要操作其他被挂起的应用程序时,就需要进行手动切换,从而降低了用户的体验。Therefore, it can be seen that even if multiple applications are opened at the same time, the terminal only displays the interface of the application program operated by the current user. When the user needs to operate other suspended application programs, manual switching is required, thereby reducing the user experience.
发明内容Contents of the invention
本发明实施例提供了一种分屏显示的方法及终端,能够对用户选中的应用程序进行分屏显示,从而满足用户的需求,进而提升用户的体验。Embodiments of the present invention provide a split-screen display method and terminal, capable of split-screen displaying an application program selected by a user, so as to meet user requirements and improve user experience.
本发明实施例第一方面公开了一种分屏显示的方法,所述方法包括:The first aspect of the embodiment of the present invention discloses a split-screen display method, the method comprising:
确定用户选中的第一应用程序;determining the first application program selected by the user;
检测所述用户按压所述第一应用程序的时长以及所述用户在屏幕上滑动的第一方向;Detecting the duration that the user presses the first application program and the first direction that the user slides on the screen;
若在第一等待时长内检测到所述用户选中第二应用程序,则检测所述用户按压所述第二应用程序的时长以及所述用户在屏幕上滑动的第二方向;If it is detected within the first waiting period that the user selects the second application program, then detecting the duration for which the user presses the second application program and the second direction in which the user slides on the screen;
若在第二等待时长内未检测第三应用程序被选中且按压所述第一应用程序的时长大于第一预设时长且按压所述第二应用程序的时长大于第二预设时长,则根据所述第一方向和第二方向将所述第一应用程序和第二应用程序进行分屏显示。If it is not detected within the second waiting period that the third application program is selected and the duration of pressing the first application program is longer than the first preset duration and the duration of pressing the second application program is longer than the second preset duration, then according to The first direction and the second direction display the first application program and the second application program in split screens.
结合本发明第一方面,在本发明第一方面的第一种可行的实施方式中,所述方法还包括:In combination with the first aspect of the present invention, in the first possible implementation manner of the first aspect of the present invention, the method further includes:
若在所述第二等待时长内检测第三应用程序被选中,则检测所述用户按压所述第三应用程序的时长以及所述用户在屏幕上滑动的第三方向;If it is detected that the third application program is selected within the second waiting period, then detecting the duration of pressing the third application program by the user and the third direction in which the user slides on the screen;
若在第三等待时长内未检测第四应用程序被选中且按压所述第一应用程序的时长大于所述第一预设时长且按压所述第二应用程序的时长大于所述第二预设时长且按压所述第三应用程序的时长大于第三预设时长,则根据所述第一方向、第二方向和第三方向将所述第一应用程序、第二应用程序和第三应用程序进行分屏显示。If it is not detected within the third waiting period that the fourth application program is selected and the duration of pressing the first application program is longer than the first preset duration and the duration of pressing the second application program is longer than the second preset duration and the duration of pressing the third application program is longer than the third preset duration, then the first application program, the second application program and the third application program will be pressed according to the first direction, the second direction and the third direction Perform split-screen display.
结合本发明第一方面的第一种可行的实施方式,在本发明第一方面的第二种可行的实施方式中,所述方法还包括:In combination with the first feasible implementation manner of the first aspect of the present invention, in the second feasible implementation manner of the first aspect of the present invention, the method further includes:
判断所述第一应用程序、第二应用程序以及第三应用程序是否位于同一页面;judging whether the first application program, the second application program and the third application program are located on the same page;
若所述第一应用程序、第二应用程序以及第三应用程序没有位于同一页面,则将所述第一应用程序、第二应用程序以及第三应用程序移至同一页面。If the first application, the second application and the third application are not located on the same page, moving the first application, the second application and the third application to the same page.
结合本发明第一方面,在本发明第一方面的第三种可行的实施方式中,所述方法还包括:In combination with the first aspect of the present invention, in a third feasible implementation manner of the first aspect of the present invention, the method further includes:
确定所述终端中使用频率大于预设频率的应用程序;determining the application program in the terminal whose use frequency is greater than a preset frequency;
将所述使用频率大于预设频率的应用程序移至同一页面。Move the applications whose frequency of use is greater than a preset frequency to the same page.
结合本发明第一方面至本发明第一方面的第三种可行的实施方式,在本发明第一方面的第四种可行的实施方式中,所述方法还包括:Combining the first aspect of the present invention to the third feasible implementation manner of the first aspect of the present invention, in the fourth feasible implementation manner of the first aspect of the present invention, the method further includes:
确定所述用户选中的处于分屏显示状态的目标应用程序;Determining the target application program selected by the user and in the split-screen display state;
检测所述用户对所述目标应用程序的滑动方向;Detecting a sliding direction of the user to the target application;
若所述用户对所述目标应用程序的滑动方向符合预设方向时,取消所述目标应用程序对应的分屏,并终止运行所述目标应用程序。If the sliding direction of the target application program by the user conforms to the preset direction, cancel the split screen corresponding to the target application program, and terminate the running of the target application program.
本发明第二方面公开了一种终端,所述终端包括:The second aspect of the present invention discloses a terminal, and the terminal includes:
确定单元,用于确定用户选中的第一应用程序;a determining unit, configured to determine the first application program selected by the user;
检测单元,用于检测所述用户按压所述第一应用程序的时长以及所述用户在屏幕上滑动的第一方向;a detection unit, configured to detect the duration of pressing the first application program by the user and the first direction in which the user slides on the screen;
所述检测单元,用于若在第一等待时长内检测到所述用户选中第二应用程序,则检测所述用户按压所述第二应用程序的时长以及所述用户在屏幕上滑动的第二方向;The detection unit is configured to detect that the user selects the second application program within the first waiting period, then detect the duration of the user pressing the second application program and the second application program that the user slides on the screen. direction;
分屏单元,用于若在第二等待时长内未检测第三应用程序被选中且按压所述第一应用程序的时长大于第一预设时长且按压所述第二应用程序的时长大于第二预设时长,则根据所述第一方向和第二方向将所述第一应用程序和第二应用程序进行分屏显示。The screen splitting unit is used for if it is not detected within the second waiting period that the third application program is selected and the duration of pressing the first application program is longer than the first preset duration and the duration of pressing the second application program is longer than the second preset duration. If the duration is preset, the first application program and the second application program are displayed in split screens according to the first direction and the second direction.
结合本发明第二方面,在本发明第二方面的第一种可行的实施方式中,所述终端还包括:With reference to the second aspect of the present invention, in the first feasible implementation manner of the second aspect of the present invention, the terminal further includes:
所述检测单元,用于若在所述第二等待时长内检测第三应用程序被选中,则检测所述用户按压所述第三应用程序的时长以及所述用户在屏幕上滑动的第三方向;The detecting unit is configured to, if it is detected within the second waiting period that the third application program is selected, detect the duration of pressing the third application program by the user and the third direction in which the user slides on the screen ;
所述分屏单元,用于若在第三等待时长内未检测第四应用程序被选中且按压所述第一应用程序的时长大于所述第一预设时长且按压所述第二应用程序的时长大于所述第二预设时长且按压所述第三应用程序的时长大于第三预设时长,则根据所述第一方向、第二方向和第三方向将所述第一应用程序、第二应用程序和第三应用程序进行分屏显示。The screen splitting unit is configured to if it is not detected within the third waiting period that the fourth application program is selected and the duration of pressing the first application program is longer than the first preset duration and pressing the button of the second application program is If the duration is longer than the second preset duration and the duration of pressing the third application is longer than the third preset duration, the first application, the second The second application program and the third application program perform split-screen display.
结合本发明第二方面的第一种可行的实施方式,在本发明第二方面的第二种可行的实施方式中,所述终端还包括判断单元和第一移动单元;With reference to the first possible implementation manner of the second aspect of the present invention, in the second feasible implementation manner of the second aspect of the present invention, the terminal further includes a judging unit and a first mobile unit;
所述判断单元,用于判断所述第一应用程序、第二应用程序以及第三应用程序是否位于同一页面;The judging unit is configured to judge whether the first application, the second application, and the third application are located on the same page;
所述第一移动单元,用于若所述第一应用程序、第二应用程序以及第三应用程序没有位于同一页面,则将所述第一应用程序、第二应用程序以及第三应用程序移至同一页面。The first moving unit is configured to move the first application, the second application and the third application if the first application, the second application and the third application are not located on the same page to the same page.
结合本发明第二方面,在本发明第二方面的第三种可行的实施方式中,所述方法还包括第二移动单元:With reference to the second aspect of the present invention, in a third feasible implementation manner of the second aspect of the present invention, the method further includes the second mobile unit:
所述确定单元,用于确定所述终端中使用频率大于预设频率的应用程序;The determining unit is configured to determine an application program in the terminal whose frequency of use is greater than a preset frequency;
所述第二移动单元,用于将所述使用频率大于预设频率的应用程序移至同一页面。The second moving unit is configured to move the application programs whose use frequency is greater than a preset frequency to the same page.
结合本发明第二方面至本发明第二方面的第三种可行的实施方式,在本发明第二方面的第四种可行的实施方式中,所述终端还包括取消单元和终止单元;Combining the second aspect of the present invention to the third feasible implementation manner of the second aspect of the present invention, in the fourth feasible implementation manner of the second aspect of the present invention, the terminal further includes a cancel unit and a termination unit;
所述确定单元,用于确定所述用户选中的处于分屏显示状态的目标应用程序;The determining unit is configured to determine the target application selected by the user and in a split-screen display state;
所述检测单元,用于检测所述用户对所述目标应用程序的滑动方向;The detection unit is configured to detect the sliding direction of the target application by the user;
所述取消单元,用于若所述用户对所述目标应用程序的滑动方向符合预设方向,则取消所述目标应用程序对应的分屏;The canceling unit is configured to cancel the split screen corresponding to the target application if the sliding direction of the target application by the user conforms to a preset direction;
所述终止单元,用于若所述用户对所述目标应用程序的滑动方向符合预设方向,则终止运行所述目标应用程序。The terminating unit is configured to terminate running of the target application program if the sliding direction of the target application program by the user conforms to a preset direction.
本发明第三方面公开了一种终端,所述终端包括:A third aspect of the present invention discloses a terminal, and the terminal includes:
存储有可执行程序代码的存储器;a memory storing executable program code;
与所述存储器耦合的处理器;a processor coupled to the memory;
所述处理器调用所述存储器中存储的所述可执行程序代码,执行如第一方面或第一方面的第一种至第四种中任意一种可能的实现方式所述的方法。The processor invokes the executable program code stored in the memory to execute the method described in the first aspect or any one of the first to fourth possible implementation manners of the first aspect.
可以看出,本发明实施例的方案中,确定用户选中的第一应用程序;检测所述用户按压所述第一应用程序的时长以及所述用户在屏幕上滑动的第一方向;若在第一等待时长内检测到所述用户选中第二应用程序,则检测所述用户按压所述第二应用程序的时长以及所述用户在屏幕上滑动的第二方向;若在第二等待时长内未检测第三应用程序被选中且按压所述第一应用程序的时长大于第一预设时长且按压所述第二应用程序的时长大于第二预设时长,则根据所述第一方向和第二方向将所述第一应用程序和第二应用程序进行分屏显示。从而可知,通过实施本发明提供的技术方案,能够对用户选中的应用程序进行分屏显示,从而满足用户的需求,进而提升用户的体验。It can be seen that in the solution of the embodiment of the present invention, the first application program selected by the user is determined; the duration of pressing the first application program by the user and the first direction in which the user slides on the screen are detected; Detecting that the user selects the second application program within a waiting period, then detecting the duration of the user pressing the second application program and the second direction of the user sliding on the screen; if not within the second waiting period Detecting that the third application program is selected and the duration of pressing the first application program is longer than the first preset duration and the duration of pressing the second application program is longer than the second preset duration, then according to the first direction and the second The direction displays the first application program and the second application program in split screens. It can be seen that, by implementing the technical solution provided by the present invention, the application program selected by the user can be displayed in split screens, so as to meet the needs of the user and further improve the experience of the user.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1为本发明实施例提供的一种分屏显示的方法的流程示意图;FIG. 1 is a schematic flowchart of a split-screen display method provided by an embodiment of the present invention;
图1-a为本发明实施例提供的一种分屏显示界面示意图;Figure 1-a is a schematic diagram of a split-screen display interface provided by an embodiment of the present invention;
图2为本发明实施例提供的另一种分屏显示的方法的流程示意图;FIG. 2 is a schematic flowchart of another split-screen display method provided by an embodiment of the present invention;
图3为本发明实施例提供的一种终端的结构示意图;FIG. 3 is a schematic structural diagram of a terminal provided by an embodiment of the present invention;
图4为本发明实施例提供的另一种终端的结构示意图;FIG. 4 is a schematic structural diagram of another terminal provided by an embodiment of the present invention;
图5为本发明实施例提供的一种终端的实体装置结构示意图;FIG. 5 is a schematic structural diagram of a physical device of a terminal provided by an embodiment of the present invention;
图6为本发明实施例提供的一种手机的实体装置结构示意图。FIG. 6 is a schematic structural diagram of a physical device of a mobile phone provided by an embodiment of the present invention.
具体实施方式Detailed ways
本发明实施例提供了一种分屏显示的方法及终端,能够对用户选中的应用程序进行分屏显示,从而满足用户的需求,进而提升用户的体验。Embodiments of the present invention provide a split-screen display method and terminal, capable of split-screen displaying an application program selected by a user, so as to meet user requirements and improve user experience.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the embodiment of the present invention. Some examples, but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
本发明说明书、权利要求书和附图中出现的术语“第一”、“第二”和“第三”等是用于区别不同的对象,而并非用于描述特定的顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and "third" appearing in the specification, claims and drawings of the present invention are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.
在本发明的一个实施例中公开了一种分屏显示的方法,所述方法包括:确定用户选中的第一应用程序;检测所述用户按压所述第一应用程序的时长以及所述用户在屏幕上滑动的第一方向;若在第一等待时长内检测到所述用户选中第二应用程序,则检测所述用户按压所述第二应用程序的时长以及所述用户在屏幕上滑动的第二方向;若在第二等待时长内未检测第三应用程序被选中且按压所述第一应用程序的时长大于第一预设时长且按压所述第二应用程序的时长大于第二预设时长,则根据所述第一方向和第二方向将所述第一应用程序和第二应用程序进行分屏显示。An embodiment of the present invention discloses a split-screen display method, the method comprising: determining the first application program selected by the user; detecting the duration of pressing the first application program by the user and detecting whether the user presses the first application program; The first direction of sliding on the screen; if it is detected that the user selects the second application program within the first waiting period, then detect the duration for which the user presses the second application program and the first time the user slides on the screen Two directions; if it is not detected within the second waiting period that the third application program is selected and the duration of pressing the first application program is longer than the first preset duration and the duration of pressing the second application program is longer than the second preset duration , the first application program and the second application program are displayed in split screens according to the first direction and the second direction.
请参阅图1,图1是本发明一个实施例提供的一种分屏显示的方法的流程示意图。其中,如图1所示,本发明的一个实施例提供的一种分屏显示的方法包括以下内容:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a split-screen display method provided by an embodiment of the present invention. Wherein, as shown in FIG. 1, a split-screen display method provided by an embodiment of the present invention includes the following content:
S101、确定用户选中的第一应用程序。S101. Determine the first application program selected by the user.
需要指出的是,该方法的执行主体是终端,例如可以为智能手机、平板电脑、智能穿戴式设备、计算机等安装有多种应用程序并带有触控显示屏的电子设备。It should be pointed out that the execution subject of this method is a terminal, such as a smart phone, a tablet computer, a smart wearable device, a computer, etc., which can be installed with various application programs and have a touch screen electronic device.
其中,所述第一应用程序可以为终端中存储的任一应用程序。Wherein, the first application program may be any application program stored in the terminal.
举例来说,所述第一应用程序可以为社交应用、文本编辑应用、实时公交查询应用、订餐应用或其他终端中的应用程序。For example, the first application program may be a social application, a text editing application, a real-time bus inquiry application, a meal ordering application or other applications in the terminal.
其中,可以理解的是,用户选中第一应用程序的方法包括但不限于单击、双击、拖动等。Wherein, it can be understood that the method for the user to select the first application program includes but not limited to single click, double click, drag and so on.
S102、检测所述用户按压所述第一应用程序的时长以及所述用户在屏幕上滑动的第一方向。S102. Detect the duration of pressing the first application program by the user and the first direction in which the user slides on the screen.
其中,可以理解的是,所述用户可以通过手指或其他物体按压所述屏幕。Wherein, it can be understood that the user may press the screen with a finger or other objects.
其中,所述屏幕包括触摸检测部件和触摸屏控制器。Wherein, the screen includes a touch detection component and a touch screen controller.
其中,所述触摸检测部件安装在显示器屏幕前面,用于检测用户触摸位置,接受后送触摸屏控制器;而触摸屏控制器的主要作用是从触摸点检测装置上接收触摸信息,并将它转换成触点坐标,再送给CPU,它同时能接收CPU发来的命令并加以执行。Wherein, the touch detection part is installed in front of the display screen, is used to detect the user's touch position, and sends it to the touch screen controller after receiving it; and the main function of the touch screen controller is to receive touch information from the touch point detection device and convert it into The contact coordinates are sent to the CPU, and it can receive and execute commands from the CPU at the same time.
其中,可以理解的是,终端可以通过触摸屏检测部件来检测所述用户选中的第一应用程序,并统计用户按压所述第一应用程序的时长。Wherein, it can be understood that the terminal may detect the first application program selected by the user through the touch screen detection component, and count the duration of pressing the first application program by the user.
其中,可以理解的是,终端可以通过检测用户滑动操作中起点与终点的位置变化来确定用户在屏幕上滑动的第一方向。Wherein, it can be understood that the terminal may determine the first direction in which the user slides on the screen by detecting a position change between the start point and the end point in the user's slide operation.
其中,所述第一方向包括但不限于上、下、左、右等方向。Wherein, the first direction includes but not limited to up, down, left, right and other directions.
其中,所述屏幕包括但不限于:红外线触摸屏、电容式触摸屏、电阻技术触摸屏、表面声波触摸屏等。Wherein, the screen includes but is not limited to: an infrared touch screen, a capacitive touch screen, a resistive technology touch screen, a surface acoustic wave touch screen, and the like.
S103、若在第一等待时长内检测到所述用户选中第二应用程序,则检测所述用户按压所述第二应用程序的时长以及所述用户在屏幕上滑动的第二方向。S103. If it is detected within the first waiting period that the user selects the second application program, detect the duration of pressing the second application program by the user and the second direction in which the user slides on the screen.
其中,可以理解的是,所述第一等待时长可以从用户结束第一应用程序的按压后开始计时。Wherein, it can be understood that the first waiting period may be counted after the user finishes pressing the first application program.
其中,所述第一等待时长可以为用户设置的,也可以为终端中预先存储的。Wherein, the first waiting period may be set by the user, or may be pre-stored in the terminal.
其中,所述第一等待时长可以为2秒、5秒、10秒或其他单位时长。Wherein, the first waiting period may be 2 seconds, 5 seconds, 10 seconds or other unit periods.
其中,所述第二方向包括但不限于上、下、左、右等方向。Wherein, the second direction includes but not limited to up, down, left, right and other directions.
S104、若在第二等待时长内未检测第三应用程序被选中且按压所述第一应用程序的时长大于第一预设时长且按压所述第二应用程序的时长大于第二预设时长,则根据所述第一方向和第二方向将所述第一应用程序和第二应用程序进行分屏显示。S104. If it is not detected within the second waiting period that the third application is selected and the duration of pressing the first application is longer than the first preset duration and the duration of pressing the second application is longer than the second preset duration, Then, the first application program and the second application program are displayed in split screens according to the first direction and the second direction.
其中,可以理解的是,所述第二等待时长可以从用户结束第二应用程序的按压后开始计时。Wherein, it can be understood that the second waiting period can be counted after the user finishes pressing the second application program.
其中,第二等待时长可以为用户设置的,也可以为终端中预先存储的。Wherein, the second waiting period may be set by the user, or may be pre-stored in the terminal.
其中,所述第二等待时长可以为2秒、5秒、10秒或其他单位时长。Wherein, the second waiting period may be 2 seconds, 5 seconds, 10 seconds or other unit periods.
其中,举例来说,用户按住游戏应用图标,并且保持1s之后进行上划,此时系统不做任何反应,在2秒延时内,当用户继续按压住导航应用的图标,并且保持1s之后进行下滑,则系统判定用户是需要分屏显示。进行2s的延时,如果用户没有输入相应的上划下滑动作,则如图1-a所示将两个应用界面进行双屏分屏显示。Among them, for example, the user presses and holds the icon of the game application for 1 second and then swipe up. At this time, the system does not respond. During the 2-second delay, when the user continues to press the icon of the navigation application and holds After sliding down, the system determines that the user needs split-screen display. A delay of 2s is performed, and if the user does not input the corresponding up-swipe-down action, the two application interfaces are displayed on two separate screens as shown in Figure 1-a.
其中,可选的,所述方法还包括:所述方法还包括:若在所述第二等待时长内检测第三应用程序被选中,则检测所述用户按压所述第三应用程序的时长以及所述用户在屏幕上滑动的第三方向;若在第三等待时长内未检测第四应用程序被选中且按压所述第一应用程序的时长大于所述第一预设时长且按压所述第二应用程序的时长大于所述第二预设时长且按压所述第三应用程序的时长大于第三预设时长,则根据所述第一方向、第二方向和第三方向将所述第一应用程序、第二应用程序和第三应用程序进行分屏显示。Wherein, optionally, the method further includes: the method further includes: if it is detected within the second waiting period that the third application is selected, detecting the duration of pressing the third application by the user and The third direction of the user sliding on the screen; if it is not detected within the third waiting period that the fourth application program is selected and the duration of pressing the first application program is longer than the first preset duration and pressing the fourth application program The duration of the second application program is longer than the second preset duration and the duration of pressing the third application program is longer than the third preset duration, then according to the first direction, the second direction and the third direction, the first The application program, the second application program and the third application program are displayed in split screens.
其中,可选的,所述方法还包括:判断所述第一应用程序、第二应用程序以及第三应用程序是否位于同一页面;若所述第一应用程序、第二应用程序以及第三应用程序没有位于同一页面,则将所述第一应用程序、第二应用程序以及第三应用程序移至同一页面。Wherein, optionally, the method further includes: judging whether the first application, the second application and the third application are located on the same page; if the first application, the second application and the third application If the programs are not located on the same page, move the first application program, the second application program and the third application program to the same page.
其中,可选的,所述方法还包括:确定所述终端中使用频率大于预设频率的应用程序;将所述使用频率大于预设频率的应用程序移至同一页面。Wherein, optionally, the method further includes: determining an application program in the terminal whose use frequency is greater than a preset frequency; and moving the application program whose use frequency is greater than a preset frequency to the same page.
其中,可选的,所述方法还包括:确定所述用户选中的处于分屏显示状态的目标应用程序;检测所述用户对所述目标应用程序的滑动方向;若所述用户对所述目标应用程序的滑动方向符合预设方向时,取消所述目标应用程序对应的分屏,并终止运行所述目标应用程序。Wherein, optionally, the method further includes: determining the target application program selected by the user in the split-screen display state; detecting the sliding direction of the target application program by the user; When the sliding direction of the application meets the preset direction, the split screen corresponding to the target application is canceled and the running of the target application is terminated.
可以看出,本发明实施例的方案中,确定用户选中的第一应用程序;检测所述用户按压所述第一应用程序的时长以及所述用户在屏幕上滑动的第一方向;若在第一等待时长内检测到所述用户选中第二应用程序,则检测所述用户按压所述第二应用程序的时长以及所述用户在屏幕上滑动的第二方向;若在第二等待时长内未检测第三应用程序被选中且按压所述第一应用程序的时长大于第一预设时长且按压所述第二应用程序的时长大于第二预设时长,则根据所述第一方向和第二方向将所述第一应用程序和第二应用程序进行分屏显示。从而可知,通过实施本发明提供的技术方案,能够降低终端的功耗,从而延长用户的使用时间,进而提升用户的体验。It can be seen that in the solution of the embodiment of the present invention, the first application program selected by the user is determined; the duration of pressing the first application program by the user and the first direction in which the user slides on the screen are detected; Detecting that the user selects the second application program within a waiting period, then detecting the duration of the user pressing the second application program and the second direction of the user sliding on the screen; if not within the second waiting period Detecting that the third application program is selected and the duration of pressing the first application program is longer than the first preset duration and the duration of pressing the second application program is longer than the second preset duration, then according to the first direction and the second The direction displays the first application program and the second application program in split screens. It can be seen that, by implementing the technical solution provided by the present invention, the power consumption of the terminal can be reduced, thereby prolonging the user's use time, and further improving the user's experience.
请参阅图2,图2是本发明的另一个实施例提供的一种分屏显示的方法的流程示意图。其中,如图2所示,本发明的另一个实施例提供的一种分屏显示的方法可以包括以下内容,其中,需要指出的是,该方法的执行主体是终端,例如可以为智能手机、平板电脑、智能穿戴式设备、计算机等安装有多种应用程序并带有触控显示屏的电子设备。Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of a split-screen display method provided by another embodiment of the present invention. Wherein, as shown in FIG. 2 , a split-screen display method provided by another embodiment of the present invention may include the following content, wherein, it should be pointed out that the execution subject of the method is a terminal, for example, a smart phone, Tablet PCs, smart wearable devices, computers, and other electronic devices with a variety of applications installed and a touch-sensitive display.
S201、确定所述终端中使用频率大于预设频率的应用程序。S201. Determine an application program in the terminal that is used more frequently than a preset frequency.
其中,所述预设频率可以为终端中预先存储的也可以为用户设置的。Wherein, the preset frequency may be pre-stored in the terminal or set by the user.
其中,举例来说,所述应用程序可以为社交应用、文本编辑应用、实时公交查询应用、订餐应用或其他终端中的应用程序。Wherein, for example, the application program may be a social application, a text editing application, a real-time bus inquiry application, a meal ordering application or other applications in the terminal.
S202、将所述使用频率大于预设频率的应用程序移至同一页面。S202. Move the application programs whose usage frequency is greater than a preset frequency to the same page.
其中,可以理解的是,所述同一页面指的是终端桌面主界面中的同一显示页面。Wherein, it can be understood that the same page refers to the same display page in the terminal desktop main interface.
S203、确定用户选中的第一应用程序。S203. Determine the first application program selected by the user.
其中,可以理解的是,用户选中第一应用程序的方法包括但不限于单击、双击、拖动等。Wherein, it can be understood that the method for the user to select the first application program includes but not limited to single click, double click, drag and so on.
S204、检测所述用户按压所述第一应用程序的时长以及所述用户在屏幕上滑动的第一方向。S204. Detect the duration of pressing the first application program by the user and the first direction in which the user slides on the screen.
其中,可以理解的是,所述用户可以通过手指或其他物体按压所述屏幕。Wherein, it can be understood that the user may press the screen with a finger or other objects.
其中,所述屏幕包括触摸检测部件和触摸屏控制器。Wherein, the screen includes a touch detection component and a touch screen controller.
其中,所述触摸检测部件安装在显示器屏幕前面,用于检测用户触摸位置,接受后送触摸屏控制器;而触摸屏控制器的主要作用是从触摸点检测装置上接收触摸信息,并将它转换成触点坐标,再送给CPU,它同时能接收CPU发来的命令并加以执行。Wherein, the touch detection part is installed in front of the display screen, is used to detect the user's touch position, and sends it to the touch screen controller after receiving it; and the main function of the touch screen controller is to receive touch information from the touch point detection device and convert it into The contact coordinates are sent to the CPU, and it can receive and execute commands from the CPU at the same time.
其中,可以理解的是,终端可以通过触摸屏检测部件来检测所述用户选中的第一应用程序,并统计用户按压所述第一应用程序的时长。Wherein, it can be understood that the terminal may detect the first application program selected by the user through the touch screen detection component, and count the duration of pressing the first application program by the user.
其中,可以理解的是,终端可以通过检测用户滑动操作中起点与终点的位置变化来确定用户在屏幕上滑动的第一方向。Wherein, it can be understood that the terminal may determine the first direction in which the user slides on the screen by detecting a position change between the start point and the end point in the user's slide operation.
其中,所述第一方向包括但不限于上、下、左、右等方向。Wherein, the first direction includes but not limited to up, down, left, right and other directions.
其中,所述屏幕包括但不限于:红外线触摸屏、电容式触摸屏、电阻技术触摸屏、表面声波触摸屏等。Wherein, the screen includes but is not limited to: an infrared touch screen, a capacitive touch screen, a resistive technology touch screen, a surface acoustic wave touch screen, and the like.
S205、若在第一等待时长内检测到所述用户选中第二应用程序,则检测所述用户按压所述第二应用程序的时长以及所述用户在屏幕上滑动的第二方向。S205. If it is detected within the first waiting period that the user selects the second application program, detect the duration of pressing the second application program by the user and the second direction in which the user slides on the screen.
其中,可以理解的是,所述第一等待时长可以从用户结束第一应用程序的按压后开始计时。Wherein, it can be understood that the first waiting period may be counted after the user finishes pressing the first application program.
其中,所述第一等待时长可以为用户设置的,也可以为终端中预先存储的。Wherein, the first waiting period may be set by the user, or may be pre-stored in the terminal.
其中,所述第一等待时长可以为2秒、5秒、10秒或其他单位时长。Wherein, the first waiting period may be 2 seconds, 5 seconds, 10 seconds or other unit periods.
其中,所述第二方向包括但不限于上、下、左、右等方向。Wherein, the second direction includes but not limited to up, down, left, right and other directions.
S206、若在第二等待时长内未检测第三应用程序被选中且按压所述第一应用程序的时长大于第一预设时长且按压所述第二应用程序的时长大于第二预设时长,则根据所述第一方向和第二方向将所述第一应用程序和第二应用程序进行分屏显示。S206. If it is not detected within the second waiting period that the third application is selected and the duration of pressing the first application is longer than the first preset duration and the duration of pressing the second application is longer than the second preset duration, Then, the first application program and the second application program are displayed in split screens according to the first direction and the second direction.
其中,可以理解的是,所述第二等待时长可以从用户结束第二应用程序的按压后开始计时。Wherein, it can be understood that the second waiting period can be counted after the user finishes pressing the second application program.
其中,第二等待时长可以为用户设置的,也可以为终端中预先存储的。Wherein, the second waiting period may be set by the user, or may be pre-stored in the terminal.
其中,所述第二等待时长可以为2秒、5秒、10秒或其他单位时长。Wherein, the second waiting period may be 2 seconds, 5 seconds, 10 seconds or other unit periods.
S207、若在所述第二等待时长内检测第三应用程序被选中,则检测所述用户按压所述第三应用程序的时长以及所述用户在屏幕上滑动的第三方向。S207. If it is detected within the second waiting period that the third application program is selected, detect the duration of pressing the third application program by the user and the third direction in which the user slides on the screen.
其中,所述滑动的第三方向包括但不限于上、下、左、右等方向。Wherein, the third sliding direction includes but not limited to up, down, left, right and other directions.
S208、若在第三等待时长内未检测第四应用程序被选中且按压所述第一应用程序的时长大于所述第一预设时长且按压所述第二应用程序的时长大于所述第二预设时长且按压所述第三应用程序的时长大于第三预设时长,则根据所述第一方向、第二方向和第三方向将所述第一应用程序、第二应用程序和第三应用程序进行分屏显示。S208. If it is not detected within the third waiting period that the fourth application is selected and the duration of pressing the first application is longer than the first preset duration and the duration of pressing the second application is longer than the second preset duration and the duration of pressing the third application program is longer than the third preset duration, then the first application program, the second application program and the third application program will be pressed according to the first direction, the second direction and the third direction. The application performs split-screen display.
其中,所述第三等待时长可以为2秒、5秒、10秒或其他单位时长。Wherein, the third waiting period may be 2 seconds, 5 seconds, 10 seconds or other unit periods.
其中,可选的,所述方法还包括:用户还可以对分屏的数目的最大值进行设定。Wherein, optionally, the method further includes: the user may also set a maximum value of the number of split screens.
举例来说,当用户设置分屏的最大数目为4个,则当用户选中第四个应用程序后则结束分屏选择操作。For example, when the user sets the maximum number of split screens to 4, the split screen selection operation ends after the user selects the fourth application program.
S209、确定所述用户选中的处于分屏显示状态的目标应用程序。S209. Determine the target application program selected by the user and in a split-screen display state.
其中,所述目标应用程序可以为处于分屏显示界面中的应用程序之一。Wherein, the target application program may be one of the application programs in the split-screen display interface.
S210、检测所述用户对所述目标应用程序的滑动方向。S210. Detect a sliding direction of the target application by the user.
S211、若所述用户对所述目标应用程序的滑动方向符合预设方向时,取消所述目标应用程序对应的分屏,并终止运行所述目标应用程序。S211. If the sliding direction of the target application program by the user conforms to a preset direction, cancel the split screen corresponding to the target application program, and terminate running of the target application program.
其中,可以理解的是,所述预设方向可以为一个也可以为多个。Wherein, it can be understood that there may be one or more preset directions.
其中,举例来说,所述预设方向包括但不限于上、下、左、右。Wherein, for example, the preset direction includes but not limited to up, down, left, and right.
S212、判断所述第一应用程序、第二应用程序以及第三应用程序是否位于同一页面。S212. Determine whether the first application program, the second application program, and the third application program are located on the same page.
S213、若所述第一应用程序、第二应用程序以及第三应用程序没有位于同一页面,则将所述第一应用程序、第二应用程序以及第三应用程序移至同一页面。S213. If the first application program, the second application program and the third application program are not located on the same page, move the first application program, the second application program and the third application program to the same page.
可以看出,本发明实施例的方案中扩充在桌面主界面进行需要分屏显示的桌面图标的调节及取消分屏显示的步骤及确定目标系统的步骤。从而可知,通过实施本发明提供的技术方案,能够对用户选中的应用程序进行分屏显示,从而满足用户的需求,进而提升用户的体验。It can be seen that in the solution of the embodiment of the present invention, the steps of adjusting and canceling the split-screen display of the desktop icons that need to be displayed on the desktop main interface and the steps of determining the target system are expanded. It can be seen that, by implementing the technical solution provided by the present invention, the application program selected by the user can be displayed in split screens, so as to meet the needs of the user and further improve the experience of the user.
请参阅图3,图3是本发明的一个实施例提供的一种终端的结构示意图。其中,如图3所示,本发明的一个实施例提供的一种终端300,其中,该终端可以是智能手机、平板电脑、智能穿戴式设备、计算机等安装有多种应用程序并带有触控显示屏的电子设备。该终端300包括确定单元301、检测单元302以及分屏单元303。Please refer to FIG. 3 . FIG. 3 is a schematic structural diagram of a terminal provided by an embodiment of the present invention. Wherein, as shown in FIG. 3 , an embodiment of the present invention provides a terminal 300, wherein the terminal may be a smart phone, a tablet computer, a smart wearable device, a computer, etc., with various application programs installed and a touch electronic devices that control the display. The terminal 300 includes a determination unit 301 , a detection unit 302 and a screen splitting unit 303 .
确定单元301,用于确定用户选中的第一应用程序。The determining unit 301 is configured to determine the first application program selected by the user.
检测单元302,用于检测所述用户按压所述第一应用程序的时长以及所述用户在屏幕上滑动的第一方向。The detection unit 302 is configured to detect the duration of pressing the first application program by the user and the first direction in which the user slides on the screen.
其中,所述检测单元302,用于若在第一等待时长内检测到所述用户选中第二应用程序,则检测所述用户按压所述第二应用程序的时长以及所述用户在屏幕上滑动的第二方向。Wherein, the detection unit 302 is configured to detect that the user selects the second application program within the first waiting period, then detect the duration of the user pressing the second application program and the user sliding on the screen the second direction of .
分屏单元303,用于若检测到所述终端处于休眠状态时,则将所述屏幕的工作模式从第一工作模式调整至第二工作模式;其中,所述第二工作模式的功耗小于所述第一工作模式的功耗。The screen splitting unit 303 is configured to adjust the working mode of the screen from the first working mode to the second working mode if it is detected that the terminal is in a dormant state; wherein, the power consumption of the second working mode is less than The power consumption of the first working mode.
其中,确定单元301、检测单元302以及分屏单元303可以用于执行实施例1中步骤S101至S104所述的方法,具体描述详见实施例1对所述方法的描述,在此不再赘述。Wherein, the determination unit 301, the detection unit 302, and the screen splitting unit 303 can be used to execute the method described in steps S101 to S104 in Embodiment 1. For a specific description, please refer to the description of the method in Embodiment 1, which will not be repeated here. .
请参阅图4,图4是本发明的一个实施例提供的一种终端的结构示意图。其中,如图4所示,本发明的一个实施例提供的一种终端400,其中,该终端400可以是智能手机、平板电脑、智能穿戴式设备、计算机等安装有多种应用程序并带有触控显示屏的电子设备。该终端400包括确定单元401、检测单元402、分屏单元403、判断单元404、第一移动单元405、第二移动单元406、取消单元407以及终止单元408。Please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of a terminal provided by an embodiment of the present invention. Wherein, as shown in FIG. 4 , an embodiment of the present invention provides a terminal 400, wherein the terminal 400 may be a smart phone, a tablet computer, a smart wearable device, a computer, etc., with various application programs installed and a Electronic devices with touch screens. The terminal 400 includes a determining unit 401 , a detecting unit 402 , a screen splitting unit 403 , a judging unit 404 , a first moving unit 405 , a second moving unit 406 , a canceling unit 407 and a terminating unit 408 .
确定单元401,用于用于确定所述终端中使用频率大于预设频率的应用程序。The determining unit 401 is configured to determine an application program in the terminal whose use frequency is greater than a preset frequency.
第二移动单元406,用于将所述使用频率大于预设频率的应用程序移至同一页面。The second moving unit 406 is configured to move the application programs whose use frequency is greater than a preset frequency to the same page.
其中,所述确定单元401,还用于确定用户选中的第一应用程序。Wherein, the determining unit 401 is further configured to determine the first application selected by the user.
检测单元402,用于检测所述用户按压所述第一应用程序的时长以及所述用户在屏幕上滑动的第一方向。The detecting unit 402 is configured to detect the duration of pressing the first application program by the user and the first direction in which the user slides on the screen.
所述检测单元402,用于若在第一等待时长内检测到所述用户选中第二应用程序,则检测所述用户按压所述第二应用程序的时长以及所述用户在屏幕上滑动的第二方向。The detecting unit 402 is configured to, if it is detected within the first waiting period that the user selects the second application program, detect the duration that the user presses the second application program and the second time that the user slides on the screen. Two directions.
分屏单元403,用于若在第二等待时长内未检测第三应用程序被选中且按压所述第一应用程序的时长大于第一预设时长且按压所述第二应用程序的时长大于第二预设时长,则根据所述第一方向和第二方向将所述第一应用程序和第二应用程序进行分屏显示。The screen splitting unit 403 is configured to if it is not detected within the second waiting period that the third application program is selected and the duration of pressing the first application program is longer than the first preset duration and the duration of pressing the second application program is longer than the first preset duration. For a preset duration, the first application program and the second application program are displayed in split screens according to the first direction and the second direction.
所述检测单元402,用于若在所述第二等待时长内检测第三应用程序被选中,则检测所述用户按压所述第三应用程序的时长以及所述用户在屏幕上滑动的第三方向;The detection unit 402 is configured to, if it is detected within the second waiting period that the third application program is selected, detect the duration of pressing the third application program by the user and the third application program that the user slides on the screen. direction;
所述分屏单元403,用于若在第三等待时长内未检测第四应用程序被选中且按压所述第一应用程序的时长大于所述第一预设时长且按压所述第二应用程序的时长大于所述第二预设时长且按压所述第三应用程序的时长大于第三预设时长,则根据所述第一方向、第二方向和第三方向将所述第一应用程序、第二应用程序和第三应用程序进行分屏显示。The screen splitting unit 403 is configured to press the second application program if it is not detected within the third waiting period that the fourth application program is selected and the duration of pressing the first application program is longer than the first preset duration. and the duration of pressing the third application program is longer than the third preset duration, then according to the first direction, the second direction and the third direction, the first application program, The second application program and the third application program perform split-screen display.
所述确定单元401,用于确定所述用户选中的处于分屏显示状态的目标应用程序。The determining unit 401 is configured to determine the target application selected by the user and in a split-screen display state.
所述检测单元402,用于检测所述用户对所述目标应用程序的滑动方向;The detection unit 402 is configured to detect the sliding direction of the target application by the user;
所述取消单元407,用于若所述用户对所述目标应用程序的滑动方向符合预设方向,则取消所述目标应用程序对应的分屏。The canceling unit 407 is configured to cancel the split screen corresponding to the target application if the sliding direction of the target application by the user conforms to a preset direction.
所述终止单元408,用于若所述用户对所述目标应用程序的滑动方向符合预设方向,则终止运行所述目标应用程序。The terminating unit 408 is configured to terminate running of the target application program if the sliding direction of the target application program by the user conforms to a preset direction.
判断单元404,用于判断所述第一应用程序、第二应用程序以及第三应用程序是否位于同一页面。The judging unit 404 is configured to judge whether the first application program, the second application program and the third application program are located on the same page.
第一移动单元405,用于若所述第一应用程序、第二应用程序以及第三应用程序没有位于同一页面,则将所述第一应用程序、第二应用程序以及第三应用程序移至同一页面。The first moving unit 405 is configured to move the first application, the second application and the third application to the same page.
其中,确定单元401、检测单元402、分屏单元403、判断单元404、第一移动单元405、第二移动单元406、取消单元407以及终止单元408可以用于执行实施例2中步骤S201至S213所述的方法,具体描述详见实施例2对所述方法的描述,在此不再赘述。Among them, the determining unit 401, the detecting unit 402, the split screen unit 403, the judging unit 404, the first moving unit 405, the second moving unit 406, the canceling unit 407 and the terminating unit 408 can be used to execute steps S201 to S213 in Embodiment 2 For the specific description of the method, refer to the description of the method in Embodiment 2, and details are not repeated here.
请参阅图5,在本发明的另一个实施例中,提供一种终端。所述终端500包括CPU501、存储器502、总线503,显示屏504等硬件。其中,该终端500可以是智能手机、平板电脑、智能穿戴设备等设备。Referring to FIG. 5 , in another embodiment of the present invention, a terminal is provided. The terminal 500 includes hardware such as a CPU 501 , a memory 502 , a bus 503 , and a display screen 504 . Wherein, the terminal 500 may be a device such as a smart phone, a tablet computer, or a smart wearable device.
其中,CPU501执行预先存储在存储器502中的程序,该执行过程具体包括:Wherein, the CPU 501 executes the program pre-stored in the memory 502, and the execution process specifically includes:
确定用户选中的第一应用程序;determining the first application program selected by the user;
检测所述用户按压所述第一应用程序的时长以及所述用户在屏幕上滑动的第一方向;Detecting the duration that the user presses the first application program and the first direction that the user slides on the screen;
若在第一等待时长内检测到所述用户选中第二应用程序,则检测所述用户按压所述第二应用程序的时长以及所述用户在屏幕上滑动的第二方向;If it is detected within the first waiting period that the user selects the second application program, then detecting the duration for which the user presses the second application program and the second direction in which the user slides on the screen;
若在第二等待时长内未检测第三应用程序被选中且按压所述第一应用程序的时长大于第一预设时长且按压所述第二应用程序的时长大于第二预设时长,则根据所述第一方向和第二方向将所述第一应用程序和第二应用程序进行分屏显示。If it is not detected within the second waiting period that the third application program is selected and the duration of pressing the first application program is longer than the first preset duration and the duration of pressing the second application program is longer than the second preset duration, then according to The first direction and the second direction display the first application program and the second application program in split screens.
可选的,所述执行过程还包括:Optionally, the execution process also includes:
若在所述第二等待时长内检测第三应用程序被选中,则检测所述用户按压所述第三应用程序的时长以及所述用户在屏幕上滑动的第三方向;If it is detected that the third application program is selected within the second waiting period, then detecting the duration of pressing the third application program by the user and the third direction in which the user slides on the screen;
若在第三等待时长内未检测第四应用程序被选中且按压所述第一应用程序的时长大于所述第一预设时长且按压所述第二应用程序的时长大于所述第二预设时长且按压所述第三应用程序的时长大于第三预设时长,则根据所述第一方向、第二方向和第三方向将所述第一应用程序、第二应用程序和第三应用程序进行分屏显示。If it is not detected within the third waiting period that the fourth application program is selected and the duration of pressing the first application program is longer than the first preset duration and the duration of pressing the second application program is longer than the second preset duration and the duration of pressing the third application program is longer than the third preset duration, then the first application program, the second application program and the third application program will be pressed according to the first direction, the second direction and the third direction Perform split-screen display.
可选的,所述执行过程还包括:Optionally, the execution process also includes:
判断所述第一应用程序、第二应用程序以及第三应用程序是否位于同一页面;judging whether the first application program, the second application program and the third application program are located on the same page;
若所述第一应用程序、第二应用程序以及第三应用程序没有位于同一页面,则将所述第一应用程序、第二应用程序以及第三应用程序移至同一页面。If the first application, the second application and the third application are not located on the same page, moving the first application, the second application and the third application to the same page.
可选的,所述执行过程还包括:Optionally, the execution process also includes:
确定所述终端中使用频率大于预设频率的应用程序;determining the application program in the terminal whose use frequency is greater than a preset frequency;
将所述使用频率大于预设频率的应用程序移至同一页面。Move the applications whose frequency of use is greater than a preset frequency to the same page.
可选的,所述执行过程还包括:Optionally, the execution process also includes:
确定所述用户选中的处于分屏显示状态的目标应用程序;Determining the target application program selected by the user and in the split-screen display state;
检测所述用户对所述目标应用程序的滑动方向;Detecting a sliding direction of the user to the target application;
若所述用户对所述目标应用程序的滑动方向符合预设方向时,取消所述目标应用程序对应的分屏,并终止运行所述目标应用程序。If the sliding direction of the target application program by the user conforms to the preset direction, cancel the split screen corresponding to the target application program, and terminate the running of the target application program.
可以看出,本发明实施例的方案中,确定用户选中的第一应用程序;检测所述用户按压所述第一应用程序的时长以及所述用户在屏幕上滑动的第一方向;若在第一等待时长内检测到所述用户选中第二应用程序,则检测所述用户按压所述第二应用程序的时长以及所述用户在屏幕上滑动的第二方向;若在第二等待时长内未检测第三应用程序被选中且按压所述第一应用程序的时长大于第一预设时长且按压所述第二应用程序的时长大于第二预设时长,则根据所述第一方向和第二方向将所述第一应用程序和第二应用程序进行分屏显示。从而可知,通过实施本发明提供的技术方案,能够降低终端的功耗,从而延长用户的使用时间,进而提升用户的体验。It can be seen that in the solution of the embodiment of the present invention, the first application program selected by the user is determined; the duration of pressing the first application program by the user and the first direction in which the user slides on the screen are detected; Detecting that the user selects the second application program within a waiting period, then detecting the duration of the user pressing the second application program and the second direction of the user sliding on the screen; if not within the second waiting period Detecting that the third application program is selected and the duration of pressing the first application program is longer than the first preset duration and the duration of pressing the second application program is longer than the second preset duration, then according to the first direction and the second The direction displays the first application program and the second application program in split screens. It can be seen that, by implementing the technical solution provided by the present invention, the power consumption of the terminal can be reduced, thereby prolonging the user's use time, and further improving the user's experience.
请参阅图6,图6是本发明的一个实施例提供的终端相关的手机的部分结构的框图。参考图6,手机包括:射频(Radio Frequency,RF)电路610、存储器620、输入单元630、显示单元640、传感器650、音频电路660、无线保真(Wireless Fidelity,WiFi)模块670、处理器680以及电源690等部件。本领域技术人员可以理解,图6中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 6 . FIG. 6 is a block diagram of a partial structure of a terminal-related mobile phone provided by an embodiment of the present invention. 6, the mobile phone includes: a radio frequency (Radio Frequency, RF) circuit 610, a memory 620, an input unit 630, a display unit 640, a sensor 650, an audio circuit 660, a wireless fidelity (Wireless Fidelity, WiFi) module 670, a processor 680 And parts such as power supply 690. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 6 does not constitute a limitation to the mobile phone, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
下面结合图6对手机的各个构成部件进行具体的介绍:The following is a specific introduction to each component of the mobile phone in conjunction with Figure 6:
RF电路610可用于信息的接收和发送。通常,RF电路610包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low NoiseAmplifier,LNA)、双工器等。此外,RF电路610还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System ofMobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(CodeDivision Multiple Access,CDMA)、宽带码分多址(Wideband Code Division MultipleAccess,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(ShortMessaging Service,SMS)等。RF circuitry 610 may be used for the reception and transmission of information. Generally, the RF circuit 610 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. In addition, RF circuitry 610 may also communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (CodeDivision Multiple Access) , CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS), etc.
存储器620可用于存储软件程序以及模块,处理器680通过运行存储在存储器620的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器620可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如确定用户选择应用程序功能、确定用户在屏幕上滑动方向的功能、分屏显示功能、确定终端中应用程序使用频率的功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如预设的第一等待时间、第二等待时间、第一预设时长、第二预设时长预存等)等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 620 can be used to store software programs and modules, and the processor 680 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 620 . The memory 620 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application program required by a function (such as the function of determining the user's selection of an application program function, determining the user's sliding direction on the screen, split-screen display function, the function of determining the application frequency in the terminal, etc.); the storage data area can store the data created according to the use of the mobile phone (such as the preset first waiting time, the second waiting time, the first preset duration, the second preset duration pre-stored, etc.) etc. In addition, the memory 620 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.
输入单元630可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元630可包括指纹模组631以及其他输入设备632。指纹模组631,可采集用户在其上的指纹数据。可选的,指纹模组631可包括光学式指纹模块、电容式指纹模块以及射频式指纹模块。以指纹模组631为电容式指纹模组为例,具体包括感应电极(n1个异常感应电极和n2个正常感应电极)和与所述感应电极连接的信号处理电路(如放大电路、噪声抑制电路、模数转化电路,等等)。除了指纹模组631,输入单元630还可以包括其他输入设备632。具体地,其他输入设备632可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 630 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile phone. Specifically, the input unit 630 may include a fingerprint module 631 and other input devices 632 . The fingerprint module 631 can collect the fingerprint data of the user on it. Optionally, the fingerprint module 631 may include an optical fingerprint module, a capacitive fingerprint module, and a radio frequency fingerprint module. Taking the fingerprint module 631 as an example of a capacitive fingerprint module, it specifically includes sensing electrodes (n1 abnormal sensing electrodes and n2 normal sensing electrodes) and signal processing circuits (such as amplification circuits, noise suppression circuits) connected to the sensing electrodes. , analog-to-digital conversion circuit, etc.). In addition to the fingerprint module 631 , the input unit 630 may also include other input devices 632 . Specifically, other input devices 632 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.
显示单元640可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元640可包括显示屏641,可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示屏641。虽然在图6中,指纹模组631与显示屏641是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将指纹模组631与显示屏641集成而实现手机的输入和输出功能。The display unit 640 may be used to display information input by or provided to the user and various menus of the mobile phone. The display unit 640 may include a display screen 641. Optionally, the display screen 641 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. Although in FIG. 6 , the fingerprint module 631 and the display screen 641 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the fingerprint module 631 and the display screen 641 can be integrated and Realize the input and output functions of the mobile phone.
手机还可包括至少一种传感器650,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏641的亮度,接近传感器可在手机移动到耳边时,关闭显示屏641和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one sensor 650, such as a light sensor, 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 screen 641 according to the brightness of the ambient light, and the proximity sensor may turn off the display screen 641 and/or when the mobile phone is moved to the ear. or backlight. As a kind of motion sensor, the accelerometer 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 to identify the application of mobile phone posture (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 gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. repeat.
音频电路660、扬声器661,传声器662可提供用户与手机之间的音频接口。音频电路660可将接收到的音频数据转换后的电信号,传输到扬声器661,由扬声器661转换为声音信号输出;另一方面,传声器662将收集的声音信号转换为电信号,由音频电路660接收后转换为音频数据,再将音频数据输出处理器680处理后,经RF电路610以发送给比如另一手机,或者将音频数据输出至存储器620以便进一步处理。The audio circuit 660, the speaker 661 and the microphone 662 can provide an audio interface between the user and the mobile phone. The audio circuit 660 can transmit the electrical signal converted from the received audio data to the loudspeaker 661, and the loudspeaker 661 converts it into an audio signal output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 680, and then sent to another mobile phone through the RF circuit 610, or the audio data is output to the memory 620 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块670可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图6示出了WiFi模块670,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 670, which provides users with wireless broadband Internet access. Although FIG. 6 shows a WiFi module 670, it can be understood that it is not an essential component of the mobile phone, and can be completely omitted as required without changing the essence of the invention.
处理器680是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器620内的软件程序和/或模块,以及调用存储在存储器620内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器680可包括一个或多个处理单元;优选的,处理器680可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器680中。The processor 680 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and/or modules stored in the memory 620, and calling data stored in the memory 620, execution Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole. Optionally, the processor 680 may include one or more processing units; preferably, the processor 680 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, 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 680 .
手机还包括给各个部件供电的电源690(比如电池),优选的,电源可以通过电源管理系统与处理器680逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 690 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 680 through the power management system, so as to realize functions such as managing charging, discharging, and power consumption management through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be repeated here.
前述图1、图2所示的实施例中,各步骤方法流程可以基于该手机的结构实现。In the aforementioned embodiments shown in FIG. 1 and FIG. 2 , the method flow of each step can be realized based on the structure of the mobile phone.
前述图3、图4所示的实施例中,各单元功能可以基于该手机的结构实现。In the aforementioned embodiments shown in FIG. 3 and FIG. 4 , the functions of each unit can be realized based on the structure of the mobile phone.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk.
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still understand the foregoing The technical solutions recorded in each embodiment are modified, or some of the technical features are replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (11)
- A kind of 1. method of split screen display available, which is characterized in that the method includes:Determine the first application program that user chooses;Detect the user press first application program icon duration and the user slide on the screen the One direction;If being detected within the first waiting time, the user chooses the second application program, detects user pressing described the The second direction that the duration of the icon of two application programs and the user slide on the screen;If the icon that third application program was selected and pressed first application program is not detected within the second waiting time Duration is more than the first preset duration and the duration of the icon of pressing second application program is more than the second preset duration, then basis First application program and the second application program are carried out split screen display available by the first direction and second direction;Described first etc. It is the timing since after user terminates the pressing of first application program after duration, second waiting time is tied from user Start timing after the pressing of the second application programs of Shu Suoshu;The first direction is respectively upwards, downwards with the second direction Both direction;It is described according to the first direction and the second direction by first application program and second application program into Row split screen display available includes:The screen is divided into the first split screen along the first direction and the second split screen along the second direction;Journey is applied in the first application program described in first point of screen display, and described in second point of screen display second Sequence.
- 2. according to the method described in claim 1, it is characterized in that, the method further includes:It is selected if detecting third application program within second waiting time, detecting user's pressing third should The third direction slided on the screen with the duration and the user of program;If do not detected within third waiting time the 4th application program be selected and press first application program when grow up It is more than described in second preset duration and pressing in the duration of first preset duration and pressing second application program The duration of third application program is more than third preset duration, then according to the first direction, second direction and third direction by institute It states the first application program, the second application program and third application program and carries out split screen display available.
- 3. according to the method described in claim 2, it is characterized in that, the method further includes:Judge whether first application program, the second application program and third application program are located at the same page;If first application program, the second application program and third application program are not at the same page, by described in First application program, the second application program and third application program move to the same page.
- 4. according to the method described in claim 1, it is characterized in that, the method further includes:Determine that frequency of use is more than the application program of predeterminated frequency in terminal;The application program that the frequency of use is more than to predeterminated frequency moves to the same page.
- 5. method according to any one of claims 1 to 4, which is characterized in that the method further includes:Determine the destination application in split screen display available state that the user chooses;Detect glide direction of the user to the destination application;If the user meets preset direction to the glide direction of the destination application, cancel the destination application Corresponding split screen, and terminate the operation destination application.
- 6. a kind of terminal, which is characterized in that the terminal includes:Determination unit, for determining the first application program that user chooses;Detection unit is being shielded for detecting the duration of the icon of user's pressing first application program and the user The first direction slided on curtain;The detection unit if for detecting that the user chooses the second application program within the first waiting time, detects The second direction that the user presses the duration of the icon of second application program and the user slides on the screen;Split screen unit, if for do not detected within the second waiting time third application program be selected and press it is described first application The duration of the icon of program is more than the first preset duration and the duration of the icon of pressing second application program is more than second in advance If duration, then first application program and the second application program are carried out by split screen according to the first direction and second direction and shown Show;First waiting time is the timing since user terminates after the pressing of first application program, and described second waits for Duration is the timing since user terminates after the pressing of second application program;The first direction and the second direction point It Wei not upward, downward both direction;The split screen unit is used for:The screen is divided into the first split screen along the first direction and the second split screen along the second direction;Journey is applied in the first application program described in first point of screen display, and described in second point of screen display second Sequence.
- 7. terminal according to claim 6, which is characterized in that the terminal further includes:The detection unit, if being selected for detecting third application program within second waiting time, described in detection The third direction that user presses the duration of the third application program and the user slides on the screen;The split screen unit, if being selected for not detecting the 4th application program within third waiting time and pressing described first The duration of application program is more than first preset duration and the duration of pressing second application program is more than described second in advance If the duration and duration of the pressing third application program is more than third preset duration, then according to the first direction, second party First application program, the second application program and third application program are subjected to split screen display available to third direction.
- 8. terminal according to claim 7, which is characterized in that the terminal further includes judging unit and first movement list Member;The judging unit, for judge first application program, the second application program and third application program whether position In the same page;The first movement unit, if not having for first application program, the second application program and third application program Positioned at the same page, then first application program, the second application program and third application program are moved into the same page.
- 9. terminal according to claim 6, which is characterized in that the terminal further includes the second mobile unit:The determination unit, for determining that frequency of use is more than the application program of predeterminated frequency in the terminal;Second mobile unit, the application program for the frequency of use to be more than to predeterminated frequency move to the same page.
- 10. according to any terminal of claim 6 to 9, which is characterized in that the terminal, which further includes, cancels unit and termination Unit;The determination unit, for determining the destination application in split screen display available state that the user chooses;The detection unit, for detecting glide direction of the user to the destination application;The cancellation unit, if meeting preset direction to the glide direction of the destination application for the user, takes Disappear the corresponding split screen of the destination application;The termination unit, if meeting preset direction to the glide direction of the destination application for the user, eventually Only run the destination application.
- 11. a kind of terminal, which is characterized in that including:It is stored with the memory of executable program code;The processor coupled with the memory;The processor calls the executable program code stored in the memory, performs such as claim 1 to right It is required that 5 any one of them methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610551332.8A CN106200970B (en) | 2016-07-12 | 2016-07-12 | The method and terminal of a kind of split screen display available |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610551332.8A CN106200970B (en) | 2016-07-12 | 2016-07-12 | The method and terminal of a kind of split screen display available |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106200970A CN106200970A (en) | 2016-12-07 |
CN106200970B true CN106200970B (en) | 2018-06-29 |
Family
ID=57477222
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610551332.8A Expired - Fee Related CN106200970B (en) | 2016-07-12 | 2016-07-12 | The method and terminal of a kind of split screen display available |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106200970B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US12026367B2 (en) | 2021-08-03 | 2024-07-02 | Honor Device Co., Ltd. | Split-screen display method and apparatus |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648314A (en) * | 2016-12-09 | 2017-05-10 | 珠海市魅族科技有限公司 | Method and device for splitting screen |
CN106873897A (en) * | 2017-03-07 | 2017-06-20 | 维沃移动通信有限公司 | A kind of mobile terminal desktop suspension member display methods and mobile terminal |
CN106959834A (en) * | 2017-03-08 | 2017-07-18 | 北京小米移动软件有限公司 | Split screen method and device |
CN107219976B (en) | 2017-05-31 | 2020-07-28 | Oppo广东移动通信有限公司 | Application display method and related products |
CN108255388A (en) * | 2018-01-10 | 2018-07-06 | 中兴通讯股份有限公司 | Switching method, device, storage medium and the electronic device of screen display mode |
CN108984067B (en) * | 2018-07-23 | 2021-01-08 | 维沃移动通信有限公司 | Display control method and terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102915176A (en) * | 2012-09-19 | 2013-02-06 | 东莞宇龙通信科技有限公司 | Method and device for split-screen display |
CN103324435A (en) * | 2013-05-24 | 2013-09-25 | 华为技术有限公司 | Multi-screen display method and device and electronic device thereof |
CN103425453A (en) * | 2013-08-23 | 2013-12-04 | 广东欧珀移动通信有限公司 | Split screen display method and device |
CN104238949A (en) * | 2014-10-12 | 2014-12-24 | 福州瑞芯微电子有限公司 | Split-screen displaying method and device |
CN104915169A (en) * | 2015-05-28 | 2015-09-16 | 努比亚技术有限公司 | Method and device for screen-split display of terminal application |
CN105430168A (en) * | 2015-10-30 | 2016-03-23 | 努比亚技术有限公司 | Mobile terminal and file sharing method |
-
2016
- 2016-07-12 CN CN201610551332.8A patent/CN106200970B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102915176A (en) * | 2012-09-19 | 2013-02-06 | 东莞宇龙通信科技有限公司 | Method and device for split-screen display |
CN103324435A (en) * | 2013-05-24 | 2013-09-25 | 华为技术有限公司 | Multi-screen display method and device and electronic device thereof |
CN103425453A (en) * | 2013-08-23 | 2013-12-04 | 广东欧珀移动通信有限公司 | Split screen display method and device |
CN104238949A (en) * | 2014-10-12 | 2014-12-24 | 福州瑞芯微电子有限公司 | Split-screen displaying method and device |
CN104915169A (en) * | 2015-05-28 | 2015-09-16 | 努比亚技术有限公司 | Method and device for screen-split display of terminal application |
CN105430168A (en) * | 2015-10-30 | 2016-03-23 | 努比亚技术有限公司 | Mobile terminal and file sharing method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US12026367B2 (en) | 2021-08-03 | 2024-07-02 | Honor Device Co., Ltd. | Split-screen display method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN106200970A (en) | 2016-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106200970B (en) | The method and terminal of a kind of split screen display available | |
CN105786878B (en) | Display method and device of browsing object | |
CN106484283A (en) | A display control method and mobile terminal | |
CN108549519A (en) | Split-screen processing method, device, storage medium and electronic equipment | |
CN104571979B (en) | A kind of method and apparatus for realizing split view | |
CN106845422B (en) | A fingerprint identification module, fingerprint identification method and mobile terminal | |
CN104583924B (en) | A kind of method and terminal for handling media file | |
CN110351424A (en) | Gesture interaction method and terminal | |
CN106055237B (en) | One kind slides booster response method and equipment | |
CN106055408A (en) | Application control method and mobile terminal | |
CN106155557A (en) | A virtual button display method and mobile terminal | |
CN106714103A (en) | Network location method and terminal equipment | |
CN107329664A (en) | reading processing method and related product | |
CN108932093A (en) | Split screen application switching method and device, storage medium and electronic equipment | |
CN107071147A (en) | A parameter adjustment method and device | |
CN106371749A (en) | Method and device for terminal control | |
CN107317918B (en) | Parameter setting method and related products | |
CN106646440A (en) | Drop height detection method and drop height detection device | |
CN107145386A (en) | Data migration method, terminal device and computer-readable recording medium | |
CN106249992A (en) | A web page control method and mobile terminal | |
CN107071151B (en) | Control method and mobile terminal for physical keys corresponding to home keys | |
CN106066769B (en) | Mobile terminal processing method and mobile terminal | |
CN106057213B (en) | A kind of method and apparatus of display voice pitch data | |
CN106066814B (en) | Application control method and mobile terminal | |
CN106254673A (en) | Terminal fall detection method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180629 |