CN116954540A - Application display method, device and terminal - Google Patents
Application display method, device and terminal Download PDFInfo
- Publication number
- CN116954540A CN116954540A CN202310936309.0A CN202310936309A CN116954540A CN 116954540 A CN116954540 A CN 116954540A CN 202310936309 A CN202310936309 A CN 202310936309A CN 116954540 A CN116954540 A CN 116954540A
- Authority
- CN
- China
- Prior art keywords
- window
- application
- icon
- mode
- coordinate information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
- G06F3/1431—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display using a single graphics controller
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/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
- G06F3/04817—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 using icons
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)
- Computer Graphics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本公开是关于一种应用程序的显示方法、装置及终端。所述应用程序的显示方法包括:在检测到针对应用程序图标的设定操作时,采集所述应用程序图标在屏幕上的坐标信息;在所述坐标信息符合设定条件时,将所述应用程序图标对应的应用程序以设定的多窗口模式打开显示。本公开技术方案可以解决相关技术中需要多步骤以及需要在多个页面之间多次切换才能实现App多窗口显示的问题,同时也简化了用户的操作,优化用户体验。
The present disclosure relates to an application program display method, device and terminal. The display method of the application program includes: when a setting operation for the application program icon is detected, collecting coordinate information of the application program icon on the screen; when the coordinate information meets the setting conditions, setting the application program icon to The application corresponding to the program icon is opened and displayed in the set multi-window mode. The disclosed technical solution can solve the problem in related technologies that multiple steps and multiple switching between multiple pages are required to realize multi-window display of the App. At the same time, it also simplifies the user's operation and optimizes the user experience.
Description
技术领域Technical field
本公开涉及终端技术领域,尤其涉及一种应用程序的显示方法、装置及终端。The present disclosure relates to the field of terminal technology, and in particular, to an application display method, device and terminal.
背景技术Background technique
随着终端的安卓(Android)系统多窗口功能的发展,将会有越来越多的国内厂商ROM支持多窗口功能。多窗口功能有两种模式:分屏模式及自由形状模式。分屏模式针对两个应用程序,指的是两个应用程序的窗口共同占据终端的整个屏幕面积;自由形状模式针对两个以上应用程序,指的是各应用程序的窗口形状、在屏幕中的排布可自由设定。With the development of the multi-window function of the terminal's Android system, more and more domestic ROM manufacturers will support the multi-window function. The multi-window feature has two modes: split-screen mode and free-form mode. The split-screen mode is for two applications, which means that the windows of the two applications jointly occupy the entire screen area of the terminal; the free-shape mode is for two or more applications, which means that the window shape of each application and the size of the screen on the screen. The arrangement can be freely set.
相关技术中,用户可以在设置中操作终端进入多窗口模式,也可以在应用程序页面中打开菜单进行选择,进入多窗口模式,以上方式都不够便捷,比较繁琐,用户体验较差。In related technologies, users can operate the terminal in settings to enter multi-window mode, or they can open a menu on the application page to make selections and enter multi-window mode. The above methods are not convenient enough, are cumbersome, and have a poor user experience.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开实施例提供一种应用程序的显示方法、装置及终端,用以便捷的使得多个应用程序进入多窗口模式进行显示。In order to overcome problems existing in related technologies, embodiments of the present disclosure provide an application display method, device and terminal to conveniently enable multiple application programs to enter a multi-window mode for display.
根据本公开实施例的第一方面,提供一种应用程序的显示方法,包括:According to a first aspect of an embodiment of the present disclosure, a method for displaying an application program is provided, including:
在检测到针对应用程序图标的设定操作时,采集所述应用程序图标在屏幕上的坐标信息;When a setting operation for an application icon is detected, collect the coordinate information of the application icon on the screen;
在所述坐标信息符合设定条件时,将所述应用程序图标对应的应用程序以设定的多窗口模式打开显示。When the coordinate information meets the set conditions, the application corresponding to the application icon is opened and displayed in the set multi-window mode.
在一实施例中,所述检测到针对应用程序图标的设定操作,包括:In one embodiment, the detection of a setting operation for an application icon includes:
检测到针对应用程序图标的触摸操作;A touch operation on the application icon is detected;
统计所述触摸操作的触摸时长;Count the touch duration of the touch operation;
在所述触摸时长超过设定时长时,确定检测到针对所述应用程序图标的设定操作。When the touch duration exceeds the set duration, it is determined that a setting operation for the application icon is detected.
在一实施例中,所述坐标信息符合设定条件,包括:In one embodiment, the coordinate information meets the set conditions, including:
读取预存储的设定坐标范围;Read the pre-stored set coordinate range;
将所述应用程序图标的每一点的坐标信息与所述设定坐标范围做比对;Compare the coordinate information of each point of the application icon with the set coordinate range;
在所述应用程序图标的设定数量的点的坐标信息落入所述设定坐标范围时,确定所述坐标信息属于所述设定坐标范围。When the coordinate information of a set number of points of the application icon falls into the set coordinate range, it is determined that the coordinate information belongs to the set coordinate range.
在一实施例中,所述坐标信息符合设定条件,包括:In one embodiment, the coordinate information meets the set conditions, including:
读取预存储的设定坐标范围;Read the pre-stored set coordinate range;
将所述应用程序图标的中心点的坐标信息与所述设定坐标范围做比对;Compare the coordinate information of the center point of the application icon with the set coordinate range;
在所述应用程序图标的中心点的坐标信息落入所述设定坐标范围时,确定所述坐标信息属于所述设定坐标范围。When the coordinate information of the center point of the application icon falls into the set coordinate range, it is determined that the coordinate information belongs to the set coordinate range.
在一实施例中,所述将所述应用程序图标对应的应用程序以设定的多窗口模式打开显示,包括:In one embodiment, opening and displaying the application corresponding to the application icon in a set multi-window mode includes:
确定当前的多窗口模式;Determine the current multi-window mode;
在所述多窗口模式为第一模式时,如果已创建窗口,则在所述已创建窗口的空白窗口中显示所述应用程序;When the multi-window mode is the first mode, if a window has been created, display the application program in a blank window of the created window;
如果尚未创建窗口,则以预设的窗口大小、窗口形状、窗口位置和排布方式创建两个窗口;If the windows have not been created yet, create two windows with the preset window size, window shape, window position and arrangement;
在其中一个所述窗口中显示所述应用程序,所述第一模式为两个应用程序同屏显示的模式。The application program is displayed in one of the windows, and the first mode is a mode in which two application programs are displayed on the same screen.
在一实施例中,所述将所述应用程序图标对应的应用程序以设定的多窗口模式打开显示,包括:In one embodiment, opening and displaying the application corresponding to the application icon in a set multi-window mode includes:
确定当前的多窗口模式;Determine the current multi-window mode;
在所述多窗口模式为第二模式时,对于第一个以所述第二模式显示的第一应用程序,以与数量1对应的窗口参数创建第一窗口;When the multi-window mode is the second mode, for the first first application displayed in the second mode, create a first window with a window parameter corresponding to the number 1;
在所述第一窗口中显示所述第一应用程序;display the first application in the first window;
对于第n个以所述第二模式显示的第n应用程序,基于与数量n对应的窗口参数确定第n窗口的窗口参数,所述窗口参数包括窗口形状、窗口大小、窗口位置和排布方式,其中n为大于1的自然数;For the nth application displayed in the second mode, the window parameters of the nth window are determined based on the window parameters corresponding to the number n, the window parameters include window shape, window size, window position and arrangement. , where n is a natural number greater than 1;
基于所确定的窗口参数创建第n窗口,并调整已创建的(n-1)个窗口;Create the nth window based on the determined window parameters, and adjust the created (n-1) windows;
在所述第n窗口中显示所述第n应用程序,所述第二模式为两个以上的应用程序同屏显示的模式。The nth application program is displayed in the nth window, and the second mode is a mode in which two or more application programs are displayed on the same screen.
在一实施例中,所述将所述应用程序图标对应的应用程序以设定的多窗口模式打开显示,还包括:In one embodiment, opening and displaying the application corresponding to the application icon in a set multi-window mode further includes:
在检测到针对已创建窗口的操作时,基于所述操作的操作方式调节所述窗口的位置和/或大小。When an operation on a created window is detected, the position and/or size of the window is adjusted based on the operating mode of the operation.
在一实施例中,所述设定坐标范围以设定图标的方式显示在屏幕上。In one embodiment, the set coordinate range is displayed on the screen in the form of a setting icon.
根据本公开实施例的第二方面,提供一种应用程序的显示装置,所述装置包括:According to a second aspect of an embodiment of the present disclosure, a device for displaying an application program is provided, where the device includes:
采集模块,被配置为在检测到针对应用程序图标的设定操作时,采集所述应用程序图标在屏幕上的坐标信息;A collection module configured to collect coordinate information of the application icon on the screen when a setting operation for the application icon is detected;
显示模块,被配置为在所述坐标信息符合设定条件时,将所述应用程序图标对应的应用程序以设定的多窗口模式打开显示。The display module is configured to open and display the application corresponding to the application icon in the set multi-window mode when the coordinate information meets the set conditions.
在一实施例中,所述采集模块包括:In one embodiment, the collection module includes:
检测子模块,被配置为检测到针对应用程序图标的触摸操作;a detection submodule configured to detect a touch operation on an application icon;
统计子模块,被配置为统计所述触摸操作的触摸时长;A statistics submodule configured to count the touch duration of the touch operation;
第一确定子模块,被配置为在所述触摸时长超过设定时长时,确定检测到针对所述应用程序图标的设定操作。The first determination sub-module is configured to determine that a setting operation for the application icon is detected when the touch duration exceeds the set duration.
在一实施例中,所述显示模块包括:In one embodiment, the display module includes:
第一读取子模块,被配置为读取预存储的设定坐标范围;The first reading sub-module is configured to read the pre-stored set coordinate range;
第一比对子模块,被配置为将所述应用程序图标的每一点的坐标信息与所述设定坐标范围做比对;The first comparison sub-module is configured to compare the coordinate information of each point of the application icon with the set coordinate range;
第二确定子模块,被配置为在所述应用程序图标的设定数量的点的坐标信息落入所述设定坐标范围时,确定所述坐标信息属于所述设定坐标范围。The second determination sub-module is configured to determine that the coordinate information belongs to the set coordinate range when the coordinate information of a set number of points of the application icon falls into the set coordinate range.
在一实施例中,所述显示模块包括:In one embodiment, the display module includes:
第二读取子模块,被配置为读取预存储的设定坐标范围;The second reading sub-module is configured to read the pre-stored set coordinate range;
第二比对子模块,被配置为将所述应用程序图标的中心点的坐标信息与所述设定坐标范围做比对;The second comparison sub-module is configured to compare the coordinate information of the center point of the application icon with the set coordinate range;
第三确定子模块,被配置为在所述应用程序图标的中心点的坐标信息落入所述设定坐标范围时,确定所述坐标信息属于所述设定坐标范围。The third determination sub-module is configured to determine that the coordinate information belongs to the set coordinate range when the coordinate information of the center point of the application icon falls into the set coordinate range.
在一实施例中,所述显示模块包括:In one embodiment, the display module includes:
第四确定子模块,被配置为确定当前的多窗口模式;The fourth determination sub-module is configured to determine the current multi-window mode;
第一显示子模块,被配置为在所述多窗口模式为第一模式时,如果已创建窗口,则在所述已创建窗口的空白窗口中显示所述应用程序;A first display submodule configured to display the application program in a blank window of the created window when the multi-window mode is the first mode, if a window has been created;
第一创建子模块,被配置为如果尚未创建窗口,则以预设的窗口大小、窗口形状、窗口位置和排布方式创建两个窗口;The first creation sub-module is configured to create two windows with preset window sizes, window shapes, window positions and arrangements if no windows have been created yet;
第二显示子模块,被配置为在其中一个所述窗口中显示所述应用程序,所述第一模式为两个应用程序同屏显示的模式。The second display sub-module is configured to display the application program in one of the windows, and the first mode is a mode in which two application programs are displayed on the same screen.
在一实施例中,所述显示模块包括:In one embodiment, the display module includes:
第五确定子模块,被配置为确定当前的多窗口模式;The fifth determination sub-module is configured to determine the current multi-window mode;
第二创建子模块,被配置为在所述多窗口模式为第二模式时,对于第一个以所述第二模式显示的第一应用程序,以与数量1对应的窗口参数创建第一窗口;The second creation sub-module is configured to, when the multi-window mode is the second mode, create a first window with a window parameter corresponding to the number 1 for the first application displayed in the second mode. ;
第三显示子模块,被配置为在所述第一窗口中显示所述第一应用程序;a third display submodule configured to display the first application program in the first window;
第六确定子模块,被配置为对于第n个以所述第二模式显示的第n应用程序,基于与数量n对应的窗口参数确定第n窗口的窗口参数,所述窗口参数包括窗口形状、窗口大小、窗口位置和排布方式,其中n为大于1的自然数;The sixth determination sub-module is configured to determine the window parameters of the n-th window based on the window parameters corresponding to the number n for the n-th application displayed in the second mode, the window parameters including window shape, Window size, window position and arrangement, where n is a natural number greater than 1;
第三创建子模块,被配置为基于所确定的窗口参数创建第n窗口,并调整已创建的(n-1)个窗口;The third creation submodule is configured to create the nth window based on the determined window parameters and adjust the created (n-1) windows;
第四显示子模块,被配置为在所述第n窗口中显示所述第n应用程序,所述第二模式为两个以上的应用程序同屏显示的模式。The fourth display submodule is configured to display the nth application program in the nth window, and the second mode is a mode in which two or more application programs are displayed on the same screen.
在一实施例中,所述显示模块包括:In one embodiment, the display module includes:
调节子模块,被配置为在检测到针对已创建窗口的操作时,基于所述操作的操作方式调节所述窗口的位置和/或大小。The adjustment submodule is configured to adjust the position and/or size of the window based on the operation mode of the operation when an operation on the created window is detected.
在一实施例中,所述设定坐标范围以设定图标的方式显示在屏幕上。In one embodiment, the set coordinate range is displayed on the screen in the form of a setting icon.
根据本公开实施例的第三方面,提供一种终端,包括:According to a third aspect of the embodiment of the present disclosure, a terminal is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;Memory used to store instructions executable by the processor;
其中,所述处理器被配置为:Wherein, the processor is configured as:
在检测到针对应用程序图标的设定操作时,采集所述应用程序图标在屏幕上的坐标信息;When a setting operation for an application icon is detected, collect the coordinate information of the application icon on the screen;
在所述坐标信息符合设定条件时,将所述应用程序图标对应的应用程序以设定的多窗口模式打开显示。When the coordinate information meets the set conditions, the application corresponding to the application icon is opened and displayed in the set multi-window mode.
根据本公开实施例的第四方面,提供一种计算机可读存储介质,其上存储有计算机程序(指令),该程序(指令)被处理器执行时实现以下步骤:According to a fourth aspect of the embodiment of the present disclosure, there is provided a computer-readable storage medium on which a computer program (instruction) is stored, and when the program (instruction) is executed by a processor, the following steps are implemented:
在检测到针对应用程序图标的设定操作时,采集所述应用程序图标在屏幕上的坐标信息;When a setting operation for an application icon is detected, collect the coordinate information of the application icon on the screen;
在所述坐标信息符合设定条件时,将所述应用程序图标对应的应用程序以设定的多窗口模式打开显示。When the coordinate information meets the set conditions, the application corresponding to the application icon is opened and displayed in the set multi-window mode.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
本公开提供一种更为便捷的将App以多窗口模式进行打开显示的方式,解决相关技术中需要多步骤以及需要在多个页面之间多次切换才能实现App多窗口显示的问题,同时也简化了用户的操作,优化用户体验。The present disclosure provides a more convenient way to open and display an App in a multi-window mode, solving the problem in related technologies that multi-steps and multiple switching between multiple pages are required to realize the multi-window display of the App. Simplifies user operations and optimizes user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only, and do not limit the present disclosure.
附图说明Description of the drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
图1A是根据一示例性实施例示出的一种应用程序的显示方法的流程图。FIG. 1A is a flowchart of a method for displaying an application program according to an exemplary embodiment.
图1B是根据一示例性实施例示出的一种应用程序的显示方法的场景图。FIG. 1B is a scene diagram illustrating a method of displaying an application program according to an exemplary embodiment.
图1C是根据一示例性实施例示出的另一种应用程序的显示方法的场景图。FIG. 1C is a scene diagram illustrating another method of displaying an application program according to an exemplary embodiment.
图2是根据一示例性实施例示出的另一种应用程序的显示方法的流程图。FIG. 2 is a flowchart of another method for displaying an application program according to an exemplary embodiment.
图3是根据一示例性实施例示出的另一种应用程序的显示方法的流程图。FIG. 3 is a flowchart of another method for displaying an application program according to an exemplary embodiment.
图4是根据一示例性实施例示出的另一种应用程序的显示方法的流程图。FIG. 4 is a flowchart of another method for displaying an application program according to an exemplary embodiment.
图5A是根据一示例性实施例示出的另一种应用程序的显示方法的流程图。FIG. 5A is a flowchart of another method of displaying an application program according to an exemplary embodiment.
图5B是根据一示例性实施例示出的另一种应用程序的显示方法的场景图。FIG. 5B is a scene diagram illustrating another method of displaying an application program according to an exemplary embodiment.
图6是根据一示例性实施例示出的一种应用程序的显示装置的框图。FIG. 6 is a block diagram of a display device for an application program according to an exemplary embodiment.
图7是根据一示例性实施例示出的另一种应用程序的显示装置的框图。FIG. 7 is a block diagram of a display device of another application program according to an exemplary embodiment.
图8是根据一示例性实施例示出的另一种应用程序的显示装置的框图。FIG. 8 is a block diagram of a display device of another application program according to an exemplary embodiment.
图9是根据一示例性实施例示出的另一种应用程序的显示装置的框图。FIG. 9 is a block diagram of a display device of another application program according to an exemplary embodiment.
图10是根据一示例性实施例示出的另一种应用程序的显示装置的框图。FIG. 10 is a block diagram of a display device of another application program according to an exemplary embodiment.
图11是根据一示例性实施例示出的另一种应用程序的显示装置的框图。FIG. 11 is a block diagram of a display device of another application program according to an exemplary embodiment.
图12是根据一示例性实施例示出的另一种应用程序的显示装置的框图。FIG. 12 is a block diagram of a display device of another application program according to an exemplary embodiment.
图13是根据一示例性实施例示出的一种适用于应用程序的显示装置的框图。FIG. 13 is a block diagram of a display device suitable for application programs according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the appended claims.
图1A是根据一示例性实施例示出的一种应用程序的显示方法的流程图,图1B是根据一示例性实施例示出的一种应用程序的显示方法的场景图,图1C是根据一示例性实施例示出的另一种应用程序的显示方法的场景图;该应用程序的显示方法可以应用程序在终端上,如图1A所示,该应用程序的显示方法包括以下步骤101-102:FIG. 1A is a flow chart of a method for displaying an application program according to an exemplary embodiment. FIG. 1B is a scene diagram of a method of displaying an application program according to an exemplary embodiment. FIG. 1C is a diagram of a method for displaying an application program according to an exemplary embodiment. The scene diagram of another application display method shown in this embodiment; the application display method can be applied on the terminal, as shown in Figure 1A. The application display method includes the following steps 101-102:
在步骤101中,在检测到针对应用程序图标的设定操作时,采集应用程序图标在屏幕上的坐标信息。In step 101, when a setting operation for an application icon is detected, coordinate information of the application icon on the screen is collected.
在一实施例中,终端的屏幕上显示有所安装的各个App(Application,应用程序)的图标。In one embodiment, icons of each installed App (Application, application program) are displayed on the screen of the terminal.
在一实施例中,用户可以对图标进行长按操作,从而,可以通过长按操作将App删除,或将App拖到文件夹里。在拖动过程中,App图标在屏幕上的显示位置发生变化,终端可以采集App在屏幕上的坐标信息。In one embodiment, the user can perform a long press operation on the icon, thereby deleting the App or dragging the App to a folder through a long press operation. During the dragging process, the display position of the App icon on the screen changes, and the terminal can collect the coordinate information of the App on the screen.
在步骤102中,在坐标信息符合设定条件时,将该应用程序图标对应的应用程序以设定的多窗口模式打开显示。In step 102, when the coordinate information meets the set conditions, the application corresponding to the application icon is opened and displayed in the set multi-window mode.
在一实施例中,由于App图标在屏幕中占据一定面积,因而其坐标信息包括各个点的坐标信息。In one embodiment, since the App icon occupies a certain area on the screen, its coordinate information includes the coordinate information of each point.
在一实施例中,App图标上的任一点的坐标信息属于设定坐标范围时,可以确定坐标信息符合设定条件。In one embodiment, when the coordinate information of any point on the App icon belongs to the set coordinate range, it can be determined that the coordinate information meets the set conditions.
在一实施例中,App图标上中心点的坐标信息属于设定坐标范围时,可以确定坐标信息符合设定条件。In one embodiment, when the coordinate information of the center point on the App icon belongs to the set coordinate range, it can be determined that the coordinate information meets the set conditions.
在一实施例中,App图标上设定数量的点的坐标信息属于设定坐标范围时,可以确定坐标信息符合设定条件。In one embodiment, when the coordinate information of a set number of points on the App icon belongs to the set coordinate range, it can be determined that the coordinate information meets the set conditions.
其中,设定坐标范围可以以图标的形式显示在屏幕上,从而便于用户辨认设定坐标范围和方便用户操作。Among them, the set coordinate range can be displayed on the screen in the form of an icon, thereby facilitating the user to identify the set coordinate range and facilitating user operation.
在一实施例中,多窗口模式即相关技术中的多窗口模式,可以包括分屏模式和自由模式,分屏模式指的是两个App同屏显示的模式,自由模式指的是两个以上的App同屏显示的模式。In one embodiment, the multi-window mode is the multi-window mode in the related art, and may include a split-screen mode and a free mode. The split-screen mode refers to a mode in which two Apps are displayed on the same screen, and the free mode refers to a mode in which two or more Apps are displayed on the same screen. The app is displayed on the same screen.
在一示例性场景中,如图1B所示,以针对App图标“微信”进行设定操作为例进行示例性说明,在图1B所示的场景中,包括作为终端的智能手机,智能手机上设置有用于进入多窗口模式的设定图标。In an exemplary scenario, as shown in Figure 1B, the setting operation for the App icon "WeChat" is taken as an example to illustrate. In the scenario shown in Figure 1B, including a smartphone as a terminal, the smartphone There is a settings icon for entering multi-window mode.
智能手机在检测到针对“微信”图标的触摸操作时,统计该触摸操作的触摸时长,并且,在触摸时长超过设定时长时,采集“微信”图标在屏幕上的坐标信息,并将采集到的“微信”图标的坐标信息与设定图标的坐标信息进行比对,如果“微信”图标的坐标信息与设定图标的坐标信息有重合,则将“微信”以设定的多窗口模式进行打开和显示,如图1C所示。When the smartphone detects a touch operation on the "WeChat" icon, it counts the touch duration of the touch operation, and when the touch duration exceeds the set duration, it collects the coordinate information of the "WeChat" icon on the screen and collects it. Compare the coordinate information of the "WeChat" icon with the coordinate information of the set icon. If the coordinate information of the "WeChat" icon overlaps with the coordinate information of the set icon, then "WeChat" will be operated in the set multi-window mode. Open and display as shown in Figure 1C.
至此,本公开实施例提供的上述方法,提供一种更为便捷的将App以多窗口模式进行打开显示的方式,解决相关技术中需要多步骤以及需要在多个页面之间多次切换才能实现App多窗口显示的问题,同时也简化了用户的操作,优化用户体验。So far, the above method provided by the embodiments of the present disclosure provides a more convenient way to open and display the App in multi-window mode, solving the problem that the related technology requires multiple steps and multiple switching between multiple pages. The problem of multi-window display of App also simplifies user operations and optimizes user experience.
具体如何显示应用程序的,请参考后续实施例。For details on how to display the application, please refer to subsequent embodiments.
下面以具体实施例来说明本公开实施例提供的技术方案。The following uses specific examples to illustrate the technical solutions provided by the embodiments of the present disclosure.
图2是根据一示例性实施例示出的另一种应用程序的显示方法的流程图;本实施例利用本公开实施例提供的上述方法,以如何判定坐标信息符合设定条件为例并结合图1B进行示例性说明,如图2所示,包括如下步骤:Figure 2 is a flow chart of another application display method according to an exemplary embodiment; this embodiment uses the above method provided by the embodiment of the present disclosure, taking how to determine that the coordinate information meets the set conditions as an example and combined with Figure 1B provides an exemplary explanation, as shown in Figure 2, including the following steps:
在步骤201中,读取预存储的设定坐标范围。In step 201, the pre-stored set coordinate range is read.
在一实施例中,在终端的屏幕上,该设定坐标范围可以以设定图标的形式进行标识,并且,终端中可以存储有该设定坐标范围。In one embodiment, the set coordinate range can be identified in the form of a setting icon on the screen of the terminal, and the set coordinate range can be stored in the terminal.
在步骤202中,将应用程序图标的每一点的坐标信息与设定坐标范围做比对。In step 202, the coordinate information of each point of the application icon is compared with the set coordinate range.
在一实施例中,用户对要多窗口显示的App的图标进行长按操作之后,向设定图标的方向对App图标进行拖动,在拖动过程中,终端可以实时采集App图标的坐标信息,并将App图标上的每一点的坐标信息都与设定坐标范围进行比对。In one embodiment, after the user performs a long press operation on the icon of the App to be displayed in multiple windows, the user drags the App icon in the direction of the set icon. During the dragging process, the terminal can collect the coordinate information of the App icon in real time. , and compares the coordinate information of each point on the App icon with the set coordinate range.
在步骤203中,在应用程序图标的任一点的坐标信息落入设定坐标范围时,确定坐标信息属于设定坐标范围。In step 203, when the coordinate information of any point of the application icon falls into the set coordinate range, it is determined that the coordinate information belongs to the set coordinate range.
在本公开实施例中,App图标上的任一点的坐标信息落入设定坐标范围时,都可以确定坐标信息属于设定坐标范围。In the embodiment of the present disclosure, when the coordinate information of any point on the App icon falls into the set coordinate range, it can be determined that the coordinate information belongs to the set coordinate range.
为了避免误操作,也可以设定为App坐标上设定数量的点的坐标信息落入设定坐标范围时,都可以确定坐标信息属于设定坐标范围。In order to avoid misoperation, it can also be set so that when the coordinate information of a set number of points on the App coordinates falls into the set coordinate range, it can be determined that the coordinate information belongs to the set coordinate range.
在一示例性场景中,如图1B所示,“微信”图标与设定图标重合,如果重合部分的点的数量不少于设定数量,那么可以确认“微信”图标的坐标信息属于设定坐标范围。In an exemplary scenario, as shown in Figure 1B, the "WeChat" icon overlaps with the setting icon. If the number of points in the overlapping part is not less than the set number, it can be confirmed that the coordinate information of the "WeChat" icon belongs to the setting coordinate range.
本实施例中,根据设定操作所针对的App图标的任一点的坐标信息是否落入设定坐标范围,来确定坐标信息是否满足设定条件,从而可以确保开启多窗口模式,避免繁复的操作和页面的来回切换,有效提升进入多窗口模式的速度和效率。In this embodiment, whether the coordinate information of any point of the App icon targeted by the setting operation falls within the set coordinate range is determined to determine whether the coordinate information meets the setting conditions, thereby ensuring that the multi-window mode is turned on and avoiding complicated operations. Switching back and forth between pages effectively improves the speed and efficiency of entering multi-window mode.
图3是根据一示例性实施例示出的另一种应用程序的显示方法的流程图;本实施例利用本公开实施例提供的上述方法,以如何判定坐标信息符合设定条件为例并结合图1B进行示例性说明,如图3所示,包括如下步骤:Figure 3 is a flowchart of another application display method according to an exemplary embodiment; this embodiment uses the above method provided by the embodiment of the present disclosure, taking how to determine that coordinate information meets the set conditions as an example and combined with Figure 1B provides an exemplary explanation, as shown in Figure 3, including the following steps:
在步骤301中,读取预存储的设定坐标范围。In step 301, the pre-stored set coordinate range is read.
在一实施例中,在终端的屏幕上,该设定坐标范围可以以设定图标的形式进行标识,并且,终端中可以存储有该设定坐标范围。In one embodiment, the set coordinate range can be identified in the form of a setting icon on the screen of the terminal, and the set coordinate range can be stored in the terminal.
在步骤302中,将应用程序图标的中心点的坐标信息与设定坐标范围做比对。In step 302, the coordinate information of the center point of the application icon is compared with the set coordinate range.
在一实施例中,用户对要多窗口显示的App的图标进行长按操作之后,向设定图标的方向对App图标进行拖动,在拖动过程中,终端可以实时采集App图标的中心点的坐标信息,也就是说本公开实施例中将App图标的中心点的坐标信息作为App图标的坐标信息,并将该中心点的坐标信息与设定坐标范围进行比对。In one embodiment, after the user performs a long press operation on the icon of the App to be displayed in multiple windows, the user drags the App icon in the direction of the set icon. During the dragging process, the terminal can collect the center point of the App icon in real time. That is to say, in the embodiment of the present disclosure, the coordinate information of the center point of the App icon is used as the coordinate information of the App icon, and the coordinate information of the center point is compared with the set coordinate range.
在步骤303中,在应用程序图标的中心点的坐标信息落入设定坐标范围时,确定坐标信息属于设定坐标范围。In step 303, when the coordinate information of the center point of the application icon falls into the set coordinate range, it is determined that the coordinate information belongs to the set coordinate range.
在本公开实施例中,App图标上的中心点的坐标信息落入设定坐标范围时,可以确定坐标信息属于设定坐标范围。In the embodiment of the present disclosure, when the coordinate information of the center point on the App icon falls into the set coordinate range, it can be determined that the coordinate information belongs to the set coordinate range.
在一示例性场景中,如图1B所示,“微信”图标与设定图标部分重合,如果“微信”图标的中心点的坐标信息进入设定图标的范围,那么可以确认“微信”图标的坐标信息属于设定坐标范围。In an exemplary scenario, as shown in Figure 1B, the "WeChat" icon partially overlaps with the setting icon. If the coordinate information of the center point of the "WeChat" icon enters the range of the setting icon, then the "WeChat" icon can be confirmed The coordinate information belongs to the set coordinate range.
本实施例中,根据设定操作所针对的App图标的中心点的坐标信息是否落入设定坐标范围,来确定坐标信息是否满足设定条件,从而可以确保开启多窗口模式,避免繁复的操作和页面的来回切换,有效提升进入多窗口模式的速度和效率。In this embodiment, whether the coordinate information of the center point of the App icon targeted by the setting operation falls within the set coordinate range is determined to determine whether the coordinate information meets the setting conditions, thereby ensuring that the multi-window mode is turned on and avoiding complicated operations. Switching back and forth between pages effectively improves the speed and efficiency of entering multi-window mode.
图4是根据一示例性实施例示出的另一种应用程序的显示方法的流程图;本实施例利用本公开实施例提供的上述方法,以如何将应用程序图标对应的应用程序以设定的多窗口模式打开显示为例进行示例性说明,如图4所示,该应用程序的显示方法包括以下步骤401-404:Figure 4 is a flow chart of another application display method according to an exemplary embodiment; this embodiment uses the above method provided by the embodiment of the present disclosure to how to set the application icon corresponding to the application program. Opening the display in multi-window mode is an example for illustrative explanation. As shown in Figure 4, the display method of the application includes the following steps 401-404:
在步骤401中,确定当前的多窗口模式。In step 401, the current multi-window mode is determined.
在一实施例中,多窗口模式包括第一模式和第二模式,本公开实施例以第一模式为例进行说明,第一模式为两个App同屏显示的模式。In one embodiment, the multi-window mode includes a first mode and a second mode. This embodiment of the disclosure takes the first mode as an example to illustrate. The first mode is a mode in which two Apps are displayed on the same screen.
在步骤402中,在多窗口模式为第一模式时,如果已创建窗口,则在已创建窗口的空白窗口中显示应用程序。In step 402, when the multi-window mode is the first mode, if a window has been created, the application is displayed in a blank window of the created window.
在一实施例中,终端每检测到一个App图标被拖至设定图标,并符合设定条件时,为多窗口模式创建对应的窗口。In one embodiment, each time the terminal detects that an App icon is dragged to the set icon and meets the set conditions, the terminal creates a corresponding window for the multi-window mode.
在第一模式中,终端存储有两个窗口的多种窗口大小、窗口形式、窗口位置和排布方式,用户可以任意选择来预设窗口的上述基本参数。并且,在第一模式下,如果终端检测到已创建窗口,那么当前拖动的App图标为两个同屏显示的App图标中的第二个图标,那么将对应的应用显示在所创建的窗口中的空白窗口中即可实现分屏模式显示。In the first mode, the terminal stores multiple window sizes, window forms, window positions and arrangements of two windows, and the user can arbitrarily choose to preset the above basic parameters of the windows. Moreover, in the first mode, if the terminal detects that a window has been created, and the currently dragged App icon is the second icon of two App icons displayed on the same screen, the corresponding application will be displayed in the created window. Split-screen mode display can be realized in the blank window.
在步骤403中,如果尚未创建窗口,则以预设的窗口大小、窗口形状、窗口位置和排布方式创建两个窗口。In step 403, if the window has not been created yet, two windows are created with preset window size, window shape, window position and arrangement.
如果终端检测到尚未创建窗口,那么当前拖动的App图标为第一个分屏显示的应用,可以读取终端中预先设置的参数,以预设的参数创建两个窗口。If the terminal detects that a window has not been created yet, then the currently dragged App icon is the first split-screen application, and the preset parameters in the terminal can be read and two windows can be created with the preset parameters.
在步骤404中,在其中一个窗口中显示应用程序,第一模式为两个应用程序同屏显示的模式。In step 404, the application program is displayed in one of the windows, and the first mode is a mode in which two application programs are displayed on the same screen.
在一实施例中,可以任选一个窗口显示该App。In one embodiment, any window can be selected to display the App.
在一示例性场景中,在第一模式下,检测到尚未创建窗口时,以预设的参数创建两个窗口,并将“微信”显示在其中任一个窗口中。In an exemplary scenario, in the first mode, when it is detected that no window has been created, two windows are created with preset parameters, and "WeChat" is displayed in either window.
本实施例中,在第一模式下,基于预设的参数创建窗口,从而可以确保开启分屏模式,避免繁复的操作和页面的来回切换,有效提升进入多窗口模式的速度和效率,优化用户体验。In this embodiment, in the first mode, windows are created based on preset parameters, thereby ensuring that the split-screen mode is enabled, avoiding complicated operations and page switching, effectively improving the speed and efficiency of entering multi-window mode, and optimizing users experience.
图5A是根据一示例性实施例示出的另一种应用程序的显示方法的流程图;本实施例利用本公开实施例提供的上述方法,以如何将应用程序图标对应的应用程序以设定的多窗口模式打开显示为例并结合图5B进行示例性说明,如图5A所示,该应用程序的显示方法包括以下步骤501-503:Figure 5A is a flow chart of another application display method according to an exemplary embodiment; this embodiment uses the above method provided by the embodiment of the present disclosure to how to set the application icon corresponding to the application program. Opening the display in multi-window mode is an example and is illustrated in conjunction with Figure 5B. As shown in Figure 5A, the display method of the application includes the following steps 501-503:
在步骤501中,确定当前的多窗口模式。In step 501, the current multi-window mode is determined.
在一实施例中,多窗口模式包括第一模式和第二模式,本公开实施例以第二模式为例进行说明,第二模式为两个以上的App同屏显示的模式。In one embodiment, the multi-window mode includes a first mode and a second mode. This embodiment of the disclosure takes the second mode as an example to illustrate. The second mode is a mode in which two or more Apps are displayed on the same screen.
在步骤502中,在多窗口模式为第二模式时,对于第一个以第二模式显示的第一应用程序,以与数量1对应的窗口参数创建第一窗口。In step 502, when the multi-window mode is the second mode, for the first first application program displayed in the second mode, a first window is created with a window parameter corresponding to the number 1.
在一实施例中,终端每检测到一个App图标被拖至设定图标,并符合设定条件时,为多窗口模式创建对应的窗口。In one embodiment, each time the terminal detects that an App icon is dragged to the set icon and meets the set conditions, the terminal creates a corresponding window for the multi-window mode.
在第二模式中,终端存储有窗口参数与窗口数量的对应关系表。也就是说,基于窗口的数量来确定窗口的窗口大小、窗口形式、窗口位置和排布方式。In the second mode, the terminal stores a correspondence table between window parameters and window numbers. That is to say, the window size, window form, window position and arrangement of the windows are determined based on the number of windows.
并且,随着加入多窗口模式的App的增多,终端可以及时调整已创建的窗口的参数。Moreover, as the number of apps that add multi-window mode increases, the terminal can adjust the parameters of the created windows in a timely manner.
在步骤503中,对于第n个以所述第二模式显示的第n应用程序,基于与数量n对应的窗口参数确定第n窗口的窗口参数。In step 503, for the n-th application program displayed in the second mode, the window parameters of the n-th window are determined based on the window parameters corresponding to the number n.
对于第n个App,终端读取对应关系表,确定对应于数量n的窗口的参数,即窗口形状、窗口大小、窗口位置和排布方式。For the nth App, the terminal reads the correspondence table and determines the parameters corresponding to the number n of windows, that is, window shape, window size, window position and arrangement.
在步骤504中,基于所确定的窗口参数创建第n窗口,并调整已创建的(n-1)个窗口。In step 504, an n-th window is created based on the determined window parameters, and the created (n-1) windows are adjusted.
在步骤505中,在第n窗口中显示第n应用程序,该第二模式为两个以上的应用程序同屏显示的模式。In step 505, the nth application program is displayed in the nth window, and the second mode is a mode in which two or more application programs are displayed on the same screen.
在一示例性场景中,如图5B所示,在第二模式下,对于第一个进入第二模式的App“微信”,终端读取预存储的对应关系表,以预设的窗口大小、窗口形状、窗口位置和排布方式创建第一窗口,并将“微信”显示在第一窗口中;对于第二个进入第二模式的App“虾米音乐”,终端读取预存储的对应关系表,以数量2对应的窗口大小、窗口形状、窗口位置和排布方式创建第二窗口并调整第一窗口,将“虾米音乐”显示在第二窗口中;对于第三个进入第二模式的App“知乎”,终端读取预存储的对应关系表,以数量3对应的窗口大小、窗口形状、窗口位置和排布方式创建第三窗口并调整第一窗口和第二窗口,将“知乎”显示在第二窗口中。In an exemplary scenario, as shown in Figure 5B, in the second mode, for the first App "WeChat" to enter the second mode, the terminal reads the pre-stored correspondence table, and uses the preset window size, The window shape, window position and arrangement create the first window, and display "WeChat" in the first window; for the second App "Xiami Music" that enters the second mode, the terminal reads the pre-stored correspondence table , create a second window with the window size, window shape, window position and arrangement corresponding to the number 2 and adjust the first window to display "Xiami Music" in the second window; for the third App that enters the second mode "Zhihu", the terminal reads the pre-stored correspondence table, creates a third window with the window size, window shape, window position and arrangement corresponding to the number 3 and adjusts the first window and the second window, and changes "Zhihu" ” is displayed in the second window.
本实施例中,在第二模式下,基于预设的窗口数量和窗口参数的对应关系,来创建窗口,从而可以确保开启自由模式,避免繁复的操作和页面的来回切换,有效提升进入多窗口模式的速度和效率,优化用户体验。In this embodiment, in the second mode, windows are created based on the preset number of windows and the corresponding relationship between window parameters, thereby ensuring that the free mode is turned on, avoiding complicated operations and switching back and forth between pages, and effectively improving access to multiple windows. Mode speed and efficiency, optimizing user experience.
在一实施例中,在终端检测到针对已创建窗口的操作时,基于操作的操作方式调节窗口的位置和/或大小。例如,在检测到对窗口角的长按和拖动操作时,基于拖动操作的方向放大或缩小该窗口的大小;再例如,在检测到对窗口中心位置的长按和拖动操作时,基于拖动操作的方向移动窗口的位置。In one embodiment, when the terminal detects an operation on a created window, the position and/or size of the window is adjusted based on the operating mode of the operation. For example, when a long press and drag operation on the corner of the window is detected, the size of the window is enlarged or reduced based on the direction of the drag operation; for another example, when a long press and drag operation on the center of the window are detected, Moves the window's position based on the direction of the drag operation.
图6是根据一示例性实施例示出的一种应用程序的显示装置的框图,如图6所示,应用程序的显示装置包括:采集模块610和显示模块620。FIG. 6 is a block diagram of an application display device according to an exemplary embodiment. As shown in FIG. 6 , the application display device includes: a collection module 610 and a display module 620 .
采集模块610,被配置为在检测到针对应用程序图标的设定操作时,采集所述应用程序图标在屏幕上的坐标信息;The collection module 610 is configured to collect the coordinate information of the application icon on the screen when a setting operation for the application icon is detected;
显示模块620,被配置为在采集模块610采集的坐标信息符合设定条件时,将应用程序图标对应的应用程序以设定的多窗口模式打开显示。The display module 620 is configured to open and display the application corresponding to the application icon in the set multi-window mode when the coordinate information collected by the collection module 610 meets the set conditions.
图7是根据一示例性实施例示出的另一种应用程序的显示装置的框图,如图7所示,在上述图6所示实施例的基础上,采集模块610可以包括:检测子模块611、统计子模块612和第一确定子模块613。Figure 7 is a block diagram of a display device of another application program according to an exemplary embodiment. As shown in Figure 7, based on the above embodiment shown in Figure 6, the collection module 610 may include: a detection sub-module 611 , statistics sub-module 612 and first determination sub-module 613.
检测子模块611,被配置为检测到针对应用程序图标的触摸操作;The detection sub-module 611 is configured to detect a touch operation on an application icon;
统计子模块612,被配置为统计检测子模块611检测到的触摸操作的触摸时长;The statistics sub-module 612 is configured to count the touch duration of the touch operation detected by the detection sub-module 611;
第一确定子模块613,被配置为在统计子模块612统计的触摸时长超过设定时长时,确定检测到针对应用程序图标的设定操作。The first determination sub-module 613 is configured to determine that a setting operation for the application icon is detected when the touch duration counted by the statistics sub-module 612 exceeds the set duration.
图8是根据一示例性实施例示出的另一种应用程序的显示装置的框图,如图8所示,在上述图6所示实施例的基础上,显示模块620可以包括:第一读取子模块621、第一比对子模块622和第二确定子模块623。Figure 8 is a block diagram of a display device for another application program according to an exemplary embodiment. As shown in Figure 8, based on the embodiment shown in Figure 6 above, the display module 620 may include: a first reading Sub-module 621, first comparison sub-module 622 and second determination sub-module 623.
第一读取子模块621,被配置为读取预存储的设定坐标范围;The first reading sub-module 621 is configured to read the pre-stored set coordinate range;
第一比对子模块622,被配置为将第一读取子模块621读取的应用程序图标的每一点的坐标信息与设定坐标范围做比对;The first comparison sub-module 622 is configured to compare the coordinate information of each point of the application icon read by the first reading sub-module 621 with the set coordinate range;
第二确定子模块623,被配置为在第一比对子模块622的比对结果为应用程序图标的设定数量的点的坐标信息落入设定坐标范围时,确定坐标信息属于设定坐标范围。The second determination sub-module 623 is configured to determine that the coordinate information belongs to the set coordinates when the comparison result of the first comparison sub-module 622 is that the coordinate information of the set number of points of the application icon falls into the set coordinate range. scope.
图9是根据一示例性实施例示出的另一种应用程序的显示装置的框图,如图9所示,在上述图6所示实施例的基础上,显示模块620可以包括:第二读取子模块624、第二比对子模块625和第三确定子模块626。Figure 9 is a block diagram of a display device for another application program according to an exemplary embodiment. As shown in Figure 9, based on the above embodiment shown in Figure 6, the display module 620 may include: a second reading sub-module 624, the second comparison sub-module 625 and the third determination sub-module 626.
第二读取子模块624,被配置为读取预存储的设定坐标范围;The second reading sub-module 624 is configured to read the pre-stored set coordinate range;
第二比对子模块625,被配置为将第二读取子模块624读取的应用程序图标的中心点的坐标信息与所述设定坐标范围做比对;The second comparison sub-module 625 is configured to compare the coordinate information of the center point of the application icon read by the second reading sub-module 624 with the set coordinate range;
第三确定子模块626,被配置为在第二比对子模块625的比对结果为应用程序图标的中心点的坐标信息落入设定坐标范围时,确定坐标信息属于所述设定坐标范围。The third determination sub-module 626 is configured to determine that the coordinate information belongs to the set coordinate range when the comparison result of the second comparison sub-module 625 is that the coordinate information of the center point of the application icon falls into the set coordinate range. .
图10是根据一示例性实施例示出的另一种应用程序的显示装置的框图,如图10所示,在上述图6所示实施例的基础上,显示模块620可以包括:第四确定子模块627、第一显示子模块628、第一创建子模块629和第二显示子模块6210。Figure 10 is a block diagram of a display device of another application program according to an exemplary embodiment. As shown in Figure 10, based on the above embodiment shown in Figure 6, the display module 620 may include: a fourth determiner Module 627, first display sub-module 628, first creation sub-module 629 and second display sub-module 6210.
第四确定子模块627,被配置为确定当前的多窗口模式;The fourth determination sub-module 627 is configured to determine the current multi-window mode;
第一显示子模块628,被配置为在第四确定子模块627所确定的多窗口模式为第一模式时,如果已创建窗口,则在已创建窗口的空白窗口中显示所述应用程序;The first display sub-module 628 is configured to, when the multi-window mode determined by the fourth determination sub-module 627 is the first mode, if a window has been created, display the application program in a blank window of the created window;
第一创建子模块629,被配置为如果尚未创建窗口,则以预设的窗口大小、窗口形状、窗口位置和排布方式创建两个窗口;The first creation sub-module 629 is configured to create two windows with preset window size, window shape, window position and arrangement if the window has not been created yet;
第二显示子模块6210,被配置为在第一创建子模块629创建的其中一个窗口中显示所述应用程序,所述第一模式为两个应用程序同屏显示的模式。The second display sub-module 6210 is configured to display the application program in one of the windows created by the first creation sub-module 629, and the first mode is a mode in which two application programs are displayed on the same screen.
图11是根据一示例性实施例示出的另一种应用程序的显示装置的框图,如图11所示,在上述图6所示实施例的基础上,显示模块620可以包括:第五确定子模块6211、第二创建子模块6212、第三显示子模块6213、第六确定子模块6214、第三创建子模块6215和第四显示子模块6216。Figure 11 is a block diagram of a display device of another application program according to an exemplary embodiment. As shown in Figure 11, based on the above embodiment shown in Figure 6, the display module 620 may include: a fifth determiner Module 6211, second creation sub-module 6212, third display sub-module 6213, sixth determination sub-module 6214, third creation sub-module 6215 and fourth display sub-module 6216.
第五确定子模块6211,被配置为确定当前的多窗口模式;The fifth determination sub-module 6211 is configured to determine the current multi-window mode;
第二创建子模块6212,被配置为在第五确定子模块6211确定的多窗口模式为第二模式时,对于第一个以所述第二模式显示的第一应用程序,以与数量1对应的窗口参数创建第一窗口;The second creation sub-module 6212 is configured to, when the multi-window mode determined by the fifth determination sub-module 6211 is the second mode, for the first first application displayed in the second mode, to correspond to the number 1 The window parameters create the first window;
第三显示子模块6213,被配置为在第二创建子模块6212创建的第一窗口中显示所述第一应用程序;The third display sub-module 6213 is configured to display the first application program in the first window created by the second creation sub-module 6212;
第六确定子模块6214,被配置为对于第n个以第二模式显示的第n应用程序,基于与数量n对应的窗口参数确定第n窗口的窗口参数,所述窗口参数包括窗口形状、窗口大小、窗口位置和排布方式,其中n为大于1的自然数;The sixth determination sub-module 6214 is configured to determine the window parameters of the n-th window based on the window parameters corresponding to the number n for the n-th application displayed in the second mode, the window parameters including window shape, window Size, window position and arrangement, where n is a natural number greater than 1;
第三创建子模块6215,被配置为基于第六确定子模块6214所确定的窗口参数创建第n窗口,并调整已创建的(n-1)个窗口;The third creation sub-module 6215 is configured to create the n-th window based on the window parameters determined by the sixth determination sub-module 6214, and adjust the created (n-1) windows;
第四显示子模块6216,被配置为在第三创建子模块6215创建的第n窗口中显示所述第n应用程序,所述第二模式为两个以上的应用程序同屏显示的模式。The fourth display sub-module 6216 is configured to display the n-th application in the n-th window created by the third creation sub-module 6215, and the second mode is a mode in which two or more applications are displayed on the same screen.
图12是根据一示例性实施例示出的另一种应用程序的显示装置的框图,如图12所示,在上述图10或11所示实施例的基础上,显示模块620可以包括:调节子模块6217。Figure 12 is a block diagram of a display device of another application program according to an exemplary embodiment. As shown in Figure 12, based on the above embodiment shown in Figure 10 or 11, the display module 620 may include: a regulator Module 6217.
调节子模块6217,被配置为在检测到针对已创建窗口的操作时,基于所述操作的操作方式调节所述窗口的位置和/或大小。The adjustment sub-module 6217 is configured to adjust the position and/or size of the window based on the operating mode of the created window when an operation on the created window is detected.
其中,设定坐标范围以设定图标的方式显示在屏幕上。Among them, the set coordinate range is displayed on the screen in the form of a setting icon.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the devices in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
图13是根据一示例性实施例示出的一种适用于应用程序的显示装置的框图。例如,装置1300可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等用户设备。FIG. 13 is a block diagram of a display device suitable for application programs according to an exemplary embodiment. For example, the device 1300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or other user equipment.
参照图13,装置1300可以包括以下一个或多个组件:处理组件1302,存储器1304,电源组件1306,多媒体组件1308,音频组件1310,输入/输出(I/O)的接口1312,传感器组件1314,以及通信组件1316。Referring to Figure 13, the device 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power supply component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314, and communications component 1316.
处理组件1302通常控制装置1300的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件1302可以包括一个或多个处理器1320来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1302可以包括一个或多个模块,便于处理组件1302和其他组件之间的交互。例如,处理部件1302可以包括多媒体模块,以方便多媒体组件1308和处理组件1302之间的交互。Processing component 1302 generally controls the overall operations of device 1300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing element 1302 may include one or more processors 1320 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 1302 may include one or more modules that facilitate interaction between processing component 1302 and other components. For example, processing component 1302 may include a multimedia module to facilitate interaction between multimedia component 1308 and processing component 1302.
存储器1304被配置为存储各种类型的数据以支持在设备1300的操作。这些数据的示例包括用于在装置1300上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1304可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 1304 is configured to store various types of data to support operations at device 1300 . Examples of such data include instructions for any application or method operating on device 1300, contact data, phonebook data, messages, pictures, videos, etc. Memory 1304 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
电力组件1306为装置1300的各种组件提供电力。电力组件1306可以包括电源管理系统,一个或多个电源,及其他与为装置1300生成、管理和分配电力相关联的组件。Power component 1306 provides power to various components of device 1300. Power components 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 1300 .
多媒体组件1308包括在所述装置1300和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1308包括一个前置摄像头和/或后置摄像头。当设备1300处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。Multimedia component 1308 includes a screen that provides an output interface between the device 1300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action. In some embodiments, multimedia component 1308 includes a front-facing camera and/or a rear-facing camera. When the device 1300 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
音频组件1310被配置为输出和/或输入音频信号。例如,音频组件1310包括一个麦克风(MIC),当装置1300处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1304或经由通信组件1316发送。在一些实施例中,音频组件1310还包括一个扬声器,用于输出音频信号。Audio component 1310 is configured to output and/or input audio signals. For example, audio component 1310 includes a microphone (MIC) configured to receive external audio signals when device 1300 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1304 or sent via communication component 1316 . In some embodiments, audio component 1310 also includes a speaker for outputting audio signals.
I/O接口1312为处理组件1302和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1312 provides an interface between the processing component 1302 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
传感器组件1314包括一个或多个传感器,用于为装置1300提供各个方面的状态评估。例如,传感器组件1314可以检测到设备1300的打开/关闭状态,组件的相对定位,例如所述组件为装置1300的显示器和小键盘,传感器组件1314还可以检测装置1300或装置1300一个组件的位置改变,用户与装置1300接触的存在或不存在,装置1300方位或加速/减速和装置1300的温度变化。传感器组件1314可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1314还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用程序中使用。在一些实施例中,该传感器组件1314还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor component 1314 includes one or more sensors that provide various aspects of status assessment for device 1300 . For example, the sensor component 1314 can detect the open/closed state of the device 1300, the relative positioning of components, such as the display and keypad of the device 1300, and the sensor component 1314 can also detect a change in position of the device 1300 or a component of the device 1300. , the presence or absence of user contact with device 1300 , device 1300 orientation or acceleration/deceleration and temperature changes of device 1300 . Sensor assembly 1314 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件1316被配置为便于装置1300和其他设备之间有线或无线方式的通信。装置1300可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件1316经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件1316还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Communication component 1316 is configured to facilitate wired or wireless communication between apparatus 1300 and other devices. Device 1300 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1316 also includes a near field communication (NFC) module to facilitate short-range communications. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置1300可以被一个或多个应用程序专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 1300 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1304,上述指令可由装置1300的处理器1320执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 1304 including instructions, which are executable by the processor 1320 of the device 1300 to complete the above method is also provided. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
其中,处理器1320被配置为:Among them, processor 1320 is configured as:
在检测到针对应用程序图标的设定操作时,采集所述应用程序图标在屏幕上的坐标信息;When a setting operation for an application icon is detected, collect the coordinate information of the application icon on the screen;
在所述坐标信息符合设定条件时,将所述应用程序图标对应的应用程序以设定的多窗口模式打开显示。When the coordinate information meets the set conditions, the application corresponding to the application icon is opened and displayed in the set multi-window mode.
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure that follow the general principles of the disclosure and include common knowledge or customary technical means in the technical field that are not disclosed in the disclosure. . It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the disclosure is limited only by the appended claims.
Claims (24)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310936309.0A CN116954540A (en) | 2017-04-17 | 2017-04-17 | Application display method, device and terminal |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710249048.XA CN107122149A (en) | 2017-04-17 | 2017-04-17 | App display method, device, and terminal |
| CN202310936309.0A CN116954540A (en) | 2017-04-17 | 2017-04-17 | Application display method, device and terminal |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710249048.XA Division CN107122149A (en) | 2017-04-17 | 2017-04-17 | App display method, device, and terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116954540A true CN116954540A (en) | 2023-10-27 |
Family
ID=59724686
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710249048.XA Pending CN107122149A (en) | 2017-04-17 | 2017-04-17 | App display method, device, and terminal |
| CN202310936309.0A Pending CN116954540A (en) | 2017-04-17 | 2017-04-17 | Application display method, device and terminal |
Family Applications Before (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710249048.XA Pending CN107122149A (en) | 2017-04-17 | 2017-04-17 | App display method, device, and terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (2) | CN107122149A (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109298907B (en) * | 2018-08-23 | 2021-03-26 | Oppo广东移动通信有限公司 | Application display method, application display device and terminal |
| CN109271074A (en) | 2018-09-05 | 2019-01-25 | Oppo广东移动通信有限公司 | Window adjusting method, window adjusting device and mobile terminal |
| CN111596845B (en) * | 2020-04-30 | 2022-02-22 | 维沃移动通信有限公司 | Display control method and device and electronic equipment |
| CN113849147A (en) * | 2021-09-30 | 2021-12-28 | 联想(北京)有限公司 | Information processing method and electronic equipment |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103455249B (en) * | 2012-05-30 | 2018-12-18 | 腾讯科技(深圳)有限公司 | The method and apparatus of split screen switching |
| KR20150064523A (en) * | 2013-12-03 | 2015-06-11 | 엘지전자 주식회사 | Electronic device and control method thereof |
| CN108052254B (en) * | 2014-02-24 | 2021-03-19 | 联想(北京)有限公司 | Information processing method and electronic equipment |
| CN106293315B (en) * | 2015-06-03 | 2020-05-05 | 腾讯科技(深圳)有限公司 | Method and device for floating window display |
| CN105068711A (en) * | 2015-08-06 | 2015-11-18 | 上海斐讯数据通信技术有限公司 | Multi-window application display method and equipment |
| CN105975428A (en) * | 2016-04-28 | 2016-09-28 | 北京小米移动软件有限公司 | Method and device for displaying character and terminal |
| CN106155701B (en) * | 2016-07-29 | 2019-06-28 | 北京小米移动软件有限公司 | Icon display method and device |
-
2017
- 2017-04-17 CN CN201710249048.XA patent/CN107122149A/en active Pending
- 2017-04-17 CN CN202310936309.0A patent/CN116954540A/en active Pending
Also Published As
| Publication number | Publication date |
|---|---|
| CN107122149A (en) | 2017-09-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105955607B (en) | Content sharing method and device | |
| CN108509232A (en) | Screen recording method, device and computer readable storage medium | |
| CN108595074A (en) | Status bar operating method, device and computer readable storage medium | |
| CN104182313B (en) | Be delayed the method and apparatus taken pictures | |
| CN106548764A (en) | Screen brightness control method and device | |
| CN107357505A (en) | The method, apparatus and computer-readable recording medium of screenshot capture | |
| CN103927080A (en) | Method and device for controlling control operation | |
| CN107438825A (en) | The moving method and device of application icon, terminal and storage medium | |
| CN106127132B (en) | Prompt method and device for sliding fingerprint entry, and electronic device | |
| CN110968364B (en) | Methods, devices and smart devices for adding shortcut plug-ins | |
| CN106126018A (en) | Desktop icons sort method and device | |
| CN107992257A (en) | Split screen method and device | |
| CN107219992A (en) | Open the method and device of split screen function | |
| CN106843592A (en) | Touch control method and device and mobile terminal | |
| CN103927101A (en) | Method and device for controlling ActiveX | |
| CN106598429A (en) | Method and device for adjusting window of mobile terminal | |
| CN107529699A (en) | Control method of electronic device and device | |
| CN106354504A (en) | Message display method and device thereof | |
| CN106708519A (en) | Operation control adding method and device | |
| CN116954540A (en) | Application display method, device and terminal | |
| CN106201275A (en) | Snapshot is as processing method and processing device | |
| CN106775228A (en) | The operating method and device of icon | |
| CN106201250A (en) | Account changing method and device | |
| CN108845852A (en) | Control method, device and the computer readable storage medium of smart machine | |
| CN107491250A (en) | Display methods, device and the equipment of notification message |
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 |