[go: up one dir, main page]

CN106168894B - Content display method and mobile terminal - Google Patents

Content display method and mobile terminal Download PDF

Info

Publication number
CN106168894B
CN106168894B CN201610515315.9A CN201610515315A CN106168894B CN 106168894 B CN106168894 B CN 106168894B CN 201610515315 A CN201610515315 A CN 201610515315A CN 106168894 B CN106168894 B CN 106168894B
Authority
CN
China
Prior art keywords
flexible screen
bending
dimensional table
dimensional
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610515315.9A
Other languages
Chinese (zh)
Other versions
CN106168894A (en
Inventor
卢晓锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610515315.9A priority Critical patent/CN106168894B/en
Publication of CN106168894A publication Critical patent/CN106168894A/en
Application granted granted Critical
Publication of CN106168894B publication Critical patent/CN106168894B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/08Projecting images onto non-planar surfaces, e.g. geodetic screens

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention provides a content display method and a mobile terminal. The method comprises the following steps: detecting the bending information of the flexible screen in real time; establishing a bending two-dimensional table according to the bending information; performing spatial projection transformation processing on the flexible screen based on the hardware parameter information of the bent two-dimensional table and the flexible screen to obtain a corrected two-dimensional table; and correcting the content displayed on the flexible screen according to the correction two-dimensional table. The embodiment of the invention can make the display content which looks deformed due to the flexible screen become smooth by correcting the two-dimensional table, and even if the flexible screen is bent, the content displayed on the flexible screen still looks normally displayed and is not deformed, thereby improving the use feeling of a user.

Description

一种内容显示方法及移动终端A content display method and mobile terminal

技术领域technical field

本发明涉及通信领域,尤其涉及一种内容显示方法及移动终端。The present invention relates to the field of communications, and in particular, to a content display method and a mobile terminal.

背景技术Background technique

随着电子技术的不断发展,移动终端的屏幕尺寸也越来越大。而在对大屏幕移动终端进行携带或使用时,往往会因为其本身的大尺寸特性对其便携性和使用舒适性造成了影响。With the continuous development of electronic technology, the screen size of the mobile terminal is also getting larger and larger. However, when a large-screen mobile terminal is carried or used, its portability and use comfort are often affected due to its large size.

而随着材料技术的不断提高,柔性屏材料逐渐应用到各类电子产品中,特别是移动终端的电子显示屏,以此形成了具有柔性屏的移动终端。这种移动终端的电子显示屏不再局限于特定的硬件尺寸上,相反,可以直接手持弯曲。因此,具有柔性屏的移动终端可以解决传统屏幕的移动终端在便携性和空间占用性上所存在的问题。With the continuous improvement of material technology, flexible screen materials are gradually applied to various electronic products, especially electronic display screens of mobile terminals, thereby forming mobile terminals with flexible screens. The electronic display screen of such a mobile terminal is no longer limited to a specific hardware size, on the contrary, it can be directly hand-held and bent. Therefore, a mobile terminal with a flexible screen can solve the problems of portability and space occupation of a mobile terminal with a traditional screen.

但是,当用户手持具有柔性屏的移动终端进行屏幕内容的浏览等操作时,由于柔性屏材料的可弯曲性,如果用户手持移动终端的力量过大或者处于(例如走路)动态场景时,那么就会因为按压力过大或是动态震动造成柔性屏变形弯曲,从而使柔性屏上显示的内容变形,干扰用户对屏幕内容的浏览等操作。However, when a user holds a mobile terminal with a flexible screen and performs operations such as browsing the screen content, due to the flexibility of the flexible screen material, if the user holds the mobile terminal with too much force or is in a dynamic scene (for example, walking), then the The flexible screen will be deformed and bent due to excessive pressing pressure or dynamic vibration, which will deform the content displayed on the flexible screen and interfere with the user's operations such as browsing the screen content.

由此可见,现有技术中在对具有柔性屏的移动终端进行内容显示时,存在着由柔性屏弯曲所导致的屏幕显示内容变形的问题。It can be seen that, in the prior art, when displaying content on a mobile terminal with a flexible screen, there is a problem of deformation of the displayed content on the screen caused by the bending of the flexible screen.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种内容显示方法及移动终端,以解决现有技术中在对具有柔性屏的移动终端进行内容显示时,所存在的由柔性屏弯曲所导致的屏幕显示内容变形的问题。Embodiments of the present invention provide a content display method and a mobile terminal, so as to solve the problem of screen display content deformation caused by bending of the flexible screen when displaying content on a mobile terminal with a flexible screen in the prior art.

第一方面,本发明实施例提供了一种内容显示方法,应用于具有柔性屏的移动终端,所述方法包括:In a first aspect, an embodiment of the present invention provides a content display method, which is applied to a mobile terminal with a flexible screen, and the method includes:

实时检测所述柔性屏的弯曲信息;Detecting the bending information of the flexible screen in real time;

根据所述弯曲信息,建立弯曲二维表;According to the bending information, establish a bending two-dimensional table;

基于所述弯曲二维表和所述柔性屏的硬件参数信息,对所述柔性屏进行空间投影变换处理,得到矫正二维表;Based on the curved two-dimensional table and the hardware parameter information of the flexible screen, performing spatial projection transformation processing on the flexible screen to obtain a corrected two-dimensional table;

根据所述矫正二维表对所述柔性屏上显示的内容进行矫正。The content displayed on the flexible screen is corrected according to the two-dimensional correction table.

第二方面,本发明实施例还提供了一种移动终端,所述移动终端具有柔性屏,所述移动终端包括:In a second aspect, an embodiment of the present invention further provides a mobile terminal, the mobile terminal has a flexible screen, and the mobile terminal includes:

实时检测模块,用于实时检测所述柔性屏的弯曲信息;a real-time detection module for real-time detection of the bending information of the flexible screen;

建立模块,用于根据所述弯曲信息,建立弯曲二维表;establishing a module for establishing a two-dimensional bending table according to the bending information;

投影模块,用于基于所述弯曲二维表和所述柔性屏的硬件参数信息,对所述柔性屏进行空间投影变换处理,得到矫正二维表;a projection module, configured to perform spatial projection transformation processing on the flexible screen based on the curved two-dimensional table and hardware parameter information of the flexible screen to obtain a corrected two-dimensional table;

矫正模块,用于根据所述矫正二维表对所述柔性屏上显示的内容进行矫正。A correction module, configured to correct the content displayed on the flexible screen according to the two-dimensional correction table.

这样,本发明实施例通过检测柔性屏的弯曲信息并建立弯曲二维表,从而确定柔性屏的弯曲程度;并通过该弯曲二维表和柔性屏的硬件参数信息来对柔性屏进行空间投影变换处理,得到矫正二维表,从而可以确定对屏幕显示的内容的矫正程度;通过该矫正二维表来对柔性屏上显示的内容进行矫正,这样就可以使由于柔性屏造成的看起来变形的显示内容变得平稳,即使柔性屏弯曲,但是在其上所显示的内容仍然看起来是正常显示的,并非变形的显示,从而提高了用户的使用感受。In this way, in the embodiment of the present invention, the bending degree of the flexible screen is determined by detecting the bending information of the flexible screen and establishing a two-dimensional bending table; and the spatial projection transformation of the flexible screen is performed by using the two-dimensional bending table and the hardware parameter information of the flexible screen. processing to obtain a correction two-dimensional table, so that the degree of correction of the content displayed on the screen can be determined; through the correction two-dimensional table, the content displayed on the flexible screen can be corrected, so that the distortion caused by the flexible screen can be corrected. The displayed content becomes smooth, and even if the flexible screen is curved, the content displayed on it still appears to be displayed normally rather than deformed, thereby improving user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the drawings that are used in the description of the embodiments of the present invention. Obviously, the 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 labor.

图1是本发明第一实施例的内容显示方法的流程图;1 is a flowchart of a content display method according to a first embodiment of the present invention;

图2是本发明第二实施例的内容显示方法的流程图;2 is a flowchart of a content display method according to a second embodiment of the present invention;

图3是本发明第三实施例的移动终端的框图;3 is a block diagram of a mobile terminal according to a third embodiment of the present invention;

图4是本发明第三实施例的另一移动终端的框图;4 is a block diagram of another mobile terminal according to the third embodiment of the present invention;

图5是本发明第四实施例的移动终端的框图;5 is a block diagram of a mobile terminal according to a fourth embodiment of the present invention;

图6是本发明第五实施例的移动终端的结构示意图。FIG. 6 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

第一实施例first embodiment

参照图1,示出了本发明一个实施例的内容显示方法的流程图,应用于具有柔性屏的移动终端,所述方法具体可以包括如下步骤:Referring to FIG. 1, there is shown a flowchart of a content display method according to an embodiment of the present invention, which is applied to a mobile terminal with a flexible screen. The method may specifically include the following steps:

步骤101,实时检测所述柔性屏的弯曲信息;Step 101, detecting the bending information of the flexible screen in real time;

其中,对于具有柔性屏的移动终端(例如手机),为了避免用户使用手机时使其屏幕变形,造成用户浏览的不便,本发明实施例的方法可以在柔性屏的表面设置感应器件,从而可以实时检测柔性屏的弯曲信息。Among them, for a mobile terminal with a flexible screen (such as a mobile phone), in order to prevent the user from deforming the screen when using the mobile phone, causing the user to browse inconveniently, the method of the embodiment of the present invention can set a sensing device on the surface of the flexible screen, so that real-time Detect the bending information of the flexible screen.

其中,对于该感应器件的类型来说,随着石墨烯等科技材料技术的发展,感应器件的类型很多,本发明对此感应器件的类型并不做具体限定。例如可以利用包括电容器件的感应器件来进行检测,具体原理则是通过感应器件检测到的电容变化来检测柔性屏的弯曲情况,从而得到弯曲信息。Among them, as for the type of the sensing device, with the development of scientific and technological materials such as graphene, there are many types of the sensing device, and the present invention does not specifically limit the type of the sensing device. For example, an inductive device including a capacitive device can be used for detection. The specific principle is to detect the bending of the flexible screen through the capacitance change detected by the inductive device, so as to obtain the bending information.

步骤102,根据所述弯曲信息,建立弯曲二维表;Step 102, establishing a two-dimensional bending table according to the bending information;

其中,在由感应器件检测到弯曲信息后,就可以获取该弯曲信息,并根据该弯曲信息来建立弯曲二维表。其中,对于该弯曲二维表来说,即以弯曲信息构成的二维表,二维表中的每个信息记录表示柔性屏上每个像素点的弯曲信息,这样就可以确定柔性屏上每个像素的弯曲程度。Wherein, after the bending information is detected by the sensing device, the bending information can be acquired, and a two-dimensional bending table can be established according to the bending information. Among them, for the bending two-dimensional table, that is, a two-dimensional table composed of bending information, each information in the two-dimensional table records the bending information representing each pixel on the flexible screen, so that each pixel on the flexible screen can be determined. The degree of curvature of a pixel.

步骤103,基于所述弯曲二维表和所述柔性屏的硬件参数信息,对所述柔性屏进行空间投影变换处理,得到矫正二维表;Step 103, based on the curved two-dimensional table and the hardware parameter information of the flexible screen, perform spatial projection transformation processing on the flexible screen to obtain a corrected two-dimensional table;

其中,可以根据该建立的弯曲二维表和柔性屏的硬件参数信息来对柔性屏进行空间投影变换处理从而得到矫正二维表,该矫正二维表中的每个信息记录表示柔性屏上每个像素点的弯度矫正信息。Wherein, according to the established curved two-dimensional table and the hardware parameter information of the flexible screen, the flexible screen can be subjected to spatial projection transformation processing to obtain the corrected two-dimensional table, and each information record in the corrected two-dimensional table represents each The curvature correction information of each pixel point.

步骤104,根据所述矫正二维表对所述柔性屏上显示的内容进行矫正。Step 104, correcting the content displayed on the flexible screen according to the two-dimensional correction table.

其中,可以根据该矫正二维表来对柔性屏上所显示的内容进行缩放程度的矫正,从而得到看起来平稳的显示内容。Wherein, the content displayed on the flexible screen can be corrected by the scaling degree according to the two-dimensional correction table, so as to obtain the displayed content that looks stable.

这样,本发明实施例通过检测柔性屏的弯曲信息并建立弯曲二维表,从而确定柔性屏的弯曲程度;并通过该弯曲二维表和柔性屏的硬件参数信息来对柔性屏进行空间投影变换处理,得到矫正二维表,从而可以确定对屏幕显示的内容的矫正程度;通过该矫正二维表来对柔性屏上显示的内容进行矫正,这样就可以使由于柔性屏造成的看起来变形的显示内容变得平稳,即使柔性屏弯曲,但是在其上所显示的内容仍然看起来是正常显示的,并非变形的显示,从而提高了用户的使用感受。In this way, in the embodiment of the present invention, the bending degree of the flexible screen is determined by detecting the bending information of the flexible screen and establishing a two-dimensional bending table; and the spatial projection transformation of the flexible screen is performed by using the two-dimensional bending table and the hardware parameter information of the flexible screen. processing to obtain a correction two-dimensional table, so that the degree of correction of the content displayed on the screen can be determined; through the correction two-dimensional table, the content displayed on the flexible screen can be corrected, so that the distortion caused by the flexible screen can be corrected. The displayed content becomes smooth, and even if the flexible screen is curved, the content displayed on it still appears to be displayed normally rather than deformed, thereby improving user experience.

第二实施例Second Embodiment

参照图2,示出了本发明另一个实施例的内容显示方法的流程图,应用于具有柔性屏的移动终端,所述方法具体可以包括如下步骤:Referring to FIG. 2 , a flowchart of a content display method according to another embodiment of the present invention is shown, which is applied to a mobile terminal with a flexible screen. The method may specifically include the following steps:

步骤201,实时检测所述柔性屏的弯曲信息;Step 201, detecting the bending information of the flexible screen in real time;

其中,该弯曲信息可以包括绝对弯曲角度和相对弯曲角度。The bending information may include an absolute bending angle and a relative bending angle.

其中,该绝对弯曲角度,即为像素点的绝对弯曲角度信息(例如该像素点弯曲了4度);而像素点的相对弯曲角度即为该像素点相对于周围像素点的弯曲角度信息。具体而言,该像素点周围的多个(这里举例为两个)邻近像素点分别弯曲了2度和3度,而该像素点的绝对弯曲角度为4度,那么这里,该像素点的相对弯曲角度信息就是1度)。The absolute bending angle is the absolute bending angle information of the pixel (for example, the pixel is bent by 4 degrees); and the relative bending angle of the pixel is the bending angle information of the pixel relative to the surrounding pixels. Specifically, multiple (here, two) adjacent pixels around the pixel are bent by 2 degrees and 3 degrees respectively, and the absolute bending angle of the pixel is 4 degrees, then here, the relative The bending angle information is 1 degree).

其中,由于感应器件在检测柔性屏上的每个像素点的弯曲角度时,有些像素点检测到的是绝对弯曲角度,有些像素点检测到相对弯曲角度,有些像素点既检测到绝对弯曲角度又检测到相对弯曲角度。因此,这里的弯曲信息既包括绝对弯曲角度又包括相对弯曲角度。Among them, when the sensing device detects the bending angle of each pixel on the flexible screen, some pixels detect the absolute bending angle, some pixels detect the relative bending angle, and some pixels detect both the absolute bending angle and Relative bend angle detected. Therefore, the bending information here includes both the absolute bending angle and the relative bending angle.

另外,在对弯曲信息进行检测时,本发明实施例不仅可以利用图1所示实施例中的感应器件,还会使用陀螺仪和/或摄像头等辅助检测器件来对弯曲信息进行检测。以陀螺仪为例,可以在移动终端的柔性屏的侧边安装陀螺仪,那么当侧边的陀螺仪检测到柔性屏的倾斜信息后,就可以将该倾斜信息发送至感应器件,来对由感应器件单独检测到的弯曲信息进行精度的矫正;而对于摄像头来说,它的原理则是通过拍摄的画面的平面变化来检测柔性屏的弯曲信息,将此弯曲信息发送至感应器件来对感应器件检测到的弯曲信息进行精度矫正。借此可以增加本发明实施例所检测到的弯曲信息的准确性和精度。In addition, when detecting the bending information, the embodiment of the present invention can not only use the sensing device in the embodiment shown in FIG. 1, but also use auxiliary detection devices such as a gyroscope and/or a camera to detect the bending information. Taking the gyroscope as an example, the gyroscope can be installed on the side of the flexible screen of the mobile terminal, then when the gyroscope on the side detects the tilt information of the flexible screen, the tilt information can be sent to the sensing device to detect the The bending information detected by the sensing device alone is corrected for accuracy; for the camera, its principle is to detect the bending information of the flexible screen through the plane change of the captured picture, and send this bending information to the sensing device to sense the The bending information detected by the device is corrected for precision. Thereby, the accuracy and precision of the bending information detected by the embodiments of the present invention can be increased.

可选的,在执行步骤201之前,本发明实施例的方法还可包括:接收移动终端用户对移动终端的预设操作(例如移动终端上设置有是否进入曲面稳定显示模式的按钮,可以点击该按钮进行该模式),然后使移动终端处于曲面稳定显示模式。Optionally, before step 201 is performed, the method in this embodiment of the present invention may further include: receiving a preset operation of the mobile terminal by the user of the mobile terminal (for example, the mobile terminal is provided with a button for whether to enter the curved surface stable display mode, which can be clicked on). button to enter this mode), and then put the mobile terminal in the curved stable display mode.

这样可以给用户提供一种选择是否进行柔性屏上的显示内容矫正的机会,而不是直接就使移动终端处于这种矫正模式中,在内容显示的方式上更具选择的灵活性。In this way, the user can be provided with an opportunity to choose whether to correct the displayed content on the flexible screen, instead of directly placing the mobile terminal in this correction mode, so that the content display mode has more flexibility in choice.

步骤202,根据所述弯曲信息,确定所述柔性屏上每个像素点相对于周围像素点的弯曲角度。Step 202 , according to the bending information, determine the bending angle of each pixel on the flexible screen relative to surrounding pixels.

其中,对于柔性屏上的每个像素点的弯曲信息来说,像素点A可能只检测到了绝对弯曲角度信息,像素点B可能检测到了相对弯曲角度信息。Among them, for the bending information of each pixel point on the flexible screen, the pixel point A may only detect the absolute bending angle information, and the pixel point B may detect the relative bending angle information.

因此,对于像素点的弯曲信息为相对弯曲角度信息的则可以直接获取,而对于有些像素点的弯曲信息为绝对弯曲角度信息的,则需要进行转换处理,即,对于这部分像素点还需要根据周围像素点的绝对弯曲角度,来确定该像素点相对于周围像素点的相对弯曲角度信息,从而得到每个像素点相对于周围像素点的弯曲角度(即相对弯曲角度)。Therefore, if the bending information of the pixel points is relative bending angle information, it can be obtained directly, while for some pixel points whose bending information is absolute bending angle information, conversion processing is required, that is, for this part of the pixels, it is necessary to The absolute bending angle of the surrounding pixels is used to determine the relative bending angle information of the pixel relative to the surrounding pixels, so as to obtain the bending angle (ie, the relative bending angle) of each pixel relative to the surrounding pixels.

而由于柔性屏上布局的像素点为三维结构,因此,每个像素点的周围像素点的布局可以分为X-Y平面的周围像素点,以及X-Z和Y-Z平面的周围像素点。因此,在确定每个像素点相对于周围像素点的弯曲角度时,即,所述步骤202的具体可以通过如下方式来实现:可以根据所述弯曲信息,确定所述柔性屏上的每个像素点相对于水平方向上的周围像素点(即X-Y平面的周围像素点)的第一弯曲角度,和相对于竖直方向上的周围像素点(即X-Z和Y-Z平面的周围像素点)的第二弯曲角度。即,相对弯曲角度又包括水平面上的相对弯曲角度,和竖直面上的相对弯曲角度。Since the pixels laid out on the flexible screen have a three-dimensional structure, the layout of the surrounding pixels of each pixel can be divided into the surrounding pixels of the X-Y plane, and the surrounding pixels of the X-Z and Y-Z planes. Therefore, when determining the bending angle of each pixel point relative to the surrounding pixel points, that is, the specificity of the step 202 may be implemented in the following manner: each pixel on the flexible screen may be determined according to the bending information The first bending angle of the point relative to the surrounding pixels in the horizontal direction (that is, the surrounding pixels of the X-Y plane), and the second bending angle relative to the surrounding pixels in the vertical direction (that is, the surrounding pixels of the X-Z and Y-Z planes) Bend angle. That is, the relative bending angle includes the relative bending angle on the horizontal plane and the relative bending angle on the vertical plane.

步骤203,根据所述弯曲角度,建立所述弯曲二维表。Step 203 , establishing the two-dimensional bending table according to the bending angle.

其中,在根据弯曲角度建立弯曲二维表时,由于每个像素点相对于周围像素点的弯曲角度分为两类。那么为了使弯曲二维表更简洁,以及建立速度更快,因此,可以根据所述第一弯曲角度建立第一弯曲二维表;并根据所述第二弯曲角度建立第二弯曲二维表。其中,通过建立两类弯曲二维表可以使二维表内的数量较少,减少错误率,并提供二维表的建立速度(可以并行建立)。Among them, when the two-dimensional bending table is established according to the bending angle, the bending angle of each pixel point relative to the surrounding pixel points is divided into two categories. Then, in order to make the curved two-dimensional table simpler and faster to build, therefore, a first curved two-dimensional table can be built according to the first curved angle; and a second curved two-dimensional table can be built according to the second curved angle. Among them, by establishing two types of curved two-dimensional tables, the number of the two-dimensional tables can be reduced, the error rate can be reduced, and the building speed of the two-dimensional tables can be provided (which can be built in parallel).

也就是说,可以对柔性屏上的每个像素点建立两类弯曲二维表,一类为水平弯曲二维表,一类为竖直弯曲二维表。其中,不管是哪个二维表,行表示记录、列表示属性。对于水平弯曲二维表来说,每条记录表示每个像素点相对于水平方向的周围各个像素点之间的弯曲角度值,每列表示的是二维表的属性,具体包括像素点ID、该像素点与每个水平方向上的周围像素点之间的弯曲角度。竖直弯曲二维表与水平弯曲二维表类似,在此不再赘述。That is to say, two types of curved two-dimensional tables can be established for each pixel point on the flexible screen, one is a horizontal curved two-dimensional table, and the other is a vertical curved two-dimensional table. Among them, no matter which two-dimensional table is, the row represents the record, and the column represents the attribute. For the horizontally curved two-dimensional table, each record represents the bending angle value of each pixel relative to the surrounding pixels in the horizontal direction, and each column represents the attributes of the two-dimensional table, including the pixel ID, The bending angle between this pixel and surrounding pixels in each horizontal direction. The vertically curved two-dimensional table is similar to the horizontally curved two-dimensional table, and details are not described here.

步骤204,基于所述弯曲二维表和所述柔性屏的分辨率参数,对所述柔性屏上的每个像素点进行空间投影变换处理,得到每个像素点相对于周围像素点的矫正参数;Step 204, based on the curved two-dimensional table and the resolution parameters of the flexible screen, perform spatial projection transformation processing on each pixel on the flexible screen to obtain the correction parameters of each pixel relative to surrounding pixels. ;

其中,可以根据第一弯曲二维表和第二弯曲二维表中的各个记录信息以及柔性屏的屏幕分辨率,来对柔性屏上的每个像素点进行空间投影变换处理,从而得到每个像素点相对于周围像素点之间的矫正参数。Wherein, according to the respective record information in the first curved two-dimensional table and the second curved two-dimensional table and the screen resolution of the flexible screen, spatial projection transformation processing can be performed on each pixel on the flexible screen, so as to obtain each pixel point of the flexible screen. Correction parameter between pixels relative to surrounding pixels.

具体而言,例如柔性屏的一部分变成了波形,那么以波峰部分为例,如果没有使用本发明实施例的方法,波峰部分显示的文字看起来会变小,而且只能看到文字的一部分,其他部分看不见。那么就可以根据两个弯曲二维表中每个像素与周围像素点之间的相对弯曲角度,以及柔性屏上每个像素点之间的实际物理距离来对柔性屏上的像素点进行空间投影变换处理,这样就可以确定波峰部分的文字的像素点相对于周围像素点的缩放程度(这里为放大)。Specifically, for example, a part of the flexible screen becomes a waveform, then take the peak part as an example, if the method of the embodiment of the present invention is not used, the text displayed on the peak part will look smaller, and only a part of the text can be seen , other parts are invisible. Then, the pixels on the flexible screen can be spatially projected according to the relative bending angle between each pixel and the surrounding pixels in the two curved two-dimensional tables, as well as the actual physical distance between each pixel on the flexible screen. Transformation processing, so that the degree of scaling (here, zooming) of the pixels of the text in the peak part relative to the surrounding pixels can be determined.

可选的,在步骤204之前,根据本发明实施例的方法还包括:将所述柔性屏的尺寸与预设尺寸阈值进行比较;当所述柔性屏的尺寸小于所述预设尺寸阈值时,基于所述弯曲二维表和所述柔性屏的硬件参数信息,对所述柔性屏进行水平方式的投影变换处理,得到所述矫正二维表;也就是说,面对尺寸较小的柔性屏,本发明实施例可以进行水平投影,来得到矫正二维表。而当所述柔性屏的尺寸大于所述预设尺寸阈值时,基于所述弯曲二维表和所述柔性屏的硬件参数信息,对所述柔性屏进行弧面型的投影变换处理,得到所述矫正二维表。也就是说,当柔性屏的尺寸较大时,由于人眼视觉角度的原因,可以对柔性屏上的每个像素点进行弧面型投影变换处理,来得到矫正二维表。Optionally, before step 204, the method according to the embodiment of the present invention further includes: comparing the size of the flexible screen with a preset size threshold; when the size of the flexible screen is smaller than the preset size threshold, Based on the curved two-dimensional table and the hardware parameter information of the flexible screen, a horizontal projection transformation process is performed on the flexible screen to obtain the corrected two-dimensional table; that is, when facing a flexible screen with a smaller size , the embodiment of the present invention can perform horizontal projection to obtain a corrected two-dimensional table. And when the size of the flexible screen is greater than the preset size threshold, based on the curved two-dimensional table and the hardware parameter information of the flexible screen, the flexible screen is subjected to arc-shaped projection transformation processing to obtain the Describe the correction two-dimensional table. That is to say, when the size of the flexible screen is large, due to the visual angle of the human eye, each pixel on the flexible screen can be subjected to arcuate projection transformation processing to obtain a corrected two-dimensional table.

步骤205,根据所述矫正参数,生成矫正二维表。Step 205: Generate a two-dimensional correction table according to the correction parameters.

其中,由于柔性屏上的每个像素都对应有一个矫正参数(例如每个像素点相对于周围像素点的缩放程度),这样就可以生成一个矫正二维表。Among them, since each pixel on the flexible screen corresponds to a correction parameter (for example, the scaling degree of each pixel relative to the surrounding pixels), a correction two-dimensional table can be generated.

步骤206,根据所述矫正二维表对所述柔性屏上显示的内容进行矫正。Step 206, correcting the content displayed on the flexible screen according to the two-dimensional correction table.

其中,可以根据该矫正二维表中对每个像素点的缩放程度信息来对柔性屏上显示的内容进行矫正,从而使得变形的文字经过矫正后,在人眼看来处于一个平面上显示,减少了柔性屏外观弯曲带来的内容显示不稳定的问题。Among them, the content displayed on the flexible screen can be corrected according to the zoom degree information of each pixel point in the correction two-dimensional table, so that the deformed text is displayed on a plane after correction, reducing the It solves the problem of unstable content display caused by the curved appearance of the flexible screen.

借助本发明实施例的上述技术方案,本发明实施例能够借助于检测到的柔性屏上每个像素点的弯曲信息来对柔性屏上显示的内容进行矫正,从而使得柔性屏上显示的内容不会因为柔性屏的弯曲导致内容显示变形,影响用户对内容的浏览体验;此外,在对柔性屏上的像素进行矫正时,不仅借助了柔性屏上的像素的相对弯曲角度还借助了柔性屏的分辨率参数,将软件信息与硬件信息相结合来确定像素点的矫正参数,使得矫正参数的确定更加准确,提高显示内容的矫正准确度。With the above technical solutions of the embodiments of the present invention, the embodiments of the present invention can correct the content displayed on the flexible screen by means of the detected bending information of each pixel on the flexible screen, so that the content displayed on the flexible screen does not change. Due to the bending of the flexible screen, the content display will be deformed, which will affect the user's browsing experience of the content; in addition, when correcting the pixels on the flexible screen, not only the relative bending angle of the pixels on the flexible screen is used, but also the flexible screen. Resolution parameter, the software information and hardware information are combined to determine the correction parameter of the pixel point, so that the determination of the correction parameter is more accurate, and the correction accuracy of the display content is improved.

第三实施例Third Embodiment

参照图3,示出了本发明一个实施例的移动终端的框图。其中,所述移动终端300具有柔性屏,图3所示移动终端300包括:Referring to FIG. 3, a block diagram of a mobile terminal according to an embodiment of the present invention is shown. The mobile terminal 300 has a flexible screen, and the mobile terminal 300 shown in FIG. 3 includes:

实时检测模块301,用于实时检测所述柔性屏的弯曲信息;The real-time detection module 301 is used for real-time detection of the bending information of the flexible screen;

建立模块302,用于根据所述弯曲信息建立弯曲二维表;establishing module 302, configured to establish a two-dimensional bending table according to the bending information;

投影模块303,用于基于所述弯曲二维表和所述柔性屏的硬件参数信息,对所述柔性屏进行空间投影变换处理,得到矫正二维表;The projection module 303 is configured to perform spatial projection transformation processing on the flexible screen based on the curved two-dimensional table and the hardware parameter information of the flexible screen to obtain a corrected two-dimensional table;

矫正模块304,用于根据所述矫正二维表对所述柔性屏上显示的内容进行矫正。The correction module 304 is configured to correct the content displayed on the flexible screen according to the correction two-dimensional table.

其中,所述弯曲信息包括:绝对弯曲角度和相对弯曲角度。Wherein, the bending information includes: an absolute bending angle and a relative bending angle.

参照图4,在图3的基础上,所述建立模块302可包括:Referring to FIG. 4, on the basis of FIG. 3, the establishing module 302 may include:

确定子模块3021,用于根据所述弯曲信息,确定所述柔性屏上每个像素点相对于周围像素点的弯曲角度;A determination sub-module 3021, configured to determine the bending angle of each pixel on the flexible screen relative to surrounding pixels according to the bending information;

所述建立模块302,还用于根据所述弯曲角度,建立所述弯曲二维表。The establishment module 302 is further configured to establish the bending two-dimensional table according to the bending angle.

所述确定子模块3021包括:The determining submodule 3021 includes:

确定子单元30211,用于根据所述弯曲信息,确定所述柔性屏上每个像素点相对于水平方向上的周围像素点的第一弯曲角度,和相对于竖直方向上的周围像素点的第二弯曲角度;The determining subunit 30211 is used to determine, according to the bending information, the first bending angle of each pixel on the flexible screen relative to the surrounding pixels in the horizontal direction, and the first bending angle relative to the surrounding pixels in the vertical direction. the second bending angle;

相应的,所述建立模块302,还用于根据所述第一弯曲角度建立第一弯曲二维表,以及根据所述第二弯曲角度建立第二弯曲二维表。Correspondingly, the establishment module 302 is further configured to establish a first bending two-dimensional table according to the first bending angle, and establish a second bending two-dimensional table according to the second bending angle.

所述投影模块303包括:The projection module 303 includes:

投影子模块3031,用于基于所述第一弯曲二维表和所述第二弯曲二维表以及所述柔性屏的分辨率参数,对所述柔性屏上的每个像素点进行空间投影变换处理,得到每个像素点相对于周围像素点的矫正参数;The projection sub-module 3031 is used to perform spatial projection transformation on each pixel on the flexible screen based on the first curved two-dimensional table and the second curved two-dimensional table and the resolution parameter of the flexible screen processing to obtain the correction parameters of each pixel relative to the surrounding pixels;

生成子模块3032,用于根据所述矫正参数,生成矫正二维表。The generating sub-module 3032 is configured to generate a two-dimensional correction table according to the correction parameters.

参照图4,在图3的基础上,可选的,所述移动终端300还可包括:Referring to FIG. 4, on the basis of FIG. 3, optionally, the mobile terminal 300 may further include:

比较模块305,用于将所述柔性屏的尺寸与预设尺寸阈值进行比较;a comparison module 305, configured to compare the size of the flexible screen with a preset size threshold;

所述投影模块303,还用于当所述柔性屏的尺寸小于所述预设尺寸阈值时,基于所述弯曲二维表和所述柔性屏的硬件参数信息,对所述柔性屏进行水平方式的投影变换处理,得到所述矫正二维表;The projection module 303 is further configured to, when the size of the flexible screen is smaller than the preset size threshold, perform a horizontal method on the flexible screen based on the curved two-dimensional table and the hardware parameter information of the flexible screen. The projection transformation processing of , obtains the described correction two-dimensional table;

所述投影模块303,还用于当所述柔性屏的尺寸大于所述预设尺寸阈值时,基于所述弯曲二维表和所述柔性屏的硬件参数信息,对所述柔性屏进行弧面型的投影变换处理,得到所述矫正二维表。The projection module 303 is further configured to, when the size of the flexible screen is larger than the preset size threshold, perform a curved surface on the flexible screen based on the curved two-dimensional table and the hardware parameter information of the flexible screen. type of projection transformation processing to obtain the rectified two-dimensional table.

移动终端300能够实现图1至图2的方法实施例中移动终端实现使得柔性屏上显示的内容不会因为柔性屏的弯曲导致内容显示变形,不会影响用户对内容的浏览体验;以及不仅借助了柔性屏上的像素的相对弯曲角度还借助了柔性屏的分辨率参数,将软件信息与硬件信息相结合来确定像素点的矫正参数,使得矫正参数的确定更加准确,提高显示内容的矫正准确度的效果,为避免重复,这里不再赘述。The mobile terminal 300 can implement the mobile terminal implementation in the method embodiments of FIG. 1 to FIG. 2 so that the content displayed on the flexible screen will not be deformed due to the bending of the flexible screen, and will not affect the user's browsing experience of the content; The relative bending angle of the pixels on the flexible screen is also based on the resolution parameters of the flexible screen, and the software information and hardware information are combined to determine the correction parameters of the pixel points, which makes the determination of the correction parameters more accurate and improves the correction accuracy of the displayed content. The effect, in order to avoid repetition, will not be repeated here.

第四实施例Fourth Embodiment

图5是本发明又一个实施例的移动终端的框图。图5所示的移动终端500包括:至少一个处理器501、存储器502、至少一个网络接口504和用户接口503。移动终端500中的各个组件通过总线系统505耦合在一起。可理解,总线系统505用于实现这些组件之间的连接通信。总线系统505除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图5中将各种总线都标为总线系统505。FIG. 5 is a block diagram of a mobile terminal according to still another embodiment of the present invention. The mobile terminal 500 shown in FIG. 5 includes: at least one processor 501 , memory 502 , at least one network interface 504 and user interface 503 . The various components in the mobile terminal 500 are coupled together by a bus system 505 . It is understood that the bus system 505 is used to implement the connection communication between these components. In addition to the data bus, the bus system 505 also includes a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 505 in FIG. 5 .

其中,用户接口503可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Among them, the user interface 503 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad or a touch screen, etc.).

可以理解,本发明实施例中的存储器502可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-OnlyMemory,ROM)、可编程只读存储器(ProgrammableROM,PROM)、可擦除可编程只读存储器(ErasablePROM,EPROM)、电可擦除可编程只读存储器(ElectricallyEPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(RandomAccessMemory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(StaticRAM,SRAM)、动态随机存取存储器(DynamicRAM,DRAM)、同步动态随机存取存储器(SynchronousDRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(DoubleDataRateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(SynchlinkDRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambusRAM,DRRAM)。本发明实施例描述的系统和方法的存储器502旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 502 in the embodiment of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be Read-Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (ErasablePROM, EPROM), Electrically Erasable Program read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be Random Access Memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double data rate synchronous dynamic random access memory (DoubleDataRateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct memory bus random access Memory (DirectRambusRAM, DRRAM). The memory 502 of the systems and methods described in the embodiments of the present invention is intended to include, but not be limited to, these and any other suitable types of memory.

在一些实施方式中,存储器502存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统5021和应用程序5022。In some embodiments, memory 502 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set of them: an operating system 5021 and applications 5022 .

其中,操作系统5021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序5022,包含各种应用程序,例如媒体播放器(MediaPlayer)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序5022中。The operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application program 5022 includes various application programs, such as a media player (MediaPlayer), a browser (Browser), etc., for implementing various application services. The program for implementing the method of the embodiment of the present invention may be included in the application program 5022 .

在本发明实施例中,通过调用存储器502存储的程序或指令,具体的,可以是应用程序5022中存储的程序或指令,处理器501用于实时检测所述柔性屏的弯曲信息;根据所述弯曲信息建立弯曲二维表;基于所述弯曲二维表和所述柔性屏的硬件参数信息,对所述柔性屏进行空间投影变换处理,得到矫正二维表;根据所述矫正二维表对所述柔性屏上显示的内容进行矫正。In this embodiment of the present invention, by calling the program or instruction stored in the memory 502, specifically, the program or instruction stored in the application program 5022, the processor 501 is configured to detect the bending information of the flexible screen in real time; The bending information establishes a bending two-dimensional table; based on the bending two-dimensional table and the hardware parameter information of the flexible screen, the flexible screen is subjected to spatial projection transformation processing to obtain a corrected two-dimensional table; according to the corrected two-dimensional table The content displayed on the flexible screen is corrected.

上述本发明实施例揭示的方法可以应用于处理器501中,或者由处理器501实现。处理器501可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器501中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器501可以是通用处理器、数字信号处理器(DigitalSignalProcessor,DSP)、专用集成电路(ApplicationSpecific IntegratedCircuit,ASIC)、现成可编程门阵列(FieldProgrammableGateArray,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器502,处理器501读取存储器502中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the above embodiments of the present invention may be applied to the processor 501 or implemented by the processor 501 . The processor 501 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method can be completed by an integrated logic circuit of hardware in the processor 501 or an instruction in the form of software. The above-mentioned processor 501 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (FieldProgrammableGateArray, FPGA) or other programmable logic devices, discrete gates. Or transistor logic devices, discrete hardware components. Various methods, steps, and logical block diagrams disclosed in the embodiments of the present invention can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present invention may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502, and completes the steps of the above method in combination with its hardware.

可以理解的是,本发明实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecificIntegratedCircuits,ASIC)、数字信号处理器(DigitalSignalProcessing,DSP)、数字信号处理设备(DSPDevice,DSPD)、可编程逻辑设备(ProgrammableLogicDevice,PLD)、现场可编程门阵列(Field-ProgrammableGateArray,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present invention may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processors (Digital Signal Processing, DSP), digital signal processing devices (DSP Device, DSPD), Programmable Logic Device (Programmable Logic Device, PLD) ), a Field-Programmable Gate Array (FPGA), a general-purpose processor, a controller, a microcontroller, a microprocessor, other electronic units for performing the functions described herein, or a combination thereof.

对于软件实现,可通过执行本发明实施例所述功能的模块(例如过程、函数等)来实现本发明实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the techniques described in the embodiments of the present invention may be implemented through modules (eg, procedures, functions, etc.) that perform the functions described in the embodiments of the present invention. Software codes may be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.

可选地,处理器501还用于:根据所述弯曲信息,确定所述柔性屏上每个像素点相对于周围像素点的弯曲角度;根据所述弯曲角度建立所述弯曲二维表。Optionally, the processor 501 is further configured to: determine the bending angle of each pixel point on the flexible screen relative to the surrounding pixel points according to the bending information; and establish the bending two-dimensional table according to the bending angle.

移动终端500能够实现前述实施例中移动终端实现使得柔性屏上显示的内容不会因为柔性屏的弯曲导致内容显示变形,不会影响用户对内容的浏览体验;以及不仅借助了柔性屏上的像素的相对弯曲角度还借助了柔性屏的分辨率参数,将软件信息与硬件信息相结合来确定像素点的矫正参数,使得矫正参数的确定更加准确,提高显示内容的矫正准确度的效果,为避免重复,这里不再赘述。The mobile terminal 500 can realize the implementation of the mobile terminal in the foregoing embodiments, so that the content displayed on the flexible screen will not be deformed due to the bending of the flexible screen, and will not affect the user's browsing experience of the content; The relative bending angle also uses the resolution parameters of the flexible screen, and combines the software information with the hardware information to determine the correction parameters of the pixel points, so that the determination of the correction parameters is more accurate, and the effect of the correction accuracy of the display content is improved. In order to avoid repetition , which will not be repeated here.

第五实施例Fifth Embodiment

图6是本发明另一个实施例的移动终端的结构示意图。具体地,图6中的移动终端600可以为手机、平板电脑、个人数字助理(PersonalDigital Assistant,PDA)、或车载电脑等。FIG. 6 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 600 in FIG. 6 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.

图6中的移动终端600包括射频(RadioFrequency,RF)电路610、存储器620、输入单元630、显示单元640、处理器660、音频电路670、WiFi(WirelessFidelity)模块680和电源690。The mobile terminal 600 in FIG. 6 includes a radio frequency (RF) circuit 610 , a memory 620 , an input unit 630 , a display unit 640 , a processor 660 , an audio circuit 670 , a WiFi (Wireless Fidelity) module 680 and a power supply 690 .

其中,输入单元630可用于接收用户输入的数字或字符信息,以及产生与移动终端600的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元630可以包括触控面板631。触控面板631,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板631上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板631可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器660,并能接收处理器660发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板631。除了触控面板631,输入单元630还可以包括其他输入设备632,其他输入设备632可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 630 may be used to receive numeric or character information input by the user, and generate signal input related to user settings and function control of the mobile terminal 600 . Specifically, in this embodiment of the present invention, the input unit 630 may include a touch panel 631 . The touch panel 631, also known as a touch screen, can collect the user's touch operations on or near it (such as the user's operations on the touch panel 631 using any suitable objects or accessories such as a finger, a stylus, etc.) The specified program drives the corresponding connection device. Optionally, the touch panel 631 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 660, and can receive the commands sent by the processor 660 and execute them. In addition, the touch panel 631 can be realized by various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 631, the input unit 630 may also include other input devices 632, and the other input devices 632 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, etc. one or more of.

其中,显示单元640可用于显示由用户输入的信息或提供给用户的信息以及移动终端600的各种菜单界面。显示单元640可包括显示面板641,可选的,可以采用LCD或有机发光二极管(OrganicLight-EmittingDiode,OLED)等形式来配置显示面板641。The display unit 640 may be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 600 . The display unit 640 may include a display panel 641, and optionally, the display panel 641 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).

应注意,触控面板631可以覆盖显示面板641,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器660以确定触摸事件的类型,随后处理器660根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 631 can cover the display panel 641 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is transmitted to the processor 660 to determine the type of the touch event, and then the processor 660 provides corresponding visual output on the touch display screen according to the type of touch event.

触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch screen includes the application program interface display area and the commonly used controls display area. The arrangement of the application program interface display area and the common control display area is not limited, and may be an arrangement that can distinguish the two display areas, such as up-down arrangement, left-right arrangement, or the like. The application program interface display area can be used to display the interface of the application program. Each interface may contain at least one application icon and/or interface elements such as widget desktop controls. The application program interface display area can also be an empty interface that does not contain any content. The commonly used control display area is used to display controls with high usage rate, such as setting buttons, interface numbers, scroll bars, phonebook icons and other application icons.

其中处理器660是移动终端600的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器621内的软件程序和/或模块,以及调用存储在第二存储器622内的数据,执行移动终端600的各种功能和处理数据,从而对移动终端600进行整体监控。可选的,处理器660可包括一个或多个处理单元。The processor 660 is the control center of the mobile terminal 600, and uses various interfaces and lines to connect various parts of the entire mobile phone, by running or executing the software programs and/or modules stored in the first memory 621, and calling the software programs and/or modules stored in the second memory 621. The data in the memory 622 executes various functions of the mobile terminal 600 and processes data, so as to monitor the mobile terminal 600 as a whole. Optionally, processor 660 may include one or more processing units.

在本发明实施例中,通过调用存储该第一存储器621内的软件程序和/或模块和/或该第二存储器622内的数据,处理器660用于实时检测所述柔性屏的弯曲信息;根据所述弯曲信息建立弯曲二维表;基于所述弯曲二维表和所述柔性屏的硬件参数信息,对所述柔性屏进行空间投影变换处理,得到矫正二维表;根据所述矫正二维表对所述柔性屏上显示的内容进行矫正。In this embodiment of the present invention, by calling and storing software programs and/or modules in the first memory 621 and/or data in the second memory 622, the processor 660 is configured to detect the bending information of the flexible screen in real time; Build a two-dimensional bending table according to the bending information; perform spatial projection transformation processing on the flexible screen based on the two-dimensional bending table and hardware parameter information of the flexible screen to obtain a two-dimensional correction table; according to the correction two-dimensional table The dimension table corrects the content displayed on the flexible screen.

可选地,处理器660用于根据所述弯曲信息,确定所述柔性屏上每个像素点相对于周围像素点的弯曲角度;根据所述弯曲角度建立所述弯曲二维表。Optionally, the processor 660 is configured to determine, according to the bending information, a bending angle of each pixel point on the flexible screen relative to surrounding pixels; and establishing the two-dimensional bending table according to the bending angle.

可见,本发明实施例能够实现使得柔性屏上显示的内容不会因为柔性屏的弯曲导致内容显示变形,不会影响用户对内容的浏览体验;以及提高显示内容的矫正准确度的效果,为避免重复,这里不再赘述。It can be seen that the embodiment of the present invention can realize that the content displayed on the flexible screen will not be deformed due to the bending of the flexible screen, and will not affect the user's browsing experience of the content; and the effect of improving the correction accuracy of the displayed content, in order to avoid Repeat, and will not repeat them here.

本领域普通技术人员可以意识到,结合本发明实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

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

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

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.

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

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (14)

1. A content display method is applied to a mobile terminal with a flexible screen, and is characterized by comprising the following steps:
detecting the bending information of the flexible screen in real time;
establishing a bending two-dimensional table according to the bending information;
performing spatial projection transformation processing on the flexible screen based on the two-dimensional bending table and the hardware parameter information of the flexible screen to obtain a two-dimensional correction table;
correcting the zoom degree of the content displayed on the flexible screen according to the correction two-dimensional table;
before the step of performing spatial projection transformation processing on the flexible screen based on the curved two-dimensional table and the hardware parameter information of the flexible screen to obtain a corrected two-dimensional table, the method further includes:
comparing the size of the flexible screen with a preset size threshold;
and when the size of the flexible screen is smaller than the preset size threshold, performing horizontal projection transformation processing on the flexible screen based on the two-dimensional bending table and the hardware parameter information of the flexible screen to obtain the two-dimensional correction table.
2. The method of claim 1, wherein the bending information comprises: absolute bend angle and relative bend angle.
3. The method of claim 1, wherein the step of building a curved two-dimensional table based on the curvature information comprises:
determining the bending angle of each pixel point on the flexible screen relative to surrounding pixel points according to the bending information;
and establishing the bending two-dimensional table according to the bending angle.
4. The method of claim 3, wherein said step of determining a bend angle of each pixel point on said flexible screen relative to surrounding pixel points based on said bend information comprises:
and determining a first bending angle of each pixel point on the flexible screen relative to surrounding pixel points in the horizontal direction and a second bending angle of each pixel point relative to surrounding pixel points in the vertical direction according to the bending information.
5. The method of claim 4, wherein said step of building said two-dimensional table of curves from said angle of curvature comprises:
establishing a first bending two-dimensional table according to the first bending angle;
and establishing a second bending two-dimensional table according to the second bending angle.
6. The method of claim 5, wherein the step of performing a spatial projective transformation on the flexible screen based on the curved two-dimensional table and the hardware parameter information of the flexible screen to obtain a corrected two-dimensional table comprises:
based on the first bending two-dimensional table, the second bending two-dimensional table and the resolution parameter of the flexible screen, performing spatial projection transformation processing on each pixel point on the flexible screen to obtain a correction parameter of each pixel point relative to surrounding pixel points;
and generating a correction two-dimensional table according to the correction parameters.
7. The method of claim 1, wherein after the step of comparing the size of the flexible screen to a preset size threshold, the method further comprises:
and when the size of the flexible screen is larger than the preset size threshold, carrying out arc-surface type projection transformation processing on the flexible screen based on the two-dimensional bending table and the hardware parameter information of the flexible screen to obtain the two-dimensional correction table.
8. A mobile terminal having a flexible screen, the mobile terminal comprising:
the real-time detection module is used for detecting the bending information of the flexible screen in real time;
the establishing module is used for establishing a bending two-dimensional table according to the bending information;
the projection module is used for carrying out space projection transformation processing on the flexible screen based on the bent two-dimensional table and the hardware parameter information of the flexible screen to obtain a corrected two-dimensional table;
the correcting module is used for correcting the zooming degree of the content displayed on the flexible screen according to the correcting two-dimensional table;
the mobile terminal further includes:
the comparison module is used for comparing the size of the flexible screen with a preset size threshold;
and the projection module is further used for performing horizontal projection transformation processing on the flexible screen based on the bent two-dimensional table and the hardware parameter information of the flexible screen to obtain the corrected two-dimensional table when the size of the flexible screen is smaller than the preset size threshold.
9. The mobile terminal of claim 8, wherein the bending information comprises: absolute bend angle and relative bend angle.
10. The mobile terminal of claim 8, wherein the establishing module comprises:
the determining submodule is used for determining the bending angle of each pixel point on the flexible screen relative to surrounding pixel points according to the bending information;
the establishing module is further used for establishing the bending two-dimensional table according to the bending angle.
11. The mobile terminal of claim 10, wherein the determining sub-module comprises:
and the determining subunit is used for determining a first bending angle of each pixel point on the flexible screen relative to surrounding pixel points in the horizontal direction and a second bending angle of each pixel point relative to surrounding pixel points in the vertical direction according to the bending information.
12. The mobile terminal of claim 11, wherein the establishing module is further configured to establish a first two-dimensional table of bending according to the first bending angle, and establish a second two-dimensional table of bending according to the second bending angle.
13. The mobile terminal of claim 12, wherein the projection module comprises:
the projection submodule is used for carrying out space projection transformation processing on each pixel point on the flexible screen based on the first bending two-dimensional table, the second bending two-dimensional table and the resolution parameter of the flexible screen to obtain a correction parameter of each pixel point relative to surrounding pixel points;
and the generation submodule is used for generating a correction two-dimensional table according to the correction parameters.
14. The mobile terminal according to claim 8, wherein the projection module is further configured to, when the size of the flexible screen is greater than the preset size threshold, perform arc-shaped projection transformation on the flexible screen based on the curved two-dimensional table and hardware parameter information of the flexible screen to obtain the corrected two-dimensional table.
CN201610515315.9A 2016-06-30 2016-06-30 Content display method and mobile terminal Active CN106168894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610515315.9A CN106168894B (en) 2016-06-30 2016-06-30 Content display method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610515315.9A CN106168894B (en) 2016-06-30 2016-06-30 Content display method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106168894A CN106168894A (en) 2016-11-30
CN106168894B true CN106168894B (en) 2020-03-10

Family

ID=58066184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610515315.9A Active CN106168894B (en) 2016-06-30 2016-06-30 Content display method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106168894B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106846491B (en) * 2017-01-03 2018-09-07 腾讯科技(深圳)有限公司 A kind of image drawing method and relevant apparatus
CN107102836B (en) * 2017-03-31 2020-06-19 北京小米移动软件有限公司 Display method and device
CN108037883A (en) * 2017-11-30 2018-05-15 努比亚技术有限公司 Control method, mobile terminal and the computer-readable recording medium of mobile terminal
CN108363455B (en) * 2018-01-31 2022-09-23 广州通博信息技术服务有限公司 Working mode switching method, mobile terminal and computer readable storage medium
CN108415679B (en) * 2018-03-08 2021-02-26 广东美的制冷设备有限公司 Device and touch control method thereof
CN109782992B (en) * 2018-12-28 2021-12-24 努比亚技术有限公司 Video playing method, double-screen terminal and computer readable storage medium
CN111240407A (en) * 2019-03-22 2020-06-05 卢丽君 Flexible screen and three-dimensional display method of flexible screen

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501383A (en) * 2013-09-17 2014-01-08 宇龙计算机通信科技(深圳)有限公司 Switching method of working modes of flexible screen and mobile terminal of flexible screen
CN104375713A (en) * 2013-08-14 2015-02-25 华为终端有限公司 Data processing method and mobile device
CN105091833A (en) * 2015-08-21 2015-11-25 华勤通讯技术有限公司 Bending test method and bending test device of flexible screen
CN105138076A (en) * 2015-08-03 2015-12-09 联想(北京)有限公司 Electronic apparatus control method and electronic apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375713A (en) * 2013-08-14 2015-02-25 华为终端有限公司 Data processing method and mobile device
CN103501383A (en) * 2013-09-17 2014-01-08 宇龙计算机通信科技(深圳)有限公司 Switching method of working modes of flexible screen and mobile terminal of flexible screen
CN105138076A (en) * 2015-08-03 2015-12-09 联想(北京)有限公司 Electronic apparatus control method and electronic apparatus
CN105091833A (en) * 2015-08-21 2015-11-25 华勤通讯技术有限公司 Bending test method and bending test device of flexible screen

Also Published As

Publication number Publication date
CN106168894A (en) 2016-11-30

Similar Documents

Publication Publication Date Title
CN106168894B (en) Content display method and mobile terminal
CN107172346B (en) Virtualization method and mobile terminal
CN107317993B (en) A kind of video call method and mobile terminal
CN107562345B (en) Information storage method and mobile terminal
US20150185953A1 (en) Optimization operation method and apparatus for terminal interface
CN107643847B (en) Message display method and mobile terminal
CN107659837B (en) A multimedia data playback control method and mobile terminal
CN107562335B (en) Display area adjusting method and mobile terminal
CN107181913A (en) A kind of photographic method and mobile terminal
CN106648035A (en) Image resolution adjusting method and mobile terminal
CN107197194A (en) A kind of video call method and mobile terminal
CN106126034B (en) A kind of button function setting method and mobile terminal
CN106951174A (en) The method of adjustment and mobile terminal of a kind of dummy keyboard
CN106200948A (en) The falling protection method of a kind of flexible screen mobile terminal and mobile terminal
CN105959564A (en) Photographing method and mobile terminal
CN107592458B (en) Shooting method and mobile terminal
CN107643912A (en) A kind of information sharing method and mobile terminal
CN105955544A (en) Touch operation processing method and mobile terminal
CN106940597A (en) A kind of camera starts control method and mobile terminal
CN106354374A (en) Icon moving method and mobile terminal
CN106210343A (en) The method of adjustment of a kind of mobile terminal screen brightness and mobile terminal
CN106970752A (en) A kind of screenshotss method and mobile terminal
CN106911897A (en) A kind of determination method and mobile terminal for shooting focus
CN106791422A (en) A kind of image processing method and mobile terminal
CN106383634A (en) Picture processing method and electronic equipment

Legal Events

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