[go: up one dir, main page]

CN108053803B - Display correction method, display correction device and display correction system of display module - Google Patents

Display correction method, display correction device and display correction system of display module Download PDF

Info

Publication number
CN108053803B
CN108053803B CN201711488918.5A CN201711488918A CN108053803B CN 108053803 B CN108053803 B CN 108053803B CN 201711488918 A CN201711488918 A CN 201711488918A CN 108053803 B CN108053803 B CN 108053803B
Authority
CN
China
Prior art keywords
image
preset image
preset
display
window area
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
CN201711488918.5A
Other languages
Chinese (zh)
Other versions
CN108053803A (en
Inventor
周意保
王小伟
钱勇军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711488918.5A priority Critical patent/CN108053803B/en
Publication of CN108053803A publication Critical patent/CN108053803A/en
Application granted granted Critical
Publication of CN108053803B publication Critical patent/CN108053803B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits

Landscapes

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

Abstract

本申请实施例提供的一种显示模组的显示校正方法、显示校正装置、显示校正系统、电子设备和计算机可读存储介质,通过电子设备接收校正指令,所述校正指令是根据第一图像检测到预设图像在显示屏的显示区域显示时相对显示模组的油墨视窗区域发生偏移时产生的,所述第一图像是所述显示模组处于亮屏状态下拍摄所述油墨视窗区域所得的图像;根据所述校正指令移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠,从而有效解决了显示模组的盖板上的油墨层的内侧边缘与BM区的内侧边缘产生错位所导致的显示效果不佳的问题。

Figure 201711488918

The embodiments of the present application provide a display correction method, a display correction device, a display correction system, an electronic device and a computer-readable storage medium for a display module. A correction instruction is received by an electronic device, and the correction instruction is generated when a preset image is detected based on a first image and is offset relative to an ink window area of the display module when displayed in a display area of the display screen, wherein the first image is an image of the ink window area captured when the display module is in a bright screen state; the position of the preset image is moved according to the correction instruction so that the geometric center of the preset image overlaps with the geometric center of the ink window area, thereby effectively solving the problem of poor display effect caused by the misalignment of the inner edge of the ink layer on the cover plate of the display module and the inner edge of the BM area.

Figure 201711488918

Description

显示模组的显示校正方法、显示校正装置和显示校正系统Display correction method, display correction device and display correction system of display module

技术领域technical field

本申请涉及显示技术领域,特别是涉及显示模组的显示校正方法、显示校正装置、显示校正系统、电子设备和计算机可读存储介质。The present application relates to the field of display technology, and in particular, to a display calibration method, a display calibration device, a display calibration system, an electronic device, and a computer-readable storage medium of a display module.

背景技术Background technique

在显示模组的盖板与显示屏的贴合过程中,盖板上的油墨层的内侧边缘与黑色矩阵(Black Matrix,简称BM区)的内侧边缘易产生错位。当显示屏点亮时,会出现显示图像在油墨视窗区域内不居中的问题,影响电子设备的显示效果。During the lamination process of the cover plate of the display module and the display screen, the inner edge of the ink layer on the cover plate and the inner edge of the black matrix (Black Matrix, BM area for short) are prone to misalignment. When the display screen is lit, there will be a problem that the display image is not centered in the ink window area, which affects the display effect of electronic equipment.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种显示模组的显示校正方法、显示校正装置、显示校正系统、电子设备和计算机可读存储介质,可以有效的解决盖板上的油墨层的内侧边缘与BM区的内侧边缘产生错位所导致的显示效果不佳的问题,提高电子设备的显示效果。The embodiments of the present application provide a display calibration method, a display calibration device, a display calibration system, an electronic device, and a computer-readable storage medium for a display module, which can effectively resolve the inner edge of the ink layer on the cover plate and the inner side of the BM area. The problem of poor display effect caused by the dislocation of the edge can improve the display effect of electronic equipment.

一种显示模组的显示校正方法,所述方法包括:A display calibration method for a display module, the method comprising:

接收校正指令,所述校正指令是根据第一图像检测到预设图像在显示屏的显示区域显示时相对显示模组的油墨视窗区域发生偏移时产生的;所述第一图像是所述显示模组处于亮屏状态下拍摄所述油墨视窗区域所得的图像;Receive a correction instruction, the correction instruction is generated when it is detected that the preset image is shifted relative to the ink window area of the display module when the preset image is displayed in the display area of the display screen according to the first image; the first image is the display The module is in a bright screen state to capture the image obtained from the ink window area;

根据所述校正指令移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。The position of the preset image is moved according to the correction instruction, so that the geometric center of the preset image overlaps the geometric center of the ink window area.

一种显示校正装置,所述装置包括:A display correction device, the device includes:

接收模块,用于接收校正指令,所述校正指令是根据第一图像检测到预设图像在显示屏的显示区域显示时相对显示模组的油墨视窗区域发生偏移时产生的;所述第一图像是所述显示模组处于亮屏状态下拍摄所述油墨视窗区域所得的图像;a receiving module, configured to receive a correction instruction, the correction instruction is generated when it is detected that the preset image is shifted relative to the ink window area of the display module when the preset image is displayed in the display area of the display screen according to the first image; the first image The image is the image obtained by shooting the ink window area when the display module is in a bright screen state;

处理模块,用于根据所述校正指令移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。The processing module is configured to move the position of the preset image according to the correction instruction, so that the geometric center of the preset image overlaps the geometric center of the ink window area.

一种显示校正系统,所述系统包括电子设备和与所述电子设备连接的校正设备;A display calibration system, the system includes an electronic device and a calibration device connected to the electronic device;

所述电子设备包括显示模组、存储器和处理器,所述显示模组能够处于亮屏状态并能够显示预设图像;The electronic device includes a display module, a memory and a processor, and the display module can be in a bright screen state and can display a preset image;

所述校正设备包括拍照组件、存储器及处理器,所述拍照组件用于拍摄所述显示模组处于亮屏状态下的油墨视窗区域,得到第一图像;The calibration device includes a photographing component, a memory and a processor, and the photographing component is used for photographing the ink window area of the display module in a bright screen state to obtain a first image;

所述校正设备的存储器中储存有计算机程序,所述计算机程序被所述校正设备的处理器执行时,使得所述校正设备的处理器执行如下步骤:A computer program is stored in the memory of the calibration device, and when the computer program is executed by the processor of the calibration device, the processor of the calibration device executes the following steps:

获取第一图像,根据所述第一图像,判断预设图像在显示屏的显示区域显示时相对所述显示模组的油墨视窗区域是否发生偏移;Acquiring a first image, and according to the first image, judging whether the preset image is offset relative to the ink window area of the display module when the preset image is displayed in the display area of the display screen;

若判断所述预设图像相对所述油墨视窗区域发生偏移,向所述电子设备发送校正指令;If it is determined that the preset image is offset relative to the ink window area, sending a correction instruction to the electronic device;

所述电子设备的存储器中储存有计算机程序,所述计算机程序被所述电子设备的处理器执行时,使得所述电子设备的处理器执行以下步骤:A computer program is stored in the memory of the electronic device, and when the computer program is executed by the processor of the electronic device, the processor of the electronic device executes the following steps:

接收所述校正设备发送的校正指令;receiving a correction instruction sent by the correction device;

根据所述校正指令移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。The position of the preset image is moved according to the correction instruction, so that the geometric center of the preset image overlaps the geometric center of the ink window area.

一种电子设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行所述的显示模组的显示校正方法的步骤。An electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is made to execute the steps of the display calibration method of the display module .

一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现所述的显示模组的显示校正方法的步骤。A computer-readable storage medium stores a computer program thereon, and when the computer program is executed by a processor, realizes the steps of the display correction method of the display module.

本申请实施例提供的一种显示模组的显示校正方法、显示校正装置、显示校正系统、电子设备和计算机可读存储介质,通过电子设备接收校正指令,所述校正指令是根据第一图像检测到预设图像在显示屏的显示区域显示时相对显示模组的油墨视窗区域发生偏移时产生的,所述第一图像是所述显示模组处于亮屏状态下拍摄所述油墨视窗区域所得的图像;根据所述校正指令移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠,从而有效解决了显示模组的盖板上的油墨层的内侧边缘与BM区的内侧边缘产生错位所导致的显示效果不佳的问题,避免了当显示屏点亮时,出现显示图像在油墨视窗区域内不居中的情况,提高电子设备的显示效果。A display calibration method, a display calibration device, a display calibration system, an electronic device, and a computer-readable storage medium for a display module provided by the embodiments of the present application receive a calibration instruction through the electronic device, and the calibration instruction is detected according to a first image. It is generated when the preset image is displayed in the display area of the display screen relative to the ink window area of the display module, and the first image is obtained by photographing the ink window area when the display module is in a bright screen state. move the position of the preset image according to the correction instruction, so that the geometric center of the preset image overlaps the geometric center of the ink window area, thereby effectively solving the problem of the ink on the cover of the display module The problem of poor display effect caused by the misalignment between the inner edge of the layer and the inner edge of the BM area avoids the situation that the display image is not centered in the ink window area when the display screen is lit, and improves the display effect of electronic equipment .

附图说明Description of drawings

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

图1为本申请一个实施例中电子设备的内部结构示意图;1 is a schematic diagram of the internal structure of an electronic device in an embodiment of the application;

图2为本申请一个实施例中电子设备的显示模组的结构示意图;2 is a schematic structural diagram of a display module of an electronic device according to an embodiment of the present application;

图3为图2的显示模组的断面结构示意图;3 is a schematic cross-sectional structure diagram of the display module of FIG. 2;

图4为图3的显示模组中油墨层的内侧边缘与BM区的内侧边缘产生错位的断面结构示意图;4 is a schematic cross-sectional structural diagram of the dislocation between the inner edge of the ink layer and the inner edge of the BM region in the display module of FIG. 3;

图5为本申请的显示模组的显示校正方法一个实施例的流程图;5 is a flowchart of an embodiment of a display calibration method for a display module of the present application;

图6(a)为本申请的显示模组的显示方法一个实施例中的预设图像;FIG. 6(a) is a preset image in an embodiment of the display method of the display module of the present application;

图6(b)为本申请的显示模组的显示方法一个实施例中显示模组的显示屏亮屏时显示图6(a)图像拍摄的图像示意图;FIG. 6(b) is a schematic diagram showing the image captured by the image of FIG. 6(a) when the display screen of the display module is on in an embodiment of the display method of the display module of the present application;

图7(a)为本申请的显示模组的显示方法一个实施例中的预设图像显示示意图;FIG. 7( a ) is a schematic diagram of displaying a preset image in an embodiment of the display method of the display module of the present application;

图7(b)为图7(a)中的预设图像在显示屏显示时相对油墨视窗区域发生偏移时的示意图;Fig. 7(b) is a schematic diagram when the preset image in Fig. 7(a) is shifted relative to the ink window area when displayed on the display screen;

图8(a)为本申请的显示模组的显示方法另一个实施例中的预设图像;8(a) is a preset image in another embodiment of the display method of the display module of the present application;

图8(b)为本申请的显示模组的显示方法另一个实施例中显示模组的显示屏亮屏时显示图8(a)图像拍摄的图像;FIG. 8(b) shows the image captured by the image of FIG. 8(a) when the display screen of the display module is bright in another embodiment of the display method of the display module of the present application;

图8(c)为本申请的显示模组的显示方法再一个实施例中显示模组的显示屏亮屏时显示图8(a)图像拍摄的图像;FIG. 8(c) shows the image captured by the image of FIG. 8(a) when the display screen of the display module is bright in another embodiment of the display method of the display module of the present application;

图9为一个实施例中显示校正系统的应用环境示意图;9 is a schematic diagram showing an application environment of the calibration system in one embodiment;

图10为本申请的显示模组的显示校正方法中一个实施例的时序交互图;10 is a timing interaction diagram of an embodiment of the display calibration method of the display module of the present application;

图11为本申请的显示模组的显示校正装置一个实施例的结构框图;11 is a structural block diagram of an embodiment of a display calibration device for a display module of the present application;

图12为与本申请实施例提供的电子设备相关的手机的部分结构的框图。FIG. 12 is a block diagram of a partial structure of a mobile phone related to an electronic device provided by an embodiment of the present application.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further 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 application, but not to limit the present application.

可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种对象,但这些对象不受这些术语限制。这些术语仅用于将第一个对象与另一个对象区分。举例来说,在不脱离本申请的范围的情况下,可以将第一方向称为第二方向,且类似地,可将第二方向称为第一方向。第一方向和第二方向两者都是方向,但其不一定是同个一方向。It will be understood that the terms "first", "second", etc. used in this application may be used herein to describe various objects, but these objects are not limited by these terms. These terms are only used to distinguish the first object from another. For example, a first direction could be termed a second direction, and, similarly, a second direction could be termed a first direction, without departing from the scope of this application. Both the first direction and the second direction are directions, but they are not necessarily the same direction.

图1为一个实施例中电子设备的内部结构示意图。如图1所示,该电子设备包括通过系统总线连接的处理器、非易失性存储介质、内存储器和网络接口。其中,该处理器用于提供计算和控制能力,支撑整个校正设备的运行。存储器用于存储数据、程序等,存储器上存储至少一个计算机程序,该计算机程序可被处理器执行,以实现本申请实施例中提供的适用于电子设备的显示模组的显示校正方法。存储器可包括磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random-Access-Memory,RAM)等。例如,在一个实施例中,存储器包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机程序。该计算机程序可被处理器所执行,以用于实现以下各个实施例所提供的一种显示模组的显示校正方法。内存储器为非易失性存储介质中的操作系统计算机程序提供高速缓存的运行环境。网络接口可以是以太网卡或无线网卡等,用于与外部的电子设备进行通信。本领域技术人员可以理解,图1中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的电子设备的限定,具体的电子设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。FIG. 1 is a schematic diagram of the internal structure of an electronic device in one embodiment. As shown in FIG. 1 , the electronic device includes a processor, a non-volatile storage medium, an internal memory and a network interface connected through a system bus. Among them, the processor is used to provide computing and control capabilities to support the operation of the entire calibration equipment. The memory is used for storing data, programs, etc., and at least one computer program is stored in the memory, and the computer program can be executed by the processor to implement the display correction method suitable for the display module of the electronic device provided in the embodiment of the present application. The memory may include a non-volatile storage medium such as a magnetic disk, an optical disk, and a read-only memory (Read-Only Memory, ROM), or a random-access-memory (Random-Access-Memory, RAM) and the like. For example, in one embodiment, the memory includes a non-volatile storage medium and internal memory. The nonvolatile storage medium stores an operating system and a computer program. The computer program can be executed by the processor to implement a display calibration method for a display module provided by the following embodiments. Internal memory provides a cached execution environment for operating system computer programs in non-volatile storage media. The network interface can be an Ethernet card or a wireless network card, etc., and is used to communicate with external electronic devices. Those skilled in the art can understand that the structure shown in FIG. 1 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied. The specific electronic device may be Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.

图2为本申请一个实施例中电子设备的显示模组的结构示意图,图3为图2的显示模组的断面结构示意图。如图2和图3所示,该显示模组主要包括盖板200及与所述盖板200连接的显示屏210。FIG. 2 is a schematic structural diagram of a display module of an electronic device according to an embodiment of the present application, and FIG. 3 is a cross-sectional structural schematic diagram of the display module of FIG. 2 . As shown in FIG. 2 and FIG. 3 , the display module mainly includes a cover plate 200 and a display screen 210 connected to the cover plate 200 .

显示屏210可以为LCD(Liquid Crystal Display,液晶显示屏)或OLED(OrganicLight-Emitting Diode,有机发光二级管)等显示屏。所述显示屏210包括像素区域211和非像素区域212,非像素区域212也就是BM区,像素区域211内的像素(图2中的小圆圈○示意的对象)可以被点亮而发光并用于显示图像,非像素区域212内设置控制电路结构,该控制电路结构用于控制像素区域211中的像素发光,非像素区域212无法发光。The display screen 210 may be a display screen such as an LCD (Liquid Crystal Display, liquid crystal display) or an OLED (Organic Light-Emitting Diode, organic light-emitting diode). The display screen 210 includes a pixel area 211 and a non-pixel area 212. The non-pixel area 212 is also the BM area. The pixels in the pixel area 211 (the objects indicated by the small circle ○ in FIG. 2 ) can be lit to emit light and used for To display an image, a control circuit structure is arranged in the non-pixel area 212, and the control circuit structure is used to control the pixels in the pixel area 211 to emit light, and the non-pixel area 212 cannot emit light.

盖板200与显示屏210层叠连接,例如,盖板200通过OCA胶结层(Optically ClearAdhesive,光学透明胶)与显示屏210进行贴合。所述盖板200靠近显示屏210的一侧印刷有油墨层220。所述油墨层220的内侧边缘2201围起来的区域为油墨视窗区域2204,也就是电子设备的显示屏在亮屏状态时能够被观察到的区域。油墨层220包括层叠设置的黑色油墨层2202和白色油墨层2203。其中盖板200、黑色油墨层2202、白色油墨层2203依次层叠设置。图3中的实施例示出两层油墨层,可以理解在其他实施例中油墨层的数量可以根据需要作出变化,例如,还可在白色油墨层2203下方再设置另一黑色油墨层。The cover plate 200 is connected to the display screen 210 by lamination. For example, the cover plate 200 is attached to the display screen 210 through an OCA adhesive layer (Optically Clear Adhesive, optically clear adhesive). An ink layer 220 is printed on the side of the cover plate 200 close to the display screen 210 . The area enclosed by the inner edge 2201 of the ink layer 220 is the ink window area 2204, that is, the area where the display screen of the electronic device can be observed when the screen is bright. The ink layer 220 includes a layered black ink layer 2202 and a white ink layer 2203 . The cover plate 200 , the black ink layer 2202 and the white ink layer 2203 are stacked in sequence. The embodiment in FIG. 3 shows two ink layers. It can be understood that in other embodiments, the number of ink layers can be changed as required. For example, another black ink layer can be provided under the white ink layer 2203 .

油墨层220使得盖板200上形成透明部202和边框部201,即油墨层220遮挡盖板200以在盖板200上形成相应的边框部201,透明部202与油墨视窗区域2204重叠。一些实施例中,透明部202可以大致为矩形,边框部201可以大致为环形。显示屏210发出的光线不能从边框部201透射出,因此,用户不能从边框部201上看到显示屏210上显示的图像。透明部202是可透光的,显示屏210发出的光线可以从透明部202透射出,用户在透明部202可以看到显示屏210上显示的图像。The ink layer 220 forms a transparent portion 202 and a frame portion 201 on the cover plate 200 , that is, the ink layer 220 shields the cover plate 200 to form a corresponding frame portion 201 on the cover plate 200 , and the transparent portion 202 overlaps the ink window area 2204 . In some embodiments, the transparent portion 202 may be substantially rectangular, and the frame portion 201 may be substantially annular. The light emitted by the display screen 210 cannot be transmitted through the frame part 201 , so the user cannot see the image displayed on the display screen 210 from the frame part 201 . The transparent part 202 is transparent, the light emitted by the display screen 210 can be transmitted through the transparent part 202 , and the user can see the image displayed on the display screen 210 on the transparent part 202 .

一般情况下,边框部201在显示屏210上的垂直投影覆盖全部非像素区域212。一实施例中,所述像素区域211比油墨视窗区域大,即所述边框部201在显示屏210上的垂直投影还覆盖部分像素区域211,以使所述像素区域211包括第一显示区域2112和被遮挡区域2111。其中被遮挡区域2111也即像素区域211中被边框部201遮挡的区域。所述第一显示区域2112是指显示屏处于亮屏状态时,能被用户自盖板200的透明部202通过油墨视窗区域观察到的区域。所述第一显示区域2112的边界线也即所述油墨层220的内侧边缘2201,或者是所述边框部201与所述透明部202的分界线。Generally, the vertical projection of the frame portion 201 on the display screen 210 covers the entire non-pixel area 212 . In one embodiment, the pixel area 211 is larger than the ink window area, that is, the vertical projection of the frame portion 201 on the display screen 210 also covers part of the pixel area 211 , so that the pixel area 211 includes the first display area 2112 and blocked area 2111. The blocked area 2111 is the area of the pixel area 211 that is blocked by the frame portion 201 . The first display area 2112 refers to an area that can be observed by a user through the ink viewing window area from the transparent portion 202 of the cover plate 200 when the display screen is in a bright screen state. The boundary line of the first display area 2112 is also the inner edge 2201 of the ink layer 220 , or the boundary line between the frame portion 201 and the transparent portion 202 .

所述像素区域211一般在所述油墨视窗的基础上外扩0.2毫米左右。在一些实施例中,所述像素区域211的边界在所述油墨视窗区域的边界的基础上外扩0.15毫米。The pixel area 211 is generally expanded by about 0.2 mm on the basis of the ink window. In some embodiments, the boundary of the pixel area 211 is extended by 0.15 mm on the basis of the boundary of the ink window area.

所述第一显示区域2112的中心线、所述油墨视窗区域2204的中心线和所述透明部202的中心线重叠,当需要在显示屏上显示预设图像时,将所述预设图像在显示屏上显示的位置设置为所述第一显示区域2112的位置,当显示屏点亮时,使所述第一显示区域2112显示的图像透过所述透明部202显示,所述图像处于所述透明部202和所述油墨层视窗区域2204的居中位置。但是,在显示模组的盖板200与显示屏210贴合过程中,与盖板200贴合的油墨层220的内侧边缘与非像素区域212的内侧边缘易产生错位,导致所述显示屏的第一显示区域2112的部分像素被所述油墨层220的内侧边缘遮挡,造成盖板200的透明部202的中心线与显示屏的第一显示区域2112显示出的图像的中心线产生偏差,当显示屏点亮时,会出现显示图像在透明部202内不居中的问题。例如当显示图像为多个图标时,会发生一侧图标的边缘与油墨层内边缘的距离大于对应的另一侧图标与油墨层内边缘的距离,影响电子设备的显示效果。The center line of the first display area 2112, the center line of the ink window area 2204 and the center line of the transparent portion 202 overlap. When a preset image needs to be displayed on the display screen, the preset image is The position displayed on the display screen is set as the position of the first display area 2112. When the display screen is lit, the image displayed in the first display area 2112 is displayed through the transparent part 202, and the image is in the position where the display screen is lit. The transparent portion 202 and the central position of the ink layer viewing window area 2204. However, during the lamination process of the cover plate 200 of the display module and the display screen 210 , the inner edge of the ink layer 220 attached to the cover plate 200 and the inner edge of the non-pixel area 212 are prone to misalignment, resulting in the dislocation of the display screen. Part of the pixels in the first display area 2112 are blocked by the inner edge of the ink layer 220, resulting in a deviation between the center line of the transparent portion 202 of the cover plate 200 and the center line of the image displayed in the first display area 2112 of the display screen. When the display screen is lit, there is a problem that the display image is not centered within the transparent portion 202 . For example, when the display image contains multiple icons, the distance between the edge of one icon and the inner edge of the ink layer may be greater than the distance between the corresponding icon on the other side and the inner edge of the ink layer, which affects the display effect of the electronic device.

比如,请参阅图4,图4为图3的显示模组中油墨层的内侧边缘与非像素区域212的内侧边缘产生错位的断面结构示意图,假设在显示模组的盖板200与显示屏210贴合过程中,与盖板200贴合的油墨层220的内侧边缘与非像素区域212的内侧边缘产生错位,所述油墨层220相对非像素区域212偏移了距离d的尺寸,使显示屏上所述油墨视窗区域2204和所述透明部202各自的位置也相应移动了距离d的尺寸,所述显示屏的第一显示区域2112的尺寸d部分像素被所述油墨层220的内侧边缘遮挡,从而使显示屏上能够透过所述油墨视窗区域2204和所述透明部202显示图像的像素移动到第二显示区域2112',但在显示模组的盖板200与显示屏210贴合前,图像在显示屏上显示时设置的位置是第一显示区域2112,从而在显示模组的盖板200与显示屏210贴合后,造成盖板200的透明部202的中心线与显示屏的第一显示区域2112显示出的图像的中心线产生偏差,当显示屏点亮时,会出现显示图像在透明部202内不居中的问题。For example, please refer to FIG. 4 . FIG. 4 is a schematic cross-sectional structural diagram of the dislocation between the inner edge of the ink layer and the inner edge of the non-pixel area 212 in the display module of FIG. 3 . During the lamination process, the inner edge of the ink layer 220 attached to the cover plate 200 is misaligned with the inner edge of the non-pixel area 212, and the ink layer 220 is offset relative to the non-pixel area 212 by the size of the distance d, which makes the display screen. The respective positions of the ink window area 2204 and the transparent portion 202 are also moved correspondingly by the size of the distance d, and some pixels of the size d of the first display area 2112 of the display screen are blocked by the inner edge of the ink layer 220 , so that the pixels on the display screen that can display images through the ink window area 2204 and the transparent portion 202 move to the second display area 2112 ′, but before the cover plate 200 of the display module is attached to the display screen 210 , the position where the image is displayed on the display screen is the first display area 2112, so that after the cover plate 200 of the display module is attached to the display screen 210, the center line of the transparent portion 202 of the cover plate 200 and the center line of the display screen are formed. The center line of the image displayed in the first display area 2112 deviates, and when the display screen is turned on, the problem that the displayed image is not centered in the transparent portion 202 occurs.

基于上述问题,本申请实施例提供一种显示模组的显示校正方法,可以有效的解决盖板上的油墨层的内侧边缘与BM区的内侧边缘产生错位所导致的显示效果不佳的问题,提高电子设备的显示效果。Based on the above problems, the embodiment of the present application provides a display correction method for a display module, which can effectively solve the problem of poor display effect caused by the misalignment between the inner edge of the ink layer on the cover plate and the inner edge of the BM area, Improve the display effect of electronic equipment.

请参阅图5,图5为本申请的显示模组的显示校正方法一个实施例的流程图,所述方法包括:Please refer to FIG. 5. FIG. 5 is a flowchart of an embodiment of a display calibration method for a display module of the present application. The method includes:

步骤500、接收校正指令,所述校正指令是根据第一图像检测到预设图像在显示屏的显示区域显示时相对显示模组的油墨视窗区域发生偏移时产生的;所述第一图像是所述显示模组处于亮屏状态下拍摄所述油墨视窗区域所得的图像。Step 500: Receive a correction instruction, the correction instruction is generated according to the first image when it is detected that the preset image is displayed in the display area of the display screen relative to the ink window area of the display module when the offset occurs; the first image is The display module is in a bright screen state to capture an image obtained from the ink window area.

其中,所述预设图像包括边界清晰的图像,比如,所述预设图像边界为矩形或者正方形的图像,或者所述预设图像为十字靶标等,从而方便通过第一图像确定所述预设图像在显示屏的显示区域显示时相对油墨视窗区域是否发生偏移。所述预设图像是预先设置的用于显示在电子设备的显示屏上的图像,可以存储在显示模组所属的电子设备中。Wherein, the preset image includes an image with a clear boundary, for example, an image whose boundary is a rectangle or a square, or the preset image is a cross target, etc., so that it is convenient to determine the preset through the first image Whether the image is offset relative to the ink window area when displayed in the display area of the monitor. The preset image is an image preset to be displayed on the display screen of the electronic device, and may be stored in the electronic device to which the display module belongs.

所述电子设备点亮所述电子设备的显示屏,并且所述显示屏显示预设图像,通过拍照设备拍摄所述电子设备的显示模组处于亮屏状态下的油墨视窗区域得到第一图像。所述拍照设备的拍照范围涵盖盖板的油墨视窗区域和显示屏的显示区域显示的预设图像,所述第一图像包括所述显示模组中盖板的油墨视窗区域图像和所述显示模组中在显示屏的显示区域显示的预设图像。请参阅图3,所述第一图像包括图3中油墨视窗区域2204的油墨视窗区域图像和第一显示区域2112显示的预设图像。拍照设备可以为所述电子设备的拍照组件,比如电子设备的可伸缩可旋转的拍照组件,也可以是通过有线方式或者无线方式与电子设备连接的单独的拍照设备。所述拍照设备包括电荷耦合元件(Charge-coupledDevice,CCD设备),比如在所述第一显示区域2112的中心显示一个十字靶标,可以通过CCD设备捕捉十字靶标到所述油墨视窗区域边界线的距离来判定十字靶标是否在油墨视窗区域的正中心。其中,电荷耦合元件称为CCD图像传感器,也叫图像控制器。The electronic device lights up the display screen of the electronic device, and the display screen displays a preset image, and the first image is obtained by photographing the ink window area of the display module of the electronic device in a bright screen state with a camera device. The photographing range of the photographing device covers the ink window area of the cover plate and the preset image displayed in the display area of the display screen, and the first image includes the ink window area image of the cover plate in the display module and the display module. Preset images in the group displayed in the display area of the monitor. Referring to FIG. 3 , the first image includes the ink window area image of the ink window area 2204 in FIG. 3 and the preset image displayed in the first display area 2112 . The photographing device may be a photographing component of the electronic device, such as a retractable and rotatable photographing component of the electronic device, or a separate photographing device connected to the electronic device in a wired or wireless manner. The photographing device includes a charge-coupled device (Charge-coupled Device, CCD device), for example, a cross target is displayed in the center of the first display area 2112, and the distance from the cross target to the boundary line of the ink window area can be captured by the CCD device. to determine whether the cross target is in the exact center of the ink window area. Among them, the charge-coupled element is called a CCD image sensor, also called an image controller.

根据获取的所述第一图像,判断所述预设图像在显示屏的显示区域显示时,所述预设图像相对显示模组的油墨视窗区域是否发生偏移。比如,电子设备通过分析所述预设图像的几何中心和油墨视窗区域图像的几何中心是否重叠,或者通过分析所述预设图像的几何中心到所述油墨视窗区域图像相对两边的距离是否一致,或者通过分析所述预设图像的相对两边的边界线到所述油墨视窗区域图像的相对两边的距离是否一致,若判断结果为“是”,判断所述显示区域未存在像素点被油墨层遮挡,进而判断所述预设图像在所述显示区域显示时相对所述油墨视窗区域未发生偏移,否则,判断所述显示区域存在像素点被油墨层遮挡,进而判断所述预设图像在所述显示区域显示时相对所述油墨视窗区域发生偏移。According to the acquired first image, when the preset image is displayed in the display area of the display screen, it is determined whether the preset image is offset relative to the ink window area of the display module. For example, the electronic device analyzes whether the geometric center of the preset image and the geometric center of the ink window area image overlap, or by analyzing whether the distances from the geometric center of the preset image to the opposite sides of the ink window area image are consistent, Or by analyzing whether the distances between the boundary lines on the opposite sides of the preset image to the opposite sides of the ink window area image are consistent, if the judgment result is "Yes", it is judged that there are no pixels in the display area that are blocked by the ink layer. , and then determine that the preset image is not offset relative to the ink window area when displayed in the display area, otherwise, determine that there are pixels in the display area that are blocked by the ink layer, and then determine that the preset image is in the display area. When the display area is displayed, it is offset relative to the ink window area.

若电子设备判断所述预设图像相对所述显示模组的油墨视窗区域发生偏移,电子设备产生校正指令。If the electronic device determines that the preset image is offset relative to the ink window area of the display module, the electronic device generates a correction instruction.

步骤520、根据所述校正指令移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。Step 520: Move the position of the preset image according to the correction instruction, so that the geometric center of the preset image overlaps the geometric center of the ink window area.

具体地,若电子设备通过分析获取的所述第一图像,判断所述预设图像相对所述显示模组的油墨视窗区域发生偏移,通过所述第一图像分析所述预设图像相对所述油墨视窗区域的偏移方向和偏移尺寸,根据所述偏移方向和偏移尺寸产生校正指令,所述校正指令用于指示所述电子设备将所述预设图像从发生偏移的偏移方向向所述偏移方向的相反方向移动偏移尺寸的距离,所述电子设备根据所述校正指令按照偏移方向和偏移尺寸移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。Specifically, if the electronic device judges that the preset image is offset relative to the ink window area of the display module by analyzing the first image acquired by the electronic device, the preset image is analyzed relative to all the first images through the first image. The offset direction and offset size of the ink window area, and a correction instruction is generated according to the offset direction and offset size, and the correction instruction is used to instruct the electronic device to change the preset image from the offset offset The moving direction moves the distance of the offset size in the opposite direction of the offset direction, and the electronic device moves the position of the preset image according to the offset direction and the offset size according to the correction instruction, so that the preset image The geometric center of the overlaps the geometric center of the ink window area.

比如,请继续参阅图4,假设在显示模组的盖板200与显示屏210贴合过程中,与盖板200贴合的油墨层220的内侧边缘与非像素区域212的内侧边缘产生错位,所述油墨层220相对非像素区域212偏移了距离d的尺寸,使显示屏上所述油墨视窗区域2204和所述透明部202各自的位置也相应移动了距离d的尺寸,所述显示屏的第一显示区域2112的尺寸d部分像素被所述油墨层220的内侧边缘遮挡,从而使显示屏上能够透过所述油墨视窗区域2204和所述透明部202显示图像的像素移动到第二显示区域2112'。若将所述预设图像在显示屏显示时的位置设置在所述第一显示区域2112,则电子设备获取第一图像,通过分析获取的所述第一图像,判断所述预设图像相对所述显示模组的油墨视窗区域发生偏移,通过所述第一图像分析所述预设图像相对所述油墨视窗区域的偏移方向和偏移尺寸为d,根据所述偏移方向和偏移尺寸d产生校正指令,所述校正指令用于指示所述电子设备将所述预设图像从所述第一显示区域2112移动到所述第二显示区域2112',所述电子设备根据接收到所述校正指令,将所述预设图像的位置从所述第一显示区域2112移动到所述第二显示区域2112',从而使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。For example, please continue to refer to FIG. 4, it is assumed that in the process of laminating the cover plate 200 of the display module and the display screen 210, the inner edge of the ink layer 220 attached to the cover plate 200 is misaligned with the inner edge of the non-pixel area 212, The ink layer 220 is offset by a distance d relative to the non-pixel area 212, so that the respective positions of the ink window area 2204 and the transparent portion 202 on the display screen are also shifted by a distance d. The size d of the first display area 2112 is partially blocked by the inner edge of the ink layer 220, so that the pixels on the display screen that can display the image through the ink window area 2204 and the transparent portion 202 are moved to the second Display area 2112'. If the position of the preset image when displayed on the display screen is set in the first display area 2112, the electronic device acquires the first image, and by analyzing the acquired first image, judges that the preset image is relatively relative to the preset image. The ink window area of the display module is offset, and the offset direction and offset size of the preset image relative to the ink window area are analyzed by the first image to be d. According to the offset direction and offset The size d generates a correction instruction, the correction instruction is used to instruct the electronic device to move the preset image from the first display area 2112 to the second display area 2112', the electronic device according to the received The correction instruction is used to move the position of the preset image from the first display area 2112 to the second display area 2112', so that the geometric center of the preset image is the same as the geometric center of the ink window area. overlapping.

在一个实施例中,所述根据所述校正指令移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠的步骤包括:In one embodiment, the step of moving the position of the preset image according to the correction instruction so that the geometric center of the preset image overlaps the geometric center of the ink window area includes:

调整所述显示区域的各个像素点显示的颜色值,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。The color value displayed by each pixel in the display area is adjusted so that the geometric center of the preset image overlaps the geometric center of the ink window area.

具体地,调整所述显示区域的各个像素点显示的颜色值,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠,是指所述预设图像在所述显示屏上显示时,按照所述预设图像相对所述油墨视窗区域发生偏移的偏移方向和偏移尺寸,将所述预设图像向所述偏移方向的相反方向调整偏移尺寸的距离,对应的,将所述预设图像在所述显示屏上显示时的位置调整后,对应的所述显示屏上的像素点的颜色值,对应调整至所述预设图像中各个像素点的颜色值,使所述预设图像在所述显示屏上显示时,所述预设图像的几何中心在所述显示屏的位置与所述油墨视窗区域的几何中心重叠。Specifically, adjusting the color value displayed by each pixel in the display area so that the geometric center of the preset image overlaps the geometric center of the ink window area means that the preset image is displayed on the display screen During display, according to the offset direction and offset size of the preset image offset relative to the ink window area, the preset image is adjusted to the opposite direction of the offset direction by the distance of the offset size, corresponding to After adjusting the position of the preset image when it is displayed on the display screen, the color value of the corresponding pixel on the display screen is adjusted to the color value of each pixel in the preset image. , when the preset image is displayed on the display screen, the geometric center of the preset image overlaps the geometric center of the ink window area at the position of the display screen.

所述预设图像在显示屏上显示时,是通过显示屏的像素点显示所述预设图像的图像像素点的颜色值来实现的。比如,请参阅表格1,假设所述预设图像包含4个像素,每个像素点对应相应的颜色值,如:预设图像中a11位置上像素的颜色值为A1,a12位置上像素的颜色值为A2,a13位置上像素的颜色值为A3,a14位置上像素的颜色值为A4,像素颜色值A1、A2、A3和A4及其对应的位置关系构成了所述预设图像。When the preset image is displayed on the display screen, it is realized by displaying the color value of the image pixel point of the preset image through the pixel point of the display screen. For example, please refer to Table 1, assuming that the preset image contains 4 pixels, each pixel corresponds to a corresponding color value, such as: the color value of the pixel at position a11 in the preset image is A1, and the color of the pixel at position a12 The value is A2, the color value of the pixel at the a13 position is A3, the color value of the pixel at the a14 position is A4, and the pixel color values A1, A2, A3, and A4 and their corresponding positional relationships constitute the preset image.

表格1Table 1

Figure BDA0001535247510000101
Figure BDA0001535247510000101

请继续参阅图4,假设所述预设图像在所述电子设备的显示屏上显示时,预先设置所述预设图像在显示屏上的位置为第一显示区域2112,所述第一显示区域包含像素点b11、b12、b13和b14,所述第一显示区域2112的像素点和所述预设图像的对应关系如表格1所示。Please continue to refer to FIG. 4, assuming that when the preset image is displayed on the display screen of the electronic device, the position of the preset image on the display screen is preset as the first display area 2112, the first display area It includes pixel points b11 , b12 , b13 and b14 , and the corresponding relationship between the pixel points of the first display area 2112 and the preset image is shown in Table 1.

假设在显示模组的盖板200与显示屏210贴合过程中,与盖板200贴合的油墨层220的内侧边缘与非像素区域212的内侧边缘产生错位,所述油墨层220相对非像素区域212偏移了距离d的尺寸,显示屏上所述油墨视窗区域2204和所述透明部202各自的位置也相应移动了距离d的尺寸,所述显示屏的第一显示区域2112的尺寸d部分像素被所述油墨层220的内侧边缘遮挡,从而使显示屏上能够透过所述油墨视窗区域2204和所述透明部202显示图像的像素移动到第二显示区域2112'。Suppose that during the lamination process between the cover plate 200 of the display module and the display screen 210 , the inner edge of the ink layer 220 attached to the cover plate 200 and the inner edge of the non-pixel area 212 are misaligned, and the ink layer 220 is relatively non-pixel. The area 212 is shifted by the size of the distance d, the respective positions of the ink window area 2204 and the transparent portion 202 on the display screen are also shifted by the size of the distance d, and the size of the first display area 2112 of the display screen is d. Part of the pixels are blocked by the inner edge of the ink layer 220, so that the pixels on the display screen that can display images through the ink window area 2204 and the transparent portion 202 are moved to the second display area 2112'.

若在显示模组的盖板200与显示屏210贴合前,将所述预设图像在显示屏显示时的位置设置在所述第一显示区域2112,则所述预设图像通过所述第一显示区域2112显示时,则所述第一显示区域2112的尺寸d部分像素显示的所述预设图像的部分由于被油墨层220遮挡,而无法通过所述油墨视窗区域2204和透明部202显示到盖板200上,则电子设备获取第一图像,通过分析获取的所述第一图像,判断所述预设图像在显示屏的第一显示区域2112显示时相对所述显示模组的油墨视窗区域发生偏移,通过所述第一图像分析所述预设图像在所述第一显示区域2112显示时相对所述油墨视窗区域的偏移方向和偏移尺寸为d,根据所述偏移方向和偏移尺寸d产生校正指令,所述校正指令用于指示所述电子设备将所述预设图像在显示屏上显示时的位置从所述第一显示区域2112移动到所述第二显示区域2112',所述电子设备根据接收到所述校正指令,将所述预设图像的位置从所述第一显示区域2112移动到所述第二显示区域2112',也就是将所述第二显示区域2112'各个像素点显示的颜色值调整到所述预设图像的各个像素点的颜色值,从而使所述预设图像在所述显示屏显示时,所述预设图像的几何中心在所述显示屏的位置与所述油墨视窗区域的几何中心重叠。If the position of the preset image when displayed on the display screen is set in the first display area 2112 before the cover plate 200 of the display module is attached to the display screen 210, the preset image passes through the first display area 2112. When a display area 2112 is displayed, the part of the preset image displayed by the pixels of the size d of the first display area 2112 cannot be displayed through the ink window area 2204 and the transparent portion 202 because it is blocked by the ink layer 220 . On the cover plate 200, the electronic device obtains the first image, and by analyzing the obtained first image, it is judged that the preset image is displayed relative to the ink window of the display module when the preset image is displayed in the first display area 2112 of the display screen. If the area is offset, the offset direction and offset size of the preset image relative to the ink window area when displayed in the first display area 2112 through the first image analysis is d, according to the offset direction and the offset size d to generate a correction instruction, the correction instruction is used to instruct the electronic device to move the position of the preset image when displayed on the display screen from the first display area 2112 to the second display area 2112', the electronic device moves the position of the preset image from the first display area 2112 to the second display area 2112' according to the received correction instruction, that is, the second display area is moved to the second display area 2112'. The color value displayed by each pixel in the area 2112' is adjusted to the color value of each pixel of the preset image, so that when the preset image is displayed on the display screen, the geometric center of the preset image is at the location where the preset image is displayed. The position of the display screen overlaps the geometric center of the ink window area.

在一个实施例中,所述根据所述校正指令移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠的步骤包括:In one embodiment, the step of moving the position of the preset image according to the correction instruction so that the geometric center of the preset image overlaps the geometric center of the ink window area includes:

根据所述校正指令,控制所述预设图像相对显示模组的油墨视窗区域发生偏移一侧的第一预设像素处于熄灭状态,控制所述发生偏移一侧对应的另一侧的第二预设像素处于点亮状态,其中,所述第一预设像素的像素列的数值和所述第二预设像素的像素列的数值相同,或者所述第一预设像素的像素行的数值和所述第二预设像素的像素行的数值相同。According to the correction instruction, control the first preset pixel on the side where the preset image is offset from the ink window area of the display module to be in an off state, and control the first preset pixel on the other side corresponding to the offset side. Two preset pixels are in the lit state, wherein the value of the pixel column of the first preset pixel is the same as the value of the pixel column of the second preset pixel, or the value of the pixel row of the first preset pixel is the same. The numerical value is the same as the numerical value of the pixel row of the second preset pixel.

具体地,电子设备通过拍照设备获取显示模组处于亮屏状态下所述油墨视窗区域的所述第一图像,所述电子设备根据所述第一图像,判断所述预设图像相对显示模组的油墨视窗区域发生偏移,通过所述第一图像获取所述预设图像相对所述油墨视窗区域发生偏移的偏移方向和偏移尺寸,产生校正指令,电子设备根据所述校正指令,当显示屏处于亮屏状态时,控制所述预设图像相对所述油墨视窗区域发生偏移一侧的第一预设像素处于熄灭状态,控制所述发生偏移一侧对应的另一侧的第二预设像素处于点亮状态,其中,所述第一预设像素的像素列的数值和所述第二预设像素的像素列的数值相同,或者所述第一预设像素的像素行的数值和所述第二预设像素的像素行的数值相同。Specifically, the electronic device obtains the first image of the ink window area when the display module is in a bright screen state through a photographing device, and the electronic device determines, according to the first image, that the preset image is relative to the display module The ink window area of the ink window is offset, and the offset direction and offset size of the preset image offset relative to the ink window area are obtained through the first image, and a correction instruction is generated. According to the correction instruction, the electronic device, When the display screen is in the bright screen state, control the first preset pixel on the side where the preset image is offset relative to the ink window area to be in the off state, and control the first preset pixel on the other side corresponding to the offset side. The second preset pixel is in the lit state, wherein the value of the pixel column of the first preset pixel is the same as the value of the pixel column of the second preset pixel, or the pixel row of the first preset pixel The value of is the same as the value of the pixel row of the second preset pixel.

比如,假设一个显示屏的像素区域为100*100个像素,所述显示屏用于显示预设图像的显示区域的像素为80*80个像素,也就是通过显示屏的显示区域显示一个80*80像素的预设图像。一般情况下,显示区域的中心线和像素区域的中心线是重叠的,比如,要在显示区域显示一个80*80像素大小的实心正方形,则像素区域按照从外向内的方向,四边各有10排像素处于不点亮,像素区域除所述四边各10排像素外的中心区域的80*80个像素点亮,如果要把所述正方形所在的显示区域的位置按照水平方向向一边移动5列像素,只需控制所述像素区域的一边5列像素不点亮,所述一边对应的另一边15列像素不点亮,其余列像素全部点亮,显示出的图像效果就是把这个正方形向所述一边移动了5列像素。For example, assuming that the pixel area of a display screen is 100*100 pixels, the display area of the display screen used to display the preset image has 80*80 pixels, that is, a 80*80 pixel is displayed through the display area of the display screen. 80px preset image. Under normal circumstances, the center line of the display area and the center line of the pixel area overlap. For example, to display a solid square with a size of 80*80 pixels in the display area, the pixel area has 10 pixels on each of the four sides according to the direction from the outside to the inside. The row of pixels is not lit, and the 80*80 pixels in the central area of the pixel area except the 10 rows of pixels on each of the four sides are lit. If you want to move the position of the display area where the square is located to one side in the horizontal direction by 5 columns Pixels, you only need to control 5 columns of pixels on one side of the pixel area not to light up, 15 columns of pixels on the other side corresponding to the one side are not lit, and all the pixels of the remaining columns are lit, and the displayed image effect is to place this square in all directions. The above side is shifted by 5 columns of pixels.

进一步地,请参阅图2,所述电子设备根据所述第一图像,若判断所述预设图像相对显示模组的油墨视窗区域向2212侧偏移了两列像素,所述电子设备产生校正指令,所述电子设备根据所述校正指令将所述预设图像在显示屏上显示时的位置从所述2212侧向对应的2213侧移动两列像素的距离,电子设备通过所述显示模组的显示屏IC芯片控制所述显示屏的像素区域的被点亮像素的位置按照水平方向从所述2212侧向对应的所述2213侧移动两列像素,也就是显示屏被点亮时,电子设备控制所述2212侧靠近像素区域边界线的两列像素处于熄灭状态,按照水平方向顺序移动,控制所述2213侧两列像素处于点亮状态。假设所述预设图像在显示屏上显示时的位置移动前,所述2212侧和所述2213侧按照所述像素区域从外向内的方向,各有1至10列像素处于未被点亮状态,则所述预设图像在显示屏上显示时的位置移动后,按照所述像素区域从外向内的方向,所述2212侧有1至12列像素未被点亮,所述2213侧有1至8列像素未被点亮,从而使所述预设图像在所述显示屏显示时处在盖板的油墨视窗区域内居中。从而提高电子设备的显示屏的显示效果。类似的情形,可以运用到2214侧和2215侧。Further, please refer to FIG. 2 , according to the first image, if the electronic device determines that the preset image is offset by two columns of pixels to the 2212 side relative to the ink window area of the display module, the electronic device generates a correction instruction, the electronic device moves the position of the preset image displayed on the display screen from the 2212 side to the corresponding 2213 side by a distance of two columns of pixels according to the correction instruction, and the electronic device passes the display module. The display IC chip of the display screen controls the position of the lit pixel in the pixel area of the display screen to move two columns of pixels from the 2212 side to the corresponding 2213 side in the horizontal direction, that is, when the display screen is lit, the electronic The device controls the two columns of pixels on the 2212 side close to the boundary line of the pixel area to be in an off state, and moves sequentially in the horizontal direction, and controls the two columns of pixels on the 2213 side to be in a lighted state. Assuming that before the position of the preset image is moved on the display screen, the 2212 side and the 2213 side have 1 to 10 columns of pixels in the unlit state according to the direction of the pixel area from the outside to the inside. , after the position of the preset image is moved when displayed on the display screen, according to the direction of the pixel area from the outside to the inside, the 2212 side has 1 to 12 columns of pixels that are not lit, and the 2213 side has 1 Up to 8 columns of pixels are not lit, so that the preset image is centered within the ink window area of the cover when displayed on the display screen. Thus, the display effect of the display screen of the electronic device is improved. A similar situation can be applied to the 2214 side and the 2215 side.

通过上述校正过程,避免了由于显示屏器件已经贴好,不能移动,但是盖板上的油墨层的内侧边缘与BM区的内侧边缘产生错位,导致显示屏显示的图像不居于所述油墨视窗区域中心,通过显示屏IC芯片移动所述预设图像在显示屏中显示时的位置,可以使得显示屏的显示区域显示的图像在盖板的油墨视窗区域内居中,以提升电子设备的显示效果。Through the above correction process, it is avoided that the display screen device has been attached and cannot be moved, but the inner edge of the ink layer on the cover plate is misaligned with the inner edge of the BM area, resulting in the image displayed on the display screen not located in the ink window area. By moving the position of the preset image displayed in the display screen through the display screen IC chip, the image displayed in the display area of the display screen can be centered in the ink window area of the cover plate, so as to improve the display effect of the electronic device.

在一个实施例中,所述校正指令是根据第一图像检测到预设图像在显示屏的显示区域显示时相对显示模组的油墨视窗区域发生偏移时产生的步骤包括:In one embodiment, the correction instruction is generated when it is detected that the preset image is offset relative to the ink window area of the display module when the preset image is displayed in the display area of the display screen according to the first image, and the steps include:

判断所述预设图像的几何中心和油墨视窗区域图像的几何中心是否重叠;Determine whether the geometric center of the preset image and the geometric center of the ink window area image overlap;

若判断所述预设图像的几何中心和所述油墨视窗区域图像的几何中心不重叠,判断所述预设图像相对所述油墨视窗区域发生偏移,产生所述校正指令。If it is determined that the geometric center of the preset image and the geometric center of the ink window area image do not overlap, it is determined that the preset image is offset relative to the ink window area, and the correction instruction is generated.

具体地,电子设备通过拍照设备获取显示模组处于亮屏状态下所述油墨视窗区域的所述第一图像,根据所述第一图像判断所述预设图像的几何中心和所述油墨视窗区域图像的几何中心是否重叠,进而判断所述预设图像相对显示模组的油墨视窗区域是否发生偏移。Specifically, the electronic device obtains the first image of the ink window area when the display module is in a bright screen state through a photographing device, and determines the geometric center of the preset image and the ink window area according to the first image Whether the geometric centers of the images overlap, and then determine whether the preset image is offset relative to the ink window area of the display module.

若电子设备根据所述第一图像判断所述预设图像的几何中心和所述油墨视窗区域图像的几何中心重叠,判断所述预设图像相对显示模组的油墨视窗区域未发生偏移,否则,判断所述预设图像相对显示模组的油墨视窗区域发生偏移,产生所述校正指令。请参阅图6(a)和图6(b),图6(a)为本申请的显示模组的显示方法一个实施例中的预设图像,图6(b)为本申请的显示模组的显示方法一个实施例中显示模组的显示屏亮屏时显示图6(a)图像时拍摄的图像,其中,A为所述预设图像的几何中心,B为油墨视窗区域图像的几何中心,610为所述油墨视窗区域图像的边框线,620为所述预设图像的边界线,630为第一方向,640为第二方向,d为A和B之间的距离,由图6(a)和图6(b)可知,A和B未重叠,判断所述预设图像相对显示模组的油墨视窗区域发生偏移,产生所述校正指令。If the electronic device determines according to the first image that the geometric center of the preset image overlaps with the geometric center of the image in the ink window area, it is determined that the preset image is not offset relative to the ink window area of the display module, otherwise , judging that the preset image is offset relative to the ink window area of the display module, and generating the correction instruction. Please refer to FIG. 6( a ) and FIG. 6( b ), FIG. 6( a ) is a preset image in an embodiment of the display method of the display module of the present application, and FIG. 6( b ) is the display module of the present application In one embodiment of the display method of the display module, when the display screen of the display module is on, the image taken when the image in FIG. 6(a) is displayed, wherein A is the geometric center of the preset image, and B is the geometric center of the image in the ink window area. , 610 is the border line of the ink window area image, 620 is the border line of the preset image, 630 is the first direction, 640 is the second direction, d is the distance between A and B, as shown in Figure 6 ( a) and Fig. 6(b), it can be seen that A and B do not overlap, it is judged that the preset image is offset relative to the ink window area of the display module, and the correction instruction is generated.

在一个实施例中,所述根据所述校正指令按照偏移方向和偏移尺寸移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠的步骤包括:In one embodiment, the position of the preset image is moved according to the offset direction and the offset size according to the correction instruction, so that the geometric center of the preset image overlaps the geometric center of the ink window area. Steps include:

对比第一子图像和所述预设图像,获取所述预设图像相对所述油墨视窗区域发生偏移的偏移方向,及获取所述预设图像相对两边被油墨层遮挡的宽度值,所述第一子图像为所述第一图像中所呈现出的所述预设图像;Comparing the first sub-image and the preset image, obtain the offset direction of the offset of the preset image relative to the ink window area, and obtain the width value of the preset image that is occluded by the ink layer on the opposite sides, so the first sub-image is the preset image presented in the first image;

根据所述校正指令,向所述偏移方向的相反方向,将所述预设图像移动所述宽度值的距离,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。According to the correction instruction, move the preset image by the width value in the opposite direction of the offset direction, so that the geometric center of the preset image overlaps the geometric center of the ink window area.

具体地,一般情况下,所述预设图像在显示屏的显示区域显示时,若所述预设图像相对所述油墨视窗区域未发生偏移,则所述预设图像透过所述油墨视窗区域显示完整的所述预设图像;若所述预设图像相对显示模组的油墨视窗区域发生偏移,则所述预设图像中会有部分像素点由于被油墨层遮挡而无法在第一图像中显示,所述预设图像相对两边被油墨层遮挡的宽度是不一样的。Specifically, in general, when the preset image is displayed in the display area of the display screen, if the preset image is not offset from the ink window area, the preset image passes through the ink window. The complete preset image is displayed in the area; if the preset image is offset from the ink window area of the display module, there will be some pixels in the preset image that are blocked by the ink layer and cannot be displayed in the first It is shown in the image that the widths of the two opposite sides of the preset image that are blocked by the ink layer are different.

请参阅图7(a)和图7(b),图7(a)为本申请的显示模组的显示方法一个实施例中的预设图像显示示意图,图7(b)为图7(a)中的预设图像在显示屏显示时相对油墨视窗区域发生偏移时的示意图,图7(a)中所述预设图像相对显示模组的油墨视窗区域未发生偏移,所述预设图像在显示屏显示时未被油墨层遮挡,则所述预设图像完整呈现,图7(b)中所述预设图像相对显示模组的油墨视窗区域发生偏移,则所述预设图像在显示屏显示时会有部分像素被遮挡,通过对比图7(a)中的所述预设图像和图7(b)中的第一子图像,所述第一子图像为所述第一图像中所呈现出的所述预设图像,可知,所述预设图像在显示屏上显示时相对所述油墨视窗区域发生偏移的偏移方向为向d2方向偏移,所述预设图像相对两边被油墨层遮挡的区域为d3所述的宽度。电子设备根据产生的校正指令,向所述偏移方向d2的相反方向,也就是d1所在的方向,将所述预设图像的位置移动所述宽度值d3的距离,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。Please refer to FIG. 7( a ) and FIG. 7( b ). FIG. 7( a ) is a schematic diagram of displaying a preset image in an embodiment of the display method of the display module of the present application, and FIG. 7( b ) is FIG. 7( a ) ) is a schematic diagram when the preset image is shifted relative to the ink window area when displayed on the display screen, the preset image in FIG. 7(a) is not offset relative to the ink window area of the display module, the preset image If the image is not blocked by the ink layer when displayed on the display screen, the preset image is completely presented, and the preset image in Figure 7(b) is offset from the ink window area of the display module, then the preset image When the display screen is displayed, some pixels will be blocked. By comparing the preset image in FIG. 7(a) with the first sub-image in FIG. 7(b), the first sub-image is the first sub-image. From the preset image presented in the image, it can be known that the offset direction of the offset relative to the ink window area when the preset image is displayed on the display screen is the offset in the d2 direction, and the preset image The area covered by the ink layer on the opposite sides is the width described in d3. According to the generated correction instruction, the electronic device moves the position of the preset image by the distance of the width value d3 in the opposite direction of the offset direction d2, that is, the direction in which d1 is located, so that the width of the preset image is d3. The geometric center overlaps the geometric center of the ink window area.

在一个实施例中,所述根据所述校正指令按照偏移方向和偏移尺寸移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠的步骤包括:In one embodiment, the position of the preset image is moved according to the offset direction and the offset size according to the correction instruction, so that the geometric center of the preset image overlaps the geometric center of the ink window area. Steps include:

若判断所述预设图像相对所述油墨视窗区域发生偏移,获取所述预设图像的几何中心相对所述油墨视窗区域的几何中心发生偏移的偏移方向和相对距离;If it is determined that the preset image is offset from the ink window area, obtain the offset direction and relative distance in which the geometric center of the preset image is offset from the geometric center of the ink window area;

将所述预设图像的位置向所述偏移方向的相反方向移动所述相对距离。The position of the preset image is moved by the relative distance in a direction opposite to the offset direction.

具体地,电子设备通过拍照设备获取显示模组处于亮屏状态下所述油墨视窗区域的所述第一图像,若电子设备根据所述第一图像判断所述预设图像的几何中心相对所述油墨视窗区域的几何中心向偏移方向发生偏移,可以通过获取所述预设图像的几何中心与所述油墨视窗区域的几何中心之间的相对距离,电子设备将将所述预设图像的位置向所述偏移方向的相反方向移动所述相对距离。Specifically, the electronic device obtains the first image of the ink window area when the display module is in a bright screen state through a photographing device. If the electronic device determines according to the first image that the geometric center of the preset image is relative to the The geometric center of the ink window area is shifted to the offset direction. By obtaining the relative distance between the geometric center of the preset image and the geometric center of the ink window area, the electronic device will The position moves the relative distance in the opposite direction of the offset direction.

请参阅图2,若电子设备根据所述第一图像,判断所述预设图像的几何中心相对所述油墨视窗区域图像的几何中心偏移了两列像素的距离,比如,判断所述预设图像的几何中心相对所述油墨视窗区域图像向2212侧偏移了两列像素,所述电子设备根据产生的所述校正指令,通过所述显示模组的显示屏IC芯片控制所述预设图像的位置,使所述预设图像的位置从所述2212侧向对应的2213侧移动两列像素的距离,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠,从而使所述显示模组的显示区域显示的图像在盖板的油墨视窗区域内居中。Referring to FIG. 2, if the electronic device determines, according to the first image, that the geometric center of the preset image is offset by a distance of two columns of pixels from the geometric center of the image in the ink window area, for example, it determines that the preset image is offset by a distance of two columns of pixels. The geometric center of the image is shifted to the 2212 side by two columns of pixels relative to the image in the ink window area. The electronic device controls the preset image through the display IC chip of the display module according to the generated correction instruction. move the position of the preset image by a distance of two columns of pixels from the 2212 side to the corresponding 2213 side, so that the geometric center of the preset image overlaps the geometric center of the ink window area, so that the The image displayed in the display area of the display module is centered in the ink window area of the cover plate.

在一个实施例中,所述校正指令是根据第一图像检测到预设图像在显示屏的显示区域显示时相对显示模组的油墨视窗区域发生偏移时产生的步骤包括:In one embodiment, the correction instruction is generated when it is detected that the preset image is offset relative to the ink window area of the display module when the preset image is displayed in the display area of the display screen according to the first image, and the steps include:

在所述预设图像中确定预设位置,获取所述预设位置在所述第一图像中到油墨视窗区域图像边界线的相对两边的对应距离;determining a preset position in the preset image, and obtaining the corresponding distance from the preset position in the first image to two opposite sides of the image boundary line of the ink window area;

根据所述对应距离的差值,获取所述预设位置到所述油墨视窗区域的相对两边的偏移尺寸;According to the difference between the corresponding distances, obtain the offset size from the preset position to the two opposite sides of the ink window area;

若判断所述偏移尺寸大于零,判断所述预设图像相对所述油墨视窗区域发生偏移;If it is determined that the offset size is greater than zero, it is determined that the preset image is offset relative to the ink window area;

若判断所述偏移尺寸等于零,判断所述预设图像相对所述油墨视窗区域未发生偏移。If it is determined that the offset size is equal to zero, it is determined that the preset image is not offset relative to the ink window area.

具体地,在所述预设图像中确定预设位置,电子设备通过拍照设备获取显示模组处于亮屏状态下所述油墨视窗区域的所述第一图像,电子设备根据所述预设位置在所述第一图像中到油墨视窗区域图像边界线的相对两边的对应距离,获取所述预设位置到所述油墨视窗区域边界线的相对两边的对应距离,根据所述对应距离的差值,获取所述预设位置到所述油墨视窗区域的相对两边的偏移尺寸,所述预设位置包括所述预设图像中关于所述预设图像的对称轴对称的位置,或者所述预设图像的对称轴上的位置。比如,获取所述预设图像的相对两边的边界线各自到所述油墨视窗区域相对两边中距离较近的边界线的对应距离,所述对应距离的差值即为所述预设位置到所述油墨视窗区域的相对两边的偏移尺寸,若判断所述偏移尺寸大于零,判断所述预设图像相对所述油墨视窗区域发生偏移,若判断所述偏移尺寸等于零,判断所述预设图像相对所述油墨视窗区域未发生偏移。Specifically, a preset position is determined in the preset image, the electronic device obtains the first image of the ink window area when the display module is in a bright screen state through a photographing device, and the electronic device according to the preset position The corresponding distances from the first image to the opposite sides of the boundary line of the ink window area image, obtain the corresponding distances from the preset position to the opposite sides of the boundary line of the ink window area, and according to the difference between the corresponding distances, Obtain the offset size from the preset position to the two opposite sides of the ink window area, where the preset position includes a position in the preset image that is symmetric with respect to the symmetry axis of the preset image, or the preset position The position on the symmetry axis of the image. For example, obtain the corresponding distances between the boundary lines on the opposite sides of the preset image and the boundary lines on the opposite sides of the ink window area that are closer in distance, and the difference between the corresponding distances is the distance between the preset position and the boundary line. The offset size of the two opposite sides of the ink window area. If it is judged that the offset size is greater than zero, it is judged that the preset image is offset relative to the ink window area. If it is judged that the offset size is equal to zero, it is judged that the The preset image is not offset relative to the ink window area.

在一个实施例中,所述在所述预设图像中确定预设位置,获取所述预设位置在所述第一图像中到油墨视窗区域图像边界线的相对两边的对应距离的步骤包括:In one embodiment, the step of determining a preset position in the preset image, and acquiring the corresponding distances from the preset position in the first image to two opposite sides of the image boundary line of the ink window area include:

在所述预设图像中定义两条直线,所述两条直线平行,并且所述两条直线沿所述预设图像的对称轴对称,获取其中一条直线到所述油墨视窗区域图像边界线的所述相对两边中的一边的第一距离,及获取另一条直线到所述油墨视窗区域图像边界线的所述相对两边中的另一边的第二距离。Define two straight lines in the preset image, the two straight lines are parallel, and the two straight lines are symmetrical along the symmetry axis of the preset image, and the distance from one of the straight lines to the image boundary line of the ink window area is obtained. a first distance from one of the opposite sides, and a second distance from another straight line to the other of the opposite sides of the image boundary line of the ink window area.

具体地,在所述预设图像中定义两条直线,所述两条直线平行,并且所述两条直线沿所述预设图像的对称轴对称,电子设备通过拍照设备拍摄显示模组处于亮屏状态下所述油墨视窗区域的所述第一图像,所述电子设备根据所述第一图像,获取所述预设图像的两条直线中的一条直线到所述油墨视窗区域图像边界线的所述相对两边中的一边的第一距离,及获取另一条直线到所述油墨视窗区域图像边界线的所述相对两边中的另一边的第二距离。根据所述第一距离和所述第二距离的差值,获取所述预设图像的两条直线到所述油墨视窗区域图像边界线的相对两边的偏移尺寸。若所述偏移尺寸大于零,判断所述预设图像相对所述油墨视窗区域发生偏移,若所述偏移尺寸等于零,判断所述预设图像相对所述油墨视窗区域未发生偏移。Specifically, two straight lines are defined in the preset image, the two straight lines are parallel, and the two straight lines are symmetrical along the symmetry axis of the preset image, and the electronic device uses a camera device to photograph and display that the module is bright The first image of the ink window area in the screen state, and the electronic device obtains, according to the first image, the distance between one of the two straight lines in the preset image to the image boundary line of the ink window area a first distance from one of the opposite sides, and a second distance from another straight line to the other of the opposite sides of the image boundary line of the ink window area. According to the difference between the first distance and the second distance, the offset size of the two straight lines of the preset image to the two opposite sides of the image boundary line of the ink window area is obtained. If the offset size is greater than zero, it is determined that the preset image is offset relative to the ink window area, and if the offset size is equal to zero, it is determined that the preset image is not offset relative to the ink window area.

请参阅图8(a)和图8(b),8(a)为本申请的显示模组的显示方法另一个实施例中的预设图像,图8(b)为本申请的显示模组的显示方法另一个实施例中显示模组的显示屏亮屏时显示图8(a)图像拍摄的图像,其中,810为所述油墨视窗区域图像的边界线,820为所述预设图像的边框线,d1、d2、d3和d4分别为所述预设图像到所述油墨视窗区域边框线的距离,d1和d2的起始点所在的直线分别与所述预设图像的第一对称轴对称并且平行,d3和d4的起始点所在的直线分别与所述预设图像的第二对称轴对称并且平行。Please refer to FIG. 8(a) and FIG. 8(b), 8(a) is a preset image in another embodiment of the display method of the display module of the present application, and FIG. 8(b) is the display module of the present application In another embodiment of the display method, when the display screen of the display module is on, the image captured by the image in Fig. 8(a) is displayed, wherein 810 is the boundary line of the image in the ink window area, and 820 is the border of the preset image. Border line, d1, d2, d3, and d4 are the distances from the preset image to the border line of the ink window area, respectively, and the lines where the starting points of d1 and d2 are located are respectively symmetrical to the first symmetry axis of the preset image And parallel, the lines where the starting points of d3 and d4 are located are respectively symmetrical and parallel to the second axis of symmetry of the preset image.

具体地,在图8(a)中,L1和L2分别为所述预设图像的对称轴,A和B为所述预设图像以对称轴L1对称并且平行的两条直线上的两个点,C和D为所述预设图像以对称轴L2对称并且平行的的两条直线上的两个点,根据所述预设图像的对称两边的边框线上的点到所述油墨视窗区域图像边界线的相对两边的距离分别为d1和d2,则所述偏移尺寸为|d1-d2|,根据|d1-d2|判断所述预设图像相对所述油墨视窗区域是否发生偏移:Specifically, in FIG. 8( a ), L1 and L2 are the axes of symmetry of the preset image, respectively, and A and B are two points on two straight lines that are symmetrical and parallel to the axis of symmetry L1 of the preset image. , C and D are two points on two straight lines that are symmetrical and parallel to the preset image with the symmetry axis L2, according to the point on the border line on the symmetrical sides of the preset image to the image of the ink window area The distances between the opposite sides of the boundary line are d1 and d2 respectively, then the offset size is |d1-d2|, and according to |d1-d2|, determine whether the preset image is offset from the ink window area:

(1)若d1-d2<0,判断所述预设图像相对所述油墨视窗区域向d1侧所指的方向偏移,偏移尺寸为|d1-d2|;(1) If d1-d2<0, determine that the preset image is offset relative to the ink window area in the direction pointed by the d1 side, and the offset size is |d1-d2|;

(2)若d1-d2=0,判断所述预设图像相对所述油墨视窗区域未偏移;(2) If d1-d2=0, determine that the preset image is not offset relative to the ink window area;

(3)若d1-d2>0,判断所述预设图像相对所述油墨视窗区域向d2侧所指的方向偏移,偏移尺寸为|d1-d2|。(3) If d1-d2>0, determine that the preset image is offset relative to the ink window area in the direction indicated by the d2 side, and the offset size is |d1-d2|.

类似的情形可以用到对d3和d4的判断,在此不再赘述。其中,偏移尺寸单位可以用像素个数或毫米mm表示,在显示屏分辨率一定的情况下,像素个数或毫米mm是可以互相换算的关系。Similar situations can be used in the judgment of d3 and d4, which will not be repeated here. Among them, the offset size unit can be represented by the number of pixels or millimeters. In the case of a certain resolution of the display screen, the number of pixels or millimeters can be converted to each other.

在一个实施例中,所述在所述预设图像中确定预设位置,获取所述预设位置在所述第一图像中到油墨视窗区域图像边界线的相对两边的对应距离的步骤包括:In one embodiment, the step of determining a preset position in the preset image, and acquiring the corresponding distances from the preset position in the first image to two opposite sides of the image boundary line of the ink window area include:

获取所述预设图像的对称轴在所述第一图像中到所述油墨视窗区域图像边界线的相对两边的对应距离。The corresponding distances from the symmetry axis of the preset image in the first image to two opposite sides of the image boundary line of the ink window area are acquired.

具体地,电子设备通过拍照设备获取显示模组处于亮屏状态下所述油墨视窗区域的所述第一图像,电子设备根据所述第一图像,获取所述预设图像的对称轴到油墨视窗区域的边界线中相对两边的对应距离,根据所述对应距离的差值,获取所述预设图像的对称轴到所述油墨视窗区域的边界线的相对两边的偏移尺寸。若所述偏移尺寸大于零,判断所述预设图像相对所述油墨视窗区域发生偏移,若所述偏移尺寸等于零,判断所述预设图像相对所述油墨视窗区域未发生偏移。Specifically, the electronic device obtains the first image of the ink window area when the display module is in a bright screen state through a photographing device, and the electronic device obtains the symmetry axis of the preset image to the ink window according to the first image. The corresponding distance between the two opposite sides of the boundary line of the area, and the offset size from the symmetry axis of the preset image to the opposite two sides of the boundary line of the ink window area is obtained according to the difference between the corresponding distances. If the offset size is greater than zero, it is determined that the preset image is offset relative to the ink window area, and if the offset size is equal to zero, it is determined that the preset image is not offset relative to the ink window area.

请参阅图8(c),图8(c)为本申请的显示模组的显示方法再一个实施例中显示模组的显示屏亮屏时显示图8(a)图像拍摄的第一图像,其中,L1和L2分别为所述预设图像的对称轴,d5和d6分别为L1到油墨视窗区域图像边界线中相对两边的对应距离,d7和d8分别为L2到所述油墨视窗区域图像边界线中相对两边的对应距离,根据d5-d6判断所述预设图像相对所述油墨视窗区域发生偏移:Please refer to FIG. 8( c ), FIG. 8( c ) shows the first image captured by the image of FIG. 8( a ) when the display screen of the display module is bright in another embodiment of the display method of the display module of the present application, Wherein, L1 and L2 are respectively the symmetry axes of the preset image, d5 and d6 are the corresponding distances from L1 to the two opposite sides of the image boundary line of the ink window area, d7 and d8 are the image boundary from L2 to the ink window area, respectively Corresponding distances on opposite sides of the line, according to d5-d6 to determine that the preset image is offset from the ink window area:

(1)若d5-d6<0,判断所述预设图像相对所述油墨视窗区域向d5所指的方向偏移,偏移尺寸为|d5-d6|;(1) If d5-d6<0, judge that the preset image is offset relative to the ink window area in the direction indicated by d5, and the offset size is |d5-d6|;

(2)若d5-d6=0,判断所述预设图像相对所述油墨视窗区域未偏移;(2) If d5-d6=0, determine that the preset image is not offset relative to the ink window area;

(3)若d5-d6>0,判断所述预设图像相对所述油墨视窗区域向d6所指的方向偏移,偏移尺寸为|d5-d6|。(3) If d5-d6>0, judge that the preset image is offset relative to the ink window area in the direction indicated by d6, and the offset size is |d5-d6|.

类似的情形可以用到对d7和d8的判断,在此不再赘述。Similar situations can be used for the judgment of d7 and d8, which will not be repeated here.

在一个实施例中,所述根据所述校正指令按照偏移方向和偏移尺寸移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠的步骤包括:In one embodiment, the position of the preset image is moved according to the offset direction and the offset size according to the correction instruction, so that the geometric center of the preset image overlaps the geometric center of the ink window area. Steps include:

若判断所述预设图像相对所述油墨视窗区域的相对两边中的一边发生偏移,将所述预设图像的位置向所述相对两边中的另一边移动偏移尺寸一半的距离。If it is determined that the preset image is offset relative to one of the two opposite sides of the ink window area, move the position of the preset image to the other side of the opposite two sides by a distance of half the offset size.

具体地,在所述预设图像中确定预设位置,电子设备通过拍照设备获取显示模组处于亮屏状态下所述油墨视窗区域的所述第一图像,电子设备根据所述第一图像,获取所述预设位置在所述第一图像中到油墨视窗区域图像边界线的相对两边的对应距离,根据所述对应距离的差值,获取所述预设位置到所述油墨视窗区域的相对两边的偏移尺寸。Specifically, a preset position is determined in the preset image, the electronic device obtains the first image of the ink window area when the display module is in a bright screen state through a photographing device, and the electronic device according to the first image, Obtain the corresponding distances from the preset position in the first image to the two opposite sides of the image boundary line of the ink window area, and obtain the relative distance from the preset position to the ink window area according to the difference between the corresponding distances Offset dimension on both sides.

请参阅图8(a)和图8(b),在图8(a)中,A和B为所述预设图像中关于所述预设图像对称轴对称的两个点,C和D为所述预设图像中关于所述预设图像对称轴对称的两个点。若所述A和B到油墨视窗区域图像边界线中相对两边的距离分别为d1和d2,则所述偏移尺寸为|d1-d2|,根据d1-d2判断所述预设图像相对所述油墨视窗区域是否发生偏移:Please refer to FIG. 8( a ) and FIG. 8( b ). In FIG. 8( a ), A and B are two points in the preset image that are symmetrical about the symmetry axis of the preset image, and C and D are Two points in the preset image that are symmetrical about the symmetry axis of the preset image. If the distances from A and B to the two opposite sides of the image boundary line in the ink window area are d1 and d2, respectively, the offset size is |d1-d2|, and it is judged according to d1-d2 that the preset image is relative to the Whether the ink viewport area is offset:

(1)若d1-d2<0,判断所述预设图像相对所述油墨视窗区域发生偏移向d1侧所指的方向偏移,偏移尺寸为|d1-d2|,所述电子设备将所述预设图像的位置向d2所指的方向移动|d1-d2|/2的距离;(1) If d1-d2<0, it is judged that the preset image is offset relative to the ink window area in the direction indicated by the d1 side, and the offset size is |d1-d2|, and the electronic device will The position of the preset image is moved by a distance of |d1-d2|/2 in the direction pointed by d2;

(2)若d1-d2=0,判断所述预设图像相对所述油墨视窗区域未发生偏移;(2) If d1-d2=0, determine that the preset image is not offset relative to the ink window area;

(3)若d1-d2>0,判断所述预设图像相对所述油墨视窗区域向d2侧所指的方向偏移,偏移尺寸为|d1-d2|,所述电子设备将所述预设图像的位置向d1所指的方向移动|d1-d2|/2的距离。(3) If d1-d2>0, determine that the preset image is offset relative to the ink window area in the direction pointed by the d2 side, and the offset size is |d1-d2|, and the electronic device will Let the position of the image move in the direction pointed by d1 by a distance of |d1-d2|/2.

本申请实施例还提供一种显示校正系统,所述系统包括电子设备和与所述电子设备连接的校正设备;The embodiment of the present application further provides a display calibration system, the system includes an electronic device and a calibration device connected to the electronic device;

所述电子设备包括显示模组、存储器和处理器,所述显示模组能够处于亮屏状态并能够显示预设图像;The electronic device includes a display module, a memory and a processor, and the display module can be in a bright screen state and can display a preset image;

所述校正设备包括拍照组件、存储器及处理器,所述拍照组件用于拍摄所述显示模组处于亮屏状态下的油墨视窗区域,得到第一图像;The calibration device includes a photographing component, a memory and a processor, and the photographing component is used for photographing the ink window area of the display module in a bright screen state to obtain a first image;

所述校正设备的存储器中储存有计算机程序,所述计算机程序被所述校正设备的处理器执行时,使得所述校正设备的处理器执行如下步骤:A computer program is stored in the memory of the calibration device, and when the computer program is executed by the processor of the calibration device, the processor of the calibration device executes the following steps:

获取第一图像,根据所述第一图像,判断预设图像在显示屏的显示区域显示时相对所述显示模组的油墨视窗区域是否发生偏移;Acquiring a first image, and according to the first image, judging whether the preset image is offset relative to the ink window area of the display module when the preset image is displayed in the display area of the display screen;

若判断所述预设图像相对所述油墨视窗区域发生偏移,向所述电子设备发送校正指令;If it is determined that the preset image is offset relative to the ink window area, sending a correction instruction to the electronic device;

所述电子设备的存储器中储存有计算机程序,所述计算机程序被所述电子设备的处理器执行时,使得所述电子设备的处理器执行以下步骤:A computer program is stored in the memory of the electronic device, and when the computer program is executed by the processor of the electronic device, the processor of the electronic device executes the following steps:

接收所述校正设备发送的校正指令;receiving a correction instruction sent by the correction device;

根据所述校正指令移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。The position of the preset image is moved according to the correction instruction, so that the geometric center of the preset image overlaps the geometric center of the ink window area.

请参阅图9,图9为一个实施例中上述显示校正系统的应用环境示意图。如图11所示,该应用环境包括电子设备920、连接网络940和校正设备960。Please refer to FIG. 9 . FIG. 9 is a schematic diagram of an application environment of the above display calibration system in one embodiment. As shown in FIG. 11 , the application environment includes an electronic device 920 , a connection network 940 and a calibration device 960 .

其中,电子设备920可包括移动终端、智能穿戴设备或者台式计算机等,本实施例中以移动终端来示意。The electronic device 920 may include a mobile terminal, a smart wearable device, or a desktop computer, etc., which is illustrated by a mobile terminal in this embodiment.

连接网络940可为有线或无线网络,所述无线连接方式可包括移动通信网络或者WIFI(WIreless-Fidelity,无线保真)等连接方式。本实施例中通过无线网络来示意。The connection network 940 may be a wired or wireless network, and the wireless connection manner may include a mobile communication network or a connection manner such as WIFI (WIreless-Fidelity, wireless fidelity). In this embodiment, a wireless network is used for illustration.

校正设备960,可以为台式计算机、笔记本或者专门设计的校正产品等,所述校正设备上设置有拍照组件,所述拍照组件包括CCD部件,CCD部件可以设置在所述校正设备960上。当然,所述拍照组件也可以是独立于所述校正设备960外的拍照设备,当CCD部件是独立的拍照设备时,需要与校正设备960通过有线方式或者无线方式连接。The calibration device 960 can be a desktop computer, a notebook or a specially designed calibration product, etc. The calibration device is provided with a photographing component, the photographing component includes a CCD component, and the CCD component can be arranged on the calibration device 960 . Of course, the photographing component may also be a photographing device independent of the calibration device 960. When the CCD component is an independent photographing device, it needs to be connected to the calibration device 960 in a wired or wireless manner.

该应用环境中各部件的工作过程为:所述电子设备920通过联网网络940与校正设备960连接,所述电子设备920与所述校正设备960连接后,所述电子设备920的显示模组的显示屏点亮,所述显示屏的显示区域显示预设图像,通过拍照组件对所述显示模组拍照,拍照范围涵盖盖板的油墨视窗区域和显示屏的显示区域显示的预设图像,校正设备960获取所述拍照组件拍摄的所述显示模组的第一图像,校正设备960根据所述预设图像的预设位置在所述第一图像中与油墨视窗区域图像边界线的距离,判断预设图像在显示屏的显示区域显示时相对显示模组的油墨视窗区域是否发生偏移,若校正设备960判断所述预设图像相对显示模组的油墨视窗区域发生偏移,向所述显示模组所属的电子设备发送校正指令,所述校正指令用于指示所述电子设备将所述预设图像的位置从发生偏移的一侧向对应的另一侧移动,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠,从而校正所述显示模组的显示区域,避免当显示屏点亮时,出现显示图像在油墨视窗区域内不居中的情况。The working process of each component in this application environment is as follows: the electronic device 920 is connected to the calibration device 960 through the networking network 940 , and after the electronic device 920 is connected to the calibration device 960 , the display module of the electronic device 920 is The display screen is lit, the display area of the display screen displays a preset image, the display module is photographed by the photographing component, and the photographing range covers the ink window area of the cover plate and the preset image displayed in the display area of the display screen. The device 960 acquires the first image of the display module captured by the photographing component, and the correction device 960 determines the distance between the preset position of the preset image and the boundary line of the image in the ink window area in the first image. Whether the preset image is offset relative to the ink window area of the display module when the preset image is displayed in the display area of the display module, if the calibration device 960 determines that the preset image is offset relative to the ink window area of the display module, it will be displayed to the display module. The electronic device to which the module belongs sends a correction instruction, and the correction instruction is used to instruct the electronic device to move the position of the preset image from the side where the offset occurs to the other side corresponding to the offset, so that the preset image is moved. The geometric center of the ink window overlaps with the geometric center of the ink window area, so as to correct the display area of the display module and avoid the situation that the display image is not centered in the ink window area when the display screen is lit.

由于所述拍照组件设置在所述校正设备上,也可以是独立于所述校正设备外的拍照设备。当所述拍照组件是独立于所述校正设备外的拍照设备时,请参阅图10,图10为一个实施例中电子设备、校正设备和拍照设备交互的时序图,所述过程包括步骤:Since the photographing component is disposed on the calibration device, it may also be a photographing device independent of the calibration device. When the photographing component is a photographing device independent of the calibration device, please refer to FIG. 10 . FIG. 10 is a sequence diagram of the interaction between the electronic device, the calibration device and the photographing device in one embodiment, and the process includes the steps:

1)、拍照设备与校正设备连接,拍照设备与校正设备可以通过有线方式或者无线方式进行连接;1) The photographing device is connected to the calibration device, and the photographing device and the calibration device can be connected by wired or wireless means;

2)电子设备与校正设备连接,电子拍照设备与校正设备可以通过有线方式或者无线方式进行连接;2) The electronic device is connected to the calibration device, and the electronic photographing device and the calibration device can be connected by wired or wireless means;

3)校正设备向电子设备发送第一二指令,所述第一二指令用于指示所述电子设备的显示屏处于亮屏状态;3) The calibration device sends the first and second instructions to the electronic device, where the first and second instructions are used to indicate that the display screen of the electronic device is in a bright screen state;

4)电子设备根据所述第一指令,点亮所述电子设备的显示屏,显示屏显示预设图像;4) The electronic device lights up the display screen of the electronic device according to the first instruction, and the display screen displays a preset image;

5)电子设备向所述校正设备发送第二指令,所述第二指令用于通知校正设备所述电子设备的显示屏处于亮屏状态;5) The electronic device sends a second instruction to the calibration device, where the second instruction is used to notify the calibration device that the display screen of the electronic device is in a bright screen state;

6)电子设备向拍照设备发送第三指令,所述第三指令用于指示所述拍摄设备对所述电子设备的油墨视窗区域进行拍照;6) The electronic device sends a third instruction to the photographing device, where the third instruction is used to instruct the photographing device to photograph the ink window area of the electronic device;

7)拍照设备根据第三指令,拍摄所述电子设备的显示屏处于亮屏状态的图像;7) The photographing device, according to the third instruction, photographs the image that the display screen of the electronic device is in a bright screen state;

8)拍照设备向所述校正设备发送拍摄的图像;8) The photographing device sends the photographed image to the correction device;

9)校正设备根据所述图像,判断所述预设图像相对所述油墨视窗区域是否发生偏移;9) According to the image, the correction device determines whether the preset image is offset relative to the ink window area;

10)若校正设备判断所述预设图像相对所述油墨视窗区域发生偏移,向所述电子设备发送校正指令,所述校正指令用于指示所述电子设备将所述预设图像的位置从发生偏移的一侧向对应的另一侧移动;10) If the calibration device determines that the preset image is offset relative to the ink window area, it sends a calibration instruction to the electronic device, where the calibration instruction is used to instruct the electronic device to change the position of the preset image from The offset side moves to the corresponding other side;

11)电子设备根据所述校正指令,控制所述预设图像在显示屏的位置进行移动。11) The electronic device controls the preset image to move on the display screen according to the correction instruction.

本申请实施例提供的一种显示模组的显示校正方法,通过电子设备接收校正指令,所述校正指令是根据第一图像检测到预设图像在显示屏的显示区域显示时相对显示模组的油墨视窗区域发生偏移时产生的,所述第一图像是所述显示模组处于亮屏状态下拍摄所述油墨视窗区域所得的图像;根据所述校正指令移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠,从而有效解决了显示模组的盖板上的油墨层的内侧边缘与BM区的内侧边缘产生错位所导致的显示效果不佳的问题,避免了当显示屏点亮时,出现显示图像在油墨视窗区域内不居中的情况,提高电子设备的显示效果。In a display correction method for a display module provided by an embodiment of the present application, a correction instruction is received through an electronic device, and the correction instruction is detected relative to the display module when a preset image is displayed in a display area of a display screen according to a first image. The first image is generated when the ink window area is offset, and the first image is an image obtained by shooting the ink window area when the display module is in a bright screen state; the position of the preset image is moved according to the correction instruction, The geometric center of the preset image and the geometric center of the ink window area are overlapped, thereby effectively solving the display effect caused by the dislocation of the inner edge of the ink layer on the cover plate of the display module and the inner edge of the BM area The problem of poor performance avoids the situation that the display image is not centered in the ink window area when the display screen is lit, and improves the display effect of electronic equipment.

请参阅图11,图11为本申请的显示模组的显示校正装置一个实施例的结构框图,所述装置包括:Please refer to FIG. 11. FIG. 11 is a structural block diagram of an embodiment of a display calibration device for a display module of the present application. The device includes:

接收模块1102,用于接收校正指令,所述校正指令是根据第一图像检测到预设图像在显示屏的显示区域显示时相对显示模组的油墨视窗区域发生偏移时产生的;所述第一图像是所述显示模组处于亮屏状态下拍摄所述油墨视窗区域所得的图像;The receiving module 1102 is configured to receive a correction instruction, which is generated when it is detected that the preset image is shifted relative to the ink window area of the display module when the preset image is displayed in the display area of the display screen according to the first image; An image is the image obtained by photographing the ink window area when the display module is in a bright screen state;

处理模块1104,用于根据所述校正指令移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。The processing module 1104 is configured to move the position of the preset image according to the correction instruction, so that the geometric center of the preset image overlaps the geometric center of the ink window area.

在一个实施例中,处理模块1104包括:In one embodiment, the processing module 1104 includes:

用于根据所述校正指令按照偏移方向和偏移尺寸移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。It is used to move the position of the preset image according to the offset direction and offset size according to the correction instruction, so that the geometric center of the preset image overlaps the geometric center of the ink window area.

在一个实施例中,处理模块1104包括:In one embodiment, the processing module 1104 includes:

用于调整所述显示区域的各个像素点显示的颜色值,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。It is used to adjust the color value displayed by each pixel of the display area, so that the geometric center of the preset image overlaps the geometric center of the ink window area.

在一个实施例中,处理模块1104包括:In one embodiment, the processing module 1104 includes:

用于根据所述校正指令,控制所述预设图像相对显示模组的油墨视窗区域发生偏移一侧的第一预设像素处于熄灭状态,控制所述发生偏移一侧对应的另一侧的第二预设像素处于点亮状态,其中,所述第一预设像素的像素列的数值和所述第二预设像素的像素列的数值相同,或者所述第一预设像素的像素行的数值和所述第二预设像素的像素行的数值相同。is used to control the first preset pixel on the side where the preset image is offset relative to the ink window area of the display module to be in an off state according to the correction instruction, and control the other side corresponding to the offset side The second preset pixel is in the lit state, wherein the value of the pixel column of the first preset pixel is the same as the value of the pixel column of the second preset pixel, or the pixel of the first preset pixel. The value of the row is the same as the value of the pixel row of the second preset pixel.

在一个实施例中,所述接收模块1102包括:In one embodiment, the receiving module 1102 includes:

第一判断单元,用于判断所述预设图像的几何中心和油墨视窗区域图像的几何中心是否重叠;a first judging unit for judging whether the geometric center of the preset image and the geometric center of the ink window area image overlap;

产生单元,用于若判断所述预设图像的几何中心和所述油墨视窗区域图像的几何中心不重叠,判断所述预设图像相对所述油墨视窗区域发生偏移,产生所述校正指令。The generating unit is configured to, if it is determined that the geometric center of the preset image and the geometric center of the ink window area image do not overlap, determine that the preset image is offset relative to the ink window area, and generate the correction instruction.

在一个实施例中,所述处理模块1104包括:In one embodiment, the processing module 1104 includes:

对比单元,用于对比第一子图像和所述预设图像,获取所述预设图像相对所述油墨视窗区域发生偏移的偏移方向,及获取所述预设图像相对两边被油墨层遮挡的宽度值,所述第一子图像为所述第一图像中所呈现出的所述预设图像;A comparison unit, configured to compare the first sub-image and the preset image, obtain the offset direction of the offset of the preset image relative to the ink window area, and obtain the relative two sides of the preset image that are blocked by the ink layer The width value of , the first sub-image is the preset image presented in the first image;

处理单元,用于根据所述校正指令,向所述偏移方向的相反方向,将所述预设图像移动所述宽度值的距离,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。a processing unit, configured to move the preset image by a distance of the width value in the opposite direction of the offset direction according to the correction instruction, so that the geometric center of the preset image and the ink window area The geometric centers of the overlap.

在一个实施例中,所述处理模块1104包括:In one embodiment, the processing module 1104 includes:

第一获取单元,用于若判断所述预设图像相对所述油墨视窗区域发生偏移,获取所述预设图像的几何中心相对所述油墨视窗区域的几何中心发生偏移的偏移方向和相对距离;The first acquiring unit is configured to acquire the offset direction and the offset direction in which the geometric center of the preset image is offset relative to the geometric center of the ink window area if it is determined that the preset image is offset relative to the ink window area. relative distance;

处理单元,用于将所述预设图像的位置向所述偏移方向的相反方向移动所述相对距离。A processing unit, configured to move the position of the preset image by the relative distance in a direction opposite to the offset direction.

在一个实施例中,所述接收模块1102包括:In one embodiment, the receiving module 1102 includes:

第二获取单元,用于在所述预设图像中确定预设位置,获取所述预设位置在所述第一图像中到油墨视窗区域图像边界线的相对两边的对应距离;a second obtaining unit, configured to determine a preset position in the preset image, and obtain the corresponding distance from the preset position in the first image to two opposite sides of the image boundary line of the ink window area;

第三获取单元,用于根据所述对应距离的差值,获取所述预设位置到所述油墨视窗区域的相对两边的偏移尺寸;a third obtaining unit, configured to obtain the offset size from the preset position to the two opposite sides of the ink window area according to the difference between the corresponding distances;

第二判断单元,用于若判断所述偏移尺寸大于零,判断所述预设图像相对所述油墨视窗区域发生偏移;a second judging unit, configured to judge that the preset image is offset relative to the ink window area if it is judged that the offset size is greater than zero;

第三判断单元,用于若判断所述偏移尺寸等于零,判断所述预设图像相对所述油墨视窗区域未发生偏移。A third judging unit, configured to judge that the preset image is not offset relative to the ink window area if it is judged that the offset size is equal to zero.

在一个实施例中,所述第二获取单元包括:In one embodiment, the second obtaining unit includes:

用于在所述预设图像中定义两条直线,所述两条直线平行,并且所述两条直线沿所述预设图像的对称轴对称,获取其中一条直线到所述油墨视窗区域图像边界线的所述相对两边中的一边的第一距离,及获取另一条直线到所述油墨视窗区域图像边界线的所述相对两边中的另一边的第二距离。It is used to define two straight lines in the preset image, the two straight lines are parallel, and the two straight lines are symmetrical along the symmetry axis of the preset image, and one of the straight lines is obtained to the image boundary of the ink window area A first distance from one of the opposite sides of the line, and a second distance from another straight line to the other of the opposite sides of the ink window area image boundary line.

在一个实施例中,所述第二获取单元包括:In one embodiment, the second obtaining unit includes:

用于获取所述预设图像的对称轴在所述第一图像中到所述油墨视窗区域图像边界线的相对两边的对应距离。The corresponding distances from the symmetry axis used to obtain the preset image to the two opposite sides of the image boundary line of the ink window area in the first image.

在一个实施例中,所述处理模块1104包括:In one embodiment, the processing module 1104 includes:

用于若判断所述预设图像相对所述油墨视窗区域的相对两边中的一边发生偏移,将所述预设图像向所述相对两边中的另一边移动偏移尺寸一半的距离。If it is determined that the preset image is offset from one of the two opposite sides of the ink window area, the preset image is moved to the other side of the opposite two sides by a distance of half the offset size.

上述显示模组的显示校正装置中各个模块的划分仅用于举例说明,在其他实施例中,可将显示模组的显示校正装置按照需要划分为不同的模块,以完成上述显示模组的显示校正装置的全部或部分功能。The division of each module in the display correction device of the display module is only used for illustration. In other embodiments, the display correction device of the display module can be divided into different modules as required to complete the display of the display module. Correct all or part of the function of the device.

本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机程序的非易失性计算机可读存储介质,当所述计算机程序被一个或多个处理器执行时,使得所述处理器执行以下步骤:Embodiments of the present application also provide a computer-readable storage medium. One or more non-transitory computer-readable storage media containing a computer program that, when executed by one or more processors, causes the processors to perform the following steps:

一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行以上各实施例中所述的显示模组的显示校正方法的步骤。A computer program product comprising instructions, when executed on a computer, causes the computer to execute the steps of the display correction method for a display module described in the above embodiments.

本申请实施例还提供了一种电子设备。如图12所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该电子设备可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、穿戴式设备等任意终端设备,以电子设备为手机为例:The embodiments of the present application also provide an electronic device. As shown in FIG. 12 , for the convenience of description, only the parts related to the embodiments of the present application are shown, and the specific technical details are not disclosed, please refer to the method part of the embodiments of the present application. The electronic device may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales, a sales terminal), a vehicle-mounted computer, a wearable device, etc. The electronic device is a mobile phone as an example :

图12为与本申请实施例提供的电子设备相关的手机的部分结构的框图。参考图12,手机包括:射频(Radio Frequency,RF)电路1210、存储器1220、输入单元1230、显示单元1240、传感器1250、音频电路1260、无线保真(wireless fidelity,WiFi)模块1270、处理器1280、以及电源1290等部件。本领域技术人员可以理解,图12所示的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 12 is a block diagram of a partial structure of a mobile phone related to an electronic device provided by an embodiment of the present application. 12 , the mobile phone includes: a radio frequency (RF) circuit 1210 , a memory 1220 , an input unit 1230 , a display unit 1240 , a sensor 1250 , an audio circuit 1260 , a wireless fidelity (WiFi) module 1270 , and a processor 1280 , and power supply 1290 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 12 does not constitute a limitation on the mobile phone, and may include more or less components than shown, or combine some components, or arrange different components.

其中,RF电路1210可用于收发信息或通话过程中,信号的接收和发送,可将基站的下行信息接收后,给处理器1280处理;也可以将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路1210还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System ofMobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband CodeDivision Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE))、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 1210 can be used for receiving and sending signals during sending and receiving of information or during a call. After receiving the downlink information of the base station, it can be processed by the processor 1280; it can also send the uplink data to the base station. Typically, the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 1210 may also communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE)), email, Short Messaging Service (Short Messaging Service, SMS) and the like.

存储器1220可用于存储软件程序以及模块,处理器1280通过运行存储在存储器1220的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器1220可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能的应用程序、图像播放功能的应用程序等)等;数据存储区可存储根据手机的使用所创建的数据(比如音频数据、通讯录等)等。此外,存储器1220可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1220 can be used to store software programs and modules, and the processor 1280 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 1220 . The memory 1220 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playback function, an application program for an image playback function, etc.), etc.; The data storage area may store data (such as audio data, address book, etc.) created according to the usage of the mobile phone, and the like. Additionally, memory 1220 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

输入单元1230可用于接收输入的数字或字符信息,以及产生与手机1200的用户设置以及功能控制有关的键信号输入。具体地,输入单元1230可包括触控面板1231以及其他输入设备1232。触控面板1231,也可称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1231上或在触控面板1231附近的操作),并根据预先设定的程式驱动相应的连接装置。在一个实施例中,触控面板1231可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1280,并能接收处理器1280发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1231。除了触控面板1231,输入单元1230还可以包括其他输入设备1232。具体地,其他输入设备1232可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)等中的一种或多种。The input unit 1230 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the mobile phone 1200 . Specifically, the input unit 1230 may include a touch panel 1231 and other input devices 1232 . The touch panel 1231, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user using a finger, a stylus, etc., any suitable object or accessory on or near the touch panel 1231) operation), and drive the corresponding connection device according to the preset program. In one embodiment, the touch panel 1231 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 1280, and can receive the command sent by the processor 1280 and execute it. In addition, the touch panel 1231 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. Besides the touch panel 1231 , the input unit 1230 may also include other input devices 1232 . Specifically, other input devices 1232 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), and the like.

显示单元1240可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元1240可包括显示面板1241。在一个实施例中,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1241。在一个实施例中,触控面板1231可覆盖显示面板1241,当触控面板1231检测到在其上或附近的触摸操作后,传送给处理器1280以确定触摸事件的类型,随后处理器1280根据触摸事件的类型在显示面板1241上提供相应的视觉输出。虽然在图12中,触控面板1231与显示面板1241是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板1231与显示面板1241集成而实现手机的输入和输出功能。The display unit 1240 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 1240 may include a display panel 1241 . In one embodiment, the display panel 1241 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, the touch panel 1231 may cover the display panel 1241. When the touch panel 1231 detects a touch operation on or near it, the touch panel 1231 transmits it to the processor 1280 to determine the type of the touch event, and then the processor 1280 determines the type of the touch event according to the The type of touch event provides a corresponding visual output on the display panel 1241 . Although in FIG. 12, the touch panel 1231 and the display panel 1241 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 1231 and the display panel 1241 can be integrated to form Realize the input and output functions of the mobile phone.

手机1200还可包括至少一种传感器1250,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1241的亮度,接近传感器可在手机移动到耳边时,关闭显示面板1241和/或背光。运动传感器可包括加速度传感器,通过加速度传感器可检测各个方向上加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换)、振动识别相关功能(比如计步器、敲击)等;此外,手机还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器等。Cell phone 1200 may also include at least one sensor 1250, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1241 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 1241 and/or when the mobile phone is moved to the ear. or backlight. Motion sensors can include acceleration sensors, which can detect the magnitude of acceleration in all directions, and can detect the magnitude and direction of gravity when stationary. It can be used for applications that recognize the posture of mobile phones (such as switching between horizontal and vertical screens), and vibration recognition related functions (such as Pedometer, tapping), etc.; in addition, the mobile phone can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc.

音频电路1260、扬声器1261和传声器1262可提供用户与手机之间的音频接口。音频电路1260可将接收到的音频数据转换后的电信号,传输到扬声器1261,由扬声器1261转换为声音信号输出;另一方面,传声器1262将收集的声音信号转换为电信号,由音频电路1260接收后转换为音频数据,再将音频数据输出处理器1280处理后,经RF电路1210可以发送给另一手机,或者将音频数据输出至存储器1220以便后续处理。Audio circuit 1260, speaker 1261 and microphone 1262 may provide an audio interface between the user and the cell phone. The audio circuit 1260 can transmit the received audio data converted electrical signals to the speaker 1261, and the speaker 1261 converts them into sound signals for output; on the other hand, the microphone 1262 converts the collected sound signals into electrical signals, and the audio circuit 1260 converts the collected sound signals into electrical signals. After receiving, the audio data is converted into audio data, and then the audio data is processed by the output processor 1280, and can be sent to another mobile phone via the RF circuit 1210, or the audio data can be output to the memory 1220 for subsequent processing.

WiFi属于短距离无线传输技术,手机通过WiFi模块1270可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图12示出了WiFi模块1270,但是可以理解的是,其并不属于手机1200的必须构成,可以根据需要而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 1270. It provides users with wireless broadband Internet access. Although FIG. 12 shows the WiFi module 1270, it can be understood that it is not a necessary component of the mobile phone 1200 and can be omitted as required.

处理器1280是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1220内的软件程序和/或模块,以及调用存储在存储器1220内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。在一个实施例中,处理器1280可包括一个或多个处理单元。在一个实施例中,处理器1280可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等;调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1280中。The processor 1280 is the control center of the mobile phone, 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 memory 1220, and calling the data stored in the memory 1220. Various functions of the mobile phone and processing data, so as to monitor the mobile phone as a whole. In one embodiment, the processor 1280 may include one or more processing units. In one embodiment, the processor 1280 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface and application programs, etc.; the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1280.

手机1200还包括给各个部件供电的电源1290(比如电池),优选的,电源可以通过电源管理系统与处理器1280逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone 1200 also includes a power supply 1290 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 1280 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.

在一个实施例中,手机1200还可以包括摄像头、蓝牙模块等。In one embodiment, the mobile phone 1200 may further include a camera, a Bluetooth module, and the like.

在本申请实施例中,该电子设备所包括的处理器1280执行存储在存储器上的计算机程序时实现以上各实施例中所述的显示模组的显示校正方法的步骤。In the embodiment of the present application, when the processor 1280 included in the electronic device executes the computer program stored in the memory, the steps of the display correction method of the display module described in the above embodiments are implemented.

本申请实施例还提供了一种计算机程序产品。一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各实施例中所描述的显示模组的显示校正的方法的步骤。The embodiments of the present application also provide a computer program product. A computer program product containing instructions, when executed on a computer, causes the computer to execute the steps of the method for display correction of a display module described in the above embodiments.

本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to a memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Suitable nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.

Claims (15)

1.一种显示模组的显示校正方法,其特征在于,所述方法包括:1. A display calibration method for a display module, wherein the method comprises: 当显示模组中的盖板上的油墨层的内侧边缘与黑色矩阵BM区的内侧边缘产生错位时,接收校正指令,所述校正指令是电子设备根据第一图像检测到预设图像在所述电子设备的显示屏的显示区域显示时相对所述电子设备的显示模组的油墨视窗区域发生偏移时产生的;所述第一图像是所述显示模组处于亮屏状态下拍摄所述油墨视窗区域所得的图像;所述第一图像包括所述显示模组的油墨视窗区域图像和所述显示模组中在显示屏的第一显示区域显示的预设图像;When the inner edge of the ink layer on the cover plate in the display module is misaligned with the inner edge of the black matrix BM area, a correction instruction is received, and the correction instruction is when the electronic device detects the preset image according to the first image in the The first image is generated when the display area of the display screen of the electronic device is displayed with an offset relative to the ink window area of the display module of the electronic device; the first image is when the display module is in a bright screen state to capture the ink The image obtained in the window area; the first image includes the ink window area image of the display module and the preset image displayed in the first display area of the display screen in the display module; 根据所述校正指令移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。The position of the preset image is moved according to the correction instruction, so that the geometric center of the preset image overlaps the geometric center of the ink window area. 2.根据权利要求1所述的方法,其特征在于,所述根据所述校正指令移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠的步骤包括:2 . The method according to claim 1 , wherein the position of the preset image is moved according to the correction instruction, so that the geometric center of the preset image overlaps the geometric center of the ink window area. 3 . The steps include: 根据所述校正指令按照偏移方向和偏移尺寸移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。Move the position of the preset image according to the offset direction and offset size according to the correction instruction, so that the geometric center of the preset image overlaps the geometric center of the ink window area. 3.根据权利要求1或者2所述的方法,其特征在于,所述根据所述校正指令移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠的步骤包括:3. The method according to claim 1 or 2, wherein moving the position of the preset image according to the correction instruction makes the geometric center of the preset image and the geometric center of the ink window area The steps for center overlap include: 调整所述显示区域的各个像素点显示的颜色值,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。The color value displayed by each pixel in the display area is adjusted so that the geometric center of the preset image overlaps the geometric center of the ink window area. 4.根据权利要求1或者2所述的方法,其特征在于,所述根据所述校正指令移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠的步骤包括:4. The method according to claim 1 or 2, wherein moving the position of the preset image according to the correction instruction makes the geometric center of the preset image and the geometric center of the ink window area The steps for center overlap include: 根据所述校正指令,控制所述预设图像相对显示模组的油墨视窗区域发生偏移一侧的第一预设像素处于熄灭状态,控制所述发生偏移一侧对应的另一侧的第二预设像素处于点亮状态,其中,所述第一预设像素的像素列的数值和所述第二预设像素的像素列的数值相同,或者所述第一预设像素的像素行的数值和所述第二预设像素的像素行的数值相同。According to the correction instruction, control the first preset pixel on the side where the preset image is offset from the ink window area of the display module to be in an off state, and control the first preset pixel on the other side corresponding to the offset side. Two preset pixels are in the lit state, wherein the value of the pixel column of the first preset pixel is the same as the value of the pixel column of the second preset pixel, or the value of the pixel row of the first preset pixel is the same. The numerical value is the same as the numerical value of the pixel row of the second preset pixel. 5.根据权利要求1或者2所述的方法,其特征在于,所述校正指令是根据第一图像检测到预设图像在显示屏的显示区域显示时相对显示模组的油墨视窗区域发生偏移时产生的步骤包括:5. The method according to claim 1 or 2, wherein the correction instruction is to detect that the preset image is shifted relative to the ink window area of the display module when the preset image is displayed in the display area of the display screen according to the first image. The resulting steps include: 判断所述预设图像的几何中心和油墨视窗区域图像的几何中心是否重叠;Determine whether the geometric center of the preset image and the geometric center of the ink window area image overlap; 若判断所述预设图像的几何中心和所述油墨视窗区域图像的几何中心不重叠,判断所述预设图像相对所述油墨视窗区域发生偏移,产生所述校正指令。If it is determined that the geometric center of the preset image and the geometric center of the ink window area image do not overlap, it is determined that the preset image is offset relative to the ink window area, and the correction instruction is generated. 6.根据权利要求2所述的方法,其特征在于,所述根据所述校正指令按照偏移方向和偏移尺寸移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠的步骤包括:6 . The method according to claim 2 , wherein moving the position of the preset image according to the offset direction and the offset size according to the correction instruction, so that the geometric center of the preset image is the same as the preset image. 7 . The steps of overlapping the geometric centers of the ink window regions include: 对比第一子图像和所述预设图像,获取所述预设图像相对所述油墨视窗区域发生偏移的偏移方向,及获取所述预设图像相对两边被油墨层遮挡的宽度值,所述第一子图像为所述第一图像中所呈现出的所述预设图像;Comparing the first sub-image and the preset image, obtain the offset direction of the offset of the preset image relative to the ink window area, and obtain the width value of the preset image that is occluded by the ink layer on the opposite sides, so the first sub-image is the preset image presented in the first image; 根据所述校正指令,向所述偏移方向的相反方向,将所述预设图像移动所述宽度值的距离,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。According to the correction instruction, move the preset image by the width value in the opposite direction of the offset direction, so that the geometric center of the preset image overlaps the geometric center of the ink window area. 7.根据权利要求2所述的方法,其特征在于,所述根据所述校正指令按照偏移方向和偏移尺寸移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠的步骤包括:7 . The method according to claim 2 , wherein moving the position of the preset image according to the offset direction and the offset size according to the correction instruction, so that the geometric center of the preset image is the same as the preset image. 8 . The steps of overlapping the geometric centers of the ink window regions include: 若判断所述预设图像相对所述油墨视窗区域发生偏移,获取所述预设图像的几何中心相对所述油墨视窗区域的几何中心发生偏移的偏移方向和相对距离;If it is determined that the preset image is offset from the ink window area, obtain the offset direction and relative distance in which the geometric center of the preset image is offset from the geometric center of the ink window area; 将所述预设图像的位置向所述偏移方向的相反方向移动所述相对距离。The position of the preset image is moved by the relative distance in a direction opposite to the offset direction. 8.根据权利要求1或者2所述的方法,其特征在于,所述校正指令是根据第一图像检测到预设图像在显示屏的显示区域显示时相对显示模组的油墨视窗区域发生偏移时产生的步骤包括:8. The method according to claim 1 or 2, wherein the correction instruction is to detect that the preset image is shifted relative to the ink window area of the display module when the preset image is displayed in the display area of the display screen according to the first image. The resulting steps include: 在所述预设图像中确定预设位置,获取所述预设位置在所述第一图像中到油墨视窗区域图像边界线的相对两边的对应距离;determining a preset position in the preset image, and obtaining the corresponding distance from the preset position in the first image to two opposite sides of the image boundary line of the ink window area; 根据所述对应距离的差值,获取所述预设位置到所述油墨视窗区域的相对两边的偏移尺寸;According to the difference between the corresponding distances, obtain the offset size from the preset position to the two opposite sides of the ink window area; 若判断所述偏移尺寸大于零,判断所述预设图像相对所述油墨视窗区域发生偏移;If it is determined that the offset size is greater than zero, it is determined that the preset image is offset relative to the ink window area; 若判断所述偏移尺寸等于零,判断所述预设图像相对所述油墨视窗区域未发生偏移。If it is determined that the offset size is equal to zero, it is determined that the preset image is not offset relative to the ink window area. 9.根据权利要求8所述的方法,其特征在于,所述在所述预设图像中确定预设位置,获取所述预设位置在所述第一图像中到油墨视窗区域图像边界线的相对两边的对应距离的步骤包括:9 . The method according to claim 8 , wherein, determining a preset position in the preset image, and obtaining the distance from the preset position in the first image to the image boundary line of the ink window area. 10 . The steps of corresponding distances on opposite sides include: 在所述预设图像中定义两条直线,所述两条直线平行,并且所述两条直线沿所述预设图像的对称轴对称,获取其中一条直线到所述油墨视窗区域图像边界线的所述相对两边中的一边的第一距离,及获取另一条直线到所述油墨视窗区域图像边界线的所述相对两边中的另一边的第二距离。Define two straight lines in the preset image, the two straight lines are parallel, and the two straight lines are symmetrical along the symmetry axis of the preset image, and the distance from one of the straight lines to the image boundary line of the ink window area is obtained. a first distance from one of the opposite sides, and a second distance from another straight line to the other of the opposite sides of the image boundary line of the ink window area. 10.根据权利要求8所述的方法,其特征在于,所述在所述预设图像中确定预设位置,获取所述预设位置在所述第一图像中到油墨视窗区域图像边界线的相对两边的对应距离的步骤包括:10 . The method according to claim 8 , wherein, determining a preset position in the preset image, and obtaining the distance from the preset position in the first image to the image boundary line of the ink window area. 11 . The steps of corresponding distances on opposite sides include: 获取所述预设图像的对称轴在所述第一图像中到所述油墨视窗区域图像边界线的相对两边的对应距离。The corresponding distances from the symmetry axis of the preset image in the first image to two opposite sides of the image boundary line of the ink window area are acquired. 11.根据权利要求2所述的方法,其特征在于,所述根据所述校正指令按照偏移方向和偏移尺寸移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠的步骤包括:11. The method according to claim 2, wherein moving the position of the preset image according to the correction instruction according to the offset direction and the offset size, so that the geometric center of the preset image is the same as the preset image. The steps of overlapping the geometric centers of the ink window regions include: 若判断所述预设图像相对所述油墨视窗区域的相对两边中的一边发生偏移,将所述预设图像向所述相对两边中的另一边移动偏移尺寸一半的距离。If it is determined that the preset image is offset relative to one of the two opposite sides of the ink window area, the preset image is moved to the other side of the opposite two sides by a distance of half the offset size. 12.一种显示校正装置,其特征在于,所述装置包括:12. A display correction device, characterized in that the device comprises: 接收模块,用于当显示模组中的盖板上的油墨层的内侧边缘与黑色矩阵BM区的内侧边缘产生错位时,接收校正指令,所述校正指令是电子设备根据第一图像检测到预设图像在所述电子设备的显示屏的显示区域显示时相对所述电子设备的显示模组的油墨视窗区域发生偏移时产生的;所述第一图像是所述显示模组处于亮屏状态下拍摄所述油墨视窗区域所得的图像;所述第一图像包括所述显示模组的油墨视窗区域图像和所述显示模组中在显示屏的第一显示区域显示的预设图像;The receiving module is used for receiving a correction instruction when the inner edge of the ink layer on the cover plate in the display module is misaligned with the inner edge of the black matrix BM area, and the correction instruction is that the electronic device detects a pre-determined image according to the first image. Suppose that the image is generated when the display area of the display screen of the electronic device is displayed relative to the ink window area of the display module of the electronic device and is offset; the first image is that the display module is in a bright screen state The image obtained by shooting the ink window area; the first image includes the ink window area image of the display module and the preset image displayed in the first display area of the display module in the display module; 处理模块,用于根据所述校正指令移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。The processing module is configured to move the position of the preset image according to the correction instruction, so that the geometric center of the preset image overlaps the geometric center of the ink window area. 13.一种显示校正系统,其特征在于,所述系统包括电子设备和与所述电子设备连接的校正设备;13. A display calibration system, characterized in that the system comprises an electronic device and a calibration device connected to the electronic device; 所述电子设备包括显示模组、存储器和处理器,所述显示模组能够处于亮屏状态并能够显示预设图像;The electronic device includes a display module, a memory and a processor, and the display module can be in a bright screen state and can display a preset image; 所述校正设备包括拍照组件、存储器及处理器,所述拍照组件用于拍摄所述显示模组处于亮屏状态下的油墨视窗区域,得到第一图像;所述第一图像包括所述显示模组的油墨视窗区域图像和所述显示模组中在显示屏的第一显示区域显示的预设图像;The calibration device includes a photographing component, a memory and a processor, and the photographing component is used to photograph the ink window area of the display module in a bright screen state to obtain a first image; the first image includes the display module. an image of the ink window area of the group and a preset image displayed in the first display area of the display screen in the display module; 所述校正设备的存储器中储存有计算机程序,所述计算机程序被所述校正设备的处理器执行时,使得所述校正设备的处理器执行如下步骤:A computer program is stored in the memory of the calibration device, and when the computer program is executed by the processor of the calibration device, the processor of the calibration device executes the following steps: 获取第一图像,根据所述第一图像,判断预设图像在显示屏的显示区域显示时相对所述显示模组的油墨视窗区域是否发生偏移;所述第一图像包括所述显示模组的油墨视窗区域图像和所述显示模组中在显示屏的第一显示区域显示的预设图像;Acquire a first image, and according to the first image, determine whether the preset image is offset relative to the ink window area of the display module when the preset image is displayed in the display area of the display screen; the first image includes the display module The ink window area image and the preset image displayed in the first display area of the display screen in the display module; 若所述显示模组中的盖板上的油墨层的内侧边缘与BM区的内侧边缘产生错位时,判断所述预设图像相对所述油墨视窗区域发生偏移,向所述电子设备发送校正指令;If the inner edge of the ink layer on the cover plate in the display module is misaligned with the inner edge of the BM area, it is determined that the preset image is offset relative to the ink window area, and a correction is sent to the electronic device instruction; 所述电子设备的存储器中储存有计算机程序,所述计算机程序被所述电子设备的处理器执行时,使得所述电子设备的处理器执行以下步骤:A computer program is stored in the memory of the electronic device, and when the computer program is executed by the processor of the electronic device, the processor of the electronic device executes the following steps: 接收所述校正设备发送的校正指令;receiving a correction instruction sent by the correction device; 根据所述校正指令移动所述预设图像的位置,使所述预设图像的几何中心与所述油墨视窗区域的几何中心重叠。The position of the preset image is moved according to the correction instruction, so that the geometric center of the preset image overlaps the geometric center of the ink window area. 14.一种电子设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求1-11中所述的方法的步骤。14. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor causes the processor to execute the method described in claims 1-11 steps of the method. 15.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-11中任一项所述的方法的步骤。15. A computer-readable storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the method according to any one of claims 1-11 are implemented.
CN201711488918.5A 2017-12-29 2017-12-29 Display correction method, display correction device and display correction system of display module Active CN108053803B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711488918.5A CN108053803B (en) 2017-12-29 2017-12-29 Display correction method, display correction device and display correction system of display module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711488918.5A CN108053803B (en) 2017-12-29 2017-12-29 Display correction method, display correction device and display correction system of display module

Publications (2)

Publication Number Publication Date
CN108053803A CN108053803A (en) 2018-05-18
CN108053803B true CN108053803B (en) 2020-01-10

Family

ID=62129861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711488918.5A Active CN108053803B (en) 2017-12-29 2017-12-29 Display correction method, display correction device and display correction system of display module

Country Status (1)

Country Link
CN (1) CN108053803B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109302601B (en) * 2018-10-15 2021-04-02 张家港康得新光电材料有限公司 Testing method and testing device for naked eye 3D display screen
CN109377884B (en) * 2018-12-06 2020-12-11 厦门天马微电子有限公司 Display panel, display device and driving method of display panel
CN113096569A (en) * 2020-01-09 2021-07-09 北京小米移动软件有限公司 Calibration detection method and device, calibration method, display screen device and mobile terminal
CN111489643A (en) * 2020-04-15 2020-08-04 京东方科技集团股份有限公司 Display module, display device and display area determination method
CN111816073B (en) * 2020-07-06 2023-04-25 京东方科技集团股份有限公司 Display module, display device and calibration method of display module
CN111816081B (en) * 2020-08-05 2022-08-12 Oppo广东移动通信有限公司 Preparation method of display screen assembly, display screen assembly and electronic device
CN113643295B (en) * 2021-10-14 2022-04-08 武汉精立电子技术有限公司 Micro-LED screen detection method and related equipment
CN116704011B (en) * 2023-08-04 2024-03-05 深圳市凯立特光电科技有限公司 A data processing-based LED display pixel correction analysis system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593350A (en) * 2008-05-30 2009-12-02 日电(中国)有限公司 The methods, devices and systems of depth adaptive video-splicing
CN101709963A (en) * 2009-12-23 2010-05-19 西南交通大学 Technique for eliminating deviations between object space control points and image navigation in digital photogrammetry
CN102435629A (en) * 2011-11-28 2012-05-02 上海华力微电子有限公司 Detection method of scanning electron microscope
CN102566309A (en) * 2012-01-12 2012-07-11 合肥芯硕半导体有限公司 Method for measuring dynamic stability of plate-making lithography equipment
CN104811637A (en) * 2014-01-24 2015-07-29 株式会社理光 Projection system, image processing apparatus, and correction method
CN106933415A (en) * 2017-03-07 2017-07-07 广东欧珀移动通信有限公司 A sensor assembly and terminal
CN107295258A (en) * 2017-07-20 2017-10-24 上海骋旭信息技术有限公司 Adjust method, device and the terminal device of camera lens module

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593350A (en) * 2008-05-30 2009-12-02 日电(中国)有限公司 The methods, devices and systems of depth adaptive video-splicing
CN101709963A (en) * 2009-12-23 2010-05-19 西南交通大学 Technique for eliminating deviations between object space control points and image navigation in digital photogrammetry
CN102435629A (en) * 2011-11-28 2012-05-02 上海华力微电子有限公司 Detection method of scanning electron microscope
CN102566309A (en) * 2012-01-12 2012-07-11 合肥芯硕半导体有限公司 Method for measuring dynamic stability of plate-making lithography equipment
CN104811637A (en) * 2014-01-24 2015-07-29 株式会社理光 Projection system, image processing apparatus, and correction method
CN106933415A (en) * 2017-03-07 2017-07-07 广东欧珀移动通信有限公司 A sensor assembly and terminal
CN107295258A (en) * 2017-07-20 2017-10-24 上海骋旭信息技术有限公司 Adjust method, device and the terminal device of camera lens module

Also Published As

Publication number Publication date
CN108053803A (en) 2018-05-18

Similar Documents

Publication Publication Date Title
CN108053803B (en) Display correction method, display correction device and display correction system of display module
US11740716B2 (en) Disposition structure of sensor of electronic device
CN108172199B (en) Display method, display device, electronic apparatus, and computer-readable storage medium
US10510136B2 (en) Image blurring method, electronic device and computer device
EP3691234B1 (en) Photographing method and terminal
US10825421B2 (en) Electronic device photographing method, and apparatus
US20190080188A1 (en) Facial recognition method and related product
CN108536365A (en) A kind of images share method and terminal
CN108648626B (en) Display control method, device, terminal and readable storage medium
CN107920236A (en) Image white balance processing method and device, storage medium and electronic equipment
US11050942B2 (en) Screen fill light photographing method for mobile terminal, system and mobile terminal
US20200259994A1 (en) Photo taking control method and system based on mobile terminal, and storage medium
CN110445984A (en) A shooting prompt method and electronic device
US12096101B2 (en) Terminal, photographing method and storage medium
CN107888833A (en) A kind of image capturing method and mobile terminal
CN107682637A (en) A kind of image pickup method, mobile terminal and computer-readable recording medium
CN107734319B (en) Image white balance processing method and device, storage medium and electronic device
US20210099566A1 (en) Dialing method and mobile terminal
CN110312274A (en) A kind of method for building up and electronic equipment of wireless access point
US11108950B2 (en) Method for generating blurred photograph, and storage device and mobile terminal
CN217508882U (en) Camera device and mobile terminal
CN117274329B (en) Dual-camera sensor field of view registration method and device, storage medium and electronic equipment
CN114125151B (en) Image processing method, mobile terminal and storage medium
CN213028135U (en) Mobile terminal
CN116469139A (en) Method, device, terminal and computer storage medium for collecting fingerprint images

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

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

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant