CN107635036B - Interface display method, device, terminal and computer readable storage medium - Google Patents
Interface display method, device, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN107635036B CN107635036B CN201710975660.5A CN201710975660A CN107635036B CN 107635036 B CN107635036 B CN 107635036B CN 201710975660 A CN201710975660 A CN 201710975660A CN 107635036 B CN107635036 B CN 107635036B
- Authority
- CN
- China
- Prior art keywords
- system account
- display screen
- display
- deformation
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
本发明公开了一种界面显示方法、装置、终端及计算机可读存储介质,应用于具有可折叠显示屏的终端,属于终端技术领域。该方法包括:当检测到针对显示屏的形变操作时,确定该形变操作对应的形变参数;当该形变参数满足预设条件时,启动第一系统账户;将第一系统账户对应的界面显示在第一显示区域中,将第二系统账户对应的界面显示在第二显示区域中,第一显示区域和第二显示区域是由显示屏发生形变后得到。本发明确定针对显示屏的形变操作的形变参数后,基于形变参数可以使显示屏的第一显示区域和第二显示区域分别显示不同系统账户对应的界面,从而使多个用户能够同时使用同一终端,提高了终端的使用效率。
The invention discloses an interface display method, a device, a terminal and a computer-readable storage medium, which are applied to a terminal with a foldable display screen and belong to the technical field of terminals. The method includes: when a deformation operation for the display screen is detected, determining a deformation parameter corresponding to the deformation operation; when the deformation parameter satisfies a preset condition, starting a first system account; displaying the interface corresponding to the first system account on the In the first display area, the interface corresponding to the second system account is displayed in the second display area, and the first display area and the second display area are obtained after the display screen is deformed. After the invention determines the deformation parameters for the deformation operation of the display screen, based on the deformation parameters, the first display area and the second display area of the display screen can respectively display interfaces corresponding to different system accounts, so that multiple users can use the same terminal at the same time. , which improves the efficiency of terminal use.
Description
技术领域technical field
本发明涉及终端技术领域,特别涉及一种界面显示方法、装置、终端及计算机可读存储介质。The present invention relates to the technical field of terminals, and in particular, to an interface display method, device, terminal and computer-readable storage medium.
背景技术Background technique
随着技术的发展以及终端越来越丰富的功能,终端的普及率也随之越来越高,但是有时候还是会出现多个用户使用同一个终端的情况。而由于不同的性别、年龄、文化背景的用户对终端的使用需求不同,对终端的使用习惯也不一致。因此,为了满足不同用户对同一终端的使用需求,多系统账户渐渐出现在大众视野。With the development of technology and more and more functions of the terminal, the penetration rate of the terminal is also higher and higher, but sometimes multiple users use the same terminal. However, because users of different genders, ages, and cultural backgrounds have different requirements for using the terminal, the usage habits of the terminal are also inconsistent. Therefore, in order to meet the needs of different users for the use of the same terminal, multi-system accounts are gradually appearing in the public eye.
目前,多系统账户是指终端安装的一个操作系统可以对应多个系统账户。也即是,使用同一个终端的多个用户中的每个用户可以在该终端中注册一个与其他用户不相同的系统账户。当多个用户中任一用户需要使用该终端时,可以将上一个登录至该终端操作系统的系统账户退出,然后通过自己注册的系统账户登录至该操作系统,从而该用户可以根据自己的操作权限和习惯调整对应操作系统的界面,使终端显示的界面符合自己的使用习惯。Currently, a multi-system account means that one operating system installed on a terminal can correspond to multiple system accounts. That is, each of the multiple users using the same terminal can register a different system account in the terminal from that of other users. When any one of the multiple users needs to use the terminal, he can log out of the last system account logged in to the terminal operating system, and then log in to the operating system through his own registered system account, so that the user can operate according to his own operation. Permissions and Habits Adjust the interface of the corresponding operating system so that the interface displayed by the terminal conforms to your own usage habits.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种界面显示方法、装置、终端及计算机可读存储介质,能够解决相关技术中多个用户无法同时使用同一终端,导致终端使用效率低的问题。所述技术方案如下:Embodiments of the present invention provide an interface display method, device, terminal and computer-readable storage medium, which can solve the problem in the related art that multiple users cannot use the same terminal at the same time, resulting in low terminal use efficiency. The technical solution is as follows:
第一方面,提供了一种界面显示方法,应用于具有可折叠显示屏的终端,所述方法包括:In a first aspect, an interface display method is provided, which is applied to a terminal with a foldable display screen, and the method includes:
当检测到针对显示屏的形变操作时,确定所述形变操作对应的形变参数;When a deformation operation for the display screen is detected, the deformation parameter corresponding to the deformation operation is determined;
当所述形变参数满足预设条件时,启动第一系统账户;When the deformation parameter satisfies the preset condition, start the first system account;
其中,所述第一系统账户为安装的操作系统对应的多个系统账户中除第二系统账户外的任一系统账户,所述第二系统账户为未检测到所述形变操作之前登录至所述操作系统的系统账户;Wherein, the first system account is any system account except the second system account among the multiple system accounts corresponding to the installed operating system, and the second system account is to log in to the system before the deformation operation is detected. the system account of the operating system;
将所述第一系统账户对应的界面显示在第一显示区域中,将所述第二系统账户对应的界面显示在第二显示区域中,所述第一显示区域和所述第二显示区域是由所述显示屏发生形变后得到。The interface corresponding to the first system account is displayed in the first display area, and the interface corresponding to the second system account is displayed in the second display area, and the first display area and the second display area are It is obtained after the display screen is deformed.
可选地,所述显示屏为可折叠的显示屏;Optionally, the display screen is a foldable display screen;
所述确定所述形变操作对应的形变参数,包括:The determining the deformation parameter corresponding to the deformation operation includes:
确定所述形变操作作用在所述显示屏之后所述显示屏的折叠角度,所述折叠角度为所述显示屏折叠后形成的两个显示区域之间的角度。A folding angle of the display screen after the deformation operation acts on the display screen is determined, and the folding angle is an angle between two display areas formed after the display screen is folded.
可选地,所述当所述形变参数满足预设条件时,启动第一系统账户,包括:Optionally, starting the first system account when the deformation parameter satisfies a preset condition, including:
当所述显示屏的折叠角度大于或等于第一预设角度,或所述折叠角度小于或等于第二预设角度时,启动所述第一系统账户。When the folding angle of the display screen is greater than or equal to a first preset angle, or the folding angle is less than or equal to a second preset angle, the first system account is activated.
可选地,所述当所述形变参数满足预设条件时,启动第一系统账户,包括:Optionally, starting the first system account when the deformation parameter satisfies a preset condition, including:
确定所述显示屏的折叠角度的变化趋势;determining the changing trend of the folding angle of the display screen;
当所述变化趋势为预设趋势时,启动所述第一系统账户。When the change trend is a preset trend, the first system account is activated.
可选地,所述显示屏为柔性屏;Optionally, the display screen is a flexible screen;
所述确定所述形变操作对应的形变参数,包括:The determining the deformation parameter corresponding to the deformation operation includes:
确定所述形变操作作用在所述柔性屏上的应力值。A stress value acting on the flexible screen by the deformation operation is determined.
可选地,所述当所述形变参数满足预设条件时,启动第一系统账户,包括:Optionally, starting the first system account when the deformation parameter satisfies a preset condition, including:
当所述应力值大于或等于预设应力值时,启动所述第一系统账户。The first system account is activated when the stress value is greater than or equal to a preset stress value.
可选地,所述显示屏为柔性屏;Optionally, the display screen is a flexible screen;
所述确定所述形变操作对应的形变参数,包括:The determining the deformation parameter corresponding to the deformation operation includes:
确定所述形变操作作用在所述柔性屏之后所述柔性屏的形变量。Determine the amount of deformation of the flexible screen after the deformation operation acts on the flexible screen.
可选地,所述当所述形变参数满足预设条件时,启动第一系统账户,包括:Optionally, starting the first system account when the deformation parameter satisfies a preset condition, including:
当所述形变量大于或等于预设形变量时,启动所述第一系统账户。The first system account is activated when the deformation amount is greater than or equal to a preset deformation amount.
可选地,所述启动第一系统账户,包括:Optionally, the activating the first system account includes:
当检测到当前除所述第二系统账户之外不包括其他的系统账户时,显示第一提示信息,所述第一提示信息用于提示是否创建所述第一系统账户;When it is detected that no other system account is currently included except the second system account, first prompt information is displayed, and the first prompt information is used to prompt whether to create the first system account;
当基于所述第一提示信息接收到所述创建指令时,创建并启动所述第一系统账户。When the creation instruction is received based on the first prompt information, the first system account is created and activated.
可选地,所述启动第一系统账户,包括:Optionally, the activating the first system account includes:
当检测到当前包括多个系统账户时,显示第二提示信息,所述第二提示信息用于提示从所述多个系统账户中除所述第二系统账户之外的系统账户中选择所述第一系统账户;When it is detected that multiple system accounts are currently included, second prompt information is displayed, and the second prompt information is used to prompt to select the system account from the system accounts other than the second system account among the multiple system accounts. first system account;
当基于所述第二提示信息接收到选择指令时,将所述选择指令所选择的系统账户确定为所述第一系统账户;When a selection instruction is received based on the second prompt information, determining the system account selected by the selection instruction as the first system account;
启动所述第一系统账户。The first system account is activated.
第二方面,提供了一种界面显示装置,应用于具有可折叠显示屏的终端,所述装置包括:In a second aspect, an interface display device is provided, which is applied to a terminal with a foldable display screen, and the device includes:
确定模块,用于当检测到针对显示屏的形变操作时,确定所述形变操作对应的形变参数;a determination module, configured to determine a deformation parameter corresponding to the deformation operation when a deformation operation for the display screen is detected;
启动模块,用于当所述形变参数满足预设条件时,启动第一系统账户;a start-up module, configured to start the first system account when the deformation parameter satisfies a preset condition;
其中,所述第一系统账户为安装的操作系统对应的多个系统账户中除第二系统账户外的任一系统账户,所述第二系统账户为未检测到所述形变操作之前登录至所述操作系统的系统账户;Wherein, the first system account is any system account except the second system account among the multiple system accounts corresponding to the installed operating system, and the second system account is to log in to the system before the deformation operation is detected. the system account of the operating system;
显示模块,用于将所述第一系统账户对应的界面显示在第一显示区域中,将所述第二系统账户对应的界面显示在第二显示区域中,所述第一显示区域和所述第二显示区域是由所述显示屏发生形变后得到。A display module, configured to display the interface corresponding to the first system account in the first display area, and display the interface corresponding to the second system account in the second display area, the first display area and the The second display area is obtained after the display screen is deformed.
可选地,所述显示屏为可折叠的显示屏;Optionally, the display screen is a foldable display screen;
所述确定模块用于:The determining module is used for:
确定所述形变操作作用在所述显示屏之后所述显示屏的折叠角度,所述折叠角度为所述显示屏折叠后形成的两个显示区域之间的角度。A folding angle of the display screen after the deformation operation acts on the display screen is determined, and the folding angle is an angle between two display areas formed after the display screen is folded.
可选地,所述启动模块包括:Optionally, the startup module includes:
第一启动子模块,用于当所述显示屏的折叠角度大于或等于第一预设角度,或所述折叠角度小于或等于第二预设角度时,启动所述第一系统账户。A first activation submodule, configured to activate the first system account when the folding angle of the display screen is greater than or equal to a first preset angle, or the folding angle is less than or equal to a second preset angle.
可选地,所述启动模块包括:Optionally, the startup module includes:
第一确定子模块,用于确定所述显示屏的折叠角度的变化趋势;a first determination sub-module for determining a change trend of the folding angle of the display screen;
第二启动子模块,用于当所述变化趋势为预设趋势时,启动所述第一系统账户。The second activation sub-module is configured to activate the first system account when the change trend is a preset trend.
可选地,所述显示屏为柔性屏;Optionally, the display screen is a flexible screen;
所述确定模块用于:The determining module is used for:
确定所述形变操作作用在所述柔性屏上的应力值。A stress value acting on the flexible screen by the deformation operation is determined.
可选地,所述启动模块包括:Optionally, the startup module includes:
第三启动子模块,用于当所述应力值大于或等于预设应力值时,启动所述第一系统账户。A third activation sub-module, configured to activate the first system account when the stress value is greater than or equal to a preset stress value.
可选地,所述显示屏为柔性屏;Optionally, the display screen is a flexible screen;
所述确定模块用于:The determining module is used for:
确定所述形变操作作用在所述柔性屏之后所述柔性屏的形变量。Determine the amount of deformation of the flexible screen after the deformation operation acts on the flexible screen.
可选地,所述启动模块包括:Optionally, the startup module includes:
第四启动子模块,用于当所述形变量大于或等于预设形变量时,启动所述第一系统账户。The fourth activation sub-module is configured to activate the first system account when the deformation amount is greater than or equal to a preset deformation amount.
可选地,所述启动模块包括:Optionally, the startup module includes:
第一显示子模块,用于当检测到当前除所述第二系统账户之外不包括其他的系统账户时,显示第一提示信息,所述第一提示信息用于提示是否创建所述第一系统账户;The first display sub-module is configured to display first prompt information when it is detected that other system accounts are not included except the second system account, and the first prompt information is used to prompt whether to create the first system account system account;
第五启动子模块,用于当基于所述第一提示信息接收到所述创建指令时,创建并启动所述第一系统账户。A fifth activation submodule is configured to create and activate the first system account when the creation instruction is received based on the first prompt information.
可选地,所述启动模块包括:Optionally, the startup module includes:
第二显示子模块,用于当检测到当前包括多个系统账户时,显示第二提示信息,所述第二提示信息用于提示从所述多个系统账户中除所述第二系统账户之外的系统账户中选择所述第一系统账户;The second display sub-module is configured to display second prompt information when it is detected that multiple system accounts are currently included, and the second prompt information is used to prompt to remove the second system account from the multiple system accounts Select the first system account from the other system accounts;
第二确定子模块,用于当基于所述第二提示信息接收到选择指令时,将所述选择指令所选择的系统账户确定为所述第一系统账户;a second determination submodule, configured to determine the system account selected by the selection instruction as the first system account when a selection instruction is received based on the second prompt information;
第六启动子模块,用于启动所述第一系统账户。The sixth activation sub-module is used to activate the first system account.
第三方面,提供了一种终端,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述第一方面提供的任一所述方法的步骤。In a third aspect, a terminal is provided, including a memory, a processor, and a computer program stored in the memory and running on the processor, the processor implementing any of the methods provided in the first aspect when the processor executes the program. steps of the method described.
第四方面,提供了一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现上述第一方面提供的任一所述方法的步骤。In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, implements the steps of any of the methods provided in the first aspect above.
本发明实施例提供的技术方案带来的有益效果是:在本发明实施例中,在确定针对显示屏的形变操作对应的形变参数后,如果该形变参数满足预设条件,则可以启动第一系统账户,并将第一系统账户对应的界面显示在第一显示区域中,将第二系统账户对应的界面显示在第二显示区域。由于第一系统账户与第二系统账户相互独立,因此,用户在第一系统账户对应的界面进行的操作将不影响第二系统账户对应的界面进行显示,从而使多个用户能够同时使用同一显示屏且互不干扰,提高了显示屏的使用效率。The beneficial effects brought by the technical solutions provided in the embodiments of the present invention are: in the embodiments of the present invention, after determining the deformation parameters corresponding to the deformation operation of the display screen, if the deformation parameters satisfy the preset conditions, the first system account, the interface corresponding to the first system account is displayed in the first display area, and the interface corresponding to the second system account is displayed in the second display area. Since the first system account and the second system account are independent of each other, operations performed by the user on the interface corresponding to the first system account will not affect the display of the interface corresponding to the second system account, so that multiple users can use the same display at the same time The screens do not interfere with each other, which improves the use efficiency of the display screen.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.
图1是本发明实施例提供的一种界面显示方法的流程图;1 is a flowchart of an interface display method provided by an embodiment of the present invention;
图2A是本发明实施例提供的另一种界面显示方法的流程图;2A is a flowchart of another interface display method provided by an embodiment of the present invention;
图2B是本发明实施例提供的一种折叠角度的示意图;2B is a schematic diagram of a folding angle provided by an embodiment of the present invention;
图2C是本发明实施例提供的一种显示屏未发生形变前的界面显示示意图;2C is a schematic diagram of an interface display before a display screen provided by an embodiment of the present invention is not deformed;
图2D是本发明实施例提供的一种显示屏发生形变后的界面显示示意图;2D is a schematic diagram of an interface display after a display screen is deformed according to an embodiment of the present invention;
图3A是本发明实施例提供的一种界面显示装置的结构示意图;3A is a schematic structural diagram of an interface display device provided by an embodiment of the present invention;
图3B是本发明实施例提供的第一种启动模块的结构示意图;3B is a schematic structural diagram of a first startup module provided by an embodiment of the present invention;
图3C是本发明实施例提供的第二种启动模块的结构示意图;3C is a schematic structural diagram of a second startup module provided by an embodiment of the present invention;
图3D是本发明实施例提供的第三种启动模块的结构示意图;3D is a schematic structural diagram of a third startup module provided by an embodiment of the present invention;
图3E是本发明实施例提供的第四种启动模块的结构示意图;3E is a schematic structural diagram of a fourth startup module provided by an embodiment of the present invention;
图3F是本发明实施例提供的第五种启动模块的结构示意图;3F is a schematic structural diagram of a fifth startup module provided by an embodiment of the present invention;
图3G是本发明实施例提供的第六种启动模块的结构示意图;3G is a schematic structural diagram of a sixth startup module provided by an embodiment of the present invention;
图4是本发明实施例提供的一种终端的结构示意图;4 is a schematic structural diagram of a terminal provided by an embodiment of the present invention;
图5是本发明实施例提供的另一种终端的结构示意图;5 is a schematic structural diagram of another terminal provided by an embodiment of the present invention;
图6A是本发明实施例提供的一种外折叠终端的结构示意图;6A is a schematic structural diagram of an outer folding terminal provided by an embodiment of the present invention;
图6B是本发明实施例提供的一种外折叠终端在折叠状态下的示意图;6B is a schematic diagram of an outer folding terminal provided in an embodiment of the present invention in a folded state;
图6C是本发明实施例提供的一种内折叠终端的结构示意图;6C is a schematic structural diagram of an inner foldable terminal provided by an embodiment of the present invention;
图6D是本发明实施例提供的一种非对称折叠的外折叠终端的结构示意图。FIG. 6D is a schematic structural diagram of an asymmetrically folded externally folded terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
在对本发明实施例进行详细的解释说明之前,先对本发明实施例中涉及到的应用场景进行解释说明。Before explaining the embodiments of the present invention in detail, the application scenarios involved in the embodiments of the present invention are explained first.
目前,同一个终端可能会供多个用户使用,终端为了满足对不同用户的操作习惯,可以提供多系统账户。当多个用户中的任一用户在使用终端时,需要先将登录至该终端操作系统的其他用户的系统账户退出,并将自己注册的系统账户登录至该操作系统后,才可以使终端显示的界面为符合自己使用习惯的界面。但是,有时候当其中一个用户在使用该终端的过程中,另一个用户也希望可以使用该终端,此时另一个用户只能等待上一个用户使用完毕后,才能进行使用,从而降低了终端的使用效率。At present, the same terminal may be used by multiple users, and the terminal may provide multi-system accounts in order to satisfy the operating habits of different users. When any one of multiple users is using the terminal, it is necessary to log out of the system accounts of other users who log in to the operating system of the terminal, and log in to the operating system with the system account registered by himself before the terminal can display the The interface is the interface that conforms to your usage habits. However, sometimes when one of the users is using the terminal, the other user also wants to use the terminal. At this time, the other user can only use the terminal after the previous user has finished using it, thus reducing the terminal's ability to use it. Use efficiency.
基于上述场景,本发明实施例提供了一种界面显示方法,可以使多个用户同时使用终端,并且在使用过程中互不干扰,从而提高终端的使用效率。Based on the above scenario, an embodiment of the present invention provides an interface display method, which enables multiple users to use the terminal at the same time without interfering with each other during use, thereby improving the use efficiency of the terminal.
在对本发明实施例的应用场景进行介绍之后,接下来将结合附图对本发明实施例提供的界面显示方法进行详细介绍。After the application scenarios of the embodiments of the present invention are introduced, the interface display method provided by the embodiments of the present invention will be described in detail next with reference to the accompanying drawings.
图1为本发明实施例提供的一种界面显示方法的流程图,应用于具有可折叠显示屏的终端,参见图1,该方法应用于终端中,包括如下步骤。FIG. 1 is a flowchart of an interface display method provided by an embodiment of the present invention, which is applied to a terminal with a foldable display screen. Referring to FIG. 1 , the method applied to a terminal includes the following steps.
步骤101:当检测到针对显示屏的形变操作时,确定该形变操作对应的形变参数。Step 101: When a deformation operation for the display screen is detected, determine the deformation parameter corresponding to the deformation operation.
步骤102:当该形变参数满足预设条件时,启动第一系统账户。Step 102: When the deformation parameter satisfies the preset condition, activate the first system account.
其中,该第一系统账户为安装的操作系统对应的多个系统账户中除第二系统账户外的任一系统账户,该第二系统账户为未检测到该形变操作之前登录至该操作系统的系统账户。Wherein, the first system account is any one of the multiple system accounts corresponding to the installed operating system except the second system account, and the second system account is the one who logged in to the operating system before the deformation operation was detected. system account.
步骤103:将该第一系统账户对应的界面显示在第一显示区域中,将该第二系统账户对应的界面显示在第二显示区域中,该第一显示区域和该第二显示区域是由该显示屏发生形变后得到。Step 103: Display the interface corresponding to the first system account in the first display area, and display the interface corresponding to the second system account in the second display area, the first display area and the second display area are obtained after the display is deformed.
在本发明实施例中,在确定针对显示屏的形变操作对应的形变参数后,如果该形变参数满足预设条件,则可以启动第一系统账户,并将第一系统账户对应的界面显示在第一显示区域中,将第二系统账户对应的界面显示在第二显示区域。由于第一系统账户与第二系统账户相互独立,因此,用户在第一系统账户对应的界面进行的操作将不影响第二系统账户对应的界面进行显示,从而使多个用户能够同时使用同一显示屏且互不干扰,提高了显示屏的使用效率。In the embodiment of the present invention, after determining the deformation parameter corresponding to the deformation operation of the display screen, if the deformation parameter satisfies the preset condition, the first system account can be activated, and the interface corresponding to the first system account is displayed on the first system account. In a display area, the interface corresponding to the second system account is displayed in the second display area. Since the first system account and the second system account are independent of each other, operations performed by the user on the interface corresponding to the first system account will not affect the display of the interface corresponding to the second system account, so that multiple users can use the same display at the same time The screens do not interfere with each other, which improves the use efficiency of the display screen.
可选地,该显示屏为可折叠的显示屏;Optionally, the display screen is a foldable display screen;
确定该形变操作对应的形变参数,包括:Determine the deformation parameters corresponding to the deformation operation, including:
确定该形变操作作用在该显示屏之后该显示屏的折叠角度,该折叠角度为该显示屏折叠后形成的两个显示区域之间的角度。The folding angle of the display screen after the deformation operation acts on the display screen is determined, and the folding angle is an angle between two display areas formed after the display screen is folded.
可选地,当该形变参数满足预设条件时,启动第一系统账户,包括:Optionally, when the deformation parameter satisfies a preset condition, the first system account is activated, including:
当该显示屏的折叠角度大于或等于预设角度时,启动该第一系统账户。When the folding angle of the display screen is greater than or equal to a preset angle, the first system account is activated.
可选地,当该形变参数满足预设条件时,启动第一系统账户,包括:Optionally, when the deformation parameter satisfies a preset condition, the first system account is activated, including:
确定该显示屏的折叠角度的变化趋势;Determine the changing trend of the folding angle of the display screen;
当该变化趋势为预设趋势时,启动该第一系统账户。When the change trend is a preset trend, the first system account is activated.
可选地,该显示屏为柔性屏;Optionally, the display screen is a flexible screen;
确定该形变操作对应的形变参数,包括:Determine the deformation parameters corresponding to the deformation operation, including:
确定该形变操作作用在该柔性屏上的应力值。Determine the stress value that the deformation operation acts on the flexible screen.
可选地,当该形变参数满足预设条件时,启动第一系统账户,包括:Optionally, when the deformation parameter satisfies a preset condition, the first system account is activated, including:
当该应力值大于或等于预设应力值时,启动该第一系统账户。The first system account is activated when the stress value is greater than or equal to the preset stress value.
可选地,该显示屏为柔性屏;Optionally, the display screen is a flexible screen;
确定该形变操作对应的形变参数,包括:Determine the deformation parameters corresponding to the deformation operation, including:
确定该形变操作作用在该柔性屏之后该柔性屏的形变量。Determine the amount of deformation of the flexible screen after the deformation operation acts on the flexible screen.
可选地,当该形变参数满足预设条件时,启动第一系统账户,包括:Optionally, when the deformation parameter satisfies a preset condition, the first system account is activated, including:
当该形变量大于或等于预设形变量时,启动该第一系统账户。When the deformation amount is greater than or equal to a preset deformation amount, the first system account is activated.
可选地,启动第一系统账户,包括:Optionally, activating the first system account, including:
当检测到当前除该第二系统账户之外不包括其他的系统账户时,显示第一提示信息,该第一提示信息用于提示是否创建该第一系统账户;When it is detected that no other system account is currently included except the second system account, first prompt information is displayed, and the first prompt information is used to prompt whether to create the first system account;
当基于该第一提示信息接收到该创建指令时,创建并启动该第一系统账户。When the creation instruction is received based on the first prompt information, the first system account is created and activated.
可选地,启动第一系统账户,包括:Optionally, activating the first system account, including:
当检测到当前包括多个系统账户时,显示第二提示信息,该第二提示信息用于提示从该多个系统账户中除该第二系统账户之外的系统账户中选择该第一系统账户;When it is detected that multiple system accounts are currently included, second prompt information is displayed, and the second prompt information is used to prompt to select the first system account from system accounts other than the second system account among the multiple system accounts ;
当基于该第二提示信息接收到选择指令时,将该选择指令所选择的系统账户确定为该第一系统账户;When a selection instruction is received based on the second prompt information, the system account selected by the selection instruction is determined as the first system account;
启动该第一系统账户。The first system account is activated.
上述所有可选技术方案,均可按照任意结合形成本发明的可选实施例,本发明实施例对此不再一一赘述。All the above-mentioned optional technical solutions can be combined to form optional embodiments of the present invention, which are not repeated in this embodiment of the present invention.
图2A是本公开实施例提供的一种界面显示方法的流程图。本公开实施例将结合附图2A对上述图1所示的实施例进行详细的解释说明,参见图2A,该方法包括如下步骤。FIG. 2A is a flowchart of an interface display method provided by an embodiment of the present disclosure. The embodiment of the present disclosure will be described in detail with reference to FIG. 2A for the above-mentioned embodiment shown in FIG. 1 . Referring to FIG. 2A , the method includes the following steps.
步骤201:当终端检测到针对显示屏的形变操作时,确定形变操作对应的形变参数。Step 201: When the terminal detects a deformation operation for the display screen, determine the deformation parameters corresponding to the deformation operation.
需要说明的是,针对显示屏的形变操作是指能够使显示屏发生形变的操作,且使显示屏发生的形变通常为弯曲形变,因此,该形变操作可以为用户折叠终端的操作。It should be noted that the deformation operation for the display screen refers to an operation that can deform the display screen, and the deformation of the display screen is usually bending deformation. Therefore, the deformation operation may be an operation of the user to fold the terminal.
另外,在本发明实施例中,显示屏能够在形变操作的作用下发生形变,因此,该终端的显示屏可以是可折叠的显示屏,也可以是柔性屏,或者为其他可发生形变的显示屏。In addition, in this embodiment of the present invention, the display screen can be deformed under the action of the deformation operation. Therefore, the display screen of the terminal may be a foldable display screen, a flexible screen, or other deformable display screen. Screen.
其中,对于不同的显示屏,终端确定形变操作对应的形变参数是不同的。当显示屏为可折叠的显示屏时,终端可以确定形变操作作用在显示屏之后该显示屏的折叠角度,该折叠角度为该显示屏折叠后形成的两个显示区域之间的角度。当显示屏为柔性屏时,终端可以确定该形变操作作用在柔性屏上的应力值;或者,终端可以确定形变操作作用在柔性屏之后该柔性屏的形变量。下述分别对显示屏为可折叠的显示屏和柔性屏时,终端确定形变参数的操作方式进行解释说明。Wherein, for different display screens, the terminal determines that the deformation parameters corresponding to the deformation operation are different. When the display screen is a foldable display screen, the terminal can determine the folding angle of the display screen after the deformation operation acts on the display screen, and the folding angle is the angle between the two display areas formed after the display screen is folded. When the display screen is a flexible screen, the terminal can determine the stress value that the deformation operation acts on the flexible screen; or, the terminal can determine the deformation amount of the flexible screen after the deformation operation acts on the flexible screen. The following respectively explains the operation mode of determining the deformation parameters of the terminal when the display screen is a foldable display screen and a flexible screen.
显示屏为可折叠的显示屏The display is a foldable display
其中,由于显示屏在形变操作的作用下发生折叠时,折痕在显示屏的一个固定位置处,此时,终端折痕两边将形成两个显示区域,因此,该折痕所在位置处可以设置有角度传感器,当检测到针对显示屏的形变操作时,终端可以通过角度传感器检测该显示屏的折叠角度。Among them, when the display screen is folded under the action of the deformation operation, the crease is at a fixed position of the display screen. At this time, two display areas will be formed on both sides of the terminal crease. Therefore, the position of the crease can be set. There is an angle sensor. When a deformation operation on the display screen is detected, the terminal can detect the folding angle of the display screen through the angle sensor.
由上述可知,该折叠角度可以为显示屏折叠后形成的两个显示区域之间的角度,因此,该折叠角度可以为0度至360度中任一角度。比如,参考图2B,当显示屏被折叠后可以形成显示区域1和显示区域2,显示屏的折叠角度即为显示区域1和显示区域2之间的角度θ。而且,当显示屏为展开状态时,θ=180°;当显示屏被折叠且显示屏位于内侧时,即折痕两边的显示区域相互靠近时,0°≤θ<180°;当显示屏被折叠且显示屏位于外侧时,即折痕两边的显示区域相互远离时,180°<θ≤360°。其中,当显示屏朝内被最大限度地折叠,使得显示屏的两个显示区域相互贴合时,θ=0°;当显示屏朝外被最大限度地折叠,使得终端后壳相互贴合时,θ=360°。As can be seen from the above, the folding angle may be an angle between two display areas formed after the display screen is folded, and therefore, the folding angle may be any angle from 0 degrees to 360 degrees. For example, referring to FIG. 2B , when the display screen is folded, a display area 1 and a display area 2 can be formed, and the folding angle of the display screen is the angle θ between the display area 1 and the display area 2 . Moreover, when the display screen is unfolded, θ=180°; when the display screen is folded and the display screen is located inside, that is, when the display areas on both sides of the crease are close to each other, 0°≤θ<180°; When folded and the display screen is on the outside, that is, when the display areas on both sides of the crease are far away from each other, 180°<θ≤360°. Among them, when the display screen is folded to the maximum extent, so that the two display areas of the display screen are attached to each other, θ=0°; when the display screen is folded to the maximum extent, so that the back shells of the terminal are attached to each other , θ=360°.
显示屏为柔性屏The display is a flexible screen
其中,柔性屏中同样可以设置有应力感应器,当检测到针对柔性屏的形变操作时,终端可以通过应力感应器检测该柔性屏受到的应力,并确定该应力的应力值。Wherein, the flexible screen may also be provided with a stress sensor. When a deformation operation for the flexible screen is detected, the terminal can detect the stress on the flexible screen through the stress sensor, and determine the stress value of the stress.
另外,柔性屏中还可以设置有检测形变量的形变传感器,当检测到针对柔性屏的形变操作时,终端可以通过形变传感器检测柔性屏形变量。In addition, the flexible screen may also be provided with a deformation sensor for detecting the amount of deformation. When a deformation operation for the flexible screen is detected, the terminal may detect the amount of deformation of the flexible screen through the deformation sensor.
步骤202:当形变参数满足预设条件时,终端启动第一系统账户。Step 202: When the deformation parameter satisfies the preset condition, the terminal activates the first system account.
其中,第一系统账户为安装的操作系统对应的多个系统账户中除第二系统账户外的任一系统账户,第二系统账户为未检测到形变操作之前登录至操作系统的系统账户。The first system account is any system account except the second system account among the plurality of system accounts corresponding to the installed operating system, and the second system account is the system account that logs into the operating system before the deformation operation is detected.
需要说明的是,该预设条件可以事先设置,根据显示屏类型的不同,预设条件也不同。比如,当显示屏为可折叠的显示屏时,该预设条件可以为显示屏的折叠角度大于或等于第一预设角度,或折叠角度小于或等于第二预设角度,或者,该预设条件可以为该显示屏的折叠角度的变化趋势为预设趋势。当显示屏为柔性屏时,该预设条件可以为作用在柔性屏的应力的应力值大于或等于预设应力值,或者,该预设条件可以为柔性屏的形变量大于或等于预设形变量。其中,第一预设角度可以事先设置,比如,该第一预设角度可以为280度、270度等等,第二预设角度同样可以事先设置,比如,第二预设角度可以为150度、100度等等。该预设趋势可以事先设置,比如,该预设趋势可以为显示屏中折痕两边的显示区域相互靠近的趋势,或者,该预设趋势可以为显示屏中折痕两边的显示区域相互远离的趋势。同理,预设应力值可以事先设置,比如,该预设应力的应力值可以为5N/mm2(牛/每平方毫米)、6N/mm2等。该形变量同样可以事先设置,比如,该形变量可以为5、6等等。It should be noted that the preset conditions can be set in advance, and the preset conditions are also different according to different types of display screens. For example, when the display screen is a foldable display screen, the preset condition may be that the folding angle of the display screen is greater than or equal to the first preset angle, or the folding angle is less than or equal to the second preset angle, or the preset The condition may be that the change trend of the folding angle of the display screen is a preset trend. When the display screen is a flexible screen, the preset condition may be that the stress value of the stress acting on the flexible screen is greater than or equal to the preset stress value, or the preset condition may be that the deformation amount of the flexible screen is greater than or equal to the preset shape variable. The first preset angle can be set in advance, for example, the first preset angle can be 280 degrees, 270 degrees, etc., and the second preset angle can also be set in advance, for example, the second preset angle can be 150 degrees , 100 degrees, etc. The preset trend can be set in advance. For example, the preset trend can be a trend in which the display areas on both sides of the fold in the display screen are close to each other, or the preset trend can be a trend in which the display areas on both sides of the fold in the display screen are far away from each other. trend. Similarly, the preset stress value can be set in advance, for example, the stress value of the preset stress can be 5N/mm 2 (N/per square millimeter), 6N/mm 2 and so on. The deformation amount can also be set in advance, for example, the deformation amount can be 5, 6, and so on.
另外,根据预设条件的不同,终端确定形变参数是否满足预设条件,并在形变参数满足预设条件时,终端启动第一系统账户的操作也不同,可以包括如下四种方式。In addition, according to different preset conditions, the terminal determines whether the deformation parameters meet the preset conditions, and when the deformation parameters meet the preset conditions, the operation of the terminal to activate the first system account is also different, which may include the following four ways.
第一种方式,当显示屏为可折叠的显示屏时,终端可以将显示屏的折叠角度与预设角度进行比较,并当该显示屏的折叠角度大于或等于预设角度时,确定该形变参数满足预设条件,并启动第一系统账户。In the first way, when the display screen is a foldable display screen, the terminal can compare the folding angle of the display screen with the preset angle, and when the folding angle of the display screen is greater than or equal to the preset angle, determine the deformation The parameters meet the preset conditions, and the first system account is activated.
需要说明的是,当折叠角度小于或等于第二预设角度时,说明使显示屏发生形变的形变操作可以为使显示屏中折痕两边的显示区域相互靠近的操作,此时可能是一个用户希望同时操作终端的两个不同系统账户对应的两个界面的情况,因此,终端可以启动第一系统账户。当折叠角度大于或等于第一预设角度时,说明使显示屏发生形变的形变操作可以为使显示屏中折痕两边的显示区域相互远离的操作,此时可能是两个用户希望同时操作同一终端的情况,因此,终端同样可以启动第一系统账户。It should be noted that when the folding angle is less than or equal to the second preset angle, it means that the deformation operation to deform the display screen can be an operation to make the display areas on both sides of the crease in the display screen close to each other. At this time, it may be a user. In the case where it is desired to operate two interfaces corresponding to two different system accounts of the terminal at the same time, therefore, the terminal can activate the first system account. When the folding angle is greater than or equal to the first preset angle, it means that the deformation operation to deform the display screen can be an operation to move the display areas on both sides of the fold in the display screen away from each other. At this time, it may be that two users want to operate the same In the case of the terminal, therefore, the terminal can also activate the first system account.
其中,终端启动第一系统账户的情况可以包括如下三种情况。The situation in which the terminal activates the first system account may include the following three situations.
第一种情况,当终端检测到当前仅包括第一系统账户和第二系统账户时,终端可以直接启动第一系统账户。In the first case, when the terminal detects that only the first system account and the second system account are currently included, the terminal may directly activate the first system account.
第二种情况,当终端检测到当前除第二系统账户之外不包括其他的系统账户时,可以显示第一提示信息,该第一提示信息用于提示是否创建第一系统账户;当基于该第一提示信息接收到创建指令时,创建并启动第一系统账户。In the second case, when the terminal detects that no other system account is currently included except the second system account, it can display first prompt information, and the first prompt information is used to prompt whether to create a first system account; When the first prompt message receives the creation instruction, the first system account is created and activated.
由于当前终端仅包括第二系统账户时,终端已将该第二系统账户对应的界面进行了显示,因此,为了避免显示两个相同系统账户对应的界面,而导致用户在显示的两个相同界面中进行操作时造成干扰,此时终端可以第一显示提示信息,以提示用户新建一个系统账户。Since the current terminal only includes the second system account, the terminal has already displayed the interface corresponding to the second system account. Therefore, in order to avoid displaying the interfaces corresponding to the two identical system accounts, the user is caused to display two identical interfaces on the display. In this case, the terminal may first display a prompt message to prompt the user to create a new system account.
需要说明的是,该创建指令用于创建终端安装的操作系统的系统账户,该创建指令可以由用户通过指定操作触发,该指定操作可以为点击操作、滑动操作、语音操作等等。It should be noted that the creation instruction is used to create a system account of the operating system installed on the terminal, and the creation instruction may be triggered by a user through a specified operation, and the specified operation may be a click operation, a sliding operation, a voice operation, and the like.
第三种情况,当终端检测到当前包括多个系统账户时,显示第二提示信息,第二提示信息用于提示从该多个系统账户中除第二系统账户之外的系统账户中选择第一系统账户;当基于第二提示信息接收到选择指令时,将该选择指令所选择的系统账户确定为该第一系统账户;启动第一系统账户。In the third case, when the terminal detects that multiple system accounts are currently included, it displays second prompt information, and the second prompt information is used to prompt to select the first system account from the system accounts other than the second system account among the multiple system accounts. a system account; when a selection instruction is received based on the second prompt information, the system account selected by the selection instruction is determined as the first system account; the first system account is activated.
其中,当终端包括多个系统账户时,由于显示区域有限,因此,终端可能无法确定应该将多个系统账户中的哪个系统账户作为第一系统账户进行启动。因此,终端需要显示第二提示信息,以提示用户从多个系统账户中除第二系统账户之外的系统账户中进行选择。Wherein, when the terminal includes multiple system accounts, due to the limited display area, the terminal may not be able to determine which system account among the multiple system accounts should be activated as the first system account. Therefore, the terminal needs to display the second prompt information to prompt the user to select from system accounts other than the second system account among the multiple system accounts.
需要说明的是,该选择指令用于从多个系统账户中除第二系统账户之外的系统账户中选择第一系统账户,该选择指令可以由用户通过指定操作触发。It should be noted that the selection instruction is used to select the first system account from system accounts other than the second system account among the multiple system accounts, and the selection instruction may be triggered by a user through a specified operation.
另外,当终端检测到当前包括多个系统账户时,终端启动第一系统账户的方式不仅可以包括上述方式,还可以包括其他方式,比如,终端可以从历史选择记录中确定对应的界面显示次数最多的系统账户(除第二系统账户外的系统账户)为第一系统账户,或者随机确定一个系统账户(除第二系统账户外的系统账户)为第一系统账户,并启动该第一系统账户。或者,终端在确定第一系统账户后,显示第三提示信息,该第三提示信息用于提示用户是否启动终端从历史选择记录中确定的第一系统账户,当接收到确定选择指令时,启动终端确定的第一系统账户;当接收到取消选择指令时,显示第二提示信息,以提示用户从多个系统账户中除第二系统账户之外的系统账户中进行选择。In addition, when the terminal detects that multiple system accounts are currently included, the method for the terminal to activate the first system account may not only include the above method, but also include other methods. For example, the terminal may determine from the historical selection record that the corresponding interface is displayed the most times. The system account (the system account other than the second system account) is the first system account, or a system account (the system account other than the second system account) is randomly determined as the first system account, and the first system account is activated . Alternatively, after determining the first system account, the terminal displays third prompt information, where the third prompt information is used to prompt the user whether to activate the first system account determined by the terminal from the historical selection record, and when receiving the confirmation selection instruction, activate the The first system account determined by the terminal; when receiving the cancel selection instruction, second prompt information is displayed to prompt the user to select from system accounts other than the second system account among the multiple system accounts.
需要说明的是,确定选择指令用于指示确定启动终端从历史选择记录中确定的第一系统账户,该确定选择指令可以由用户通过指定操作触发。取消选择指令用于指示停止终端启动从历史选择记录中确定的第一系统账户,且该取消选择指令同样可以由用户通过指定操作触发。It should be noted that the determination selection instruction is used to instruct to determine the first system account determined by the startup terminal from the historical selection record, and the determination selection instruction may be triggered by a user through a specified operation. The cancel selection instruction is used to instruct the terminal to stop activating the first system account determined from the historical selection record, and the cancel selection instruction can also be triggered by the user through a specified operation.
值得说明的是,当终端通过折叠角度来启动第一系统账户时,由于折叠角度可以准确得到,因此,终端可以准确的抓住启动第一系统账户的时机。同时,当显示屏为可折叠的显示屏时,终端在形变操作的作用下发生的形变较为规则,从而方便了用户对终端的摆放和使用,提高了用户粘度。It should be noted that when the terminal activates the first system account through the folding angle, since the folding angle can be obtained accurately, the terminal can accurately seize the opportunity to activate the first system account. At the same time, when the display screen is a foldable display screen, the deformation of the terminal under the action of the deformation operation is relatively regular, which facilitates the placement and use of the terminal by the user and improves the user's viscosity.
第二种方式,当显示屏为可折叠的显示屏时,终端可以确定该显示屏的折叠角度的变化趋势;当该变化趋势为预设趋势时,启动该第一系统账户。In the second manner, when the display screen is a foldable display screen, the terminal can determine the change trend of the folding angle of the display screen; when the change trend is a preset trend, the first system account is activated.
其中,由于预设趋势可以为显示屏中折痕两边的显示区域相互靠近的趋势,或者,该预设趋势可以为显示屏中折痕两边的显示区域相互远离的趋势。当该折叠角度的变化趋势符合的预设趋势为显示屏中折痕两边的显示区域相互靠近的趋势时,说明此时可能是一个用户希望同时操作终端的两个不同系统账户对应的两个界面的情况,因此,终端可以启动第一系统账户。当该折叠角度的变化趋势符合的预设趋势为显示屏中折痕两边的显示区域相互远离的趋势时,说明此时可能是两个用户希望同时操作同一终端的情况,因此,终端同样可以启动第一系统账户。Wherein, the preset trend may be a trend in which the display areas on both sides of the crease in the display screen are close to each other, or the preset trend may be a trend in which the display areas on both sides of the crease in the display screen are far away from each other. When the change trend of the folding angle conforms to the preset trend that the display areas on both sides of the crease in the display screen are close to each other, it means that there may be two interfaces corresponding to two different system accounts that a user wishes to operate the terminal at the same time. situation, therefore, the terminal can activate the first system account. When the change trend of the folding angle conforms to the preset trend that the display areas on both sides of the creases in the display screen are moving away from each other, it means that two users may want to operate the same terminal at the same time. Therefore, the terminal can also be activated. First System Account.
需要说明的是,当该变化趋势为预设趋势时,终端启动该第一系统账户的操作参考上述第一种方式中终端启动第一系统账户的操作,本发明实施例对此不再进行一一赘述。It should be noted that, when the change trend is a preset trend, the operation of starting the first system account by the terminal refers to the operation of starting the first system account by the terminal in the above-mentioned first method, and this embodiment of the present invention does not perform any further steps. One more elaboration.
值得说明的是,终端通过第二种方式启动第一系统账户时,终端只要确定显示屏的折叠趋势就可以启动第一系统账户,由于使终端折叠的形变操作步骤简单易于实现,方便了多用户同时使用终端,提高了用户粘度。It is worth noting that when the terminal activates the first system account through the second method, the terminal can activate the first system account as long as it determines the folding trend of the display screen. Since the deformation operation steps of the terminal folding are simple and easy to implement, it is convenient for multiple users. Using the terminal at the same time improves user viscosity.
第三种方式,当显示屏为柔性屏时,终端可以将作用在柔性屏上的应力值与预设应力值进行比较,并当应力值大于或等于预设应力值时,启动第一系统账户。The third way, when the display screen is a flexible screen, the terminal can compare the stress value acting on the flexible screen with the preset stress value, and when the stress value is greater than or equal to the preset stress value, activate the first system account .
由于柔性屏易变形,当柔性屏上的应力值大于或等于预设应力值时,说明作用在柔性屏上的力较大,此时可能是用户对终端进行的形变操作,因此,终端可以启动第一系统账户。Since the flexible screen is easily deformed, when the stress value on the flexible screen is greater than or equal to the preset stress value, it means that the force acting on the flexible screen is relatively large. At this time, it may be a deformation operation performed by the user on the terminal. Therefore, the terminal can start First System Account.
另外,由于当终端检测到应力值时,可能仅仅是用户自握持终端时,终端检测到的应力的应力值,因此,当应力值小于预设应力值时,终端可以不做任何操作。In addition, when the terminal detects the stress value, it may only be the stress value of the stress detected by the terminal when the user holds the terminal by himself. Therefore, when the stress value is less than the preset stress value, the terminal may not perform any operation.
需要说明的是,当该当应力值大于或等于预设应力值时,终端启动该第一系统账户的操作参考上述第一种方式中终端启动第一系统账户的操作,本发明实施例对此不再进行一一赘述。It should be noted that, when the stress value is greater than or equal to the preset stress value, the operation of starting the first system account by the terminal refers to the operation of starting the first system account by the terminal in the above-mentioned first manner, and this embodiment of the present invention does not Let's repeat them one by one.
第四种方式,当显示屏为柔性屏时,终端可以将柔性屏的形变量与预设形变量进行比较,并当该形变量大于或等于预设形变量时,启动第一系统账户。In the fourth manner, when the display screen is a flexible screen, the terminal can compare the deformation amount of the flexible screen with the preset deformation amount, and activate the first system account when the deformation amount is greater than or equal to the preset deformation amount.
由于柔性屏易变形,当柔性屏的形变量大于或等于预设形变量时,说明作用在柔性屏上的作用力较大,此时可能是用户对终端进行的形变操作,因此,终端可以启动第一系统账户。Since the flexible screen is easily deformed, when the deformation of the flexible screen is greater than or equal to the preset deformation, it means that the force acting on the flexible screen is relatively large. At this time, it may be a deformation operation performed by the user on the terminal. Therefore, the terminal can start First System Account.
另外,由于柔性屏易变性,当终端检测到柔性屏的形变量时,可能仅仅是用户握持终端时,使柔性屏发生的形变时的形变量,因此,当形变量小于预设形变量时,终端可以不做任何操作。In addition, due to the variability of the flexible screen, when the terminal detects the amount of deformation of the flexible screen, it may only be the amount of deformation that occurs when the flexible screen is deformed when the user holds the terminal. Therefore, when the amount of deformation is less than the preset amount of deformation , the terminal can do nothing.
需要说明的是,当该形变量大于或等于预设形变量时,终端启动该第一系统账户的操作参考上述第一种方式中终端启动第一系统账户的操作,本发明实施例对此不再进行一一赘述。It should be noted that, when the deformation amount is greater than or equal to the preset deformation amount, the operation of starting the first system account by the terminal refers to the operation of starting the first system account by the terminal in the above-mentioned first method, and this embodiment of the present invention does not apply to this. Let's repeat them one by one.
值得说明的是,终端通过第三种方式和第四种方式启动第一用户账户时,由于柔性屏易变形,使柔性屏发生形变的操作也容易实施,只需用户对终端施加些许作用力即可,从而终端更容易检测到作用在柔性屏上的应力值和形变量,使终端更容易启动第一系统账户,方便了多用户同时使用终端,提高了用户粘度。It is worth noting that when the terminal activates the first user account through the third method and the fourth method, since the flexible screen is easily deformed, the operation of deforming the flexible screen is also easy to implement, as long as the user exerts a little force on the terminal. Yes, so that the terminal can more easily detect the stress value and deformation value acting on the flexible screen, which makes it easier for the terminal to activate the first system account, which facilitates multiple users to use the terminal at the same time, and improves user viscosity.
步骤203:终端将第一系统账户对应的界面显示在第一显示区域中,将第二系统账户对应的界面显示在第二显示区域中,第一显示区域和第二显示区域是由显示屏发生形变后得到。Step 203: The terminal displays the interface corresponding to the first system account in the first display area, and displays the interface corresponding to the second system account in the second display area, and the first display area and the second display area are generated by the display screen. obtained after deformation.
其中,当形变参数满足预设条件时,也即是,当显示屏发生形变,且相变参数满足预设条件时,终端可以将显示屏的显示区域划分为第一显示区域和第二显示区域,且终端在划分第一显示区域和第二显示区域时,终端可以以折痕为分界线进行划分,也可以以显示屏中的任一位置为分界线进行划分。Wherein, when the deformation parameters meet the preset conditions, that is, when the display screen is deformed and the phase change parameters meet the preset conditions, the terminal may divide the display area of the display screen into a first display area and a second display area , and when the terminal divides the first display area and the second display area, the terminal can be divided by a crease as a dividing line, or can be divided by any position on the display screen as a dividing line.
比如,当终端未发生形变之前,参见图2C,终端的显示屏上可以显示第二系统账户对应的界面,当终端发生形变后,形变参数满足预设条件时,参见图2D,终端可以将显示屏的显示区域划分为第一显示区域和第二显示区域,并将第一系统账户对应的界面显示在第一显示区域中,将第二系统账户对应的界面显示在第二显示区域中。For example, before the terminal is deformed, referring to FIG. 2C, the display screen of the terminal can display the interface corresponding to the second system account. After the terminal is deformed, when the deformation parameters meet the preset conditions, referring to FIG. 2D, the terminal can display the The display area of the screen is divided into a first display area and a second display area, and the interface corresponding to the first system account is displayed in the first display area, and the interface corresponding to the second system account is displayed in the second display area.
值得说明的是,由于第一显示区域显示第一系统账户对应的界面,第二显示区域显示第二系统账户对应的界面,且第一系统账户与第二系统账户相互独立,因此,基于第一系统账户运行的应用和基于第二系统账户运行的应用互不影响,比如,用户A可以在第一显示区域中运行多媒体播放应用,用户B可以在第二显示区域中运行游戏应用。同时,也使多个用户能够在同一终端上使用相同的应用,比如,用户A可以在第一显示区域中运行游戏应用A,用户B可以在第二显示区域中运行游戏应用B,实现用户A和用户B在同一终端上共同玩游戏的可能。It is worth noting that, since the first display area displays the interface corresponding to the first system account, the second display area displays the interface corresponding to the second system account, and the first system account and the second system account are independent of each other, therefore, based on the first system account The application running on the system account and the application running based on the second system account do not affect each other. For example, user A can run a multimedia playback application in the first display area, and user B can run a game application in the second display area. At the same time, it also enables multiple users to use the same application on the same terminal. For example, user A can run game application A in the first display area, and user B can run game application B in the second display area, so that user A can run game application B in the second display area. Possibility to play games together with user B on the same terminal.
在本发明实施例中,终端在确定针对显示屏的形变操作对应的形变参数后,可以确定形变参数是否满足预设条件,并在该形变参数满足预设条件时,启动第一系统账户。之后可以将第一系统账户对应的界面显示在第一显示区域中,将第二系统账户对应的界面显示在第二显示区域。由于第一系统账户与第二系统账户相互独立,因此,用户在第一系统账户对应的界面进行的操作将不影响第二系统账户对应的界面进行显示,从而使多个用户能够同时使用同一终端且互不干扰,提高了终端的使用效率。In the embodiment of the present invention, after determining the deformation parameter corresponding to the deformation operation of the display screen, the terminal may determine whether the deformation parameter satisfies the preset condition, and activate the first system account when the deformation parameter satisfies the preset condition. Afterwards, the interface corresponding to the first system account may be displayed in the first display area, and the interface corresponding to the second system account may be displayed in the second display area. Since the first system account and the second system account are independent of each other, operations performed by the user on the interface corresponding to the first system account will not affect the display of the interface corresponding to the second system account, so that multiple users can use the same terminal at the same time And they do not interfere with each other, which improves the use efficiency of the terminal.
在对本发明实施例提供的界面显示方法进行解释说明之后,接下来,对本发明提供的界面显示装置进行介绍。After the interface display method provided by the embodiment of the present invention is explained, next, the interface display device provided by the present invention is introduced.
图3A是本公开实施例提供的一种界面显示装置的框图,应用于具有可折叠显示屏的终端,参见图3A,该界面显示装置可以由软件、硬件或者两者的结合实现。该装置包括:确定模块301、启动模块302和显示模块303。3A is a block diagram of an interface display apparatus provided by an embodiment of the present disclosure, which is applied to a terminal with a foldable display screen. Referring to FIG. 3A , the interface display apparatus may be implemented by software, hardware, or a combination of the two. The apparatus includes: a determination module 301 , a startup module 302 and a display module 303 .
确定模块301,用于当检测到针对显示屏的形变操作时,确定所述形变操作对应的形变参数;A determination module 301, configured to determine a deformation parameter corresponding to the deformation operation when a deformation operation for the display screen is detected;
启动模块302,用于当所述形变参数满足预设条件时,启动第一系统账户;an activation module 302, configured to activate the first system account when the deformation parameter satisfies a preset condition;
其中,所述第一系统账户为安装的操作系统对应的多个系统账户中除第二系统账户外的任一系统账户,所述第二系统账户为未检测到所述形变操作之前登录至所述操作系统的系统账户;Wherein, the first system account is any system account except the second system account among the multiple system accounts corresponding to the installed operating system, and the second system account is to log in to the system before the deformation operation is detected. the system account of the operating system;
显示模块303,用于将所述第一系统账户对应的界面显示在第一显示区域中,将所述第二系统账户对应的界面显示在第二显示区域中,所述第一显示区域和所述第二显示区域是由所述显示屏发生形变后得到。The display module 303 is configured to display the interface corresponding to the first system account in the first display area, and display the interface corresponding to the second system account in the second display area, the first display area and all The second display area is obtained after the display screen is deformed.
可选地,所述显示屏为可折叠的显示屏;Optionally, the display screen is a foldable display screen;
所述确定模块301用于:The determining module 301 is used for:
确定所述形变操作作用在所述显示屏之后所述显示屏的折叠角度,所述折叠角度为所述显示屏折叠后形成的两个显示区域之间的角度。A folding angle of the display screen after the deformation operation acts on the display screen is determined, and the folding angle is an angle between two display areas formed after the display screen is folded.
可选地,参见图3B,所述启动模块302包括:Optionally, referring to FIG. 3B, the startup module 302 includes:
第一启动子模块3021,用于当所述显示屏的折叠角度大于或等于第一预设角度,或所述折叠角度小于或等于第二预设角度时,启动所述第一系统账户。The first activation sub-module 3021 is configured to activate the first system account when the folding angle of the display screen is greater than or equal to a first preset angle, or the folding angle is less than or equal to a second preset angle.
可选地,参见图3C,所述启动模块302包括:Optionally, referring to FIG. 3C, the startup module 302 includes:
第一确定子模块3022,用于确定所述显示屏的折叠角度的变化趋势;The first determination sub-module 3022 is used to determine the change trend of the folding angle of the display screen;
第二启动子模块3023,用于当所述变化趋势为预设趋势时,启动所述第一系统账户。The second activation sub-module 3023 is configured to activate the first system account when the change trend is a preset trend.
可选地,所述显示屏为柔性屏;Optionally, the display screen is a flexible screen;
所述确定模块301用于:The determining module 301 is used for:
确定所述形变操作作用在所述柔性屏上的应力值。A stress value acting on the flexible screen by the deformation operation is determined.
可选地,参见图3D,所述启动模块302包括:Optionally, referring to FIG. 3D, the startup module 302 includes:
第三启动子模块3024,用于当所述应力值大于或等于预设应力值时,启动所述第一系统账户。The third activation sub-module 3024 is configured to activate the first system account when the stress value is greater than or equal to a preset stress value.
可选地,所述显示屏为柔性屏;Optionally, the display screen is a flexible screen;
所述确定模块301用于:The determining module 301 is used for:
确定所述形变操作作用在所述柔性屏之后所述柔性屏的形变量。Determine the amount of deformation of the flexible screen after the deformation operation acts on the flexible screen.
可选地,参见图3E,所述启动模块302包括:Optionally, referring to FIG. 3E, the startup module 302 includes:
第四启动子模块3025,用于当所述形变量大于或等于预设形变量时,启动所述第一系统账户。The fourth activation sub-module 3025 is configured to activate the first system account when the deformation amount is greater than or equal to a preset deformation amount.
可选地,参见图3F,所述启动模块302包括:Optionally, referring to FIG. 3F, the startup module 302 includes:
第一显示子模块3026,用于当检测到当前除所述第二系统账户之外不包括其他的系统账户时,显示第一提示信息,所述第一提示信息用于提示是否创建所述第一系统账户;The first display sub-module 3026 is configured to display first prompt information when it is detected that the second system account does not currently include other system accounts, and the first prompt information is used to prompt whether to create the second system account. a system account;
第五启动子模块3027,用于当基于所述第一提示信息接收到所述创建指令时,创建并启动所述第一系统账户。The fifth activation sub-module 3027 is configured to create and activate the first system account when the creation instruction is received based on the first prompt information.
可选地,参见图3G,所述启动模块302包括:Optionally, referring to FIG. 3G, the startup module 302 includes:
第二显示子模块3028,用于当检测到当前包括多个系统账户时,显示第二提示信息,所述第二提示信息用于提示从所述多个系统账户中除所述第二系统账户之外的系统账户中选择所述第一系统账户;The second display sub-module 3028 is configured to display second prompt information when it is detected that multiple system accounts are currently included, where the second prompt information is used to prompt to remove the second system account from the multiple system accounts Select the first system account from other system accounts;
第二确定子模块3029,用于当基于所述第二提示信息接收到选择指令时,将所述选择指令所选择的系统账户确定为所述第一系统账户;The second determination sub-module 3029 is configured to, when a selection instruction is received based on the second prompt information, determine the system account selected by the selection instruction as the first system account;
第六启动子模块30210,用于启动所述第一系统账户。The sixth activation sub-module 30210 is used to activate the first system account.
综上所述,在本发明实施例中,终端在确定针对显示屏的形变操作对应的形变参数后,可以确定形变参数是否满足预设条件,并在该形变参数满足预设条件时,启动第一系统账户。之后可以将第一系统账户对应的界面显示在第一显示区域中,将第二系统账户对应的界面显示在第二显示区域。由于第一系统账户与第二系统账户相互独立,因此,用户在第一系统账户对应的界面进行的操作将不影响第二系统账户对应的界面进行显示,从而使多个用户能够同时使用同一终端且互不干扰,提高了终端的使用效率。To sum up, in this embodiment of the present invention, after determining the deformation parameter corresponding to the deformation operation for the display screen, the terminal may determine whether the deformation parameter satisfies the preset condition, and when the deformation parameter satisfies the preset condition, start the first A system account. Afterwards, the interface corresponding to the first system account may be displayed in the first display area, and the interface corresponding to the second system account may be displayed in the second display area. Since the first system account and the second system account are independent of each other, operations performed by the user on the interface corresponding to the first system account will not affect the display of the interface corresponding to the second system account, so that multiple users can use the same terminal at the same time And they do not interfere with each other, which improves the use efficiency of the terminal.
需要说明的是:上述实施例提供的界面显示装置在显示界面时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的界面显示装置与界面显示方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the interface display device provided by the above-mentioned embodiment displays the interface, only the division of the above-mentioned functional modules is used as an example for illustration. The internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the interface display device and the interface display method provided by the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiment, which will not be repeated here.
参见图4和图5所示,其示出了本申请一个示例性实施例提供的终端400的结构方框图。该终端400包括图3A-3C中所示的信息显示装置。该终端可以是手机、平板电脑、笔记本电脑和电子书等。本申请中的终端400可以包括一个或多个如下部件:处理器410、存储器420和触摸显示屏430。Referring to FIG. 4 and FIG. 5, it shows a structural block diagram of a terminal 400 provided by an exemplary embodiment of the present application. The terminal 400 includes the information display device shown in FIGS. 3A-3C. The terminal may be a mobile phone, a tablet computer, a notebook computer, an e-book, and the like. The terminal 400 in this application may include one or more of the following components: a processor 410 , a memory 420 and a touch display screen 430 .
处理器410可以包括一个或者多个处理核心。处理器410利用各种接口和线路连接整个终端400内的各个部分,通过运行或执行存储在存储器420内的指令、程序、代码集或指令集,以及调用存储在存储器420内的数据,执行终端400的各种功能和处理数据。可选地,处理器410可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器410可集成中央处理器(CentralProcessing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责触摸显示屏430所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器410中,单独通过一块芯片进行实现。Processor 410 may include one or more processing cores. The processor 410 uses various interfaces and lines to connect various parts in the entire terminal 400, and executes the terminal by running or executing the instructions, programs, code sets or instruction sets stored in the memory 420, and calling the data stored in the memory 420. 400 various functions and processing data. Optionally, the processor 410 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. The processor 410 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 that needs to be displayed on the touch screen 430; the modem is used for processing wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 410, and is implemented by a single chip.
存储器420可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选地,该存储器420包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器420可用于存储指令、程序、代码、代码集或指令集。存储器420可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储根据终端400的使用所创建的数据(比如音频数据、电话本)等。The memory 420 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Optionally, the memory 420 includes a non-transitory computer-readable storage medium. Memory 420 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 420 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 above method embodiments; the storage data area may store data (such as audio data, phone book) and the like created according to the use of the terminal 400 .
以操作系统为安卓(Android)系统为例,存储器420中存储的程序和数据如图4所示,存储器420中存储有Linux内核层520、系统运行库层540、应用框架层560和应用层580。Linux内核层520为终端400的各种硬件提供了底层的驱动,如显示驱动、音频驱动、摄像头驱动、蓝牙驱动、Wi-Fi驱动、电源管理等。系统运行库层540通过一些C/C++库来为Android系统提供了主要的特性支持。如SQLite库提供了数据库的支持,OpenGL/ES库提供了3D绘图的支持,Webkit库提供了浏览器内核的支持等。在系统运行库层540中还提供有安卓运行时库(Android Runtime),它主要提供了一些核心库,能够允许开发者使用Java语言来编写Android应用。应用框架层560提供了构建应用程序时可能用到的各种API,开发者也可以通过使用这些API来构建自己的应用程序,比如活动管理、窗口管理、视图管理、通知管理、内容提供者、包管理、通话管理、资源管理、定位管理。应用层580中运行有至少一个应用程序,这些应用程序可以是操作系统自带的联系人程序、短信程序、时钟程序、相机应用等;也可以是第三方开发者所开发的应用程序,比如即时通信程序、相片美化程序等。Taking the Android system as the operating system as an example, the programs and data stored in the memory 420 are shown in FIG. 4 , and the memory 420 stores the Linux kernel layer 520 , the system runtime layer 540 , the application framework layer 560 and the application layer 580 . The Linux kernel layer 520 provides underlying drivers for various hardware of the terminal 400, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, and the like. The system runtime layer 540 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 540, which mainly provides some core libraries, which can allow developers to use the Java language to write Android applications. The application framework layer 560 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 580, 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; or an application program developed by a third-party developer, such as instant messaging. Communication programs, photo beautification programs, etc.
以操作系统为IOS系统为例,存储器420中存储的程序和数据如图5所示,IOS系统包括:核心操作系统层620(Core OS layer)、核心服务层640(Core Services layer)、媒体层660(Media layer)、可触摸层680(Cocoa Touch Layer)。核心操作系统层620包括了操作系统内核、驱动程序以及底层程序框架,这些底层程序框架提供更接近硬件的功能,以供位于核心服务层640的程序框架所使用。核心服务层640提供给应用程序所需要的系统服务和/或程序框架,比如基础(Foundation)框架、账户框架、广告框架、数据存储框架、网络连接框架、地理位置框架、运动框架等等。媒体层660为应用程序提供有关视听方面的接口,如图形图像相关的接口、音频技术相关的接口、视频技术相关的接口、音视频传输技术的无线播放(AirPlay)接口等。可触摸层680为应用程序开发提供了各种常用的界面相关的框架,可触摸层680负责用户在终端400上的触摸交互操作。比如本地通知服务、远程推送服务、广告框架、游戏工具框架、消息用户界面接口(User Interface,UI)框架、用户界面UIKit框架、地图框架等等。Taking the operating system as the IOS system as an example, the programs and data stored in the memory 420 are shown in FIG. 5 . The IOS system includes: a core operating system layer 620 (Core OS layer), a core service layer 640 (Core Services layer), a media layer 660 (Media layer), touchable layer 680 (Cocoa Touch Layer). The core operating system layer 620 includes the operating system kernel, drivers, and underlying program frameworks, which provide functions closer to hardware for use by the program frameworks located in the core service layer 640 . The core service layer 640 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 660 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 680 provides various commonly used interface-related frameworks for application development, and the touchable layer 680 is responsible for the user's touch interaction operation on the terminal 400 . 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.
在图5所示出的框架中,与大部分应用程序有关的框架包括但不限于:核心服务层640中的基础框架和可触摸层680中的UIKit框架。基础框架提供许多基本的对象类和数据类型,为所有应用程序提供最基本的系统服务,和UI无关。而UIKit框架提供的类是基础的UI类库,用于创建基于触摸的用户界面,iOS应用程序可以基于UIKit框架来提供UI,所以它提供了应用程序的基础架构,用于构建用户界面,绘图、处理和用户交互事件,响应手势等等。Among the frameworks shown in FIG. 5 , the frameworks related to most applications include but are not limited to: the basic framework in the core service layer 640 and the UIKit framework in the touchable layer 680 . 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.
触摸显示屏430用于接收用户使用手指、触摸笔等任何适合的物体在其上或附近的触摸操作,以及显示各个应用程序的用户界面。触摸显示屏430通常设置在终端400的前面板。The touch display screen 430 is used to receive a user's touch operation on or near it using any suitable object such as a finger, a stylus pen, and the like, and to display user interfaces of various application programs. The touch display screen 430 is generally disposed on the front panel of the terminal 400 .
如图6A所示,终端400包括第一壳体71、第二壳体72以及连接于第一壳体71和第二壳体72之间的连接组件73,第一壳体71与第二壳体72通过连接组件73实现翻转折叠。As shown in FIG. 6A , the terminal 400 includes a first casing 71 , a second casing 72 and a connecting assembly 73 connected between the first casing 71 and the second casing 72 . The first casing 71 and the second casing The body 72 is flipped and folded through the connecting assembly 73 .
第一壳体71包括与触摸显示屏背面连接的第一支撑面,以及与第一支撑面相对的第一背面,第二壳体72包括与触摸显示屏背面连接的第二支撑面,以及与第二支撑面相对的第二背面。相应的,触摸显示屏包括第一显示区域431、第二显示区域432和第三显示区域433,其中,第一显示区域431与第一壳体71的位置对应,第二显示区域432与第二壳体72的位置对应,第三显示区域433与连接组件73的位置对应。在一种实现方式中,第一显示区域431、第二显示区域432和第三显示区域433均采用柔性材料制成,具有一定的伸缩延展性;在另一种实现方式中,仅第三显示区域433采用柔性材料制成,第一显示区域431和第二显示区域432采用非柔性材料制成。The first housing 71 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 the second housing 72 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 a first display area 431 , a second display area 432 and a third display area 433 , wherein the first display area 431 corresponds to the position of the first casing 71 , and the second display area 432 corresponds to the second display area 432 . The position of the housing 72 corresponds to the position of the third display area 433 corresponds to the position of the connection assembly 73 . In one implementation, the first display area 431 , the second display area 432 and the third display area 433 are all made of flexible materials and have certain flexibility and extensibility; in another implementation, only the third display area is The area 433 is made of flexible material, and the first display area 431 and the second display area 432 are made of non-flexible material.
在一种可选的实现方式中,终端400的连接组件73采用手动结构。用户手动分离第一壳体71和第二壳体72时,终端400由折叠状态变为展开状态;用户手动合拢第一壳体71和第二壳体72时,终端400由展开状态变为折叠状态。In an optional implementation manner, the connection component 73 of the terminal 400 adopts a manual structure. When the user manually separates the first housing 71 and the second housing 72, the terminal 400 changes from the folded state to the unfolded state; when the user manually closes the first housing 71 and the second housing 72, the terminal 400 changes from the unfolded state to the folded state state.
在另一种可选的实现方式中,终端400的连接组件73采用电动结构,比如,连接组件73中设置有电动马达一类的电动旋转部件。在电动旋转部件的带动下,第一壳体71和第二壳体72自动实现合拢或分离,从而使终端400具备展开和折叠两种状态。In another optional implementation manner, the connection assembly 73 of the terminal 400 adopts an electric structure. For example, the connection assembly 73 is provided with an electric rotating component such as an electric motor. Driven by the electric rotating component, the first casing 71 and the second casing 72 are automatically closed or separated, so that the terminal 400 has two states of unfolding and folding.
按照折叠状态下触摸显示屏是否外露进行划分,终端400可以被划分为外显示屏终端和内显示屏终端。其中:According to whether the touch display screen is exposed in the folded state, the terminal 400 can be divided into an outer display screen terminal and an inner display screen terminal. in:
外显示屏终端External display terminal
外显示屏终端是指可折叠角度为180°,且在折叠状态下,触摸显示屏全部外露的终端。如图6A所示,终端400为外显示屏终端。展开状态下,终端400的第一壳体71的第一支撑面与第二壳体72的第二支撑面相齐平(即夹角为180°),且触摸显示屏的第一显示区域431、第二显示区域432和第三显示区域433位于同一平面;终端400由展开状态变为折叠状态过程中,如图6A所示,第一壳体71的第一背面与第二壳体72的第二背面相靠拢,第一支撑面与第二支撑面的夹角由180°变为0°;折叠状态下,如图6B所示,终端400的第一壳体71的第一支撑面与第二壳体72的第二支撑面相平行(第一壳体71与第二壳体72的夹角为0°),使得触摸显示屏处于U型折叠状态,其中,触摸显示屏的第三显示区域433形成外露的U型弧面。A terminal with an external display screen refers to a terminal with a foldable angle of 180°, and in the folded state, the touch screen display is completely exposed. As shown in FIG. 6A , the terminal 400 is an external display screen terminal. In the unfolded state, the first support surface of the first housing 71 of the terminal 400 is flush with the second support surface of the second housing 72 (that is, the included angle is 180°), and the first display area 431, The second display area 432 and the third display area 433 are located on the same plane; when the terminal 400 changes from the unfolded state to the folded state, as shown in FIG. 6A , the first back surface of the first housing 71 and the second housing 72 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. 6B , the first support surface of the first housing 71 of the terminal 400 and the second support surface The second supporting surfaces of the two casings 72 are parallel (the angle between the first casing 71 and the second casing 72 is 0°), so that the touch screen is in a U-shaped folded state, wherein the third display area of the touch screen 433 forms an exposed U-shaped arc surface.
在一种可选的实现方式中,在折叠状态下,触摸显示屏的全部或部分显示区域用于显示用户界面。比如,如图6B所示,折叠状态下,仅第二显示区域432用于显示用户界面,或,仅第一显示区域431用于显示用户界面,或,仅第三显示区域433用于显示用户界面。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. 6B , in the folded state, only the second display area 432 is used to display the user interface, or only the first display area 431 is used to display the user interface, or only the third display area 433 is used to display the user interface interface.
内显示屏终端internal display terminal
内显示屏终端是指可折叠角度为180°,且在折叠状态下,触摸显示屏(全部或部分)内敛的终端。如图6C所示,终端400为内显示屏终端。展开状态下,终端400的第一壳体71的第一支撑面与第二壳体72的第二支撑面相齐平(即夹角为180°),使得触摸显示屏处于平面展开状态(第一显示区域431、第二显示区域432和第三显示区域433位于同一平面);终端400由展开状态变为折叠状态过程中,如图6C所示,第一壳体71的第一支撑面与第二壳体72的第二支撑面相靠拢,即第一支撑面与第二支撑面的夹角由180°变为0°;折叠状态下,终端400的第一壳体71的第一支撑面与第二壳体72的第二支撑面相平行,使得触摸显示屏处于U型折叠状态,其中,触摸显示屏的第三显示区域433形成内敛的U型弧面。在一种可选的实现方式中,在折叠状态下,触摸显示屏的全部显示区域均不显示用户界面。A terminal with an inner display 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. 6C , the terminal 400 is an internal display screen terminal. In the unfolded state, the first support surface of the first housing 71 of the terminal 400 is flush with the second support surface of the second housing 72 (that is, the included angle is 180°), so that the touch display screen is in a flat unfolded state (the first The display area 431 , the second display area 432 and the third display area 433 are located on the same plane); during the process of changing the terminal 400 from the unfolded state to the folded state, as shown in FIG. 6C , the first supporting surface of the first housing 71 and the third The second support surfaces of the two housings 72 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 the first housing 71 of the terminal 400 and The second supporting surfaces of the second casing 72 are parallel, so that the touch display screen is in a U-shaped folded state, wherein the third display area 433 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.
除了在壳体的支撑面上设置触摸显示屏外,第一壳体71的第一背面和/或第二壳体72的第二背面上也可以设置触摸显示屏。内显示屏终端处于折叠状态时,设置在壳体背面的触摸显示屏用于显示用户界面,该用户界面与展开状态下触摸显示屏显示的用户界面相同或不同。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 of the first casing 71 and/or the second back of the second casing 72 . When the terminal with the internal display screen is in a folded state, the touch display screen disposed on the back of the casing is used to display a user interface, which is the same or different from the user interface displayed by the touch screen in the unfolded state.
在其他可能的实现方式中,终端400的可折叠角度还可以为360°(既可以内折也可以外折),且在折叠状态下,触摸显示屏外露或内敛的终端,本实施例对此不加以限定。In other possible implementation manners, the foldable angle of the terminal 400 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.
图6A至图6C所示的终端400中,第一壳体71和第二壳体72尺寸相同或相近,终端400的折叠方式被称为对称折叠。在其他可能的实现方式中,终端400的折叠方式还可以为非对称折叠。采用非对称折叠时,第一壳体71和第二壳体72的尺寸可以不同或尺寸相差大于阈值(比如50%或60%或70%),相应的,触摸显示屏中第一显示区域431的面积与第二显示区域432的面积相差大于阈值。In the terminal 400 shown in FIGS. 6A to 6C , the first casing 71 and the second casing 72 are the same or similar in size, and the folding method of the terminal 400 is called symmetrical folding. In other possible implementation manners, the folding manner of the terminal 400 may also be asymmetrical folding. When asymmetrical folding is adopted, the size of the first casing 71 and the second casing 72 may be different or the difference in size may be greater than a threshold (eg 50% or 60% or 70%). Correspondingly, the first display area 431 in the touch screen The difference between the area of and the area of the second display area 432 is greater than the threshold.
示意性的,如图6D所示,终端400为非对称折叠的外显示屏终端,第一壳体71的尺寸大于第二壳体72的尺寸。折叠状态下,第一显示区域431的面积大于第二显示区域432的面积。Illustratively, as shown in FIG. 6D , the terminal 400 is an asymmetrically folded external display screen terminal, and the size of the first casing 71 is larger than the size of the second casing 72 . In the folded state, the area of the first display area 431 is larger than that of the second display area 432 .
图6A至6D中,仅以终端400包含两部分壳体以及一个用于连接壳体的连接组件为例进行示意性说明(终端为两折结构),在另一些可能的实现方式中,终端400可以包含n部分壳体以及n-1个连接组件,相应的,终端400的触摸显示屏中包含2n-1块显示区域,与连接组件对应的n-1块显示区域采用柔性材料制成,从而实现n折结构的终端,本实施例对此不加以限定。In FIGS. 6A to 6D , only the terminal 400 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 400 It may include n parts of the housing and n-1 connection components. Correspondingly, the touch display screen of the terminal 400 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.
终端400中还设置有至少一种其他部件,该至少一种其他部件包括:摄像头、指纹传感器、接近光传感器、距离传感器等。在一些实施例中,至少一种其他部件设置在终端400的正面、侧边或背面,比如将指纹传感器设置在壳体的背面或侧边、将摄像头设置在触摸显示屏430的上方。The terminal 400 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 400 , for example, a fingerprint sensor is disposed on the back or side of the housing, and a camera is disposed above the touch display screen 430 .
在另一些实施例中,至少一种其他部件可以集成在触摸显示屏430的内部或下层。在一些实施例中,将骨传导式的听筒设置在终端400的内部;将传统终端的前面板上的其他部件集成在触摸显示屏430的全部区域或部分区域中,比如将摄像头中的感光元件拆分为多个感光像素后,将每个感光像素集成在触摸显示屏430中每个显示像素中的黑色区域中,使得触摸显示屏430具备图像采集功能。由于将至少一种其他部件集成在了触摸显示屏430的内部或下层,因此终端400具有更高的屏占比。In other embodiments, at least one other component may be integrated inside or under the touch display screen 430 . In some embodiments, the bone conduction earpiece is arranged inside the terminal 400; other components on the front panel of the conventional terminal are integrated in the whole area or part of the area of the touch display screen 430, for example, the photosensitive element in the camera is integrated After being split into a plurality of photosensitive pixels, each photosensitive pixel is integrated into a black area in each display pixel in the touch display screen 430 , so that the touch display screen 430 has an image capture function. Since at least one other component is integrated inside or under the touch display screen 430, the terminal 400 has a higher screen ratio.
在一些可选的实施例中,终端400的中框的单个侧边,或两个侧边(比如左、右两个侧边),或四个侧边(比如上、下、左、右四个侧边)上设置有边缘触控传感器,该边缘触控传感器用于检测用户在中框上的触摸操作、点击操作、按压操作和滑动操作等中的至少一种操作。该边缘触控传感器可以是触摸传感器、热力传感器、压力传感器等中的任意一种。用户可以在边缘触控传感器上施加操作,对终端400中的应用程序进行控制。In some optional embodiments, the middle frame of the terminal 400 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 the terminal 400 .
除此之外,本领域技术人员可以理解,上述附图所示出的终端400的结构并不构成对终端400的限定,终端400可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端400中还包括射频电路、输入单元、传感器、音频电路、无线保真(Wireless Fidelity,WiFi)模块、电源、蓝牙模块等部件,在此不再赘述。In addition, those skilled in the art can understand that the structure of the terminal 400 shown in the above drawings does not constitute a limitation on the terminal 400, and the terminal 400 may include more or less components than those shown in the drawings, or a combination of certain components may be included. some components, or a different arrangement of components. For example, the terminal 400 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 will not be repeated here.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意结合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如:同轴电缆、光纤、数据用户线(Digital Subscriber Line,DSL))或无线(例如:红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如:软盘、硬盘、磁带)、光介质(例如:数字通用光盘(Digital Versatile Disc,DVD))、或者半导体介质(例如:固态硬盘(Solid State Disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission is performed to another website site, computer, server or data center by wire (eg coaxial cable, optical fiber, Digital Subscriber Line, DSL) or wireless (eg infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media. The usable media may be magnetic media (eg: floppy disk, hard disk, magnetic tape), optical media (eg: Digital Versatile Disc (DVD)), or semiconductor media (eg: Solid State Disk (SSD)) )Wait.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。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 are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710975660.5A CN107635036B (en) | 2017-10-19 | 2017-10-19 | Interface display method, device, terminal and computer readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710975660.5A CN107635036B (en) | 2017-10-19 | 2017-10-19 | Interface display method, device, terminal and computer readable storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107635036A CN107635036A (en) | 2018-01-26 |
| CN107635036B true CN107635036B (en) | 2019-09-10 |
Family
ID=61104802
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710975660.5A Expired - Fee Related CN107635036B (en) | 2017-10-19 | 2017-10-19 | Interface display method, device, terminal and computer readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107635036B (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108616624A (en) * | 2018-05-15 | 2018-10-02 | Oppo广东移动通信有限公司 | Electronic device and control method thereof |
| CN108449461A (en) * | 2018-05-25 | 2018-08-24 | Oppo广东移动通信有限公司 | Foldable device |
| US10788860B2 (en) | 2018-05-25 | 2020-09-29 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Display screen component and foldable device having same |
| CN112703480A (en) * | 2018-10-29 | 2021-04-23 | 深圳市柔宇科技股份有限公司 | Control method of folding mobile terminal and folding mobile terminal |
| CN109947298B (en) * | 2019-03-28 | 2022-08-19 | 努比亚技术有限公司 | System calling method, terminal and computer readable storage medium |
| CN110209275B (en) * | 2019-05-27 | 2022-03-11 | 维沃移动通信有限公司 | Terminal control method and terminal |
| CN114816151A (en) * | 2022-04-29 | 2022-07-29 | 北京达佳互联信息技术有限公司 | Interface display method, device, equipment, storage medium and program product |
| CN115994940B (en) * | 2022-11-09 | 2023-12-08 | 荣耀终端有限公司 | Crease degree testing method and equipment for folding screen equipment and storage medium |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100011291A1 (en) * | 2008-07-10 | 2010-01-14 | Nokia Corporation | User interface, device and method for a physically flexible device |
| CN103258491B (en) * | 2012-02-20 | 2016-06-01 | 联想(北京)有限公司 | Method for controlling electronic equipment and electronic equipment |
| CN106020473A (en) * | 2016-05-19 | 2016-10-12 | 上海卓易科技股份有限公司 | Interface operation method and system |
| CN106686423B (en) * | 2016-12-30 | 2018-03-20 | 惠科股份有限公司 | Multi-picture display method and display device |
-
2017
- 2017-10-19 CN CN201710975660.5A patent/CN107635036B/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN107635036A (en) | 2018-01-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107635036B (en) | Interface display method, device, terminal and computer readable storage medium | |
| CN107870716B (en) | Method and device for calling background application | |
| CN109710206B (en) | Method, device, terminal and storage medium for displaying information | |
| CN107807773B (en) | Application body distinguishing method, device, terminal and storage medium | |
| CN107704177B (en) | Interface display method and device and terminal | |
| CN107728901B (en) | Interface display method and device and terminal | |
| CN107765959B (en) | Background application display method and terminal | |
| CN107770477B (en) | Video call method, device, terminal and storage medium | |
| CN107870724B (en) | Display screen unfolding method and device and terminal | |
| CN107831999B (en) | Screen control method and device and terminal | |
| CN107678724A (en) | An information display method, device, mobile terminal and storage medium | |
| CN107844228A (en) | Message display method, device and terminal | |
| CN107623763B (en) | Method and apparatus for editing images | |
| CN107577414A (en) | The method and mobile terminal of split screen display available | |
| CN111435277B (en) | Method, device, terminal and storage medium for displaying content | |
| CN107885277B (en) | A method, device, mobile terminal and storage medium for adjusting the angle of a display screen | |
| CN107678826A (en) | interface display method, device, mobile terminal and storage medium | |
| CN107688430B (en) | Method, device, terminal and storage medium for replacing wallpaper | |
| CN107728885A (en) | Multi-task control method, device, mobile terminal and storage medium | |
| CN107613118A (en) | Method, device, mobile terminal and storage medium for enabling shortcut function | |
| CN107786740A (en) | Incoming call control method, device, terminal and computer-readable storage medium | |
| CN107766023A (en) | Information display method, device, terminal and storage medium | |
| CN107589903A (en) | Method and device for displaying multi-page display information | |
| CN107506086A (en) | Touch screen control method, device, mobile terminal and storage medium | |
| CN107656578A (en) | terminal control method, device, terminal and storage medium |
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 | ||
| CB02 | Change of applicant information | ||
| CB02 | Change 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. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190910 |