Control Method, Device, Electronic Device and Storage Medium of Display Screen
By compensating the display data of the display area of the under-screen camera device, target display data is generated to meet the brightness conditions, the problem of inconsistent display effects of the display area of the under-screen camera device and other areas is solved, and the overall visual effect consistency of the display screen is improved.
Patent Information
- Application Number
- CN202111273616.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-29
- Publication Date
- 2025-07-08
- Estimated Expiration
- 2041-10-29
AI Technical Summary
There is a difference in the display effect of the corresponding display area of the under-screen camera device and other display areas, which affects the consistency of the overall display effect of the electronic device display screen.
By acquiring the display data of the display area corresponding to the under-screen camera device, compensating processing is performed to generate target display data so that its brightness information meets the brightness conditions, so that it is consistent with other display areas in visual effects.
It enhances the consistency of visual effects in different display areas of the display screen and optimizes the overall display visual effects of electronic devices.
Smart Images

Figure CN116072063B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of electronic devices, and particularly to a control method, device, electronic device and storage medium for a display screen. Background Art
[0002] The display effect of an electronic device is an important indicator that manufacturers and users are very concerned about, and manufacturers are constantly optimizing the display effect. With the popularization of the full-screen concept, it has gradually become a trend to achieve full-screen display by using the Camera Under Panel (CUP) display technology.
[0003] In related technologies, there are differences in the display effects between the display area corresponding to the under-screen camera device and other display areas, resulting in poor consistency in the visual display effect of the display screen and affecting the overall display effect of the electronic device display screen. Summary of the Invention
[0004] The present disclosure aims to solve at least one of the technical problems in the related technologies to some extent.
[0005] To this end, the object of the present disclosure is to provide a control method, device, electronic device and storage medium for a display screen, which can pre-compensate the display data of the display area corresponding to the under-screen camera device to assist in enhancing the consistency of different display areas of the display screen in visual effect, and thus effectively optimize the overall display visual effect of the electronic device.
[0006] To achieve the above object, the control method for a display screen proposed in the first aspect embodiment of the present disclosure includes: obtaining first display data, where the first display data is the data to be correspondingly displayed in the first display area; performing compensation processing on the first display data to obtain target display data; and displaying the target display data in the first display area, where the first brightness information when the target display data is displayed in the first display area satisfies the brightness condition.
[0007] The control method for a display screen proposed in the first aspect embodiment of the present disclosure obtains first display data, where the first display data is the data to be correspondingly displayed in the first display area, then performs compensation processing on the first display data to obtain target display data, and then displays the target display data in the first display area, where the first brightness information when the target display data is displayed in the first display area satisfies the brightness condition. Since the first display data is pre-compensated, the brightness information of the first display area meets the brightness requirement, so that the display data of the display area corresponding to the under-screen camera device can be pre-compensated to assist in enhancing the consistency of different display areas of the display screen in visual effect, and thus effectively optimize the overall display visual effect of the electronic device.
[0008] To achieve the above object, the control device of the display screen according to the second aspect of the present disclosure includes: an acquisition module configured to acquire first display data, where the first display data is data to be correspondingly displayed in a first display area; a first processing module configured to perform compensation processing on the first display data to obtain target display data; and a display module configured to display the target display data in the first display area, where a first brightness information when the target display data is displayed in the first display area satisfies a brightness condition.
[0009] The control device of the display screen according to the second aspect of the present disclosure acquires first display data, where the first display data is data to be correspondingly displayed in a first display area, then performs compensation processing on the first display data to obtain target display data, and then displays the target display data in the first display area. Among them, the first brightness information when the target display data is displayed in the first display area satisfies the brightness condition. Since the first display data is compensated in advance, the brightness information of the first display area meets the brightness requirement, so that the display data of the display area corresponding to the under-screen camera device can be compensated in advance to assist in enhancing the visual consistency of different display areas of the display screen, and thus effectively optimize the overall display visual effect of the electronic device.
[0010] According to a third aspect of the present disclosure, there is provided an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the control method of the display screen according to the first aspect of the present disclosure.
[0011] According to a fourth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the control method of the display screen according to the first aspect of the present disclosure.
[0012] According to a fifth aspect of the present disclosure, there is provided a computer program product including a computer program, where the computer program realizes the control method of the display screen according to the first aspect of the present disclosure when executed by a processor.
[0013] Additional aspects and advantages of the present disclosure will be given in part in the following description, become apparent in part from the following description, or be learned through the practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The above and / or additional aspects and advantages of the present disclosure will become apparent and easy to understand from the following description of the embodiments in conjunction with the drawings, where:
[0015] Figure 1It is a schematic flowchart of a method for controlling a display screen according to an embodiment of the present disclosure;
[0016] Figure 2 It is a schematic diagram of a display area according to an embodiment of the present disclosure;
[0017] Figure 3 It is a schematic flowchart of a method for controlling a display screen according to another embodiment of the present disclosure;
[0018] Figure 4 It is a schematic flowchart of a process for processing data to be displayed according to another embodiment of the present disclosure;
[0019] Figure 5 It is a schematic flowchart of a method for controlling a display screen according to another embodiment of the present disclosure
[0020] Figure 6 It is a flowchart for calculating a brightness compensation coefficient according to another embodiment of the present disclosure;
[0021] Figure 7 It is a schematic diagram showing the change of the brightness difference between different display areas with the gray scale value according to another embodiment of the present disclosure;
[0022] Figure 8 It is a schematic flowchart for calculating target display data according to another embodiment of the present disclosure;
[0023] Figure 9 It is a schematic flowchart of a method for controlling a display screen according to another embodiment of the present disclosure;
[0024] Figure 10 It is a schematic diagram of a brightness compensation coefficient according to another embodiment of the present disclosure;
[0025] Figure 11 It is a schematic diagram showing the change of the brightness difference between the compensated display areas with the gray scale level according to another embodiment of the present disclosure;
[0026] Figure 12 It is a schematic structural diagram of a control device for a display screen according to an embodiment of the present disclosure;
[0027] Figure 13 It is a schematic structural diagram of a control device for a display screen according to another embodiment of the present disclosure;
[0028] Figure 14 It shows a block diagram of an exemplary electronic device suitable for implementing the embodiments of the present disclosure. Detailed implementation manners
[0029] Embodiments of the present disclosure will be described in detail below. Examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the accompanying drawings are exemplary and are only used to explain the present disclosure, and should not be construed as a limitation to the present disclosure. On the contrary, the embodiments of the present disclosure include all changes, modifications, and equivalents that fall within the spirit and scope of the appended claims.
[0030] Figure 1 It is a schematic flowchart of a control method for a display screen proposed in an embodiment of the present disclosure.
[0031] It should be noted that the execution subject of the control method for the display screen in this embodiment is a control device of the display screen. The device can be implemented in software and / or hardware, and the device can be configured in an electronic device, which can include but is not limited to a terminal, a server, etc.
[0032] As Figure 1 shown, the control method for the display screen includes:
[0033] S101: Obtain first display data, where the first display data is data to be correspondingly displayed in a first display area.
[0034] The display screen of the electronic device can be an Organic Light-Emitting Diode (OLED) display screen. The local display area corresponding to the under-screen camera device in the display screen of the electronic device can be referred to as the first display area. The display screen can specifically be the display screen of a smartphone, a smart TV with a camera module, a smart watch, etc. Corresponding to the first display area, the other display areas in the display screen except the first display area can be referred to as the second display area. As Figure 2 shown, Figure 2 It is a schematic diagram of a display area proposed in an embodiment of the present disclosure. The first display area can be the display area corresponding to the under-screen camera device in the electronic device, or the under-screen fingerprint recognition module display area, the under-screen physical button display area, etc., and there is no limitation thereto.
[0035] The data to be displayed in the first display area can be referred to as the first display data, and the first display data can be data containing display information such as color and saturation in the first display area.
[0036] When obtaining the first display data in the embodiments of the present disclosure, it may be to obtain a display image to be displayed in the overall display area in the background of the electronic device, disassemble the image data to be displayed in the first display area from the display image, and use the image data as the first display data. Alternatively, any other possible method may be used to obtain the first display data, and this is not limited.
[0037] S102: Perform compensation processing on the first display data to obtain target display data.
[0038] In the embodiments of the present disclosure, the display brightness requirement for the display screen may be referred to (the display brightness requirement may be determined by analyzing the configured display brightness value for the display screen, and this is not limited). The first display data is compensated according to the display brightness requirement, and the compensated display data is used as the target display data. That is to say, when the compensated target display data is correspondingly displayed in the first display area, the brightness situation when the first display area displays the target display data can meet the above-mentioned display brightness requirement.
[0039] When compensating the first display data in the embodiments of the present disclosure, it may be to use digital image processing technology to compensate the first display data according to the image information such as color and contrast of the display images in the first display area and the second display area, and compensate the image information in the first display area to make it have the same visual effect as the image information in the second display area, so as to obtain the target display data.
[0040] When compensating the first display data in the embodiments of the present disclosure, it may also be to use an image acquisition tool such as an optical sensor to obtain the information of the display image, compare the image information of the first display area and the second display area to obtain the difference information between the first display area and the second display area, monitor the difference information, and then compensate the first display data by means of a digital model or manual debugging until the difference information meets the image effect requirement, and use the compensated first display data as the target display data.
[0041] S103: Display the target display data in the first display area, where the first brightness information when the first display area displays the target display data meets the brightness condition.
[0042] Among them, the brightness information correspondingly displayed when the target display data is displayed in the first display area may be referred to as the first brightness information. The first brightness information may specifically be the brightness value, saturation, color, etc. when the target display data is displayed in the first display area, and this is not limited.
[0043] In the embodiments of the present disclosure, after compensating the first display data to obtain the target display data, the target display data can be displayed in the first display area. When the target display data is displayed in the first display area, the brightness information of the second display area can be obtained, and the first brightness information of the first display area can be adjusted so that the first brightness information meets the preset brightness condition. The brightness condition can be, for example, that when the target display data is displayed in the first display area, the brightness value difference from when the corresponding display data is displayed in the second display area is less than a preset brightness value or percentage, etc., and there is no limitation on this.
[0044] In this embodiment, by obtaining the first display data, which is the data to be correspondingly displayed in the first display area, and then compensating the first display data to obtain the target display data, and then displaying the target display data in the first display area. Among them, the first brightness information when the target display data is displayed in the first display area meets the brightness condition. Since the first display data is compensated in advance, the brightness information of the first display area meets the brightness requirement, so that the display data of the display area corresponding to the under-screen camera device can be compensated in advance to assist in enhancing the visual consistency of different display areas of the display screen, and then effectively optimize the overall display visual effect of the electronic device.
[0045] Figure 3 It is a schematic flowchart of a control method for a display screen proposed in another embodiment of the present disclosure.
[0046] Such as Figure 3 shown, the control method of the display screen includes:
[0047] S301: Obtain the data to be displayed, which is the data to be correspondingly displayed in the overall display area.
[0048] Among them, the data to be displayed can be video frame data, image data, text data, etc. to be displayed in the overall display area of the display screen, and there is no limitation on this.
[0049] In the embodiments of the present disclosure, when obtaining the data to be displayed, it can be the data to be displayed that is captured by the background server corresponding to the electronic device (for example, read from a database, received from other electronic devices, etc.) and is about to be transmitted to the display screen.
[0050] After obtaining the data to be displayed corresponding to the overall display area as described above, the corresponding data splitting can be performed on the data to be displayed to determine the first display data and the second display data.
[0051] S302: Analyze the data to be displayed to obtain the first display data and the second display data, where the second display data is the data to be correspondingly displayed in the second display area.
[0052] In the embodiments of the present disclosure, the first display data and the second display data may have the same or different encoding methods. When parsing the data to be displayed, the overall coordinates of the display screen can be determined, and the local coordinates corresponding to the first display area and the second display area in the overall coordinates can be determined respectively. According to the local coordinates, the data to be displayed can be disassembled accordingly to obtain the first display data and the second display data. Alternatively, the overall size data of the display screen and the local size data of the first display area corresponding to the under-screen camera device can also be used to divide the data to be displayed to obtain the first display data and the second display data, and there is no limitation on this.
[0053] S303: Perform compensation processing on the first display data to obtain the target display data.
[0054] For the description of S303, reference can be specifically made to the above embodiments, and details will not be repeated here.
[0055] In the embodiments of the present disclosure, the method of processing and displaying the data to be displayed can be as Figure 4 shown. Figure 4 FIG. 14 is a schematic diagram of the processing flow of the data to be displayed proposed in another embodiment of the present disclosure. Among them, the electronic device can obtain the data to be displayed from the wireless access point and transmit it to the driving integrated circuit of the display screen through the data interface. The driving integrated circuit parses the data to be displayed to obtain the first display data and the second display data, and performs optical compensation processing on the first display data accordingly to obtain the target display data, and then projects the target display data onto the first display area and projects the second display data onto the second display area to complete the display processing of the data to be displayed on the entire display screen. For details, reference can be made to the following embodiments.
[0056] S304: Display the target display data in the first display area and display the second display data in the second display area, where the brightness difference between the first brightness information and the second brightness information is less than the difference threshold, and the second brightness information is the brightness information when the second display data is displayed in the second display area.
[0057] Among them, the brightness and other information of the image included in the second display data displayed in the second display area can be referred to as the second brightness information. The second brightness information can specifically be the brightness value, saturation, color, etc. displayed correspondingly when the second display data is displayed in the second display area, and there is no limitation on this.
[0058] In the embodiments of the present disclosure, the threshold of the brightness difference between the first brightness information and the second brightness information can be preset. The threshold of the brightness difference can be referred to as the difference threshold. The difference threshold of the brightness difference can be the threshold value of the brightness difference that enables the first display area and the second display area to meet the visual effect display consistency.
[0059] Therefore, in the process of actual display control processing in the present disclosure embodiments, corresponding compensation data can be performed on the first display data according to the difference threshold, so that the first brightness information when the first display area displays the target display data after display compensation processing and the second brightness information when the second display area displays the second display data can have a brightness difference less than the difference threshold.
[0060] In the present disclosure embodiments, a difference threshold between the first brightness information and the second brightness information is preset in advance. After compensating the first display data, target display data that meets the difference threshold can be obtained, and then the target display data can be triggered to be displayed in the first display area, and the second display data can be displayed in the second display area.
[0061] For example, in an application scenario where the display screen is an Organic Light-Emitting Diode (OLED) panel, the preset difference threshold of the brightness difference is 5 nits. When the second brightness information of the second display area is measured to be 485 nits, the first brightness information of the first display area is 475 nits to 480 nits. At this time, it is determined that the first brightness information and the second brightness information do not meet the difference threshold of the brightness difference. After performing the compensation processing on the first display data in advance in the present disclosure embodiments to obtain the target display data, the brightness difference between the first brightness information when the target display data is displayed in the first display area and the second brightness information when the second display data is displayed in the second display area can be less than 5 nits, thus meeting the brightness display requirements of the display screen and making the visual display effect of the display screen meet the consistency.
[0062] In this embodiment, by obtaining the data to be displayed, which is the data to be correspondingly displayed in the overall display area, parsing the data to be displayed to obtain the first display data and the second display data, where the second display data is the data to be correspondingly displayed in the second display area, performing compensation processing on the first display data to obtain the target display data, displaying the target display data in the first display area, and displaying the second display data in the second display area. Among them, the brightness difference between the first brightness information and the second brightness information is less than the difference threshold, and the second brightness information is the brightness information when the second display data is displayed in the second display area. Since the data to be displayed is obtained and the first display data and the second display data are parsed, it can effectively assist in pre-compensating the first display data to be displayed in the first display area, and can timely ensure the consistency of the subsequent display visual effect of the display screen, facilitating the debugging and compensation of the brightness difference when displaying the corresponding display data in different display areas. Since the brightness difference between the first brightness information when the target display data is displayed in the first display area and the second brightness information when the second display data is displayed in the second display area is compared with the difference threshold, that is, the dimension of the brightness difference between different display areas is used to assist in measuring the pre-compensation processing effect of the first display data, it can effectively ensure that the pre-compensation processing method effectively meets the requirements of visual effect display consistency, can reasonably and effectively reduce the difference in the image display brightness dimension between the first display area and the second display area, optimize the overall display effect of the display screen, and improve the consistency of the overall visual display effect.
[0063] Figure 5 It is a schematic flowchart of the control method of the display screen proposed in another embodiment of the present disclosure.
[0064] As Figure 5 shown, the control method of the display screen includes:
[0065] S501: Obtain the first display data, where the first display data is the data to be correspondingly displayed in the first display area.
[0066] For the description of S501, reference can be specifically made to the above embodiment, which will not be elaborated here.
[0067] S502: Determine the brightness compensation coefficient.
[0068] Among them, the brightness compensation coefficient can be pre-calibrated and can be used as a reference when compensating the first display data.
[0069] In the embodiments of the present disclosure, the current brightness information of the first display area and the second display area can be detected respectively, and the brightness compensation coefficient can be determined from a plurality of pre-calibrated candidate compensation coefficients according to the brightness difference between the current brightness information of the first display area and the current brightness information of the second display area. Alternatively, any other possible method can be used to determine the brightness compensation coefficient, which is not limited herein.
[0070] Optionally, when determining the brightness compensation coefficient in the embodiments of the present disclosure, multiple gray scale values corresponding to the first display area can be determined, multiple gray scale levels to which the multiple gray scale values belong can be determined, and multiple brightness compensation coefficients corresponding to the multiple gray scale levels can be determined according to a preset relationship. The brightness compensation coefficient is used to perform brightness compensation on the display sub-areas corresponding to the corresponding gray scale values. The display sub-areas are local areas in the first display area. Since the distribution of the gray scale values in the first display area is referred to for assisting in determining the brightness compensation coefficient, the determined brightness compensation coefficient can be more accurate and more in line with the actual compensation scenario requirements. When the first display data is compensated with the brightness compensation coefficient determined according to the distribution of the gray scale values in the first display area, the visual display effect consistency of different display areas can be effectively guaranteed when the first display area displays the target display data after display compensation.
[0071] Among them, the gray scale change information between white and black in the first display area is pre-divided into several parts, and a value is set for each part (that is, quantization processing is performed on each part of the gray scale change information), and this value can be called a gray scale value.
[0072] For example, the gray scale values between pure white and pure black in the first display area can be set to 255 and 0 respectively, and the remaining gray scales are set with gray scale values according to the situation from white to black. At the same time, multiple adjacent gray scale values can be combined into the same gray scale level to represent the gray scale change in the first display area.
[0073] In the embodiments of the present disclosure, as Figure 6 shown, Figure 6 is a flowchart for calculating the brightness compensation coefficient proposed in another embodiment of the present disclosure. According to the gray scale values pre-set for the first display area, the first brightness information and the second brightness information in the case of the same gray scale value are compared to generate a brightness difference, and the brightness compensation coefficient is calculated from the brightness difference. Due to the differences in panel design and manufacturing processes between the first brightness area and the second brightness area, there may be a brightness difference between the first display area and the second display area in the case of the same gray scale value. For example, the overall brightness of the first display area is lower than that of the second display area. In order to eliminate the influence of this brightness difference on the display effect of the overall display screen, the brightness compensation coefficient can be set to compensate the brightness of different display areas in the case of the same gray scale value.
[0074] S503: Determine the initial compensation luminance value corresponding to the first display data.
[0075] In the embodiments of the present disclosure, when the display screen displays pure white or pure black, the luminance of the first display area and the second display area are respectively statistically analyzed, and the first display data is compensated according to the statistical results until the luminance of the first display area and the second display area meets the conditions. The compensated luminance value can be referred to as the initial compensation luminance value.
[0076] In the embodiments of the present disclosure, when determining the initial compensation luminance value, it can be determined according to the luminance difference between the first display data and the second display data under the same gray scale value, or the initial compensation luminance value corresponding to the first display data can be obtained through mathematical calculation based on the materials, processes, etc. of the first display area and the second display area, and there is no limitation thereto.
[0077] S504: Process the first display data according to the luminance compensation coefficient and the initial compensation luminance value to obtain the target display data.
[0078] In the embodiments of the present disclosure, the luminance difference between different display areas changes with the change of the gray scale value. For example, as Figure 7 shown, Figure 7 is a schematic diagram of the change of the luminance difference between different display areas with the change of the gray scale value proposed in another embodiment of the present disclosure. Due to the increase of the gray scale value, the luminance difference is inversely proportional to the change of the gray scale value. The gray scale level and the corresponding luminance compensation coefficient are preset, and then the first display data to be displayed in the first display area is compensated according to the preset relationship.
[0079] In the embodiments of the present disclosure, the first display data in the first display area can be compensated by the luminance compensation coefficient and the initial compensation luminance value, so that the visual effect of the display luminance of the compensated target display data in the first display area is consistent with the visual effect of the display luminance of the second display area.
[0080] Optionally, the brightness compensation coefficient and the initial compensation brightness value can be multiplied to obtain the target compensation brightness value; the brightness of the first display data is compensated according to the target compensation brightness value to obtain the target display data. Since the calculation is performed on the brightness compensation coefficient and the initial compensation brightness value, and the brightness of the first display data is compensated according to the calculation result, the difference between the brightness value of the first display data and the brightness value of the second display data under the same gray scale level is reduced. At the same time, the brightness compensation coefficient can calculate the brightness difference of different gray scale levels to obtain the compensated brightness value under different gray scale levels, so that the compensation processing logic for the first display data can effectively adapt to the personalized compensation requirements of different gray scale levels in the first display area, making the compensation processing logic more targeted and effectively improving the compensation processing effect.
[0081] In the embodiments of the present disclosure, as Figure 8 shown, Figure 8 FIG. is a schematic diagram of the target display data calculation process proposed in another embodiment of the present disclosure. In the optical compensation link, optical compensation is performed on the first display area to obtain the target display data. The calculation formula of the target display data can be "target display data = first display data + initial compensation brightness value × brightness compensation coefficient", which can effectively reduce the visual brightness difference caused by reasons such as panel design and manufacturing process, and effectively improve the convenience and applicability of the compensation process, improve the timeliness of the compensation process, avoid introducing display delay into the display process of the display screen by the compensation process, and ensure the coherence of the display.
[0082] S505: Display the target display data in the first display area, where the first brightness information when the target display data is displayed in the first display area satisfies the brightness condition.
[0083] For the description of S505, reference can be specifically made to the above embodiments and will not be elaborated here.
[0084] In this embodiment, by obtaining first display data, which is data to be correspondingly displayed in a first display area, determining a brightness compensation coefficient, determining an initial compensation brightness value corresponding to the first display data, processing the first display data according to the brightness compensation coefficient and the initial compensation brightness value to obtain target display data, and displaying the target display data in the first display area, wherein the first brightness information when the first display area displays the target display data meets the brightness condition. Since the calculation of the brightness compensation coefficient and the initial compensation brightness value is performed, and the brightness of the first display data is compensated according to the calculation result, the difference between the brightness value of the first display data and the brightness value of the second display data under the condition of the same gray scale level is reduced. At the same time, the brightness compensation coefficient can calculate the brightness difference of different gray scale levels to obtain the compensated brightness values under different gray scale level conditions, so that the compensation processing logic for the first display data can effectively adapt to the personalized compensation requirements of different gray scale levels in the first display area, making the compensation processing logic more targeted and effectively improving the compensation processing effect. Since the gray scale value distribution of the first display area is referred to for assisting in determining the brightness compensation coefficient, the determined brightness compensation coefficient can be more accurate and more in line with the actual compensation scenario requirements. When the first display data is compensated with the brightness compensation coefficient determined by referring to the gray scale value distribution of the first display area, it can effectively ensure the consistency of the visual display effects of different display areas when the first display area displays the compensated target display data. It can effectively reduce the visual brightness difference caused by reasons such as panel design and manufacturing process, while effectively improving the convenience and applicability of the compensation processing, enhancing the timeliness of the compensation processing, avoiding the introduction of display delay into the display processing flow of the display screen by the compensation processing flow, and ensuring the coherence of the display.
[0085] Figure 9 It is a schematic flowchart of a control method for a display screen proposed in another embodiment of the present disclosure.
[0086] As Figure 9 shown, the control method for the display screen includes:
[0087] S901: Perform sampling processing on the display screen of the display screen to obtain a sampled image.
[0088] Among them, the display screen can be an overall displayed image screen on the display screen, or it can also be a display screen in the sampled area of the display screen. The sampled area can be a pre-labeled area for sampling to obtain a sampled image, and there is no limitation on this.
[0089] When performing sampling processing on the display screen of the present disclosure embodiment, sampling areas can be selected in the display screen according to a certain sampling rule to generate a sampling image, or a part of the image displayed on the display screen can be randomly selected as the sampling image, and there is no limitation in this regard.
[0090] S902: According to the sampling image, determine a plurality of sampling brightness values and a plurality of sampling gray-scale values respectively corresponding to a plurality of pixel points of the display screen.
[0091] Among them, when selecting a plurality of pixel points of the sampling image, the brightness value and gray-scale value of the pixel points can be referred to as the sampling brightness value and sampling gray-scale value. For each of the plurality of pixel points collected during the sampling process, there can be a corresponding sampling brightness value and sampling gray-scale value, so as to obtain a plurality of sampling brightness values and a plurality of sampling gray-scale values respectively corresponding to a plurality of pixel points of the display screen.
[0092] In the present disclosure embodiment, when selecting a plurality of pixel points of the display screen, a certain proportion can be used to select a plurality of pixel points of the sampling image corresponding to the first display area and a plurality of pixel points of the sampling image corresponding to the second display area. After determining the pixel point positions, an image recognition tool or an image recognition algorithm can be used to measure a plurality of sampling brightness values and a plurality of sampling gray-scale values respectively corresponding to the plurality of pixel points.
[0093] S903: According to the plurality of sampling brightness values, determine the brightness difference information between the first display area and the second display area when the display screen displays the sampling image.
[0094] Among them, the data information used to represent the brightness difference between the first display area and the second display area in the sampling image can be referred to as the brightness difference information.
[0095] In the present disclosure embodiment, when determining the brightness difference information, it can be determined based on the plurality of sampling brightness values corresponding to the plurality of pixel points in different areas of the sampling image. The sampling brightness values of the plurality of pixel points with the same gray-scale value in different areas are compared to generate the brightness difference information of different display areas under the same gray-scale value.
[0096] S904: Perform level division on the plurality of sampling gray-scale values to obtain a plurality of gray-scale levels, and the plurality of gray-scale levels correspond to some of the sampling gray-scale values.
[0097] In the present disclosure embodiment, when dividing the plurality of gray-scale levels, the gray-scale values can be evenly divided into a plurality of gray-scale levels according to the magnitude distribution of the plurality of sampling gray-scale values, or the gray-scale values can be divided into a plurality of areas according to the actual display situation. There is no limitation on the number of gray-scale levels and the division of the gray-scale levels.
[0098] For example, according to the needs of the actual display effect, the gray scale values can be divided into five levels: "0 - 16", "16 - 32", "32 - 64", "64 - 128", and "128 - 255".
[0099] S905: Generate a plurality of brightness compensation coefficients respectively corresponding to a plurality of gray scale levels according to the brightness difference information.
[0100] In the embodiments of the present disclosure, as Figure 10 shown, Figure 10 is a schematic diagram of the brightness compensation coefficient proposed in another embodiment of the present disclosure. Since the brightness difference information between the first display area and the second display area is smaller in the case of high gray scale values and larger in the case of low gray scale values, the division of the gray scale levels has a large span in high gray scales and a small span in low gray scales. According to the differences in the brightness difference information at different gray scale levels, a plurality of brightness compensation coefficients respectively corresponding to a plurality of gray scale levels are determined.
[0101] S906: Generate a preset relationship according to a plurality of gray scale levels and a plurality of brightness compensation coefficients.
[0102] Among them, the relationship between the preset gray scale levels and the brightness compensation coefficients can be referred to as a preset relationship. According to the gray scale levels and the preset relationship, the brightness compensation coefficient at this gray scale level can be calculated.
[0103] In the embodiments of the present disclosure, a preset relationship between the gray scale levels and the brightness compensation coefficients can be generated according to the changes of a plurality of gray scale levels and a plurality of brightness compensation coefficients. For example, when the gray scale value increases, the brightness compensation coefficient decreases correspondingly. Mathematical formulas or models can also be used to describe the gray scale levels and a plurality of brightness compensation coefficients to generate a preset relationship, which is not limited herein.
[0104] S907: Obtain first display data, which is the data to be correspondingly displayed in the first display area.
[0105] For the description of S907, please refer to the above embodiments for details and will not be elaborated here.
[0106] S908: Determine the display sub - data to be displayed in the display sub - area.
[0107] Among them, the first display area can be divided to generate a plurality of sub - areas, which can be referred to as display sub - areas. The data to be displayed in the display sub - area can be referred to as display sub - data. The display sub - data can be part of the first display data. That is to say, according to the relative size relationship and relative spatial position relationship between each display sub - area and the first display area, the first display data can be correspondingly pixel - divided to obtain the display sub - data to be displayed in the display sub - area.
[0108] In the embodiments of the present disclosure, when dividing the first display area to obtain display sub-areas, the first display area can be evenly divided into multiple sub-areas, or the first display area can be divided according to actual display needs, and the first display data to be displayed in the first display area is divided into display sub-data corresponding to each display sub-area to obtain multiple display sub-data.
[0109] S909: Perform compensation processing on the display sub-data according to the brightness compensation coefficient corresponding to the display sub-area to obtain target display sub-data.
[0110] Among them, the display sub-data after optical compensation of the first display area can be referred to as target display sub-data.
[0111] In the embodiments of the present disclosure, the corresponding brightness compensation coefficient is determined according to the gray level of the pixel points in the display sub-area, and then the target display sub-data is generated according to the brightness compensation coefficient, the initial compensation brightness value corresponding to the display sub-area, and the display sub-data.
[0112] S910: Synthesize the multiple target display sub-data to obtain target display data.
[0113] In the embodiments of the present disclosure, the multiple target display sub-data are synthesized according to the division of the corresponding display sub-areas to generate the target display data corresponding to the first display area.
[0114] In the embodiments of the present disclosure, as Figure 11 shown, Figure 11 is a schematic diagram showing the change of the brightness difference of the compensated display area with the gray level in another embodiment of the present disclosure. In all gray level pictures with the brightness difference between the first display area and the second display area in the gray level value range of 0 to 255, the compensated brightness difference is relatively reduced and tends to be stable, improving the overall visual effect of the display screen.
[0115] S911: Display the target display data in the first display area, where the first brightness information when the first display area displays the target display data satisfies the brightness condition.
[0116] For the description of S911, specific reference can be made to the above embodiments, which will not be elaborated here.
[0117] In this embodiment, the display screen's display image is sampled to obtain a sampled image. Based on the sampled image, multiple sampled brightness values and multiple sampled gray-scale values corresponding to multiple pixel points of the display screen are determined. According to the multiple sampled brightness values, the brightness difference information between the first display area and the second display area when the display screen shows the sampled image is determined. The multiple sampled gray-scale values are classified into levels to obtain multiple gray-scale levels, and the multiple gray-scale levels correspond to some of the sampled gray-scale values. According to the brightness difference information, multiple brightness compensation coefficients corresponding to the multiple gray-scale levels are generated. Based on the multiple gray-scale levels and the multiple brightness compensation coefficients, a preset relationship is generated. Then, first display data is obtained. The first display data is the data to be correspondingly displayed in the first display area. After that, the display sub-data to be displayed in the display sub-area is determined. According to the brightness compensation coefficient corresponding to the display sub-area, the display sub-data is compensated to obtain the target display sub-data. According to the multiple target display sub-data, the target display data is synthesized, and the target display data is displayed in the first display area. Among them, the first brightness information when the target display data is displayed in the first display area meets the brightness condition. Since the display screen's display image is sampled to generate a sampled image, and the corresponding brightness difference information and gray-scale levels are determined based on the sampled image, the accuracy of determining the brightness difference information and gray-scale levels of the display screen is improved. At the same time, the brightness compensation coefficient is made more objective, and the accuracy of the brightness compensation coefficient in different gray-scale levels is improved. Then, a preset relationship is determined according to the multiple brightness compensation coefficients, and the use of the preset relationship enhances the convenience of determining the target display data. Since the first display data is divided into multiple display sub-areas, the data of the multiple display sub-areas is determined, and their brightness is compensated respectively, the pertinence of the brightness compensation in the first display area is improved, meeting the personalized compensation needs of different display sub-areas, effectively improving the compensation effect for each display sub-data, and further enhancing the matching of the visual display effects between the first display area and the second display area.
[0118] Figure 12 FIG. is a schematic structural diagram of a control device for a display screen according to an embodiment of the present disclosure.
[0119] As Figure 12 shown, the control device 120 of the display screen includes:
[0120] An acquisition module 1201, configured to acquire first display data, where the first display data is the data to be correspondingly displayed in the first display area;
[0121] A first processing module 1202, configured to perform compensation processing on the first display data to obtain target display data;
[0122] A display module 1203 is configured to display target display data in a first display area, wherein first brightness information when the target display data is displayed in the first display area meets a brightness condition.
[0123] In some embodiments of the present disclosure, as Figure 13 shown, Figure 13 FIG. is a schematic structural diagram of a control device for a display screen according to another embodiment of the present disclosure. The display screen further includes: a second display area, and the first display area and the second display area together form an overall display area of the display screen. An acquisition module 1201 is specifically configured to:
[0124] Acquire data to be displayed, where the data to be displayed is data to be correspondingly displayed in the overall display area;
[0125] Parse the data to be displayed to obtain first display data and second display data, where the second display data is data to be correspondingly displayed in the second display area.
[0126] In some embodiments of the present disclosure, the display module 1203 is specifically configured to:
[0127] Display the target display data in the first display area and display the second display data in the second display area;
[0128] wherein a brightness difference between the first brightness information and the second brightness information is less than a difference threshold, and the second brightness information is brightness information when the second display data is displayed in the second display area.
[0129] In some embodiments of the present disclosure, the first processing module 1202 includes:
[0130] A first determination sub-module 12021 for determining a brightness compensation coefficient;
[0131] A second determination sub-module 12022 for determining an initial compensation brightness value corresponding to the first display data;
[0132] A processing sub-module 12023 for processing the first display data according to the brightness compensation coefficient and the initial compensation brightness value to obtain target display data.
[0133] In some embodiments of the present disclosure, the processing sub-module 12023 is specifically configured to:
[0134] Perform a multiplication process on the brightness compensation coefficient and the initial compensation brightness value to obtain a target compensation brightness value;
[0135] Compensate the brightness of the first display data according to the target compensation brightness value to obtain target display data.
[0136] In some embodiments of the present disclosure, the first determination sub-module 12021 is specifically configured to:
[0137] Determine a plurality of gray-scale values corresponding to the first display area;
[0138] Determine a plurality of gray-scale levels to which the plurality of gray-scale values respectively belong;
[0139] According to a preset relationship, determine a plurality of brightness compensation coefficients respectively corresponding to the plurality of gray-scale levels, wherein the brightness compensation coefficient is used to perform brightness compensation on the display sub-area corresponding to the corresponding gray-scale value, and the display sub-area is a local area in the first display area.
[0140] In some embodiments of the present disclosure, the first processing module 1202 is specifically configured to:
[0141] Determine display sub-data to be displayed in the display sub-area;
[0142] According to the brightness compensation coefficient corresponding to the display sub-area, perform compensation processing on the display sub-data to obtain target display sub-data;
[0143] Synthesize target display data according to the plurality of target display sub-data.
[0144] In some embodiments of the present disclosure, it further includes:
[0145] The second processing module 1204 is configured to sample the display screen of the display before obtaining the first display data to obtain a sampled image;
[0146] The first determination module 1205 is configured to determine a plurality of sampled brightness values and a plurality of sampled gray-scale values respectively corresponding to a plurality of pixel points of the display screen according to the sampled image;
[0147] The second determination module 1206 is configured to determine brightness difference information between the first display area and the second display area of the display screen when displaying the sampled image according to the plurality of sampled brightness values;
[0148] The partitioning module 1207 is configured to perform level partitioning on the plurality of sampled gray-scale values to obtain a plurality of gray-scale levels, and the plurality of gray-scale levels correspond to some of the sampled gray-scale values;
[0149] The first generation module 1208 is configured to generate a plurality of brightness compensation coefficients respectively corresponding to the plurality of gray-scale levels according to the brightness difference information;
[0150] The second generation module 1209 is configured to generate a preset relationship according to the plurality of gray-scale levels and the plurality of brightness compensation coefficients.
[0151] As described above Figures 1 to 11Corresponding to the control method of the display screen provided by the embodiment, the present disclosure also provides a control device for a display screen. Since the control device for the display screen provided by the embodiment of the present disclosure corresponds to the above-mentioned Figures 1 to 11 control method of the display screen provided by the embodiment, the implementation manners of the control method of the display screen are also applicable to the control device for the display screen provided by the embodiment of the present disclosure, and will not be described in detail in the embodiment of the present disclosure.
[0152] In this embodiment, by obtaining first display data, the first display data is data to be correspondingly displayed in the first display area, and then compensating the first display data to obtain target display data, and then displaying the target display data in the first display area. Among them, the first brightness information when the target display data is displayed in the first display area satisfies the brightness condition. Since the first display data is compensated, the display brightness information of the first display area meets the requirements, and the display data of the display area corresponding to the under-screen camera device can be compensated in advance to assist in enhancing the consistency of the visual effects of different display areas of the display screen, thereby effectively optimizing the overall display visual effect of the electronic device.
[0153] To implement the above embodiment, the present disclosure also proposes a non-transitory computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, it implements the control method of the display screen proposed in the foregoing embodiment of the present disclosure.
[0154] To implement the above embodiment, the present disclosure also proposes an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it implements the control method of the display screen proposed in the foregoing embodiment of the present disclosure.
[0155] To implement the above embodiment, the present disclosure also proposes a computer program product. When the instruction processor in the computer program product executes, it executes the control method of the display screen proposed in the foregoing embodiment of the present disclosure.
[0156] Figure 14 The block diagram of an exemplary electronic device suitable for implementing the embodiments of the present disclosure is shown. Figure 14 The displayed electronic device 12 is only an example and should not bring any limitation to the functions and usage scopes of the embodiments of the present disclosure.
[0157] As Figure 14As shown, the electronic device 12 is presented in the form of a general-purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects different system components (including the system memory 28 and the processing unit 16). The bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus structures. For example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, MicroChannel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnection (PCI) bus.
[0158] The electronic device 12 typically includes a variety of computer system-readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.
[0159] The memory 28 may include computer system-readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 can be used to read and write non-removable, non-volatile magnetic media ( Figure 14 not shown, commonly referred to as a "hard disk drive").
[0160] Although Figure 14Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (such as a "floppy disk") and an optical disk drive for reading and writing a removable non-volatile optical disk (such as a Compact Disc Read Only Memory (hereinafter referred to as "CD-ROM"), a Digital Video Disc Read Only Memory (hereinafter referred to as "DVD-ROM") or other optical media) can be provided. In these cases, each drive can be connected to the bus 18 through one or more data medium interfaces. The memory 28 may include at least one program product having a set (such as at least one) of program modules configured to perform the functions of the various embodiments of the present disclosure.
[0161] A program / utility 40 having a set (at least one) of program modules 42 can be stored, for example, in the memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include the implementation of a network environment. The program modules 42 generally perform the functions and / or methods in the embodiments described in the present disclosure.
[0162] The electronic device 12 can also communicate with one or more external devices 14 (such as a keyboard, a pointing device, a display 24, etc.), and can also communicate with one or more devices that enable a user to interact with the electronic device 12, and / or communicate with any device that enables the electronic device 12 to communicate with one or more other computing devices (such as a network card, a modem, etc.). Such communication can be carried out through the input / output (I / O) interface 22. Moreover, the electronic device 12 can also communicate with one or more networks (such as a Local Area Network (hereinafter referred to as "LAN"), a Wide Area Network (hereinafter referred to as "WAN") and / or a public network, such as the Internet) through the network adapter 20. As shown in the figure, the network adapter 20 communicates with other modules of the electronic device 12 through the bus 18. It should be understood that although not shown in the figure, other hardware and / or software modules can be used in combination with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0163] The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28, such as implementing the control method of the display screen mentioned in the foregoing embodiments.
[0164] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and examples are only illustrative, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0165] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
[0166] It should be noted that in the description of the present disclosure, the terms "first", "second", etc. are only used for descriptive purposes and cannot be construed as indicating or implying relative importance. In addition, in the description of the present disclosure, unless otherwise specified, the meaning of "plurality" is two or more.
[0167] Any process or method description in the flowchart or described in other ways herein can be understood as representing a module, segment, or part of code including one or more executable instructions for implementing a specific logical function or process. The scope of the preferred embodiments of the present disclosure includes additional implementations, where the functions can be executed in a manner not shown or discussed, including in a substantially simultaneous manner according to the functions involved or in a reverse order, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong.
[0168] It should be understood that various parts of the present disclosure can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
[0169] Those of ordinary skill in the art can understand that all or part of the steps carried by the method of implementing the above embodiments can be completed by instructing relevant hardware through a program. The program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.
[0170] In addition, in each of the embodiments of the present disclosure, each functional unit may be integrated into one processing module, may exist physically alone for each unit, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. When the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0171] The above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disc, or the like.
[0172] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples.
[0173] Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present disclosure.
Claims
1. A control method for a display screen, characterized in that, The display screen includes: a first display area and a second display area. The first display area and the second display area together form the overall display area of the display screen. The first display area corresponds to an under-screen camera device. The method includes: Obtain first display data and second display data. Among them, the first display data is the data to be correspondingly displayed in the first display area, and the second display data is the data to be correspondingly displayed in the second display area; Perform compensation processing on the first display data to obtain target display data. Specifically, it includes: respectively determining the gray-scale level to which each gray-scale value corresponding to the first display area belongs, determining the brightness compensation coefficient corresponding to each gray-scale level according to a preset relationship, where the brightness compensation coefficient is used to perform brightness compensation on the display sub-area corresponding to the corresponding gray-scale value; determining the initial compensation brightness value corresponding to the first display data; processing the first display data according to the brightness compensation coefficient and the initial compensation brightness value to obtain the target display data; Display the target display data in the first display area and display the second display data in the second display area, where the brightness difference between the first brightness information when the target display data is displayed in the first display area and the second brightness information when the second display data is displayed in the second display area is less than a difference threshold.
2. The method according to claim 1, wherein The obtaining of the first display data and the second display data includes: Obtain the data to be displayed, where the data to be displayed is the data to be correspondingly displayed in the overall display area; Parse the data to be displayed to obtain the first display data and the second display data.
3. The method according to claim 1, characterized in that The processing of the first display data according to the brightness compensation coefficient and the initial compensation brightness value to obtain the target display data includes: Perform a multiplication process on the brightness compensation coefficient and the initial compensation brightness value to obtain a target compensation brightness value; Compensate the brightness of the first display data according to the target compensation brightness value to obtain the target display data.
4. The method according to claim 1, wherein The performing of compensation processing on the first display data to obtain target display data includes: Determine the display sub-data to be displayed in the display sub-area; Perform compensation processing on the display sub-data according to the brightness compensation coefficient corresponding to the display sub-area to obtain target display sub-data; Synthesize the target display data according to a plurality of the target display sub-data.
5. The method according to claim 1, wherein Before obtaining the first display data, it further includes: Perform sampling processing on the display screen of the display screen to obtain a sampled image; According to the sampled image, determine a plurality of sampled brightness values and a plurality of sampled gray-scale values respectively corresponding to a plurality of pixel points of the display screen; According to the plurality of sampled brightness values, determine the brightness difference information between the first display area and the second display area when the display screen displays the sampled image; Perform level division on the plurality of sampled gray-scale values to obtain the plurality of gray-scale levels, and the plurality of gray-scale levels correspond to some of the sampled gray-scale values; Generate a plurality of brightness compensation coefficients corresponding to the plurality of gray scale levels respectively according to the brightness difference information; Generate the preset relationship according to the plurality of gray scale levels and the plurality of brightness compensation coefficients.
6. A control device for a display screen, characterized in that, The display screen includes: a first display area and a second display area. The first display area and the second display area together form the overall display area of the display screen. The first display area corresponds to an under-screen camera device, and the device includes: An acquisition module, configured to acquire first display data and second display data, where the first display data is data to be correspondingly displayed in the first display area, and the second display data is data to be correspondingly displayed in the second display area; A first processing module, configured to perform compensation processing on the first display data to obtain target display data; the first processing module specifically includes: a first determination sub-module, a second determination sub-module, and a processing sub-module. The first determination sub-module is configured to respectively determine the gray scale level to which each gray scale value corresponding to the first display area belongs, and determine the brightness compensation coefficient corresponding to each gray scale level according to a preset relationship, where the brightness compensation coefficient is used to perform brightness compensation on the display sub-area corresponding to the corresponding gray scale value; the second determination sub-module is configured to determine an initial compensation brightness value corresponding to the first display data; the processing sub-module is configured to process the first display data according to the brightness compensation coefficient and the initial compensation brightness value to obtain the target display data; A display module, configured to display the target display data in the first display area and display the second display data in the second display area, where the brightness difference between the first brightness information when the target display data is displayed in the first display area and the second brightness information when the second display data is displayed in the second display area is less than a difference threshold.
7. The device according to claim 6, characterized in that, The acquisition module is specifically configured to: Acquire data to be displayed, where the data to be displayed is data to be correspondingly displayed in the overall display area; Parse the data to be displayed to obtain the first display data and the second display data.
8. The device according to claim 6, characterized in that, The processing sub-module is specifically configured to: Perform a multiplication process on the brightness compensation coefficient and the initial compensation brightness value to obtain a target compensation brightness value; Compensate the brightness of the first display data according to the target compensation brightness value to obtain the target display data.
9. The device according to claim 6, characterized in that The first processing module is specifically configured to: Determine display sub-data to be displayed in the display sub-area; Perform compensation processing on the display sub-data according to the brightness compensation coefficient corresponding to the display sub-area to obtain target display sub-data; Synthesize the target display data according to a plurality of the target display sub-data.
10. The device according to claim 6, characterized in that It further includes: A second processing module, configured to sample the display screen of the display screen before acquiring the first display data to obtain a sampled image; A first determination module, configured to determine a plurality of sampled brightness values and a plurality of sampled gray scale values respectively corresponding to a plurality of pixel points of the display screen according to the sampled image; A second determination module, configured to determine brightness difference information between the first display area and the second display area when the display screen displays the sampled image according to the plurality of sampled brightness values; A division module, configured to perform rank division on the plurality of sampled gray scale values to obtain the plurality of gray scale ranks, where the plurality of gray scale ranks correspond to some of the sampled gray scale values; A first generation module, configured to generate a plurality of brightness compensation coefficients respectively corresponding to the plurality of gray scale ranks according to the brightness difference information; A second generation module, configured to generate the preset relationship according to the plurality of gray scale ranks and the plurality of brightness compensation coefficients.
11. An electronic device, comprising: At least one processor; And A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1-5.
12. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to execute the method according to any one of claims 1-5.
Citation Information
Patent Citations
Display method and electronic equipment
CN110706634A
Display panel and brightness correction method
CN112259056A