CN111782102B - Window display method and related device - Google Patents

Window display method and related device Download PDF

Info

Publication number
CN111782102B
CN111782102B CN202010682037.2A CN202010682037A CN111782102B CN 111782102 B CN111782102 B CN 111782102B CN 202010682037 A CN202010682037 A CN 202010682037A CN 111782102 B CN111782102 B CN 111782102B
Authority
CN
China
Prior art keywords
application
display interface
display
window
application windows
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.)
Active
Application number
CN202010682037.2A
Other languages
Chinese (zh)
Other versions
CN111782102A (en
Inventor
莫博宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010682037.2A priority Critical patent/CN111782102B/en
Publication of CN111782102A publication Critical patent/CN111782102A/en
Application granted granted Critical
Publication of CN111782102B publication Critical patent/CN111782102B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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/04817Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

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)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例公开了一种窗口的显示方法及相关装置,方法包括:显示第一显示界面,所述第一显示界面包括第一数量个应用窗口,所述第一数量为正整数;检测到针对第二数量个应用窗口的开启指令,所述第二数量为正整数;根据应用窗口的参数生成第二显示界面,第二显示界面中任意两个应用窗口之间不重叠,应用窗口的参数包括以下至少一种:应用窗口的数量,应用窗口对应的应用程序类型,使用频率,自定义优先级;显示第二显示界面。可见,实施本申请实施例有利于快速的调整显示界面,进而避免了显示界面中应用窗口之间的相互遮挡。

Figure 202010682037

The embodiment of the present application discloses a window display method and a related device. The method includes: displaying a first display interface, where the first display interface includes a first number of application windows, and the first number is a positive integer; detecting For the opening instructions of a second number of application windows, the second number is a positive integer; the second display interface is generated according to the parameters of the application window, and any two application windows in the second display interface do not overlap, and the parameters of the application window It includes at least one of the following: the number of application windows, the type of application programs corresponding to the application windows, the frequency of use, and the custom priority; and a second display interface is displayed. It can be seen that implementing the embodiments of the present application is conducive to quickly adjusting the display interface, thereby avoiding mutual occlusion between application windows in the display interface.

Figure 202010682037

Description

窗口的显示方法及相关装置Window display method and related device

技术领域technical field

本申请涉及电子技术领域,具体涉及一种窗口的显示方法及相关装置。The present application relates to the field of electronic technology, and in particular, to a method for displaying a window and a related device.

背景技术Background technique

随着电子技术的进步,电子设备的硬件越来越强大,同时在电子设备上可使用的应用程序也越来越丰富。当前电子设备的硬件性能可以支持同时开启多个应用程序;在电子设备开启多个应用程序时,电子设备可以在后台运行多个应用程序,也可以在显示界面显示多个应用程序对应的应用窗口,但目前电子设备在显示多个应用窗口的过程中,往往会堆叠式的显示多个应用窗口,造成窗口之间显示内容的遮挡。With the advancement of electronic technology, the hardware of electronic devices is becoming more and more powerful, and the application programs that can be used on electronic devices are also becoming more and more abundant. The hardware performance of the current electronic device can support opening multiple application programs at the same time; when the electronic device opens multiple application programs, the electronic device can run multiple application programs in the background, and can also display the application windows corresponding to the multiple application programs on the display interface However, at present, in the process of displaying multiple application windows, an electronic device often displays multiple application windows in a stacked manner, resulting in the occlusion of the displayed content between the windows.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供了一种窗口的显示方法及相关装置,有利于快速的调整显示界面,进而避免了显示界面中应用窗口之间的相互遮挡。The embodiments of the present application provide a window display method and a related device, which are conducive to quickly adjusting a display interface, thereby avoiding mutual occlusion between application windows in the display interface.

第一方面,本申请实施例提供一种窗口的显示方法,所述方法包括:In a first aspect, an embodiment of the present application provides a method for displaying a window, and the method includes:

显示第一显示界面,所述第一显示界面包括第一数量个应用窗口,所述第一数量为正整数;displaying a first display interface, where the first display interface includes a first number of application windows, and the first number is a positive integer;

检测到针对第二数量个应用窗口的开启指令,所述第二数量为正整数;Detecting opening instructions for a second number of application windows, where the second number is a positive integer;

根据应用窗口的参数生成第二显示界面,所述第二显示界面中任意两个应用窗口之间不重叠,所述应用窗口的参数包括以下至少一种:应用窗口的数量,应用窗口对应的应用程序类型,使用频率,自定义优先级;A second display interface is generated according to the parameters of the application window, any two application windows in the second display interface do not overlap, and the parameters of the application window include at least one of the following: the number of application windows, the application corresponding to the application window Program type, usage frequency, custom priority;

显示所述第二显示界面。。The second display interface is displayed. .

第二方面,本申请实施例提供一种窗口的显示装置,所述窗口的显示装置包括处理单元和通信单元,其中,In a second aspect, an embodiment of the present application provides a window display device, where the window display device includes a processing unit and a communication unit, wherein,

所述处理单元,用于显示第一显示界面,所述第一显示界面包括第一数量个应用窗口,所述第一数量为正整数;以及用于检测到针对第二数量个应用窗口的开启指令,所述第二数量为正整数;以及用于根据应用窗口的参数生成第二显示界面,所述第二显示界面中任意两个应用窗口之间不重叠,所述应用窗口的参数包括以下至少一种:应用窗口的数量,应用窗口对应的应用程序类型,使用频率,自定义优先级;以及用于显示所述第二显示界面。The processing unit is used to display a first display interface, the first display interface includes a first number of application windows, the first number is a positive integer; and is used to detect the opening of the second number of application windows instruction, the second quantity is a positive integer; and a second display interface is used to generate a second display interface according to the parameters of the application window, any two application windows in the second display interface do not overlap, and the parameters of the application window include the following At least one of: the number of application windows, the type of application programs corresponding to the application windows, the frequency of use, the custom priority; and the second display interface for displaying the second display interface.

第三方面,本申请实施例提供一种电子设备,包括控制器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述控制器执行,上述程序包括用于执行本申请实施例第一方面或第二方面任一方法中的步骤的指令。In a third aspect, embodiments of the present application provide an electronic device, including a controller, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be controlled by the above The above program includes instructions for executing steps in any method of the first aspect or the second aspect of the embodiments of the present application.

第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面或第二方面任一方法中所描述的部分或全部步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the computer program as described in the first embodiment of the present application. Some or all of the steps described in any of the methods of the one or second aspect.

第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面或第二方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute as implemented in the present application. Examples include some or all of the steps described in any of the methods of the first aspect or the second aspect. The computer program product may be a software installation package.

可以看出,本申请实施例中,首先,电子设备显示第一显示界面,第一显示界面包括第一数量个应用窗口,第一数量为正整数;其次,检测到针对第二数量个应用窗口的开启指令,第二数量为正整数;其次,根据应用窗口的参数生成第二显示界面,第二显示界面中任意两个应用窗口之间不重叠,应用窗口的参数包括以下至少一种:应用窗口的数量,应用窗口对应的应用程序类型,使用频率,自定义优先级;最后,显示第二显示界面。可见,本申请实施例中电子设备在检测到针对第二数量个应用窗口的开启指令时,即确定出显示界面中需要显示多个应用窗口时,可快速的调整显示界面,使得调整后的第二显示界面中任意两个应用窗口之间不重叠,避免了显示内容的遮挡。It can be seen that, in the embodiment of the present application, first, the electronic device displays a first display interface, and the first display interface includes a first number of application windows, and the first number is a positive integer; The second number is a positive integer; secondly, a second display interface is generated according to the parameters of the application window, any two application windows in the second display interface do not overlap, and the parameters of the application window include at least one of the following: The number of windows, the application type corresponding to the application window, the frequency of use, and the custom priority; finally, the second display interface is displayed. It can be seen that in the embodiment of the present application, when the electronic device detects the opening instruction for the second number of application windows, that is, when it is determined that multiple application windows need to be displayed in the display interface, the display interface can be quickly adjusted, so that the adjusted first number of application windows can be adjusted quickly. Second, any two application windows in the display interface do not overlap, which avoids the occlusion of the displayed content.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1A是一个本申请实施例提供的电子设备100的结构方框图;FIG. 1A is a structural block diagram of an electronic device 100 provided by an embodiment of the present application;

图1B是本申请实施例提供的一种设置有Android系统的软硬件系统的架构示意图;1B is a schematic diagram of the architecture of a software and hardware system provided with an Android system provided by an embodiment of the present application;

图1C是本申请实施例提供的一种目前常见的电子设备形态;FIG. 1C is a current common electronic device form provided by an embodiment of the present application;

图2是本申请实施例提供的一种窗口的显示方法的流程示意图;2 is a schematic flowchart of a method for displaying a window according to an embodiment of the present application;

图3是本申请实施例提供的由第二显示界面调整为第三显示界面的示意图;3 is a schematic diagram of adjusting from a second display interface to a third display interface provided by an embodiment of the present application;

图4是本申请实施例提供的一种更新第二显示界面的示意图;4 is a schematic diagram of updating a second display interface provided by an embodiment of the present application;

图5是本申请实施例提供的一种由第一显示界面调整至第二显示界面的示意图;5 is a schematic diagram of adjusting from a first display interface to a second display interface provided by an embodiment of the present application;

图6是本申请实施例提供的一种生成第二显示界面的示意图;6 is a schematic diagram of generating a second display interface provided by an embodiment of the present application;

图7是本申请实施例提供的一种显示界面的示意图;7 is a schematic diagram of a display interface provided by an embodiment of the present application;

图8是本申请实施例提供的一种呼出侧边栏的示意图;8 is a schematic diagram of a sidebar for outgoing calls provided by an embodiment of the present application;

图9本申请实施例提供的一种窗口的显示装置的一种可能的结构示意图;FIG. 9 is a schematic structural diagram of a possible structure of a window display device provided by an embodiment of the present application;

图10本申请实施例提供的一种窗口的显示装置的另一种可能的结构示意图。FIG. 10 is another possible structural schematic diagram of a window display device provided by an embodiment of the present application.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the description and claims of the present application and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover 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 also includes For other steps or units inherent to these processes, methods, products or devices.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

下面对本申请实施例进行详细介绍。The embodiments of the present application will be described in detail below.

请参考图1A,图1A是本申请实施例提供的电子设备100的结构方框图。该电子设备100可以是具备通信能力的电子设备,该电子设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。本申请中的电子设备100可以包括一个或多个如下部件:处理器110、存储器120和输入输出设备130。Please refer to FIG. 1A , which is a structural block diagram of an electronic device 100 provided by an embodiment of the present application. The electronic device 100 may be an electronic device with communication capabilities, and the electronic device may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem with wireless communication capabilities, as well as various In the form of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) and so on. The electronic device 100 in this application may include one or more of the following components: a processor 110 , a memory 120 and an input and output device 130 .

处理器110可以包括一个或者多个处理核心。处理器110利用各种接口和线路连接整个电子设备100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行电子设备100的各种功能和处理数据。处理器110可以包括一个或多个处理单元,例如:处理器110可以包括中央处理器(CentralProcessing Unit,CPU)、应用处理器(application processor,AP)、调制解调处理器、图形处理器(graphics processing unit,GPU)、图像信号处理器(image signal processor,ISP)、控制器、视频编解码器、数字信号处理器(digital signal processor,DSP)、基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving pictureexperts group,MPEG)1,MPEG2,MPEG3,MPEG4等。NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 120, and calling the data stored in the memory 120. Various functions of the electronic device 100 and processing data. The processor 110 may include one or more processing units, for example, the processor 110 may include a central processing unit (Central Processing Unit, CPU), an application processor (application processor, AP), a modem processor, a graphics processor (graphics processor) processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and/or neural network processor ( neural-network processing unit, NPU), etc. The controller may be the nerve center and command center of the electronic device 100 . The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions. The CPU mainly handles the operating system, user interface and applications; the GPU is responsible for rendering and drawing the display content; the modem is used to handle wireless communication. A digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on. Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in various encoding formats, such as: Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4 and so on. The NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process the input information, and can continuously learn by itself. Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.

处理器110中可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免重复存取,减少处理器110的等待时间,提高系统效率。A memory may be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, the waiting time of the processor 110 is reduced, and the system efficiency is improved.

处理器110可以包括一个或多个接口,例如集成电路(inter-integratedcircuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universalasynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobileindustry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。The processor 110 may include one or more interfaces, such as an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, Universal asynchronous receiver/transmitter (UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (subscriber identity module) , SIM) interface, and/or universal serial bus (universal serial bus, USB) interface, etc.

I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。处理器110可以包含多组I2C接口,通过不同的I2C接口可以分别耦合触摸传感器,充电器,闪光灯,摄像头等。例如:处理器110可以通过I2C接口耦合触摸传感器,使处理器110与触摸传感器通过I2C接口通信,实现电子设备100的触摸功能。The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). The processor 110 may include multiple groups of I2C interfaces, and touch sensors, chargers, flashes, cameras, etc. may be respectively coupled through different I2C interfaces. For example, the processor 110 can couple the touch sensor through the I2C interface, so that the processor 110 communicates with the touch sensor through the I2C interface, so as to realize the touch function of the electronic device 100 .

MIPI接口可以被用于连接处理器110与显示屏、摄像头等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serialinterface,DSI)等。在一些实施例中,处理器110和摄像头通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏通过DSI接口通信,实现电子设备100的显示功能。The MIPI interface can be used to connect the processor 110 with peripheral devices such as a display screen and a camera. The MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and the like. In some embodiments, the processor 110 communicates with the camera through a CSI interface, so as to implement the photographing function of the electronic device 100 . The processor 110 communicates with the display screen through the DSI interface to implement the display function of the electronic device 100 .

可以理解的是,上述处理器110在实际产品中可以映射为系统级芯片(System ona Chip,SOC),上述处理单元和/或接口也可以不集成到处理器110中,单独通过一块通信芯片或者电子元器件实现对应的功能。上述各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构的唯一限定。It can be understood that the above-mentioned processor 110 may be mapped to a system-on-chip (System ona Chip, SOC) in an actual product, and the above-mentioned processing unit and/or interface may also not be integrated into the processor 110, and a communication chip or Electronic components realize corresponding functions. The interface connection relationship between the above modules is only a schematic illustration, and does not constitute a unique limitation on the structure of the electronic device 100 .

存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选地,该存储器120包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等,该操作系统可以是安卓(Android)系统(包括基于Android系统深度开发的系统)、苹果公司开发的IOS系统(包括基于IOS系统深度开发的系统)或其它系统。存储数据区还可以存储电子设备100在使用中所创建的数据(比如音视频数据、聊天记录数据)等。The memory 120 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Optionally, the memory 120 includes a non-transitory computer-readable storage medium. Memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, etc., the operating system can be an Android (Android) system (including a system based on the deep development of the Android system), an IOS system developed by Apple (including a system based on the deep development of the IOS system) ) or other systems. The storage data area may also store data (such as audio and video data, chat record data) created by the electronic device 100 during use.

电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件架构。The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiments of the present application take an Android system with a layered architecture as an example to illustrate the software architecture of the electronic device 100 as an example.

如图1B所示的设置有Android系统的软硬件系统的架构示意图,存储器120中可存储有Linux内核层220、系统运行库层240、应用框架层260和应用层280,其中,层与层之间通过软件接口通信,Linux内核层220、系统运行库层240和应用框架层260属于操作系统空间。As shown in FIG. 1B , a schematic diagram of the architecture of the software and hardware system provided with the Android system, the memory 120 can store the Linux kernel layer 220, the system runtime layer 240, the application framework layer 260 and the application layer 280, wherein the layer and the layer are stored The Linux kernel layer 220, the system runtime layer 240 and the application framework layer 260 belong to the operating system space.

应用层280属于用户空间,应用层280中运行有至少一个应用程序,这些应用程序可以是操作系统自带的原生应用程序,也可以是第三方开发者所开发的第三方应用程序,具体可以包括密码、眼球追踪、相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。The application layer 280 belongs to the user space, and at least one application program runs in the application layer 280. These application programs can be native applications that come with the operating system, or can be third-party applications developed by third-party developers. Password, eye tracking, camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS and other applications.

应用框架层260提供了构建应用层的应用程序可能用到的各种API,开发者也可以通过使用这些API来构建自己的应用程序,比如窗口管理器、内容提供器、视图系统、电话管理器、资源管理器、通知管理器、消息管理器、活动管理器、包管理器、定位管理。The application framework layer 260 provides various APIs that may be used by applications in the construction of the application layer. Developers can also build their own applications by using these APIs, such as window managers, content providers, view systems, and phone managers. , Resource Manager, Notification Manager, Message Manager, Activity Manager, Package Manager, Location Manager.

窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏显示面积,判断是否有状态栏,锁定屏幕,截取屏幕等。本申请实施例中,窗口管理器可以调整显示的应用程序的应用窗口的显示面积位置,以适配不同的使用场景,提升显示界面的利用率。A window manager is used to manage window programs. The window manager can obtain the display area of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc. In the embodiment of the present application, the window manager may adjust the display area position of the application window of the displayed application program to adapt to different usage scenarios and improve the utilization rate of the display interface.

内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等;具体的,电子设备可根据内容提供器中的内容生成应用程序对应的应用窗口。Content providers are used to store and retrieve data and make these data accessible to applications. The data may include video, image, audio, dialed and received calls, browsing history and bookmarks, phone book, etc. Specifically, the electronic device may generate an application window corresponding to the application according to the content in the content provider.

视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图;具体的,本申请实施例中,控件可以用于显示不同的应用窗口。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications. A display interface can consist of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures; specifically, in this embodiment of the present application, the controls may be used to display different application windows.

资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.

Linux内核层220为电子设备100的各种硬件提供了底层的驱动,如显示驱动、音频驱动、摄像头驱动、蓝牙驱动、Wi-Fi驱动、电源管理等。The Linux kernel layer 220 provides underlying drivers for various hardware of the electronic device 100, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, and the like.

下面结合图1C对目前常见的电子设备形态进行详细说明,可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。The following describes in detail the current common electronic device forms with reference to FIG. 1C . It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

如图1C所示,电子设备100包括系统级芯片410,外部存储器接口420,内部存储器421,通用串行总线(universal serial bus,USB)接口430,充电管理模块440,电源管理模块441,电池442,天线1,天线2,移动通信模块450,无线通信模块460,音频模块470,扬声器470A,受话器470B,麦克风470C,传感器模块480,按键490,马达491,指示器492,摄像头493,显示屏494,红外发射器495,以及用户标识模块(subscriber identification module,SIM)卡接口496等。其中传感器模块480可以包括压力传感器480A,陀螺仪传感器480B,气压传感器480C,磁传感器480D,加速度传感器480E,距离传感器480F,接近光传感器480G,指纹传感器480H,温度传感器480J,触摸传感器480K,环境光传感器480L,骨传导传感器480M等。As shown in FIG. 1C , the electronic device 100 includes a system-on-chip 410 , an external memory interface 420 , an internal memory 421 , a universal serial bus (USB) interface 430 , a charging management module 440 , a power management module 441 , and a battery 442 , Antenna 1, Antenna 2, Mobile Communication Module 450, Wireless Communication Module 460, Audio Module 470, Speaker 470A, Receiver 470B, Microphone 470C, Sensor Module 480, Key 490, Motor 491, Indicator 492, Camera 493, Display 494 , infrared transmitter 495, and subscriber identification module (subscriber identification module, SIM) card interface 496 and so on. The sensor module 480 may include a pressure sensor 480A, a gyroscope sensor 480B, an air pressure sensor 480C, a magnetic sensor 480D, an acceleration sensor 480E, a distance sensor 480F, a proximity light sensor 480G, a fingerprint sensor 480H, a temperature sensor 480J, a touch sensor 480K, and ambient light. Sensor 480L, Bone Conduction Sensor 480M, etc.

电子设备100通过GPU,显示屏494,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏494和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器440可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。本申请实施例中,电子设备100在检测到打开应用窗口的指令时,GPU可以根据应用程序的数据进行图形渲染处理,生成应用窗口,进而在电子设备的显示屏上显示。The electronic device 100 implements a display function through a GPU, a display screen 494, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 494 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 440 may include one or more GPUs that execute program instructions to generate or alter display information. In this embodiment of the present application, when the electronic device 100 detects an instruction to open an application window, the GPU may perform graphics rendering processing according to application data to generate an application window, which is then displayed on the display screen of the electronic device.

显示屏494用于显示图像,视频等。显示屏494包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emittingdiode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrixorganic light emitting diode的,AMOLED),柔性发光二极管(flex light-emittingdiode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot lightemitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏494,N为大于1的正整数。本申请实施例中,显示屏494可用于在显示多个互不遮挡的应用程序的应用窗口。Display screen 494 is used to display images, video, and the like. Display screen 494 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). , AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (quantum dot light emitting diodes, QLED) and so on. In some embodiments, the electronic device 100 may include one or N display screens 494 , where N is a positive integer greater than one. In this embodiment of the present application, the display screen 494 may be used to display application windows of a plurality of application programs that do not block each other.

ISP用于处理摄像头493反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头493中。本申请实施例中,ISP可用于处理摄像头获取的隔空手势,眼球信息,进而生成打开应用窗口的指令。The ISP is used to process the data fed back by the camera 493 . For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 493 . In this embodiment of the present application, the ISP may be used to process the gestures and eyeball information acquired by the camera, and then generate an instruction to open the application window.

摄像头493用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头493,N为大于1的正整数。本身申请实施例中,摄像头493可以捕获用户的眼球图像和用户的手部图像,之后根据眼球追踪技术和手部识别技术确定用户的在显示界面上的注视点和用户的隔空手势,生成打开应用窗口的指令。Camera 493 is used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the electronic device 100 may include 1 or N cameras 493 , where N is a positive integer greater than 1. In the embodiment of the application itself, the camera 493 can capture the user's eyeball image and the user's hand image, and then determine the user's gaze point on the display interface and the user's air gesture according to the eye tracking technology and the hand recognition technology, and generate an open Instructions for the application window.

外部存储器接口420可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口420与处理器440通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。本申请实施例中,电子设备100可使用应用程序读取通过外部存储接口420获取到的数据,并在应用该程序对应的应用窗口中显示外部存储接口420获取到的数据。The external memory interface 420 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 . The external memory card communicates with the processor 440 through the external memory interface 420 to realize the data storage function. For example to save files like music, video etc in external memory card. In this embodiment of the present application, the electronic device 100 may use an application program to read the data acquired through the external storage interface 420, and display the data acquired by the external storage interface 420 in an application window corresponding to the application of the program.

内部存储器421可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器440通过运行存储在内部存储器421的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器421可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序等。存储数据区可存储电子设备100使用过程中所创建的数据等。此外,内部存储器421可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flashstorage,UFS)等。本申请实施例中,内部存储器421可以用于存储各个APP消息的数据,使得电子设备100可读取内部存储器421中APP的数据,生成应用程序对应的应用窗口。Internal memory 421 may be used to store computer executable program code, which includes instructions. The processor 440 executes various functional applications and data processing of the electronic device 100 by executing the instructions stored in the internal memory 421 . The internal memory 421 may include a storage program area and a storage data area. The storage program area may store an operating system, an application program required for at least one function, and the like. The storage data area may store data and the like created during the use of the electronic device 100 . In addition, the internal memory 421 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like. In this embodiment of the present application, the internal memory 421 may be used to store data of each APP message, so that the electronic device 100 can read the data of the APP in the internal memory 421 and generate an application window corresponding to the application program.

压力传感器480A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器480A可以设置于显示屏494。压力传感器480A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器480A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏494,电子设备100根据压力传感器480A检测所述触摸操作强度。电子设备100也可以根据压力传感器480A的检测信号计算触摸的位置。本申请实施例中,用户可以在显示屏上的应用窗口中施加不同强度的压力,以实现针对应用窗口不同的交互操作。The pressure sensor 480A is used to sense pressure signals, and can convert the pressure signals into electrical signals. In some embodiments, pressure sensor 480A may be provided on display screen 494 . There are many types of pressure sensors 480A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, and the like. The capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to pressure sensor 480A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 494, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 480A. The electronic device 100 can also calculate the touched position according to the detection signal of the pressure sensor 480A. In this embodiment of the present application, the user may apply pressures of different intensities in the application window on the display screen, so as to realize different interactive operations for the application window.

触摸传感器480K,也称“触控面板”。触摸传感器480K可以设置于显示屏494,由触摸传感器480K与显示屏494组成触摸屏,也称“触控屏”。触摸传感器480K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏494提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器480K也可以设置于电子设备100的表面,与显示屏494所处的位置不同。本申请实施例中,触摸传感器480K可以检测用户触摸的应用窗口中的位置,进而生成关联该应用窗口的交互指令。Touch sensor 480K, also called "touch panel". The touch sensor 480K may be disposed on the display screen 494, and the touch sensor 480K and the display screen 494 form a touch screen, also called a "touch screen". The touch sensor 480K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to touch operations may be provided through display screen 494 . In other embodiments, the touch sensor 480K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 494 is located. In this embodiment of the present application, the touch sensor 480K can detect the position in the application window touched by the user, and then generate an interaction instruction associated with the application window.

红外发射器495可以是红外灯,可以发射红外光照射在人脸上从而在人眼上形成光斑。本申请实施例中,红外发射器495可以辅助进行眼球追踪,确定用户的注视点在应用窗口中的移动轨迹,生成关联应用窗口的指令。The infrared emitter 495 can be an infrared lamp, which can emit infrared light to irradiate on a human face to form a light spot on the human eye. In this embodiment of the present application, the infrared transmitter 495 may assist in eye tracking, determine the movement trajectory of the user's gaze point in the application window, and generate an instruction associated with the application window.

请参阅图2,图2是本申请实施例提供的一种窗口的显示方法的流程示意图,应用于电子设备,如图所示,本窗口的显示方法包括:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a method for displaying a window provided by an embodiment of the present application, which is applied to an electronic device. As shown in the figure, the method for displaying a window includes:

步骤201,电子设备显示第一显示界面。Step 201, the electronic device displays a first display interface.

其中,第一显示界面包括第一数量个应用窗口,第一数量为正整数。The first display interface includes a first number of application windows, and the first number is a positive integer.

其中,第一数量个应用窗口相互之间不重叠。Wherein, the first number of application windows do not overlap each other.

其中,电子设备中的应用窗口用于显示电子设备中应用程序的应用界面。Wherein, the application window in the electronic device is used to display the application interface of the application program in the electronic device.

步骤202,电子设备检测到针对第二数量个应用窗口的开启指令。Step 202, the electronic device detects an opening instruction for a second number of application windows.

其中,第二数量为正整数。Wherein, the second quantity is a positive integer.

其中,检测到针对第二数量个应用窗口的开启指令可以是:Wherein, the detected opening instructions for the second number of application windows may be:

检测到用户在显示界面上点击第二数量个应用程序的图标,得到针对第二数量个应用窗口的开启指令;或者,根据眼球追踪技术和隔空手势检测技术确定出针对第二数量个应用窗口的开启指令,具体的,电子设备可检测出在检测范围内用户做出的手势,当检测到检测范围内存在第一开启手势时,电子设备通过眼球追踪技术确定用户在显示界面上的注视点,根据注视点在显示界面中移动轨迹和移动轨迹中每个位置点的停留时长确定出针对第二数量个应用窗口的开启指令,具体的,第一开启手势可以是握拳,第二数量的数值等于1,即第二数量个应用窗口为第一应用窗口,当电子设备检测到检测范围内存在握拳手势时,检测用户的注视点,确定注视点在显示界面的移动轨迹和移动轨迹中每个位置点的停留时长,若电子设备检测到注视点在第一应用程序的图标上的移动轨迹为第一移动轨迹,且第一移动轨迹中包含N个位置点,N为正整数,注视点在N个位置点停留的总时长大于等于预设时长(例如预设时长可以是2秒钟),则生成开启第一应用程序对应的第一应用窗口的开启指令。It is detected that the user clicks on the icons of the second number of application programs on the display interface, and an opening instruction for the second number of application windows is obtained; or, according to the eye tracking technology and the air gesture detection technology, the second number of application windows is determined. Specifically, the electronic device can detect the gesture made by the user within the detection range. When the first opening gesture is detected within the detection range, the electronic device determines the user's gaze point on the display interface through eye tracking technology , according to the movement track of the gaze point in the display interface and the stay time of each position point in the movement track to determine the opening command for the second number of application windows, specifically, the first opening gesture can be a fist, and the value of the second number is equal to 1, that is, the second number of application windows is the first application window. When the electronic device detects that there is a fist-clenching gesture within the detection range, it detects the user's gaze point, and determines the movement track of the gaze point on the display interface and each position in the movement track. The staying time of the point, if the electronic device detects that the movement track of the gaze point on the icon of the first application is the first movement track, and the first movement track includes N position points, N is a positive integer, and the fixation point is in N The total duration of staying at each location point is greater than or equal to a preset duration (for example, the preset duration may be 2 seconds), and an opening instruction for opening the first application window corresponding to the first application is generated.

其中,电子设备检测到针对第二数量个应用窗口的开启指令之后,还可以包括:电子设备判断第三数量是否小于等于预设数量,若第三数量小于等于预设数量,则电子设备执行步骤203;若第三数量大于预设数量,则电子设备在第一显示界面弹出提示框,用于提示用户当前开启的应用窗口过多,不利于用户对于应用窗口的查看。Wherein, after the electronic device detects the opening instructions for the second number of application windows, the electronic device may further include: the electronic device determines whether the third number is less than or equal to the preset number, and if the third number is less than or equal to the preset number, the electronic device executes the step 203: If the third number is greater than the preset number, the electronic device pops up a prompt box on the first display interface to prompt the user that there are too many application windows currently opened, which is not conducive to the user's viewing of the application windows.

步骤203,电子设备根据应用窗口的参数生成第二显示界面,第二显示界面中任意两个应用窗口之间不重叠。Step 203, the electronic device generates a second display interface according to the parameters of the application window, and any two application windows in the second display interface do not overlap.

其中,应用窗口的参数包括以下至少一种:应用窗口的数量,应用窗口对应的应用程序类型,使用频率,自定义优先级。The parameters of the application window include at least one of the following: the number of application windows, the application type corresponding to the application window, the frequency of use, and the custom priority.

其中,生成第二显示界面具体指的是:电子设备生成了用于显示第二显示界面的数据,之后电子设备可根据第二显示界面的数据在显示屏上显示第二显示界面。Wherein, generating the second display interface specifically refers to: the electronic device generates data for displaying the second display interface, and then the electronic device can display the second display interface on the display screen according to the data of the second display interface.

步骤204,电子设备显示第二显示界面。Step 204, the electronic device displays a second display interface.

其中,第二显示界面中包括第一数量个应用窗口和第二数量个应用窗口。Wherein, the second display interface includes a first number of application windows and a second number of application windows.

可以看出,本申请实施例中,首先,电子设备显示第一显示界面,第一显示界面包括第一数量个应用窗口,第一数量为正整数;其次,检测到针对第二数量个应用窗口的开启指令,第二数量为正整数;其次,根据应用窗口的参数生成第二显示界面,第二显示界面中任意两个应用窗口之间不重叠,应用窗口的参数包括以下至少一种:应用窗口的数量,应用窗口对应的应用程序类型,使用频率,自定义优先级;最后,显示第二显示界面。可见,本申请实施例中电子设备在检测到针对第二数量个应用窗口的开启指令时,即确定出显示界面中需要显示多个应用窗口时,可快速的调整显示界面,使得调整后的第二显示界面中任意两个应用窗口之间不重叠,避免了显示内容的遮挡。It can be seen that, in the embodiment of the present application, first, the electronic device displays a first display interface, and the first display interface includes a first number of application windows, and the first number is a positive integer; The second number is a positive integer; secondly, a second display interface is generated according to the parameters of the application window, any two application windows in the second display interface do not overlap, and the parameters of the application window include at least one of the following: The number of windows, the application type corresponding to the application window, the frequency of use, and the custom priority; finally, the second display interface is displayed. It can be seen that in the embodiment of the present application, when the electronic device detects the opening instruction for the second number of application windows, that is, when it is determined that multiple application windows need to be displayed in the display interface, the display interface can be quickly adjusted, so that the adjusted first number of application windows can be adjusted quickly. Second, any two application windows in the display interface do not overlap, which avoids the occlusion of the displayed content.

在一个可能的示例中,应用窗口的参数包括应用窗口的数量,应用窗口的数量为第三数量,根据应用窗口的参数生成第二显示界面,包括;根据第三数量查询预设的数据库,获取目标窗口布局策略,预设的数据库包括数量与窗口布局策略之间的对应关系;根据目标窗口布局策略确定第三数量个应用窗口的位置和显示面积,第三数量个应用窗口由第一数量个应用窗口和第二数量个窗口构成;根据第三数量个应用窗口的位置和显示面积生成第二显示界面。In a possible example, the parameters of the application window include the number of application windows, the number of application windows is a third number, and generating the second display interface according to the parameters of the application window includes: querying a preset database according to the third number, and obtaining The target window layout strategy, the preset database includes the corresponding relationship between the number and the window layout strategy; the position and display area of the third number of application windows are determined according to the target window layout strategy, and the third number of application windows is determined by the first number of application windows. The application window and the second number of windows are formed; the second display interface is generated according to the position and display area of the third number of application windows.

其中,电子设备中可预先存储有针对不同数量的应用窗口的窗口布局策略,根据窗口布局策略设置的显示界面中应用窗口之间相互不重叠。电子设备中存储的窗口布局策略是适配电子设备的显示界面的布局策略,即窗口布局策略可根据电子设备的显示界面的显示面积,比例,以及应用窗口的数量将显示界面进行划分,以充分利用显示界面空间的同时避免窗口之间对于显示内容的遮挡。The electronic device may pre-store window layout strategies for different numbers of application windows, and the application windows in the display interface set according to the window layout strategies do not overlap each other. The window layout strategy stored in the electronic device is a layout strategy adapted to the display interface of the electronic device, that is, the window layout strategy can divide the display interface according to the display area, proportion, and the number of application windows of the display interface of the electronic device to fully While utilizing the display interface space, the occlusion of the displayed content between windows is avoided.

可见,本示例中,电子设备可根据当前应用窗口的数量确定适配的窗口布局策略,进而确定第二显示界面中应用窗口的显示面积和位置,使得第二显示界面中应用窗口可以充分的利用显示界面的空间,避免应用窗口相互之间重叠而导致显示内容的遮挡。It can be seen that in this example, the electronic device can determine the adapted window layout strategy according to the number of current application windows, and then determine the display area and position of the application window in the second display interface, so that the application window in the second display interface can be fully utilized The space for the display interface to avoid the occlusion of the displayed content caused by overlapping application windows.

在一个可能的示例中,目标窗口布局策略将显示界面划分为第三数量个显示区域,所述目标窗口布局策略包括第三数量个显示区域的位置,显示面积,和第一排列顺序;根据目标窗口布局策略确定第三数量个应用窗口的位置和显示面积,包括:根据应用窗口的参数生成第三数量个应用窗口的第二排列顺序;根据第一排列顺序和第二排列顺序确定第三数量个显示区域和第三数量个应用窗口之间的一一对应关系;根据第三数量个显示区域的位置和显示面积和一一对应关系确定第三数量个应用窗口的位置和显示面积。In a possible example, the target window layout strategy divides the display interface into a third number of display areas, and the target window layout strategy includes the position of the third number of display areas, the display area, and the first arrangement order; according to the target The window layout strategy determines the positions and display areas of the third number of application windows, including: generating a second arrangement order of the third number of application windows according to parameters of the application windows; determining the third number of application windows according to the first arrangement order and the second arrangement order The one-to-one correspondence between the three display areas and the third number of application windows; the positions and display areas of the third number of application windows are determined according to the positions and display areas of the third number of display areas and the one-to-one correspondence.

其中,一一对应关系的具体是根据第一排列顺序和第二排列顺序中序号相同的显示区域和应用窗口确定的;举例来说,序列号为“一”的显示区域与序列号为“一”的应用窗口建立一个一一对应关系。The specific one-to-one correspondence is determined according to the display area and application window with the same serial number in the first arrangement order and the second arrangement order; for example, the display area with the serial number "one" and the display area with the serial number "one" ” application window to establish a one-to-one correspondence.

举例来说,第三数量的数值等于3,则当前目标窗口布局策略将显示界面划分为3个显示区域,之后,电子设备确定上述3个显示区域中每个显示区域对应的应用窗口,使得第二界面中在每个显示区域显示对应的应用窗口。For example, if the value of the third number is equal to 3, the current target window layout strategy divides the display interface into 3 display areas, and then the electronic device determines the application window corresponding to each display area in the above-mentioned 3 display areas, so that the first In the second interface, a corresponding application window is displayed in each display area.

可见,本示例中,目标窗口布局策略可预先将显示界面划分为与应用窗口等数量的显示区域,进而在应用窗口对应的显示区域显示该应用窗口,提升了确定应用窗口显示面积和位置的效率,有利于提升电子设备调整第一显示界面为第二显示界面的速率。It can be seen that in this example, the target window layout strategy can divide the display interface into the same number of display areas as the application window in advance, and then display the application window in the display area corresponding to the application window, which improves the efficiency of determining the display area and position of the application window. , which is beneficial to improve the speed at which the electronic device adjusts the first display interface to the second display interface.

可选的,获取第三数量个应用窗口的开启时间;根据第三数量个应用窗口的开启时间针对第三数量个应用窗口进行排序,得到第三数量个应用窗口的第二排列顺序;其中,第一排列顺序中,第三数量个显示区域是根据显示面积由大至小排列的,即显示区域的面积越大,该显示区域对应的序列号越靠前;第二排列顺序中,应用窗口的开启时间与当前时间点越近,则在第二排列顺序中,该应用窗口的序列号越靠前。Optionally, obtain the opening times of the third quantity of application windows; sort the third quantity of application windows according to the opening times of the third quantity of application windows, to obtain the second arrangement order of the third quantity of application windows; wherein, In the first arrangement order, the third number of display areas are arranged from large to small according to the display area, that is, the larger the area of the display area, the higher the serial number corresponding to the display area; in the second arrangement order, the application window The closer the opening time of the application window is to the current time point, the higher the sequence number of the application window will be in the second arrangement order.

在一个可能的示例中,应用窗口的参数包括第三数量个应用窗口的应用程序类型;根据应用窗口的参数生成第三数量个应用窗口的第二排列顺序,包括:将第三数量个应用窗口划分为交互类和非交互类两种类型;针对交互类的应用窗口进行排序,得到第一子序列;针对非交互类的应用窗口进行排序,得到第二子序列;将第二子序列排列到第一子序列之后,得到第二排列顺序。In a possible example, the parameters of the application windows include application types of the third number of application windows; generating the second arrangement order of the third number of application windows according to the parameters of the application windows, including: placing the third number of application windows It is divided into two types: interactive and non-interactive; sort the application windows of the interactive class to obtain the first subsequence; sort the application windows of the non-interactive class to obtain the second subsequence; arrange the second subsequence to After the first subsequence, a second permutation sequence is obtained.

其中,第一排列顺序中第三数量个显示区域是根据显示区域的面积的由大到小排序的。Wherein, the third number of display areas in the first arrangement order are sorted according to the areas of the display areas from large to small.

其中,第一子序列的排列顺序可以是根据应用窗口的最近的交互时间点进行排序的,在第一子序列中应用窗口的最近的交互时间点距离当前时间点越近,则该应用窗口在第一子序列中的顺序越靠前。其中,交互时间点指的是电子设备接收到关联该应用窗口的指令的时间点。举例来说,显示界面显示该应用窗口,用户可以针对该应用窗口内容执行点击,滑动等操作,上述操作均产生关联该应用窗口的指令,即电子设备接收到关联该应用窗口的指令。The arrangement order of the first subsequence may be sorted according to the latest interaction time point of the application window. In the first subsequence, the closest interaction time point of the application window is closer to the current time point, the application window is in The higher the order in the first subsequence. The interaction time point refers to the time point when the electronic device receives the instruction associated with the application window. For example, the display interface displays the application window, and the user can perform operations such as clicking, sliding, etc. on the content of the application window. The above operations all generate an instruction associated with the application window, that is, the electronic device receives an instruction associated with the application window.

举例来说,当前时间点为2:00,交互类的应用窗口共有3个,其中第一应用窗口最近一次的交互时间点为1:50;第二应用窗口最近一次的交互时间点为1:59;第三应用窗口最近一次的交互时间点为1:55;则第一应用窗口对应的时长为10分钟,第二应用窗口对应的时长为1分钟,第三应用窗口对应的时长为5分钟,则第一子序列的排列顺序依次为:第二应用窗口,第三应用窗口,第一应用窗口。For example, the current time point is 2:00, and there are 3 interactive application windows in total, of which the last interaction time point of the first application window is 1:50; the latest interaction time point of the second application window is 1: 59; The last interaction time point of the third application window is 1:55; then the duration corresponding to the first application window is 10 minutes, the duration corresponding to the second application window is 1 minute, and the duration corresponding to the third application window is 5 minutes , the order of the first subsequence is: the second application window, the third application window, and the first application window.

其中,第二子序列的排列顺序可以是依据应用窗口的开启时间进行排序的,在第二子序列中应用窗口的开启时间距离当前时间点越近,则该应用窗口在第二子序列中的顺序越靠前。Wherein, the arrangement order of the second subsequence may be sorted according to the opening time of the application window. In the second subsequence, the opening time of the application window is closer to the current time point, the higher the opening time of the application window in the second subsequence is. The higher the order.

针对第二排列顺序的生成进行举例说明:第三数量的数值为4,其中交互类的应用窗口有2个,非交互类的应用窗口有2个;第一子序列中序列号为1号的为第一应用窗口,序列号为2号的为第二应用窗口;第二子序列中序列号为1号的为第三应用窗口,序列号为2号的为第四应用窗口;则根据第一子序列和第二子序列生成的第二排列顺序中:第一应用窗口的序列号为1号,第二应用窗口的序列号为2号,第三应用窗口的序列号为3号,第四应用窗口的序列号为4号。An example is given for the generation of the second arrangement order: the value of the third number is 4, of which there are 2 application windows of the interactive class and 2 application windows of the non-interactive class; the sequence number of the first subsequence is 1. It is the first application window, the serial number 2 is the second application window; the serial number 1 in the second subsequence is the third application window, and the serial number 2 is the fourth application window; In the second arrangement sequence generated by the first subsequence and the second subsequence: the serial number of the first application window is No. 1, the serial number of the second application window is No. 2, the serial number of the third application window is No. 3, and the serial number of the third application window is No. 3. The serial number of the four application windows is 4.

其中,第一排列顺序和第二排列顺序生成的第三数量个应用窗口和第三数量个显示区域之间的一一对应关系具体是:第一排列顺序和第二排列顺序中处于同一序列号的显示区域和应用窗口建立对应关系;例如,第一排列顺序中序列号为3号的显示区域与第二排列顺序中序列号为3号的应用窗口建立对应关系。The one-to-one correspondence between the third number of application windows and the third number of display areas generated by the first arrangement order and the second arrangement order is specifically: the first arrangement order and the second arrangement order are in the same sequence number The corresponding relationship is established between the display area and the application window; for example, the display area with the serial number 3 in the first arrangement order establishes a corresponding relationship with the application window with the serial number 3 in the second arrangement order.

可见,本示例中,电子设备可根据应用窗口的不同类型进行排序,使得用户最近交互过的应用窗口位于第二排列顺序的靠前位置;同时由于第一排列顺序中显示区域由大到小的顺序进行排列的;因此,使得用户最近交互过的应用窗口对应的显示区域更大,便于用户进一步与该应用窗口进行交互,提升了电子设备的智能性。It can be seen that in this example, the electronic device can be sorted according to different types of application windows, so that the application windows that the user has interacted with most recently are at the front of the second arrangement order; Therefore, the display area corresponding to the application window that the user has interacted with recently is made larger, which facilitates the user to further interact with the application window, and improves the intelligence of the electronic device.

在一个可能的示例中,第一数量和第二数量均等于1,第二显示界面包括第一应用窗口和第二应用窗口,显示第二显示界面之后,方法还包括:检测到针对第一应用窗口的第一操作;响应于第一操作,调整第二显示界面为第三显示界面,第三显示界面包括:第二应用窗口和第一悬浮窗口,在第三显示界面中:第二应用窗口的显示面积等于第三显示界面的面积,第二应用窗口在第二显示界面中的显示面积小于第二应用窗口在第三显示界面中的面积,第一悬浮窗口与第一应用窗口对应,第一悬浮窗口按照预设透明度在第三显示界面中显示。In a possible example, the first number and the second number are both equal to 1, the second display interface includes a first application window and a second application window, and after the second display interface is displayed, the method further includes: The first operation of the window; in response to the first operation, the second display interface is adjusted to a third display interface, the third display interface includes: a second application window and a first floating window, and in the third display interface: the second application window The display area of the second application window is equal to the area of the third display interface, the display area of the second application window in the second display interface is smaller than the area of the second application window in the third display interface, the first floating window corresponds to the first application window, and the second application window corresponds to the first application window. A floating window is displayed in the third display interface according to the preset transparency.

其中,第一应用窗口和第二应用窗口中都包括预设标识,其中,检测到针对第一应用窗口的第一操作可以是:用户触控显示界面上预设标识的时间达到预设时长。Wherein, both the first application window and the second application window include preset identifiers, and the detection of the first operation on the first application window may be: the time when the user touches the preset identifier on the display interface reaches a preset duration.

其中,第一悬浮窗口在第三显示界面上按照预设透明度进行显示,使得用户可以透过第一悬浮窗口查看第二应用。The first floating window is displayed on the third display interface according to the preset transparency, so that the user can view the second application through the first floating window.

具体的,请参阅图3,图3是本申请实施例提供的由第二显示界面调整为第三显示界面的示意图。Specifically, please refer to FIG. 3 , which is a schematic diagram of adjusting from a second display interface to a third display interface provided by an embodiment of the present application.

在一个可能的示例中,显示第二显示界面之后,方法还包括:检测到关联第三应用窗口的第一指令;响应于第一指令,判断第三应用窗口是否为第二显示界面中显示面积最大的应用窗口;若否,则调整第三应用窗口为第二显示界面中显示面积最大的应用窗口。In a possible example, after displaying the second display interface, the method further includes: detecting a first instruction associated with the third application window; in response to the first instruction, determining whether the third application window is the display area in the second display interface The largest application window; if not, adjust the third application window to be the application window with the largest display area in the second display interface.

其中,检测到关联第三应用窗口的第一指令可以是检测到用户点击第一应用窗口。Wherein, detecting that the first instruction associated with the third application window may be detecting that the user clicks on the first application window.

具体的,请参阅图4,图4是本申请实施例提供的一种更新第二显示界面的示意图,图4中第三数量个应用窗口包括第一应用窗口,第二应用窗口,第三应用窗口和第四应用窗口;图4中在用户点击第一应用窗口之前,第一应用窗,第三应用窗口和第四应用个窗口对应的显示区域均小于第二应用窗口对应的显示区域,当用户点击第一应用窗口后,电子设备调整第一应用窗口为显示面积最大的应用窗口。Specifically, please refer to FIG. 4. FIG. 4 is a schematic diagram of updating a second display interface provided by an embodiment of the present application. The third number of application windows in FIG. 4 include a first application window, a second application window, and a third application window. window and the fourth application window; in FIG. 4, before the user clicks the first application window, the display areas corresponding to the first application window, the third application window and the fourth application window are all smaller than the display area corresponding to the second application window, when After the user clicks on the first application window, the electronic device adjusts the first application window to an application window with the largest display area.

可见,本示例中,用户在需要与某一应用窗口进行交互时,可点击该应用窗口,电子设备针对应用窗口的位置进行太调整,进而放大应用窗口,以便于用户与该应用窗口进行交互。It can be seen that in this example, when the user needs to interact with an application window, he can click on the application window, and the electronic device adjusts the position of the application window, and then enlarges the application window to facilitate the user to interact with the application window.

在一个可能的示例中,检测到关联第三应用窗口的第一指令,包括:检测到用户针对第三应用窗口的选择指令;或者,检测到第三应用程序接收到新消息,第三应用程序为第三应用窗口对应的应用程序。In a possible example, detecting the first instruction associated with the third application window includes: detecting a user's selection instruction for the third application window; or, detecting that the third application program receives a new message, the third application program is the application program corresponding to the third application window.

具体的,检测到用户针对第三应用窗口的选择指令可以是:用户点击第二显示界面中的第三应用窗口。Specifically, it is detected that the user's selection instruction for the third application window may be: the user clicks on the third application window in the second display interface.

在一个可能的示例中,根据应用窗口的参数生成第二显示界面之后,显示第二显示界面之前,方法还包括:检测到第四应用窗口的显示面积小于等于预设显示面积;将第四应用窗口的显示方式由第一显示方式切换为第二显示方式,第二显示方式对应的功能选择项小于第一显示方式对应的功能选择项。In a possible example, after the second display interface is generated according to the parameters of the application window and before the second display interface is displayed, the method further includes: detecting that the display area of the fourth application window is less than or equal to the preset display area; The display mode of the window is switched from the first display mode to the second display mode, and the function selection items corresponding to the second display mode are smaller than the function selection items corresponding to the first display mode.

举例来说,第四应用窗口为计算机应用程序对应的应用窗口;计算机应用窗口在第一显示方式中包括:加减乘除计算,开根号,计算三角函数等功能选项;计算机应用窗口在第二显示方式中仅包括加减乘除计算的功能选项。For example, the fourth application window is an application window corresponding to a computer application program; the computer application window in the first display mode includes: addition, subtraction, multiplication and division calculation, square root, calculation of trigonometric functions and other functional options; the computer application window is in the second display mode. Only the function options of addition, subtraction, multiplication and division are included in the display mode.

可见,本示例中,电子设备可根据当前应用窗口的显示面积适配调整显示方式,提升了电子设备的智能性。It can be seen that in this example, the electronic device can adapt and adjust the display mode according to the display area of the current application window, which improves the intelligence of the electronic device.

在一个可能的示例中,检测到针对第二数量个应用窗口的开启指令之后,根据应用窗口的参数生成第二显示界面之前,方法还包括:在第一显示界面以堆叠的方式显示第二数量个应用窗口;在第一显示界面显示第一功能图标,第一功能图标在被触发的情况下用于生成第二显示界面;接收到针对第一功能图标的触发指令。In a possible example, after detecting the opening instruction for the second number of application windows, and before generating the second display interface according to the parameters of the application windows, the method further includes: displaying the second number of application windows in a stacked manner on the first display interface an application window; a first function icon is displayed on the first display interface, and the first function icon is used to generate a second display interface when triggered; a trigger instruction for the first function icon is received.

具体的,请参阅图5,图5是本申请实施例提供的一种由第一显示界面调整至第二显示界面的示意图;如图所示,首先,电子设备在第一显示界面中将第一应用窗口,第二应用窗口,第三应用窗口和第四应用窗口以堆叠的方式进行显示(上述四个应用窗口即为第一数量个应用窗口和第二数量个应用窗口的集合);同时电子设备在第一显示界面显示第一功能图标;其次,当用户点击该整理键时(即电子设备接收到整理键的指令),整理键的图标状态发生变化,以对用户的点击做出反馈;之后,电子设备根据第一应用窗口,第二应用窗口,第三应用窗口和第四应用窗口生成第二显示界面,第二显示界面中上述四个应用窗口之间相互不重叠。Specifically, please refer to FIG. 5. FIG. 5 is a schematic diagram of adjusting from a first display interface to a second display interface provided by an embodiment of the present application; as shown in the figure, first, the electronic device displays the first display interface in the first display interface. An application window, a second application window, a third application window and a fourth application window are displayed in a stacked manner (the above four application windows are the set of the first number of application windows and the second number of application windows); The electronic device displays the first function icon on the first display interface; secondly, when the user clicks the sorting key (that is, the electronic device receives an instruction of the sorting key), the icon state of the sorting key changes to give feedback to the user's click after that, the electronic device generates a second display interface according to the first application window, the second application window, the third application window and the fourth application window, and the above four application windows in the second display interface do not overlap each other.

可见,本示例中,电子设备可在第一显示界面中打开多个应用窗口且多个应用窗口堆叠显示的情况下,显示整理键,以便于快速的针对多个应用窗口进行整理,生成第二显示界面。It can be seen that in this example, when multiple application windows are opened in the first display interface and the multiple application windows are stacked and displayed, the electronic device can display the sorting key, so as to quickly sort the multiple application windows and generate the second UI.

在一个可能的示例中,显示第二显示界面之后,方法还包括:检测到第二显示界面中包括空显示区域;在空显示区域显示至少一个推荐应用程序的图标。In a possible example, after displaying the second display interface, the method further includes: detecting that the second display interface includes an empty display area; and displaying an icon of at least one recommended application in the empty display area.

其中,空显示区域指的是第二显示界面中没有显示应用窗口的区域。The empty display area refers to an area in the second display interface where no application window is displayed.

可见,本示例中,电子设备可在空显示区域中显示推荐应用程序的图标,便于用户打开对应的应用程序,提升了电子设备的智能性。It can be seen that in this example, the electronic device can display the icon of the recommended application in the empty display area, which facilitates the user to open the corresponding application and improves the intelligence of the electronic device.

在一个可能的示例中,根据应用窗口的参数生成第二显示界面之后,显示第二显示界面之前,方法还包括:在第一显示界面上显示第二数量个应用窗口中每个应用窗口对应的预显示位置,预显示位置在第一显示界面中按照预设形式显示;接收到针对预显示位置的确认指令。In a possible example, after the second display interface is generated according to the parameters of the application window, and before the second display interface is displayed, the method further includes: displaying on the first display interface the corresponding data of each application window in the second number of application windows A pre-display position, the pre-display position is displayed in a preset form in the first display interface; a confirmation instruction for the pre-display position is received.

其中,预设形式可以是虚线框,即电子设备在第一显示界面上用虚线框显示每个应用窗口的预显示位置。The preset form may be a dotted frame, that is, the electronic device uses a dotted frame to display the pre-display position of each application window on the first display interface.

其中,接收到针对预设显示位置的确认指令可以是:电子设备检测到用户触控到显示界面中的预显示位置。Wherein, receiving the confirmation instruction for the preset display position may be: the electronic device detects that the user touches the pre-display position in the display interface.

在一个可能的示例中,检测到针对第二数量个应用窗口的开启指令,包括:检测到针对至少一个应用图标中的第二数量个应用图标的点击操作,第二数量个应用图标与第二数量个应用窗口为对应关系,其中,应用图标与应用窗口之间为一一对应关系;生成针对第二数量个应用窗口的开启指令。举例来说,请参阅图6,图6是本申请实施例提供的一种生成第二显示界面的示意图,其中第一数量和第二数量均等于1,在图6的第一显示界面中,电子设备显示第一应用窗口和侧边栏,当用户点击侧边栏中的C应用图标时,即电子设备检测到针对C应用图标对应的C应用窗口的开启指令,电子设备根据第一应用窗口和C应用窗口生成第二显示界面。可见,本示例中,电子设备在检测到针对应用图标的选择指令时,可生成针对应用图标对应的应用窗口的开启指令。In a possible example, detecting an opening instruction for the second number of application windows includes: detecting a click operation for the second number of application icons in the at least one application icon, the second number of application icons and the second number of application icons are detected. The number of application windows is in a corresponding relationship, wherein there is a one-to-one correspondence between the application icons and the application windows; an opening instruction for the second number of application windows is generated. For example, please refer to FIG. 6. FIG. 6 is a schematic diagram of generating a second display interface provided by an embodiment of the present application, wherein the first number and the second number are both equal to 1. In the first display interface of FIG. 6, The electronic device displays the first application window and the sidebar, and when the user clicks the C application icon in the sidebar, that is, the electronic device detects an opening instruction for the C application window corresponding to the C application icon, and the electronic device according to the first application window and C application window to generate a second display interface. It can be seen that, in this example, when the electronic device detects the selection instruction for the application icon, it can generate the opening instruction for the application window corresponding to the application icon.

在一个可能的示例中,检测到针对第二数量个应用窗口的开启指令之前,方法还包括:在第一显示界面的第一区域检测到第一手势,第一手势用于在第一显示界面的预设区域呼出侧边栏;在预设区域显示侧边栏,侧边栏包括至少一个应用图标,在接收到针对至少一个应用图标中第一应用图标的选择指令时,可开启第一应用图标对应的应用窗口。In a possible example, before detecting the opening instruction for the second number of application windows, the method further includes: detecting a first gesture in the first area of the first display interface, where the first gesture is used to display the first gesture on the first display interface The preset area of calls out the sidebar; the sidebar is displayed in the preset area, and the sidebar includes at least one application icon. When receiving a selection instruction for the first application icon in the at least one application icon, the first application can be opened. The application window corresponding to the icon.

其中,请参阅图7,图7是本申请实施例提供的一种显示界面的示意图,如图所示,电子设备可以在显示界面上方显示侧边栏,当用户点击电子设备的侧边栏中的应用图标时,即电子设备检测到针对该应用图标的选择指令,则电子设备开启应用图标的对应的应用窗口。Please refer to FIG. 7. FIG. 7 is a schematic diagram of a display interface provided by an embodiment of the present application. As shown in the figure, the electronic device may display a sidebar above the display interface. When the user clicks on the sidebar of the electronic device When the application icon is displayed, that is, the electronic device detects a selection instruction for the application icon, the electronic device opens the corresponding application window of the application icon.

其中,第一手势是预先设置的用于呼出侧边栏的手势,具体的,请参阅图8,图8是本申请实施例提供的一种呼出侧边栏的示意图,如图所示,用户可以从电子设备的一侧边框向内滑动,呼出侧边栏,侧边栏中包括应用程序的应用图标。The first gesture is a preset gesture for calling out the sidebar. For details, please refer to FIG. 8. FIG. 8 is a schematic diagram of calling out the sidebar provided by an embodiment of the present application. As shown in the figure, the user You can swipe inward from a side frame of the electronic device to call out the sidebar, which includes the application icon of the application.

可见,电子设备可呼出侧边栏,有利于快速的接收针对应用图标的选择指令,进而生成应用图标对应的应用窗口的开启指令。It can be seen that the electronic device can call out the sidebar, which is beneficial to quickly receive the selection instruction for the application icon, and then generate the opening instruction of the application window corresponding to the application icon.

在一个可能的示例中,根据第一数量个应用窗口和第二数量个应用窗口调整第一显示界面为第二显示界面之后,方法还包括:检测到针对第一应用窗口的选择指令;判断第一应用窗口是否为第二显示界面中窗口面积最大的应用窗口;若否,则确定第二显示界面中中的第二应用窗口,第二应用窗口为第二显示界面面中窗口面积最大的应用窗口;互换第一应用窗口和第二应用窗口在第二显示界面中的位置和显示面积。In a possible example, after adjusting the first display interface to the second display interface according to the first number of application windows and the second number of application windows, the method further includes: detecting a selection instruction for the first application window; Whether an application window is the application window with the largest window area in the second display interface; if not, determine the second application window in the second display interface, and the second application window is the application with the largest window area in the second display interface window; interchange the position and display area of the first application window and the second application window in the second display interface.

在一个可能的示例中,方法应用于电子设备,电子设备与智能手表通信连接,智能手表具有手势识别功能,根据第一数量个应用窗口和第二数量个应用窗口调整第一显示界面为第二显示界面之后,方法还包括:接收智能手表发送的第一信息,第一信息中包括第一手势信息,第一手势信息用于指示电子设备选择第四数量个应用窗口;根据检测到的用户行为选择第四数量个应用窗口;接收到智能手表发送的第二信息,第二信息中包括第二手势信息,第二手势信息用于指示电子设备选择执行第二手势信息对应的预设操作;针对第四数量个应用窗口执行预设操作。In a possible example, the method is applied to an electronic device, the electronic device is communicatively connected to a smart watch, the smart watch has a gesture recognition function, and the first display interface is adjusted according to the first number of application windows and the second number of application windows to be the second After displaying the interface, the method further includes: receiving first information sent by the smart watch, where the first information includes first gesture information, and the first gesture information is used to instruct the electronic device to select a fourth number of application windows; according to the detected user behavior Select the fourth number of application windows; receive second information sent by the smart watch, the second information includes second gesture information, and the second gesture information is used to instruct the electronic device to select and execute the preset corresponding to the second gesture information Action; executes the preset action for the fourth number of application windows.

在一个可能的示例中,电子设备具有确定用户在显示界面上的注视点的功能,根据检测到的用户行为选择第四数量个应用窗口,包括:记录用户的注视点在第二显示界面中的第一移动轨迹;确定第一移动轨迹经过的应用窗口中应用窗口的第一时间点距离当前时间点最近的第四数量个应用窗口,第一时间点指的是移动轨迹到达应用窗口时的时间点;选择第四数量个应用窗口。In a possible example, the electronic device has a function of determining the user's gaze point on the display interface, and selecting a fourth number of application windows according to the detected user behavior includes: recording the user's gaze point in the second display interface. The first movement track; determine the fourth number of application windows closest to the current time point from the first time point of the application window in the application window that the first movement track passes through, and the first time point refers to the time when the movement track reaches the application window point; selects the fourth number of application windows.

在一个可能的示例中,根据检测到的用户行为选择第四数量个应用窗口,包括:记录用户在显示屏上的触控位置点和触控时间点;根据触控位置点和触控时间点确定第四数量个应用窗口;选择第四数量个应用窗口。In a possible example, selecting the fourth number of application windows according to the detected user behaviors includes: recording the user's touch position and touch time point on the display screen; according to the touch position point and touch time point Identify the fourth number of application windows; select the fourth number of application windows.

在一个可能的示例中,针对第四数量个应用窗口执行预设操作,包括:将第四数量个应用窗口的面积调整为预设显示面积,并在第二显示界面的预设区域显示第四数量个应用窗口;或者,在第二显示界面中删除第四数量个应用窗口。In a possible example, performing a preset operation on the fourth number of application windows includes: adjusting the area of the fourth number of application windows to a preset display area, and displaying the fourth number of application windows in a preset area of the second display interface. number of application windows; or, delete the fourth number of application windows in the second display interface.

本申请实施例提供一种窗口的显示装置,该窗口的显示装置可以为电子设备101或电子设备102。具体的,窗口的显示装置用于执行以上窗口的显示方法的步骤。本申请实施例提供的窗口的显示装置可以包括相应步骤所对应的模块。An embodiment of the present application provides a window display device, where the window display device may be an electronic device 101 or an electronic device 102 . Specifically, the window display device is configured to execute the steps of the above window display method. The window display apparatus provided by the embodiments of the present application may include modules corresponding to corresponding steps.

本申请实施例可以根据上述方法示例对窗口的显示装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the display device of the window can be divided into functional modules according to the above method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. The division of modules in the embodiments of the present application is schematic, and is only a logical function division, and there may be other division manners in actual implementation.

在采用对应各个功能划分各个功能模块的情况下,图9示出上述实施例中所涉及的窗口的显示装置的一种可能的结构示意图。如图9所示,窗口的显示装置500包括处理单元501。In the case where each functional module is divided according to each function, FIG. 9 shows a possible schematic structural diagram of the display device of the window involved in the above embodiment. As shown in FIG. 9 , the window display device 500 includes a processing unit 501 .

在窗口的显示装置为电子设备101的情况下:When the display device of the window is the electronic device 101:

所述处理单元501,用于显示第一显示界面,所述第一显示界面包括第一数量个应用窗口,所述第一数量为正整数;以及用于检测到针对第二数量个应用窗口的开启指令,所述第二数量为正整数;以及根据应用窗口的参数生成第二显示界面,所述第二显示界面中任意两个应用窗口之间不重叠,所述应用窗口的参数包括以下至少一种:应用窗口的数量,应用窗口对应的应用程序类型,使用频率,自定义优先级;以及用于显示所述第二显示界面。The processing unit 501 is configured to display a first display interface, the first display interface includes a first number of application windows, the first number is a positive integer; and is configured to detect a second number of application windows. opening an instruction, the second number is a positive integer; and a second display interface is generated according to the parameters of the application window, any two application windows in the second display interface do not overlap, and the parameters of the application window include at least the following One: the number of application windows, the type of application programs corresponding to the application windows, the frequency of use, the custom priority; and the second display interface for displaying the second display interface.

其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。当然,本申请实施例提供的窗口的显示装置包括但不限于上述模块,例如:窗口的显示装置还可以包括通信单元502和存储单元503。存储单元503可以用于存储该窗口的显示装置的程序代码和数据。Wherein, all relevant contents of the steps involved in the above method embodiments can be cited in the functional descriptions of the corresponding functional modules, which will not be repeated here. Of course, the window display device provided in the embodiment of the present application includes but is not limited to the above-mentioned modules. For example, the window display device may further include a communication unit 502 and a storage unit 503 . The storage unit 503 may be used to store program codes and data of the display device of the window.

在采用集成的单元的情况下,本申请实施例提供的窗口的显示装置的结构示意图如图10所示。在图10中,窗口的显示装置600包括:处理模块601和通信模块602。处理模块601用于对窗口的显示装置的动作进行控制管理,例如,执行处理单元501执行的步骤,和/或用于执行本文所描述的技术的其它过程。通信模块602用于支持窗口的显示装置与其他设备之间的交互。如图10所示,窗口的显示装置还可以包括存储模块603,存储模块603用于存储窗口的显示装置的程序代码和数据,例如存储上述存储单元503所保存的内容。In the case of using an integrated unit, a schematic structural diagram of a window display device provided by an embodiment of the present application is shown in FIG. 10 . In FIG. 10 , the window display device 600 includes: a processing module 601 and a communication module 602 . The processing module 601 is used to control and manage the actions of the display device of the window, eg, to perform the steps performed by the processing unit 501, and/or to perform other processes of the techniques described herein. The communication module 602 is used to support the interaction between the display device of the window and other devices. As shown in FIG. 10 , the window display device may further include a storage module 603 . The storage module 603 is used to store program codes and data of the window display device, for example, the content saved by the above-mentioned storage unit 503 .

其中,处理模块601可以是处理器或控制器,例如可以是中央处理器(CentralProcessing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),ASIC,FPGA或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块602可以是收发器、RF电路或通信接口等。存储模块603可以是存储器。The processing module 601 may be a processor or a controller, such as a central processing unit (Central Processing Unit, CPU), a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), ASIC, FPGA or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 602 may be a transceiver, an RF circuit, a communication interface, or the like. The storage module 603 may be a memory.

其中,上述方法实施例涉及的各场景的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。Wherein, all the relevant contents of the scenarios involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.

本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括移动终端。Embodiments of the present application further provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to execute part or all of the steps of any method described in the above method embodiments , the above computer includes a mobile terminal.

本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括移动终端。Embodiments of the present application further provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any one of the method embodiments described above. some or all of the steps of the method. The computer program product may be a software installation package, and the above-mentioned computer includes a mobile terminal.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Because in accordance with the present application, certain steps may be performed in other orders or concurrently. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.

上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个控制单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one control unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art, or all or part of the technical solution, and the computer software product is stored in a memory, Several instructions are included to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the above-mentioned methods in the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), magnetic disk or optical disk, etc.

以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been introduced in detail above, and the principles and implementations of the present application are described in this paper by using specific examples. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; at the same time, for Persons of ordinary skill in the art, based on the idea of the present application, will have changes in the specific implementation manner and application scope. In summary, the contents of this specification should not be construed as limitations on the present application.

Claims (13)

1. A method for displaying a window, the method comprising:
displaying a first display interface, wherein the first display interface comprises a first number of application windows, and the first number is a positive integer;
when a first opening gesture is detected to exist in the detection range, determining a fixation point of a user on a display interface through an eyeball tracking technology, and determining opening instructions for a second number of application windows according to a moving track of the fixation point in the display interface and the stay time of each position point in the moving track, wherein the second number is a positive integer;
generating a second display interface according to the parameters of the application windows, wherein any two application windows in the second display interface are not overlapped, and the parameters of the application windows comprise at least one of the following: the number of the application windows, the types of the application programs corresponding to the application windows, the use frequency and the user-defined priority;
displaying the second display interface;
detecting that an empty display area is included in the second display interface;
and displaying an icon of at least one recommended application program in the empty display area.
2. The method of claim 1, wherein the parameters of the application windows include a number of application windows, the number of application windows is a third number, and the generating a second display interface according to the parameters of the application windows includes;
inquiring a preset database according to the third quantity to obtain a target window layout strategy, wherein the preset database comprises a corresponding relation between the quantity and the window layout strategy;
determining the positions and the display areas of a third number of application windows according to the target window layout strategy, wherein the third number of application windows are composed of the first number of application windows and the second number of application windows;
and generating the second display interface according to the positions and the display areas of the third number of application windows.
3. The method of claim 2, wherein the target window layout strategy divides a display interface into a third number of display regions, the target window layout strategy including locations, display areas, and a first arrangement order of the third number of display regions; determining the positions and the display areas of a third number of application windows according to the target window layout strategy comprises:
generating a second arrangement sequence of the third number of application windows according to the parameters of the application windows;
determining a one-to-one correspondence between the third number of display areas and the third number of application windows according to the first arrangement order and the second arrangement order;
and determining the positions and the display areas of the third number of application windows according to the positions and the display areas of the third number of display areas and the one-to-one correspondence.
4. The method of claim 3, wherein the parameters of the application windows include an application type of the third number of application windows; generating a second ranking order of the third number of application windows according to the parameters of the application windows includes:
dividing the third number of application windows into an interactive type and a non-interactive type;
sequencing the application windows of the interaction class to obtain a first subsequence;
sequencing the non-interactive application windows to obtain a second subsequence;
and after the second subsequence is arranged to the first subsequence, obtaining the second arrangement order.
5. The method of any of claims 1-4, wherein the first number and the second number are both equal to 1, wherein the second display interface comprises a first application window and a second application window, and wherein after displaying the second display interface, the method further comprises:
detecting a first operation on the first application window;
responding to the first operation, and adjusting the second display interface to be a third display interface, wherein the third display interface comprises: a second application window and a first floating window, in the third display interface: the display area of the second application window is equal to the area of the third display interface, the display area of the second application window in the second display interface is smaller than the area of the second application window in the third display interface, the first floating window corresponds to the first application window, and the first floating window is displayed in the third display interface according to a preset transparency.
6. The method of any of claims 1-4, wherein after displaying the second display interface, the method further comprises:
detecting a first instruction associated with a third application window;
responding to the first instruction, and judging whether the third application window is the application window with the largest display area in the second display interface;
and if not, adjusting the third application window to be the application window with the largest display area in the second display interface.
7. The method of claim 6, wherein detecting the first instruction associated with the third application window comprises:
detecting a selection instruction of a user for the third application window;
or detecting that a third application program receives a new message, where the third application program is an application program corresponding to the third application window.
8. The method according to any one of claims 2-4, wherein after the generating the second display interface according to the parameters of the application window and before the displaying the second display interface, the method further comprises:
detecting that the display area of the fourth application window is smaller than or equal to a preset display area;
and switching the display mode of the fourth application window from the first display mode to a second display mode, wherein the function option corresponding to the second display mode is smaller than the function option corresponding to the first display mode.
9. The method of claim 1, wherein after determining the open commands for the second number of application windows and before generating the second display interface according to the parameters of the application windows, the method further comprises:
displaying the second number of application windows in a stacked manner on the first display interface;
displaying a first function icon on the first display interface, wherein the first function icon is used for generating the second display interface under the condition of being triggered;
receiving a triggering instruction aiming at the first function icon.
10. The method of claim 1, wherein after the generating the second display interface according to the parameters of the application window and before the displaying the second display interface, the method further comprises:
displaying a pre-display position corresponding to each application window in the second number of application windows on the first display interface, wherein the pre-display position is displayed in the first display interface according to a preset form;
receiving a confirmation instruction for the pre-display position.
11. A display device of a window, characterized in that the display device of the window comprises a processing unit, wherein,
the processing unit is used for displaying a first display interface, wherein the first display interface comprises a first number of application windows, and the first number is a positive integer; the method comprises the steps that when a first opening gesture is detected to exist in a detection range, a fixation point of a user on a display interface is determined through an eyeball tracking technology, opening instructions for a second number of application windows are determined according to a moving track of the fixation point in the display interface and the stay time of each position point in the moving track, and the second number is a positive integer; and generating a second display interface according to the parameters of the application windows, wherein any two application windows in the second display interface are not overlapped, and the parameters of the application windows comprise at least one of the following: the number of the application windows, the types of the application programs corresponding to the application windows, the use frequency and the user-defined priority; and for displaying the second display interface; the second display interface is used for detecting that an empty display area is included in the second display interface; and an icon for displaying at least one recommended application in the empty display area.
12. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-10.
13. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-10.
CN202010682037.2A 2020-07-15 2020-07-15 Window display method and related device Active CN111782102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010682037.2A CN111782102B (en) 2020-07-15 2020-07-15 Window display method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010682037.2A CN111782102B (en) 2020-07-15 2020-07-15 Window display method and related device

Publications (2)

Publication Number Publication Date
CN111782102A CN111782102A (en) 2020-10-16
CN111782102B true CN111782102B (en) 2022-05-17

Family

ID=72767916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010682037.2A Active CN111782102B (en) 2020-07-15 2020-07-15 Window display method and related device

Country Status (1)

Country Link
CN (1) CN111782102B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241230B (en) * 2020-10-20 2022-04-12 北京字节跳动网络技术有限公司 Window display method and device of electronic equipment, terminal and storage medium
CN112269508B (en) * 2020-10-27 2022-07-29 维沃移动通信有限公司 Display method and device and electronic equipment
CN112269515A (en) * 2020-11-12 2021-01-26 Oppo广东移动通信有限公司 Multi-window processing method and device on mobile terminal, mobile terminal and medium
CN116670633A (en) * 2020-12-16 2023-08-29 深圳迈瑞生物医疗电子股份有限公司 Ventilation mode setting method and veterinary ventilation control equipment
CN114942802B (en) * 2021-02-07 2025-02-18 Oppo广东移动通信有限公司 Application switching method, device, terminal and storage medium
CN114968442A (en) * 2021-02-26 2022-08-30 中国信息通信研究院 Method and apparatus for user interface display
CN113703639B (en) * 2021-03-19 2024-07-19 腾讯科技(深圳)有限公司 Application display method, device, computer and readable storage medium
CN115268727A (en) * 2021-04-30 2022-11-01 华为技术有限公司 Display method and device thereof
WO2022241695A1 (en) * 2021-05-19 2022-11-24 深圳传音控股股份有限公司 Processing method, mobile terminal, and storage medium
TWI855325B (en) * 2021-08-08 2024-09-11 仁寶電腦工業股份有限公司 Electronic device and window interface adjustment method thereof
CN113805765B (en) * 2021-08-12 2022-08-02 荣耀终端有限公司 Card display method and electronic device
CN114416243A (en) * 2021-12-31 2022-04-29 上海洛轲智能科技有限公司 Interface display method and device of vehicle-mounted terminal and electronic equipment
CN114911637A (en) * 2022-04-20 2022-08-16 深圳市科脉技术股份有限公司 Program calling method, apparatus, electronic device and readable storage medium
CN116737022A (en) * 2022-09-14 2023-09-12 荣耀终端有限公司 A display method and electronic device
CN116048708B (en) * 2023-03-31 2024-02-23 成都齐之之知识产权运营有限公司 Software window adjusting method, system, equipment and medium based on artificial intelligence
CN119032338B (en) * 2023-05-31 2025-06-27 华为技术有限公司 Display method and device
CN118394443A (en) * 2024-06-28 2024-07-26 比亚迪股份有限公司 Data display method, device, controller, medium, product and vehicle

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995722A (en) * 2014-05-26 2014-08-20 天津三星通信技术研究有限公司 Method and device for opening multiple windows simultaneously on screen
CN104793839A (en) * 2014-01-20 2015-07-22 中兴通讯股份有限公司 Display control method and system for touch screen interface
CN105378644A (en) * 2013-05-23 2016-03-02 微软技术许可有限责任公司 User interface element for multiple displays
CN108389283A (en) * 2018-03-27 2018-08-10 苏州科艾迪信息技术有限公司 A kind of 4K automobile data recorders
CN109569214A (en) * 2018-12-24 2019-04-05 青岛海信电器股份有限公司 Application display method and device, display equipment under span mode

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105378644A (en) * 2013-05-23 2016-03-02 微软技术许可有限责任公司 User interface element for multiple displays
CN104793839A (en) * 2014-01-20 2015-07-22 中兴通讯股份有限公司 Display control method and system for touch screen interface
CN103995722A (en) * 2014-05-26 2014-08-20 天津三星通信技术研究有限公司 Method and device for opening multiple windows simultaneously on screen
CN108389283A (en) * 2018-03-27 2018-08-10 苏州科艾迪信息技术有限公司 A kind of 4K automobile data recorders
CN109569214A (en) * 2018-12-24 2019-04-05 青岛海信电器股份有限公司 Application display method and device, display equipment under span mode

Also Published As

Publication number Publication date
CN111782102A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN111782102B (en) Window display method and related device
CN112950525B (en) Image detection method and device and electronic equipment
CN109062479B (en) Split-screen application switching method, device, storage medium and electronic device
US11093069B2 (en) Method and apparatus for performing a function based on a touch event and a relationship to edge and non-edge regions
CN110737386A (en) A screen capture method and related equipment
WO2021063098A1 (en) Touch screen response method, and electronic device
WO2021110133A1 (en) Control operation method and electronic device
CN114816167B (en) Application icon display method, electronic device and readable storage medium
CN111263002A (en) Display method and electronic equipment
WO2022002213A1 (en) Translation result display method and apparatus, and electronic device
WO2021000943A1 (en) Method and apparatus for managing fingerprint switch
CN110780929A (en) Method and electronic device for calling hardware interface
CN116826892A (en) Charging method, charging device, electronic apparatus, and readable storage medium
CN111062224B (en) Content transmission method and terminal equipment
CN115643485B (en) Photography methods and electronic equipment
WO2022143094A1 (en) Window page interaction method and apparatus, electronic device, and readable storage medium
CN116339877A (en) Method for running application program across systems and electronic equipment
CN115390737A (en) Electronic equipment control method and electronic equipment
WO2024037542A1 (en) Touch input method, system, electronic device, and storage medium
CN117008772B (en) Display method of application window and electronic equipment
CN111695071B (en) Page display method and related device
WO2024032124A1 (en) Method for folding and unfolding scroll screen and related product
CN116206321A (en) Form recognition method, electronic device, storage medium and program product
CN111880714B (en) Page control method and related device
WO2023088093A1 (en) Display method and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant