Display control method and device for electronic device, electronic device and storage medium
By acquiring posture and viewing angle information in real time and dynamically calculating color compensation values, the color shift problem in the edge area of the AMOLED display at non-normal viewing angles is solved, achieving better display effects.
Patent Information
- Application Number
- CN202411381555.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2044-09-30
AI Technical Summary
When users view the screen at a non-normal viewing angle, the edge areas of the AMOLED display still have color deviation problems, resulting in poor display effects.
By acquiring the posture information and viewing angle information of the electronic device in real time, the equivalent color coordinates of the target display unit are determined, and based on this, the first color compensation value and the second color compensation value are calculated to perform dynamic color compensation on the display panel and compensate the color of the display unit in a targeted manner.
Regardless of the user's posture or viewing angle, color deviation at the edges of the screen can be effectively avoided, improving the display effect.
Smart Images

Figure CN119339665B_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, displays on mobile electronic devices, such as active-matrix organic light-emitting diode (AMOLED) displays, experience color shifts, such as green or purple, when viewing the edges of the display panel due to differences in light paths between the edges and center areas. To mitigate this edge color shift, an edge bending compensation (EBC) function is typically implemented in the display driver integrated circuit (DDIC).
[0003] The EBC function in the related technology only compensates based on the user's viewing angle when looking directly at the screen. However, 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 user will still observe color deviation at the edge of the screen, resulting in poor display effect 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 for 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 within 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 for each target display unit according to each of the M equivalent color coordinates, to 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 for an electronic device, the electronic device including a display panel, the display panel including a first display area, the first display area including N display units, the N display units being evenly distributed within 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, where N and M are both positive integers; the display control device including:
[0012] An acquisition module, configured to acquire posture information and viewing angle information of the electronic device and determine M target display units from N display units;
[0013] a determination module, configured to determine, based on the posture information and the viewing angle information, an equivalent color coordinate of each target display unit to obtain M equivalent color coordinates; determine, based on each of the M equivalent color coordinates, a first color compensation value for each target display unit to obtain M first color compensation values; and determine, based on the M first color compensation values, a second color compensation value for each non-target display unit;
[0014] The control module is configured 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 comprising a processor and a memory, wherein the memory stores programs or instructions that can be run 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, 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 are obtained in real time. The posture information of the electronic device and the viewing angle information of the user are combined to perform color compensation on the display unit in the 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 according to some embodiments of the present application;
[0021] Figure 2 A flowchart illustrating a display control method of an electronic device according to some embodiments of the present application is shown;
[0022] Figure 3 A schematic diagram showing a display area of a display panel according to 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 according to some embodiments of the present application is shown;
[0026] Figure 7 A schematic diagram showing the structure of an electronic device according to some embodiments of the present application is shown;
[0027] Figure 8 A structural block diagram of a display control device according to some embodiments of the present application is shown;
[0028] Figure 9 shows a structural block diagram of an electronic device according to an embodiment of the present application;
[0029] Figure 10 A schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application. DETAILED DESCRIPTION
[0030] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0031] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "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 specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0033] In some embodiments of the present application, a display control method for an electronic device is provided. The electronic device includes a display panel. Figure 1 Schematic diagram showing the display area of the display panel of some embodiments of the present application, such as 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, 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.
[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, electronic devices include, but are not limited to, mobile phones, tablet computers, smart watches, smart bracelets, and other electronic devices. The electronic devices include a display panel, which may be an AMOLED display panel, a sub-millimeter light-emitting diode (Mini-LED) display panel, or the like.
[0037] The display panel includes N display units. Exemplarily, a 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 during the production of the display panel. 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 display units other than the M target display units in the N display units are defined as non-target display units, and the number of non-target display units is (NM).
[0038] When an electronic device displays content, the device's posture information and the user's viewing angle information are acquired in real time. The electronic device's posture information specifically includes the angle between the plane on which the electronic device's display panel resides and the horizontal plane. The user's viewing angle information specifically includes the angle between the line connecting the user's eyes and the object being looked at on the screen and the display panel.
[0039] Step 204 : 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.
[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 compensation). For example, the first display area can be the edge area of the display panel. For example, Figure 1 As shown, the first display area 102 is located at the edge area of the display panel 100 .
[0041] Figure 3 Schematic diagram showing the display area of the display panel of some embodiments of the present application, such as 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 : 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.
[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 consistent with 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 consistent with 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, such as 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, the first display area of the display panel includes N display units, where a larger number of N indicates more accurate color compensation. However, as the number of display units requiring color compensation increases, more compensation work must be performed at the factory, resulting in lower efficiency.
[0048] In order to improve efficiency, the present application predetermines M target display units among all N display units that require color compensation, and calibrates the equivalent color coordinates of these 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 changes in 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 the equivalent viewing angle is determined based on the relative positional relationship between each non-target display unit, the target display unit and the human eye, through 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 linear interpolation, so that dynamic color compensation can be achieved for each display unit without the need for pre-compensation of each display unit.
[0051] Step 210 : Controlling the display panel to display content based on the first color compensation value and the second color compensation value.
[0052] In an embodiment of the present application, after compensating the brightness of the R (red), G (green), and B (blue) sub-pixels in the target display unit by using the first color compensation value, and compensating the brightness of the R, G, and B sub-pixels in the non-target display unit by using the second color compensation value, all pixels on the display panel reflect the correct colors in the human eye.
[0053] The present application obtains the posture information of the current electronic device and the viewing angle information of the user currently viewing the display panel of the electronic device in real time when the electronic device displays content, and combines the posture information of the electronic device and the viewing angle information of the user to perform color compensation on the display unit in the 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.
[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 the area that does not need 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 the 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 other factors.
[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 around 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 circumference 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, and then the second color compensation value of each non-target display unit 1044 is obtained by linear fitting based on the changing trend of the first color compensation values of these target display units 1042, thereby performing color compensation on all display units 104 in the first display area 102.
[0059] The present application divides the 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] 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 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; and 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.
[0062] In an embodiment of the present application, when producing and calibrating a display panel, based on the parameter information of the display panel, a first display area that requires color compensation is determined within the entire display area of the display panel, and a number of target display units are pre-set within 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 user viewing angle information.
[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] Obtaining the color coordinates of the display panel at a normal viewing angle when displaying different colors to obtain the normal viewing color coordinates. The normal viewing color coordinates are specifically the color coordinates of the target display unit in the user's eyes 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 shift trajectory specifically refers to the trajectory of the color coordinates of the second display area at different viewing angles. This trajectory reflects the color of the display panel as viewed by the user at different viewing angles. This color shift trajectory is determined by camera capture during panel parameter calibration. Because the first display area is at the edge of the display panel, there are arc angles at the edge, which can lead to inaccurate colors captured by the camera. Therefore, the second display area in the center is used to capture the color shift trajectory.
[0067] For example, 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. This curve is the curve of the color deviation trajectory described above. 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 the "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] The target display unit in the first display area can be tested and determined during the development of the display panel according to the above process. Then, the other N-display units in the first display area are calculated by the interpolation 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, α, β). Where L is the straight-line distance between the target display unit 1042 and the center point O of the display panel, α is the aforementioned posture information, that is, the angle between the display panel and the horizontal plane, and β is the aforementioned 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 for 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] Obtaining 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 determining a second color compensation value for each non-target display unit based on an interpolation algorithm, the positional relationship between each non-target display unit and the M target display units, and the 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, an interpolation 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] For example, 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. 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] A proportional relationship is determined based on the distance between the non-target display unit and the 10 target display units, thereby obtaining a 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] Determining 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 includes: controlling 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] Determining a first color compensation value for each target display unit according to each equivalent color coordinate of M equivalent color coordinates to obtain M first color compensation values includes: controlling a color compensation circuit to determine the first color compensation value for each target display unit according to each equivalent color coordinate of M equivalent color coordinates to obtain M first color compensation values.
[0080] In the embodiments of this application, Figure 6 Schematic diagrams showing the structure of electronic devices in some embodiments of the present application are shown. Figure 6 As shown, the electronic device includes a posture sensor, exemplarily comprising a spirit level or a gyroscope. The electronic device also includes an application processor (AP) and a display driver integrated circuit (DDIC). The display driver integrated circuit (DDIC) includes a hardware color compensation circuit (EBC). In other feasible implementations, the color compensation circuit (EBC) may also be integrated into the application processor (AP) or into another chip.
[0081] When an 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 interpolation algorithm or a nonlinear interpolation algorithm. The color compensation circuit can calculate the color compensation values of all other non-target display units through the interpolation 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 the compilation or secondary expansion of other parameters that may affect the color deviation effect, such as temperature, dynamic settings 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 within the compensation area set by the developer, that is, the above-mentioned first display area, and calculates the second color compensation value of other non-target display units through an interpolation algorithm, and performs R, G, and B color compensation 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] Determining 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 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 to obtain M equivalent color coordinates.
[0088] Determining a first color compensation value for each target display unit according to each equivalent color coordinate of M equivalent color coordinates to obtain M first color compensation values includes: controlling a color compensation circuit to determine the first color compensation value for each target display unit according to each equivalent color coordinate of M equivalent color coordinates to obtain M first color compensation values.
[0089] In the embodiments of this application, Figure 7 Schematic diagrams showing the structure of electronic devices in some embodiments of the present application are shown. Figure 7As shown, the electronic device includes a posture sensor, which exemplarily includes a spirit level or a gyroscope. The electronic device also includes an eye sensor, which exemplarily may 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 integrated circuit (DDIC), which includes a hardware color compensation circuit (EBC) and a 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 interpolation algorithm or a nonlinear interpolation algorithm. The color compensation circuit can calculate the color compensation values of all other non-target display units through the interpolation 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 an 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 performing 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 configured to acquire posture information of the electronic device and viewing angle information of the user, and determine M target display units from the N display units;
[0097] Determination module 804 is configured to determine the equivalent color coordinates of each target display unit based on the posture information and the viewing angle information to obtain M equivalent color coordinates; determine a first color compensation value for each target display unit based on each of the M equivalent color coordinates to obtain M first color compensation values; and determine a second color compensation value for each non-target display unit based on the M first color compensation values;
[0098] The control module 806 is configured 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 obtains the posture information of the current electronic device and the viewing angle information of the user currently viewing the display panel of the electronic device in real time when the electronic device displays content, and combines the posture information of the electronic device and the viewing angle information of the user to perform color compensation on the display unit in the 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.
[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 the 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 obtain 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; the orthographic color coordinates of the M target display units are obtained; 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 for 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 interpolation 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 based on the posture information and the viewing angle information, thereby obtaining M equivalent color coordinates; and to control the color compensation circuit to determine the first color compensation value of each target display unit based on each of the M equivalent color coordinates, thereby obtaining 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, the display driver chip including 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 based on the posture information and the viewing angle information, thereby obtaining M equivalent color coordinates; and to control the color compensation circuit to determine the first color compensation value of each target display unit based on each of the M equivalent color coordinates, thereby obtaining 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 other devices other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not specifically limit it.
[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. To avoid repetition, they will not be described here.
[0115] Optionally, an embodiment of the present application further provides an electronic device, Figure 9 FIG. 1 shows a structural block diagram of an electronic device according to an embodiment of the present application. Figure 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, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, they 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] Figure 10 A schematic diagram of the hardware structure of an electronic device implementing 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.
[0119] Those skilled in the art will understand that the electronic device 1000 may also include a power supply (such as a battery) to power each component. The power supply can be logically connected to the processor 1010 through a power management system, so that functions such as charging, discharging, and power consumption management can be managed through the power management system. Figure 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 repeated 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 to determine M target display units among the N display units;
[0121] Processor 1010 is configured to determine the equivalent color coordinates of each target display unit based on the posture information and the viewing angle information, thereby obtaining M equivalent color coordinates; determine a first color compensation value for each target display unit based on each of the M equivalent color coordinates, thereby obtaining M first color compensation values; determine a second color compensation value for each non-target display unit based on the M first color compensation values; and control the display content of the display panel based on the first color compensation values and the second color compensation values.
[0122] The present application obtains the posture information of the current electronic device and the viewing angle information of the user currently viewing the display panel of the electronic device in real time when the electronic device displays content, and combines the posture information of the electronic device and the viewing angle information of the user to perform color compensation on the display unit in the 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.
[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 the 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 for 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 interpolation 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, the processor 1010 is also used to control the application processor to determine the equivalent color coordinates of each target display unit based on 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 based on 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, the processor 1010 is also used to control the microprocessor to determine the equivalent color coordinates of each target display unit based on 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 based on 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 embodiments of the present application, the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042. The GPU 10041 processes image data of still images or videos captured by an image capture device (e.g., a camera) in video capture mode or image capture mode. The display unit 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 or at least one of other input devices 10072. The touch panel 10071, also known as a touch screen, may include 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, on / off keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail here.
[0134] Memory 1009 can be used to store software programs and various data. Memory 1009 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). Furthermore, memory 1009 may include volatile memory or non-volatile memory, or both. Non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or 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] Processor 1010 may include one or more processing units. Optionally, processor 1010 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into 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), 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, 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 variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted 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 the opposite 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 the necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this 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. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or 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 this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this 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, 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: Acquire 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, and obtain M equivalent color coordinates; Determine a first color compensation value for each of the target display units according to each of the M equivalent color coordinates, to obtain M first color compensation values; determining 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, wherein: 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, wherein: Before acquiring the posture information and viewing angle information of the electronic device, the display control method further includes: Obtaining color coordinate information of the M target display units; wherein the color coordinate information includes an association 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 between each target display unit and the posture information, and a correspondence 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 target display unit 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, wherein: Determining the second color compensation value of each of the non-target display units according to the M first color compensation values 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 an interpolation 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.
5. The display control method according to claim 1, wherein: The electronic device further includes a posture sensor, an application processor, and a display driver chip, wherein the display driver chip includes 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 target display unit 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, to obtain M equivalent color coordinates; The determining the first color compensation value of each target display unit according to each of the M equivalent color coordinates to obtain the M first color compensation values includes: The color compensation circuit is controlled to determine a first color compensation value of each target display unit according to each of the M equivalent color coordinates, thereby obtaining M first color compensation values.
6. The display control method according to claim 1, wherein: The electronic device further includes a posture sensor, an eye sensor, and a display driver chip, wherein the display driver chip includes 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 target display unit 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 target display unit according to each of the M equivalent color coordinates to obtain the M first color compensation values includes: The color compensation circuit is controlled to determine a first color compensation value of each target display unit according to each of the M equivalent color coordinates, thereby obtaining 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, 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: an acquisition module, configured to acquire posture information and viewing angle information of the electronic device, and determine M target display units among the N display units; a determination module, configured to determine, based on the posture information and the viewing angle information, an equivalent color coordinate of each of the target display units, to obtain M equivalent color coordinates; determine, based on each of the M equivalent color coordinates, a first color compensation value for each of the target display units, to obtain M first color compensation values; and determine, based on the M first color compensation values, a second color compensation value for each of the non-target display units; A control module is configured 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, wherein: The determination module is further used to determine the first display area and the second display area within the display area of the display panel based on 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 instruction, and when the program or 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