Display driver, display driving method, device and computer readable storage medium
By obtaining and adjusting the operating parameters of the display screen in the display driver, the problem of high power consumption of display screens and mobile communications in electronic devices is solved, achieving more efficient power management and extending pixel life.
Patent Information
- Application Number
- CN202410866998.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-10
AI Technical Summary
Existing technology is difficult to effectively reduce the power consumption of display screens and mobile communications in electronic devices, especially when displaying high-brightness and high-resolution images, resulting in high battery hardware costs and low pixel life.
Provide a display driver that obtains the current consumption value of the reference image through the first control unit, transmits it to the second control unit, sets the operating parameters of the display screen based on the current consumption value, and adjusts to reduce power consumption, including obtaining the remaining power and based on it Adjust operating parameters and adopt intelligent combined battery management mode to optimize power usage.
It effectively reduces the power consumption of the display screen to display the reference image, improves the battery life, reduces the power consumption, reduces the hardware cost, and extends the pixel life.
Smart Images

Figure CN118629334A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a display driver, a display driving method, a device, and a computer-readable storage medium. Background Art
[0002] In electronic devices including display screens, image display and mobile communication are two functions that consume a lot of power. Therefore, a display driver is needed to manage power by regulating the operating parameters of the display screen. Summary of the invention
[0003] The present application provides a display driver, a display driving method, a device and a computer-readable storage medium for realizing power management. The technical solution is as follows:
[0004] In a first aspect, a display driver is provided, the display driver comprising a first control unit and a second control unit, the first control unit and the second control unit are connected, and the second control unit is also connected to an application processor and a display screen; the first control unit is used to obtain a current consumption value corresponding to a reference image and transmit the current consumption value to the second control unit; the second control unit is used to set a first operating parameter of the display screen based on the current consumption value and obtain a second operating parameter of the display screen transmitted by the application processor, the first operating parameter and the second operating parameter are both used to drive the display screen to display the reference image; the second control unit is also used to drive the display screen to display the reference image according to the operating parameter of the first operating parameter or the second operating parameter that requires less power to drive the display screen.
[0005] Exemplarily, the first control unit is further used to obtain the remaining power and transmit the remaining power to the second control unit; the second control unit is used to adjust the first operating parameter based on the remaining power to obtain the third operating parameter, and the third operating parameter is used to drive the display screen to display the reference image; the second control unit is also used to drive the display screen to display the reference image according to the operating parameter of the second operating parameter or the third operating parameter whichever has the smaller power required to drive the display screen.
[0006] Exemplarily, the second control unit is used to obtain the correspondence between the remaining power and the operating parameters, search for the correspondence between the remaining power and the operating parameters based on the remaining power, and obtain the operating parameters corresponding to the remaining power; the second control unit is also used to adjust the first operating parameters based on the operating parameters corresponding to the remaining power to obtain the third operating parameters.
[0007] Exemplarily, the second control unit is used to, when at least one of the first operating parameter or the operating parameter corresponding to the remaining power includes multiple types of parameters, compare the power required to drive the display screen according to any type of parameter among the multiple types of parameters, obtain a parameter of this type with a smaller power required to drive the display screen, and use the obtained parameter as the parameter of this type in the third operating parameter; or, the second control unit is used to compare the total power consumption corresponding to the first operating parameter with the total power consumption corresponding to the operating parameter corresponding to the remaining power, and use the operating parameter with the smaller total power consumption as the third operating parameter.
[0008] Exemplarily, the second control unit is used to obtain an intelligent combination battery management (ICBM) mode of the display driver application, and obtain a corresponding relationship between the remaining power and the operating parameters based on the applied ICBM mode.
[0009] Exemplarily, the first control unit includes a shunt resistor and a regulating subunit, the shunt resistor is connected to the regulating subunit; the regulating subunit is used to adjust the shunt resistor so that the measurement deviation of the shunt resistor is less than a reference threshold; the shunt resistor is used to measure the current consumption value corresponding to the reference image and transmit the current consumption value to the second control unit.
[0010] In a second aspect, a display driving method is provided, which is applied to any display driver in the first aspect, and the method includes: obtaining a current consumption value corresponding to a reference image through a first control unit, and transmitting the current consumption value to a second control unit; setting a first operating parameter of a display screen based on the current consumption value through the second control unit, and obtaining a second operating parameter of the display screen transmitted by an application processor, wherein both the first operating parameter and the second operating parameter are used to drive the display screen to display the reference image; and driving the display screen to display the reference image through the second control unit according to the operating parameter of the first operating parameter or the second operating parameter that requires less power to drive the display screen.
[0011] Exemplarily, the method also includes: obtaining a remaining power through a first control unit, and transmitting the remaining power to a second control unit; driving the display screen to display a reference image according to the first operating parameter or the second operating parameter which requires less power to drive the display screen, including: adjusting the first operating parameter based on the remaining power through the second control unit to obtain a third operating parameter, the third operating parameter being used to drive the display screen to display the reference image; driving the display screen to display a reference image according to the second operating parameter or the third operating parameter which requires less power to drive the display screen, through the second control unit.
[0012] Exemplarily, the third operating parameter is obtained by adjusting the first operating parameter based on the remaining power through the second control unit, including: obtaining the correspondence between the remaining power and the operating parameter through the second control unit, searching for the correspondence between the remaining power and the operating parameter based on the remaining power, and obtaining the operating parameter corresponding to the remaining power; adjusting the first operating parameter based on the operating parameter corresponding to the remaining power through the second control unit to obtain the third operating parameter.
[0013] Exemplarily, the first operating parameter is adjusted based on the operating parameter corresponding to the remaining power by the second control unit to obtain the third operating parameter, including: when at least one of the first operating parameter or the operating parameter corresponding to the remaining power includes multiple types of parameters, for any type of parameter among the multiple types of parameters, the power required to drive the display screen according to the parameter of this type is compared to obtain a parameter of this type with a smaller power required to drive the display screen, and the obtained parameter is used as the parameter of this type in the third operating parameter; or, the total power consumption corresponding to the first operating parameter is compared with the total power consumption corresponding to the operating parameter corresponding to the remaining power by the second control unit, and the corresponding operating parameter with the smaller total power consumption is used as the third operating parameter.
[0014] Exemplarily, obtaining the correspondence between the remaining power and the operating parameters through the second control unit includes: obtaining the ICBM mode applied by the display driver through the second control unit, and obtaining the correspondence between the remaining power and the operating parameters based on the applied ICBM mode.
[0015] Exemplarily, the first control unit includes a shunt resistor and a regulating subunit, and the shunt resistor is connected to the regulating subunit; the current consumption value corresponding to the reference image is obtained through the first control unit, and the current consumption value is transmitted to the second control unit, including: adjusting the shunt resistor through the regulating subunit so that the measurement deviation of the shunt resistor is less than the reference threshold; measuring the current consumption value corresponding to the reference image through the shunt resistor, and transmitting the current consumption value to the second control unit.
[0016] According to a third aspect, an electronic device is provided, the electronic device comprising any display driver according to the first aspect.
[0017] In a fourth aspect, a computer-readable storage medium is also provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor of an electronic device so that the electronic device implements any display driving method in the above-mentioned second aspect.
[0018] In a fifth aspect, a computer program product or a computer program is also provided, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes any display driving method in the second aspect above.
[0019] The technical solution provided by this application brings at least the following beneficial effects:
[0020] In the solution of the present application, the second control unit of the display driver sets the first operating parameter of the display screen based on the current consumption value corresponding to the reference image, and the second control unit also obtains the second operating parameter of the display screen transmitted by the application processor, and drives the display screen to display the reference image according to the operating parameter with less power required to drive the display screen between the first operating parameter and the second operating parameter. By driving the display screen to display the reference image according to the operating parameter with less power required, the power consumption of driving the display screen to display the reference image is less, thereby achieving a better effect of reducing power consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;
[0023] Figure 2 is a schematic diagram of the structure of a display driver provided in an embodiment of the present application;
[0024] Figure 3 This is a schematic diagram of an interface of a developer mode provided in an embodiment of the present application;
[0025] Figure 4 is a schematic diagram of a display interface provided in an embodiment of the present application;
[0026] Figure 5 is a schematic diagram of the structure of another display driver provided in an embodiment of the present application;
[0027] Figure 6 is a schematic diagram of a display driving process provided by an embodiment of the present application;
[0028] Figure 7 It is a schematic diagram of a process of driving a display screen to display a reference image provided by an embodiment of the present application;
[0029] Figure 8 is a flow chart of a display driving method provided by an embodiment of the present application;
[0030] Fig. 9 is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0031] Fig.10 It is a schematic diagram of the structure of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0033] In electronic devices including display screens, image display and mobile communication are two functions with relatively high power consumption. The display screen includes but is not limited to an organic light emitting diode (OLED) or a liquid crystal display (LCD), and the OLED may be an active-matrix OLED (AMOLED). Mobile communication includes but is not limited to voice calls or data transmission. When the display screen displays content at a higher brightness and / or a higher resolution, the power consumption is relatively high. The method of increasing the battery capacity to increase the use time of the electronic device has a relatively high hardware cost for the battery.
[0034] Furthermore, the amount of electricity required to display images of different colors is different, wherein the amount of electricity required to display a white image is higher than that required to display images of other colors. For example, when the display screen displays a white image, the RGB pixels of the display screen are all at maximum brightness, and more electricity is required. For another example, when the display screen displays a blue image, only the blue (blue, B) pixel is at maximum brightness, and the red (red, R) pixel and the green (green) pixel are at minimum power consumption, and less electricity is required. When the display screen displays a red image, only the R pixel is at maximum brightness, and the B pixel and the G pixel are at minimum power consumption, and less electricity is required. When the display screen displays a green image, only the G pixel is at maximum brightness, and the B pixel and the R pixel are at minimum power consumption, and less electricity is required.
[0035] Since most web pages, editors and e-books use white as the background, in this case, a large number of RGB pixels of the display are at maximum brightness, which consumes a lot of power. In addition, when the display is at maximum brightness for a long time, the pixels of the display are prone to aging, which reduces the life of the pixels.
[0036] In a related technology, when the display screen of an electronic device displays an image, if the remaining power of the electronic device is lower than a threshold value, the application processor (AP) of the electronic device controls the display driver to reduce the brightness of the display screen to reduce power consumption. Alternatively, the application processor controls the display driver to turn on dark mode to reduce power consumption. Alternatively, the application processor controls the display driver to reduce the scanning rate of the display screen to reduce power consumption. Among them, the scanning rate refers to the number of frames displayed per second by the display screen, in hertz (Hz). For example, the scanning rate for mobile games and other applications that require rapid changes in display images is 120Hz, the scanning rate for playing movies is 60Hz, the scanning rate for text input such as writing emails is 30Hz, and the scanning rate for displaying static images is 10Hz. However, the power consumption reduced by the methods in the related art is still not enough, and power consumption needs to be further reduced.
[0037] An embodiment of the present application provides a display driver for reducing power consumption. Figure 1 Schematic diagram of an implementation environment provided by the embodiment of the present application. Figure 1 As shown, the implementation environment includes an application processor 101, a display driver 102, and a display screen 103, wherein the application processor 101 is connected to the display driver 102 and the display screen 103 in a wired or wireless manner, respectively, and the display driver 102 is also connected to the display screen 103 in a wired or wireless manner. The application processor 101, the display driver 102, and the display screen 103 can be located in the same or different electronic devices. In the case where the application processor 101, the display driver 102, and the display screen 103 are located in the same electronic device, the electronic device can be called a module (MDL).
[0038] An electronic device may be any electronic product that can interact with a user through one or more methods such as a keyboard, a touchpad, a touch screen, a remote control, voice interaction, or a handwriting device, for example, a personal computer (PC), a mobile phone, a smart phone, a personal digital assistant (PDA), a wearable device, a pocket PC (PPC), a tablet computer, a smart car machine, a smart TV, a smart speaker, a smart voice interaction device, a smart home appliance, a vehicle terminal, an aircraft, etc. Those skilled in the art should understand that the above electronic devices are only examples, and other existing or future electronic devices that may appear should also be included in the scope of protection of this application if they are applicable to this application, and are hereby included by reference.
[0039] Figure 2Schematic diagram of a display driver provided by an embodiment of the present application. Figure 2 As shown, the display driver 102 includes a first control unit 1021 and a second control unit 1022, and the first control unit 1021 and the second control unit 1022 are connected. For example, the first control unit 1021 and the second control unit 1022 are electrically connected. The first control unit 1021 can also be connected to the application processor 101. The second control unit 1022 can also be connected to the application processor 101, for example, the second control unit 1022 is connected to the application processor 101 through the first control unit 1021. The second control unit 1022 can also be connected to the display screen 103.
[0040] The first control unit 1021 is used to obtain the current consumption value corresponding to the reference image and transmit the current consumption value to the second control unit 1022; the second control unit 1022 is used to set the first operating parameter of the display screen 103 based on the current consumption value, and obtain the second operating parameter of the display screen transmitted by the application processor 101; the second control unit 1022 is also used to drive the display screen 103 to display the reference image according to the operating parameter of the first operating parameter or the second operating parameter which requires less power to drive the display screen.
[0041] In the display driver 102 provided in the present application, the second control unit 1022 drives the display screen 103 to display the reference image according to the operating parameters that require less power to drive the display screen. The power consumption of driving the display screen 103 to display the reference image is relatively small, thereby achieving a better power saving effect.
[0042] Exemplarily, the first control unit 1021 includes a shunt resistor, which is used to measure the current consumption value corresponding to the reference image and transmit the current consumption value to the second control unit 1022. In one possible implementation, if a pixel of a display screen is driven to emit light, the current consumption value of the pixel is a reference value, and the measured current consumption value includes the average picture level (APL) when the display screen displays the reference image. APL refers to the ratio of the number of pixels driven to emit light in the display screen to the total number of pixels of the display screen. Therefore, the APL when the display screen displays the reference image can reflect the current consumption value corresponding to the reference image. In another possible implementation, the measured current consumption value is any one of the consumption value of an independent current, the consumption value of an integrated current, the percentage of the consumption value of an independent current to the battery capacity, or the percentage of the consumption value of an integrated current to the battery capacity. Thus, the type of the measured current consumption value is more flexible.
[0043] In the embodiment of the present application, the independent current consumption value may refer to the current consumption value of each pixel of the display, and one pixel corresponds to one independent current; the integrated current consumption value may refer to the current consumption value obtained by integrating the current consumption values of each pixel. The current consumption value of each pixel can be measured in the developer mode of MDL. Figure 3 is a schematic diagram of an interface of a developer mode provided in an embodiment of the present application. The interface of the developer mode can display the current consumption value in real time. Figure 3 , the developer mode interface shows the real-time current consumption values of 6 pixels.
[0044] Exemplarily, in the case where the first control unit 1021 includes a shunt resistor, the first control unit 1021 also includes a regulating subunit, the shunt resistor is connected to the regulating subunit, and the regulating subunit is used to adjust the shunt resistor so that the measurement deviation of the shunt resistor is less than the reference threshold. The process of adjusting the shunt resistor by the regulating subunit can be called trimming, and the reference threshold can be set according to experience or actual needs. By adjusting the shunt resistor so that the measurement deviation of the shunt resistor is less than the reference threshold, the measurement accuracy of the shunt resistor can be improved, thereby improving the accuracy of the measured current consumption value.
[0045] In a possible implementation, since the reference image is displayed through pixels of a display screen, the reference image includes red, green, blue (RGB) values corresponding to each pixel of the display screen. Therefore, the current consumption value corresponding to the reference image can include the current consumption value of each pixel of the display screen displaying the RGB value. For example, the display screen includes pixel 1, pixel 2, and pixel 3, pixel 1 corresponds to RGB value 1, pixel 2 corresponds to RGB value 2, and pixel 3 corresponds to RGB value 3. In this case, the current consumption value corresponding to the reference image includes the current consumption value of pixel 1 displaying RGB value 1, the current consumption value of pixel 2 displaying RGB value 2, and the current consumption value of pixel 3 displaying RGB value 3.
[0046] Exemplarily, the first control unit 1021 obtains the RGB value corresponding to each pixel of the display screen, and based on the RGB value corresponding to each pixel, queries the mapping table of the RGB value and the current consumption value to obtain the current consumption value of each pixel displaying the RGB value. The mapping table of the RGB value and the current consumption value can be stored in the first control unit 1021, or stored in a first reference memory other than the first control unit 1021. The first control unit 1021 is connected to the first reference memory, and the first reference memory can be a flash memory. In the case where the mapping table of the RGB value and the current consumption value is stored in the first control unit 1021, the first control unit 1021 queries the internally stored mapping table of the RGB value and the current consumption value to obtain the current consumption value. In the case where the mapping table of the RGB value and the current consumption value is stored in the first reference memory, the first control unit 1021 reads the mapping table of the RGB value and the current consumption value from the first reference memory, and then obtains the current consumption value by querying the mapping table of the RGB value and the current consumption value.
[0047] The mapping table of RGB values and current consumption values can be obtained based on the shunt resistor. For example, during the MDL image quality verification of the compensation function, the first control unit 1021 uses the RGB color conversion technology to capture the RGB value, uses the shunt resistor to measure the current consumption value of the pixel display RGB value, and generates a mapping table of RGB values and current consumption values based on the RGB value and the measured current consumption value. The compensation function includes but is not limited to at least one of a three-dimensional look-up table (3D LUT) or color enhancement, wherein the 3D LUT is a color correction function.
[0048] In the case where the current consumption value corresponding to the reference image includes the current consumption value of each pixel displaying the RGB value, the second control unit 1022 is used to set the first operating parameter based on the current consumption value of each pixel displaying the RGB value. For example, the correspondence between the current consumption value and the operating parameter is stored in a power profile, and the second control unit 1022 queries the power profile based on the current consumption value to obtain the first operating parameter corresponding to the current consumption value. The power profile can be stored in a second reference memory, and the second control unit 1022 is connected to the second reference memory. The second control unit 1022 can read the power file from the second reference memory, and then query the power file based on the current consumption value. The second reference memory can be a flash memory, and the first reference memory and the second reference memory can be the same memory.
[0049] Since the current consumption value corresponding to the reference image includes the current consumption value of each pixel displaying the RGB value, the acquisition granularity of the current consumption value is small. In this case, the first operating parameter set according to the current consumption value is better adapted to the actual current consumption situation.
[0050] Exemplarily, the first operating parameter includes: at least one of an automatic current limit (ACL) parameter, an RGB value adjustment parameter, a sub-pixel rendering (SPR) control parameter, a display area drive control parameter, a power saving algorithm (PSA) control parameter, or an intelligent, video, content, variations (IVCV) parameter. Among them, the ACL parameter is used to adjust the brightness of the pixel, and when the brightness of the pixel is low, the power consumption is low. The RGB value adjustment parameter includes but is not limited to adjusting any one of the gain or offset of the RGB value, and reducing the RGB value by adjusting any one of the gain or offset of the RGB value, thereby reducing the current size of the pixel display RGB value and reducing the power consumption. The SPR control parameter is used to control the switch of the SPR function, and when the SPR control function is turned off, the power consumption is low.
[0051] The display area drive control parameters are used to control which pixels of the display are driven, so that the power consumption is low when the number of driven pixels is small. The PSA control parameters are used to control the switch of PSA. When PSA is turned on, the power consumption is low. IVCV is an adaptive color conversion and dimming method that can reduce the distortion of the visual quality of the display while converting and dimming. IVCV uses a pre-calculated color map in the color conversion process and uses the gamma correction that has been implemented in most display systems in the dimming process. Due to the low computational overhead of IVCV at runtime, IVCV can be used to process static images and real-time video streams. The IVCV parameters are used to control the switch of IVCV. When IVCV is turned on, the power consumption is low.
[0052] In the case of applying the first operating parameter, since the types of the first operating parameter are relatively diverse, a variety of parameters can be applied to adjust the display of the reference image, thereby reducing the power consumption of driving the display screen to display the reference image as much as possible. In addition, the application of RGB value adjustment parameters, SPR control parameters, display area drive control parameters, PSA control parameters and IVCV parameters involves the conversion of image data. Although there are some differences between the images obtained after applying these parameters and the images without applying these parameters, these differences are not visually obvious. When users watch the images obtained after applying these parameters, they will not feel uncomfortable, thereby achieving a balance between reducing power consumption and ensuring user viewing experience.
[0053] In a possible implementation, the first control unit 1021 is further used to obtain the remaining power and transmit the remaining power to the second control unit 1022; the second control unit 1022 is used to adjust the first operating parameter based on the remaining power to obtain the third operating parameter, and the third operating parameter is used to drive the display screen 103 to display the reference image; the second control unit 1022 is also used to drive the display screen to display the reference image according to the operating parameter based on the second operating parameter or the third operating parameter that requires less power to drive the display screen. The remaining power is the remaining power of the electronic device where the display screen 103 is located. By adjusting the first operating parameter based on the remaining power on the basis of setting the first operating parameter of the display screen based on the current consumption value corresponding to the reference image, the adjusted third operating parameter has a high degree of adaptation to the actual power situation of the electronic device.
[0054] Exemplarily, the power file stores the correspondence between the remaining power and the operating parameters, and the second control unit 1022 is used to obtain the correspondence between the remaining power and the operating parameters, and to find the correspondence between the remaining power and the operating parameters based on the remaining power to obtain the operating parameters corresponding to the remaining power; the second control unit 1022 is also used to adjust the first operating parameter based on the operating parameter corresponding to the remaining power to obtain the third operating parameter. For example, the second control unit 1022 is used to use the operating parameter corresponding to the remaining power or the operating parameter of the first operating parameter with a smaller amount of power required to drive the display screen as the adjusted third operating parameter.
[0055] In a possible implementation, the display driver 102 can enter different ICBM modes based on actual requirements. Different ICBM modes correspond to different power files, and the corresponding relationships between the remaining power and operating parameters stored in different power files are different. Then, in some embodiments, the second control unit 1022 is configured to obtain the ICBM mode applied by the display driver 102, and based on the applied ICBM mode, obtain the corresponding relationship between the remaining power and the operating parameters. When the number of applicable ICBM modes is multiple, the corresponding relationship between the remaining voltage and the operating parameters can be relatively diverse, adapting to different user requirements. Table 1 illustrates the corresponding relationships between the remaining power and the operating parameters corresponding to ICBM mode 1 to ICBM mode 3 as an example.
[0056] Table 1
[0057]
[0058] In Table 1, P1 to P7, ACL parameter 1 to ACL parameter 3, display area drive control parameters, PSA control parameters, IVCV parameters, and RGB value adjustment parameters can all be controlled based on actual requirements, and the embodiments of the present application do not limit this. For example, Pr represents the percentage of the remaining power in the battery capacity, P1 = 5%, P2 = 15%, P3 = 30%, P4 = 45%, P5 = 55%, P6 = 65%, P7 = 75%, P8 = 85%. Furthermore, taking the operating parameters when using ICBM mode 1 as an example, "none" means not setting operating parameters, and "case 2" means using the operating parameters corresponding to case 2. For example, when P5 < Pr ≤ P6, the operating parameters when using ICBM mode 1 are case 2. That is, when P5 < Pr ≤ P6, the operating parameters when using ICBM mode 1 are ACL parameter 1. The principles of "case 3" to "case 7" are the same as those of "case 2" and will not be elaborated here. The operating parameters when using ICBM mode 2 or ICBM mode 3 are the same as those when using ICBM mode 1 and will not be elaborated here.
[0059] For ease of explanation, the power consumption required to drive the display screen according to a certain parameter is referred to as the power consumption corresponding to this parameter. Exemplarily, the second control unit 1022 is configured to obtain the third operating parameter in any one of the following methods 1 to 3 after obtaining the operating parameters corresponding to the remaining power.
[0060] Method 1: directly determine the operating parameters corresponding to the remaining power as the third operating parameter obtained by adjusting the first operating parameter. That is, directly update the first operating parameter as a whole to the operating parameters corresponding to the remaining power. In this case, the efficiency of determining the third operating parameter is relatively high.
[0061] Method 2: When at least one of the operating parameters corresponding to the first operating parameter or the remaining power includes multiple types of parameters, for any type of parameter among the multiple types of parameters, the power consumption corresponding to the parameters of this type is compared to obtain the parameter with lower power consumption among the parameters of this type, and the obtained parameter is used as the parameter of this type in the third operating parameter.
[0062] Exemplarily, when the first operating parameter and the operating parameter corresponding to the remaining power include parameters of the same type, the power consumption corresponding to the parameters of the same type is compared, and the corresponding parameter with smaller power consumption is used as the parameter of this type included in the third operating parameter. For one or more types of parameters only included in the first operating parameter or the operating parameter corresponding to the remaining power, the one or more types of parameters are directly used as the one or more types of parameters included in the third operating parameter.
[0063] For example, the first operating parameter includes ACL parameter 1 and PSA is turned on, and the operating parameter corresponding to the remaining power includes ACL parameter 2. Among them, the power consumption corresponding to ACL parameter 2 is less than the power consumption corresponding to ACL parameter 1, and the power consumption corresponding to ACL parameter 2 is greater than the sum of the power consumption corresponding to ACL parameter 1 and the power consumption corresponding to PSA is turned on. In this case, the third operating parameter may include ACL parameter 2 and PSA is turned on.
[0064] By comparing the power consumption corresponding to each type of parameter, the parameter with lower power consumption in each type of parameter is obtained, and then the obtained parameter is used as the parameter of this type in the third operating parameter. The power required to drive the display screen according to the third operating parameter is smaller.
[0065] Method three: compare the total power consumption corresponding to the first operating parameter with the total power consumption corresponding to the operating parameter corresponding to the remaining power, and use the operating parameter with the smaller total power consumption as the third operating parameter.
[0066] For example, the first operating parameter includes ACL parameter 1 and PSA is turned on, and the operating parameter corresponding to the remaining power includes ACL parameter 2. Among them, the power consumption corresponding to ACL parameter 2 is less than the power consumption corresponding to ACL parameter 1, and the power consumption corresponding to ACL parameter 2 is greater than the sum of the power consumption corresponding to ACL parameter 1 and the power consumption corresponding to PSA is turned on. In this case, the third operating parameter may include ACL parameter 1 and PSA is turned on.
[0067] In method three, by comparing the power consumption corresponding to the first operating parameter with the power consumption corresponding to the operating parameter corresponding to the remaining power, if the power consumption corresponding to the operating parameter corresponding to the remaining power is higher, the first operating parameter is kept unchanged and the first operating parameter is used as the third operating parameter, thereby ensuring that the power required to drive the display screen according to the third operating parameter is lower.
[0068] Combined with the description of the above-mentioned methods 1 to 3, it can be seen that the method of adjusting the first operating parameter based on the remaining power to obtain the third operating parameter is more flexible. In addition, the parameter types included in the third operating parameter can be the same as or different from the parameter types included in the first operating parameter. For example, the third operating parameter includes at least one of an ACL parameter, an RGB value adjustment parameter, an SPR control parameter, a display area drive control parameter, a PSA control parameter, or an IVCV parameter.
[0069] In the embodiment of the present application, since the second operating parameter is an operating parameter of the display transmitted by the application processor, the parameter types included in the second operating parameter may be different from the parameter types included in the first operating parameter and the third operating parameter. For example, the second operating parameter includes: at least one of an ACL parameter, a dark mode control parameter, or a scanning frequency control parameter. Among them, the dark mode control parameter is used to control the switch of the dark mode. When the dark mode is turned on, the power consumption is low; the scanning frequency control parameter is used to control the frequency of displaying images on the display screen. When the frequency of displaying images is low, the power consumption is low.
[0070] Exemplarily, whether the display screen is driven to display a reference image according to the first operating parameter or the second operating parameter which requires less power to drive the display screen, or the display screen is driven to display a reference image according to the second operating parameter or the third operating parameter which requires less power to drive the display screen, the first operating parameter, the second operating parameter and the third operating parameter may all be used in whole or in part.
[0071] For example, when the power required by the first operating parameter to drive the display screen is less than the power required by the second operating parameter to drive the display screen, the display screen is driven to display the reference image according to the first operating parameter. In this case, the first operating parameter is fully used. Alternatively, when the power required by the first operating parameter to drive the display screen is greater than the power required by the second operating parameter to drive the display screen, the display screen is driven to display the reference image according to the second operating parameter. In this case, the second operating parameter is fully used.
[0072] For another example, when at least one of the first operating parameter or the second operating parameter includes multiple types of parameters, the power consumption corresponding to each type of parameter is compared to obtain the parameter with the smaller power consumption among each type of parameter, and the display screen is driven to display the reference image according to the obtained parameter. In this case, the first operating parameter may be fully used and the second operating parameter may be partially used, or the first operating parameter may be partially used and the second operating parameter may be fully used.
[0073] Exemplarily, when the first operating parameter includes ACL parameter, RGB value adjustment parameter, SPR control parameter, display area drive control parameter, PSA control parameter and IVCV parameter, and the second operating parameter includes ACL parameter, dark mode control parameter and scanning frequency control parameter, the display screen is driven to display the reference image according to the ACL parameter, RGB value adjustment parameter, SPR control parameter, display area drive control parameter, PSA control parameter, IVCV parameter, dark mode control parameter and scanning frequency control parameter that require less power to drive the display screen among the first operating parameter and the second operating parameter. Thus, the first operating parameter may be used in full and the second operating parameter may be used in part, or the first operating parameter may be used in part and the second operating parameter may be used in full.
[0074] The above article uses the example of driving the display screen to display a reference image according to the first operating parameter or the second operating parameter which requires less power to drive the display screen. The principle of driving the display screen to display a reference image according to the second operating parameter or the third operating parameter which requires less power to drive the display screen is the same and will not be repeated here.
[0075] Exemplarily, if the electronic device where the display screen 103 is located enters the sleep mode, the second control unit 1022 saves the first operating parameter or the second operating parameter whichever one requires less power to drive the display screen, or saves the second operating parameter or the third operating parameter whichever one requires less power to drive the display screen, and does not drive the display screen 103 to display the reference image. When the electronic device where the display screen 103 is located exits the sleep mode, the display screen 103 is driven to display the reference image based on the saved operating parameters.
[0076] In a possible implementation, when the first control unit 1021 is also connected to the application processor 101, the first control unit 1021 is used to receive the start instruction transmitted by the application processor 101, and based on the start instruction, execute the transmission of the current consumption value to the second control unit 1022. That is, the start instruction can be used as an enable signal for transmitting the current consumption value to the second control unit 1022 so that the second control unit 1022 can set the first operating parameter based on the current consumption value. The start instruction can be received before or after the first control unit 1021 obtains the current consumption value corresponding to the reference image, and the timing of receiving the start instruction is more flexible.
[0077] The second control unit 1022 can also drive the display screen 103 to display information related to the display driving method. For example, the second control unit 1022 drives the display screen 103 to display an executable ICBM mode, and different ICBM modes also correspond to different corresponding relationships between current consumption values and operating parameters. When entering the ICBM mode, the first control unit 1021 transmits the current consumption value corresponding to the reference image to the second control unit 1022, and the second control unit 1022 sets the first operating parameter of the display screen based on the current consumption value and the corresponding relationship between the current consumption value and the operating parameter corresponding to the entered ICBM mode; obtains the second operating parameter transmitted by the application processor, and drives the display screen to display the reference image based on the operating parameter of the first operating parameter or the second operating parameter that requires less power to drive the display screen.
[0078] Figure 4 is a schematic diagram of a display interface provided in an embodiment of the present application, such as Figure 4 As shown in (1), the display interface of the display screen 103 includes whether to control the ICBM mode, the controllable ICBM modes 1 to 5, a confirmation control, and a cancel control. The confirmation control is used to confirm the selected controllable ICBM mode, and the cancel control is used to confirm not to control the ICBM mode. The second control unit 1022 can also drive the display screen 103 to display the real-time current consumption value and the percentage of the remaining power to the battery capacity. Figure 4 As shown in (2), the display interface of the display screen 103 includes a situation notification, which includes: the current consumption value displayed in real time is 330 milliamperes (mA) and the remaining power accounts for 50% of the battery capacity. The display interface also includes a forward control and a backward control, the forward control is used to confirm the display of the previous display interface, and the backward control is used to confirm the display of the next display interface.
[0079] The second control unit 1022 can also drive the display screen 103 to display whether to enter the ICBM mode or whether to exit the ICBM mode. Figure 4 As shown in (3), the display interface of the display screen 103 includes whether to enter the ICBM mode, a first control and a second control. The first control is used to confirm entering the ICBM mode, and the second control is used to confirm not entering the ICBM mode. Figure 4 As shown in (4), the display interface of the display screen 103 includes whether to exit the ICBM mode, a third control and a fourth control. The third control is used to confirm exiting the ICBM mode, and the fourth control is used to confirm not to exit the ICBM mode.
[0080] In a possible implementation, the display driver 102 further includes other functional units in addition to the first control unit 1021 and the second control unit 1022 . Figure 5is a schematic diagram of the structure of another display driver provided in an embodiment of the present application, such as Figure 5 As shown, the display driver 102 further includes an input unit 1023 and an output unit 1024 , the first control unit 1021 is connected to the application processor 101 via the input unit 1023 , and the second control unit is connected to the display screen 103 via the output unit 1024 .
[0081] The input unit 1023 includes but is not limited to: any one of the mobile industry processor interface (MIPI) C-physical layer (PHY) or D-PHY, and a general purpose input output (GPIO); wherein the GPIO is connected to the C-PHY or D-PHY, and the GPIO is used to receive instructions sent by the application processor 101, and transmit the instructions to the C-PHY or D-PHY, and the C-PHY or D-PHY is used to transmit the instructions to the first control unit 1021. The output unit 1024 includes but is not limited to: a source driver, a gate driven on array (GOA) driver, and an electroluminescent (EL) driver. The source driver, the GOA driver, and the EL driver are used to receive a control signal generated by the second control unit 1022 based on the operating parameters, and drive the display screen to display the reference image based on the control signal.
[0082] The first control unit 1021 and the second control unit 1022 may each include one or more sub-units. The functions of the first control unit 1021 are implemented by the functions of the sub-units included in the first control unit 1021, and the functions of the second control unit 1022 are implemented by the functions of the sub-units included in the second control unit 1022. Figure 5 As shown, the first control unit 1021 includes a current consumption checking subunit 10211 and a remaining power checking subunit 10212 , and the second control unit 1022 includes an image management subunit 10221 and a register subunit 10222 .
[0083] The current consumption checking subunit 10211 is used to obtain the current consumption value corresponding to the reference image, and transmit the current consumption value to the second control unit 1022. The remaining power checking subunit 10212 is used to obtain the remaining power, and transmit the remaining power to the second control unit 1022. Exemplarily, the current consumption checking subunit 10211 includes a shunt resistor, which is used to measure the current consumption value; the remaining power checking subunit 10212 has a GPIO control function, and the GPIO control function is used to obtain the remaining power. For example, when the remaining power checking subunit 10212 has a GPIO control function, the remaining power checking subunit 10212 can respond to the start instruction sent by the application processor 101 to obtain the remaining power.
[0084] The image management subunit 10221 is used to obtain operating parameters, obtain register values for driving the display screen to display a reference image based on the operating parameters, and write the register values into registers included in the register subunit 10222; the register values stored in the register subunit 10222 are used to drive the display screen 103 to display the reference image. The above operating parameters are the operating parameters that require less power to drive the display screen among the first operating parameters or the second operating parameters, or the operating parameters that require less power to drive the display screen among the second operating parameters or the third operating parameters. Exemplarily, the register subunit 1022 is used to provide the register value to the output unit 1024, so that the output unit 1024 drives the display screen 103 to display the reference image based on the obtained register value.
[0085] Exemplarily, the display driver 102 is any one of an OLED display driver chip (OLED display driver integrated circuit, ODDI), an LCD display driver chip (display driver integrated circuit, DDI) or a touch and display driver integration (touch and display driver integration, TDDI). In the case where the display driver 102 is an ODDI, the multiple units included in the display driver 102 can all be hardware units; in the case where the display driver 102 is an LCD DDI or TDDI, the multiple units included in the display driver 102 can all be hardware units, or a part of them can be hardware units and another part of them can be software units, or all of them can be software units.
[0086] Figure 6 Schematic diagram of a display driving process provided by an embodiment of the present application. Figure 6As shown, after the start, it is determined whether to enter the ICBM mode. In the case of not entering the ICBM mode, the method of reducing power consumption in the related art is used. In the case of entering the ICBM mode, the current consumption value corresponding to the reference image is obtained, and the first operating parameter of the display screen is set based on the current consumption value. Then, the remaining power is obtained, and it is determined whether to adjust the first operating parameter based on the power file. In the case of adjusting the first operating parameter based on the power file, the third operating parameter obtained by adjusting the first operating parameter is obtained.
[0087] Based on the third operating parameter, determine whether an image data output control signal is obtained. If an image data output control signal is obtained, use the image data output control signal as an image control signal, convert the reference image based on the image control signal, and display the converted reference image. In the embodiment of the present application, the image data output control signal can be a control signal converted from parameters related to image processing in the operating parameters. The operating parameter is an operating parameter that requires less power to drive the display screen among the second operating parameter or the third operating parameter, and the process of obtaining the second operating parameter is not performed. Figure 6 Shown.
[0088] In the case where the first operating parameter is not adjusted based on the power file, the current consumption value may continue to be acquired. Optionally, the display driving process further includes outputting first information, the first information being used to indicate whether the image data output control signal is received.
[0089] When the image data output control signal is not obtained, it is determined whether to update the operating parameters of the display screen based on the current consumption value, wherein the method of updating the operating parameters of the display screen based on the current consumption value is the same as the method of setting the first operating parameter based on the current consumption value, which will not be repeated here.
[0090] In the case of updating the operating parameters based on the current consumption value, the updated operating parameters are obtained. Based on the updated operating parameters, it is determined whether the brightness data control signal is obtained. If the brightness data output control signal is obtained, an image control signal is output based on the brightness data output control signal, and a reference image is converted based on the image control signal, and the converted reference image is displayed. In an embodiment of the present application, the brightness data output control signal can be a control signal converted from a parameter related to brightness in the updated operating parameters. The operating parameter is the second operating parameter or an operating parameter in the updated operating parameters that requires less power to drive the display screen.
[0091] If the brightness data output control signal is not obtained, an indication information or a flag is output, and the indication information or the flag is used to indicate to continue to obtain the current consumption value. Without updating the operating parameters based on the current consumption value, an image control signal is output based on the unupdated operating parameters, and the reference image is converted based on the image control signal, and the display screen is driven to display the converted reference image. Optionally, the display driving process also includes outputting a second information, and the second information is used to indicate whether the brightness data output control signal is received. Exemplarily, when it is no longer necessary to display the reference image, the above process is terminated.
[0092] Figure 7 Schematic diagram of a process of driving a display screen to display a reference image provided by an embodiment of the present application. Figure 7 As shown, the application processor 101 inputs initial RGB image data to the input unit 1023, and the input unit 1023 transmits the initial RGB image data to the first control unit 1021. After receiving the initial RGB image data, the first control unit 1021 obtains a current consumption value based on the initial RGB image data, and transmits the current consumption value to the second control unit 1022. The second control unit 1022 obtains a first operating parameter based on the current consumption value, and stores the first operating parameter or the obtained second operating parameter in the register, whichever has the smaller power required to drive the display screen. Operation of obtaining the second operating parameter Figure 7 The operating parameters stored in the register are used to be output to the output unit 1024, which includes a source driver, a GOA driver and an EL driver, and the display screen 103 is driven by the source driver, the GOA driver and the EL driver to display an image.
[0093] For example, Figure 7 As shown, the first operating parameter includes at least one of an ACL parameter, an RGB value adjustment parameter, an SPR control parameter, a display area drive control parameter, a PSA control parameter, or an IVCV parameter. The second control unit 1022 may also include a selector, which may select between the acquired operating parameters and the initial operating parameters. For example, see Figure 7, the initial operating parameters include but are not limited to the initial APL red input and the initial display brightness value (DBV) input, the first selector can select between the initial APL red input and the first operating parameter to obtain a first selection result, the first selection result and the initial DBV input are input into the second selector together, the second selector can select between the first selection result and the initial DBV input to obtain a second selection result, and the second selection result is saved in the register. The first selector and the second selector can be manually controlled when making selections, that is, the first selection result output by the first selector can be manually selected, and the second selection result output by the second selector can also be manually selected.
[0094] In some embodiments, the application processor 101 can also control operating parameters of the electronic device in which the display screen 103 is located. For example, the application processor 101 can set at least one of the power used when the display screen 103 is in sleep / standby mode, the additional power used when the display screen 103 is turned on, the additional power used when the display screen 103 is at maximum brightness, the operating speed of the central processing unit (CPU) of the electronic device, or the total power consumed by the system when the CPU is in the system shutdown state of the electronic device.
[0095] The present application provides a display driving method, which can be applied to Figure 2 and Figure 5 The display driver is shown. Figure 8 A flow chart of a display driving method provided in an embodiment of the present application is as follows: Figure 8 As shown, the method includes but is not limited to steps 801 to 803.
[0096] Step 801: Acquire a current consumption value corresponding to a reference image through a first control unit, and transmit the current consumption value to a second control unit.
[0097] Exemplarily, the first control unit is connected to the application processor and transmits the current consumption value to the second control unit, including: receiving an enable instruction transmitted by the application processor through the first control unit, and executing the transmission of the current consumption value to the second control unit based on the enable instruction.
[0098] Exemplarily, the first control unit includes a shunt resistor and a regulating subunit, and the shunt resistor is connected to the regulating subunit; the current consumption value corresponding to the reference image is obtained through the first control unit, and the current consumption value is transmitted to the second control unit, including: adjusting the shunt resistor through the regulating subunit so that the measurement deviation of the shunt resistor is less than the reference threshold; measuring the current consumption value corresponding to the reference image through the shunt resistor, and transmitting the current consumption value to the second control unit.
[0099] Step 802: Setting a first operating parameter of the display screen based on the current consumption value through the second control unit, and acquiring a second operating parameter of the display screen transmitted by the application processor. Both the first operating parameter and the second operating parameter are used to drive the display screen to display a reference image.
[0100] Exemplarily, the current consumption value corresponding to the reference image includes the current consumption value of the RGB value displayed by each pixel of the display screen; setting the first operating parameter of the display screen based on the current consumption value by the second control unit includes: setting the first operating parameter based on the current consumption value of the RGB value displayed by each pixel by the second control unit.
[0101] Step 803 , the second control unit drives the display screen to display a reference image according to the first operating parameter or the second operating parameter which requires less power to drive the display screen.
[0102] Exemplarily, the method also includes: obtaining a remaining power through a first control unit, and transmitting the remaining power to a second control unit; driving the display screen to display a reference image according to the first operating parameter or the second operating parameter which requires less power to drive the display screen, including: adjusting the first operating parameter based on the remaining power through the second control unit to obtain a third operating parameter, the third operating parameter being used to drive the display screen to display the reference image; driving the display screen to display a reference image according to the second operating parameter or the third operating parameter which requires less power to drive the display screen, through the second control unit.
[0103] Exemplarily, the third operating parameter is obtained by adjusting the first operating parameter based on the remaining power through the second control unit, including: obtaining the correspondence between the remaining power and the operating parameter through the second control unit, searching for the correspondence between the remaining power and the operating parameter based on the remaining power, and obtaining the operating parameter corresponding to the remaining power; adjusting the first operating parameter based on the operating parameter corresponding to the remaining power through the second control unit to obtain the third operating parameter.
[0104] Exemplarily, the first operating parameter is adjusted based on the operating parameter corresponding to the remaining power by the second control unit to obtain the third operating parameter, including: when at least one of the first operating parameter or the operating parameter corresponding to the remaining power includes multiple types of parameters, for any type of parameter among the multiple types of parameters, the power required to drive the display screen according to the parameter of this type is compared to obtain a parameter of this type with a smaller power required to drive the display screen, and the obtained parameter is used as the parameter of this type in the third operating parameter; or, the total power consumption corresponding to the first operating parameter is compared with the total power consumption corresponding to the operating parameter corresponding to the remaining power by the second control unit, and the corresponding operating parameter with the smaller total power consumption is used as the third operating parameter.
[0105] Exemplarily, obtaining the correspondence between the remaining power and the operating parameters through the second control unit includes: obtaining the ICBM mode applied by the display driver through the second control unit, and obtaining the correspondence between the remaining power and the operating parameters based on the applied ICBM mode.
[0106] Figure 8 The execution process of each step can refer to the relevant description of the display driver 102 in the previous text, which will not be repeated here. In the method provided in the embodiment of the present application, the second control unit drives the display screen to display the reference image according to the operating parameters that require less power to drive the display screen, and the power consumption of driving the display screen to display the reference image is small, thereby achieving a better effect of saving power.
[0107] Fig. 9 It is a structural diagram of an electronic device provided in an embodiment of the present application. The electronic device may have relatively large differences due to different configurations or performances, and may include one or more processors 901, one or more memories 902, one or more display drivers 903 and a display screen 904, wherein the processor 901 may be a central processing unit (CPU), the display driver 903 may be an ODDI, and at least one computer program is stored in one or more memories 902, and at least one computer program is loaded and executed by one or more processors 901, so that the electronic device implements the display driving method provided in the above-mentioned various method embodiments. Of course, the electronic device may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the electronic device may also include other components for implementing device functions, which will not be repeated here.
[0108] Fig.10 1001 is a schematic diagram of the structure of another electronic device provided in an embodiment of the present application. The electronic device may be a vehicle-mounted terminal, a mobile phone, a PDA, a wearable device, a PPC, a tablet computer, a smart car machine, a smart TV, a smart speaker, a smart voice interaction device, a smart home appliance, an aircraft, a smart watch, etc. The electronic device may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal, etc. In general, the electronic device includes: a processor 1001 and a memory 1002.
[0109] The processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1001 may be implemented in at least one hardware form of digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). The processor 1001 may also include a main processor and a coprocessor, the main processor is a processor for processing data in the awake state, also known as a CPU; the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1001 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1001 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning. Exemplarily, the processor 1001 also includes a display driver, which is any one of ODDI, LCD DDI or TDDI.
[0110] The memory 1002 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 1002 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1002 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 1001 so that the electronic device implements the display driving method provided in the method embodiment of the present application.
[0111] In some embodiments, the electronic device may further optionally include: a peripheral device interface 1003 and at least one peripheral device. The processor 1001, the memory 1002 and the peripheral device interface 1003 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1003 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1004, a display screen 1005, a camera assembly 1006, an audio circuit 1007 and a power supply 1008.
[0112] The peripheral device interface 1003 may be used to connect at least one peripheral device related to input / output (I / O) to the processor 1001 and the memory 1002. In some embodiments, the processor 1001, the memory 1002, and the peripheral device interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral device interface 1003 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0113] The radio frequency circuit 1004 is used to receive and transmit radio frequency (RF) signals, also known as electromagnetic signals. The radio frequency circuit 1004 communicates with communication networks and other communication devices through electromagnetic signals. The radio frequency circuit 1004 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 1004 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1004 can communicate with other electronic devices through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a wireless fidelity (Wireless Fidelity, Wi-Fi) network. In some embodiments, the radio frequency circuit 1004 may also include circuits related to near field communication (NFC), which is not limited in this application.
[0114] The display screen 1005 is used to display the user interface (UI). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1005 is a touch display screen, the display screen 1005 also has the ability to collect touch signals on the surface or above the surface of the display screen 1005. The touch signal can be input to the processor 1001 as a control signal for processing. At this time, the display screen 1005 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1005 can be one, arranged on the front panel of the electronic device; in other embodiments, the display screen 1005 can be at least two, respectively arranged on different surfaces of the electronic device or in a folding design; in other embodiments, the display screen 1005 can be a flexible display screen, arranged on a curved surface or a folding surface of the electronic device. Even, the display screen 1005 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1005 can be prepared using materials such as LCD and OLED.
[0115] The camera assembly 1006 is used to capture images or videos. Optionally, the camera assembly 1006 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the electronic device, and the rear camera is arranged on the back of the electronic device. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and the virtual reality (VR) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1006 may also include a flash. The flash can be a monochrome temperature flash or a dual color temperature flash. A dual color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0116] The audio circuit 1007 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1001 for processing, or input them into the radio frequency circuit 1004 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged in different parts of the electronic device. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1001 or the radio frequency circuit 1004 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1007 may also include a headphone jack.
[0117] The power supply 1008 is used to power various components in the electronic device. The power supply 1008 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1008 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0118] In some embodiments, the electronic device further includes one or more sensors, including but not limited to: an acceleration sensor, a gyroscope sensor, a pressure sensor, an optical sensor, and a proximity sensor.
[0119] Those skilled in the art will understand that Fig.10 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0120] In an exemplary embodiment, an electronic device is also provided, the electronic device includes any of the above display drivers. In an exemplary embodiment, an electronic device is also provided, the electronic device includes a processor and a memory, and at least one computer program is stored in the memory. The at least one computer program is loaded and executed by one or more processors to enable the electronic device to implement any of the above display driving methods.
[0121] In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor of an electronic device to enable the electronic device to implement any of the above display driving methods.
[0122] In one possible implementation, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0123] In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device performs any of the above display driving methods.
[0124] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the reference image, first operating parameter, second operating parameter and third operating parameter involved in this application are all obtained with full authorization.
[0125] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0126] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein.
[0127] The embodiments described in the above exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0128] The above are merely exemplary embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A display driver, It is characterized in that The display driver comprises a first control unit and a second control unit, the first control unit is connected to the second control unit, and the second control unit is also connected to the application processor and the display screen; The first control unit is used to obtain a current consumption value corresponding to a reference image, and transmit the current consumption value to the second control unit; The second control unit is used to set a first operating parameter of the display screen based on the current consumption value, and obtain a second operating parameter of the display screen transmitted by the application processor, wherein the first operating parameter and the second operating parameter are both used to drive the display screen to display the reference image; The second control unit is further configured to drive the display screen to display the reference image according to the first operating parameter or the second operating parameter which requires less power to drive the display screen.
2. The display driver according to claim 1, It is characterized in that The first control unit is further used to obtain the remaining power and transmit the remaining power to the second control unit; The second control unit is used to adjust the first operating parameter based on the remaining power to obtain a third operating parameter, and the third operating parameter is used to drive the display screen to display the reference image; The second control unit is further used to drive the display screen to display the reference image according to the operating parameter of the second operating parameter or the third operating parameter which requires less power to drive the display screen.
3. The display driver according to claim 2, It is characterized in that The second control unit is used to obtain a correspondence between the remaining power and the operating parameters, and to search for the correspondence between the remaining power and the operating parameters based on the remaining power to obtain the operating parameters corresponding to the remaining power; The second control unit is further used to adjust the first operating parameter based on the operating parameter corresponding to the remaining power to obtain the third operating parameter.
4. The display driver according to claim 3, It is characterized in that The second control unit is configured to, when at least one of the first operating parameter or the operating parameter corresponding to the remaining power includes multiple types of parameters, compare the power required to drive the display screen according to any type of parameter among the multiple types of parameters, obtain a parameter with a smaller power required to drive the display screen among the any type of parameters, and use the obtained parameter as any type of parameter in the third operating parameter; or The second control unit is used to compare the total power consumption corresponding to the first operating parameter with the total power consumption corresponding to the operating parameter corresponding to the remaining power, and use the operating parameter with the smaller total power consumption as the third operating parameter.
5. The display driver according to claim 3 or 4, It is characterized in that The second control unit is used to obtain an intelligent combined battery management ICBM mode applied by the display driver, and based on the applied ICBM mode, obtain a corresponding relationship between the remaining power and the operating parameters.
6. The display driver according to any one of claims 1 to 4, It is characterized in that The first control unit includes a shunt resistor and a regulating subunit, and the shunt resistor is connected to the regulating subunit; The regulating subunit is used to adjust the shunt resistor so that the measurement deviation of the shunt resistor is less than a reference threshold; The shunt resistor is used to measure a current consumption value corresponding to the reference image and transmit the current consumption value to the second control unit.
7. A display driving method, It is characterized in that The method is applied to the display driver according to any one of claims 1 to 6, and the method comprises: acquiring a current consumption value corresponding to a reference image through the first control unit, and transmitting the current consumption value to the second control unit; Setting a first operating parameter of the display screen based on the current consumption value by the second control unit, acquiring a second operating parameter of the display screen transmitted by the application processor, wherein both the first operating parameter and the second operating parameter are used to drive the display screen to display the reference image; The second control unit drives the display screen to display the reference image according to the first operating parameter or the second operating parameter which requires less power to drive the display screen.
8. The method according to claim 7, It is characterized in that The method further comprises: acquiring the remaining power through the first control unit, and transmitting the remaining power to the second control unit; The step of driving the display screen to display the reference image according to the first operating parameter or the second operating parameter which requires less power to drive the display screen comprises: adjusting the first operating parameter based on the remaining power by the second control unit to obtain a third operating parameter, wherein the third operating parameter is used to drive the display screen to display the reference image; The second control unit drives the display screen to display the reference image according to the second operating parameter or the third operating parameter which requires less power to drive the display screen.
9. The method according to claim 8, It is characterized in that The adjusting the first operating parameter based on the remaining power by the second control unit to obtain a third operating parameter includes: Acquire a correspondence between a remaining power and an operating parameter through the second control unit, search for the correspondence between the remaining power and the operating parameter based on the remaining power, and acquire the operating parameter corresponding to the remaining power; The first operating parameter is adjusted by the second control unit based on the operating parameter corresponding to the remaining power to obtain the third operating parameter.
10. The method according to claim 9, It is characterized in that The adjusting the first operating parameter based on the operating parameter corresponding to the remaining power by the second control unit to obtain the third operating parameter includes: When at least one of the first operating parameter or the operating parameter corresponding to the remaining power includes multiple types of parameters, the second control unit compares the power required to drive the display screen according to any type of parameter among the multiple types of parameters, obtains a parameter with a smaller power required to drive the display screen among the any type of parameters, and uses the obtained parameter as any type of parameter in the third operating parameter; or The second control unit compares the total power consumption corresponding to the first operating parameter with the total power consumption corresponding to the operating parameter corresponding to the remaining power, and uses the operating parameter with the smaller total power consumption as the third operating parameter.
11. The method according to claim 9 or 10, It is characterized in that The obtaining, by the second control unit, a correspondence between the remaining power and the operating parameter includes: The intelligent combined battery management ICBM mode applied by the display driver is obtained through the second control unit, and the corresponding relationship between the remaining power and the operating parameters is obtained based on the applied ICBM mode.
12. The method according to any one of claims 7 to 10, It is characterized in that The first control unit includes a shunt resistor and a regulating subunit, and the shunt resistor is connected to the regulating subunit; The acquiring, by the first control unit, a current consumption value corresponding to the reference image, and transmitting the current consumption value to the second control unit includes: The shunt resistor is adjusted by the regulating subunit so that a measurement deviation of the shunt resistor is less than a reference threshold value; The current consumption value corresponding to the reference image is measured through the shunt resistor, and the current consumption value is transmitted to the second control unit.
13. An electronic device, It is characterized in that The electronic device comprises the display driver as claimed in any one of claims 1-6.
14. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores at least one computer program, and the at least one computer program is loaded and executed by a processor of a computer, so that the computer implements the display driving method according to any one of claims 7 to 12.
15. A computer program product, It is characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the display driving method as described in any one of claims 7-12.
