Display control method and device of electronic equipment, electronic equipment and storage medium
By obtaining the posture and perspective information of the electronic equipment in real time, the color compensation value of the display unit is calculated, which solves the problem of the screen edge of the screen that users see under the non -positive angle, and improves the display effect.
Patent Information
- Application Number
- CN202411381555.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2044-09-30
AI Technical Summary
When users view the display screen of mobile phone electronic devices from a non-front perspective, there is still a color offset problem on the edge of the screen, resulting in poor display effect.
By obtaining the posture information of the electronic device and the user's perspective information in real time, the equivalent color coordinates of the target display unit in the display panel are determined, and the color compensation value of each display unit is calculated based on this information to perform dynamic color compensation.
No matter what posture or perspective of the display, you can perform targeted color compensation to avoid color bias problems and improve the display effect of electronic equipment.
Smart Images

Figure CN119339665A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of display control technology, and specifically relates to a display control method and device for an electronic device, an electronic device, and a storage medium. Background Art
[0002] In the related art, the display screen of mobile electronic devices, such as active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (AMOLED) display screen, has a color cast problem, such as green or purple cast, when users watch the edge area of the display screen due to the difference in light paths between the edge area and the center area of the display panel. In order to alleviate the problem of edge color cast, an edge bending compensation (EBC) function is generally set in the display driver integrated circuit (DDIC).
[0003] The EBC function in the related technology only compensates based on the viewing angle when the user looks directly at the screen, but the user's usage habits are constantly changing, and the angle at which the user views the screen will also change. When the user views the screen at an angle other than the direct viewing angle, the color cast problem at the edge of the screen will still be observed, resulting in poor display effects of the electronic device. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a display control method and device for an electronic device, an electronic device and a storage medium, which can solve the problem that when a user views the screen at a non-normal viewing angle, there is still color deviation at the edge of the screen, resulting in poor display effect of the electronic device.
[0005] In a first aspect, an embodiment of the present application provides a display control method of an electronic device, wherein the electronic device includes a display panel, the display panel includes a first display area, the first display area includes N display units, and the N display units are evenly distributed in the first display area, wherein the N display units include M target display units and non-target display units other than the M target display units, and N and M are both positive integers; the display control method includes:
[0006] Acquire posture information and viewing angle information of the electronic device, and determine M target display units among N display units;
[0007] Determine the equivalent color coordinates of each target display unit according to the posture information and the viewing angle information, and obtain M equivalent color coordinates;
[0008] Determine a first color compensation value of each target display unit according to each equivalent color coordinate of the M equivalent color coordinates, and obtain M first color compensation values;
[0009] Determine a second color compensation value for each non-target display unit according to the M first color compensation values;
[0010] Based on the first color compensation value and the second color compensation value, the display panel is controlled to display content.
[0011] In a second aspect, an embodiment of the present application provides a display control device of an electronic device, wherein the electronic device includes a display panel, the display panel includes a first display area, the first display area includes N display units, and the N display units are evenly distributed in the first display area, wherein the N display units include M target display units and non-target display units other than the M target display units, and N and M are both positive integers; the display control device includes:
[0012] An acquisition module, used to acquire posture information and viewing angle information of the electronic device, and determine M target display units among N display units;
[0013] A determination module is used to determine the equivalent color coordinates of each target display unit according to the posture information and the viewing angle information to obtain M equivalent color coordinates; determine the first color compensation value of each target display unit according to each of the M equivalent color coordinates to obtain M first color compensation values; and determine the second color compensation value of each non-target display unit according to the M first color compensation values;
[0014] The control module is used to control the display panel to display content based on the first color compensation value and the second color compensation value.
[0015] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, wherein the memory stores programs or instructions that can be executed on the processor, and when the programs or instructions are executed by the processor, the steps of the method of the first aspect are implemented.
[0016] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
[0017] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps of the method of the first aspect.
[0018] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method of the first aspect.
[0019] In an embodiment of the present application, when an electronic device displays content, posture information of the current electronic device and viewing angle information of a user currently viewing the display panel of the electronic device are obtained in real time, and the posture information of the electronic device and the viewing angle information of the user are combined to perform color compensation on a display unit in a first display area where the display panel is prone to color cast. Therefore, no matter what posture or viewing angle the user uses to view the display panel of the electronic device, targeted color compensation can be performed to avoid the problem of color cast at the edge of the screen when the user views the screen at a non-normal viewing angle, thereby improving the display effect of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic diagram showing a display area of a display panel in some embodiments of the present application;
[0021] Figure 2 A flow chart showing a display control method of an electronic device according to some embodiments of the present application;
[0022] Figure 3 A schematic diagram showing a display area of a display panel in some embodiments of the present application;
[0023] Figure 4 A schematic diagram showing color shift trajectories of some embodiments of the present application is shown;
[0024] Figure 5 A schematic diagram showing spatial information in some embodiments of the present application;
[0025] Figure 6 A schematic diagram showing the structure of an electronic device in some embodiments of the present application;
[0026] Figure 7 A schematic diagram showing the structure of an electronic device in some embodiments of the present application;
[0027] Figure 8 A structural block diagram of a display control device according to some embodiments of the present application is shown;
[0028] Fig. 9 A structural block diagram of an electronic device according to an embodiment of the present application is shown;
[0029] Fig.10 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0031] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0032] The display control method and device of an electronic device, the electronic device, and the storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0033] In some embodiments of the present application, a display control method of an electronic device is provided, wherein the electronic device includes a display panel. Figure 1 A schematic diagram showing a display area of a display panel in some embodiments of the present application is shown. Figure 1 As shown, the display panel 100 includes a first display area 102, and the first display area 102 includes N display units 104. The N display units are evenly distributed in the first display area, wherein the N display units include M target display units and non-target display units other than the M target display units, and N and M are both positive integers.
[0034] Figure 2 A flow chart showing a display control method of an electronic device according to some embodiments of the present application is shown. Figure 2 As shown, the display control method includes:
[0035] Step 202: Acquire posture information and viewing angle information of the electronic device, and determine M target display units among N display units.
[0036] In the embodiments of the present application, the electronic device includes but is not limited to mobile phones, tablet computers, smart watches, smart bracelets, etc. The electronic device includes a display panel, which may be an AMOLED display panel, a sub-millimeter light-emitting diode (Mini Light-Emitting Diode, Mini-LED) display panel, etc.
[0037] The display panel includes N display units. Exemplarily, one display unit may include one pixel or multiple pixels. Exemplarily, the target display unit is a preset display unit that is pre-calibrated among the N display units when the display panel is produced. Exemplarily, the M target display units may also be randomly selected from the N display units. Exemplarily, after the M target display units are determined, all other display units among the N display units except the M target display units are defined as non-target display units, and the number of non-target display units is (NM).
[0038] When the electronic device displays content, the posture information of the electronic device and the user's viewing angle information are obtained in real time. The posture information of the electronic device specifically includes the angle information between the plane where the display panel of the electronic device is located and the horizontal plane. The user's viewing angle information specifically includes the angle between the line between the user's eyes and the object being stared at on the screen and the display panel.
[0039] Step 204 : determining the equivalent color coordinates of each target display unit according to the posture information and the viewing angle information, and obtaining M equivalent color coordinates.
[0040] In the embodiment of the present application, the first display area is specifically a pre-set display area that needs to be color compensated (or edge bending area compensated). For example, the first display area may be an edge area of the display panel. Figure 1 As shown, the first display area 102 is located at the edge area of the display panel 100 .
[0041] Figure 3 A schematic diagram showing a display area of a display panel in some embodiments of the present application is shown. Figure 3 As shown, the first display area 102 includes a target display unit 1042 and a non-target display unit 1044, wherein the target display unit 1042 is a pre-selected display unit.
[0042] Exemplarily, the electronic device stores actual color coordinates of the target display unit under different posture information and different viewing angle information, and determines the equivalent color coordinates of the target display unit according to the actual color coordinates and the standard color coordinates under the normal viewing angle.
[0043] Step 206 , determining the first color compensation value of each target display unit according to each of the M equivalent color coordinates, to obtain M first color compensation values.
[0044] In an embodiment of the present application, the equivalent color coordinates are specifically the color coordinates that can make the color of the target display unit in the eyes of the user match the color actually required to be displayed under the posture information of the current electronic device and the current user perspective. Based on the difference between the equivalent color coordinates and the color coordinate table of the color actually required to be displayed, a first color compensation value can be obtained. By compensating the initial color coordinates of the target display unit with the first color compensation value, the effect of making the color of the target display unit in the eyes of the user match the color actually required to be displayed can be obtained.
[0045] Step 208, determining a second color compensation value for each non-target display unit according to the M first color compensation values;
[0046] Among them, Figure 3 As shown, the non-target display unit 1044 includes other display units among the N display units 104 except the target display unit 1042 .
[0047] In the embodiment of the present application, since the first display area of the display panel includes N display units, the larger the number of N, the more accurate the color compensation. However, when the number of display units that need to be color compensated is larger, the more compensation work needs to be done at the factory, and the lower the efficiency.
[0048] In order to improve efficiency, the present application predetermines M target display units among all N display units that need to be color compensated, and calibrates the equivalent color coordinates of the M target display units under different posture information and different viewing angle information.
[0049] When the user actually uses the electronic device, the posture information and viewing angle information are collected in real time. Through the posture information and viewing angle information collected in real time, the M first color compensation values of the above-mentioned M target display units are determined in real time. Since the optical path of the display panel is basically fixed, the color deviation of the display units at different positions also changes approximately linearly with the change of information such as angle and distance.
[0050] Therefore, among the N display units, the other display units except the M target display units are defined as non-target display units, and according to the relative position relationship between each non-target display unit, the target display unit and the human eye, the equivalent viewing angle is determined by the posture information and viewing angle information captured by the sensor, and the second color compensation value of each non-target display unit is obtained based on the linear difference, so that dynamic color compensation of each display unit can be achieved without pre-compensating each display unit.
[0051] Step 210: Control the display panel to display content based on the first color compensation value and the second color compensation value.
[0052] In the embodiment of the present application, after the brightness of the R (red), G (green), and B (blue) sub-pixels in the target display unit are compensated by the first color compensation value, and the brightness of the R, G, and B sub-pixels in the non-target display unit are compensated by the second color compensation value, the colors reflected by all pixels on the display panel in the human eye are the correct colors.
[0053] The present application performs color compensation on the display unit in the first display area where color cast is prone to occur on the display panel by acquiring the posture information of the current electronic device and the viewing angle information of the user who is currently viewing the display panel of the electronic device in real time when the electronic device displays content, and combining the posture information of the electronic device and the viewing angle information of the user. Therefore, no matter what posture or viewing angle the user uses to view the display panel of the electronic device, targeted color compensation can be performed to avoid the problem of color cast at the edge of the screen when the user views the screen at a non-normal viewing angle, thereby improving the display effect of the electronic device.
[0054] In some embodiments of the present application, before acquiring the posture information of the electronic device and the viewing angle information of the user, the display control method further includes:
[0055] According to the parameter information of the display panel, a first display area and a second display area are determined within the display area of the display panel; wherein the second display area is located at the center of the display panel, the first display area is located on the periphery of the second display area, and M target display units are distributed along the circumference of the second display area.
[0056] In an embodiment of the present application, the parameter information of the display panel determines the actual color deviation under different user viewing angles when the display panel is in different posture information. Through the display panel parameter information, the area that needs color compensation can be determined on a display panel, that is, the above-mentioned first display area. The second display area is an area that does not require color compensation. Generally speaking, the second display area is the central area of the display panel, which is the area viewed by the user at a normal viewing angle in most cases. The first display area is the edge area of the display panel. When the user views the display content of the display panel, the color of the display unit in the first display area may be deviated due to the influence of light path differences and the like.
[0057] For example, Figure 1 and Figure 3 As shown, the second display area 106 is located at the center of the display panel 100 , and the first display area 102 is located at the edge area of the display panel 100 and at the periphery of the second display area 106 .
[0058] In order to quickly obtain the color compensation value of each display unit in the first display area 102, a plurality of target display units 1042 are arranged at intervals in the first display area 102, specifically in the circumferential direction of the second display area 106, so that one or more adjacent target display units 1042 can always be found near each non-target display unit 1044 in the first display area 102, so that according to the changing trend of the first color compensation values of these target display units 1042, the second color compensation value of each non-target display unit 1044 is obtained by linear fitting, thereby performing color compensation on all the display units 104 in the first display area 102.
[0059] The present application divides a first display area that needs color compensation and sets a number of target display units that perform color compensation in advance in the first display area, thereby improving the efficiency of color compensation while ensuring the accuracy and reliability of color compensation.
[0060] In some embodiments of the present application, before acquiring the posture information of the electronic device and the viewing angle information of the user, the display control method further includes:
[0061] Acquire color coordinate information of M target display units; wherein the color coordinate information includes the correlation between the actual color coordinates of each target display unit and the spatial information; the spatial information includes: the distance between each target display unit and the center point of the display panel, the correspondence between each target display unit and the posture information, and the correspondence between each target display unit and the viewing angle information; acquire the orthographic color coordinates of the M target display units; determine the equivalent color coordinates of each target display unit according to the color coordinate information, the orthographic color coordinates and the color deviation trajectory parameters of the second display area.
[0062] In an embodiment of the present application, when the display panel is produced and calibrated, based on the parameter information of the display panel, a first display area that requires color compensation is determined in the entire display area of the display panel, and a number of target display units are pre-set in the first display area, and the equivalent color coordinates of these target display units are calibrated. The equivalent color coordinates are specifically the actual color coordinates of the target display unit when the display panel is in different posture information and different viewing angle information of the user.
[0063] Exemplarily, the display panel is controlled to display different colors, and the actual color coordinates of the target display unit are collected under different posture information and different viewing angle information, and the collected actual color coordinates are mapped and stored with the posture information and viewing angle information to obtain the above-mentioned color coordinate information.
[0064] The color coordinates of the display panel at a normal viewing angle when displaying different colors are obtained to obtain the normal viewing color coordinates. The normal viewing color coordinates are specifically the color coordinates of the target display unit in the eyes of the user when the display panel is located on a horizontal plane and the user looks directly at the target display unit at a vertical angle.
[0065] For example, Figure 4 A schematic diagram of the color deviation trajectory of some embodiments of the present application is shown. The difference between the orthographic color coordinates obtained in the above steps and the actual color coordinates can reflect the "color deviation" of a target display unit under different posture information and different viewing angle information. Combined with the color deviation trajectory calibrated during the production of the display panel, the above-mentioned "equivalent coordinates" can be obtained.
[0066] The color deviation trajectory specifically refers to the trajectory of the color coordinates of the second display area at different viewing angles. The color deviation trajectory can reflect the color of the display panel viewed by the user at different viewing angles. The color deviation trajectory is determined by camera shooting when calibrating the panel parameters. Since the first display area is the edge area of the display panel, there will be an arc angle on the edge area. The color presented in this area will be inaccurate after being arranged by the camera. Therefore, the second display area in the center area is selected to collect the color deviation trajectory.
[0067] Exemplarily, the color deviation trajectory of the second display area is first tested to obtain a curve of the color coordinates at different viewing angles relative to the color coordinate origin, which is the curve of the above-mentioned color deviation trajectory. Then, the target display unit is calibrated in the first display area, and the color coordinates of the target display unit and the user's actual "posture viewing angle" are measured. That is, the posture viewing angle and the color coordinate 1. By comparing the color coordinate 0 and the color coordinate 1, the mapping relationship between the "posture viewing angle" of the first display area and the "different viewing angles" of the second display area is obtained, that is, the "posture viewing angle" of the first display area is converted into a known viewing angle of the second display area, which is defined here as an "equivalent viewing angle".
[0068] After the equivalent viewing angle is determined, the grayscale values of red, green and blue that need to be compensated, that is, the color values (RGB values), are determined according to the “color shift trajectory” of the second display area.
[0069] For the target display unit in the first display area, it can be tested and determined in the development process of the display panel according to the above process. Then, the other N-display units in the first display area are calculated by the difference algorithm through the application processor (AP) or the microcontroller unit (MCU) in the display driver integrated circuit (DDIC) to achieve real-time and dynamic color compensation. For example, Figure 5 A schematic diagram showing spatial information in some embodiments of the present application is shown in FIG. Figure 5 As shown, the equivalent coordinate is defined as K, then K = (L, α, β). Wherein, L is the straight-line distance between the target display unit 1042 and the center point O of the display panel, α is the above-mentioned posture information, that is, the angle between the display panel and the horizontal plane, and β is the above-mentioned viewing angle information, that is, the angle between the user's eyes and the screen.
[0070] The present application sets a target display unit in an area where color compensation is required, and calibrates the color coordinate information of the target display unit, so that when a user uses an electronic device, the electronic device can determine a first color compensation value of the target display unit based on posture information and viewing angle information collected in real time, and obtain a second color compensation value of all display units that require color steps based on the first color compensation value, and perform color compensation on the display content of the display panel, which can improve the display effect of the electronic device.
[0071] In some embodiments of the present application, determining the second color compensation value of each non-target display unit according to the M first color compensation values includes:
[0072] Obtain a positional relationship between each non-target display unit and M target display units; wherein the positional relationship includes a distance between a non-target display unit and each target display unit; and determine a second color compensation value for each non-target display unit based on a difference algorithm, a positional relationship between each non-target display unit and the M target display units, and M first color compensation values.
[0073] In an embodiment of the present application, after obtaining M first color compensation values corresponding to M target display units, based on the positional relationship between each non-target display unit and the known target display unit, a difference algorithm is used to fit the second color compensation value of each non-target display unit, thereby accurately color compensating all N display units in the first display area.
[0074] Exemplarily, assuming there are 10 target display units, when determining the second color compensation value of each non-target display unit, there is a certain positional relationship between this non-target display unit and the 10 known target display units, and the positional relationship includes the distance between the current non-target display unit and each target unit, and the relative position of the current non-target display unit within the 10 target display units.
[0075] The proportional relationship is determined based on the distance between the non-target display unit and the 10 target display units, thereby obtaining the second color compensation value of the non-target display unit.
[0076] The present application obtains the second color compensation values of all other non-target display units by fitting the first color compensation values of several known target display units, thereby improving the efficiency of color compensation.
[0077] In some embodiments of the present application, the electronic device also includes a posture sensor, an application processor and a display driver chip, and the display driver chip includes a color compensation circuit; wherein the posture sensor is used to obtain posture information and send the posture information to the application processor, and the posture information is sent to the display driver chip through the application processor.
[0078] Determine the equivalent color coordinates of each target display unit according to the posture information and the viewing angle information to obtain M equivalent color coordinates, including: control the application processor to determine the equivalent color coordinates of each target display unit according to the posture information and the viewing angle information to obtain M equivalent color coordinates.
[0079] Determine the first color compensation value of each target display unit according to each equivalent color coordinate in M equivalent color coordinates, and obtain M first color compensation values, including: control the color compensation circuit, determine the first color compensation value of each target display unit according to each equivalent color coordinate in M equivalent color coordinates, and obtain M first color compensation values.
[0080] In the embodiments of the present application, Figure 6 The schematic diagram of the structure of the electronic device of some embodiments of the present application is shown as follows: Figure 6 As shown, the electronic device includes a posture sensor, and illustratively, the posture sensor includes a level or a gyroscope. The electronic device also includes an application processor (AP) and a display driver chip (DDIC). Among them, a hardware color compensation circuit EBC is provided in the display driver chip DDIC. In some other feasible implementations, the color compensation circuit EBC can also be integrated in the application processor AP, or integrated in other chips.
[0081] When the electronic device is working, the posture sensor obtains the posture information of the current electronic device and detects the user's viewing angle information through the front camera or other sensors. This information is sent to the application processor AP. The application processor AP determines the equivalent color coordinates of the target display unit based on the received posture information and viewing angle information.
[0082] The color compensation circuit EBC can be linked with a linear difference algorithm or a nonlinear difference algorithm. The color compensation circuit can calculate the color compensation values of all other non-target display units through the difference algorithm, thereby performing color compensation on all display units in the first display area.
[0083] Exemplarily, the color compensation circuit EBC can also reserve space for compiling or secondary expansion of other parameters that may affect the color shift effect, such as temperature, dynamic setting of the first display area, the number of positions of the target display unit marked during calculation, the size of a display unit, and other settings or linkages.
[0084] For example, taking the posture sensor as a gyroscope, the gyroscope uploads the coordinates of the display panel, including position and angle information, to the application processor AP, and the application processor AP then passes the above information to the color compensation circuit EBC inside the display driver chip DDIC. The color compensation circuit EBC calculates the first color compensation value of the target display unit based on the actual measurement results in the compensation area set by the developer, that is, the first display area mentioned above, and calculates the second color compensation values of other non-target display units through the difference algorithm, and performs color compensation for R, G, and B separately.
[0085] The solution of the embodiment of the present application is relatively simple to implement and can cover most usage scenarios.
[0086] In some embodiments of the present application, the electronic device also includes a posture sensor, an eye sensor and a display driver chip, and the display driver chip includes a color compensation circuit and a microprocessor; wherein the posture sensor is used to obtain posture information and send the posture information to the microprocessor, and the eye sensor is used to obtain viewing angle information and send the viewing angle information to the microprocessor.
[0087] Determine the equivalent color coordinates of each target display unit according to the posture information and the viewing angle information to obtain M equivalent color coordinates, including: control the microprocessor to determine the equivalent color coordinates of each target display unit according to the posture information and the viewing angle information to obtain M equivalent color coordinates.
[0088] Determine the first color compensation value of each target display unit according to each equivalent color coordinate in M equivalent color coordinates, and obtain M first color compensation values, including: control the color compensation circuit, determine the first color compensation value of each target display unit according to each equivalent color coordinate in M equivalent color coordinates, and obtain M first color compensation values.
[0089] In the embodiments of the present application, Figure 7 The schematic diagram of the structure of the electronic device of some embodiments of the present application is shown as follows: Figure 7As shown, the electronic device includes a posture sensor, and exemplarily, the posture sensor includes a level or a gyroscope. The electronic device also includes an eye sensor, and exemplarily, the eye sensor can be an under-screen infrared sensor, a visual sensor (such as a camera), or an eye tracker. The electronic device also includes a display driver chip (Display Driver Integrated Circuit, DDIC), and the display driver chip DDIC is provided with a hardware color compensation circuit EBC and a microcontroller unit (Microcontroller Unit, MCU).
[0090] When the electronic device is working, the posture sensor obtains the posture information of the current electronic device, and the eye sensor obtains the user's viewing angle information in real time. This information is sent to the microprocessor MCU in the display driver chip DDIC. The microprocessor MCU calculates the equivalent color coordinates of the target display unit based on the received posture information and viewing angle information.
[0091] The color compensation circuit EBC can be linked with a linear difference algorithm or a nonlinear difference algorithm. The color compensation circuit can calculate the color compensation values of all other non-target display units through the difference algorithm, thereby performing color compensation on all display units in the first display area.
[0092] The data processing link in the embodiment of the present application does not need to pass through the application processor AP, the data processing link is shorter, and the processing efficiency can be improved.
[0093] The display control method of the electronic device provided in the embodiment of the present application can be executed by a display control device of the electronic device. In the embodiment of the present application, the display control device of the electronic device executing the display control method of the electronic device is taken as an example to illustrate the display control device of the electronic device provided in the embodiment of the present application.
[0094] In some embodiments of the present application, a display control device of an electronic device is provided, the electronic device includes a display panel, the display panel includes a first display area, the first display area includes N display units, the N display units are evenly distributed in the first display area, wherein the N display units include M target display units and non-target display units other than the M target display units, and N and M are both positive integers.
[0095] Figure 8 The structure block diagram of the display control device of some embodiments of the present application is shown as follows: Figure 8 As shown, the display control device 800 includes:
[0096] An acquisition module 802 is used to acquire the posture information of the electronic device and the viewing angle information of the user, and determine M target display units among the N display units;
[0097] The determination module 804 is used to determine the equivalent color coordinates of each target display unit according to the posture information and the viewing angle information to obtain M equivalent color coordinates; determine the first color compensation value of each target display unit according to each of the M equivalent color coordinates to obtain M first color compensation values; determine the second color compensation value of each non-target display unit according to the M first color compensation values;
[0098] The control module 806 is used to control the display panel to display content based on the first color compensation value and the second color compensation value.
[0099] The present application performs color compensation on the display unit in the first display area where color cast is prone to occur on the display panel by acquiring the posture information of the current electronic device and the viewing angle information of the user who is currently viewing the display panel of the electronic device in real time when the electronic device displays content, and combining the posture information of the electronic device and the viewing angle information of the user. Therefore, no matter what posture or viewing angle the user uses to view the display panel of the electronic device, targeted color compensation can be performed to avoid the problem of color cast at the edge of the screen when the user views the screen at a non-normal viewing angle, thereby improving the display effect of the electronic device.
[0100] In some embodiments of the present application, the determination module is also used to determine a first display area and a second display area within the display area of the display panel based on parameter information of the display panel; wherein the second display area is located at the center of the display panel, the first display area is located on the periphery of the second display area, and M target display units are distributed along the circumference of the second display area.
[0101] The present application divides a first display area that needs color compensation and sets a number of target display units that perform color compensation in advance in the first display area, thereby improving the efficiency of color compensation while ensuring the accuracy and reliability of color compensation.
[0102] In some embodiments of the present application, the acquisition module is further used to acquire color coordinate information of M target display units; wherein the color coordinate information includes the association between the actual color coordinates of each target display unit and the spatial information; the spatial information includes: the distance between each target display unit and the center point of the display panel, the correspondence between each target display unit and the posture information, and the correspondence between each target display unit and the viewing angle information; the orthographic color coordinates of the M target display units are acquired; the determination module is further used to determine the equivalent color coordinates of each target display unit based on the color coordinate information, the orthographic color coordinates and the color deviation trajectory parameters of the second display area.
[0103] The present application sets a target display unit in an area where color compensation is required, and calibrates the color coordinate information of the target display unit, so that when a user uses an electronic device, the electronic device can determine a first color compensation value of the target display unit based on posture information and viewing angle information collected in real time, and obtain a second color compensation value of all display units that require color steps based on the first color compensation value, and perform color compensation on the display content of the display panel, which can improve the display effect of the electronic device.
[0104] In some embodiments of the present application, the acquisition module is further used to obtain the positional relationship between each non-target display unit and the M target display units; wherein the positional relationship includes the distance between a non-target display unit and each target display unit; the determination module is further used to determine the second color compensation value of each non-target display unit based on the difference algorithm, the positional relationship between each non-target display unit and the M target display units, and the M first color compensation values.
[0105] The present application obtains the second color compensation values of all other non-target display units by fitting the first color compensation values of several known target display units, thereby improving the efficiency of color compensation.
[0106] In some embodiments of the present application, the electronic device also includes a posture sensor, an application processor and a display driver chip, and the display driver chip includes a color compensation circuit; wherein the posture sensor is used to obtain posture information and send the posture information to the application processor, and the posture information is sent to the display driver chip through the application processor.
[0107] The control module is also used to control the application processor to determine the equivalent color coordinates of each target display unit according to the posture information and the viewing angle information, and obtain M equivalent color coordinates; and control the color compensation circuit to determine the first color compensation value of each target display unit according to each of the M equivalent color coordinates, and obtain M first color compensation values.
[0108] The solution of the embodiment of the present application is relatively simple to implement and can cover most usage scenarios.
[0109] In some embodiments of the present application, the electronic device further includes a posture sensor, an eye sensor and a display driver chip, and the display driver chip includes a color compensation circuit and a microprocessor; wherein the posture sensor is used to obtain posture information and send the posture information to the microprocessor, and the eye sensor is used to obtain viewing angle information and send the viewing angle information to the microprocessor;
[0110] The control module is also used to control the microprocessor to determine the equivalent color coordinates of each target display unit according to the posture information and the viewing angle information, and obtain M equivalent color coordinates; and control the color compensation circuit to determine the first color compensation value of each target display unit according to each of the M equivalent color coordinates, and obtain M first color compensation values.
[0111] The data processing link in the embodiment of the present application does not need to pass through the application processor AP, the data processing link is shorter, and the processing efficiency can be improved.
[0112] The display control device of the electronic device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0113] The display control device of the electronic device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0114] The display control device of the electronic device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.
[0115] Optionally, an embodiment of the present application further provides an electronic device, Fig. 9 A structural block diagram of an electronic device according to an embodiment of the present application is shown. Fig. 9As shown, the electronic device 900 includes a processor 902, a memory 904, and a program or instruction stored in the memory 904 and executable on the processor 902. When the program or instruction is executed by the processor 902, each process of the above-mentioned method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0116] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0117] Fig.10 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0118] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009 and a processor 1010 and other components.
[0119] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.10 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0120] The sensor 1005 is used to obtain the posture information of the electronic device and the viewing angle information of the user, and determine M target display units among the N display units;
[0121] Processor 1010 is used to determine the equivalent color coordinates of each target display unit according to the posture information and the viewing angle information, and obtain M equivalent color coordinates; determine the first color compensation value of each target display unit according to each of the M equivalent color coordinates, and obtain M first color compensation values; determine the second color compensation value of each non-target display unit according to the M first color compensation values; and control the display panel to display content based on the first color compensation values and the second color compensation values.
[0122] The present application performs color compensation on the display unit in the first display area where color cast is prone to occur on the display panel by acquiring the posture information of the current electronic device and the viewing angle information of the user who is currently viewing the display panel of the electronic device in real time when the electronic device displays content, and combining the posture information of the electronic device and the viewing angle information of the user. Therefore, no matter what posture or viewing angle the user uses to view the display panel of the electronic device, targeted color compensation can be performed to avoid the problem of color cast at the edge of the screen when the user views the screen at a non-normal viewing angle, thereby improving the display effect of the electronic device.
[0123] Optionally, the processor 1010 is also used to determine a first display area and a second display area within the display area of the display panel based on parameter information of the display panel; wherein the second display area is located at the center of the display panel, the first display area is located on the periphery of the second display area, and the target display units are distributed along the circumference of the second display area.
[0124] The present application divides a first display area that needs color compensation and sets a number of target display units that perform color compensation in advance in the first display area, thereby improving the efficiency of color compensation while ensuring the accuracy and reliability of color compensation.
[0125] Optionally, the processor 1010 is further used to obtain color coordinate information of M target display units; wherein the color coordinate information includes the association between the actual color coordinates of each target display unit and the spatial information; the spatial information includes: the distance between each target display unit and the center point of the display panel, the correspondence between each target display unit and the posture information, and the correspondence between each target display unit and the viewing angle information; obtain the orthographic color coordinates of the M target display units; the determination module is further used to determine the equivalent color coordinates of each target display unit based on the color coordinate information, the orthographic color coordinates and the color deviation trajectory parameters of the second display area.
[0126] The present application sets a target display unit in an area where color compensation is required, and calibrates the color coordinate information of the target display unit, so that when a user uses an electronic device, the electronic device can determine a first color compensation value of the target display unit based on posture information and viewing angle information collected in real time, and obtain a second color compensation value of all display units that require color steps based on the first color compensation value, and perform color compensation on the display content of the display panel, which can improve the display effect of the electronic device.
[0127] Optionally, the processor 1010 is further used to obtain the positional relationship between each non-target display unit and the M target display units; wherein the positional relationship includes the distance between a non-target display unit and each target display unit; based on the difference algorithm, the positional relationship between each non-target display unit and the M target display units and the M first color compensation values, the second color compensation value of each non-target display unit is determined respectively.
[0128] The present application obtains the second color compensation values of all other second display units by fitting the first color compensation values of several known target display units, thereby improving the efficiency of color compensation.
[0129] Optionally, processor 1010 is also used to control the application processor to determine the equivalent color coordinates of each target display unit according to posture information and viewing angle information, and obtain M equivalent color coordinates; and control the color compensation circuit to determine the first color compensation value of each target display unit according to each of the M equivalent color coordinates, and obtain M first color compensation values.
[0130] The solution of the embodiment of the present application is relatively simple to implement and can cover most usage scenarios.
[0131] Optionally, processor 1010 is also used to control the microprocessor to determine the equivalent color coordinates of each target display unit according to posture information and viewing angle information, and obtain M equivalent color coordinates; and control the color compensation circuit to determine the first color compensation value of each target display unit according to each of the M equivalent color coordinates, and obtain M first color compensation values.
[0132] The data processing link in the embodiment of the present application does not need to pass through the application processor AP, the data processing link is shorter, and the processing efficiency can be improved.
[0133] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0134] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0135] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.
[0136] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0137] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0138] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0139] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0140] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0141] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0142] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0143] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A display control method for an electronic device, characterized in that: The electronic device includes a display panel, the display panel includes a first display area, the first display area includes N display units, the N display units are evenly distributed in the first display area, wherein the N display units include M target display units and non-target display units other than the M target display units, and N and M are both positive integers; the display control method includes: Acquire the posture information and viewing angle information of the electronic device, and determine M target display units among the N display units; Determine the equivalent color coordinates of each of the target display units according to the posture information and the viewing angle information to obtain M equivalent color coordinates; Determine the first color compensation value of each of the target display units according to each of the M equivalent color coordinates, to obtain M first color compensation values; Determine a second color compensation value for each of the non-target display units according to the M first color compensation values; Based on the first color compensation value and the second color compensation value, the display panel is controlled to display content.
2. The display control method according to claim 1, characterized in that: Before acquiring the posture information and viewing angle information of the electronic device, the display control method further includes: According to the parameter information of the display panel, the first display area and the second display area are determined within the display area of the display panel; wherein the second display area is located at the center of the display panel, the first display area is located on the periphery of the second display area, and the M target display units are distributed along the circumference of the second display area.
3. The display control method according to claim 2, characterized in that: Before acquiring the posture information and viewing angle information of the electronic device, the display control method further includes: Acquire color coordinate information of the M target display units; wherein the color coordinate information includes an association relationship between the actual color coordinates of each target display unit and spatial information; the spatial information includes: a distance between each target display unit and a center point of the display panel, a correspondence relationship between each target display unit and the posture information, and a correspondence relationship between each target display unit and the viewing angle information; Obtaining the orthographic color coordinates of the M target display units; The equivalent color coordinates of each of the target display units are determined according to the color coordinate information, the orthographic color coordinates and the color shift trajectory parameters of the second display area.
4. The display control method according to claim 1, characterized in that: The determining the second color compensation value of each of the non-target display units according to the M first color compensation values respectively includes: Acquire a positional relationship between each of the non-target display units and the M target display units; wherein the positional relationship includes a distance between one of the non-target display units and each of the target display units; Based on a difference algorithm, a positional relationship between each of the non-target display units and the M target display units, and the M first color compensation values, a second color compensation value for each of the non-target display units is determined respectively.
5. The display control method according to claim 1, characterized in that: The electronic device further comprises a posture sensor, an application processor and a display driver chip, wherein the display driver chip comprises a color compensation circuit; wherein the posture sensor is used to obtain the posture information, and send the posture information to the application processor, and the posture information is sent to the display driver chip through the application processor; The step of determining the equivalent color coordinates of each of the target display units according to the posture information and the viewing angle information to obtain M equivalent color coordinates includes: Controlling the application processor to determine the equivalent color coordinates of each of the target display units according to the posture information and the viewing angle information, and obtaining M equivalent color coordinates; The determining the first color compensation value of each of the target display units according to each of the M equivalent color coordinates to obtain the M first color compensation values comprises: The color compensation circuit is controlled to determine the first color compensation value of each target display unit according to each of the M equivalent color coordinates, so as to obtain M first color compensation values.
6. The display control method according to claim 1, characterized in that: The electronic device further comprises a posture sensor, an eye sensor and a display driver chip, wherein the display driver chip comprises a color compensation circuit and a microprocessor; wherein the posture sensor is used to obtain the posture information and send the posture information to the microprocessor, and the eye sensor is used to obtain the viewing angle information and send the viewing angle information to the microprocessor; The step of determining the equivalent color coordinates of each of the target display units according to the posture information and the viewing angle information to obtain M equivalent color coordinates includes: Controlling the microprocessor to determine the equivalent color coordinates of each target display unit according to the posture information and the viewing angle information, and obtaining M equivalent color coordinates; The determining the first color compensation value of each of the target display units according to each of the M equivalent color coordinates to obtain the M first color compensation values comprises: The color compensation circuit is controlled to determine the first color compensation value of each target display unit according to each of the M equivalent color coordinates, so as to obtain M first color compensation values.
7. A display control device for an electronic device, characterized in that: The electronic device includes a display panel, the display panel includes a first display area, the first display area includes N display units, the N display units are evenly distributed in the first display area, wherein the N display units include M target display units and non-target display units other than the M target display units, and N and M are both positive integers; the display control device includes: An acquisition module, used for acquiring posture information and viewing angle information of the electronic device, and determining M target display units among the N display units; A determination module, configured to determine the equivalent color coordinates of each of the target display units according to the posture information and the viewing angle information, and obtain M equivalent color coordinates; determine the first color compensation value of each of the target display units according to each of the M equivalent color coordinates, and obtain M first color compensation values; and determine the second color compensation value of each of the non-target display units according to the M first color compensation values; A control module is used to control the display panel to display content based on the first color compensation value and the second color compensation value.
8. The display control device according to claim 7, characterized in that: The determination module is also used to determine the first display area and the second display area within the display area of the display panel according to the parameter information of the display panel; wherein the second display area is located at the center of the display panel, the first display area is located on the periphery of the second display area, and the M target display units are distributed along the circumference of the second display area.
9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Device and method for photometric compensation of images provided by a display device
CN110958438A
Image quality optimization method, display device and medium
CN113170085A
Calculation method for viewing-angle compensation of display device, viewing-angle compensation structure, and display device
US20190221173A1
Methods for color or luminance compensation based on view location in foldable displays
US20220375428A1
Viewing angle correction device, viewing angle correction method, and viewing angle correction program
WO2013008282A1