Movatterモバイル変換


[0]ホーム

URL:


CN107728901B - Interface display method and device and terminal - Google Patents

Interface display method and device and terminal
Download PDF

Info

Publication number
CN107728901B
CN107728901BCN201711000715.7ACN201711000715ACN107728901BCN 107728901 BCN107728901 BCN 107728901BCN 201711000715 ACN201711000715 ACN 201711000715ACN 107728901 BCN107728901 BCN 107728901B
Authority
CN
China
Prior art keywords
display
screen
display area
terminal
displaying
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711000715.7A
Other languages
Chinese (zh)
Other versions
CN107728901A (en
Inventor
宋方
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711000715.7ApriorityCriticalpatent/CN107728901B/en
Publication of CN107728901ApublicationCriticalpatent/CN107728901A/en
Application grantedgrantedCritical
Publication of CN107728901BpublicationCriticalpatent/CN107728901B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The embodiment of the application discloses an interface display method, an interface display device and a terminal, which belong to the field of human-computer interaction, and the method comprises the following steps: when the terminal posture of the terminal changes, displaying at least one display control on the folding display screen, wherein the at least one display control comprises at least one of a full-screen display control, a split-screen display control, a single-screen display control and a keyboard display control; receiving a selection signal of at least one display control; and displaying the user interface on the folding display screen according to the display mode indicated by the selected display control. Compared with the method that the default display mode is adopted by the terminal to display the user interface in the folding display screen, in the embodiment, the terminal can provide a plurality of appropriate display modes for the user to select according to the change situation of the posture of the terminal, so that the display modes of the folding display screen meet the user expectation, and the effect of enriching the display modes of the folding display screen is achieved.

Description

Translated fromChinese
界面显示方法、装置及终端Interface display method, device and terminal

技术领域technical field

本申请实施例涉及人机交互领域,特别涉及一种界面显示方法、装置及终端。The embodiments of the present application relate to the field of human-computer interaction, and in particular, to an interface display method, device, and terminal.

背景技术Background technique

触摸显示屏是终端上用于显示用户界面(User Interface,UI)的部分,柔性触摸显示屏可以实现成为折叠显示屏。The touch display screen is a part used to display a user interface (User Interface, UI) on the terminal, and the flexible touch display screen can be implemented as a foldable display screen.

在相关技术中,具有折叠显示屏的终端可以处于折叠状态或展开状态。当处于折叠状态时,该折叠显示屏可以向外对折成U形;当处于展开状态时,该折叠显示屏可以展开为平面或呈一定角度的V形。在折叠状态和展开状态下,折叠显示屏均采用默认的显示方式显示用户界面。In the related art, a terminal with a folding display screen may be in a folded state or an unfolded state. When in a folded state, the folded display screen can be folded outward into a U-shape; when in an unfolded state, the folded display screen can be unfolded into a plane or a V-shape at a certain angle. In both the folded state and the unfolded state, the foldable display screen adopts the default display mode to display the user interface.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供了一种界面显示方法、装置及终端,可以用于解决终端在折叠状态和展开状态时,采用默认显示方式在折叠显示屏中显示用户界面,显示方式单一的问题。所述技术方案如下:Embodiments of the present application provide an interface display method, device, and terminal, which can be used to solve the problem that the terminal displays a user interface in a folded display screen in a default display mode when the terminal is in a folded state and an unfolded state, and the display mode is single. The technical solution is as follows:

第一方面,提供了一种界面显示方法,用于具有折叠显示屏的终端,所述方法包括:In a first aspect, an interface display method is provided for a terminal with a foldable display screen, and the method includes:

当所述终端的终端姿态发生变化时,在所述折叠显示屏上显示至少一个显示控件,所述至少一个显示控件包括全屏显示控件、分屏显示控件、单屏显示控件和键盘显示控件中的至少一种;When the terminal posture of the terminal changes, at least one display control is displayed on the folding display screen, and the at least one display control includes a full-screen display control, a split-screen display control, a single-screen display control, and a keyboard display control. at least one;

接收对所述至少一个显示控件的选择信号;receiving a selection signal for the at least one display control;

根据选中的显示控件所指示的显示方式,在所述折叠显示屏上显示用户界面。A user interface is displayed on the folding display screen according to the display mode indicated by the selected display control.

第二方面,提供了一种界面显示装置,用于具有折叠显示屏的终端,所述装置包括:In a second aspect, an interface display device is provided for a terminal with a folding display screen, the device comprising:

控件显示模块,用于当所述终端的终端姿态发生变化时,在所述折叠显示屏上显示至少一个显示控件,所述至少一个显示控件包括全屏显示控件、分屏显示控件、单屏显示控件和键盘显示控件中的至少一种;A control display module, configured to display at least one display control on the folding display screen when the terminal posture of the terminal changes, the at least one display control includes a full-screen display control, a split-screen display control, and a single-screen display control and at least one of the keyboard display controls;

接收模块,用于接收对所述至少一个显示控件的选择信号;a receiving module, configured to receive a selection signal for the at least one display control;

界面显示模块,用于根据选中的显示控件所指示的显示方式,在所述折叠显示屏上显示用户界面。The interface display module is used for displaying the user interface on the folding display screen according to the display mode indicated by the selected display control.

第三方面,提供了一种终端,所述包括处理器和存储器,所述存储器中存储有至少一条指令,所述指令由所述处理器加载并执行以实现如第一方面所述的界面显示方法。In a third aspect, a terminal is provided, which includes a processor and a memory, the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the interface display according to the first aspect method.

第四方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令,所述指令由处理器加载并执行以实现如第一方面所述的界面显示方法。In a fourth aspect, a computer-readable storage medium is provided, where at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the interface display method according to the first aspect.

本申请实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided in the embodiments of the present application are:

终端通过检测自身姿态变化情况,并在自身姿态发生变化时,在折叠显示屏上显示相应的显示控件供用户进行选择,从而根据用户选择的显示控件所指示的显示方式,在折叠显示屏上显示相应的用户界面;相较于相关技术中,终端采用默认显示方式在折叠显示屏中显示用户界面,本实施例中,终端能够根据自身姿态的变化情况自适应的提供若干种合适的显示方式供用户选择,使得折叠显示屏的显示方式符合用户期望,达到了丰富折叠显示屏显示模式的效果。The terminal detects the change of its own posture, and displays the corresponding display control on the folding display screen for the user to choose when its own posture changes, so as to display the display on the folding display screen according to the display mode indicated by the display control selected by the user. The corresponding user interface; compared with the related art, the terminal adopts the default display mode to display the user interface in the folding display screen. In this embodiment, the terminal can adaptively provide several suitable display modes according to the change of its own posture. The user's choice makes the display mode of the folding display screen meet the user's expectation, and achieves the effect of enriching the display mode of the folding display screen.

附图说明Description of drawings

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

图1和图2是本申请一个示例性实施例提供的终端的结构方框图;1 and 2 are structural block diagrams of a terminal provided by an exemplary embodiment of the present application;

图3至图6是本申请一个示例性实施例提供的终端的结构示意图;3 to 6 are schematic structural diagrams of a terminal provided by an exemplary embodiment of the present application;

图7示出了本申请一个示例性实施例提供的界面显示方法的流程图;FIG. 7 shows a flowchart of an interface display method provided by an exemplary embodiment of the present application;

图8示出了本申请另一个示例性实施例提供的界面显示方法的流程图;FIG. 8 shows a flowchart of an interface display method provided by another exemplary embodiment of the present application;

图9至图12是图8所示界面显示方法所涉及的界面示意图;9 to 12 are schematic diagrams of interfaces involved in the interface display method shown in FIG. 8;

图13示出了本申请另一个示例性实施例提供的界面显示方法的流程图;FIG. 13 shows a flowchart of an interface display method provided by another exemplary embodiment of the present application;

图14和15是图13所示界面显示方法所涉及的界面示意图;14 and 15 are schematic diagrams of interfaces involved in the interface display method shown in FIG. 13;

图16示出了本申请另一个示例性实施例提供的界面显示方法的流程图;FIG. 16 shows a flowchart of an interface display method provided by another exemplary embodiment of the present application;

图17示出了本申请另一个示例性实施例提供的界面显示方法的流程图;FIG. 17 shows a flowchart of an interface display method provided by another exemplary embodiment of the present application;

图18示出了本申请一个示例性实施例提供的消息显示装置的结构框图。FIG. 18 shows a structural block diagram of a message display apparatus provided by an exemplary embodiment of the present application.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

参考图1和图2所示,其示出了本申请一个示例性实施例提供的终端100的结构方框图。该终端100可以是智能手机、平板电脑和电子书等等。本申请中的终端100可以包括一个或多个如下部件:处理器110、存储器120和触摸显示屏130。Referring to FIG. 1 and FIG. 2, it shows a structural block diagram of aterminal 100 provided by an exemplary embodiment of the present application. Theterminal 100 may be a smart phone, a tablet computer, an e-book, and the like. Theterminal 100 in this application may include one or more of the following components: aprocessor 110 , a memory 120 and atouch display screen 130 .

处理器110可以包括一个或者多个处理核心。处理器110利用各种接口和线路连接整个终端100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行终端100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(CentralProcessing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责触摸显示屏130所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块芯片进行实现。Theprocessor 110 may include one or more processing cores. Theprocessor 110 uses various interfaces and lines to connect various parts in theentire terminal 100, and executes the terminal by running or executing the instructions, programs, code sets or instruction sets stored in the memory 120, and calling the data stored in the memory 120. 100 various functions and processing data. Optionally, theprocessor 110 may employ at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA). implemented in hardware. Theprocessor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly processes the operating system, user interface and application programs, etc.; the GPU is used for rendering and drawing the content required to be displayed on thetouch display screen 130; the modem is used for processing wireless communication. It can be understood that, the above-mentioned modem may not be integrated into theprocessor 110, but is implemented by a single chip.

存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选地,该存储器120包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储根据终端100的使用所创建的数据(比如音频数据、电话本)等。The memory 120 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Optionally, the memory 120 includes a non-transitory computer-readable storage medium. Memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like for implementing the following method embodiments; the storage data area may store data (such as audio data, phone book) and the like created according to the use of theterminal 100 .

以操作系统为安卓(Android)系统为例,存储器120中存储的程序和数据如图1所示,存储器120中存储有Linux内核层220、系统运行库层240、应用框架层260和应用层280。Linux内核层220为终端100的各种硬件提供了底层的驱动,如显示驱动、音频驱动、摄像头驱动、蓝牙驱动、Wi-Fi驱动、电源管理等。系统运行库层240通过一些C/C++库来为Android系统提供了主要的特性支持。如SQLite库提供了数据库的支持,OpenGL/ES库提供了3D绘图的支持,Webkit库提供了浏览器内核的支持等。在系统运行库层240中还提供有安卓运行时库(Android Runtime),它主要提供了一些核心库,能够允许开发者使用Java语言来编写Android应用。应用框架层260提供了构建应用程序时可能用到的各种API,开发者也可以通过使用这些API来构建自己的应用程序,比如活动管理、窗口管理、视图管理、通知管理、内容提供者、包管理、通话管理、资源管理、定位管理。应用层280中运行有至少一个应用程序,这些应用程序可以是操作系统自带的联系人程序、短信程序、时钟程序、相机应用等;也可以是第三方开发者所开发的应用程序,比如即时通信程序、相片美化程序等。Taking the Android system as the operating system as an example, the programs and data stored in the memory 120 are shown in FIG. 1 , and the memory 120 stores the Linux kernel layer 220 , the system runtime layer 240 , the application framework layer 260 and the application layer 280 . The Linux kernel layer 220 provides underlying drivers for various hardware of theterminal 100, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, and the like. The system runtime layer 240 provides main feature support for the Android system through some C/C++ libraries. For example, the SQLite library provides database support, the OpenGL/ES library provides 3D drawing support, and the Webkit library provides browser kernel support. An Android runtime library (Android Runtime) is also provided in the system runtime library layer 240, which mainly provides some core libraries, which can allow developers to use the Java language to write Android applications. The application framework layer 260 provides various APIs that may be used when building applications, and developers can also build their own applications by using these APIs, such as activity management, window management, view management, notification management, content provider, Package management, call management, resource management, location management. At least one application program runs in the application layer 280, and these application programs can be a contact program, a short message program, a clock program, a camera application, etc. that come with the operating system; they can also be applications developed by third-party developers, such as instant messaging. Communication programs, photo beautification programs, etc.

以操作系统为IOS系统为例,存储器120中存储的程序和数据如图2所示,IOS系统包括:核心操作系统层320(Core OS layer)、核心服务层340(Core Services layer)、媒体层360(Media layer)、可触摸层380(Cocoa Touch Layer)。核心操作系统层320包括了操作系统内核、驱动程序以及底层程序框架,这些底层程序框架提供更接近硬件的功能,以供位于核心服务层340的程序框架所使用。核心服务层340提供给应用程序所需要的系统服务和/或程序框架,比如基础(Foundation)框架、账户框架、广告框架、数据存储框架、网络连接框架、地理位置框架、运动框架等等。媒体层360为应用程序提供有关视听方面的接口,如图形图像相关的接口、音频技术相关的接口、视频技术相关的接口、音视频传输技术的无线播放(AirPlay)接口等。可触摸层380为应用程序开发提供了各种常用的界面相关的框架,可触摸层380负责用户在终端100上的触摸交互操作。比如本地通知服务、远程推送服务、广告框架、游戏工具框架、消息用户界面接口(User Interface,UI)框架、用户界面UIKit框架、地图框架等等。Taking the operating system as the IOS system as an example, the programs and data stored in the memory 120 are shown in FIG. 2 . The IOS system includes: a core operating system layer 320 (Core OS layer), a core service layer 340 (Core Services layer), a media layer 360 (Media layer), touchable layer 380 (Cocoa Touch Layer). The core operating system layer 320 includes an operating system kernel, drivers, and low-level program frameworks, which provide functions closer to hardware for use by the program frameworks located in the core service layer 340 . The core service layer 340 provides system services and/or program frameworks required by applications, such as a foundation framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a motion framework, and the like. The media layer 360 provides audiovisual interfaces for applications, such as graphics and image related interfaces, audio technology related interfaces, video technology related interfaces, and audio and video transmission technology wireless playback (AirPlay) interfaces. The touchable layer 380 provides various common interface-related frameworks for application development, and the touchable layer 380 is responsible for the user's touch interaction operation on theterminal 100 . Such as local notification service, remote push service, advertising framework, game tool framework, message user interface interface (User Interface, UI) framework, user interface UIKit framework, map framework and so on.

在图2所示出的框架中,与大部分应用程序有关的框架包括但不限于:核心服务层340中的基础框架和可触摸层380中的UIKit框架。基础框架提供许多基本的对象类和数据类型,为所有应用程序提供最基本的系统服务,和UI无关。而UIKit框架提供的类是基础的UI类库,用于创建基于触摸的用户界面,iOS应用程序可以基于UIKit框架来提供UI,所以它提供了应用程序的基础架构,用于构建用户界面,绘图、处理和用户交互事件,响应手势等等。Among the frameworks shown in FIG. 2 , the frameworks related to most applications include but are not limited to: the basic framework in the core service layer 340 and the UIKit framework in the touchable layer 380 . The basic framework provides many basic object classes and data types, and provides the most basic system services for all applications, regardless of UI. The classes provided by the UIKit framework are the basic UI class libraries for creating touch-based user interfaces. iOS applications can provide UI based on the UIKit framework, so it provides the application's infrastructure for building user interfaces, drawing , handling and user interaction events, responding to gestures, and more.

触摸显示屏130用于接收用户使用手指、触摸笔等任何适合的物体在其上或附近的触摸操作,以及显示各个应用程序的用户界面。触摸显示屏130通常设置在终端100的前面板。Thetouch display screen 130 is used for receiving a user's touch operation on or near it using any suitable object such as a finger, a stylus pen, etc., and displaying the user interface of each application program. Thetouch display screen 130 is generally disposed on the front panel of the terminal 100 .

如图3所示,终端100包括第一壳体41、第二壳体42以及连接于第一壳体41和第二壳体42之间的连接组件43,第一壳体41与第二壳体42通过连接组件43实现翻转折叠。As shown in FIG. 3 , the terminal 100 includes afirst casing 41 , asecond casing 42 , and a connectingcomponent 43 connected between thefirst casing 41 and thesecond casing 42 . Thefirst casing 41 and the second casing Thebody 42 is flipped and folded through the connectingassembly 43 .

第一壳体41包括与触摸显示屏背面连接的第一支撑面,以及与第一支撑面相对的第一背面,第二壳体42包括与触摸显示屏背面连接的第二支撑面,以及与第二支撑面相对的第二背面。相应的,触摸显示屏包括第一显示区域131、第二显示区域132和第三显示区域133,其中,第一显示区域131与第一壳体41的位置对应,第二显示区域132与第二壳体42的位置对应,第三显示区域133与连接组件43的位置对应。在一种实现方式中,第一显示区域131、第二显示区域132和第三显示区域133均采用柔性材料制成,具有一定的伸缩延展性;在另一种实现方式中,仅第三显示区域133采用柔性材料制成,第一显示区域131和第二显示区域132采用非柔性材料制成。Thefirst housing 41 includes a first support surface connected to the back of the touch display screen, and a first back surface opposite to the first support surface, and thesecond housing 42 includes a second support surface connected to the back of the touch display screen, and is connected to the back of the touch display screen. The second back surface is opposite to the second support surface. Correspondingly, the touch display screen includes afirst display area 131 , asecond display area 132 and athird display area 133 , wherein thefirst display area 131 corresponds to the position of thefirst housing 41 , and thesecond display area 132 corresponds to thesecond display area 132 . The position of thehousing 42 corresponds to the position of thethird display area 133 corresponds to the position of theconnection assembly 43 . In one implementation, thefirst display area 131 , thesecond display area 132 and thethird display area 133 are all made of flexible materials and have a certain stretchability; in another implementation, only the third display area is Thearea 133 is made of flexible material, and thefirst display area 131 and thesecond display area 132 are made of non-flexible material.

在一种可选的实现方式中,终端100的连接组件43采用手动结构。用户手动分离第一壳体41和第二壳体42时,终端100由折叠状态变为展开状态;用户手动合拢第一壳体41和第二壳体42时,终端100由展开状态变为折叠状态。In an optional implementation manner, theconnection assembly 43 of the terminal 100 adopts a manual structure. When the user manually separates thefirst housing 41 and thesecond housing 42, the terminal 100 changes from the folded state to the unfolded state; when the user manually closes thefirst housing 41 and thesecond housing 42, the terminal 100 changes from the unfolded state to the folded state state.

在另一种可选的实现方式中,终端100的连接组件43采用电动结构,比如,连接组件43中设置有电动马达一类的电动旋转部件。在电动旋转部件的带动下,第一壳体41和第二壳体42自动实现合拢或分离,从而使终端100具备展开和折叠两种状态。In another optional implementation manner, theconnection assembly 43 of the terminal 100 adopts an electric structure. For example, theconnection assembly 43 is provided with an electric rotating component such as an electric motor. Driven by the electric rotating component, thefirst casing 41 and thesecond casing 42 are automatically closed or separated, so that the terminal 100 has two states of unfolding and folding.

按照折叠状态下触摸显示屏是否外露进行划分,终端100可以被划分为外折叠屏终端和内折叠屏终端。其中:According to whether the touch display screen is exposed in the folded state, the terminal 100 can be divided into an outer folding screen terminal and an inner folding screen terminal. in:

外折叠屏终端External folding screen terminal

外折叠屏终端是指可折叠角度为180°,且在折叠状态下,触摸显示屏全部外露的终端。如图3所示,终端100为外折叠屏终端。展开状态下,终端100的第一壳体41的第一支撑面与第二壳体42的第二支撑面相齐平(即夹角为180°),且触摸显示屏的第一显示区域131、第二显示区域132和第三显示区域133位于同一平面;终端100由展开状态变为折叠状态过程中,如图3所示,第一壳体41的第一背面与第二壳体42的第二背面相靠拢,第一支撑面与第二支撑面的夹角由180°变为0°;折叠状态下,如图4所示,终端100的第一壳体41的第一支撑面与第二壳体42的第二支撑面相平行(第一壳体41与第二壳体42的夹角为0°),使得触摸显示屏处于U型折叠状态,其中,触摸显示屏的第三显示区域133形成外露的U型弧面。A terminal with an external folding screen refers to a terminal with a foldable angle of 180°, and in the folded state, the touch screen is completely exposed. As shown in FIG. 3 , the terminal 100 is an external folding screen terminal. In the unfolded state, the first support surface of thefirst housing 41 of the terminal 100 is flush with the second support surface of the second housing 42 (ie, the included angle is 180°), and thefirst display area 131, Thesecond display area 132 and thethird display area 133 are located on the same plane; when the terminal 100 changes from the unfolded state to the folded state, as shown in FIG. The two backs are close to each other, and the angle between the first support surface and the second support surface is changed from 180° to 0°; in the folded state, as shown in FIG. 4 , the first support surface of thefirst housing 41 of the terminal 100 is The second support surfaces of the twocasings 42 are parallel (the angle between thefirst casing 41 and thesecond casing 42 is 0°), so that the touch screen is in a U-shaped folded state, wherein the third display area of thetouch screen 133 forms an exposed U-shaped arc surface.

在一种可选的实现方式中,在折叠状态下,触摸显示屏的全部或部分显示区域用于显示用户界面。比如,如图4所示,折叠状态下,仅第二显示区域132用于显示用户界面,或,仅第三显示区域133用于显示用户界面。In an optional implementation manner, in the folded state, all or part of the display area of the touch screen is used to display the user interface. For example, as shown in FIG. 4 , in the folded state, only thesecond display area 132 is used to display the user interface, or only thethird display area 133 is used to display the user interface.

内折叠屏终端Internal folding screen terminal

内折叠屏终端是指可折叠角度为180°,且在折叠状态下,触摸显示屏(全部或部分)内敛的终端。如图5所示,终端100为内折叠屏终端。展开状态下,终端100的第一壳体41的第一支撑面与第二壳体42的第二支撑面相齐平(即夹角为180°),使得触摸显示屏处于平面展开状态(第一显示区域131、第二显示区域132和第三显示区域133位于同一平面);终端100由展开状态变为折叠状态过程中,如图5所示,第一壳体41的第一支撑面与第二壳体42的第二支撑面相靠拢,即第一支撑面与第二支撑面的夹角由180°变为0°;折叠状态下,终端100的第一壳体41的第一支撑面与第二壳体42的第二支撑面相平行,使得触摸显示屏处于U型折叠状态,其中,触摸显示屏的第三显示区域133形成内敛的U型弧面。在一种可选的实现方式中,在折叠状态下,触摸显示屏的全部显示区域均不显示用户界面。A terminal with an inner folding screen refers to a terminal with a foldable angle of 180°, and in the folded state, the touch screen (full or partial) is restrained. As shown in FIG. 5 , the terminal 100 is an inner folding screen terminal. In the unfolded state, the first support surface of thefirst housing 41 of the terminal 100 is flush with the second support surface of the second housing 42 (that is, the included angle is 180°), so that the touch display screen is in a flat unfolded state (the first Thedisplay area 131, thesecond display area 132 and thethird display area 133 are located on the same plane); during the process of changing the terminal 100 from the unfolded state to the folded state, as shown in FIG. The second support surfaces of the twohousings 42 are close to each other, that is, the angle between the first support surface and the second support surface is changed from 180° to 0°; in the folded state, the first support surface of thefirst housing 41 of the terminal 100 and The second supporting surfaces of thesecond casing 42 are parallel, so that the touch display screen is in a U-shaped folded state, wherein thethird display area 133 of the touch display screen forms a restrained U-shaped arc surface. In an optional implementation manner, in the folded state, no user interface is displayed in the entire display area of the touch screen.

除了在壳体的支撑面上设置触摸显示屏外,第一壳体41的第一背面和/或第二壳体42的第二背面上也可以设置触摸显示屏。内折叠屏终端处于折叠状态时,设置在壳体背面的触摸显示屏用于显示用户界面,该用户界面与展开状态下触摸显示屏显示的用户界面相同或不同。In addition to disposing the touch display screen on the support surface of the casing, the touch display screen may also be disposed on the first back surface of thefirst casing 41 and/or the second back surface of thesecond casing 42 . When the terminal with the inner folding screen is in a folded state, the touch display screen disposed on the back of the casing is used to display a user interface, and the user interface is the same or different from the user interface displayed by the touch screen in the unfolded state.

在其他可能的实现方式中,终端100的可折叠角度还可以为360°(既可以内折也可以外折),且在折叠状态下,触摸显示屏外露或内敛的终端,本实施例对此不加以限定。In other possible implementations, the foldable angle of the terminal 100 may also be 360° (either inward or outward), and in the folded state, the touch screen of the terminal is exposed or restrained. Not limited.

图3至图5所示的终端100中,第一壳体41和第二壳体42尺寸相同或相近,终端100的折叠方式被称为对称折叠。在其他可能的实现方式中,终端100的折叠方式还可以为非对称折叠。采用非对称折叠时,第一壳体41和第二壳体42的尺寸可以不同或尺寸相差大于阈值(比如50%或60%或70%),相应的,触摸显示屏中第一显示区域131的面积与第二显示区域132的面积相差大于阈值。In the terminal 100 shown in FIGS. 3 to 5 , thefirst casing 41 and thesecond casing 42 have the same or similar dimensions, and the folding method of the terminal 100 is called symmetrical folding. In other possible implementation manners, the folding manner of the terminal 100 may also be asymmetrical folding. When asymmetrical folding is adopted, the size of thefirst casing 41 and thesecond casing 42 may be different or the difference in size may be greater than a threshold (eg 50% or 60% or 70%). Correspondingly, thefirst display area 131 in the touch screen The difference between the area of and the area of thesecond display area 132 is greater than the threshold.

示意性的,如图6所示,终端100为非对称折叠的外折叠屏终端,第一壳体41的尺寸大于第二壳体42的尺寸。折叠状态下,第一显示区域131的面积大于第二显示区域132的面积。Illustratively, as shown in FIG. 6 , the terminal 100 is an asymmetrically folded terminal with an external folding screen, and the size of thefirst casing 41 is larger than that of thesecond casing 42 . In the folded state, the area of thefirst display area 131 is larger than that of thesecond display area 132 .

图3至6中,仅以终端100包含两部分壳体以及一个用于连接壳体的连接组件为例进行示意性说明(终端为两折结构),在另一些可能的实现方式中,终端100可以包含n部分壳体以及n-1个连接组件,相应的,终端100的触摸显示屏中包含2n-1块显示区域,与连接组件对应的n-1块显示区域采用柔性材料制成,从而实现n折结构的终端,本实施例对此不加以限定。In FIGS. 3 to 6 , only the terminal 100 includes two housings and a connecting component for connecting the housings as an example for schematic illustration (the terminal is a two-fold structure). In other possible implementations, the terminal 100 It may include n parts of the housing and n-1 connection components. Correspondingly, the touch display screen of the terminal 100 includes 2n-1 display areas, and the n-1 display areas corresponding to the connection components are made of flexible materials, so that A terminal with an n-fold structure is implemented, which is not limited in this embodiment.

终端100中还设置有至少一种其他部件,该至少一种其他部件包括:摄像头、指纹传感器、接近光传感器、距离传感器等。在一些实施例中,至少一种其他部件设置在终端100的正面、侧边或背面,比如将指纹传感器设置在壳体的背面或侧边、将摄像头设置在触摸显示屏130的上方。The terminal 100 is also provided with at least one other component, and the at least one other component includes a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, and the like. In some embodiments, at least one other component is disposed on the front, side or back of the terminal 100 , for example, a fingerprint sensor is disposed on the back or side of the housing, and a camera is disposed above thetouch display screen 130 .

在另一些实施例中,至少一种其他部件可以集成在触摸显示屏130的内部或下层。在一些实施例中,将骨传导式的听筒设置在终端100的内部;将传统终端的前面板上的其他部件集成在触摸显示屏130的全部区域或部分区域中,比如将摄像头中的感光元件拆分为多个感光像素后,将每个感光像素集成在触摸显示屏130中每个显示像素中的黑色区域中,使得触摸显示屏130具备图像采集功能。由于将至少一种其他部件集成在了触摸显示屏130的内部或下层,因此终端100具有更高的屏占比。In other embodiments, at least one other component may be integrated inside or under thetouch display screen 130 . In some embodiments, the bone conduction earpiece is arranged inside the terminal 100; other components on the front panel of the conventional terminal are integrated in the whole area or part of the area of thetouch display screen 130, such as the photosensitive element in the camera. After being split into a plurality of photosensitive pixels, each photosensitive pixel is integrated into a black area in each display pixel in thetouch display screen 130 , so that thetouch display screen 130 has an image capture function. Since at least one other component is integrated inside or under thetouch display screen 130, the terminal 100 has a higher screen ratio.

在一些可选的实施例中,终端100的中框的单个侧边,或两个侧边(比如左、右两个侧边),或四个侧边(比如上、下、左、右四个侧边)上设置有边缘触控传感器,该边缘触控传感器用于检测用户在中框上的触摸操作、点击操作、按压操作和滑动操作等中的至少一种操作。该边缘触控传感器可以是触摸传感器、热力传感器、压力传感器等中的任意一种。用户可以在边缘触控传感器上施加操作,对终端100中的应用程序进行控制。In some optional embodiments, the middle frame of the terminal 100 has a single side, or two sides (such as left and right two sides), or four sides (such as upper, lower, left, and right four sides). An edge touch sensor is provided on each side), and the edge touch sensor is used to detect at least one of a user's touch operation, click operation, pressing operation and sliding operation on the middle frame. The edge touch sensor may be any one of a touch sensor, a thermal sensor, a pressure sensor, and the like. The user can perform operations on the edge touch sensor to control the applications in theterminal 100 .

除此之外,本领域技术人员可以理解,上述附图所示出的终端100的结构并不构成对终端100的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端100中还包括射频电路、输入单元、传感器、音频电路、无线保真(Wireless Fidelity,WiFi)模块、电源、蓝牙模块等部件,在此不再赘述。In addition, those skilled in the art can understand that the structure of the terminal 100 shown in the above drawings does not constitute a limitation on the terminal 100, and the terminal may include more or less components than those shown in the drawings, or combine some components, or a different arrangement of components. For example, the terminal 100 further includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a Wireless Fidelity (WiFi) module, a power supply, and a Bluetooth module, which are not described herein again.

请参考图7,其示出了本申请一个示例性实施例提供的界面显示方法的流程图。本实施例以该方法应用于外折叠屏终端(即图3或4所示的折叠屏终端)中来举例说明。所述方法包括:Please refer to FIG. 7 , which shows a flowchart of an interface display method provided by an exemplary embodiment of the present application. This embodiment is exemplified by applying the method to an external folding screen terminal (ie, the folding screen terminal shown in FIG. 3 or 4). The method includes:

步骤701,当终端的终端姿态发生变化时,在折叠显示屏上显示至少一个显示控件,至少一个显示控件包括全屏显示控件、分屏显示控件、单屏显示控件和键盘显示控件中的至少一种。Step 701: When the terminal posture of the terminal changes, at least one display control is displayed on the folding display screen, and the at least one display control includes at least one of a full-screen display control, a split-screen display control, a single-screen display control, and a keyboard display control .

在工作状态下,终端检测自身姿态是否发生变化,可选的,终端姿态的变化情况包括:1、终端由折叠状态切换为展开状态(可以包括横屏展开状态和竖屏展开状态两种状态);2、终端由展开状态切换为折叠状态、3、终端在折叠状态下发生翻转。In the working state, the terminal detects whether its own posture has changed. Optionally, the changes of the terminal posture include: 1. The terminal is switched from the folded state to the unfolded state (which can include two states of horizontal screen unfolded state and vertical screen unfolded state) ; 2. The terminal switches from the unfolded state to the folded state, 3. The terminal turns over in the folded state.

根据终端姿态的变化情况,终端在折叠显示屏上显示相应的显示控件,其中,显示控件的类型与当前终端姿态下终端所支持的显示方式相对应。According to the change of the terminal posture, the terminal displays corresponding display controls on the folding display screen, wherein the type of the display controls corresponds to the display mode supported by the terminal in the current terminal posture.

步骤702,接收对至少一个显示控件的选择信号。Step 702: Receive a selection signal for at least one display control.

进一步的,终端接收用户对折叠显示屏中显示控件的选择信号,从而确定采用何种显示方式显示用户界面。Further, the terminal receives the user's selection signal for the display controls in the folding display screen, so as to determine which display mode is used to display the user interface.

可选的,当至少一个显示控件的显示时长达到预设时长,且未接收到选择信号时,终端停止显示该显示控件。Optionally, when the display duration of at least one display control reaches a preset duration and no selection signal is received, the terminal stops displaying the display control.

可选的,接收到对显示控件的选择信号后,终端显示确认控件,当接收到对确认控件的触发信号时,终端执行下述步骤703进行用户界面显示。Optionally, after receiving the selection signal for the display control, the terminal displays the confirmation control, and when receiving the trigger signal for the confirmation control, the terminal performs the followingstep 703 to display the user interface.

步骤703,根据选中的显示控件所指示的显示方式,在折叠显示屏上显示用户界面。Step 703: Display a user interface on the folding display screen according to the display mode indicated by the selected display control.

终端接收到选择信号后,即根据选中的显示控件所指示的显示方式,在折叠显示屏的整个显示区域或部分显示区域显示用户界面。其中,该用户界面用于接收用户操作,比如,该用户界面为终端系统的用户界面或应用程序的用户界面。After receiving the selection signal, the terminal displays the user interface in the entire display area or part of the display area of the folding display screen according to the display mode indicated by the selected display control. The user interface is used to receive user operations, for example, the user interface is a user interface of a terminal system or a user interface of an application program.

在一种可能的实施方式中,当终端的折叠显示屏具有一个折叠区域,即折叠显示屏能够进行对折时,折叠显示屏可以被划分为第一显示区域和第二显示区域。In a possible implementation manner, when the folding display screen of the terminal has one folding area, that is, when the folding display screen can be folded in half, the folding display screen may be divided into a first display area and a second display area.

当选中的显示控件所指示的显示方式为全屏显示时,终端在第一显示区域和第二显示区域全屏显示某一应用程序的用户界面。比如,终端由折叠状态切换为展开状态且用户点击折叠显示屏显示的全屏显示控件后,折叠显示屏即在第一显示区域和第二显示区域全屏显示应用程序的用户界面。When the display mode indicated by the selected display control is full-screen display, the terminal displays the user interface of a certain application in full-screen in the first display area and the second display area. For example, after the terminal is switched from the folded state to the unfolded state and the user clicks the full-screen display control displayed on the folded display screen, the folded display screen displays the user interface of the application in full screen in the first display area and the second display area.

当选中的显示控件所指示的显示方式为分屏显示时,终端分别在第一显示区域和第二显示区域显示不同应用程序的用户界面。比如,终端由折叠状态切换为展开状态且用户点击折叠显示屏显示的分屏显示控件后,折叠显示屏即在第一显示区域显示第一应用程序的用户界面,在第二显示区域显示第二应用程序的用户界面。When the display mode indicated by the selected display control is split-screen display, the terminal displays user interfaces of different application programs in the first display area and the second display area respectively. For example, after the terminal is switched from the folded state to the unfolded state and the user clicks the split-screen display control displayed on the folded display screen, the folded display screen displays the user interface of the first application in the first display area, and displays the second display in the second display area. The user interface of the application.

当选中的显示控件所指示的显示方式为单屏显示时,终端在第一显示区域或第二显示区域显示应用程序的用户界面。比如,当终端由展开状态切换为折叠状态且用户点击折叠显示屏显示的单屏显示控件后,终端即在第一显示区域或第二显示区域显示应用程序的用户界面,而另一显示区域则停止显示(比如黑屏)。When the display mode indicated by the selected display control is single-screen display, the terminal displays the user interface of the application in the first display area or the second display area. For example, when the terminal is switched from the unfolded state to the folded state and the user clicks the single-screen display control displayed on the folded display, the terminal displays the user interface of the application in the first display area or the second display area, while the other display area displays the user interface of the application. Stop the display (eg black screen).

当选中的显示控件所指示的显示方式为键盘显示时,终端在第一显示区域显示应用程序的用户界面,并在第二显示区域显示虚拟键盘。比如,当终端由折叠状态切换为展开状态且用户点击折叠显示屏显示的键盘显示控件后,终端即在第一显示区域显示应用程序的用户界面,在第二显示区域显示虚拟键盘,方便用户进行文字编辑。When the display mode indicated by the selected display control is keyboard display, the terminal displays the user interface of the application in the first display area, and displays the virtual keyboard in the second display area. For example, when the terminal is switched from the folded state to the unfolded state and the user clicks the keyboard display control displayed on the folded display screen, the terminal displays the user interface of the application program in the first display area, and displays the virtual keyboard in the second display area, which is convenient for the user to perform text editor.

综上所述,本实施例中,终端通过检测自身姿态变化情况,并在自身姿态发生变化时,在折叠显示屏上显示相应的显示控件供用户进行选择,从而根据用户选择的显示控件所指示的显示方式,在折叠显示屏上显示相应的用户界面;相较于相关技术中,终端采用默认显示方式在折叠显示屏中显示用户界面,本实施例中,终端能够根据自身姿态的变化情况自适应的提供若干种合适的显示方式供用户选择,使得折叠显示屏的显示方式符合用户期望,达到了丰富折叠显示屏显示模式的效果。To sum up, in this embodiment, the terminal detects the change of its own posture, and when the posture of the terminal changes, displays the corresponding display control on the folding display screen for the user to choose, so as to follow the instructions of the display control selected by the user. Compared with the related art, the terminal adopts the default display mode to display the user interface on the folding display screen. In this embodiment, the terminal can automatically display the user interface according to the change of its own posture. Several suitable display modes are provided adaptively for the user to choose, so that the display mode of the foldable display screen meets the user's expectation, and the effect of enriching the display modes of the foldable display screen is achieved.

针对不同的终端姿态变化情况,终端在折叠显示屏中显示的显示控件的类型和数量可能不同。下面采用示意性的实施例,对不同终端姿态变化情况下,用户界面的显示方式进行说明。For different terminal posture changes, the type and number of display controls displayed on the foldable display screen of the terminal may be different. In the following, an illustrative embodiment is used to describe the display mode of the user interface in the case of different terminal posture changes.

请参考图8,其示出了本申请另一个示例性实施例提供的界面显示方法的流程图。本实施例以该方法应用于外折叠屏终端(即图3或4所示的折叠屏终端)中来举例说明。所述方法包括:Please refer to FIG. 8 , which shows a flowchart of an interface display method provided by another exemplary embodiment of the present application. This embodiment is exemplified by applying the method to an external folding screen terminal (ie, the folding screen terminal shown in FIG. 3 or 4). The method includes:

步骤801,当终端由折叠状态切换为展开状态,且终端处于横屏状态时,在折叠显示屏上显示全屏显示控件、分屏显示控件和单屏显示控件中的至少一种。Step 801: When the terminal is switched from a folded state to an unfolded state and the terminal is in a landscape state, at least one of a full-screen display control, a split-screen display control and a single-screen display control is displayed on the folded display screen.

在一种可能的实施方式中,终端在工作状态下获取折叠显示屏折叠角度,当该折叠角度符合预设角度条件(比如在180°-200°之间)时,确定终端由折叠状态切换为展开状态。In a possible implementation, the terminal obtains the folding angle of the folding display screen in the working state, and when the folding angle meets the preset angle condition (for example, between 180°-200°), it is determined that the terminal is switched from the folded state to Expanded state.

可选的,终端在检测自身终端姿态时,不仅需要检测折叠-展开状态的切换情况,还通过内置的传感器(比如重力传感器)确定自身的横竖屏状态。其中,横屏状态指折叠显示屏横向展开的状态,竖屏状态则是指折叠显示屏纵向展开的状态。Optionally, when the terminal detects the posture of its own terminal, it not only needs to detect the switching of the folded-to-expanded state, but also determines its own horizontal and vertical screen state through a built-in sensor (such as a gravity sensor). The horizontal screen state refers to a state in which the folded display screen is extended horizontally, and the vertical screen state refers to a state in which the foldable display screen is vertically extended.

用户将终端由折叠状态切换为展开状态时,通常是要进行全屏操作(比如全屏观看视频或进行全屏游戏)、分屏操作(比如在一侧显示区域观看视频,在另一侧显示区域回复消息)或单屏操作(比如仅在一侧显示区域进行消息回复,另一侧显示区域关闭),因此,当检测到由折叠状态切换为展开状态,且展开状态下终端处于横屏状态时,终端在显示屏上显示全屏显示控件、分屏显示控件和单屏显示控件中的至少一种。When users switch the terminal from the folded state to the unfolded state, they usually perform full-screen operations (such as watching videos in full screen or playing full-screen games), split-screen operations (such as watching videos in one display area, and replying to messages in the other display area). ) or single-screen operation (such as replying messages only in one display area and closing the other display area), therefore, when it is detected that the terminal is switched from the folded state to the unfolded state, and the terminal is in the horizontal screen state in the unfolded state, the terminal At least one of a full-screen display control, a split-screen display control, and a single-screen display control is displayed on the display screen.

可选的,在折叠状态下,当折叠显示屏的第一显示区域显示用户界面时,在展开状态下,至少一个显示控件显示在第二显示区域,从而避免显示控件对第一显示区域的显示造成影响。Optionally, in the folded state, when the user interface is displayed in the first display area of the folded display screen, in the unfolded state, at least one display control is displayed in the second display area, thereby avoiding the display of the display control on the first display area. cause an impact.

示意性的,如图9所示,在折叠状态下,折叠显示屏91的第一显示区域911显示应用程序A的用户界面,第二显示区域912不进行显示;当由折叠状态切换为展开状态时,第一显示区域911中的用户界面保持不变,第二显示区域912中显示全屏显示控件92、分屏显示控件93和单屏显示控件94。Illustratively, as shown in FIG. 9 , in the folded state, thefirst display area 911 of the folded display screen 91 displays the user interface of the application A, and thesecond display area 912 does not display it; when the folded state is switched to the unfolded state , the user interface in thefirst display area 911 remains unchanged, and thesecond display area 912 displays the full-screen display controls 92 , the split-screen display controls 93 and the single-screen display controls 94 .

步骤802,接收对至少一个显示控件的选择信号。Step 802: Receive a selection signal for at least one display control.

本步骤的实施方式与上述步骤702相似,本实施例在此不再赘述。The implementation manner of this step is similar to the foregoingstep 702, and details are not described herein again in this embodiment.

在一种可能的实施方式中,当接收到对显示控件的选择信号时,终端对选中的显示控件进行高亮、加粗等处理,使其与未选中的显示控件有所区别。In a possible implementation manner, when receiving a selection signal for a display control, the terminal performs processing such as highlighting, bolding, etc. on the selected display control to make it different from the unselected display control.

步骤803,当选中的显示控件所指示的显示方式为全屏显示时,在第一显示区域和第二显示区域全屏显示应用程序的用户界面。Step 803: When the display mode indicated by the selected display control is full-screen display, display the user interface of the application program in full-screen in the first display area and the second display area.

当接收到对全屏显示控件的选择信号时,终端确定需要在第一显示区域和第二显示区域全屏显示同一应用程序的用户界面。可选的,全屏显示模式下显示的用户界面为折叠状态下第一或第二显示区域显示的应用程序的用户界面,或,用户指定的应用程序的用户界面。When receiving the selection signal for the full-screen display control, the terminal determines that the user interface of the same application needs to be displayed in full-screen in the first display area and the second display area. Optionally, the user interface displayed in the full-screen display mode is the user interface of the application program displayed in the first or second display area in the folded state, or the user interface of the application program designated by the user.

在一种可能的实施方式中,终端在全屏显示模式下显示用户指定的应用程序的用户界面时,本步骤包括如下步骤。In a possible implementation manner, when the terminal displays the user interface of the application program designated by the user in the full-screen display mode, this step includes the following steps.

一、当选中的显示控件所指示的显示方式为全屏显示时,在第一显示区域或第二显示区域显示应用程序列表。1. When the display mode indicated by the selected display control is full-screen display, display the application list in the first display area or the second display area.

当接收到对全屏显示控件的选择信号时,终端确定需要全屏显示用户界面,从而在第一显示区域或第二显示区域显示应用程序列表,该应用程序列表中包含至少一个应用程序的图标。When receiving the selection signal for the full-screen display control, the terminal determines that the user interface needs to be displayed in full-screen, so as to display an application list in the first display area or the second display area, where the application list includes at least one application icon.

可选的,该应用程序列表中包括:后台运行的应用程序、终端中安装的应用程序和终端中已安装且支持全屏显示的应用程序中的至少一种。Optionally, the application list includes at least one of: an application running in the background, an application installed in the terminal, and an application installed in the terminal that supports full-screen display.

示意性的,如图10所示,当接收到对对全屏显示控件92的选择信号时,终端即在第二显示区域912显示应用程序列表95,该应用程序列表95中包含应用B、C、D、E对应的图标。Illustratively, as shown in FIG. 10 , when receiving a selection signal for the full-screen display control 92, the terminal displays anapplication list 95 in thesecond display area 912, and theapplication list 95 includes applications B, C, The icons corresponding to D and E.

二、接收对应用程序列表中一个应用程序的选择信号。2. Receive a selection signal for an application in the application list.

进一步的,终端接收对该应用程序列表中某一应用程序的选择信号。比如,如图10所示,终端接收到对应用程序列表95中应用B的选择信号。Further, the terminal receives a selection signal of an application in the application list. For example, as shown in FIG. 10 , the terminal receives a selection signal for application B in theapplication program list 95 .

三、在第一显示区域和第二显示区域全屏显示选中的应用程序的用户界面3. Display the user interface of the selected application in full screen in the first display area and the second display area

根据接收到选择信号,终端在第一显示区域和第二显示区域全屏显示选中的应用程序的用户界面,并对隐藏显示控件以及应用程序列表。According to receiving the selection signal, the terminal displays the user interface of the selected application program in full screen in the first display area and the second display area, and hides the display controls and the application program list.

示意性的,如图10所示,终端在整个折叠显示屏(包含第一显示区域和第二显示区域)显示应用B对应的用户界面。Illustratively, as shown in FIG. 10 , the terminal displays the user interface corresponding to application B on the entire foldable display screen (including the first display area and the second display area).

在另一种可能的实施方式中,当折叠状态下终端显示有应用程序时,用户将终端由折叠状态切换为展开状态的目的,通常是要将该应用程序全屏显示,相应的,本步骤包括如下步骤。In another possible implementation, when an application is displayed on the terminal in the folded state, the purpose of the user switching the terminal from the folded state to the unfolded state is usually to display the application in full screen. Correspondingly, this step includes: Follow the steps below.

一、当选中的显示控件所指示的显示方式为全屏显示时,获取折叠状态下,第一显示区域或第二显示区域显示的目标应用程序。1. When the display mode indicated by the selected display control is full-screen display, obtain the target application displayed in the first display area or the second display area in the folded state.

当接收到对全屏显示控件的选择信号时,终端获取折叠状态下折叠显示屏某一显示区域显示的应用程序(即目标应用程序)。When receiving the selection signal for the full-screen display control, the terminal acquires the application (ie, the target application) displayed in a certain display area of the folded display screen in the folded state.

示意性的,如图11所示,接收到对全屏显示控件92的选择信号时,终端获取到折叠状态下终端在第一显示区域911显示的应用程序A。Illustratively, as shown in FIG. 11 , when receiving a selection signal for the full-screen display control 92 , the terminal acquires the application A displayed by the terminal in thefirst display area 911 in the folded state.

可选的,在确定目标应用程序后,终端进一步检测该目标应用程序是否支持全屏显示,若支持,则执行步骤二;若不支持,则显示相应提示信息。Optionally, after determining the target application, the terminal further detects whether the target application supports full-screen display, and if so, performs step 2; if not, displays corresponding prompt information.

二、在第一显示区域和第二显示区域全屏显示目标应用程序的用户界面。2. Display the user interface of the target application in full screen in the first display area and the second display area.

与上述实施例中显示应用程序列表不同,本实施例中,接收到对全屏显示控件的选择信号后,终端直接在第一显示区域和第二显示区域全屏显示目标应用程序的用户界面。Different from displaying the application program list in the above embodiment, in this embodiment, after receiving the selection signal for the full-screen display control, the terminal directly displays the user interface of the target application program in full-screen in the first display area and the second display area.

示意性的,如图11所示,当接收到对全屏显示控件92的选择信号时,终端对折叠状态下第一显示区域911中显示的应用程序A的用户界面进行全屏显示。Illustratively, as shown in FIG. 11 , when receiving a selection signal for the full-screen display control 92 , the terminal performs full-screen display on the user interface of the application A displayed in thefirst display area 911 in the folded state.

步骤804,当选中的显示控件所指示的显示方式为分屏显示时,在第一显示区域和第二显示区域显示不同应用程序的用户界面。Step 804, when the display mode indicated by the selected display control is split-screen display, display user interfaces of different application programs in the first display area and the second display area.

当接收到对分屏显示控件的选择信号时,终端确定需要在第一显示区域和第二显示区域分别显示不同应用程序的用户界面。可选的,第一显示区域显示第一应用程序的用户界面,第二显示区域显示第二应用程序的用户界面,其中第一用户程序和第二用户程序均由用户指定,或,第一应用程序和第二应用程序中的一个应用程序为折叠状态下终端显示的应用程序,另一个为用户指定的应用程序。When receiving the selection signal for the split-screen display control, the terminal determines that user interfaces of different application programs need to be displayed in the first display area and the second display area respectively. Optionally, the first display area displays the user interface of the first application program, and the second display area displays the user interface of the second application program, wherein the first user program and the second user program are both specified by the user, or, the first application One of the program and the second application is an application displayed on the terminal in a folded state, and the other is an application designated by the user.

在一种可能的实施方式中,当两个显示区域显示的应用程序均由用户指定时,本步骤包括如下步骤。In a possible implementation, when the application programs displayed in the two display areas are both designated by the user, this step includes the following steps.

一、当选中的显示控件所指示的显示方式为分屏显示时,在第一显示区域或第二显示区域显示应用程序列表。1. When the display mode indicated by the selected display control is split-screen display, display the application list in the first display area or the second display area.

当接收到对分屏显示控件的选择信号时,终端确定需要同时显示两个应用程序的用户界面,从而在第一显示区域或第二显示区域显示应用程序列表,该应用程序列表中包含至少一个应用程序的图标。When receiving a selection signal for the split-screen display control, the terminal determines that the user interfaces of two application programs need to be displayed simultaneously, so as to display an application program list in the first display area or the second display area, where the application program list includes at least one Application icon.

示意性的,如图12所示,当接收到对对分屏显示控件93的选择信号时,终端即在第二显示区域912显示应用程序列表95,该应用程序列表95中包含应用B、C、D、E对应的图标。Illustratively, as shown in FIG. 12, when receiving a selection signal for the split-screen display control 93, the terminal displays anapplication list 95 in thesecond display area 912, and theapplication list 95 includes applications B and C. , D, and E corresponding icons.

二、接收对应用程序列表中两个应用程序的选择信号。2. Receive selection signals for two applications in the application list.

进一步的,终端接收对该应用程序列表中某两个应用程序的选择信号。比如,如图12所示,终端接收到对应用程序列表95中应用B和应用C的选择信号。Further, the terminal receives a selection signal of two application programs in the application program list. For example, as shown in FIG. 12 , the terminal receives selection signals for application B and application C in theapplication program list 95 .

三、分别在第一显示区域和第二显示区域显示选中的两个应用程序的用户界面。3. Display the user interfaces of the two selected application programs in the first display area and the second display area, respectively.

对于选中的两个应用程序,终端在第一显示区域显示第一应用程序的用户界面,在第二显示区域显示第二应用程序的用户界面。对于折叠状态下显示的应用程序,终端将其切换至后台。For the two selected applications, the terminal displays the user interface of the first application in the first display area, and displays the user interface of the second application in the second display area. For the application displayed in the folded state, the terminal switches it to the background.

示意性的,如图12所示,根据接收到的选择信号,终端在第一显示区域911显示应用程序B的用户界面,在第二显示区域912显示应用程序C的用户界面。Illustratively, as shown in FIG. 12 , according to the received selection signal, the terminal displays the user interface of application B in thefirst display area 911 and the user interface of application C in thesecond display area 912 .

在另一种可能的实施方式中,当折叠状态下终端显示有应用程序时,用户将终端由折叠状态切换为展开状态的目的,通常是要保留当前显示的应用程序,并在另一侧显示区域显示另一个应用程序。相应的,本步骤包括如下步骤。In another possible implementation, when an application is displayed on the terminal in the folded state, the purpose of the user switching the terminal from the folded state to the unfolded state is usually to keep the currently displayed application and display it on the other side The area displays another application. Correspondingly, this step includes the following steps.

一、当选中的显示控件所指示的显示方式为分屏显示时,在第一显示区域或第二显示区域显示应用程序列表。1. When the display mode indicated by the selected display control is split-screen display, display the application list in the first display area or the second display area.

可选的,该应用程序列表中包含的应用程序与折叠状态下终端显示的应用程序具备预定关联关系(比如属于同一应用发布方或应用类型相同),或,该应用程序列表中包含的应用程序为预设应用程序(比如常用应用程序,例如计算器、备忘录等等)。Optionally, the applications included in the application list have a predetermined association relationship with the applications displayed on the terminal in the folded state (for example, belong to the same application publisher or the same application type), or, the applications included in the application list For preset applications (such as frequently used applications, such as calculator, memo, etc.).

二、接收对应用程序列表中一个应用程序的选择信号。2. Receive a selection signal for an application in the application list.

进一步的,终端接收对应用程序列表中某一应用程序的选择信号。Further, the terminal receives a signal for selecting an application in the application list.

三、在第一显示区域显示折叠状态下显示的应用程序的用户界面,并在第二显示区域显示选中的应用程序的用户界面。3. Display the user interface of the application program displayed in the folded state in the first display area, and display the user interface of the selected application program in the second display area.

接收到对应用程序的选择信号后,终端在其中一个显示区域显示折叠状态下显示的应用程序的用户界面,在另一个显示区域显示用户选中的应用程序的用户界面。After receiving the application selection signal, the terminal displays the user interface of the application displayed in the folded state in one of the display areas, and displays the user interface of the application selected by the user in the other display area.

步骤805,当选中的显示控件所指示的显示方式为单屏显示时,在第一显示区域或第二显示区域显示应用程序的用户界面。Step 805 , when the display mode indicated by the selected display control is single-screen display, display the user interface of the application in the first display area or the second display area.

当接收到单屏显示控件的选择信号时,终端将折叠状态下显示的应用程序显示在第一或第二显示区域,并停止在另一显示区域显示用户界面,例如,对另一显示区域进行黑屏处理。When receiving the selection signal of the single-screen display control, the terminal displays the application program displayed in the folded state in the first or second display area, and stops displaying the user interface in the other display area. Black screen processing.

本实施例中,当终端由折叠状态切换为展开状态,且处于横屏状态时,终端提供全屏显示、分屏显示和单屏显示供用户进行选择,从而丰富了展开状态下终端的显示方式。In this embodiment, when the terminal is switched from the folded state to the unfolded state and is in the horizontal screen state, the terminal provides full-screen display, split-screen display and single-screen display for the user to choose from, thereby enriching the display modes of the terminal in the unfolded state.

相关技术中,用户需要进行文字输入时,终端通常在显示屏的底部显示虚拟按键。为了进一步提高用户使用折叠屏终端进行文字输入的效率,在一种可能的实施方式中,当终端处于展开状态,且区域竖屏状态时,终端提供键盘显示控件供用户选择。下面采用示意性的实施例进行说明。In the related art, when the user needs to input text, the terminal usually displays virtual keys at the bottom of the display screen. In order to further improve the efficiency of text input by a user using a terminal with a folding screen, in a possible implementation manner, when the terminal is in an unfolded state and the area is in a vertical screen state, the terminal provides a keyboard display control for the user to select. Illustrative embodiments are used for description below.

请参考图13示出了本申请另一个示例性实施例提供的界面显示方法的流程图。本实施例以该方法应用于外折叠屏终端(即图3或4所示的折叠屏终端)中来举例说明。所述方法包括:Referring to FIG. 13, a flowchart of an interface display method provided by another exemplary embodiment of the present application is shown. This embodiment is exemplified by applying the method to an external folding screen terminal (ie, the folding screen terminal shown in FIG. 3 or 4). The method includes:

步骤1301,当终端由折叠状态切换为展开状态,且终端处于竖屏状态时,在折叠显示屏上显示全屏显示控件、分屏显示控件、单屏显示控件和键盘显示控件中的至少一种。Step 1301: When the terminal is switched from the folded state to the unfolded state and the terminal is in the vertical screen state, display at least one of a full-screen display control, a split-screen display control, a single-screen display control and a keyboard display control on the folded display screen.

在一种可能的实施方式中,终端在工作状态下获取折叠显示屏折叠角度,当该折叠角度符合预设角度条件(比如在180°-200°之间)时,确定终端由折叠状态切换为展开状态。In a possible implementation, the terminal obtains the folding angle of the folding display screen in the working state, and when the folding angle meets the preset angle condition (for example, between 180°-200°), it is determined that the terminal is switched from the folded state to Expanded state.

可选的,终端在检测自身终端姿态时,不仅需要检测折叠-展开状态的切换情况,还通过内置的传感器(比如重力传感器)确定自身的横竖屏状态。其中,横屏状态指折叠显示屏横向展开的状态,竖屏状态则是指折叠显示屏纵向展开的状态。Optionally, when the terminal detects the posture of its own terminal, it not only needs to detect the switching of the folded-to-expanded state, but also determines its own horizontal and vertical screen state through a built-in sensor (such as a gravity sensor). The horizontal screen state refers to a state in which the folded display screen is extended horizontally, and the vertical screen state refers to a state in which the foldable display screen is vertically extended.

在显示全屏显示控件、分屏显示控件以及单屏显示控件的基础上,竖屏状态下,终端在折叠显示屏上额外显示键盘显示控件供用户选择,以便用户利用大尺寸的虚拟键盘快速输入文字。On the basis of displaying full-screen display controls, split-screen display controls, and single-screen display controls, in the vertical screen state, the terminal additionally displays keyboard display controls on the folded display screen for users to choose, so that users can use the large-sized virtual keyboard to quickly enter text. .

示意性,如图14所示,在折叠状态下,折叠显示屏91的第一显示区域1411显示应用程序A的用户界面,第二显示区域1412不进行显示;当由折叠状态切换为展开状态时,第一显示区域1411中的用户界面保持不变,且第二显示区域1412中显示全屏显示控件142、分屏显示控件143、单屏显示控件144和键盘显示控件146。Schematically, as shown in FIG. 14 , in the folded state, thefirst display area 1411 of the folded display screen 91 displays the user interface of the application A, and thesecond display area 1412 does not display it; when switching from the folded state to the unfolded state , the user interface in thefirst display area 1411 remains unchanged, and thesecond display area 1412 displays full-screen display controls 142 , split-screen display controls 143 , single-screen display controls 144 and keyboard display controls 146 .

可选的,在确定是否需要显示键盘显示控件前,终端检测折叠状态下显示的应用程序是否为预定应用程序(比如需要进行文字输入的应用程序)。当该应用程序为预定应用程序时,终端显示键盘显示控件,当该应用程序不是预定应用程序时,终端则不显示键盘显示控件。Optionally, before determining whether to display the keyboard display control, the terminal detects whether the application displayed in the folded state is a predetermined application (for example, an application requiring text input). When the application is a predetermined application, the terminal displays the keyboard display control, and when the application is not the predetermined application, the terminal does not display the keyboard display control.

比如,折叠状态下,终端显示的应用程序为文字编辑类应用程序时,当终端由折叠状态切换为展开状态,且处于竖屏状态时,终端显示键盘显示控件;折叠状态下,终端显示的应用程序为视频播放类应用程序时,终端不显示键盘显示控件。For example, in the folded state, when the application displayed on the terminal is a text editing application, when the terminal is switched from the folded state to the unfolded state and is in the vertical screen state, the terminal displays the keyboard display controls; in the folded state, the application displayed on the terminal When the program is a video playback application, the terminal does not display the keyboard display controls.

步骤1302,接收对至少一个显示控件的选择信号。Step 1302: Receive a selection signal for at least one display control.

步骤1303,当选中的显示控件所指示的显示方式为全屏显示时,在第一显示区域和第二显示区域全屏显示应用程序的用户界面。Step 1303: When the display mode indicated by the selected display control is full-screen display, display the user interface of the application program in full-screen in the first display area and the second display area.

步骤1304,当选中的显示控件所指示的显示方式为分屏显示时,在第一显示区域和第二显示区域显示不同应用程序的用户界面。Step 1304, when the display mode indicated by the selected display control is split-screen display, display user interfaces of different application programs in the first display area and the second display area.

步骤1305,当选中的显示控件所指示的显示方式为单屏显示时,在第一显示区域或第二显示区域显示应用程序的用户界面。Step 1305: When the display mode indicated by the selected display control is single-screen display, display the user interface of the application in the first display area or the second display area.

上述步骤1302至1305的实施方式与步骤802至805相似,本实施例在此不再赘述。The implementations of the foregoingsteps 1302 to 1305 are similar to those of thesteps 802 to 805 , and details are not described herein again in this embodiment.

步骤1306,当选中的显示控件所指示的显示方式为键盘显示时,在第一显示区域显示应用程序的用户界面,并在第二显示区域显示虚拟键盘。Step 1306, when the display mode indicated by the selected display control is keyboard display, display the user interface of the application in the first display area, and display the virtual keyboard in the second display area.

当接收到对键盘显示控件的选择信号时,终端在第一显示区域显示应用程序的用户界面,在第二显示区域显示虚拟键盘,其中,第一显示区域位于第二显示区域的上方。When receiving the selection signal for the keyboard display control, the terminal displays the user interface of the application in the first display area, and displays the virtual keyboard in the second display area, wherein the first display area is located above the second display area.

在一种可能的实施方式中,本步骤包括如下步骤。In a possible implementation, this step includes the following steps.

一、当选中的显示控件所指示的显示方式为键盘显示时,在第一显示区域显示预定应用程序的用户界面,预定应用程序为折叠状态下第一显示区域中显示的应用程序。1. When the display mode indicated by the selected display control is keyboard display, the user interface of the predetermined application program is displayed in the first display area, and the predetermined application program is the application program displayed in the first display area in the folded state.

当接收到对键盘显示控件的选择信号时,终端确定折叠状态下显示的预定应用程序,并在第一显示区域显示预定应用程序的用户界面。When receiving the selection signal for the keyboard display control, the terminal determines the predetermined application program displayed in the folded state, and displays the user interface of the predetermined application program in the first display area.

示意性的,如图15所示,当接收到对键盘显示控件145的选择信号时,终端在第一显示区域1411显示折叠状态下显示的应用程序A的用户界面。Illustratively, as shown in FIG. 15 , when a selection signal for thekeyboard display control 145 is received, the terminal displays the user interface of the application A displayed in the folded state in thefirst display area 1411 .

需要说明的是,当折叠状态下,第一显示区域未显示用户界面,而第二显示区域显示有用户界面时,在展开状态下,终端将显示在第二显示区域的用户界面移动至第一显示界面。It should be noted that, when the user interface is not displayed in the first display area in the folded state, and the user interface is displayed in the second display area, in the unfolded state, the terminal moves the user interface displayed in the second display area to the first display area. UI.

二、在第二显示区域显示虚拟键盘。2. Display the virtual keyboard in the second display area.

在第一显示区域显示用户界面的同时,终端在第二显示区域显示虚拟键盘。后续用户即可通过第二显示区域中显示的虚拟键盘在第一显示区域的用户界面中输入文字。While displaying the user interface in the first display area, the terminal displays a virtual keyboard in the second display area. Subsequently, the user can input text in the user interface of the first display area through the virtual keyboard displayed in the second display area.

本实施例中,当终端由折叠状态切换为展开状态,且处于竖屏状态时,终端提供键盘显示控件供用户选择,并在接收到的对键盘显示控件的选择信号时,在下方显示区域显示虚拟键盘,由于显示的虚拟键盘的尺寸较大,因此有助于降低输入文字错误率,提高文字输入的速度。In this embodiment, when the terminal is switched from a folded state to an unfolded state and is in a vertical screen state, the terminal provides a keyboard display control for the user to select, and when a selection signal for the keyboard display control is received, it is displayed in the lower display area. The virtual keyboard, due to the large size of the displayed virtual keyboard, helps to reduce the error rate of text input and improve the speed of text input.

请参考图16示出了本申请另一个示例性实施例提供的界面显示方法的流程图。本实施例以该方法应用于外折叠屏终端(即图3或4所示的折叠屏终端)中来举例说明。所述方法包括:Please refer to FIG. 16 to show a flowchart of an interface display method provided by another exemplary embodiment of the present application. This embodiment is exemplified by applying the method to an external folding screen terminal (ie, the folding screen terminal shown in FIG. 3 or 4). The method includes:

步骤1601,当终端由展开状态切换为折叠状态时,在折叠显示屏上显示单屏显示控件。Step 1601, when the terminal is switched from the unfolded state to the folded state, display a single-screen display control on the folded display screen.

在一种可能的实施方式中,终端在工作状态下获取折叠显示屏折叠角度,当该折叠角度符合预设角度条件时,确定终端由展开状态切换为折叠状态。In a possible implementation manner, the terminal acquires the folding angle of the folding display screen in the working state, and when the folding angle meets the preset angle condition, it is determined that the terminal is switched from the unfolded state to the folded state.

用户折叠终端后,通常仅需要使用部分显示区域,因此,当终端由展开状态切换为折叠状态时,终端在第一显示区域或第二显示区域显示单屏显示控件。After the user folds the terminal, usually only part of the display area needs to be used. Therefore, when the terminal is switched from the unfolded state to the folded state, the terminal displays a single-screen display control in the first display area or the second display area.

步骤1602,接收对至少一个显示控件的选择信号。Step 1602, receiving a selection signal for at least one display control.

本实施例中,终端接收对单屏显示控件的选择信号。In this embodiment, the terminal receives a selection signal for a single-screen display control.

步骤1603,当选中的显示控件所指示的显示方式为单屏显示时,在第一显示区域或第二显示区域显示应用程序的用户界面。Step 1603, when the display mode indicated by the selected display control is single-screen display, display the user interface of the application in the first display area or the second display area.

在一种可能的实施方式中,展开状态下,当第一显示区域和第二显示区域全屏显示某一应用程序的用户界面时,折叠状态下,终端在第一显示区域或第二显示区域显示该应用程序的用户界面,可选的,终端确定折叠状态下面向用户一侧的显示区域(根据握持状态或光线传感器),并在该侧显示区域显示应用程序的用户界面。In a possible implementation manner, in the unfolded state, when the first display area and the second display area display the user interface of an application in full screen, in the folded state, the terminal displays in the first display area or the second display area For the user interface of the application, optionally, the terminal determines a display area on the side facing the user in the folded state (according to the holding state or the light sensor), and displays the user interface of the application on the side display area.

在另一种可能的实施方式中,展开状态下,当第一显示区域和第二显示区域分别显示不同应用程序的用户界面时,折叠状态下,终端在第一显示区域或第二显示区域显示该其中一个应用程序的用户界面。可选的,终端确定折叠状态下第一显示区域显示的第一应用程序以及第二显示区域显示的第二应用程序,并确定折叠状态下面向用户一侧的显示区域,若为第一显示区域,则在第一显示区域显示第一应用程序的用户界面,并停止在第二显示区域显示;若为第二显示区域,则在第二显示区域显示第二应用程序的用户界面,并停止在第一显示区域显示。In another possible implementation, in the unfolded state, when the first display area and the second display area respectively display user interfaces of different applications, in the folded state, the terminal displays in the first display area or the second display area The user interface of one of these applications. Optionally, the terminal determines the first application displayed in the first display area in the folded state and the second application displayed in the second display area, and determines the display area on the side facing the user in the folded state, if it is the first display area. , then display the user interface of the first application in the first display area, and stop displaying it in the second display area; if it is the second display area, display the user interface of the second application in the second display area, and stop at the second display area The first display area is displayed.

请参考图17示出了本申请另一个示例性实施例提供的界面显示方法的流程图。本实施例以该方法应用于外折叠屏终端(即图3或4所示的折叠屏终端)中来举例说明。所述方法包括:Please refer to FIG. 17 to show a flowchart of an interface display method provided by another exemplary embodiment of the present application. This embodiment is exemplified by applying the method to an external folding screen terminal (ie, the folding screen terminal shown in FIG. 3 or 4). The method includes:

步骤1701,当终端处于折叠状态,且翻转角度大于阈值时,在折叠显示屏上显示单屏显示控件。Step 1701, when the terminal is in a folded state and the flip angle is greater than a threshold, display a single-screen display control on the folded display screen.

终端的姿态变换并不局限于折叠-展开状态变化,还包括翻转角度的变化。折叠状态下,终端通过角速度传感器获取自身翻转角度变化,并在翻转角度大于阈值(比如180°)时,确定终端朝向用户一侧的显示区域发生变化,并显示单屏显示控件。The attitude transformation of the terminal is not limited to the change of the folded-to-expand state, but also includes the change of the flip angle. In the folded state, the terminal obtains the change of its own flip angle through the angular velocity sensor, and when the flip angle is greater than a threshold (such as 180°), it is determined that the display area of the terminal facing the user has changed, and a single-screen display control is displayed.

步骤1702,接收对至少一个显示控件的选择信号。Step 1702: Receive a selection signal for at least one display control.

本实施例中,终端接收对单屏显示控件的选择信号。In this embodiment, the terminal receives a selection signal for a single-screen display control.

步骤1703,当选中的显示控件所指示的显示方式为单屏显示时,在第一显示区域或第二显示区域显示应用程序的用户界面。Step 1703: When the display mode indicated by the selected display control is single-screen display, display the user interface of the application in the first display area or the second display area.

在一种可能的实施方式中,当接收到对单屏显示控件的选择信号时,终端切换显示用户界面的显示区域。比如,终端当前在第一显示区域显示用户界面,当检测到翻转角度大于阈值,且接收到对单屏显示控件的选择信号时,终端在第二显示区域显示用户界面,并停止在第一显示区域进行显示。In a possible implementation manner, when receiving a selection signal for the single-screen display control, the terminal switches the display area for displaying the user interface. For example, the terminal is currently displaying the user interface in the first display area. When it is detected that the flip angle is greater than the threshold and a selection signal for the single-screen display control is received, the terminal displays the user interface in the second display area and stops displaying the first display. area is displayed.

请参考图18,其示出了本申请一个示例性实施例提供的界面显示装置的结构框图。该界面显示装置包括:控件显示模块1810、接收模块1820和界面显示模块1830。Please refer to FIG. 18 , which shows a structural block diagram of an interface display apparatus provided by an exemplary embodiment of the present application. The interface display device includes: acontrol display module 1810 , areceiving module 1820 and aninterface display module 1830 .

控件显示模块1810,,用于当所述终端的终端姿态发生变化时,在所述折叠显示屏上显示至少一个显示控件,所述至少一个显示控件包括全屏显示控件、分屏显示控件、单屏显示控件和键盘显示控件中的至少一种;Acontrol display module 1810, configured to display at least one display control on the folding display screen when the terminal posture of the terminal changes, the at least one display control includes a full-screen display control, a split-screen display control, a single-screen display control at least one of display controls and keyboard display controls;

接收模块1820,用于接收对所述至少一个显示控件的选择信号;areceiving module 1820, configured to receive a selection signal for the at least one display control;

界面显示模块1830,用于根据选中的显示控件所指示的显示方式,在所述折叠显示屏上显示用户界面。Theinterface display module 1830 is configured to display the user interface on the folding display screen according to the display mode indicated by the selected display control.

可选的,所述控件显示模块1810,包括:Optionally, thecontrol display module 1810 includes:

第一显示单元,用于当所述终端由折叠状态切换为展开状态,且所述终端处于横屏状态时,在所述折叠显示屏上显示所述全屏显示控件、所述分屏显示控件和所述单屏显示控件中的至少一种;a first display unit, configured to display the full-screen display controls, the split-screen display controls and at least one of the single-screen display controls;

或,or,

第二显示单元,用于当所述终端由折叠状态切换为展开状态,且所述终端处于竖屏状态时,在所述折叠显示屏上显示所述全屏显示控件、所述分屏显示控件、所述单屏显示控件和所述键盘显示控件中的至少一种;a second display unit, configured to display the full-screen display controls, the split-screen display controls, at least one of the single-screen display controls and the keyboard display controls;

或,or,

第三显示单元,用于当所述终端由展开状态切换为折叠状态时,在所述折叠显示屏上显示所述单屏显示控件;a third display unit, configured to display the single-screen display control on the folded display screen when the terminal is switched from the unfolded state to the folded state;

或,or,

第四显示单元,用于当所述终端处于折叠状态,且翻转角度大于阈值时,在所述折叠显示屏上显示所述单屏显示控件。A fourth display unit, configured to display the single-screen display control on the folded display screen when the terminal is in a folded state and the flip angle is greater than a threshold.

可选的,所述终端具有第一壳体和第二壳体,所述第一壳体与所述折叠显示屏的第一显示区域对应,所述第二壳体与所述折叠显示屏的第二显示区域对应;Optionally, the terminal has a first casing and a second casing, the first casing corresponds to the first display area of the foldable display screen, and the second casing corresponds to the first display area of the foldable display screen. The second display area corresponds to;

所述界面显示模块1830,包括:Theinterface display module 1830 includes:

第四显示单元,用于当所述选中的显示控件所指示的显示方式为全屏显示时,在所述第一显示区域和第二显示区域全屏显示应用程序的用户界面;a fourth display unit, configured to display the user interface of the application program in full screen in the first display area and the second display area when the display mode indicated by the selected display control is full-screen display;

第五显示单元,用于当所述选中的显示控件所指示的显示方式为分屏显示时,在所述第一显示区域和第二显示区域显示不同应用程序的用户界面;a fifth display unit, configured to display user interfaces of different application programs in the first display area and the second display area when the display mode indicated by the selected display control is split-screen display;

第六显示单元,用于当所述选中的显示控件所指示的显示方式为单屏显示时,在所述第一显示区域或所述第二显示区域显示应用程序的用户界面;a sixth display unit, configured to display the user interface of the application in the first display area or the second display area when the display mode indicated by the selected display control is single-screen display;

第七显示单元,用于当所述选中的显示控件所指示的显示方式为键盘显示时,在所述第一显示区域显示应用程序的用户界面,并在所述第二显示区域显示虚拟键盘。A seventh display unit, configured to display a user interface of an application program in the first display area and display a virtual keyboard in the second display area when the display mode indicated by the selected display control is keyboard display.

可选的,所述第四显示单元,用于:Optionally, the fourth display unit is used for:

当所述选中的显示控件所指示的显示方式为全屏显示时,在所述第一显示区域或所述第二显示区域显示应用程序列表;接收对所述应用程序列表中一个应用程序的选择信号;在所述第一显示区域和所述第二显示区域全屏显示选中的应用程序的用户界面;When the display mode indicated by the selected display control is full-screen display, display an application list in the first display area or the second display area; receive a selection signal for an application in the application list ; Display the user interface of the selected application in full screen in the first display area and the second display area;

或,or,

当所述选中的显示控件所指示的显示方式为全屏显示时,获取折叠状态下,所述第一显示区域或所述第二显示区域显示的目标应用程序;在所述第一显示区域和所述第二显示区域全屏显示所述目标应用程序的用户界面。When the display mode indicated by the selected display control is full-screen display, obtain the target application displayed in the first display area or the second display area in the folded state; The second display area displays the user interface of the target application in full screen.

可选的,所述第五显示单元,用于:Optionally, the fifth display unit is used for:

当所述选中的显示控件所指示的显示方式为分屏显示时,在所述第一显示区域或所述第二显示区域显示应用程序列表;When the display mode indicated by the selected display control is split-screen display, displaying an application list in the first display area or the second display area;

接收对所述应用程序列表中两个应用程序的选择信号;receiving a selection signal for two applications in the application list;

分别在所述第一显示区域和所述第二显示区域显示选中的两个应用程序的用户界面。The user interfaces of the two selected application programs are displayed in the first display area and the second display area, respectively.

可选的,所述第七显示单元,用于:Optionally, the seventh display unit is used for:

当所述选中的显示控件所指示的显示方式为键盘显示时,在所述第一显示区域显示预定应用程序的用户界面,所述预定应用程序为折叠状态下所述第一显示区域中显示的应用程序;When the display mode indicated by the selected display control is keyboard display, a user interface of a predetermined application program is displayed in the first display area, and the predetermined application program is displayed in the first display area in a folded state application;

在所述第二显示区域显示虚拟键盘。A virtual keyboard is displayed in the second display area.

综上所述,本实施例中,终端通过检测自身姿态变换情况,并在自身姿态发生变化时,在折叠显示屏上显示相应的显示控件供用户进行选择,从而根据用户选择的显示控件所指示的显示方式,在折叠显示屏上显示相应的用户界面;相较于相关技术中,终端采用默认显示方式在折叠显示屏中显示用户界面,本实施例中,终端能够根据自身姿态的变化情况自适应的提供若干种合适的显示方式供用户选择,使得折叠显示屏的显示方式符合用户期望,达到了丰富折叠显示屏显示模式的效果。To sum up, in this embodiment, the terminal detects the change of its own posture, and when its own posture changes, displays the corresponding display controls on the foldable display screen for the user to choose, so as to follow the instructions of the display controls selected by the user. Compared with the related art, the terminal adopts the default display mode to display the user interface on the folding display screen. In this embodiment, the terminal can automatically display the user interface according to the change of its own posture. Several suitable display modes are provided adaptively for the user to choose, so that the display mode of the foldable display screen meets the user's expectation, and the effect of enriching the display modes of the foldable display screen is achieved.

本申请实施例还提供了一种计算机可读介质,该计算机可读介质存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上各个实施例所述的界面显示方法。An embodiment of the present application further provides a computer-readable medium, where the computer-readable medium stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the interface display method described in the above embodiments .

本申请实施例还提供了一种计算机程序产品,该计算机程序产品存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上各个实施例所述的界面显示方法。Embodiments of the present application further provide a computer program product, where the computer program product stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the interface display method described in the above embodiments.

上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, etc.

以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection of the present application. within the range.

Claims (12)

CN201711000715.7A2017-10-242017-10-24Interface display method and device and terminalActiveCN107728901B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201711000715.7ACN107728901B (en)2017-10-242017-10-24Interface display method and device and terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201711000715.7ACN107728901B (en)2017-10-242017-10-24Interface display method and device and terminal

Publications (2)

Publication NumberPublication Date
CN107728901A CN107728901A (en)2018-02-23
CN107728901Btrue CN107728901B (en)2020-07-24

Family

ID=61212569

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201711000715.7AActiveCN107728901B (en)2017-10-242017-10-24Interface display method and device and terminal

Country Status (1)

CountryLink
CN (1)CN107728901B (en)

Families Citing this family (41)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108491127B (en)2018-03-122020-02-07Oppo广东移动通信有限公司Input method interface display method, device, terminal and storage medium
CN108519850A (en)*2018-04-092018-09-11维沃移动通信有限公司 A keyboard interface display method and mobile terminal
CN108664185A (en)*2018-04-282018-10-16努比亚技术有限公司Picture display process, mobile terminal and computer readable storage medium
CN108681437B (en)*2018-05-042022-03-15Oppo广东移动通信有限公司Display method and device, storage medium and electronic equipment
CN110673886B (en)*2018-07-032023-10-03百度在线网络技术(北京)有限公司Method and device for generating thermodynamic diagrams
CN109189312A (en)*2018-08-062019-01-11北京理工大学A kind of human-computer interaction device and method for mixed reality
US20210311683A1 (en)*2018-08-152021-10-07Huawei Technologies Co., Ltd.Display method and apparatus
CN109327610A (en)*2018-09-212019-02-12Oppo(重庆)智能科技有限公司Display control method and relevant apparatus
CN110956924B (en)*2018-09-262022-01-11北京小米移动软件有限公司Screen brightness adjusting method and device, electronic equipment and readable storage medium
CN109375974B (en)*2018-09-262020-05-12掌阅科技股份有限公司Book page display method, computing device and computer storage medium
CN110956938A (en)*2018-09-262020-04-03北京小米移动软件有限公司Screen brightness adjusting method and device, electronic equipment and readable storage medium
CN109243306B (en)2018-09-292022-04-08上海中航光电子有限公司 Display panel, display device and foldable display device
CN109508136B (en)*2018-10-292021-02-19维沃移动通信有限公司Display method of application program and mobile terminal
CN109613958A (en)*2018-11-262019-04-12维沃移动通信有限公司 A terminal device control method and terminal device
WO2020118490A1 (en)*2018-12-102020-06-18华为技术有限公司Automatic screen-splitting method, graphical user interface, and electronic device
CN109600659B (en)2018-12-172021-08-31北京小米移动软件有限公司 Operation method, device, device and storage medium when playing video
CN109710151B (en)*2018-12-282021-04-02维沃移动通信有限公司File processing method and terminal equipment
CN109901976B (en)*2019-03-152023-04-07维沃移动通信有限公司Application program management method and terminal equipment
CN109947319A (en)*2019-03-152019-06-28Oppo广东移动通信有限公司Management method and device for application program in electronic equipment and electronic equipment
CN110147192A (en)*2019-04-252019-08-20Oppo广东移动通信有限公司 Interface operation method, device, electronic device and storage medium
CN116795465A (en)*2019-05-142023-09-22华为技术有限公司 A display application method and electronic device
CN110286972A (en)*2019-05-142019-09-27华为技术有限公司 A method and electronic device for a folding screen display application
CN110389802B (en)*2019-06-052021-05-18华为技术有限公司Display method of flexible screen and electronic equipment
CN110308885B (en)*2019-06-252022-04-01维沃移动通信有限公司Screen projection method and mobile terminal
CN110581921B (en)*2019-07-222020-12-15珠海格力电器股份有限公司Control method and device for folding screen equipment
CN113366422A (en)*2019-08-152021-09-07深圳市柔宇科技股份有限公司Display control method of mobile application and electronic equipment
CN112445276A (en)*2019-08-302021-03-05华为技术有限公司Folding screen display application method and electronic equipment
CN110806829B (en)2019-09-052021-05-11华为技术有限公司 A display method of a device with a folding screen and a folding screen device
CN112615947B (en)2019-09-182022-03-25华为技术有限公司 The method of quickly entering the application and the folding screen electronic device
CN110719364B (en)*2019-09-252020-12-11北京蓦然认知科技有限公司Control method and device of display unit, computer equipment and storage medium
CN110691166B (en)*2019-09-252020-08-28北京蓦然认知科技有限公司 Application program display control method, device, computer equipment and readable storage medium
CN110691167B (en)*2019-09-252021-04-16北京蓦然认知科技有限公司Control method and device of display unit
CN110851039B (en)*2019-10-082021-07-02维沃移动通信有限公司 A menu display method and electronic device
CN110928462B (en)*2019-11-122021-11-02维沃移动通信有限公司 A display method and electronic device
CN111078091A (en)*2019-11-292020-04-28华为技术有限公司Split screen display processing method and device and electronic equipment
CN112882777B (en)*2019-11-302024-10-18华为技术有限公司 Split-screen display method and electronic device
CN111338555B (en)*2020-02-192022-03-15昆明闻泰通讯有限公司Method, device, equipment and storage medium for realizing input through virtual keyboard
CN111405339B (en)*2020-03-112022-08-12咪咕互动娱乐有限公司 A split-screen display method, electronic device and storage medium
CN114968430B (en)*2021-02-192025-02-07Oppo广东移动通信有限公司 Interface control method, device and electronic equipment
CN113209611B (en)*2021-04-292024-02-02网易(杭州)网络有限公司Layout method, device and equipment of operation controls in game and storage medium
CN114268826B (en)*2021-09-302022-11-29荣耀终端有限公司Application display method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105824401A (en)*2015-06-242016-08-03维沃移动通信有限公司Mobile terminal control method and mobile terminal thereof
CN106155615A (en)*2015-04-272016-11-23中兴通讯股份有限公司screen folding apparatus, control method and control device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2013188893A2 (en)*2012-06-152013-12-19Willem Morkel Van Der WesthuizenMethod and mechanism for human computer interaction
KR102044829B1 (en)*2012-09-252019-11-15삼성전자 주식회사Apparatus and method for processing split view in portable device
CN106227458A (en)*2016-08-052016-12-14深圳市金立通信设备有限公司A kind of method of Data inputing and terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106155615A (en)*2015-04-272016-11-23中兴通讯股份有限公司screen folding apparatus, control method and control device
CN105824401A (en)*2015-06-242016-08-03维沃移动通信有限公司Mobile terminal control method and mobile terminal thereof

Also Published As

Publication numberPublication date
CN107728901A (en)2018-02-23

Similar Documents

PublicationPublication DateTitle
CN107728901B (en)Interface display method and device and terminal
CN107870716B (en) Method and device for calling background application
CN107765959B (en) Background application display method and terminal
CN107704177B (en)Interface display method and device and terminal
CN107844228B (en) Message display method, device and terminal
CN109766053B (en) User interface display method, device, terminal and storage medium
CN108089786B (en) User interface display method, device, device and storage medium
CN109164964B (en)Content sharing method and device, terminal and storage medium
CN109710206B (en) Method, device, terminal and storage medium for displaying information
CN112817684B (en)User interface display method, device, terminal and storage medium
CN107770477B (en)Video call method, device, terminal and storage medium
CN107728885B (en)Multitask control method and device, mobile terminal and storage medium
CN107807773B (en)Application body distinguishing method, device, terminal and storage medium
WO2020147665A1 (en)File processing method and device, terminal, and storage medium
CN107678661A (en) Method and device for displaying data content
CN107678724A (en) An information display method, device, mobile terminal and storage medium
CN108415752A (en)user interface display method, device, equipment and storage medium
CN107589903A (en) Method and device for displaying multi-page display information
CN107577414A (en)The method and mobile terminal of split screen display available
CN107807760A (en)Screen display method and device
CN107728810B (en) Terminal control method, device, terminal and storage medium
CN107678826A (en)interface display method, device, mobile terminal and storage medium
CN114779987B (en)Method, device, terminal and storage medium for displaying content
CN107766023A (en) Information display method, device, terminal and storage medium
CN107656578A (en)terminal control method, device, terminal and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
CB02Change of applicant information

Address after:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02Change of applicant information
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp