WO2020132866A1 - Display method, electronic device, and storage medium - Google Patents

Display method, electronic device, and storage medium Download PDF

Info

Publication number
WO2020132866A1
WO2020132866A1 PCT/CN2018/123491 CN2018123491W WO2020132866A1 WO 2020132866 A1 WO2020132866 A1 WO 2020132866A1 CN 2018123491 W CN2018123491 W CN 2018123491W WO 2020132866 A1 WO2020132866 A1 WO 2020132866A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual keyboard
expanded size
display screen
threshold
flexible display
Prior art date
Application number
PCT/CN2018/123491
Other languages
French (fr)
Chinese (zh)
Inventor
黄晓
Original Assignee
深圳市柔宇科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市柔宇科技有限公司 filed Critical 深圳市柔宇科技有限公司
Priority to PCT/CN2018/123491 priority Critical patent/WO2020132866A1/en
Priority to CN201880095921.7A priority patent/CN112639679A/en
Publication of WO2020132866A1 publication Critical patent/WO2020132866A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer

Definitions

  • the present invention relates to the field of display technology, and in particular, to a display method, electronic equipment, and storage medium.
  • the keyboard is widely used in life as an external input device for electronic devices such as computers and notebooks.
  • electronic devices such as computers and notebooks.
  • users are increasingly demanding the portability and diversification of electronic devices, and flexible keyboards have emerged.
  • the display form of the existing flexible keyboard is fixed and cannot be adjusted adaptively according to user needs, and the user experience is poor.
  • the object of the present invention is to provide a display method, an electronic device and a storage medium.
  • the expanded size detector, the display control method includes: detecting the expanded size of the flexible display screen expanded from the housing; controlling the flexible display screen to display virtual keyboards of different forms according to the expanded size, the Different shapes of virtual keyboards are virtual keyboards with different sizes or different placement directions.
  • the present invention also provides an electronic device, the electronic device includes: a housing; a flexible display screen, the flexible display screen can be curled and received in the housing; a detector for detecting the flexible display screen An expanded size of the casing; a memory for storing a computer executable program; and a processor for executing the computer executable program to implement the display control method, the display control method including: detecting the The expanded size of the flexible display screen unfolded from the housing, wherein the unfolded size is detected by the detector; the flexible display screen is controlled to display different forms of virtual keyboards according to the unfolded size, the different forms of virtual The keyboard is a virtual keyboard with different sizes or different placement directions.
  • the present invention also provides a storage medium that stores a computer-executable program, and when the computer-executable program is called by a computer, causes the computer to execute the foregoing display method.
  • the display method, the electronic device and the storage medium provided by the present invention can control the display form of the virtual keyboard according to the expanded size of the flexible display screen, and realize the virtual keyboard can follow the size of the flexible display screen to realize adaptive adjustment To provide users with a better experience.
  • FIG. 1 is a schematic flowchart of a display method provided by a first embodiment of the present invention.
  • FIG. 2A is a schematic structural view of a flexible display screen of an electronic device according to an embodiment of the present invention being unfolded in one direction along a length direction.
  • FIG. 2B is a schematic structural view of a flexible display screen of an electronic device according to an embodiment of the present invention being unfolded in two directions along a length direction.
  • FIG. 3 is a schematic flowchart of a specific embodiment of step S102.
  • FIG. 4 is a schematic diagram of the virtual keyboard displayed on the flexible display screen along the first orientation when the expanded length of the flexible display screen of the electronic device is greater than the first threshold value and less than the second threshold value.
  • FIG. 5 is a schematic diagram of the virtual keyboard displayed on the flexible display screen along the second orientation when the expanded length of the flexible display screen of the electronic device is greater than or equal to the second threshold.
  • FIG. 6 is a schematic flowchart of another specific embodiment of step S102.
  • FIG. 7 is a schematic diagram of the virtual keyboard enlarged and displayed on the flexible display screen according to a preset ratio when the expanded length of the flexible display screen of the electronic device is L3.
  • FIG. 8 is a structural block diagram of an electronic device provided by the present invention.
  • the electronic device in the present invention may include other functions such as a personal digital assistant (PDA) and/or a portable multimedia player (PMP)-enabled portable communication device, such as e-paper, e-book, on-board display, tablet computer, Smart phones, smart watches, smart bracelets, etc.
  • PDA personal digital assistant
  • PMP portable multimedia player
  • portable electronic devices include, but are not limited to, portable electronic devices equipped with iOS@Android@WindowsPhone@other operating systems.
  • Electronic devices usually support multiple applications, such as one or more of the following: drawing applications, rendering applications, word processing applications, web page creation applications, disk editing applications, spreadsheet applications, game applications , Phone apps, video conferencing apps, email apps, instant messaging apps, exercise support apps, photo management apps, digital camera apps, digital video camera apps, web browsing apps, digital music players Applications, and/or digital video player applications.
  • drawing applications such as one or more of the following: drawing applications, rendering applications, word processing applications, web page creation applications, disk editing applications, spreadsheet applications, game applications , Phone apps, video conferencing apps, email apps, instant messaging apps, exercise support apps, photo management apps, digital camera apps, digital video camera apps, web browsing apps, digital music players Applications, and/or digital video player applications.
  • the present invention provides a display method, a storage medium, and an electronic device.
  • the electronic device includes a housing and a flexible display screen that can be curled and stored in the housing, and a detector for detecting the expanded size of the flexible display screen.
  • the flexible display screen can be used to display a virtual keyboard after being unfolded.
  • the display form of the virtual keyboard can be adaptively adjusted following the size of the flexible display screen to provide a better user experience.
  • a first embodiment of the present invention provides a display method applied to an electronic device.
  • the electronic device includes a flexible display screen that can be rolled or unfolded.
  • the display method includes the following steps:
  • Step S101 Detect the expanded size of the flexible display screen unfolded from the casing.
  • the electronic device 10 includes a flexible display screen 102 and a housing 101, where the flexible display screen 102 may be an organic light-emitting diode (Organic Light-Emitting Diode, OLED) flexible display screen, which has The characteristics of bending, twisting and folding, as well as better color and contrast, and ultra-thin features.
  • OLED Organic Light-Emitting Diode
  • the flexible display screen 102 can be curled and stored in the casing 101, or can be extended from the casing 101 under the external force to expand the flexible display screen 102.
  • the electronic device 10 further includes a detector 103, which may be one or more, and is mounted on the casing 101, and is used to detect the expanded size of the flexible display screen 102 expanded from the casing, wherein the expanded size may be a flexible display
  • a detector 103 which may be one or more, and is mounted on the casing 101, and is used to detect the expanded size of the flexible display screen 102 expanded from the casing, wherein the expanded size may be a flexible display
  • the unfolded area or unfolded length of the screen is the area of the area where the flexible display screen 102 is exposed to the housing 101
  • the unfolded length is the length of the area where the flexible display screen 102 is exposed to the housing 101
  • the area and length are The flexible display screen 102 gradually increases or decreases as it extends or retracts.
  • any one of the width and length of the flexible display screen 102 changes in size with the unfolding of the flexible display screen 102, and the other remains unchanged.
  • the detector 103 measures the change in size
  • the size value can obtain the expanded size of the flexible display screen 102, that is, the expanded length of the flexible display screen 102, and the expanded area of the flexible display screen 102 is the product of the expanded length and the width.
  • the unfolding direction of the flexible display screen 102 may be one-way stretching and unfolding along the length or width direction of the flexible display screen 102, as shown in FIG. 2A.
  • the unfolded size is the unfolded length of the flexible display screen 102.
  • the width of the flexible display screen 102 is constant, and the length becomes larger as the flexible display screen 102 expands unidirectionally.
  • the flexible display 102 is stretched in the longitudinal direction.
  • the width of the flexible display screen 102 is W, wherein the width W remains unchanged during the expansion of the flexible display screen 102, and the length L becomes larger as the flexible display screen 102 expands, that is, L is a variable, And the maximum value of the unfolding length is Lmax, Lmax ⁇ L ⁇ 0.
  • a plurality of labels 100 are provided in the expansion direction of the flexible display screen 102, and the label 100 stores corresponding size information of the flexible display screen 102, and the size information may be a currently expanded length or area value of the flexible display screen 102.
  • the detector 103 reads the corresponding information of the tag 100, thereby obtaining the current unfolded size of the flexible display screen 102, that is, the current unfolded length L.
  • the flexible display screen 102 is retracted into the housing 101 by a reel, and the expanded size of the flexible display screen 102 can also be obtained by detecting the number of rotations of the reel.
  • Step S102 controlling the flexible display screen to display virtual keyboards of different forms according to the expanded size, where the virtual keyboards of different forms are virtual keyboards of different sizes or placement directions.
  • step S102 includes steps S201-S205.
  • step S201 the expanded size of the flexible display screen is obtained.
  • step S202 it is determined whether the expanded size is greater than the first threshold and less than or equal to the second threshold.
  • step S203 is executed, otherwise step S204 is executed.
  • the first threshold and the second threshold may be set in advance, or may be set by the user as needed, where the second threshold is greater than the first threshold.
  • the electronic device 10 obtains the current expanded size of the flexible display screen 102 through the detector 103, and determines whether the acquired current expanded size is greater than the first threshold and less than the second threshold.
  • the first threshold is A and the second threshold is B, where B>A.
  • the current expanded size of the flexible display screen 102 detected by the detector 103 is L1, and it is determined whether B>L1>A is established.
  • step S203 is executed, otherwise step S204 is executed.
  • Step S203 when it is detected that the expanded size is greater than the first threshold and less than the second threshold, the virtual keyboard is controlled to be placed on the flexible display screen along the first orientation.
  • the virtual keyboard 104 is controlled to be placed on the flexible display screen 102 along the first orientation.
  • the size of the virtual keyboard 104 is the first size, and the size of the virtual keyboard 104 may be the length, width, or area of the virtual keyboard 104.
  • the virtual keyboard 104 is placed in the first direction, and the display area of the virtual keyboard 104 remains unchanged.
  • the first threshold A W/2
  • the second threshold B W
  • W is the width of the flexible display screen 102.
  • step S204 it is determined whether the expanded size is greater than or equal to the second threshold, and when the expanded size of the flexible display screen is greater than or equal to the second threshold, step S205 is executed, otherwise step S204 is continued.
  • Step S205 when it is detected that the expanded size is greater than or equal to the second threshold, the virtual keyboard is controlled to be placed on the flexible display screen along the second orientation.
  • the virtual keyboard 104 is displayed in a preset size.
  • the preset size is the display size of the virtual keyboard 104, that is, the length and width, or area of the virtual keyboard 104.
  • the virtual keyboard 104 is controlled to be placed on the flexible display screen 102 along the second orientation.
  • the size of the virtual keyboard 104 is the second size, and the second size is larger than the first size.
  • the first orientation and the second orientation are set at an angle, preferably, the included angle is 90°, that is, the first orientation and the second orientation are perpendicular to each other.
  • the virtual keyboard 104 is controlled to be placed on the flexible display screen 102 along the first orientation. At this time, the virtual display screen 102 displays the virtual The keyboard 104 has a small size, which is convenient for users to use in a small space.
  • the area of the flexible display screen 102 becomes larger, and when the expanded size of the flexible display screen 102 exceeds the set turning threshold, which is greater than or equal to the second threshold, the virtual keyboard is controlled 104 is placed on the flexible display screen 102 along the second orientation, and the choice of placement orientation of the virtual keyboard 104 is increased, thereby improving the user experience.
  • step S206 is included after step S205.
  • Step S206 when the expanded size is greater than or equal to the second threshold, the virtual keyboard is controlled to enlarge or shrink according to the expanded size and the scaling ratio corresponding to the expanded size, the scaling ratio and the expansion
  • the change in size is related.
  • the unfolded size of the flexible display screen 102 is the unfolded length of the flexible display screen 102 exposed to the casing 101, wherein the unfolded length gradually increases during the unfolding of the flexible display screen 102, and gradually decreases during the curling of the flexible display screen 102, virtual
  • the keyboard 40 follows the change of the expanded size of the flexible display screen 102 to zoom in or out at a corresponding zoom ratio.
  • the virtual keyboard 40 when the expanded size is greater than or equal to the second threshold, and the expanded size value is gradually increased, the virtual keyboard 40 increases at a fixed zoom ratio following the increase in the expanded size of the flexible display screen 102.
  • the virtual keyboard 40 decreases at a fixed zoom ratio following the decrease in the expanded size of the flexible display screen 102.
  • the virtual keyboard 104 is enlarged or reduced according to the expanded size and the scaling ratio k corresponding to the expanded size specifically: when the expanded size is greater than or equal to the second threshold and the expanded size value gradually becomes larger, the virtual keyboard 104 is controlled 104 is enlarged by the zoom ratio k; when the expanded size is greater than or equal to the second threshold and the expanded size value is gradually reduced, the virtual keyboard 104 is controlled to be reduced by the zoom ratio k so that the virtual keyboard 104 can follow the expanded size of the flexible display screen 40 Adaptability is adjusted.
  • the point corresponding to the center of the selected virtual keyboard 104 is used as a reference point, and the selected The fixed reference point is the zoom center of the zoom virtual keyboard 104; wherein, when zooming the virtual keyboard 104, the position of the reference point does not change, and the distance between each point on the virtual keyboard 104 and the reference point is according to the zoom
  • the ratio k increases or decreases.
  • the size of the virtual keyboard 104 follows the scaling of the expanded size of the flexible display screen 102, that is, the ratio of the expanded size of the flexible display screen 102 to the virtual keyboard 104 is in the virtual keyboard 104 .
  • the ratio is a constant value ⁇ , that is, the ratio is constant ⁇ .
  • the ratio ⁇ of the expanded size of the flexible display screen 102 to the virtual keyboard 104 may also be a variable during the deployment process.
  • the scaling factor k is Where Li is the current expanded size of the flexible display screen 102 and B is the second threshold, that is, the zoom ratio k is related to the change in the expanded size of the flexible display screen 102, that is, the zoom ratio k becomes larger with the expanded size of the flexible display screen 102 As it becomes larger, it decreases as the deployment size of the flexible display screen 102 decreases.
  • the virtual keyboard 104 is enlarged at a zoom ratio k.
  • the size of the display area of the virtual keyboard 104 is controlled to change with the expanded size of the flexible display screen 102, thereby more effectively using the flexible display screen 102
  • an embodiment of the present invention further provides an electronic device 30, which can be used to execute the display method provided by the present invention.
  • the electronic device 30 includes a housing (not shown), a detector 303, a flexible display screen 302, a processor 305, and a memory 306.
  • the flexible display screen 302 can be curled and stored in the casing, and can leak out from the casing and expand under the action of external force for displaying a virtual keyboard.
  • the detector 303 is installed in the casing, and is used for detecting the expanded size of the flexible display screen unfolded from the casing, so as to obtain the expanded size value of the flexible display screen.
  • the processor 305 and the memory 306 are connected by a bus to realize a communication function.
  • the memory 306 includes at least one of the following: a random access memory, a non-volatile memory external memory, the memory 306 may be used to store a computer executable program, and the processor 305 stores the memory 306 by calling The computer can execute the program to execute any one of the above display methods.
  • the memory 306 mainly includes a program storage area and a data storage area, where the program storage area can store an operating system, application programs required for at least one function, and the like; the data storage area can store data created according to the use of the terminal and the like.
  • the processor 305 is the control center of the electronic device 30, and uses various interfaces and lines to connect the various parts of the entire electronic device 30.
  • the computer executable program in the memory 306 is the aforementioned display method.
  • the processor 305 may be composed of an integrated circuit (Integrated Circuit, referred to as IC), for example, may be composed of a single packaged IC, or may be composed of multiple packaged ICs connected with the same function or different functions.
  • the processor 305 may include only a central processor, or may be a combination of a CPU, a digital signal processor (Digital Signal Processor, DSP for short), a GPU, and various control chips.
  • the CPU may be a single computing core, or may include multiple computing cores.
  • any one of the width and length of the flexible display screen 302 changes in size with the unfolding of the flexible display screen 302, the other remains unchanged, and the one whose size changes is measured by the detector
  • the size value can obtain the expanded size of the flexible display screen 302.
  • the expanded area of the flexible display screen 302 is the product of the expanded length and the width.
  • the unfolding direction of the flexible display screen 302 may be one-way stretching along the length or width of the flexible display screen 302, or it may be along the length or direction of the flexible display screen, 180 degrees in both directions.

Abstract

Disclosed in the present invention are a display method, an electronic device, and a storage medium. The display method is applied in an electronic device, and the electronic device comprises a housing, a flexible display screen that can be rolled and stored in the housing, and a detector for detecting the expanded size of the flexible display screen. The display control method comprises: obtaining the expanded size of the flexible display screen expanded from the housing; and controlling the flexible display screen to display a virtual keyboard of a different form according to the expanded size, the virtual keyboard of a different form being a virtual keyboard having a different size or placement direction. The electronic device can control the display form of a virtual keyboard according to the expanded size of the flexible display screen, and thus, the virtual keyboard can be adaptively adjusted according to the size of the flexible display screen, thereby providing good user experience.

Description

一种显示方法、电子设备及存储介质Display method, electronic equipment and storage medium 技术领域Technical field
本发明涉及显示技术领域,尤其涉及一种显示方法、电子设备及存储介质。The present invention relates to the field of display technology, and in particular, to a display method, electronic equipment, and storage medium.
背景技术Background technique
键盘作为计算机、笔记本等电子设备的外置输入设备被广泛应用到生活当中。随着高科技的发展,用户对电子装置的便携性及多元化性要求越来越高,柔性键盘应运而生。The keyboard is widely used in life as an external input device for electronic devices such as computers and notebooks. With the development of high technology, users are increasingly demanding the portability and diversification of electronic devices, and flexible keyboards have emerged.
现有的柔性键盘的显示形态固定,无法根据用户需求自适应调整,用户体验较差。The display form of the existing flexible keyboard is fixed and cannot be adjusted adaptively according to user needs, and the user experience is poor.
发明内容Summary of the invention
为了克服现有技术的不足,本发明的目的在于提供一种显示方法、电子设备及存储介质。In order to overcome the shortcomings of the prior art, the object of the present invention is to provide a display method, an electronic device and a storage medium.
本发明的目的采用如下技术方案实现:一种显示方法,应用于电子设备,所述电子设备包括壳体以及可被卷曲地收纳于所述壳体内的柔性显示屏,以及用于检测柔性显示屏的展开尺寸的检测器,所述显示控制方法包括:检测所述柔性显示屏自所述壳体展开的展开尺寸;根据所述展开尺寸控制所述柔性显示屏显示不同形态的虚拟键盘,所述不同形态的虚拟键盘为尺寸或者摆放方向不同的虚拟键盘。The object of the present invention is achieved by the following technical solution: a display method applied to an electronic device including a casing and a flexible display screen that can be curled and received in the casing, and for detecting a flexible display screen The expanded size detector, the display control method includes: detecting the expanded size of the flexible display screen expanded from the housing; controlling the flexible display screen to display virtual keyboards of different forms according to the expanded size, the Different shapes of virtual keyboards are virtual keyboards with different sizes or different placement directions.
本发明还提供一种电子设备,所述电子设备包括:壳体;柔性显示屏,所述柔性显示屏可被卷曲地收纳于所述壳体内;检测器,用于检测所述柔性显示屏自所述壳体展开的展开尺寸;存储器,用于存储计算机可执行程序;以及处理器,用于执行所述计算机可执行程序以实现所述显示控制方法,所述显示控 制方法包括:检测所述柔性显示屏自所述壳体展开的展开尺寸,其中,所述展开尺寸利用所述检测器检测;根据所述展开尺寸控制所述柔性显示屏显示不同形态的虚拟键盘,所述不同形态的虚拟键盘为尺寸或者摆放方向不同的虚拟键盘。The present invention also provides an electronic device, the electronic device includes: a housing; a flexible display screen, the flexible display screen can be curled and received in the housing; a detector for detecting the flexible display screen An expanded size of the casing; a memory for storing a computer executable program; and a processor for executing the computer executable program to implement the display control method, the display control method including: detecting the The expanded size of the flexible display screen unfolded from the housing, wherein the unfolded size is detected by the detector; the flexible display screen is controlled to display different forms of virtual keyboards according to the unfolded size, the different forms of virtual The keyboard is a virtual keyboard with different sizes or different placement directions.
本发明还提供一种存储介质,所述存储介质存储有计算机可执行程序,所述计算机可执行程序在被计算机调用时,使所述计算机执行前述的显示方法。The present invention also provides a storage medium that stores a computer-executable program, and when the computer-executable program is called by a computer, causes the computer to execute the foregoing display method.
与现有设计相比,本发明所提供的显示方法、电子设备以及存储介质,可以根据柔性显示屏的展开尺寸控制虚拟键盘的显示形态,实现虚拟键盘可以跟随柔性显示屏的尺寸实现自适应调节,以为用户提供较佳的使用体验。Compared with the existing design, the display method, the electronic device and the storage medium provided by the present invention can control the display form of the virtual keyboard according to the expanded size of the flexible display screen, and realize the virtual keyboard can follow the size of the flexible display screen to realize adaptive adjustment To provide users with a better experience.
附图说明BRIEF DESCRIPTION
图1为本发明第一实施例提供的显示方法的流程示意图。FIG. 1 is a schematic flowchart of a display method provided by a first embodiment of the present invention.
图2A为本发明其中一实施例的电子设备的柔性显示屏沿着长度方向单向被展开的结构示意图。FIG. 2A is a schematic structural view of a flexible display screen of an electronic device according to an embodiment of the present invention being unfolded in one direction along a length direction.
图2B为本发明其中一实施例的电子设备的柔性显示屏沿着长度方向双向被展开的结构示意图。FIG. 2B is a schematic structural view of a flexible display screen of an electronic device according to an embodiment of the present invention being unfolded in two directions along a length direction.
图3为步骤S102的一个具体实施例的流程示意图。FIG. 3 is a schematic flowchart of a specific embodiment of step S102.
图4为电子设备的柔性显示屏展开长度大于第一阈值且小于第二阈值时,虚拟键盘沿着第一方位显示于柔性显示屏的示意图。FIG. 4 is a schematic diagram of the virtual keyboard displayed on the flexible display screen along the first orientation when the expanded length of the flexible display screen of the electronic device is greater than the first threshold value and less than the second threshold value.
图5为电子设备的柔性显示屏展开长度大于或等于第二阈值时,虚拟键盘沿着第二方位显示于柔性显示屏的示意图。FIG. 5 is a schematic diagram of the virtual keyboard displayed on the flexible display screen along the second orientation when the expanded length of the flexible display screen of the electronic device is greater than or equal to the second threshold.
图6为步骤S102的另一个具体实施例的流程示意图。FIG. 6 is a schematic flowchart of another specific embodiment of step S102.
图7为电子设备的柔性显示屏展开长度为L3时,虚拟键盘按预设比例放大显示于柔性显示屏的示意图。FIG. 7 is a schematic diagram of the virtual keyboard enlarged and displayed on the flexible display screen according to a preset ratio when the expanded length of the flexible display screen of the electronic device is L3.
图8为本发明提供的一种电子设备结构框图。8 is a structural block diagram of an electronic device provided by the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present invention.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of this application and the above drawings are used to distinguish similar objects without using To describe a specific order or sequence. It should be understood that the data so used can be interchanged under appropriate circumstances so that the embodiments described herein can be implemented in an order other than what is illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, processes, methods, systems, products or devices that contain a series of steps or units are not necessarily limited to those clearly listed Those steps or units, but may include other steps or units not explicitly listed or inherent to these processes, methods, products, or equipment.
需要说明的是,在本发明中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本发明要求的保护范围之内。It should be noted that the descriptions related to "first", "second", etc. in the present invention are for descriptive purposes only, and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated . Thus, the features defined as "first" and "second" may include at least one of the features explicitly or implicitly. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary skilled in the art to achieve, when the combination of technical solutions contradicts each other or cannot be achieved, it should be considered that the combination of such technical solutions does not exist , Nor within the scope of protection required by the present invention.
本发明中的电子设备可包含其它功能诸如个人数字助理(PDA)和/或使携式多媒体播放器(PMP)功能的使携式通信设备,诸如电子纸、电子书、车载显示器、平板电脑、智能手机、智能手表、智能手环等。使携式电子设备的示例性实施例包括但不限于搭载iOS@Android@Windows Phone@者其它操作系统的使携式电子设备。电子设备通常支持多种应用程序,诸如以下中的一种或多种:画图应用程序、呈现应用程序、文字处理应用程序、网页创建应用程序、盘 编辑应用程序、电子表格应用程序、游戏应用程序、电话应用程序、视频会议应用程序、电子邮件应用程序、即时消息应用程序、锻炼支持应用程序、相片管理应用程序、数字相机应用程序、数字视频摄像机应用程序、网络浏览应用程序、数字音乐播放器应用程序、和/或数字视频播放器应用程序。The electronic device in the present invention may include other functions such as a personal digital assistant (PDA) and/or a portable multimedia player (PMP)-enabled portable communication device, such as e-paper, e-book, on-board display, tablet computer, Smart phones, smart watches, smart bracelets, etc. Exemplary embodiments of portable electronic devices include, but are not limited to, portable electronic devices equipped with iOS@Android@WindowsPhone@other operating systems. Electronic devices usually support multiple applications, such as one or more of the following: drawing applications, rendering applications, word processing applications, web page creation applications, disk editing applications, spreadsheet applications, game applications , Phone apps, video conferencing apps, email apps, instant messaging apps, exercise support apps, photo management apps, digital camera apps, digital video camera apps, web browsing apps, digital music players Applications, and/or digital video player applications.
本发明提供一种显示方法、存储介质及电子设备,电子设备包括壳体以及可被卷曲收纳于所述壳体内的柔性显示屏,以及用于检测柔性显示屏的展开尺寸的检测器,所述柔性显示屏在被展开后可用于显示虚拟键盘,该虚拟键盘的显示形态可以跟随柔性显示屏的尺寸实现自适应调节,以为用户提供较佳的使用体验。The present invention provides a display method, a storage medium, and an electronic device. The electronic device includes a housing and a flexible display screen that can be curled and stored in the housing, and a detector for detecting the expanded size of the flexible display screen. The flexible display screen can be used to display a virtual keyboard after being unfolded. The display form of the virtual keyboard can be adaptively adjusted following the size of the flexible display screen to provide a better user experience.
请参阅图1,本发明第一实施例提供一种显示方法,应用于电子设备,该电子设备包括可被卷曲或展开的柔性显示屏,该显示方法包括以下步骤:Referring to FIG. 1, a first embodiment of the present invention provides a display method applied to an electronic device. The electronic device includes a flexible display screen that can be rolled or unfolded. The display method includes the following steps:
步骤S101:检测所述柔性显示屏自所述壳体展开的展开尺寸。Step S101: Detect the expanded size of the flexible display screen unfolded from the casing.
如图2所示,在部分实施例中,电子设备10包括柔性显示屏102以及壳体101,其中柔性显示屏102可以是有机发光二极管(Organic Light-Emitting Diode,OLED)柔性显示屏,具有可弯曲、可扭转和可折叠的特性,同时具有更好的色彩及对比度,以及超薄等特点。该柔性显示屏102可被卷曲收纳于壳体101,也可在外力作用下自壳体101伸出以使柔性显示屏102展开。As shown in FIG. 2, in some embodiments, the electronic device 10 includes a flexible display screen 102 and a housing 101, where the flexible display screen 102 may be an organic light-emitting diode (Organic Light-Emitting Diode, OLED) flexible display screen, which has The characteristics of bending, twisting and folding, as well as better color and contrast, and ultra-thin features. The flexible display screen 102 can be curled and stored in the casing 101, or can be extended from the casing 101 under the external force to expand the flexible display screen 102.
电子设备10还包括有检测器103,该检测器103可以是一个或多个,安装于壳体101,用于检测柔性显示屏102自壳体展开的展开尺寸,其中,展开尺寸可以是柔性显示屏的展开面积或展开长度,所述展开面积为柔性显示屏102外露于壳体101的区域面积,所述展开长度为柔性显示屏102外露于壳体101的长度,所述区域面积和长度在柔性显示屏102伸出或缩回的过程中逐渐增大或减小。The electronic device 10 further includes a detector 103, which may be one or more, and is mounted on the casing 101, and is used to detect the expanded size of the flexible display screen 102 expanded from the casing, wherein the expanded size may be a flexible display The unfolded area or unfolded length of the screen, the unfolded area is the area of the area where the flexible display screen 102 is exposed to the housing 101, the unfolded length is the length of the area where the flexible display screen 102 is exposed to the housing 101, and the area and length are The flexible display screen 102 gradually increases or decreases as it extends or retracts.
柔性显示屏102被展开时,柔性显示屏102的宽度和长度中的任意一者随着柔性显示屏102的展开发生尺寸变化,另一者保持不变,通过检测器103测取尺寸变化者的尺寸值,即可获取柔性显示屏102展开尺寸,即柔性显示屏102的展开长度,该柔性显示屏102的展开面积为展开长度与宽度的乘积值。When the flexible display screen 102 is unfolded, any one of the width and length of the flexible display screen 102 changes in size with the unfolding of the flexible display screen 102, and the other remains unchanged. The detector 103 measures the change in size The size value can obtain the expanded size of the flexible display screen 102, that is, the expanded length of the flexible display screen 102, and the expanded area of the flexible display screen 102 is the product of the expanded length and the width.
柔性显示屏102的展开方向可以是沿着柔性显示屏102的长度或宽度方向,单向拉伸展开,如图2A所示。The unfolding direction of the flexible display screen 102 may be one-way stretching and unfolding along the length or width direction of the flexible display screen 102, as shown in FIG. 2A.
也可以是沿着柔性显示屏102的长度方向或宽度方向,双向呈180度向背展开,如图2B所示。It may also be along the length direction or the width direction of the flexible display screen 102, which is 180 degrees toward the back, as shown in FIG. 2B.
本实施例中,展开尺寸为柔性显示屏102展开长度,以柔性显示屏102的宽度不变,长度随着柔性显示屏102的单向展开而变大为例进行说明,即柔性显示屏102沿着柔性显示屏102的长度方向展开。In this embodiment, the unfolded size is the unfolded length of the flexible display screen 102. The width of the flexible display screen 102 is constant, and the length becomes larger as the flexible display screen 102 expands unidirectionally. The flexible display 102 is stretched in the longitudinal direction.
示例性地,柔性显示屏102宽度为W,其中宽度W在柔性显示屏102展开过程中其大小保持不变,长度为L随着柔性显示屏102的展开而变大,即,L为变量,且展开长度的最大值为Lmax,Lmax≥L≥0。Exemplarily, the width of the flexible display screen 102 is W, wherein the width W remains unchanged during the expansion of the flexible display screen 102, and the length L becomes larger as the flexible display screen 102 expands, that is, L is a variable, And the maximum value of the unfolding length is Lmax, Lmax≥L≥0.
在柔性显示屏102展开方向上设置有多个标签100,标签100存储有柔性显示屏102的对应尺寸信息,该尺寸信息可以是柔性显示屏102的当前展开的长度值或面积值。A plurality of labels 100 are provided in the expansion direction of the flexible display screen 102, and the label 100 stores corresponding size information of the flexible display screen 102, and the size information may be a currently expanded length or area value of the flexible display screen 102.
当柔性显示屏102被展开时,检测器103读取对应的标签100信息,从而获取柔性显示屏102的当前展开尺寸,也即获取当前的展开长度L。When the flexible display screen 102 is unfolded, the detector 103 reads the corresponding information of the tag 100, thereby obtaining the current unfolded size of the flexible display screen 102, that is, the current unfolded length L.
在一些可行的实施例中,柔性显示屏102被一卷轴卷收于壳体101内,通过检测卷轴的转动圈数也可对应获得柔性显示屏102的展开尺寸。In some feasible embodiments, the flexible display screen 102 is retracted into the housing 101 by a reel, and the expanded size of the flexible display screen 102 can also be obtained by detecting the number of rotations of the reel.
步骤S102:根据所述展开尺寸控制所述柔性显示屏显示不同形态的虚拟键盘,所述不同形态的虚拟键盘为尺寸或者摆放方向不同的虚拟键盘。Step S102: controlling the flexible display screen to display virtual keyboards of different forms according to the expanded size, where the virtual keyboards of different forms are virtual keyboards of different sizes or placement directions.
请参阅图3,一些可行的实施例中,步骤S102包括步骤S201-S205。Referring to FIG. 3, in some feasible embodiments, step S102 includes steps S201-S205.
其中,步骤S201,获取柔性显示屏的展开尺寸。In step S201, the expanded size of the flexible display screen is obtained.
步骤S202,判断展开尺寸是否大于第一阈值且小于或等于第二阈值,当展开尺寸大于所述第一阈值且小于或等于第二阈值时,执行步骤S203,否则执行步骤S204。In step S202, it is determined whether the expanded size is greater than the first threshold and less than or equal to the second threshold. When the expanded size is greater than the first threshold and less than or equal to the second threshold, step S203 is executed, otherwise step S204 is executed.
具体地,第一阈值和第二阈值可以为预先设置,也可以由用户根据需要设 置,其中第二阈值的大于第一阈值。电子设备10通过检测器103获取到柔性显示屏102当前的展开尺寸,并判断所获取的当前展开尺寸是否大于第一阈值,且小于第二阈值。Specifically, the first threshold and the second threshold may be set in advance, or may be set by the user as needed, where the second threshold is greater than the first threshold. The electronic device 10 obtains the current expanded size of the flexible display screen 102 through the detector 103, and determines whether the acquired current expanded size is greater than the first threshold and less than the second threshold.
如,第一阈值为A,第二阈值为B,其中B﹥A。检测器103检测到的柔性显示屏102当前的展开尺寸为L1,判断B﹥L1﹥A是否成立,当B﹥L1﹥A成立时,执行步骤S203,否则执行步骤S204。For example, the first threshold is A and the second threshold is B, where B﹥A. The current expanded size of the flexible display screen 102 detected by the detector 103 is L1, and it is determined whether B﹥L1﹥A is established. When B﹥L1﹥A is established, step S203 is executed, otherwise step S204 is executed.
步骤S203,当检测到展开尺寸大于第一阈值且小于第二阈值时,控制虚拟键盘沿着第一方位摆放于柔性显示屏。Step S203, when it is detected that the expanded size is greater than the first threshold and less than the second threshold, the virtual keyboard is controlled to be placed on the flexible display screen along the first orientation.
如图4所示,当电子设备10检测到柔性显示屏102的展开长度为L1,且B﹥L1﹥A,控制虚拟键盘104沿着第一方位摆放于柔性显示屏102,当虚拟键盘104沿着第一方位摆放于柔性显示屏102时,虚拟键盘104的尺寸为第一尺寸,虚拟键盘104的尺寸可以为虚拟键盘104的长度、宽度或面积。As shown in FIG. 4, when the electronic device 10 detects that the expanded length of the flexible display screen 102 is L1, and B﹥L1﹥A, the virtual keyboard 104 is controlled to be placed on the flexible display screen 102 along the first orientation. When placed on the flexible display screen 102 along the first orientation, the size of the virtual keyboard 104 is the first size, and the size of the virtual keyboard 104 may be the length, width, or area of the virtual keyboard 104.
优选地,当柔性显示屏102的展开尺寸为大于第一阈值且小于第二阈值时,虚拟键盘104沿第一方向摆放,且虚拟键盘104的显示面积保持不变。Preferably, when the expanded size of the flexible display screen 102 is greater than the first threshold and less than the second threshold, the virtual keyboard 104 is placed in the first direction, and the display area of the virtual keyboard 104 remains unchanged.
优选地,第一阈值A=W/2,第二阈值B=W,W为柔性显示屏102的宽度。Preferably, the first threshold A=W/2, the second threshold B=W, and W is the width of the flexible display screen 102.
步骤S204,判断所述展开尺寸是否大于或等于第二阈值,柔性显示屏的展开尺寸大于或等于第二阈值时,执行步骤S205,否则继续执行步骤S204。In step S204, it is determined whether the expanded size is greater than or equal to the second threshold, and when the expanded size of the flexible display screen is greater than or equal to the second threshold, step S205 is executed, otherwise step S204 is continued.
步骤S205,当检测到展开尺寸大于或等于第二阈值时,控制虚拟键盘沿着第二方位摆放于柔性显示屏。Step S205, when it is detected that the expanded size is greater than or equal to the second threshold, the virtual keyboard is controlled to be placed on the flexible display screen along the second orientation.
优选地,当所述展开尺寸大于所述第一阈值且小于或等于第二阈值时,所述虚拟键盘104以预设尺寸显示。所述预设尺寸为所述虚拟键盘104的显示尺寸,即可以为所述虚拟键盘104的长度和宽度,或面积。Preferably, when the expanded size is greater than the first threshold and less than or equal to the second threshold, the virtual keyboard 104 is displayed in a preset size. The preset size is the display size of the virtual keyboard 104, that is, the length and width, or area of the virtual keyboard 104.
如图5所示,电子设备10检测到柔性显示屏102的展开长度为L2,且L2 ≥B时,控制虚拟键盘104沿着第二方位摆放于柔性显示屏102,当虚拟键盘104沿着第二方位摆放于柔性显示屏102时,虚拟键盘104的尺寸为第二尺寸,且第二尺寸大于第一尺寸。其中,第一方位和第二方位呈夹角设置,优选地,该夹角为90°,即第一方位和第二方位互为垂直。As shown in FIG. 5, when the electronic device 10 detects that the expanded length of the flexible display screen 102 is L2, and L2 ≥ B, the virtual keyboard 104 is controlled to be placed on the flexible display screen 102 along the second orientation. When the second orientation is placed on the flexible display screen 102, the size of the virtual keyboard 104 is the second size, and the second size is larger than the first size. Wherein, the first orientation and the second orientation are set at an angle, preferably, the included angle is 90°, that is, the first orientation and the second orientation are perpendicular to each other.
由于柔性显示屏102展开时,柔性显示屏102只有沿着展开方向的尺寸发生变化,也即柔性显示屏102在展开过程中,柔性显示屏102的展开面积是从小到大发生变化,当检测到柔性显示屏102沿着展开方向的展开尺寸大于第一阈值且小于第二阈值时,控制虚拟键盘104沿着第一方位摆放于柔性显示屏102,此时,柔性显示屏102所显示的虚拟键盘104尺寸较小,便于用户在较小的空间内使用。When the flexible display screen 102 is deployed, only the size of the flexible display screen 102 changes along the deployment direction, that is, during the deployment of the flexible display screen 102, the expanded area of the flexible display screen 102 changes from small to large, when detected When the deployment size of the flexible display screen 102 along the deployment direction is greater than the first threshold value and less than the second threshold value, the virtual keyboard 104 is controlled to be placed on the flexible display screen 102 along the first orientation. At this time, the virtual display screen 102 displays the virtual The keyboard 104 has a small size, which is convenient for users to use in a small space.
当柔性显示屏102继续沿着展开方向被拉伸时,柔性显示屏102的面积变大,当柔性显示屏102的展开尺寸超过设定的转向阈值,大于或等于第二阈值时,控制虚拟键盘104沿着第二方位摆放于柔性显示屏102,增加虚拟键盘104的摆放方位选择,提高了用户使用体验。When the flexible display screen 102 continues to be stretched along the deployment direction, the area of the flexible display screen 102 becomes larger, and when the expanded size of the flexible display screen 102 exceeds the set turning threshold, which is greater than or equal to the second threshold, the virtual keyboard is controlled 104 is placed on the flexible display screen 102 along the second orientation, and the choice of placement orientation of the virtual keyboard 104 is increased, thereby improving the user experience.
请参阅图6,在部分实施例中步骤S205之后还包括步骤S206。Please refer to FIG. 6, in some embodiments, step S206 is included after step S205.
步骤S206,当所述展开尺寸大于或等于所述第二阈值时,控制所述虚拟键盘根据所述展开尺寸以及与所述展开尺寸对应的缩放比例放大或者缩小,所述缩放比例与所述展开尺寸的变化有关。Step S206, when the expanded size is greater than or equal to the second threshold, the virtual keyboard is controlled to enlarge or shrink according to the expanded size and the scaling ratio corresponding to the expanded size, the scaling ratio and the expansion The change in size is related.
柔性显示屏102的展开尺寸为柔性显示屏102外露于壳体101的展开长度,其中展开长度在柔性显示屏102展开过程中逐渐增大,且在柔性显示屏102卷曲过程中逐渐减小,虚拟键盘40跟随柔性显示屏102的展开尺寸的变化而以对应的缩放比例进行放大或缩小。The unfolded size of the flexible display screen 102 is the unfolded length of the flexible display screen 102 exposed to the casing 101, wherein the unfolded length gradually increases during the unfolding of the flexible display screen 102, and gradually decreases during the curling of the flexible display screen 102, virtual The keyboard 40 follows the change of the expanded size of the flexible display screen 102 to zoom in or out at a corresponding zoom ratio.
在部分实施例中,当展开尺寸大于或等于所述第二阈值,且展开尺寸值逐 渐变大时,虚拟键盘40跟随柔性显示屏102的展开尺寸的增大以固定的缩放比例增大。当展开尺寸大于或等于所述第二阈值,且展开尺寸值逐渐减小时,虚拟键盘40跟随柔性显示屏102的展开尺寸的减小以固定的缩放比例减小。In some embodiments, when the expanded size is greater than or equal to the second threshold, and the expanded size value is gradually increased, the virtual keyboard 40 increases at a fixed zoom ratio following the increase in the expanded size of the flexible display screen 102. When the expanded size is greater than or equal to the second threshold, and the expanded size value gradually decreases, the virtual keyboard 40 decreases at a fixed zoom ratio following the decrease in the expanded size of the flexible display screen 102.
部分实施例中,虚拟键盘104根据展开尺寸以及与展开尺寸对应的缩放比例k放大或者缩小具体为:当展开尺寸大于或等于所述第二阈值,且展开尺寸值逐渐变大时,控制虚拟键盘104按缩放比例k放大;当展开尺寸大于或等于第二阈值,且展开尺寸值逐渐减小时,控制虚拟键盘104按缩放比例k缩小,以使虚拟键盘104可以跟随柔性显示屏40的展开尺寸大小适应性进行调整。In some embodiments, the virtual keyboard 104 is enlarged or reduced according to the expanded size and the scaling ratio k corresponding to the expanded size specifically: when the expanded size is greater than or equal to the second threshold and the expanded size value gradually becomes larger, the virtual keyboard 104 is controlled 104 is enlarged by the zoom ratio k; when the expanded size is greater than or equal to the second threshold and the expanded size value is gradually reduced, the virtual keyboard 104 is controlled to be reduced by the zoom ratio k so that the virtual keyboard 104 can follow the expanded size of the flexible display screen 40 Adaptability is adjusted.
优选地,控制所述虚拟键盘104根据所述展开尺寸以及与所述展开尺寸对应的缩放比例k放大或者缩小时,以选定虚拟键盘104的中心所对应的点为基准点,并以所选定的基准点为缩放虚拟键盘104的缩放中心;其中,在缩放虚拟键盘104时,所述基准点的位置不变,虚拟键盘104上的每个点与所述基准点之间的距离根据缩放比例k增大或减小。Preferably, when the virtual keyboard 104 is controlled to enlarge or shrink according to the expanded size and the zoom ratio k corresponding to the expanded size, the point corresponding to the center of the selected virtual keyboard 104 is used as a reference point, and the selected The fixed reference point is the zoom center of the zoom virtual keyboard 104; wherein, when zooming the virtual keyboard 104, the position of the reference point does not change, and the distance between each point on the virtual keyboard 104 and the reference point is according to the zoom The ratio k increases or decreases.
具体地,当展开尺寸大于或等于第二阈值时,虚拟键盘104尺寸跟随柔性显示屏102的展开尺寸的缩放而缩放,也即柔性显示屏102的展开尺寸与虚拟键盘104的比例在虚拟键盘104跟随柔性显示屏102展开过程中,比例为恒定值α,也即比例值恒定为α。Specifically, when the expanded size is greater than or equal to the second threshold, the size of the virtual keyboard 104 follows the scaling of the expanded size of the flexible display screen 102, that is, the ratio of the expanded size of the flexible display screen 102 to the virtual keyboard 104 is in the virtual keyboard 104 During the development of the flexible display screen 102, the ratio is a constant value α, that is, the ratio is constant α.
在部分实施例中,柔性显示屏102的展开尺寸与虚拟键盘104的比例α在展开过程中也可以是变量。In some embodiments, the ratio α of the expanded size of the flexible display screen 102 to the virtual keyboard 104 may also be a variable during the deployment process.
本实施例中,以比例为恒定值α为例进行说明。也即当柔性显示屏102的展开尺寸为第二阈值B时,此时虚拟键盘104的显示面积为S 0,α=B*W/S 0。S 0为所述虚拟键盘104的预设尺寸。 In this embodiment, the ratio will be described as a constant value α. That is, when the expanded size of the flexible display screen 102 is the second threshold B, the display area of the virtual keyboard 104 at this time is S 0 , α=B*W/S 0 . S 0 is the preset size of the virtual keyboard 104.
假设柔性显示屏102的当前展开尺寸为Li,此时对应的虚拟键盘104的显 示面积为Si,由于柔性显示屏102的展开尺寸与虚拟键盘104的比例为恒定值α,即
Figure PCTCN2018123491-appb-000001
则有
Figure PCTCN2018123491-appb-000002
故缩放比例k为,
Figure PCTCN2018123491-appb-000003
其中Li为柔性显示屏102的当前展开尺寸,B为第二阈值,即缩放比例k与柔性显示屏102的展开尺寸的变化有关,也即缩放比例k随着柔性显示屏102的展开尺寸变大而变大,随着柔性显示屏102的展开尺寸减小而减小。
Assume that the current expanded size of the flexible display screen 102 is Li, and the display area of the corresponding virtual keyboard 104 is Si at this time, since the ratio of the expanded size of the flexible display screen 102 to the virtual keyboard 104 is a constant value α, that is
Figure PCTCN2018123491-appb-000001
Then there is
Figure PCTCN2018123491-appb-000002
Therefore, the scaling factor k is
Figure PCTCN2018123491-appb-000003
Where Li is the current expanded size of the flexible display screen 102 and B is the second threshold, that is, the zoom ratio k is related to the change in the expanded size of the flexible display screen 102, that is, the zoom ratio k becomes larger with the expanded size of the flexible display screen 102 As it becomes larger, it decreases as the deployment size of the flexible display screen 102 decreases.
如图7所示,当柔性显示屏40的展开尺寸为L3,L3≥B,虚拟键盘104以缩放比例k放大。As shown in FIG. 7, when the expanded size of the flexible display screen 40 is L3 and L3≧B, the virtual keyboard 104 is enlarged at a zoom ratio k.
本发明中,当虚拟键盘104沿着第二方向摆放时,通过控制虚拟键盘104显示面积的大小随着柔性显示屏102的展开尺寸变化而变化,从而更为有效利用了柔性显示屏102的展开面积,且在虚拟键盘104显示面积变大时,可以有效提供用户敲击虚拟按键时的正确率。In the present invention, when the virtual keyboard 104 is placed along the second direction, the size of the display area of the virtual keyboard 104 is controlled to change with the expanded size of the flexible display screen 102, thereby more effectively using the flexible display screen 102 The expanded area, and when the display area of the virtual keyboard 104 becomes larger, it can effectively provide the correct rate when the user taps the virtual key.
请参阅图8,本发明一实施例还提供一种电子设备30,该电子设备30可以用于执行本发明所提供的显示方法。该电子设备30包括壳体(图未示),检测器303,柔性显示屏302,处理器305以及存储器306。其中柔性显示屏302可被卷曲地收纳于壳体,并在外力作用下可自壳体外漏并展开,以用于显示虚拟键盘。Referring to FIG. 8, an embodiment of the present invention further provides an electronic device 30, which can be used to execute the display method provided by the present invention. The electronic device 30 includes a housing (not shown), a detector 303, a flexible display screen 302, a processor 305, and a memory 306. The flexible display screen 302 can be curled and stored in the casing, and can leak out from the casing and expand under the action of external force for displaying a virtual keyboard.
检测器303安装于壳体,用于检测所述柔性显示屏自所述壳体展开的展开尺寸,以获取所述柔性显示屏的展开尺寸值。处理器305以及存储器306通过总线连接,实现通信功能。The detector 303 is installed in the casing, and is used for detecting the expanded size of the flexible display screen unfolded from the casing, so as to obtain the expanded size value of the flexible display screen. The processor 305 and the memory 306 are connected by a bus to realize a communication function.
存储器306包括以下至少一种:随机存取存贮器、非易失性存储器外部存储器,所述存储器306可用于存储计算机可执行程序,所述处理器305通过调用存储在所述存储器306中的计算机可执行程序,从而执行上述任意一种显示方法。存储器306主要包括程序存储区和数据存储区,其中,程序存储区可存 储操作系统、至少一个功能所需的应用程序等;数据存储区可存储根据终端的使用所创建的数据等。The memory 306 includes at least one of the following: a random access memory, a non-volatile memory external memory, the memory 306 may be used to store a computer executable program, and the processor 305 stores the memory 306 by calling The computer can execute the program to execute any one of the above display methods. The memory 306 mainly includes a program storage area and a data storage area, where the program storage area can store an operating system, application programs required for at least one function, and the like; the data storage area can store data created according to the use of the terminal and the like.
处理器305为电子设备30的控制中心,利用各种接口和线路连接整个所述电子设备30的各个部分,通过运行或执行存储在所述存储器306内的计算机可执行程序,调用存储在所述存储器306内的计算机可执行程序,前述的显示方法。The processor 305 is the control center of the electronic device 30, and uses various interfaces and lines to connect the various parts of the entire electronic device 30. By running or executing the computer executable program stored in the memory 306, the The computer executable program in the memory 306 is the aforementioned display method.
所述处理器305可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器305可以仅包括中央处理器,也可以是CPU、数字信号处理器(Digital Signal Processor,简称DSP)、GPU及各种控制芯片的组合。在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。The processor 305 may be composed of an integrated circuit (Integrated Circuit, referred to as IC), for example, may be composed of a single packaged IC, or may be composed of multiple packaged ICs connected with the same function or different functions. For example, the processor 305 may include only a central processor, or may be a combination of a CPU, a digital signal processor (Digital Signal Processor, DSP for short), a GPU, and various control chips. In the embodiments of the present invention, the CPU may be a single computing core, or may include multiple computing cores.
柔性显示屏302被展开时,柔性显示屏302的宽度和长度中的任意一者随着柔性显示屏302的展开发生尺寸变化,另一者保持不变,通过检测器测取尺寸变化一者的尺寸值,即可获取柔性显示屏302展开尺寸。其中,柔性显示屏302的展开面积为展开长度与宽度的乘积值。When the flexible display screen 302 is unfolded, any one of the width and length of the flexible display screen 302 changes in size with the unfolding of the flexible display screen 302, the other remains unchanged, and the one whose size changes is measured by the detector The size value can obtain the expanded size of the flexible display screen 302. The expanded area of the flexible display screen 302 is the product of the expanded length and the width.
柔性显示屏302的展开方向可以是沿着柔性显示屏302的长度或宽度方向,单向拉伸展开,也可以是沿着柔性显示屏的长度或方向,双向呈180度向背展开。The unfolding direction of the flexible display screen 302 may be one-way stretching along the length or width of the flexible display screen 302, or it may be along the length or direction of the flexible display screen, 180 degrees in both directions.
上述实施方式仅为本发明的优选实施方式,不能以此来限定本发明保护的范围,本领域的技术人员在本发明的基础上所做的任何非实质性的变化及替换均属于本发明所要求保护的范围。The above-mentioned embodiments are only preferred embodiments of the present invention, which cannot be used to limit the scope of protection of the present invention. Any non-substantial changes and replacements made by those skilled in the art on the basis of the present invention belong to the present invention. The scope of protection.

Claims (17)

  1. 一种显示方法,应用于电子设备,所述电子设备包括壳体以及可被卷曲地收纳于所述壳体内的柔性显示屏,以及用于检测柔性显示屏的展开尺寸的检测器,其特征在于,所述显示控制方法包括:A display method is applied to an electronic device. The electronic device includes a housing and a flexible display screen that can be curled and received in the housing, and a detector for detecting the expanded size of the flexible display screen, characterized in that , The display control method includes:
    检测所述柔性显示屏自所述壳体展开的展开尺寸;Detecting the expanded size of the flexible display screen unfolded from the casing;
    根据所述展开尺寸控制所述柔性显示屏显示不同形态的虚拟键盘,所述不同形态的虚拟键盘为尺寸或者摆放方向不同的虚拟键盘。The flexible display screen is controlled to display virtual keyboards in different forms according to the expanded size, and the virtual keyboards in different forms are virtual keyboards with different sizes or placement directions.
  2. 如权利要求1所述的显示方法,其特征在于,根据所述展开尺寸控制所述柔性显示屏显示虚拟键盘包括:The display method according to claim 1, wherein controlling the flexible display screen to display the virtual keyboard according to the expanded size comprises:
    判断所述展开尺寸是否大于第一阈值且小于或等于第二阈值;Determine whether the expanded size is greater than the first threshold and less than or equal to the second threshold;
    当所述展开尺寸大于所述第一阈值且小于第二阈值时,控制所述虚拟键盘沿着第一方位摆放,所述第二阈值大于所述第一阈值。When the expanded size is greater than the first threshold and less than a second threshold, the virtual keyboard is controlled to be placed along a first orientation, and the second threshold is greater than the first threshold.
  3. 如权利要求2所述的显示方法,其特征在于,根据所述展开尺寸控制所述柔性显示屏显示虚拟键盘包括:The display method according to claim 2, wherein controlling the flexible display screen to display the virtual keyboard according to the expanded size comprises:
    判断所述展开尺寸是否大于或等于第二阈值;当所述展开尺寸大于或等于所述第二阈值时,控制所述虚拟键盘沿着第二方位摆放。Judging whether the expanded size is greater than or equal to a second threshold; when the expanded size is greater than or equal to the second threshold, controlling the virtual keyboard to be placed along the second orientation.
  4. 如权利要求3所述的显示方法,其特征在于,第一方位和所述第二方位相互垂直。The display method according to claim 3, wherein the first orientation and the second orientation are perpendicular to each other.
  5. 如权利要求3所述的显示方法,其特征在于,根据所述展开尺寸信息控制所述柔性显示屏显示虚拟键盘,包括:The display method according to claim 3, wherein controlling the flexible display screen to display the virtual keyboard according to the expanded size information includes:
    当所述展开尺寸大于或等于所述第二阈值时,控制所述虚拟键盘根据所述展开尺寸以及与所述展开尺寸对应的缩放比例放大或者缩小,所述缩放比例与所述展开尺寸的变化有关。When the expanded size is greater than or equal to the second threshold, the virtual keyboard is controlled to enlarge or shrink according to the expanded size and the zoom ratio corresponding to the expanded size, and the change in the zoom ratio and the expanded size related.
  6. 如权利要求5所述的显示控制方法,其特征在于,控制所述虚拟键盘根据缩放比例放大或者缩小具体包括:The display control method according to claim 5, wherein controlling the virtual keyboard to zoom in or out according to a zoom ratio specifically includes:
    当所述展开尺寸大于或等于所述第二阈值,且所述展开尺寸值逐渐变大时,控制所述虚拟键盘按所述缩放比例放大;When the expanded size is greater than or equal to the second threshold, and the expanded size value gradually becomes larger, controlling the virtual keyboard to be enlarged according to the zoom ratio;
    当所述展开尺寸大于或等于所述第二阈值,且所述展开尺寸值逐渐减小时,控制所述虚拟键盘按所述缩放比例缩小。When the expanded size is greater than or equal to the second threshold, and the expanded size value gradually decreases, the virtual keyboard is controlled to be reduced according to the zoom ratio.
  7. 如权利要求6所述的显示控制方法,其特征在于,控制所述虚拟键盘根据缩放比例放大或者缩小具体包括:选定所述虚拟键盘的中心所对应的点为基准点,并以所选定的基准点为缩放所述虚拟键盘的缩放中心;其中,在缩放所述虚拟键盘时,所述基准点的位置不变,所述虚拟键盘上的每个点与所述基准点之间的距离根据所述缩放比例增大或减小。The display control method according to claim 6, wherein controlling the virtual keyboard to enlarge or reduce according to a zoom ratio specifically comprises: selecting a point corresponding to the center of the virtual keyboard as a reference point, and using the selected The reference point of is the zoom center of zooming the virtual keyboard; wherein, when zooming the virtual keyboard, the position of the reference point does not change, and the distance between each point on the virtual keyboard and the reference point Increase or decrease according to the zoom ratio.
  8. 如权利要求5所述的显示控制方法,其特征在于,当所述展开尺寸大于所述第一阈值且小于或等于第二阈值时,所述虚拟键盘以预设尺寸显示;控制所述虚拟键盘根据缩放比例放大或者缩小具体包括:The display control method according to claim 5, wherein when the expanded size is greater than the first threshold and less than or equal to the second threshold, the virtual keyboard is displayed in a preset size; the virtual keyboard is controlled Zoom in or zoom out according to the zoom ratio includes:
    所述虚拟键盘的显示尺寸与柔性显示屏的展开尺寸比为定值,所述虚拟键盘缩放后的大小为所述虚拟键盘的预设尺寸与所述缩放比例的乘积。The ratio of the display size of the virtual keyboard to the expanded size of the flexible display screen is a fixed value, and the scaled size of the virtual keyboard is the product of the preset size of the virtual keyboard and the scaling ratio.
  9. 一种电子设备,其特征在于,所述电子设备包括:An electronic device, characterized in that the electronic device includes:
    壳体;case;
    柔性显示屏,所述柔性显示屏可被卷曲地收纳于所述壳体内;A flexible display screen, the flexible display screen can be curled and stored in the housing;
    检测器,用于检测所述柔性显示屏自所述壳体展开的展开尺寸;A detector for detecting the expanded size of the flexible display screen unfolded from the casing;
    存储器,用于存储计算机可执行程序;以及Memory for storing computer executable programs; and
    处理器,用于根据所述展开尺寸控制所述柔性显示屏显示不同形态的虚拟键盘,所述不同形态的虚拟键盘为尺寸或者摆放方向不同的虚拟键盘。The processor is configured to control the flexible display screen to display virtual keyboards in different forms according to the expanded size, and the virtual keyboards in different forms are virtual keyboards with different sizes or placement directions.
  10. 如权利要求9所述的电子设备,其特征在于,所述处理器根据所述展开尺寸控制所述柔性显示屏显示虚拟键盘包括:The electronic device according to claim 9, wherein the processor controlling the flexible display screen to display the virtual keyboard according to the expanded size comprises:
    判断所述展开尺寸是否大于第一阈值且小于或等于第二阈值;Determine whether the expanded size is greater than the first threshold and less than or equal to the second threshold;
    当所述展开尺寸大于所述第一阈值且小于第二阈值时,控制所述虚拟键盘沿着第一方位摆放,所述第二阈值大于所述第一阈值。When the expanded size is greater than the first threshold and less than a second threshold, the virtual keyboard is controlled to be placed along a first orientation, and the second threshold is greater than the first threshold.
  11. 如权利要求10所述的电子设备,其特征在于,所述处理器根据所述展开尺寸控制所述柔性显示屏显示虚拟键盘包括:The electronic device according to claim 10, wherein the processor controlling the flexible display screen to display the virtual keyboard according to the expanded size comprises:
    判断所述展开尺寸是否大于或等于第二阈值;Determine whether the expanded size is greater than or equal to the second threshold;
    当所述展开尺寸大于或等于所述第二阈值时,控制所述虚拟键盘沿着第二方位摆放。When the expanded size is greater than or equal to the second threshold, the virtual keyboard is controlled to be placed along the second orientation.
  12. 如权利要求11所述的电子设备,其特征在于,所述第一方位和所述第二方位相互垂直。The electronic device of claim 11, wherein the first orientation and the second orientation are perpendicular to each other.
  13. 如权利要求11所述的电子设备,其特征在于,所述处理器根据所述展开尺寸信息控制所述柔性显示屏显示虚拟键盘,包括:The electronic device according to claim 11, wherein the processor controlling the flexible display screen to display a virtual keyboard according to the expanded size information includes:
    当所述展开尺寸大于或等于所述第二阈值时,控制所述虚拟键盘根据所述展开尺寸以及与所述展开尺寸对应的缩放比例放大或者缩小,所述缩放比例与所述展开尺寸的变化有关。When the expanded size is greater than or equal to the second threshold, the virtual keyboard is controlled to enlarge or shrink according to the expanded size and the zoom ratio corresponding to the expanded size, and the change in the zoom ratio and the expanded size related.
  14. 如权利要求13所述的电子设备,其特征在于,所述处理器还用于实现控制所述虚拟键盘根据缩放比例放大或者缩小具体包括:The electronic device according to claim 13, wherein the processor is further configured to control the virtual keyboard to be enlarged or reduced according to a zoom ratio specifically including:
    当所述展开尺寸大于或等于所述第二阈值,且所述展开尺寸值逐渐变大时,控制所述虚拟键盘按所述缩放比例放大;When the expanded size is greater than or equal to the second threshold, and the expanded size value gradually becomes larger, controlling the virtual keyboard to be enlarged according to the zoom ratio;
    当所述展开尺寸大于或等于所述第二阈值,且所述展开尺寸值逐渐减小时,控制所述虚拟键盘按所述缩放比例缩小。When the expanded size is greater than or equal to the second threshold, and the expanded size value gradually decreases, the virtual keyboard is controlled to be reduced according to the zoom ratio.
  15. 如权利要求14所述的电子设备,其特征在于,所述处理器控制所述虚拟键盘根据缩放比例放大或者缩小具体包括:The electronic device of claim 14, wherein the processor controlling the virtual keyboard to enlarge or reduce according to a zoom ratio specifically includes:
    选定所述虚拟键盘的中心所对应的点为基准点,并以所选定的基准点为缩放所述虚拟键盘的缩放中心;其中,在缩放所述虚拟键盘时,所述基准点的位置不变,所述虚拟键盘上的每个点与所述基准点之间的距离根据所述缩放比例增大或减小。Selecting a point corresponding to the center of the virtual keyboard as a reference point, and using the selected reference point as a zoom center for zooming the virtual keyboard; wherein, when zooming the virtual keyboard, the position of the reference point Without change, the distance between each point on the virtual keyboard and the reference point increases or decreases according to the zoom ratio.
  16. 如权利要求13所述的电子设备,其特征在于,当所述展开尺寸大于所述第一阈值且小于或等于第二阈值时,所述虚拟键盘以预设尺寸显示;所述处理器控制所述虚拟键盘根据缩放比例放大或者缩小具体包括:The electronic device of claim 13, wherein when the expanded size is greater than the first threshold and less than or equal to a second threshold, the virtual keyboard is displayed in a preset size; the processor controls the The virtual keyboard enlargement or reduction according to the zoom ratio specifically includes:
    所述虚拟键盘的显示尺寸与柔性显示屏的展开尺寸比为定值,所述虚拟键盘缩放后的大小为所述虚拟键盘的预设尺寸与所述缩放比例的乘积。The ratio of the display size of the virtual keyboard to the expanded size of the flexible display screen is a fixed value, and the scaled size of the virtual keyboard is the product of the preset size of the virtual keyboard and the scaling ratio.
  17. 一种存储介质,其特征在于,所述存储介质存储有计算机可执行程序,所述计算机可执行程序在被计算机调用时,使所述计算机执行如权利要求1-8任意一项所述的显示方法。A storage medium, characterized in that the storage medium stores a computer executable program which, when called by a computer, causes the computer to perform the display according to any one of claims 1-8 method.
PCT/CN2018/123491 2018-12-25 2018-12-25 Display method, electronic device, and storage medium WO2020132866A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/123491 WO2020132866A1 (en) 2018-12-25 2018-12-25 Display method, electronic device, and storage medium
CN201880095921.7A CN112639679A (en) 2018-12-25 2018-12-25 Display method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/123491 WO2020132866A1 (en) 2018-12-25 2018-12-25 Display method, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
WO2020132866A1 true WO2020132866A1 (en) 2020-07-02

Family

ID=71127243

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/123491 WO2020132866A1 (en) 2018-12-25 2018-12-25 Display method, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN112639679A (en)
WO (1) WO2020132866A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080059029A (en) * 2006-12-22 2008-06-26 중앙대학교 산학협력단 Display device having expandable display range
CN103426384A (en) * 2012-05-22 2013-12-04 三星显示有限公司 Display device, calibration method of display device, and display method of display device
CN106210310A (en) * 2016-07-08 2016-12-07 广东欧珀移动通信有限公司 A kind of pre-warning and control method, prewarning controller and flexible display apparatus
CN207408733U (en) * 2017-10-31 2018-05-25 中兴通讯股份有限公司 A kind of projecting apparatus with flexible screen

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012044713A1 (en) * 2010-10-01 2012-04-05 Imerj LLC Drag/flick gestures in user interface
TWI582640B (en) * 2013-01-10 2017-05-11 黃海濤 Hand-held electronic device having rolled-up screen and display method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080059029A (en) * 2006-12-22 2008-06-26 중앙대학교 산학협력단 Display device having expandable display range
CN103426384A (en) * 2012-05-22 2013-12-04 三星显示有限公司 Display device, calibration method of display device, and display method of display device
CN106210310A (en) * 2016-07-08 2016-12-07 广东欧珀移动通信有限公司 A kind of pre-warning and control method, prewarning controller and flexible display apparatus
CN207408733U (en) * 2017-10-31 2018-05-25 中兴通讯股份有限公司 A kind of projecting apparatus with flexible screen

Also Published As

Publication number Publication date
CN112639679A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
US10114418B2 (en) Electronic device and operation method thereof
US11169659B2 (en) Method and device for folder management by controlling arrangements of icons
CN107771317B (en) Electronic equipment with flexible display screen and processing method thereof
US20220247698A1 (en) Method for transmitting message and electronic device thereof
KR101859100B1 (en) Mobile device and control method for the same
US10528221B2 (en) Gravity menus for hand-held devices
EP2854013A1 (en) Method for displaying in electronic device and electronic device thereof
CN108463799B (en) Flexible display of electronic device and operation method thereof
US9747007B2 (en) Resizing technique for display content
TW200949822A (en) Display system and method for reducing power consumption of same
US20110043538A1 (en) Method and Arrangement for Zooming on a Display
WO2018119733A1 (en) Control method and device for display screen
US10545663B2 (en) Method for changing an input mode in an electronic device
US9489069B2 (en) Method for controlling display scrolling and zooming and an electronic device thereof
JP2018535462A (en) Touch heat map
US20140259150A1 (en) Method and apparatus for recognizing pattern
WO2020132866A1 (en) Display method, electronic device, and storage medium
CN105700704B (en) Character input method under small-size screen and device
CN111143731B (en) Display method and device for webpage interface zooming and terminal equipment
CN111610917B (en) Display method, display device and electronic equipment
US9176940B2 (en) System and method for text editor text alignment control
JP5869722B1 (en) Electronic device, display control method, and display control program
EP2869180A1 (en) Multi-language input method and multi-language input apparatus using the same
JP5841224B2 (en) Electronic device, display control method, and display control program
EP2927789A1 (en) Electronic device and method for displaying user interface

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18945033

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18945033

Country of ref document: EP

Kind code of ref document: A1