CN110661917A - Display method and electronic equipment - Google Patents

Display method and electronic equipment Download PDF

Info

Publication number
CN110661917A
CN110661917A CN201910726163.0A CN201910726163A CN110661917A CN 110661917 A CN110661917 A CN 110661917A CN 201910726163 A CN201910726163 A CN 201910726163A CN 110661917 A CN110661917 A CN 110661917A
Authority
CN
China
Prior art keywords
display area
interface
screen
display
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910726163.0A
Other languages
Chinese (zh)
Other versions
CN110661917B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202210347479.0A priority Critical patent/CN114840127A/en
Priority to CN201910726163.0A priority patent/CN110661917B/en
Publication of CN110661917A publication Critical patent/CN110661917A/en
Priority to PCT/CN2020/103877 priority patent/WO2021023021A1/en
Application granted granted Critical
Publication of CN110661917B publication Critical patent/CN110661917B/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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例提供一种显示方法及电子设备,该方法应用于电子设备,该方法用以解决现有的应用内分屏界面的窗口无法调节的问题,该方法包括:电子设备接收用户的分屏操作,响应于该分屏操作,控制电子设备的显示屏的第一显示区域显示第一界面,控制显示屏的第二显示区域显示第二界面;其中,第二显示区域与第一显示区域不重叠或部分区域重叠;第一界面和第二界面均为第一应用的不同界面,然后接收用户的第二操作,第二操作用于触发调整第一显示区域和第二显示区域中至少一个显示区域的大小;响应于第二操作,控制第一显示区域调整成第三显示区域,以及控制第二显示区域调整成第四显示区域;第三显示区域显示第一界面,第四显示区域显示第二界面。

Embodiments of the present application provide a display method and an electronic device, the method is applied to the electronic device, and the method is used to solve the problem that the window of a split-screen interface in an existing application cannot be adjusted. The method includes: the electronic device receives a user's screen operation, in response to the split screen operation, the first display area of the display screen of the electronic device is controlled to display the first interface, and the second display area of the display screen is controlled to display the second interface; wherein the second display area and the first display area are Do not overlap or partially overlap; both the first interface and the second interface are different interfaces of the first application, and then receive a second operation from the user, and the second operation is used to trigger adjustment of at least one of the first display area and the second display area The size of the display area; in response to the second operation, the first display area is controlled to be adjusted to the third display area, and the second display area is controlled to be adjusted to the fourth display area; the third display area displays the first interface, and the fourth display area displays the Second interface.

Description

一种显示方法及电子设备A display method and electronic device

技术领域technical field

本申请涉及终端技术领域,尤其涉及一种显示方法及电子设备。The present application relates to the field of terminal technologies, and in particular, to a display method and an electronic device.

背景技术Background technique

随着电子设备的不断发展,越来越多具有显示屏的电子设备被广泛应用于人们的日常生活和工作中,如具有显示屏的手机等。且不难发现,随着屏幕技术的发展,电子设备的显示屏也变得越来越大,以给用户提供更丰富的信息,带给用户更好的使用体验。With the continuous development of electronic devices, more and more electronic devices with display screens are widely used in people's daily life and work, such as mobile phones with display screens. And it is not difficult to find that, with the development of screen technology, the display screen of an electronic device is also becoming larger and larger, so as to provide users with richer information and better user experience.

目前部分宽屏的智能设备支持多窗口模式,所谓多窗口模式指的是应用内的不同界面可以在同一显示屏的不同窗口分别显示,但是多窗口模式下的不同界面的窗口不支持窗口大小的调节,影响了用户的使用体验。At present, some widescreen smart devices support multi-window mode. The so-called multi-window mode means that different interfaces in the application can be displayed in different windows of the same display screen, but the windows of different interfaces in the multi-window mode do not support window size adjustment. , which affects the user experience.

发明内容SUMMARY OF THE INVENTION

本申请提供一种显示方法及电子设备,用以解决现有的应用内分屏界面的窗口无法调节的问题。The present application provides a display method and an electronic device, which are used to solve the problem that the window of the existing split-screen interface in an application cannot be adjusted.

第一方面,本申请实施例提供了一种显示方法,该方法适用于电子设备,该方法包括:电子设备接收用户的分屏操作,响应于该分屏操作,控制电子设备的显示屏的第一显示区域显示第一界面,控制显示屏的第二显示区域显示第二界面;其中,第二显示区域与第一显示区域不重叠或部分区域重叠;第一界面和第二界面均为第一应用的不同界面,然后接收用户的第二操作,第二操作用于触发调整第一显示区域和第二显示区域中至少一个显示区域的大小;响应于第二操作,控制第一显示区域调整成第三显示区域,以及控制第二显示区域调整成第四显示区域;其中,第三显示区域显示第一界面,第四显示区域显示第二界面。In a first aspect, an embodiment of the present application provides a display method, which is applicable to an electronic device. The method includes: the electronic device receives a user's split-screen operation, and in response to the split-screen operation, controlling a first display of the display screen of the electronic device. A display area displays the first interface, and controls the second display area of the display screen to display the second interface; wherein, the second display area does not overlap or partially overlaps with the first display area; the first interface and the second interface are both the first interface The different interfaces of the application then receive a second operation from the user, where the second operation is used to trigger the adjustment of the size of at least one display area in the first display area and the second display area; in response to the second operation, the first display area is controlled to be adjusted to The third display area, and controlling the second display area to be adjusted into the fourth display area; wherein, the third display area displays the first interface, and the fourth display area displays the second interface.

本申请实施例中,通过上述方法可以实现对应用内的不同界面的窗口的调节,可以改善用户的使用体验。In the embodiment of the present application, the above method can realize the adjustment of the windows of different interfaces in the application, which can improve the user experience.

在一种可能的设计中,第一界面的右边边界和第二界面的左边边界可以设有窗口调节控件;第二操作为作用于窗口调节控件的拖动操作,拖动操作包括拖动方向、操作起始点坐标和操作终点坐标。电子设备控制第一显示区域调整成第三显示区域,以及控制第二显示区域调整成第四显示区域之前,还包括:根据拖动方向、操作起始点坐标和操作终点坐标,调整第一显示区域的宽度和第二显示区域的宽度之间的比值;根据比值,确定第三显示区域和第四显示区域。In a possible design, the right border of the first interface and the left border of the second interface may be provided with a window adjustment control; the second operation is a drag operation acting on the window adjustment control, and the drag operation includes the drag direction, Operation start point coordinates and operation end point coordinates. Before the electronic device controls the first display area to be adjusted to the third display area, and controls the second display area to be adjusted to the fourth display area, the method further includes: adjusting the first display area according to the drag direction, the coordinates of the start point of the operation and the coordinates of the end point of the operation The ratio between the width of the second display area and the width of the second display area; according to the ratio, the third display area and the fourth display area are determined.

本申请实施例中,上述方法可以使显示屏的显示形式更加丰富,可以提升显示屏的利用率,并提升用户的视觉体验。In the embodiment of the present application, the above method can enrich the display forms of the display screen, improve the utilization rate of the display screen, and improve the visual experience of the user.

在一种可能的设计中,当第一显示区域的宽度和第二显示区域的宽度之间的比值小于第一阈值时,可以控制所述第二界面全屏显示;或者,当所述第一显示区域的宽度和所述第二显示区域的宽度之间的比值大于第二阈值时,可以控制所述第一界面全屏显示;其中,所述第一阈值远小于所述第二阈值。In a possible design, when the ratio between the width of the first display area and the width of the second display area is smaller than a first threshold, the second interface may be controlled to display in full screen; or, when the first display When the ratio between the width of the area and the width of the second display area is greater than a second threshold, the first interface can be controlled to display in full screen; wherein the first threshold is much smaller than the second threshold.

本申请实施例中,上述方法可以使显示屏从多窗口模式切换为单窗口模式,显示方式更加灵活多变。In the embodiment of the present application, the above method can switch the display screen from the multi-window mode to the single-window mode, and the display mode is more flexible and changeable.

在一种可能的设计中,所述第二界面可以是所述第一界面的上一层级的界面;或者,所述第二界面也可以是所述第一界面的下一层级的界面。In a possible design, the second interface may be an interface at an upper level of the first interface; or, the second interface may also be an interface at a lower level of the first interface.

在一种可能的设计中,所述第一显示区域和所述第二显示区域可以预先配置在所述电子设备中;或者,所述第一显示区域和所述第二显示区域也可以由用户根据需求在所述电子设备中设置。或者,当所述电子设备的显示屏为折叠屏时,所述第一显示区域可以是第一屏对应的显示区域,所述第二显示区域可以是第二屏对应的显示区域,其中,所述折叠屏可被折叠形成至少两个屏,所述至少两个屏包括所述第一屏和所述第二屏。此外,上述的窗口调节控件可以设置在折叠屏的折叠区域处。In a possible design, the first display area and the second display area may be pre-configured in the electronic device; alternatively, the first display area and the second display area may also be configured by a user Set in the electronic device as required. Alternatively, when the display screen of the electronic device is a foldable screen, the first display area may be a display area corresponding to the first screen, and the second display area may be a display area corresponding to the second screen, wherein all the The folding screen may be folded to form at least two screens, the at least two screens including the first screen and the second screen. In addition, the above-mentioned window adjustment controls may be arranged at the folding area of the folding screen.

本申请实施例中,可以使折叠屏的显示内容更加丰富,可以提升折叠屏的利用率,并提升用户的视觉体验。In the embodiment of the present application, the display content of the folding screen can be enriched, the utilization rate of the folding screen can be improved, and the user's visual experience can be improved.

第二方面,本申请实施例提供一种电子设备,包括传感器、触摸屏、处理器和存储器,其中,存储器用于存储一个或多个计算机程序;当存储器存储的一个或多个计算机程序被处理器执行时,使得该电子设备能够实现上述任一方面的任意一种可能的设计的方法。In a second aspect, the embodiments of the present application provide an electronic device, including a sensor, a touch screen, a processor, and a memory, wherein the memory is used to store one or more computer programs; when the one or more computer programs stored in the memory are processed by the processor When executed, the method for enabling the electronic device to implement any one of the possible designs in any of the foregoing aspects.

第三方面,本申请实施例还提供一种装置,该装置包括执行上述任一方面的任意一种可能的设计的方法的模块/单元。这些模块/单元可以通过硬件实现,也可以通过硬件执行相应的软件实现。In a third aspect, an embodiment of the present application further provides an apparatus, where the apparatus includes a module/unit for performing any one of the possible design methods in any of the foregoing aspects. These modules/units can be implemented by hardware or by executing corresponding software by hardware.

第四方面,本申请实施例中还提供一种计算机可读存储介质,所述计算机可读存储介质包括计算机程序,当计算机程序在电子设备上运行时,使得所述电子设备执行上述任一方面的任意一种可能的设计的方法。In a fourth aspect, the embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium includes a computer program, and when the computer program runs on an electronic device, the electronic device is made to perform any of the above aspects any of the possible design methods.

第五方面,本申请实施例还提供一种包含计算机程序产品,当所述计算机程序产品在终端上运行时,使得所述电子设备执行上述任一方面的任意一种可能的设计的方法。In a fifth aspect, the embodiments of the present application further provide a method including a computer program product that enables the electronic device to execute any one of the possible designs in any of the foregoing aspects when the computer program product runs on a terminal.

本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These and other aspects of the present application will be more clearly understood in the description of the following embodiments.

附图说明Description of drawings

图1为本申请实施例提供的一种手机的结构示意图;1 is a schematic structural diagram of a mobile phone according to an embodiment of the present application;

图2为本申请实施例提供的安卓操作系统结构示意图;2 is a schematic structural diagram of an Android operating system provided by an embodiment of the present application;

图3为本申请实施例提供的一种分屏模式示意图;3 is a schematic diagram of a split screen mode provided by an embodiment of the present application;

图4A为本申请实施例提供的另一种分屏模式示意图;4A is a schematic diagram of another split-screen mode provided by an embodiment of the present application;

图4B为本申请实施例提供的另一种分屏模式示意图;4B is a schematic diagram of another split-screen mode provided by an embodiment of the present application;

图5为本申请实施例提供的另一种分屏模式的软件实现方法交互示意图;5 is an interactive schematic diagram of another software implementation method of a split-screen mode provided by an embodiment of the present application;

图6为本申请实施例提供的一种分屏操作示意图;FIG. 6 is a schematic diagram of a split-screen operation provided by an embodiment of the present application;

图7A至图7E为本申请实施例提供的一种分屏显示方法界面示意图;7A to 7E are schematic interface diagrams of a split-screen display method according to an embodiment of the present application;

图8A至图8D为本申请实施例提供的另一种分屏显示界面示意图;8A to 8D are schematic diagrams of another split-screen display interface provided by an embodiment of the present application;

图9为本申请实施例提供的一种显示区域的设置界面实例示意图;9 is a schematic diagram of an example of a setting interface of a display area provided by an embodiment of the present application;

图10为本申请实施例提供的一种显示区域的设置界面实例示意图;10 is a schematic diagram of an example of a setting interface of a display area provided by an embodiment of the present application;

图11为本申请实施例提供的一种显示区域的设置界面实例示意图;11 is a schematic diagram of an example of a setting interface of a display area provided by an embodiment of the present application;

图12为本申请实施例提供的另一种电子设备的结构示意图。FIG. 12 is a schematic structural diagram of another electronic device provided by an embodiment of the present application.

具体实施方式Detailed ways

本申请实施例可以应用于任何一款具有触摸屏的电子设备中,所述电子设备可以是便携式设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴设备(如智能手表)等。便捷式终端具备触摸屏和算法运算能力(能够运行本申请实施例提供的显示方法)。便携式设备的示例性实施例包括但不限于搭载

Figure BDA0002159000930000031
或者其它操作系统的便携式设备。上述便携式设备也可以是其它便携式设备,只要具备触摸屏和算法运算能力(能够运行本申请实施例提供的显示方法)即可。还应当理解的是,在本申请其他一些实施例中,上述电子设备也可以不是便携式设备,而是具备触摸屏和算法运算能力(能够运行本申请实施例提供的显示方法)的台式计算机。The embodiments of the present application can be applied to any electronic device with a touch screen, and the electronic device can be a portable device, such as a mobile phone, a tablet computer, a wearable device (such as a smart watch) with a wireless communication function, and the like. The portable terminal has a touch screen and an algorithm computing capability (which can run the display method provided by the embodiment of the present application). Exemplary embodiments of portable devices include, but are not limited to, carry-on
Figure BDA0002159000930000031
Or portable devices with other operating systems. The above-mentioned portable device may also be other portable devices, as long as it has a touch screen and an algorithm computing capability (which can run the display method provided by the embodiment of the present application). It should also be understood that, in some other embodiments of the present application, the above electronic device may not be a portable device, but a desktop computer with a touch screen and algorithm computing capability (capable of running the display method provided by the embodiment of the present application).

以电子设备是手机为例,图1示出了手机100的结构示意图。Taking the electronic device as a mobile phone as an example, FIG. 1 shows a schematic structural diagram of a mobile phone 100 .

手机100可以包括处理器110,外部存储器接口120,内部存储器121,USB接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块151,无线通信模块152,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及SIM卡接口195等。其中传感器模块180可以包括陀螺仪传感器180A,加速度传感器180B,接近光传感器180G、指纹传感器180H,触摸传感器180K、转轴传感器180M(当然,手机100还可以包括其它传感器,比如温度传感器,压力传感器、距离传感器、磁传感器、环境光传感器、气压传感器、骨传导传感器等,图中未示出)。The mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 151, a wireless communication module 152, Audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, SIM card interface 195 and so on. The sensor module 180 may include a gyroscope sensor 180A, an acceleration sensor 180B, a proximity light sensor 180G, a fingerprint sensor 180H, a touch sensor 180K, and a rotating shaft sensor 180M (of course, the mobile phone 100 may also include other sensors, such as temperature sensors, pressure sensors, distance sensors, etc. sensor, magnetic sensor, ambient light sensor, air pressure sensor, bone conduction sensor, etc., not shown in the figure).

可以理解的是,本发明实施例示意的结构并不构成对手机100的具体限定。在本申请另一些实施例中,手机100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the mobile phone 100 . In other embodiments of the present application, the mobile phone 100 may include more or less components than shown, or some components may be combined, or some components may be separated, or different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(Neural-network Processing Unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是手机100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor ( image signal processor, ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and/or neural-network processing unit (NPU), etc. . Wherein, different processing units may be independent devices, or may be integrated in one or more processors. The controller may be the nerve center and command center of the mobile phone 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.

处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also 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 accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.

处理器110可以运行本申请实施例提供的显示方法,以便于用户对显示屏所显示的同一应用的不同界面的窗口大小进行调节,改善用户使用体验。当处理器110可以集成不同的器件,比如集成CPU和GPU时,CPU和GPU可以配合执行本申请实施例提供的触摸屏的显示方法,比如触摸屏的显示方法中部分算法由CPU执行,另一部分算法由GPU执行,以得到较快的处理效率。The processor 110 may execute the display method provided by the embodiment of the present application, so that the user can adjust the size of the windows of different interfaces of the same application displayed on the display screen, so as to improve the user experience. When the processor 110 can integrate different devices, such as integrating a CPU and a GPU, the CPU and the GPU can cooperate to execute the touch screen display method provided by the embodiments of the present application. For example, in the touch screen display method, some algorithms are executed by the CPU, and another part of the algorithms are executed by GPU execution for faster processing efficiency.

显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(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个显示屏194,N为大于1的正整数。Display screen 194 is used to display images, videos, and the like. Display screen 194 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, cell phone 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.

在本申请实施例中,显示屏194可以是一个一体的柔性显示屏,也可以采用两个刚性屏以及位于两个刚性屏的一个柔性屏组成的拼接显示屏。当处理器110运行本申请实施例提供的显示方法后,处理器110可以控制显示屏194上的同一应用的不同界面的窗口大小。In this embodiment of the present application, the display screen 194 may be an integrated flexible display screen, or a spliced display screen composed of two rigid screens and a flexible screen located on the two rigid screens. After the processor 110 executes the display method provided by the embodiment of the present application, the processor 110 may control the window sizes of different interfaces of the same application on the display screen 194 .

摄像头193(前置摄像头或者后置摄像头,或者一个摄像头既可作为前置摄像头,也可作为后置摄像头)用于捕获静态图像或视频。通常,摄像头193可以包括感光元件比如镜头组和图像传感器,其中,镜头组包括多个透镜(凸透镜或凹透镜),用于采集待拍摄物体反射的光信号,并将采集的光信号传递给图像传感器。图像传感器根据所述光信号生成待拍摄物体的原始图像。Camera 193 (front camera or rear camera, or one camera can be both front camera and rear camera) is used to capture still images or video. Generally, the camera 193 may include a photosensitive element such as a lens group and an image sensor, wherein the lens group includes a plurality of lenses (convex or concave) for collecting light signals reflected by the object to be photographed, and transmitting the collected light signals to the image sensor . The image sensor generates an original image of the object to be photographed according to the light signal.

内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行手机100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,应用程序(比如相机应用,微信应用等)的代码等。存储数据区可存储手机100使用过程中所创建的数据(比如相机应用采集的图像、视频等)等。Internal memory 121 may be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the mobile phone 100 by executing the instructions stored in the internal memory 121 . The internal memory 121 may include a storage program area and a storage data area. The storage program area may store operating system, code of application programs (such as camera application, WeChat application, etc.), and the like. The storage data area may store data created during the use of the mobile phone 100 (such as images, videos, etc. collected by the camera application) and the like.

内部存储器121还可以存储本申请实施例提供的显示区域调整算法的代码。当内部存储器121中存储的显示区域调整算法的代码被处理器110运行时,处理器110可以控制通知栏中的消息在显示屏194上的显示位置。The internal memory 121 may also store the codes of the display area adjustment algorithms provided by the embodiments of the present application. When the code of the display area adjustment algorithm stored in the internal memory 121 is executed by the processor 110 , the processor 110 can control the display position of the message in the notification bar on the display screen 194 .

此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。In addition, the internal memory 121 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.

当然,本申请实施例提供的显示区域调整算法的代码还可以存储在外部存储器中。这种情况下,处理器110可以通过外部存储器接口120运行存储在外部存储器中的显示区域调整算法的代码,处理器110可以控制显示屏194上的同一应用的不同界面的窗口大小。Certainly, the code of the display area adjustment algorithm provided by the embodiment of the present application may also be stored in an external memory. In this case, the processor 110 can run the code of the display area adjustment algorithm stored in the external memory through the external memory interface 120 , and the processor 110 can control the window size of different interfaces of the same application on the display screen 194 .

下面介绍传感器模块180的功能。The function of the sensor module 180 is described below.

陀螺仪传感器180A,可以用于确定手机100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180A确定手机100围绕三个轴(即,x,y和z轴)的角速度。即陀螺仪传感器180A可以用于检测手机100当前的运动状态,比如抖动还是静止。The gyro sensor 180A can be used to determine the movement posture of the mobile phone 100 . In some embodiments, the angular velocity of cell phone 100 about three axes (ie, x, y, and z axes) may be determined by gyro sensor 180A. That is, the gyro sensor 180A can be used to detect the current motion state of the mobile phone 100, such as shaking or stillness.

本申请实施例中陀螺仪传感器180A用于检测作用于显示屏194上的折叠或者展开操作。陀螺仪传感器180A可以将检测到的折叠操作或者展开操作作为事件上报给处理器110,以确定显示屏194的折叠状态或展开状态。In the embodiment of the present application, the gyro sensor 180A is used to detect the folding or unfolding operation acting on the display screen 194 . The gyroscope sensor 180A may report the detected folding operation or unfolding operation to the processor 110 as an event to determine the folding state or unfolding state of the display screen 194 .

加速度传感器180B可检测手机100在各个方向上(一般为三轴)加速度的大小。即陀螺仪传感器180A可以用于检测手机100当前的运动状态,比如抖动还是静止。本申请实施例中加速度传感器180B用于检测作用于显示屏194上的折叠或者展开操作。加速度传感器180B可以将检测到的折叠操作或者展开操作作为事件上报给处理器110,以确定显示屏194的折叠状态或展开状态。The acceleration sensor 180B can detect the magnitude of the acceleration of the mobile phone 100 in various directions (generally three axes). That is, the gyro sensor 180A can be used to detect the current motion state of the mobile phone 100, such as shaking or stillness. In the embodiment of the present application, the acceleration sensor 180B is used to detect the folding or unfolding operation acting on the display screen 194 . The acceleration sensor 180B may report the detected folding operation or unfolding operation to the processor 110 as an event to determine the folding state or unfolding state of the display screen 194 .

接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。手机通过发光二极管向外发射红外光。手机使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定手机附近有物体。当检测到不充分的反射光时,手机可以确定手机附近没有物体。接近光传感器180G可以设置在可折叠的显示屏194的第一屏上,接近光传感器180G根据红外信号的光程差来检测第一屏与第二屏的折叠角度或者展开角度的大小。Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes. The light emitting diodes may be infrared light emitting diodes. The mobile phone emits infrared light outward through light-emitting diodes. Phones use photodiodes to detect reflected infrared light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the phone. When insufficient reflected light is detected, the phone can determine that there are no objects near the phone. The proximity light sensor 180G may be disposed on the first screen of the foldable display screen 194, and the proximity light sensor 180G detects the size of the folding angle or the unfolding angle of the first screen and the second screen according to the optical path difference of the infrared signal.

陀螺仪传感器180A(或加速度传感器180B)可以将检测到的运动状态信息(比如角速度)发送给处理器110。处理器110基于运动状态信息确定当前是手持状态还是脚架状态(比如,角速度不为0时,说明手机100处于手持状态)。The gyro sensor 180A (or the acceleration sensor 180B) may send the detected motion state information (such as angular velocity) to the processor 110 . The processor 110 determines, based on the motion state information, whether the current state is the hand-held state or the tripod state (for example, when the angular velocity is not 0, it means that the mobile phone 100 is in the hand-held state).

指纹传感器180H用于采集指纹。手机100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The mobile phone 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.

触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于手机100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch panel". The touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”. The touch sensor 180K 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 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the mobile phone 100 , which is different from the position where the display screen 194 is located.

示例性的,手机100的显示屏194显示主界面,主界面中包括多个应用(比如相机应用、微信应用等)的图标。用户通过触摸传感器180K点击主界面中相机应用的图标,触发处理器110启动相机应用,打开摄像头193。显示屏194显示相机应用的界面,例如取景界面。在本申请实施例中,在显示屏194接收到作用于窗口调节控件的拖动时,处理器110可以控制显示屏194上的同一应用的不同界面的窗口大小。Exemplarily, the display screen 194 of the mobile phone 100 displays a main interface, and the main interface includes icons of multiple applications (such as a camera application, a WeChat application, etc.). The user clicks the icon of the camera application in the main interface through the touch sensor 180K, and triggers the processor 110 to start the camera application and turn on the camera 193 . Display screen 194 displays an interface of a camera application, such as a viewfinder interface. In this embodiment of the present application, when the display screen 194 receives a drag acting on the window adjustment control, the processor 110 may control the window sizes of different interfaces of the same application on the display screen 194 .

手机100的无线通信功能可以通过天线1,天线2,移动通信模块151,无线通信模块152,调制解调处理器以及基带处理器等实现。The wireless communication function of the mobile phone 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 151, the wireless communication module 152, the modulation and demodulation processor, the baseband processor, and the like.

天线1和天线2用于发射和接收电磁波信号。手机100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in handset 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed into a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.

移动通信模块151可以提供应用在手机100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块151可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(lownoise amplifier,LNA)等。移动通信模块151可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块151还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块151的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块151的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 151 can provide a wireless communication solution including 2G/3G/4G/5G, etc. applied on the mobile phone 100 . The mobile communication module 151 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like. The mobile communication module 151 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 151 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 151 may be provided in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 151 may be provided in the same device as at least part of the modules of the processor 110 .

调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块151或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and passed to the application processor. The application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 . In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 151 or other functional modules.

无线通信模块152可以提供应用在手机100上的包括无线局域网(wireless localarea networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequencymodulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块152可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块152经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块152还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 152 can provide applications on the mobile phone 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system ( global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 152 may be one or more devices integrating at least one communication processing module. The wireless communication module 152 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 152 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify the signal, and then convert it into electromagnetic waves for radiation through the antenna 2 .

另外,手机100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。手机100可以接收按键190输入,产生与手机100的用户设置以及功能控制有关的键信号输入。手机100可以利用马达191产生振动提示(比如来电振动提示)。手机100中的指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。手机100中的SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和手机100的接触和分离。In addition, the mobile phone 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, and an application processor. Such as music playback, recording, etc. The mobile phone 100 can receive the key 190 input and generate the key signal input related to the user setting and function control of the mobile phone 100 . The mobile phone 100 can use the motor 191 to generate vibration alerts (eg, vibration alerts for incoming calls). The indicator 192 in the mobile phone 100 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like. The SIM card interface 195 in the mobile phone 100 is used to connect the SIM card. The SIM card can be contacted and separated from the mobile phone 100 by being inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 .

应理解,在实际应用中,手机100可以包括比图1所示的更多或更少的部件,本申请实施例不作限定。It should be understood that, in practical applications, the mobile phone 100 may include more or less components than those shown in FIG. 1 , which are not limited in this embodiment of the present application.

图2是本申请实施例提供的电子设备的软件结构框图。分层架构可将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为三层,从上至下分别为应用程序层(简称应用层),应用程序框架层(简称框架层),以及内核层(也称为驱动层)。FIG. 2 is a block diagram of a software structure of an electronic device provided by an embodiment of the present application. The layered architecture can divide the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into three layers, which are an application layer (referred to as application layer), an application framework layer (referred to as framework layer), and a kernel layer (also referred to as driver layer) from top to bottom.

其中,应用层可以包括一系列应用程序包。如图2所示,应用层可以包括应用1和应用2等多个应用程序包。例如,应用程序包可以为相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息以及桌面启动(Launcher)等应用程序。Among them, the application layer may include a series of application packages. As shown in FIG. 2 , the application layer may include multiple application packages such as application 1 and application 2 . For example, the application package can be applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, and desktop launcher (Launcher).

框架层为应用程序层的应用程序提供应用编程接口(application programminginterface,API)和编程框架。应用程序框架层包括一些预先定义的函数。如图2所示,框架层可以包括窗口管理器(window manager service,WMS)和活动管理器(activity managerservice,AMS)等。可选的,框架层还可以包括内容提供器,视图系统,电话管理器,资源管理器,通知管理器等(附图未示出)。The framework layer provides an application programming interface (application programming interface, API) and a programming framework for the applications of the application layer. The application framework layer includes some predefined functions. As shown in FIG. 2 , the framework layer may include a window manager (window manager service, WMS), an activity manager (activity manager service, AMS), and the like. Optionally, the framework layer may further include a content provider, a view system, a phone manager, a resource manager, a notification manager, etc. (not shown in the drawings).

其中,窗口管理器WMS用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。活动管理器AMS用于负责管理Activity,负责系统中各组件的启动、切换、调度及应用程序的管理和调度等工作。Among them, the window manager WMS is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc. The activity manager AMS is used to manage activities, and is responsible for starting, switching, scheduling, and application management and scheduling of various components in the system.

内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动,输入/输出设备驱动(例如,键盘、触摸屏、耳机、扬声器、麦克风等)等。The kernel layer is the layer between hardware and software. The kernel layer at least includes display drivers, camera drivers, audio drivers, sensor drivers, input/output device drivers (eg, keyboard, touch screen, earphone, speaker, microphone, etc.).

其中,电子设备接收用户作用于显示屏上的输入操作(如分屏操作),内核层可以根据输入操作产生相应的输入事件,并向应用程序框架层上报该事件。由应用程序框架层的活动管理服务器AMS设置与该输入操作对应的窗口模式(如多窗口模式)以及窗口位置和大小等。应用程序框架层的窗口管理服务器WMS根据AMS的设置绘制窗口,然后将绘制的窗口数据发送给内核层的显示驱动,由显示驱动在显示屏的不同显示区域显示与之对应的应用界面。The electronic device receives an input operation (such as a split-screen operation) performed by the user on the display screen, and the kernel layer can generate a corresponding input event according to the input operation, and report the event to the application framework layer. The window mode (eg, multi-window mode), window position and size, etc. corresponding to the input operation are set by the activity management server AMS of the application framework layer. The window management server WMS of the application framework layer draws the window according to the settings of the AMS, and then sends the drawn window data to the display driver of the kernel layer, and the display driver displays the corresponding application interface in different display areas of the display screen.

其中,本申请实施例提供的显示方法可以基于google(谷歌)的自由窗口(freeform)特性和多窗口多任务基础架构实现。本申请实施例提供的显示方法可以参见下述图3。如图2所示,在本申请实施例中,活动管理器AMS可以包括Activity(活动)原生管理模块和Activity(活动)扩展模块。其中,Activity原生管理模块用于负责管理Activity,负责系统中各组件的启动、切换、调度及应用程序的管理和调度等工作。Activity扩展模块用于根据折叠屏所处的折叠状态或展开状态,设置窗口模式,以及窗口的属性。Wherein, the display method provided by the embodiment of the present application may be implemented based on the freeform feature of google (Google) and a multi-window and multi-task infrastructure. For the display method provided by the embodiment of the present application, reference may be made to the following FIG. 3 . As shown in FIG. 2 , in this embodiment of the present application, the activity manager AMS may include an Activity (activity) native management module and an Activity (activity) extension module. Among them, the Activity native management module is used to manage the Activity, and is responsible for the startup, switching, scheduling of each component in the system, and the management and scheduling of the application program. The Activity extension module is used to set the window mode and the properties of the window according to the folded or unfolded state of the foldable screen.

其中,窗口的属性可以包括Activity窗口的位置和大小,以及Activity窗口的可见属性(即Activity窗口的状态)。Activity窗口的位置是折叠屏显示该Activity窗口时,该Activity窗口在折叠屏的位置、Activity窗口的大小可以是应用启动config(配置)中的宽高等信息。Activity窗口的可见属性可以为true(是)或者false(否)。当Activity窗口的可见属性是true时,表示该Activity窗口对用户可见,即显示驱动会显示该Activity窗口的内容。当Activity窗口的Activity的可见属性是false时,表示该Activity窗口对用户不可见,即显示驱动不显示该Activity窗口的内容。The properties of the window may include the position and size of the Activity window, and the visible properties of the Activity window (ie, the state of the Activity window). The position of the activity window is when the folding screen displays the activity window, the position of the activity window on the folding screen, and the size of the activity window may be information such as width and height in the application startup config (configuration). The visible property of the Activity window can be true (yes) or false (no). When the visible property of the Activity window is true, it means that the Activity window is visible to the user, that is, the display driver will display the content of the Activity window. When the visible attribute of the Activity of the Activity window is false, it means that the Activity window is invisible to the user, that is, the display driver does not display the content of the Activity window.

示例性地,应用(如应用1)可调用启动Activity接口以启动对应的Activity。活动管理器AMS响应于应用的调用,可请求窗口管理器WMS绘制Activity对应的窗口,并调用显示驱动实现界面的显示。Exemplarily, an application (eg, application 1 ) can call the start Activity interface to start the corresponding Activity. In response to the invocation of the application, the activity manager AMS may request the window manager WMS to draw the window corresponding to the Activity, and invoke the display driver to display the interface.

可以理解,在电子设备显示应用界面的过程中,驱动层的输入/输出设备驱动可以检测到用户的拖动事件(onTouchEvent)。输入/输出设备驱动可以向框架层(即应用程序框架层)的窗口管理器WMS上报该拖动事件。窗口管理器WMS监听到该拖动事件后,窗口管理器WMS向活动管理器AMS发送display(显示区域)变化事件,即通过AIDL(android interfacedefinition language,接口定义语言)接口将拖动事件中的操作终点坐标从应用进程发送给安卓开放源代码项目(Android Open-Source Project,AOSP)进程的AMS,AMS再根据操作终点坐标调节两个窗口的宽度。活动管理器AMS设置窗口模式和窗口的属性,例如确定显示区域(display)大小。活动管理器AMS设置Activity窗口模式和属性后,可请求窗口管理器WMS重新绘制窗口,进而调用显示驱动显示所重新绘制的窗口内容,从而将应用的不同界面在新的不同显示区域展现给用户。It can be understood that, in the process of displaying the application interface on the electronic device, the input/output device driver of the driver layer can detect the user's drag event (onTouchEvent). The input/output device driver can report the drag event to the window manager WMS of the framework layer (ie, the application framework layer). After the window manager WMS listens to the drag event, the window manager WMS sends a display (display area) change event to the activity manager AMS, that is, the operation in the drag event is changed through the AIDL (android interface definition language, interface definition language) interface. The endpoint coordinates are sent from the application process to the AMS of the Android Open-Source Project (AOSP) process, and the AMS adjusts the width of the two windows according to the operation endpoint coordinates. The activity manager AMS sets the window mode and properties of the window, such as determining the display area (display) size. After the activity manager AMS sets the activity window mode and properties, it can request the window manager WMS to redraw the window, and then call the display driver to display the redrawn window content, so as to present different interfaces of the application to the user in new and different display areas.

目前,现有终端设备中(例如手机、平板设备等)通常都具有分屏功能,所谓分屏功能是将一个终端的物理屏幕划分成多个显示窗口进行显示,各个显示窗口可以分别显示不同的界面,从而方便用户使用。具体的,现有分屏模式下的窗口调节是通过相应的分屏应用或者System UI(系统界面)进程等方式实现的,但是,通过上述方式实现分屏的过程中,需要通过AIDL的跨进程通信机制来通知System Server(系统服务)进程以实现对窗口调节操作的处理,因此处理时延较长以及画面可能不够流畅。At present, existing terminal devices (such as mobile phones, tablet devices, etc.) usually have a split-screen function. The so-called split-screen function is to divide the physical screen of a terminal into multiple display windows for display, and each display window can display different interface for user convenience. Specifically, the window adjustment in the existing split-screen mode is realized through the corresponding split-screen application or the System UI (system interface) process, etc. However, in the process of realizing the split-screen through the above method, it is necessary to pass the AIDL cross-process The communication mechanism is used to notify the System Server (system service) process to realize the processing of the window adjustment operation, so the processing delay is long and the picture may not be smooth enough.

示例性地,图3所述的终端设备支持分屏功能,当用户对图3所示的终端设备中的图库应用31和微信应用32进行分屏显示时,首先需要启动该图库应用31的进程和微信应用32的进程,然后接收用户的分屏操作以实现确定两个窗口大小,实现分屏显示。若终端设备接收到用户对窗口调节控件33的移动操作,终端的图库应用31进程和微信应用32进程需要将该移动操作的坐标发送给System Server进程进行处理,由于该图库应用31的进程和微信应用32的进程与System Server进程本身不属于相同的进程,而进程间的通信需要通过相应的跨进程通信机制才能实现,因此需要调用相应的跨进程通信机制将该用户的移动操作(窗口调节控件被移动坐标)发送给System Server进程进行处理,以将该窗口调节控件33移动到该坐标指示的相应位置处,实现分屏窗口大小的调节。System Server进程对窗口大小调节之后,还需要触发System UI进程对各个窗口的界面进行重绘。因为System UI进程与System Server进程也属于不同的进程,因此也需要调用跨进程通信机制才能实现图库应用31的界面和微信应用32的界面重绘。Exemplarily, the terminal device shown in FIG. 3 supports the split-screen function. When the user performs split-screen display on the gallery application 31 and the WeChat application 32 in the terminal device shown in FIG. 3 , the process of the gallery application 31 needs to be started first. and the process of the WeChat application 32, and then receive the user's split-screen operation to determine the size of the two windows to achieve split-screen display. If the terminal device receives the user's moving operation on the window adjustment control 33, the terminal's gallery application 31 process and the WeChat application 32 process need to send the coordinates of the moving operation to the System Server process for processing. The process of application 32 does not belong to the same process as the System Server process itself, and the communication between processes needs to be realized through the corresponding cross-process communication mechanism, so it is necessary to call the corresponding cross-process communication mechanism to adjust the user's mobile operation (window adjustment control). The moved coordinates) are sent to the System Server process for processing, so as to move the window adjustment control 33 to the corresponding position indicated by the coordinates to realize the adjustment of the size of the split-screen window. After the System Server process adjusts the window size, it is also necessary to trigger the System UI process to redraw the interface of each window. Because the System UI process and the System Server process also belong to different processes, the cross-process communication mechanism also needs to be invoked to redraw the interface of the gallery application 31 and the interface of the WeChat application 32 .

显然,现有技术通过上述跨进程通信机制的调用会影响窗口调节的响应速度和流畅性。为此,参照图4A所示,在本申请实施例中,在多窗口模式下,AMS在渲染不同窗口之前,可以在显示屏的左侧Activity(活动)根布局的右边界插入窗口调节控件41,同理在右侧Activity根布局的左界面插入同样的窗口调节控件41。需要说明的是,窗口调节控件41也可以是虚拟控件,即用户不可见,或者在显示屏显示左右两个窗口的场景下,左右两个窗口的中间相连接的边界共有一个窗口调节控件41。本申请实施例对窗口调节控件41的具体表现形式并不做具体限定。Obviously, the invocation of the above-mentioned cross-process communication mechanism in the prior art will affect the response speed and fluency of window adjustment. To this end, referring to FIG. 4A , in the embodiment of the present application, in the multi-window mode, before rendering different windows, AMS may insert a window adjustment control 41 at the right border of the Activity root layout on the left side of the display screen , and similarly insert the same window adjustment control 41 into the left interface of the right Activity root layout. It should be noted that the window adjustment control 41 may also be a virtual control, that is, invisible to the user, or in a scenario where the display screen displays two left and right windows, there is one window adjustment control 41 at the border between the left and right windows. The embodiment of the present application does not specifically limit the specific expression form of the window adjustment control 41 .

如图4B所示,因该窗口调节控件41重载了拖动事件(onTouchEvent),所以在步骤401中,用户可以在显示屏上施加拖动操作;步骤402,内核层监听到该拖动事件,通过AIDL接口将拖动方向、操作起始坐标和操作终点坐标从应用进程发送给AOSP进程的AMS模块;步骤403,AMS模块再根据该操作终点坐标计算左右两侧窗口的宽度,设置Activity窗口模式和属性;步骤404,然后请求窗口管理器WMS根据设置的窗口属性重新绘制窗口。在整个窗口调节过程中,应用层的应用无需做适配开发,就可以实现窗口调节功能。As shown in FIG. 4B , because the window adjustment control 41 overloads the drag event (onTouchEvent), in step 401, the user can apply a drag operation on the display screen; in step 402, the kernel layer listens to the drag event , send the drag direction, operation start coordinates and operation end coordinates from the application process to the AMS module of the AOSP process through the AIDL interface; Step 403, the AMS module calculates the width of the left and right windows according to the operation end coordinates, and sets the Activity window Mode and properties; Step 404, then request the window manager WMS to redraw the window according to the set window properties. During the entire window adjustment process, the application layer application can realize the window adjustment function without any adaptation development.

基于上述窗口调节实现机制,本申请实施例提供一种显示方法,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。如图5所示,本申请实施例提供的显示方法可由电子设备执行。Based on the above window adjustment implementation mechanism, an embodiment of the present application provides a display method, and the technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms "first" and "second" are only used for description purposes, and should not be understood as indicating or implying relative importance or indicating the number of technical features indicated. . Thus, a feature defined as "first" or "second" may expressly or implicitly include one or more of that feature. In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more. As shown in FIG. 5 , the display method provided by the embodiment of the present application may be executed by an electronic device.

步骤501,电子设备中的处理器110接收用户的分屏操作。In step 501, the processor 110 in the electronic device receives a user's screen splitting operation.

其中,该分屏操作用于触发第一应用的不同界面同时显示在同一显示屏194上。该分屏操作可以是如图6所示的分屏手势或语音指令等。The split-screen operation is used to trigger different interfaces of the first application to be displayed on the same display screen 194 at the same time. The split-screen operation may be a split-screen gesture or a voice command as shown in FIG. 6 .

例如,图7A所示手机的待机界面700设有华为商城应用701,当手机检测到用户作用于华为商城应用701的点击操作时,显示如图7B所示的界面710。用户在界面710的搜索框中输入关键词“帽子”,当手机检测到用户作用于界面710的搜索控件711的操作时,显示如图7C所示的界面720。用户可以在界面720施加如图6所示的分屏手势。For example, the standby interface 700 of the mobile phone shown in FIG. 7A is provided with the Huawei Mall application 701. When the mobile phone detects the user's click operation on the Huawei Mall application 701, the interface 710 shown in FIG. 7B is displayed. The user enters the keyword "hat" in the search box of the interface 710, and when the mobile phone detects the user's operation on the search control 711 of the interface 710, the interface 720 as shown in FIG. 7C is displayed. The user may apply a split screen gesture on the interface 720 as shown in FIG. 6 .

步骤502,响应于所述分屏操作,处理器110控制电子设备的显示屏194的第一显示区域显示第一界面,控制所述显示屏的第二显示区域显示第二界面。Step 502, in response to the split screen operation, the processor 110 controls the first display area of the display screen 194 of the electronic device to display the first interface, and controls the second display area of the display screen to display the second interface.

其中,第二显示区域与第一显示区域可以部分重叠,或者完全不重叠;第一界面和第二界面均为第一应用的不同界面。Wherein, the second display area and the first display area may partially overlap, or may not overlap at all; the first interface and the second interface are both different interfaces of the first application.

示例性地,当手机检测到用户在图7C所示的界面720上施加的分屏手势时,电子设备显示如图7D所示的界面730。该界面730的第一显示区域731所显示的第一界面为图7B所示的界面710的内容,该界面730的第二显示区域732所显示的第二界面为图7C所示的界面720的内容。Exemplarily, when the mobile phone detects the split-screen gesture applied by the user on the interface 720 shown in FIG. 7C , the electronic device displays the interface 730 shown in FIG. 7D . The first interface displayed in the first display area 731 of the interface 730 is the content of the interface 710 shown in FIG. 7B , and the second interface displayed in the second display area 732 of the interface 730 is the content of the interface 720 shown in FIG. 7C . content.

步骤503,电子设备中的处理器110接收用户的第二操作。Step 503, the processor 110 in the electronic device receives the second operation of the user.

其中,第二操作用于触发调整第一显示区域和第二显示区域中至少一个显示区域的大小。第二操作可以是作用于窗口调节控件上的拖动操作,或者拖动手势等。The second operation is used to trigger adjustment of the size of at least one display area in the first display area and the second display area. The second operation may be a drag operation acting on the window adjustment control, or a drag gesture or the like.

步骤504,处理器110响应于第二操作,控制第一显示区域调整成第三显示区域,以及控制第二显示区域调整成第四显示区域,其中,第三显示区域显示第一界面,第四显示区域显示第二界面。Step 504, in response to the second operation, the processor 110 controls the first display area to be adjusted to a third display area, and controls the second display area to be adjusted to a fourth display area, wherein the third display area displays the first interface, and the fourth display area displays the first interface. The display area displays the second interface.

本申请实施例中,电子设备通过增加窗口调节控件以便于用户调节窗口大小,实现系统级调节窗口尺寸的效果,减小处理时延,增加界面显示的流畅性,同时也提高用户的使用体验。In the embodiment of the present application, the electronic device adds a window adjustment control to facilitate the user to adjust the window size, realizes the effect of adjusting the window size at the system level, reduces the processing delay, increases the fluency of the interface display, and also improves the user experience.

示例性地,当手机显示如图7D所示的界面730时,手机可以接收用户作用于窗口调节控制733的向右的拖动操作时,手机显示如图7E所示的界面740。该界面740的第四显示区域741所显示的第一界面为图7B所示的界面710的内容,该界面740的第三显示区域742所显示的第二界面为图7C所示的界面720的内容。Exemplarily, when the mobile phone displays the interface 730 shown in FIG. 7D , and the mobile phone can receive the user's rightward drag operation on the window adjustment control 733 , the mobile phone displays the interface 740 shown in FIG. 7E . The first interface displayed in the fourth display area 741 of the interface 740 is the content of the interface 710 shown in FIG. 7B , and the second interface displayed in the third display area 742 of the interface 740 is the content of the interface 720 shown in FIG. 7C . content.

在一种可能的实施例中,第三方应用还可以通过配置静态配置参数以配置哪些界面能够支持分屏显示,使得第三方应用在电子设备上运行时对分屏无感知。而当上述电子设备运行支持分屏显示的第三方应用时,可以响应于用户的分屏操作,操作系统上的AMS可以根据静态配置参数对第三方应用的界面进行分屏显示。In a possible embodiment, the third-party application can also configure which interfaces can support split-screen display by configuring static configuration parameters, so that the third-party application is unaware of split-screen when running on the electronic device. When the above electronic device runs a third-party application that supports split-screen display, in response to a user's split-screen operation, the AMS on the operating system can perform split-screen display on the interface of the third-party application according to static configuration parameters.

在一种可能的实施例中,拖动操作可以包括拖动方向、操作起始点坐标和操作终点坐标;电子设备根据拖动方向、操作起始点坐标和操作终点坐标,调整第一显示区域的宽度和第二显示区域的宽度之间的比值,根据该比值,确定第三显示区域和第四显示区域。示例性地,如图8A所示,第一显示区域的宽度为X1,第二显示区域的宽度为Y1,X1等于Y1,电子设备检测到用户作用于窗口调节控件L1上向右的拖动操作时,电子设备显示如图8B所示的界面,第三显示区域的宽度X2,第四显示区域的宽度为Y2,其中,X2大于Y2。更进一步地,当X2/Y2之间的比值大于设定阈值(例如19/1)时,电子设备可以控制第一显示区域中的第一界面全屏显示。进一步地,电子设备还可以将窗口调节控件隐藏或者移除。In a possible embodiment, the drag operation may include the drag direction, the coordinates of the start point of the operation and the coordinates of the end point of the operation; the electronic device adjusts the width of the first display area according to the direction of the drag, the coordinates of the start point of the operation and the coordinates of the end point of the operation The ratio between the width of the second display area and the second display area, and according to the ratio, the third display area and the fourth display area are determined. Exemplarily, as shown in FIG. 8A , the width of the first display area is X1, the width of the second display area is Y1, X1 is equal to Y1, and the electronic device detects that the user acts on the rightward drag operation on the window adjustment control L1. , the electronic device displays the interface shown in FIG. 8B , the width of the third display area is X2, and the width of the fourth display area is Y2, where X2 is greater than Y2. Further, when the ratio between X2/Y2 is greater than a set threshold (for example, 19/1), the electronic device can control the first interface in the first display area to be displayed in full screen. Further, the electronic device can also hide or remove the window adjustment control.

在一些实施例中,如图8C所示,第一显示区域的宽度为X1,第二显示区域的宽度为Y1,X1等于Y1,手机检测到用户作用于窗口调节控件L1上的向左拖动操作时,手机显示如图8D所示的界面,第三显示区域的宽度X3,第四显示区域的宽度为Y3,其中,X3小于Y3。更进一步地,当X3/Y3之间的比值小于设定阈值(例如1/19)时,电子设备可以控制第二显示区域中的第二界面全屏显示。进一步地,电子设备还可以将窗口调节控件隐藏或者移除。In some embodiments, as shown in FIG. 8C , the width of the first display area is X1, the width of the second display area is Y1, X1 is equal to Y1, and the mobile phone detects that the user acts on the leftward drag on the window adjustment control L1 During operation, the mobile phone displays the interface shown in FIG. 8D , the width of the third display area is X3, and the width of the fourth display area is Y3, where X3 is smaller than Y3. Further, when the ratio between X3/Y3 is smaller than a set threshold (for example, 1/19), the electronic device can control the second interface in the second display area to be displayed in full screen. Further, the electronic device can also hide or remove the window adjustment control.

在一些可能的实施例中,当电子设备的显示屏为折叠屏时,图8A中的第一显示区域和第二显示区域的分界线L1可以与折叠屏的折叠边重合。当折叠屏完全展开时,该实施例中,第一显示区域对应折叠屏的第一屏,第二显示区域对应折叠屏的第二屏。In some possible embodiments, when the display screen of the electronic device is a folding screen, the boundary line L1 between the first display area and the second display area in FIG. 8A may coincide with the folding edge of the folding screen. When the folding screen is fully unfolded, in this embodiment, the first display area corresponds to the first screen of the folding screen, and the second display area corresponds to the second screen of the folding screen.

本申请实施例中,第二界面可以是第一界面的上一层级的界面;或者,第二界面是第一界面的下一层级的界面,第二界面与第一界面不同。在该实施例中,手机可以采用以下方式确定第二界面。In this embodiment of the present application, the second interface may be an interface at an upper level of the first interface; or, the second interface is an interface at a lower level of the first interface, and the second interface is different from the first interface. In this embodiment, the mobile phone may determine the second interface in the following manner.

首先,电子设备的显示屏(包括折叠屏或非折叠屏)包括的多个显示区域可以是预先设置在电子设备中的,也可以是用户手动设置的。也就是说,上述第一显示区域和第二显示区域的尺寸(包括宽和高)可以预先配置在手机中。或者,上述第一显示区域和第二显示区域的宽和高可以由用户在手机中手动设置。在该实施例中,上述第一显示区域的尺寸和第二显示区域的尺寸可以相同,也可以不同。First, a plurality of display areas included in a display screen (including a foldable screen or a non-foldable screen) of the electronic device may be preset in the electronic device, or may be manually set by the user. That is to say, the dimensions (including width and height) of the first display area and the second display area can be pre-configured in the mobile phone. Alternatively, the width and height of the first display area and the second display area can be manually set by the user in the mobile phone. In this embodiment, the size of the first display area and the size of the second display area may be the same or different.

例如,如图9所示,电子设备的设置界面901上显示有显示区域的设置控件,用户可以自行设置第一显示区域的纵横比(即高宽比)和第二显示区域的纵横比,或者用户可以从设置界面上选择第一显示区域的纵横比和第二显示区域的纵横比。For example, as shown in FIG. 9 , the setting interface 901 of the electronic device displays setting controls for the display area, and the user can set the aspect ratio (ie, the aspect ratio) of the first display area and the aspect ratio of the second display area by themselves, or The user can select the aspect ratio of the first display area and the aspect ratio of the second display area from the setting interface.

又例如,如图10中的(a)所示,手机的设置界面1001上显示有横屏状态下的显示区域数量设置控件1002和显示区域的范围设置控件1003。在用户设置显示区域的数量为2,并点击控件1003之后,如图10中的(b)所示,手机可以提示用户设置第一显示区域的范围,用户可以在显示屏上拖动以设置第一显示区域的范围。在用户停止拖动后,如图10中的(c)所示,手机可以显示确定第一显示区域的范围的控件1004和取消设置的控件1005。在用户点击控件1004后,参见图10中的(d)和图10中的(e),手机可以确定用户设置的第一显示区域和第二显示区域的范围,其中,图10中的(d)中为第一显示区域和第二显示区域完全不重叠的示意,图10中的(e)中为第一显示区域和第二显示区域部分区域重叠的示意。可选地,用户还可以移动第一显示区域的位置。For another example, as shown in (a) of FIG. 10 , the setting interface 1001 of the mobile phone displays a display area quantity setting control 1002 and a display area range setting control 1003 in a landscape state. After the user sets the number of display areas to 2, and clicks the control 1003, as shown in (b) of FIG. 10, the mobile phone can prompt the user to set the range of the first display area, and the user can drag on the display screen to set the first display area. The extent of a display area. After the user stops dragging, as shown in (c) of FIG. 10 , the mobile phone can display a control 1004 for determining the range of the first display area and a control 1005 for canceling the setting. After the user clicks the control 1004, referring to FIG. 10(d) and FIG. 10(e), the mobile phone can determine the range of the first display area and the second display area set by the user, wherein (d) in FIG. 10 ) is a schematic diagram that the first display area and the second display area do not overlap at all, and (e) in FIG. 10 is a schematic diagram that the first display area and the second display area partially overlap. Optionally, the user can also move the position of the first display area.

再例如,在用户于设置界面1001上设置显示区域的数量为2,并点击控件1003之后,如图11所示,手机的设置界面上显示有分界线1101,用户可以拖动分界线1101以设定第一显示区域和第二显示区域的尺寸和纵横比。For another example, after the user sets the number of display areas to 2 on the setting interface 1001, and clicks the control 1003, as shown in FIG. 11, a dividing line 1101 is displayed on the setting interface of the mobile phone, and the user can drag the dividing line 1101 to set Determine the size and aspect ratio of the first display area and the second display area.

当然,除了上述介绍的设置方式外,用户还可以通过其他方式设置手机的显示屏包括的显示区域,本申请实施例不予限定。Of course, in addition to the above-mentioned setting methods, the user can also set the display area included in the display screen of the mobile phone by other methods, which are not limited in the embodiments of the present application.

在本申请的另一些实施例中,还公开了一种电子设备,如图12所示,该电子设备可以包括:触摸屏1201,其中,该触摸屏1201包括触控面板1206和显示屏1207;一个或多个处理器1202;存储器1203;一个或多个应用程序(未示出);以及一个或多个计算机程序1204、上述各器件可以通过一个或多个通信总线1205连接。其中该一个或多个计算机程序1204被存储在上述存储器1203中并被配置为被该一个或多个处理器1202执行,该一个或多个计算机程序1204包括指令,上述指令可以用于执行如图5相应实施例中的各个步骤。In other embodiments of the present application, an electronic device is also disclosed. As shown in FIG. 12, the electronic device may include: a touch screen 1201, wherein the touch screen 1201 includes a touch panel 1206 and a display screen 1207; one or A plurality of processors 1202; memory 1203; one or more application programs (not shown); Wherein the one or more computer programs 1204 are stored in the aforementioned memory 1203 and configured to be executed by the one or more processors 1202, the one or more computer programs 1204 include instructions that can be used to perform the execution as shown in FIG. 5 Each step in the corresponding embodiment.

本申请实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的显示方法。Embodiments of the present application further provide a computer storage medium, where computer instructions are stored in the computer storage medium, and when the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned relevant method steps to implement the display method in the above-mentioned embodiments.

本申请实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的显示方法。Embodiments of the present application further provide a computer program product, which, when the computer program product runs on a computer, causes the computer to execute the above-mentioned relevant steps, so as to realize the display method in the above-mentioned embodiment.

另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的触摸屏的显示方法。In addition, the embodiments of the present application also provide an apparatus, which may specifically be a chip, a component or a module, and the apparatus may include a connected processor and a memory; wherein, the memory is used for storing computer execution instructions, and when the apparatus is running, The processor can execute the computer execution instructions stored in the memory, so that the chip executes the display method of the touch screen in the above method embodiments.

其中,本申请实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。The electronic devices, computer storage media, computer program products or chips provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, for the beneficial effects that can be achieved, reference may be made to the corresponding methods provided above. The beneficial effects of the method are not repeated here.

通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。From the description of the above embodiments, those skilled in the art can understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated by different The function module is completed, that is, the internal structure of the device is divided into different function modules, so as to complete all or part of the functions described above.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其他的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其他的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of modules or 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 May be integrated into another device, or some features may be omitted, or not implemented. Another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.

作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。Units described as separate components may or may not be physically separated, and components shown as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. 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 processing 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.

集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, which are stored in a storage medium , including several instructions to make a device (which may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a removable hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk and other media that can store program codes.

以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above content is only a specific embodiment of the present application, but the protection scope of the present application is not limited to this. Covered within the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1.一种显示方法,应用于电子设备,其特征在于,所述方法包括:1. A display method, applied to an electronic device, wherein the method comprises: 接收用户的分屏操作;Receive user's split screen operation; 响应于所述分屏操作,控制所述电子设备的显示屏的第一显示区域显示第一界面,控制所述显示屏的第二显示区域显示第二界面;其中,所述第二显示区域与所述第一显示区域部分重叠或完全不重叠;所述第一界面和所述第二界面均为第一应用的不同界面;In response to the split screen operation, the first display area of the display screen of the electronic device is controlled to display the first interface, and the second display area of the display screen is controlled to display the second interface; wherein the second display area is the same as the The first display area partially overlaps or does not overlap at all; the first interface and the second interface are different interfaces of the first application; 接收用户的第二操作,所述第二操作用于触发调整所述第一显示区域和所述第二显示区域中至少一个显示区域的大小;receiving a second operation from the user, where the second operation is used to trigger adjustment of the size of at least one display area in the first display area and the second display area; 响应于所述第二操作,控制所述第一显示区域调整成第三显示区域,以及控制所述第二显示区域调整成第四显示区域;其中,所述第三显示区域显示所述第一界面,所述第四显示区域显示所述第二界面。In response to the second operation, the first display area is controlled to be adjusted to a third display area, and the second display area is controlled to be adjusted to a fourth display area; wherein the third display area displays the first display area interface, and the fourth display area displays the second interface. 2.根据权利要求1所述的方法,其特征在于,所述第一界面的右边边界和所述第二界面的左边边界设有窗口调节控件;所述第二操作为作用于所述窗口调节控件的拖动操作,所述拖动操作包括拖动方向、操作起始点坐标和操作终点坐标;2. The method according to claim 1, wherein a window adjustment control is provided on the right border of the first interface and the left border of the second interface; the second operation is to act on the window adjustment The drag operation of the control, the drag operation includes the drag direction, the coordinates of the start point of the operation and the coordinates of the end point of the operation; 控制所述第一显示区域调整成第三显示区域,以及所述第二显示区域调整成第四显示区域之前,还包括:Before controlling the first display area to be adjusted to the third display area and the second display area to be adjusted to the fourth display area, the method further includes: 根据所述拖动方向、所述操作起始点坐标和所述操作终点坐标,调整所述第一显示区域的宽度和所述第二显示区域的宽度之间的比值;adjusting the ratio between the width of the first display area and the width of the second display area according to the drag direction, the coordinates of the operation start point and the coordinates of the operation end point; 根据所述比值,确定所述第三显示区域和第四显示区域。According to the ratio, the third display area and the fourth display area are determined. 3.根据权利要求2所述的方法,其特征在于,还包括:3. The method of claim 2, further comprising: 当所述第一显示区域的宽度和所述第二显示区域的宽度之间的比值小于第一阈值时,控制所述第二界面全屏显示;When the ratio between the width of the first display area and the width of the second display area is less than a first threshold, controlling the second interface to be displayed in full screen; 或者,当所述第一显示区域的宽度和所述第二显示区域的宽度之间的比值大于第二阈值时,控制所述第一界面全屏显示;Or, when the ratio between the width of the first display area and the width of the second display area is greater than a second threshold, controlling the first interface to display in full screen; 其中,所述第一阈值远小于所述第二阈值。Wherein, the first threshold is much smaller than the second threshold. 4.根据权利要求1至3任一项所述的方法,其特征在于,所述第二界面是所述第一界面的上一层级的界面;或者,所述第二界面是所述第一界面的下一层级的界面。4. The method according to any one of claims 1 to 3, wherein the second interface is an interface at an upper level of the first interface; or, the second interface is the first interface The interface at the next level of the interface. 5.根据权利要求1至3任一项所述的方法,其特征在于,所述第一显示区域和所述第二显示区域预先配置在所述电子设备中;或者,所述第一显示区域和所述第二显示区域由用户在所述电子设备中设置;5. The method according to any one of claims 1 to 3, wherein the first display area and the second display area are preconfigured in the electronic device; or, the first display area and the second display area is set by the user in the electronic device; 或者,当所述电子设备的显示屏为折叠屏时,所述第一显示区域是第一屏对应的显示区域,所述第二显示区域是第二屏对应的显示区域,其中,所述折叠屏可被折叠形成至少两个屏,所述至少两个屏包括所述第一屏和所述第二屏。Or, when the display screen of the electronic device is a folding screen, the first display area is a display area corresponding to the first screen, and the second display area is a display area corresponding to the second screen, wherein the folding The screen may be folded to form at least two screens including the first screen and the second screen. 6.一种电子设备,其特征在于,包括显示屏、处理器和存储器;6. An electronic device, comprising a display screen, a processor and a memory; 所述存储器用于存储一个或多个计算机程序;the memory for storing one or more computer programs; 当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述电子设备执行:When executed by the processor, one or more computer programs stored in the memory cause the electronic device to execute: 响应于所述分屏操作,控制所述显示屏的第一显示区域显示第一界面,控制所述显示屏的第二显示区域显示第二界面;其中,所述第二显示区域与所述第一显示区域部分重叠或完全不重叠;所述第一界面和所述第二界面均为第一应用的不同界面;In response to the split-screen operation, the first display area of the display screen is controlled to display the first interface, and the second display area of the display screen is controlled to display the second interface; wherein the second display area is connected to the first interface. A display area partially overlaps or does not overlap at all; the first interface and the second interface are different interfaces of the first application; 接收用户的第二操作,所述第二操作用于触发调整所述第一显示区域和所述第二显示区域中至少一个显示区域的大小;receiving a second operation from the user, where the second operation is used to trigger adjustment of the size of at least one display area in the first display area and the second display area; 响应于所述第二操作,控制所述第一显示区域调整成第三显示区域,以及控制所述第二显示区域调整成第四显示区域;其中,所述第三显示区域显示所述第一界面,所述第四显示区域显示所述第二界面。In response to the second operation, the first display area is controlled to be adjusted to a third display area, and the second display area is controlled to be adjusted to a fourth display area; wherein the third display area displays the first display area interface, and the fourth display area displays the second interface. 7.根据权利要求6所述的电子设备,其特征在于,所述第一界面的边界和所述第二界面的边界设有窗口调节控件;所述第二操作为作用于所述窗口调节控件的拖动操作,所述拖动操作包括拖动方向、操作起始点坐标和操作终点坐标;7 . The electronic device according to claim 6 , wherein a window adjustment control is provided on the boundary of the first interface and the boundary of the second interface; and the second operation is to act on the window adjustment control. 8 . The drag operation includes the drag direction, the coordinates of the start point of the operation and the coordinates of the end point of the operation; 当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述电子设备还执行:When executed by the processor, one or more computer programs stored in the memory cause the electronic device to also execute: 在控制所述第一显示区域调整成第三显示区域,以及所述第二显示区域调整成第四显示区域之前,根据所述拖动方向、所述操作起始点坐标和所述操作终点坐标,调整所述第一显示区域的宽度和所述第二显示区域的宽度之间的比值;Before controlling the first display area to be adjusted to the third display area and the second display area to be adjusted to the fourth display area, according to the drag direction, the coordinates of the operation start point and the coordinates of the operation end point, adjusting the ratio between the width of the first display area and the width of the second display area; 根据所述比值,确定所述第三显示区域和第四显示区域。According to the ratio, the third display area and the fourth display area are determined. 8.根据权利要求7所述的电子设备,其特征在于,当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述电子设备还执行:8. The electronic device according to claim 7, wherein when one or more computer programs stored in the memory are executed by the processor, the electronic device is caused to further execute: 当所述第一显示区域的宽度和所述第二显示区域的宽度之间的比值小于第一阈值时,控制所述第二界面全屏显示;When the ratio between the width of the first display area and the width of the second display area is less than a first threshold, controlling the second interface to display in full screen; 或者,当所述第一显示区域的宽度和所述第二显示区域的宽度之间的比值大于第二阈值时,控制所述第一界面全屏显示;Or, when the ratio between the width of the first display area and the width of the second display area is greater than a second threshold, controlling the first interface to display in full screen; 其中,所述第一阈值远小于所述第二阈值。Wherein, the first threshold is much smaller than the second threshold. 9.根据权利要求6至8任一项所述的电子设备,其特征在于,所述第二界面是所述第一界面的上一层级的界面;或者,所述第二界面是所述第一界面的下一层级的界面。9 . The electronic device according to claim 6 , wherein the second interface is an interface at an upper level of the first interface; or, the second interface is the first interface. 10 . The interface at the next level of an interface. 10.根据权利要求6至8任一项所述的电子设备,其特征在于,所述第一显示区域和所述第二显示区域预先配置在所述电子设备中;或者,所述第一显示区域和所述第二显示区域由用户在所述电子设备中设置;10. The electronic device according to any one of claims 6 to 8, wherein the first display area and the second display area are preconfigured in the electronic device; or, the first display area the area and the second display area are set by the user in the electronic device; 或者,当所述电子设备的显示屏为折叠屏时,所述第一显示区域是第一屏对应的显示区域,所述第二显示区域是第二屏对应的显示区域,其中,所述折叠屏可被折叠形成至少两个屏,所述至少两个屏包括所述第一屏和所述第二屏。Or, when the display screen of the electronic device is a folding screen, the first display area is a display area corresponding to the first screen, and the second display area is a display area corresponding to the second screen, wherein the folding The screen may be folded to form at least two screens including the first screen and the second screen. 11.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括计算机程序,当计算机程序在电子设备上运行时,使得所述电子设备执行如权利要求1至5任一项所述的显示方法。11. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a computer program, which, when the computer program is run on an electronic device, causes the electronic device to perform any one of claims 1 to 5 the display method. 12.一种芯片,其特征在于,所述芯片与存储器耦合,用于执行所述存储器中存储的计算机程序,以执行如权利要求1至5任一项所述的显示方法。12 . A chip, characterized in that, the chip is coupled with a memory for executing a computer program stored in the memory, so as to execute the display method according to any one of claims 1 to 5 .
CN201910726163.0A 2019-08-07 2019-08-07 Display method and electronic equipment Active CN110661917B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202210347479.0A CN114840127A (en) 2019-08-07 2019-08-07 Display method and electronic equipment
CN201910726163.0A CN110661917B (en) 2019-08-07 2019-08-07 Display method and electronic equipment
PCT/CN2020/103877 WO2021023021A1 (en) 2019-08-07 2020-07-23 Display method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910726163.0A CN110661917B (en) 2019-08-07 2019-08-07 Display method and electronic equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202210347479.0A Division CN114840127A (en) 2019-08-07 2019-08-07 Display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110661917A true CN110661917A (en) 2020-01-07
CN110661917B CN110661917B (en) 2022-04-12

Family

ID=69036443

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910726163.0A Active CN110661917B (en) 2019-08-07 2019-08-07 Display method and electronic equipment
CN202210347479.0A Pending CN114840127A (en) 2019-08-07 2019-08-07 Display method and electronic equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202210347479.0A Pending CN114840127A (en) 2019-08-07 2019-08-07 Display method and electronic equipment

Country Status (2)

Country Link
CN (2) CN110661917B (en)
WO (1) WO2021023021A1 (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274564A (en) * 2020-01-14 2020-06-12 青岛海信移动通信技术股份有限公司 Communication terminal and application unlocking method in split screen mode
WO2021023021A1 (en) * 2019-08-07 2021-02-11 华为技术有限公司 Display method and electronic device
CN112764619A (en) * 2021-01-22 2021-05-07 联想(北京)有限公司 Window control method and electronic equipment
CN112835674A (en) * 2021-03-11 2021-05-25 田继伟 Multi-window display control method, system and storage medium thereof
CN113473013A (en) * 2021-06-30 2021-10-01 展讯通信(天津)有限公司 Display method and device for beautifying effect of image and terminal equipment
CN113805750A (en) * 2021-09-23 2021-12-17 闻泰通讯股份有限公司 Application program display method and device, mobile device and storage medium
CN114020226A (en) * 2021-10-26 2022-02-08 统信软件技术有限公司 Split screen processing method, computing device and readable storage medium
CN114281439A (en) * 2020-09-18 2022-04-05 华为技术有限公司 Screen splitting method and device and electronic equipment
CN114554299A (en) * 2022-01-20 2022-05-27 海信视像科技股份有限公司 Display device and split-screen display method
CN114564101A (en) * 2020-06-19 2022-05-31 华为技术有限公司 Three-dimensional interface control method and terminal
CN114968144A (en) * 2021-02-27 2022-08-30 华为技术有限公司 A method, electronic device and system for mosaic display
CN114968146A (en) * 2021-02-27 2022-08-30 华为技术有限公司 A method, electronic device and system for mosaic display
WO2022252786A1 (en) * 2021-05-31 2022-12-08 华为技术有限公司 Window split-screen display method and electronic device
CN115562771A (en) * 2022-01-18 2023-01-03 荣耀终端有限公司 Application window management method, electronic device and computer readable storage medium
CN116048317A (en) * 2023-01-28 2023-05-02 荣耀终端有限公司 A display method and device
CN116048373A (en) * 2022-06-24 2023-05-02 荣耀终端有限公司 Display method of suspension ball control, electronic equipment and storage medium
CN116225287A (en) * 2021-12-03 2023-06-06 荣耀终端有限公司 Display method of application interface and electronic equipment
WO2023226434A1 (en) * 2022-05-23 2023-11-30 Oppo广东移动通信有限公司 Interface display method and apparatus, and device, storage medium and program product
WO2024007966A1 (en) * 2022-07-05 2024-01-11 华为技术有限公司 Multi-window display method and device
WO2024027504A1 (en) * 2022-07-30 2024-02-08 华为技术有限公司 Application display method and electronic device

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113722028B (en) * 2021-05-28 2022-10-28 荣耀终端有限公司 Dynamic card display method and device
CN114637570B (en) * 2022-03-25 2024-07-19 京东方科技集团股份有限公司 Boundary adjustment method and device for display interface, storage medium and electronic equipment
CN114866641B (en) * 2022-07-07 2022-11-11 荣耀终端有限公司 Icon processing method, terminal equipment and storage medium
CN115268816A (en) * 2022-08-17 2022-11-01 维沃移动通信有限公司 Split-screen control method, device, electronic device and readable storage medium
CN117931328A (en) * 2022-10-14 2024-04-26 Oppo广东移动通信有限公司 Interface display method, device, terminal equipment and storage medium
CN117707403B (en) * 2023-07-19 2024-09-24 荣耀终端有限公司 Display method and related device
CN119718498A (en) * 2023-09-19 2025-03-28 荣耀终端股份有限公司 Interface display method, electronic device and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945115A (en) * 2012-10-18 2013-02-27 东莞宇龙通信科技有限公司 Terminal and terminal control method
CN104793915A (en) * 2015-04-30 2015-07-22 魅族科技(中国)有限公司 Method and terminal for sub-screen display
CN105426097A (en) * 2015-10-30 2016-03-23 努比亚技术有限公司 Real time adjustment method for split screen size and split screen apparatus
CN106062691A (en) * 2014-02-05 2016-10-26 三星电子株式会社 Apparatus and method of displaying windows
CN106101423A (en) * 2016-06-28 2016-11-09 努比亚技术有限公司 Split screen area size adjusting apparatus and method
CN106126065A (en) * 2016-06-29 2016-11-16 努比亚技术有限公司 A kind of mobile terminal and double screen method for information display thereof
CN106502560A (en) * 2016-10-11 2017-03-15 北京小米移动软件有限公司 Display control method and device
CN106959796A (en) * 2017-03-22 2017-07-18 广东小天才科技有限公司 Mobile terminal screen display method and device
KR20170114477A (en) * 2016-04-05 2017-10-16 안재성 Mobile communication terminal and a call allocation service system using that and a method therof
CN107450872A (en) * 2017-06-26 2017-12-08 努比亚技术有限公司 A kind of split screen adjusting method, terminal and computer-readable recording medium
CN108920064A (en) * 2018-07-10 2018-11-30 Oppo广东移动通信有限公司 Split screen window adjusting method and device, storage medium and electronic equipment
CN109067981A (en) * 2018-07-11 2018-12-21 Oppo广东移动通信有限公司 Split screen application switching method and device, storage medium and electronic equipment
CN109062466A (en) * 2018-07-03 2018-12-21 Oppo广东移动通信有限公司 Split screen window adjusting method and device, storage medium and electronic equipment
CN109445572A (en) * 2018-09-10 2019-03-08 华为技术有限公司 The method, graphical user interface and terminal of wicket are quickly recalled in full screen display video

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102213212B1 (en) * 2014-01-02 2021-02-08 삼성전자주식회사 Controlling Method For Multi-Window And Electronic Device supporting the same
CN105224276A (en) * 2015-10-29 2016-01-06 维沃移动通信有限公司 A kind of multi-screen display method and electronic equipment
CN106708367A (en) * 2016-12-30 2017-05-24 维沃移动通信有限公司 Display method of conversation interface and mobile terminal
CN109032547A (en) * 2018-07-10 2018-12-18 Oppo广东移动通信有限公司 Split screen processing method and device, storage medium and electronic equipment
CN109271121B (en) * 2018-08-31 2021-11-23 维沃移动通信有限公司 Application display method and mobile terminal
CN109917956B (en) * 2019-02-22 2021-08-03 华为技术有限公司 A method and electronic device for controlling screen display
CN110661917B (en) * 2019-08-07 2022-04-12 华为技术有限公司 Display method and electronic equipment

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945115A (en) * 2012-10-18 2013-02-27 东莞宇龙通信科技有限公司 Terminal and terminal control method
CN106062691A (en) * 2014-02-05 2016-10-26 三星电子株式会社 Apparatus and method of displaying windows
CN104793915A (en) * 2015-04-30 2015-07-22 魅族科技(中国)有限公司 Method and terminal for sub-screen display
CN105426097A (en) * 2015-10-30 2016-03-23 努比亚技术有限公司 Real time adjustment method for split screen size and split screen apparatus
KR20170114477A (en) * 2016-04-05 2017-10-16 안재성 Mobile communication terminal and a call allocation service system using that and a method therof
CN106101423A (en) * 2016-06-28 2016-11-09 努比亚技术有限公司 Split screen area size adjusting apparatus and method
CN106126065A (en) * 2016-06-29 2016-11-16 努比亚技术有限公司 A kind of mobile terminal and double screen method for information display thereof
CN106502560A (en) * 2016-10-11 2017-03-15 北京小米移动软件有限公司 Display control method and device
CN106959796A (en) * 2017-03-22 2017-07-18 广东小天才科技有限公司 Mobile terminal screen display method and device
CN107450872A (en) * 2017-06-26 2017-12-08 努比亚技术有限公司 A kind of split screen adjusting method, terminal and computer-readable recording medium
CN109062466A (en) * 2018-07-03 2018-12-21 Oppo广东移动通信有限公司 Split screen window adjusting method and device, storage medium and electronic equipment
CN108920064A (en) * 2018-07-10 2018-11-30 Oppo广东移动通信有限公司 Split screen window adjusting method and device, storage medium and electronic equipment
CN109067981A (en) * 2018-07-11 2018-12-21 Oppo广东移动通信有限公司 Split screen application switching method and device, storage medium and electronic equipment
CN109445572A (en) * 2018-09-10 2019-03-08 华为技术有限公司 The method, graphical user interface and terminal of wicket are quickly recalled in full screen display video

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021023021A1 (en) * 2019-08-07 2021-02-11 华为技术有限公司 Display method and electronic device
CN111274564A (en) * 2020-01-14 2020-06-12 青岛海信移动通信技术股份有限公司 Communication terminal and application unlocking method in split screen mode
CN114564101A (en) * 2020-06-19 2022-05-31 华为技术有限公司 Three-dimensional interface control method and terminal
CN114281439A (en) * 2020-09-18 2022-04-05 华为技术有限公司 Screen splitting method and device and electronic equipment
CN112764619A (en) * 2021-01-22 2021-05-07 联想(北京)有限公司 Window control method and electronic equipment
CN112764619B (en) * 2021-01-22 2023-03-21 联想(北京)有限公司 Window control method and electronic equipment
CN114968146A (en) * 2021-02-27 2022-08-30 华为技术有限公司 A method, electronic device and system for mosaic display
CN114968144A (en) * 2021-02-27 2022-08-30 华为技术有限公司 A method, electronic device and system for mosaic display
CN112835674B (en) * 2021-03-11 2022-02-25 郑州千百视光电科技股份有限公司 Multi-window display control method, system and storage medium thereof
CN112835674A (en) * 2021-03-11 2021-05-25 田继伟 Multi-window display control method, system and storage medium thereof
WO2022252786A1 (en) * 2021-05-31 2022-12-08 华为技术有限公司 Window split-screen display method and electronic device
CN113473013A (en) * 2021-06-30 2021-10-01 展讯通信(天津)有限公司 Display method and device for beautifying effect of image and terminal equipment
CN113805750A (en) * 2021-09-23 2021-12-17 闻泰通讯股份有限公司 Application program display method and device, mobile device and storage medium
CN114020226A (en) * 2021-10-26 2022-02-08 统信软件技术有限公司 Split screen processing method, computing device and readable storage medium
CN116225287B (en) * 2021-12-03 2025-02-18 荣耀终端有限公司 Display method of application interface and electronic equipment
CN116225287A (en) * 2021-12-03 2023-06-06 荣耀终端有限公司 Display method of application interface and electronic equipment
US12229387B2 (en) 2021-12-03 2025-02-18 Honor Device Co., Ltd. Application interface display method and electronic device
WO2023098182A1 (en) * 2021-12-03 2023-06-08 荣耀终端有限公司 Application interface display method and electronic device
CN115562771A (en) * 2022-01-18 2023-01-03 荣耀终端有限公司 Application window management method, electronic device and computer readable storage medium
CN115562771B (en) * 2022-01-18 2023-11-24 荣耀终端有限公司 Application window management method, electronic device and computer-readable storage medium
CN114554299A (en) * 2022-01-20 2022-05-27 海信视像科技股份有限公司 Display device and split-screen display method
WO2023226434A1 (en) * 2022-05-23 2023-11-30 Oppo广东移动通信有限公司 Interface display method and apparatus, and device, storage medium and program product
CN116048373A (en) * 2022-06-24 2023-05-02 荣耀终端有限公司 Display method of suspension ball control, electronic equipment and storage medium
CN116048373B (en) * 2022-06-24 2023-09-22 荣耀终端有限公司 Display method of suspension ball control, electronic equipment and storage medium
WO2024007966A1 (en) * 2022-07-05 2024-01-11 华为技术有限公司 Multi-window display method and device
WO2024027504A1 (en) * 2022-07-30 2024-02-08 华为技术有限公司 Application display method and electronic device
CN116048317B (en) * 2023-01-28 2023-08-22 荣耀终端有限公司 Display method and device
CN116048317A (en) * 2023-01-28 2023-05-02 荣耀终端有限公司 A display method and device

Also Published As

Publication number Publication date
WO2021023021A1 (en) 2021-02-11
CN110661917B (en) 2022-04-12
CN114840127A (en) 2022-08-02

Similar Documents

Publication Publication Date Title
CN110661917B (en) Display method and electronic equipment
JP7584526B2 (en) INTERFACE LAYOUT METHOD, APPARATUS, AND SYSTEM
WO2022100239A1 (en) Device cooperation method, apparatus and system, electronic device and storage medium
JP7325554B2 (en) Touch screen display method and electronic device
CN109871147B (en) A touch screen response method and electronic device
CN110554816B (en) Interface generation method and device
CN110347305A (en) A VR multi-screen display method and electronic device
WO2021063097A1 (en) Display method and electronic equipment
CN110476189B (en) Method and device for providing augmented reality function in electronic device
WO2021013158A1 (en) Display method and related apparatus
KR102689503B1 (en) Electronic device and displaying method thereof
WO2021063074A1 (en) Method for split-screen display and electronic apparatus
KR20210068097A (en) Method for controlling display of system navigation bar, graphical user interface and electronic device
CN111611031A (en) Graphic drawing method and electronic device
CN110209444A (en) A kind of method for rendering graph and electronic equipment
WO2022057512A1 (en) Split-screen method and apparatus, and electronic device
WO2022127661A1 (en) Application sharing method, and electronic device and storage medium
WO2022052662A1 (en) Display method and electronic device
WO2020228735A1 (en) Method for displaying application, and electronic device
CN114615362B (en) Camera control method, device and storage medium
WO2022105793A1 (en) Image processing method and device
CN115617117A (en) Button control method of electronic equipment and electronic equipment
WO2024193666A1 (en) Display method for electronic device, and electronic device and storage medium
WO2024140757A1 (en) Cross-device screen splitting method and related apparatus
CN112306314B (en) Interface 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