WO2021093829A1 - 一种屏幕亮度调节方法及移动终端 - Google Patents

一种屏幕亮度调节方法及移动终端 Download PDF

Info

Publication number
WO2021093829A1
WO2021093829A1 PCT/CN2020/128517 CN2020128517W WO2021093829A1 WO 2021093829 A1 WO2021093829 A1 WO 2021093829A1 CN 2020128517 W CN2020128517 W CN 2020128517W WO 2021093829 A1 WO2021093829 A1 WO 2021093829A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
screen
image
backlight
display
Prior art date
Application number
PCT/CN2020/128517
Other languages
English (en)
French (fr)
Inventor
刘良祥
Original Assignee
深圳市道通科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市道通科技股份有限公司 filed Critical 深圳市道通科技股份有限公司
Publication of WO2021093829A1 publication Critical patent/WO2021093829A1/zh
Priority to US17/661,351 priority Critical patent/US20220254319A1/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/2092Details of a display terminals using a flat panel, the details relating to the control arrangement of the display terminal and to the interfaces thereto
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/066Adjustment of display parameters for control of contrast
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2330/00Aspects of power supply; Aspects of display protection and defect management
    • G09G2330/02Details of power systems and of start or stop of display operation
    • G09G2330/021Power management, e.g. power saving
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2354/00Aspects of interface with display user
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/14Detecting light within display terminals, e.g. using a single or a plurality of photosensors
    • G09G2360/141Detecting light within display terminals, e.g. using a single or a plurality of photosensors the light conveying information used for selecting or modulating the light emitting or modulating element
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/14Detecting light within display terminals, e.g. using a single or a plurality of photosensors
    • G09G2360/144Detecting light within display terminals, e.g. using a single or a plurality of photosensors the light being ambient light
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • This application relates to the technical field of terminal equipment, and in particular to a method for adjusting screen brightness and a mobile terminal.
  • terminal devices such as smart phones, tablet computers and other mobile terminals basically have built-in light sensors, which detect the intensity of ambient light through the light sensor, and adjust the screen brightness of the terminal device according to the intensity of the ambient light.
  • the adjustment of the screen brightness of the terminal device is mostly by controlling the screen backlight to adjust the screen brightness.
  • the power consumption of the backlight of the screen is usually relatively large. If the backlight is adjusted for the display effect in a high-brightness environment, the power consumption of the terminal device will increase, thereby reducing the battery life of the terminal device and shortening the battery life in the long term.
  • the technical problem to be solved by the present invention is to provide a screen brightness adjustment method and a mobile terminal to solve the technical problem of high power consumption in the prior art when adjusting the screen brightness.
  • One aspect of the embodiments of the present invention provides a method for adjusting screen brightness, which is applied to a mobile terminal, and the method includes:
  • the obtaining the screen brightness adjustment parameter corresponding to the environmental brightness value includes:
  • the backlight reference current and the image rendering parameter corresponding to the environmental brightness value are searched in a preset mapping table, and the screen brightness adjustment parameter includes the backlight reference current and the image rendering parameter.
  • the adjusting the screen brightness of the mobile terminal according to the screen brightness adjustment parameter includes:
  • the rendering the image displayed on the screen according to the image rendering parameter includes:
  • the image rendering parameters include image grayscale, image contrast, and image saturation.
  • a mobile terminal in another aspect of the embodiments of the present invention, includes a light sensor and a microprocessor,
  • the light sensor is used to collect the environmental brightness value of the current application environment
  • the microprocessor includes:
  • At least one processor and
  • a memory the memory is in communication connection with the at least one processor, 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
  • the processor can execute:
  • the screen brightness adjustment parameters include backlight reference current and image rendering parameters
  • the processor is also used for:
  • the processor is further configured to:
  • the mobile terminal further includes an image processor,
  • the image processor is configured to render the image displayed on the screen according to the image rendering parameter.
  • the mobile terminal further includes a driver interface and a display,
  • the image processor is used for:
  • the driver interface is used to transmit the superimposed data to the display
  • the display is used to display the rendered image.
  • the embodiment of the present invention provides a screen brightness adjustment method and a mobile terminal.
  • the method obtains the environment brightness value of the current application environment and the backlight level of the mobile terminal, and when the environment brightness value and the backlight level of the mobile terminal both meet preset conditions , Acquire the screen brightness adjustment parameter according to the environmental brightness value, and finally adjust the screen height of the mobile terminal according to the screen brightness adjustment parameter.
  • This embodiment does not directly adjust the backlight of the screen when adjusting the screen brightness according to the ambient light, but adjusts the screen brightness according to the screen brightness adjustment parameters, which reduces the system consumption while making the display effect of the screen clear.
  • FIG. 1 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention.
  • FIG. 2 is a flowchart of a method for adjusting screen brightness according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for rendering an image displayed on the screen according to the image rendering parameter according to an embodiment of the present invention
  • FIG. 5 is an effect diagram after image enhancement processing provided by an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a screen brightness adjustment device provided by an embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal 100 includes a light sensor 101, a microprocessor 102, an image processor 103, a driver interface 104, and a display 105.
  • the microprocessor 102 is connected to the light sensor 101 and the image processor 103 respectively, and the image processor 103 is connected to the display 105 through the driver interface 104.
  • the light sensor 101 is used to collect the environmental brightness value of the current application environment, and transmit the collected environmental brightness value to the microprocessor 102.
  • the number of the light sensor 101 may be one or more.
  • the light sensor 101 may be located at the lower end of the screen of the mobile terminal 100, so as to prevent the light emitted by the screen itself from interfering with the detection of the light sensor. In practical applications, the light sensor 101 may also be arranged at other positions of the mobile terminal 100.
  • the microprocessor 102 is the core of the mobile terminal 100 to adjust the screen brightness. It can perform one or more logical judgment steps, and communicate with the corresponding interface to achieve interaction with external devices (for example, obtain the environment from the light sensor 101). Brightness value, transfer image rendering parameters to the image processor 103, etc.).
  • the microprocessor 102 may be any suitable processor with calculation and logic control functions, such as a single-chip microcomputer.
  • the microprocessor 102 may include: at least one processor, and a memory communicatively connected with the at least one processor.
  • the processor may be any suitable type of single-threaded or multi-threaded processor with one or more processing cores as the core of the microprocessor 102, which is used to obtain data, perform logical operation functions, and download data. Send the result of the calculation.
  • the memory serves as a non-volatile computer-readable storage medium, such as at least one magnetic disk storage device, a flash memory device, a distributed storage device remotely arranged relative to the processor, or other non-volatile solid-state storage devices.
  • the memory may have a data storage area to store the result of the operation issued by the processor.
  • the memory may also have a program storage area for storing non-volatile software programs, non-volatile computer executable programs and modules for the processor to call to make the processor execute one or more method steps.
  • 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: obtain the Ambient brightness value; acquiring the backlight level of the mobile terminal; when the ambient brightness value is greater than a first preset threshold and the backlight level is greater than a second preset threshold, acquiring the screen brightness adjustment parameter corresponding to the ambient brightness value ; Adjust the screen brightness of the mobile terminal according to the screen brightness adjustment parameter.
  • the environmental brightness value is obtained from the light sensor 101.
  • the backlight level of the mobile terminal refers to a parameter used to reflect the brightness of the backlight of the display screen of the mobile terminal.
  • the brightness of the backlight can be determined according to related parameters of the light-emitting element, such as the voltage and current of the light-emitting element.
  • the current backlight level of the mobile terminal 100 may be automatically obtained by the processor.
  • the screen brightness adjustment parameters include backlight reference current and image rendering parameters
  • the processor is further configured to: look up the backlight reference current and image rendering parameters corresponding to the environmental brightness value in a preset mapping table, so as to obtain the current
  • the image rendering parameters include image grayscale, image contrast, image saturation, image sharpening, image resolution, and so on.
  • a mapping table of correspondences between the environmental brightness value and the backlight reference current and the image rendering parameters can be established in advance, and the backlight reference current and the backlight reference current and the image rendering parameters can be obtained by looking up the table after obtaining the environmental brightness value of the current application environment.
  • the mapping table can be obtained through repeated experiments for many times.
  • the backlight reference current is used to adjust the backlight current of the mobile terminal
  • the image rendering parameter is used to adjust the effect of the image displayed on the screen of the mobile terminal.
  • the processor is further configured to adjust the backlight reference current of the mobile terminal to the acquired backlight reference current.
  • the microprocessor 102 transmits the image rendering parameters to an image processor (Graphics Processing Unit, GPU) 103, and the image processor 103 is configured to render the image displayed on the screen according to the image rendering parameter .
  • an image processor Graphics Processing Unit, GPU
  • the image processor 103 is configured to: respectively set a layer for the application displayed on the screen, and apply for memory space for each layer; and display the UI icon of the application on the screen Decompose into display nodes, and store the display nodes in a preset queue; read the display nodes in the queue, and perform image rendering on the display nodes according to image rendering parameters; perform the rendered display
  • the node is written into the memory space corresponding to the display node; the layer corresponding to the memory space after being written into the display node is superimposed, and the superimposed data is transmitted to the driver interface 104.
  • the image processor 103 may include an image synthesizer, the image synthesizer is used to superimpose the layers corresponding to the memory space written into the display node, and transmit the superimposed data to the driver interface 104.
  • the driver interface 104 is used to transmit the data delivered by the image processor 103.
  • the driver interface 104 can be regarded as a piece of memory, which can either write data to the memory, or read data.
  • the superimposed data is transmitted to the display 105 through the driver interface 104.
  • the display 105 is configured to display the rendered image according to the superimposed data.
  • the mobile terminals of the embodiments of the present invention exist in various forms, including but not limited to: mobile phones, tablet computers, e-books, smart bracelets, handheld game consoles, car navigation devices and other terminal devices including display screens.
  • the embodiment of the present invention provides a mobile terminal, when the ambient light brightness is strong, the mobile terminal can render the image displayed on the screen according to the image rendering parameters, and at the same time, adjust the backlight reference current to within the appropriate backlight current range , Without the need for stronger ambient light to enhance the backlight current.
  • the mobile terminal provided by the embodiment of the present invention can not only make the display effect of the screen clear and make the display effect of the screen meet the requirements of the current application environment, but also can reduce the power consumption of the system.
  • FIG. 2 is a flowchart of a method for adjusting screen brightness according to an embodiment of the present invention.
  • the method is applied to mobile terminals, which specifically include mobile phones, tablet computers, e-books, smart bracelets, handheld game consoles, car navigation devices, and other terminal devices that include display screens.
  • the mobile terminal further includes at least one light sensor, and the light sensor is used to detect ambient light.
  • the system to which the method for adjusting the screen brightness of the mobile terminal can be applied may be an Android system, an IOS system, or a Windows phone system, etc.
  • the method includes:
  • Step 11 Obtain the environmental brightness value of the current application environment.
  • the environmental brightness value of the application environment may be collected by a light sensor built into the mobile terminal.
  • the user may trigger the light sensor to collect the environmental brightness value, for example, the user triggers a certain physical button or virtual button on the mobile terminal, thereby triggering the light sensor to collect the environmental brightness value; or the user may use voice Control the light sensor to collect environmental brightness values, etc.
  • the mobile terminal system controls the light sensor to collect environmental brightness values according to preset conditions. For example, the mobile terminal obtains the system time and obtains its own current location. When the system time and its own current When the locations meet the preset conditions, the light sensor is controlled to collect the environmental brightness value, where, for example, the system time is 12 noon, and the mobile terminal is currently outdoors, then the preset conditions are met At this time, the light sensor is triggered to collect the brightness value of the current application environment.
  • the number of the light sensor may be one or more, and the light sensor may be located at the lower end of the screen of the mobile terminal, so as to prevent the light emitted by the screen itself from interfering with the detection of the light sensor.
  • the environmental brightness value may also be detected in other ways.
  • photoresistors and other devices based on this hardware setting, when the brightness of the ambient light where the mobile terminal is located changes, the light sensor unit can feed this change back to the system level of the mobile terminal.
  • Step 12 Obtain the backlight level of the mobile terminal.
  • the backlight level of the mobile terminal refers to a parameter used to reflect the brightness of the backlight of the display screen of the mobile terminal.
  • the brightness level of the screen in the current Android system ranges from 0 to 255, and 255 is the maximum backlight level.
  • the user can adjust the backlight brightness of the display based on the range of 0 to 255.
  • the backlight level corresponding to the Android system can also be 0 to 1024 levels, 0 to 2048 levels, and so on.
  • the backlight mode of the mobile terminal includes an automatic backlight mode and a manual backlight mode.
  • the automatic backlight mode automatically adjusts the backlight level of the screen according to the current ambient light intensity
  • the manual backlight mode is set by the user to maintain a backlight level.
  • the backlight level can be modified by the user when the backlight level needs to be modified. Among them, both of these two backlight modes can be applied to this embodiment.
  • the current backlight level of the mobile terminal is automatically obtained from the system level of the mobile terminal.
  • Step 13 When the environmental brightness value is greater than a first preset threshold and the backlight level is greater than a second preset threshold, obtain a screen brightness adjustment parameter corresponding to the environmental brightness value.
  • the first preset threshold and the second preset threshold may be parameters set by the mobile terminal system, which have been set when the mobile terminal leaves the factory.
  • the first preset threshold value is the brightness value. When the environment brightness value of the current environment is greater than the first preset threshold value, it indicates that the current environment is a high-brightness environment. Therefore, those skilled in the art can specifically set the first brightness value based on experience.
  • the second preset threshold represents the backlight level. In this embodiment, the hardware maximum backlight level of the mobile terminal is 255, and the second preset threshold can be set according to 255*94%, that is, the second The preset threshold is 240. Of course, in the actual application process, the second preset threshold may also be other parameters, and is not limited to 240.
  • a mapping table is provided between the environmental brightness value and the screen brightness adjustment parameter, wherein the screen brightness adjustment parameter includes a backlight parameter and an image rendering parameter, and the backlight parameter includes a backlight Reference current, backlight reference voltage, etc.
  • the image rendering parameters include image grayscale, image contrast, image saturation, image sharpening, image resolution, and so on.
  • a mapping table of correspondences between the environmental brightness value, the backlight parameter, and the image rendering parameter may be established in advance. After obtaining the environmental brightness value of the current application environment, the screen brightness adjustment parameter is obtained by looking up a table.
  • the obtaining the screen brightness adjustment parameter corresponding to the environmental brightness value includes: searching the preset mapping table for the brightness value corresponding to the environment A backlight reference current and an image rendering parameter, where the backlight reference current and the image rendering parameter are the screen brightness adjustment parameters.
  • the mobile terminal system looks up the table according to the environmental brightness value, thereby finding the backlight reference current and the image rendering parameter corresponding to the current environmental brightness value in the preset mapping table.
  • the preset mapping table includes environmental brightness values, and backlight parameters and image rendering parameters corresponding to the environmental brightness values, and the values in the mapping table can be specifically obtained through multiple experiments.
  • the mapping table is given in Table 1 below, where Lumix represents the ambient brightness, the backlight parameter is the backlight reference current, and the rendering parameters include image grayscale, contrast, and saturation.
  • Lumix Current base (MA) Image grayscale Contrast saturation 13,600 20 0.62 1.84 1.5 13000 19.2 0.64 1.8 1.45 12500 18.6 0.68 1.73 1.4 12000 17.8 0.74 1.65 1.35 11500 17.2 0.8 1.57 1.3 11000 16.6 0.86 1.49 1.24 10000 16 0.9 1.4 1.18 9000 15.8 0.92 1.3 1.1 8000 15.6 0.94 1.2 1.06 7000 15.4 0.97 1.12 1.04 6000 15.2 0.99 1.06 1.02 5000 15 1 1 1 4000 14 1 1 1 1 1
  • the backlight reference current is used to adjust the backlight current of the mobile terminal
  • the image rendering parameter is used to adjust the effect of the image displayed on the screen of the mobile terminal.
  • Step 14 Adjust the screen brightness of the mobile terminal according to the screen brightness adjustment parameter.
  • the adjusting the screen brightness of the mobile terminal according to the screen brightness adjustment parameter includes: adjusting the backlight reference current of the mobile terminal to the acquired backlight reference current; The image displayed on the screen is rendered.
  • the backlight reference current of the mobile terminal is adjusted to the acquired backlight reference current, and the acquired backlight reference current may be a backlight current within a proper range for maintaining the screen display, and the backlight current is not used when the backlight current is used. Will speed up the power consumption of the system. For example, if the default backlight current of the system is 20MA (that is, the current corresponding to the maximum backlight level), then the acquired backlight reference current may be 14MA, or the acquired backlight reference current may continue to be 20MA.
  • This embodiment mainly performs rendering processing on the image in the following manner, so as to improve the screen display effect.
  • the rendering the image displayed on the screen according to the image rendering parameter includes:
  • Step 141 Set a layer for the application programs displayed on the screen, and apply for memory space for each layer.
  • the screen will display multiple applications, and the multiple applications respectively correspond to a layer, and each layer will apply for a piece of memory.
  • Step 142 Decompose the UI icon of the application program displayed on the screen into display nodes, and store the display nodes in a preset queue.
  • each UI displayed on the screen can be decomposed into each display node through the hardware accelerator of the Android system.
  • what content needs to be displayed in an image is usually defined by the application in a layout file.
  • the layout The file is parsed to generate a sub-window, and the hardware accelerator of the Android system analyzes the attributes of each sub-window to obtain the parameters of each display node.
  • the number of display nodes that a UI icon is divided into is determined according to the display content of the display interface. For example, if a display interface displays a picture, then the display interface corresponds to a display node. If the display interface contains 10 pictures, then The display interface corresponds to ten display nodes. Each display node contains the size, position, content and color of the window.
  • the preset queue may be a data storage list, which is used to store the display nodes.
  • all display nodes corresponding to an application program may be stored in a group, and the display nodes are sequentially stored according to the order in which the application programs are displayed on the screen.
  • Step 143 Read the display nodes in the queue, and perform image rendering on the display nodes according to the image rendering parameters.
  • performing image rendering on the display node according to the image rendering parameters means rendering the display node according to image grayscale, image contrast, and image saturation. For example, adjusting the grayscale, contrast, and saturation of the display node to the grayscale, contrast, and saturation corresponding to the current environmental brightness, and so on.
  • Step 144 Write the rendered display node into the memory space corresponding to the display node.
  • Step 145 Superimpose the layer corresponding to the memory space written into the display node, and transfer the superimposed data to the display through the driver interface for display.
  • the process of superimposing the layer corresponding to the memory space after writing the display node can be completed by the image synthesizer of the mobile terminal.
  • the above-mentioned rendering is implemented by sampling the ambient light through the system to obtain the rendering parameters of the image.
  • the image GPU graphics processing unit
  • the effect of the image is transformed and the display effect of the image is changed. Make the image look "brighter".
  • Figure 4 is an effect diagram before image enhancement
  • Figure 5 is an effect diagram after image enhancement through the above rendering method.
  • the above adjustment of the screen brightness of the mobile terminal according to the screen brightness adjustment parameter is mainly to adjust the screen brightness according to the backlight reference current and the image rendering parameters. In other embodiments, it can also be adjusted according to other parameters. Screen brightness.
  • the main application scenario of the embodiment of the present invention is that when the ambient light is high brightness, the backlight reference current is not increased, but the screen display image is rendered to make the image display effect clear.
  • the above method may be used to adjust the display effect of the screen even when the ambient light is not high brightness.
  • the display effect of the screen image can be adjusted according to the change of the ambient light by the above-mentioned method of rendering the image according to the rendering parameters, and the backlight current can be maintained in an appropriate range. As a result, not only can the display effect of the screen be improved, but also power consumption can be reduced.
  • the embodiment of the present invention provides a screen brightness adjustment method.
  • the method obtains the environment brightness value of the current application environment and the backlight level of the mobile terminal.
  • the environmental brightness value acquires screen brightness adjustment parameters, and finally adjusts the screen height of the mobile terminal according to the screen brightness adjustment parameters, where the screen brightness adjustment parameters include backlight reference current and image rendering parameters.
  • This embodiment mainly uses image rendering parameters to render the image displayed on the screen, and at the same time, adjusts the backlight reference current to a suitable backlight current range, thereby not only making the display effect of the screen clear, but also making the screen display The effect meets the requirements of the current application environment and can reduce system power consumption.
  • FIG. 6 is a schematic structural diagram of a screen brightness adjustment device provided by an embodiment of the present invention.
  • the device 20 is applied to a mobile terminal, and the device 20 includes: a first acquisition module 201, a second acquisition module 202, a third acquisition module 203, and a brightness adjustment module 204.
  • the first obtaining module 201 is used to obtain the ambient brightness value of the current application environment; the second obtaining module 202 is used to obtain the backlight level of the mobile terminal; the third obtaining module 203 is used to obtain the current
  • the screen brightness adjustment parameter corresponding to the environmental brightness value is acquired; the brightness adjustment module 204 is configured to adjust according to the screen brightness The adjustment parameter adjusts the screen brightness of the mobile terminal.
  • the third acquiring module 203 is specifically configured to: when the environmental brightness value is greater than a first preset threshold and the backlight level is greater than a second preset threshold, look up the environmental brightness in a preset mapping table The backlight reference current and the image rendering parameter corresponding to the value, and the screen brightness adjustment parameter includes the backlight reference current and the image rendering parameter.
  • the brightness adjustment module 204 includes a backlight current adjustment unit 2041 and an image rendering unit 2042.
  • the backlight current adjusting unit 2041 is configured to adjust the backlight reference current of the mobile terminal to the acquired backlight reference current;
  • the image rendering unit 2042 is configured to perform an adjustment on the screen according to the image rendering parameters The displayed image is rendered.
  • the image rendering unit 2042 is specifically configured to: set a layer for the application displayed on the screen, and apply for memory space for each layer; and display the UI icon of the application on the screen Decompose into display nodes, and store the display nodes in a preset queue;
  • the image rendering parameters include image grayscale, image contrast, and image saturation.
  • the screen brightness adjustment device provided in this embodiment can execute the screen brightness adjustment method provided in the foregoing embodiment, and has corresponding functional modules and beneficial effects for the execution method.
  • the screen brightness adjustment method provided in the embodiment of the present invention please refer to the screen brightness adjustment method provided in the embodiment of the present invention.
  • the embodiment of the present invention provides a screen brightness adjustment device.
  • the device obtains the environment brightness value of the current application environment and the backlight level of the mobile terminal.
  • the environmental brightness value acquires screen brightness adjustment parameters, and finally adjusts the screen height of the mobile terminal according to the screen brightness adjustment parameters, where the screen brightness adjustment parameters include backlight reference current and image rendering parameters.
  • This embodiment mainly uses image rendering parameters to render the image displayed on the screen, and at the same time, adjusts the backlight reference current to a suitable backlight current range, thereby not only making the display effect of the screen clear, but also making the screen display The effect meets the requirements of the current application environment and can reduce system power consumption.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)
  • Liquid Crystal Display Device Control (AREA)

Abstract

一种屏幕亮度调节方法及移动终端(100),屏幕亮度调节方法包括:获取当前应用环境的环境亮度值(11);获取移动终端(100)的背光等级(12);当环境亮度值大于第一预设阈值且背光等级大于第二预设阈值时,获取环境亮度值对应的屏幕亮度调节参数(13);根据屏幕亮度调节参数调节移动终端(100)的屏幕亮度(14)。在根据环境光调节屏幕亮度时不直接调节屏幕的背光,而是根据屏幕亮度调节参数来调节屏幕亮度,在使屏幕的显示效果变得清晰的同时降低了系统消耗。

Description

一种屏幕亮度调节方法及移动终端
本申请要求于2019年11月13日提交中国专利局、申请号为201911109194.8、申请名称为“一种屏幕亮度调节方法及移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端设备技术领域,尤其涉及一种屏幕亮度调节方法及移动终端。
背景技术
目前,终端设备比如智能手机、平板电脑等移动终端基本都内置有光线传感器,通过光线传感器检测环境光的强度,根据环境光的强度调节终端设备的屏幕亮度。其中,调节终端设备的屏幕亮度大多都是通过控制屏幕背光来调节屏幕亮度的。
然而,通常屏幕的背光功耗比较大,如果在高亮度环境下为了显示效果调节背光的话,会导致终端设备的功耗增加,从而减少了终端设备的续航时间,长期会造成电池寿命缩短。
发明内容
本发明要解决的技术问题是提供一种屏幕亮度调节方法及移动终端,解决现有技术在调节屏幕亮度时存在功耗大的技术问题。
本发明实施例的一个方面,提供一种屏幕亮度调节方法,应用于移动终端,所述方法包括:
获取当前应用环境的环境亮度值;
获取所述移动终端的背光等级;
当所述环境亮度值大于第一预设阈值且所述背光等级大于第二预设阈值时,获取所述环境亮度值对应的屏幕亮度调节参数;
根据所述屏幕亮度调节参数调节所述移动终端的屏幕亮度。
可选地,所述获取所述环境亮度值对应的屏幕亮度调节参数包括:
在预设的映射表中查找所述环境亮度值对应的背光基准电流和图像渲染参数,所述屏幕亮度调节参数包括所述背光基准电流和所述图像渲染参数。
可选地,所述根据所述屏幕亮度调节参数调节所述移动终端的屏幕亮度包括:
将所述移动终端的背光基准电流调节为获取到的所述背光基准电流;
根据所述图像渲染参数对所述屏幕上显示的图像进行渲染。
可选地,所述根据所述图像渲染参数对所述屏幕上显示的图像进行渲染包括:
将所述屏幕显示的应用程序分别设置一图层,并为每一图层申请内存空间;
将展示于所述屏幕的所述应用程序的UI图标分解成显示节点,并在预设的队列中存储所述显示节点;
读取所述队列中的显示节点,并根据图像渲染参数对所述显示节点进行图像渲染。
可选地,所述图像渲染参数包括图像灰度、图像对比度以及图像饱和度。
本发明实施例的另一个方面,提供一种移动终端,所述移动终端包括光线传感器和微处理器,
所述光线传感器用于采集当前应用环境的环境亮度值;
所述微处理器包括:
至少一个处理器,以及
存储器,所述存储器与所述至少一个处理器通信连接,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行:
获取所述环境亮度值;
获取所述移动终端的背光等级;
当所述环境亮度值大于第一预设阈值且所述背光等级大于第二预设阈值时,获取所述环境亮度值对应的屏幕亮度调节参数;
根据所述屏幕亮度调节参数调节所述移动终端的屏幕亮度。
可选地,所述屏幕亮度调节参数包括背光基准电流和图像渲染参数,
所述处理器还用于:
在预设的映射表中查找所述环境亮度值对应的背光基准电流和图像渲染参数。
可选地,所述处理器还用于:
将所述移动终端的背光基准电流调节为获取到的所述背光基准电流。
可选地,所述移动终端还包括图像处理器,
所述图像处理器用于根据所述图像渲染参数对所述屏幕上显示的图像进行渲染。
可选地,所述移动终端还包括驱动程序接口和显示器,
所述图像处理器用于:
将所述屏幕显示的应用程序分别设置一图层,并为每一图层申请内存空间;
将展示于所述屏幕的所述应用程序的UI图标分解成显示节点,并在预设的队列中存储所述显示节点;
读取所述队列中的显示节点,并根据图像渲染参数对所述显示节点进行图像渲染;
将进行渲染后的所述显示节点写入所述显示节点对应的内存空间;
将写入显示节点后的内存空间所对应的图层进行叠加,并将叠加后的数据传输至所述驱动程序接口;
所述驱动程序接口,用于将所述叠加后的数据传输至所述显示器;
所述显示器,用于显示渲染后的图像。
本发明实施例提供了一种屏幕亮度调节方法和移动终端,该方法通过获取当前应用环境的环境亮度值和移动终端的背光等级,当该环境亮度值和移动终端背光等级均满足预设条件时,根据所述环境亮度值获取屏幕亮度调节参数,最后根据屏幕亮度调节参数来调节移动终端的屏幕高度。该实施方式在根据环境光调节屏幕亮度时不直接调节屏幕的背光,而是根据屏幕亮度调节参数来调节屏幕亮度,在使屏幕的显示效果变得清晰的同时降低了系统消耗。
附图说明
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1是本发明实施例提供的一种移动终端的结构示意图;
图2是本发明实施例提供的一种屏幕亮度调节方法的流程图;
图3是本发明实施例提供的根据所述图像渲染参数对所述屏幕上显示的图像进行渲染的方法的流程图;
图4是本发明实施例提供的一种进行图像增强处理前的效果图;
图5是本发明实施例提供的一种进行图像增强处理后的效果图;
图6是本发明实施例提供的一种屏幕亮度调节装置的结构示意图。
具体实施方式
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。
需要说明的是,如果不冲突,本发明实施例中的各个特征可以相互组合,均在本发明的保护范围之内。另外,虽然在装置示意图中进行了功能模块的划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置示意图中的模块划分,或流程图中的顺序执行所示出或描述的步骤。
请参阅图1,图1是本发明实施例提供的一种移动终端的结构示意图。该移动终端100包括光线传感器101、微处理器102、图像处理器103、驱动程序接口104以及显示器105。所述微处理器102分别与所述光线传感器101、所述图像处理器103连接,所述图像处理器103通过所述驱动程序接口104与所述显示器105连接。
所述光线传感器101用于采集当前应用环境的环境亮度值,并将采集的所 述环境亮度值传输给微处理器102。所述光线传感器101的数量可以是一个或者多个。所述光线传感器101可以位于移动终端100的屏幕下端,从而避免屏幕本身发出的光线干扰光线传感器的检测,在实际应用中,所述光线传感器101也可以设置于所述移动终端100的其他位置。
所述微处理器102是所述移动终端100调节屏幕亮度的核心,其可以执行一个或者多个逻辑判断步骤,并通信相应的接口实现与外部设备之间的交互(例如从光线传感器101获得环境亮度值,向所述图像处理器103传递图像渲染参数,等)。所述微处理器102可以为任何合适的具有计算和逻辑控制功能的处理器,例如单片机等。
在本实施例中,所述微处理器102可以包括:至少一个处理器,以及与所述至少一个处理器通信连接的存储器。
其中,所述处理器可以是任何合适类型的单线程或者多线程的,具有一个或者多个处理核心的处理器,作为微处理器102的核心,其用于获取数据、执行逻辑运算功能以及下发运算处理结果。
所述存储器作为一种非易失性计算机可读存储介质,例如至少一个磁盘存储器件、闪存器件、相对于处理器远程设置的分布式存储设备或者其他非易失性固态存储器件。所述存储器可以具有数据存储区,用以存储处理器下发的运算处理结果。所述存储器还可以具有程序存储区,用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,供处理器调用以使处理器执行一个或者多个方法步骤。在本实施例中,所述存储器中存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行:获取所述环境亮度值;获取所述移动终端的背光等级;当所述环境亮度值大于第一预设阈值且所述背光等级大于第二预设阈值时,获取所述环境亮度值对应的屏幕亮度调节参数;根据所述屏幕亮度调节参数调节所述移动终端的屏幕亮度。
其中,所述环境亮度值是从所述光线传感器101获得的。所述移动终端的背光等级指的是用于反应移动终端显示屏的背光亮度的参数。所述背光亮度可以根据发光元件的相关参数来确定,比如发光元件的电压、电流等。可以由所述处理器自动获取所述移动终端100当前的背光等级。
所述屏幕亮度调节参数包括背光基准电流和图像渲染参数,所述处理器还用于:在预设的映射表中查找所述环境亮度值对应的背光基准电流和图像渲染参数,从而获得当前的环境亮度值所对应的背光基准电流和图像渲染参数。所述图像渲染参数包括图像灰度、图像对比度、图像饱和度、图像锐化、图像分辨率等等。可以预先建立所述环境亮度值与所述背光基准电流、所述图像渲染参数之间的对应关系映射表,在获取到当前应用环境的环境亮度值后通过查表来获取所述背光基准电流和图像渲染参数。所述映射表可以通过多次重复实验得到。
所述背光基准电流用于调节所述移动终端的背光电流,所述图像渲染参数 用于调节所述移动终端的屏幕显示的图像的效果,通过同时调节所述背光基准电流和图像渲染参数,从而可以在保证屏幕显示效果较好的情况下而不提高移动终端的背光功耗。
其中,所述处理器还用于将所述移动终端的背光基准电流调节为获取到的所述背光基准电流。所述微处理器102将所述图像渲染参数传输给图像处理器(Graphics Processing Unit,GPU)103,所述图像处理器103用于根据所述图像渲染参数对所述屏幕上显示的图像进行渲染。
具体地,所述图像处理器103用于:将所述屏幕显示的应用程序分别设置一图层,并为每一图层申请内存空间;将展示于所述屏幕的所述应用程序的UI图标分解成显示节点,并在预设的队列中存储所述显示节点;读取所述队列中的显示节点,并根据图像渲染参数对所述显示节点进行图像渲染;将进行渲染后的所述显示节点写入所述显示节点对应的内存空间;将写入显示节点后的内存空间所对应的图层进行叠加,并将叠加后的数据传输至所述驱动程序接口104。
其中,所述图像处理器103可以包括图像合成器,所述图像合成器用于将写入显示节点后的内存空间所对应的图层进行叠加,并将叠加后的数据传输至所述驱动程序接口104。
其中,所述驱动程序接口104用于传输所述图像处理器103传递的数据。所述驱动程序接口104可以看成是一块内存,既可以向内存中写数据,也可以读数据。在本实施例中,通过所述驱动程序接口104将叠加后的数据传输至显示器105。所述显示器105用于根据所述叠加后的数据显示渲染后的图像。
本发明实施例的移动终端以多种形式存在,包括但不限于:手机、平板电脑、电子书、智能手环、掌上游戏机、车载导航设备等其他包括显示屏幕的终端设备。
本发明实施例提供了一种移动终端,在环境光亮度强烈时,所述移动终端可以根据图像渲染参数对屏幕显示的图像进行渲染,与此同时,调节背光基准电流至合适的背光电流范围内,而不需要因为较强的环境光来增强背光电流。本发明实施例提供的移动终端不仅能够使屏幕的显示效果变得清晰,使屏幕显示效果符合当前应用环境的要求,而且能够降低系统功耗。
请参阅图2,图2是本发明实施例提供的一种屏幕亮度调节方法的流程图。该方法应用于移动终端,所述移动终端具体包括手机、平板电脑、电子书、智能手环、掌上游戏机、车载导航设备等其他包括显示屏幕的终端设备。所述移动终端还包括至少一个光线传感器,所述光线传感器用于检测环境光。在本实施例中,该适用于移动终端的屏幕亮度调节方法能够适用的系统(所述移动终端的系统)可以是安卓系统、IOS系统或者Windows phone系统,等。具体地,如图2所示,该方法包括:
步骤11、获取当前应用环境的环境亮度值。
所述应用环境的环境亮度值可以通过所述移动终端内置的光线传感器来采集。
其中,可以是由用户来触发所述光线传感器采集环境亮度值,比如,用户触发移动终端上的某一物理按键或者虚拟按键,从而触发所述光线传感器采集环境亮度值;或者,用户可以通过语音控制所述光线传感器采集环境亮度值,等。还可以是所述移动终端系统根据预设条件控制所述光线传感器采集环境亮度值,比如,所述移动终端获取系统时间,并获取其自身当前所在的位置,当所述系统时间和其自身当前所在的位置均满足预设条件时,则控制所述光线传感器采集所述环境亮度值,其中,比如所述系统时间为中午12点,所述移动终端当前位于室外,则满足所述预设条件,此时触发所述光线传感器采集当前应用环境亮度值。
其中,所述光线传感器的数量可以是一个或者多个,所述光线传感器可以位于移动终端的屏幕下端,从而避免屏幕本身发出的光线干扰光线传感器的检测。
需要说明的是,除了通过所述光线传感器检测当前应用环境的环境亮度值之外,还可以通过其他方式检测所述环境亮度值。比如,光敏电阻等器件,基于这种硬件设置,当移动终端所处的环境光的亮度发生变化,光感应单元就可以将这一变化反馈给移动终端的系统层面。
步骤12、获取所述移动终端的背光等级。
所述移动终端的背光等级指的是用于反应移动终端显示屏的背光亮度的参数。例如,目前安卓系统中屏幕的亮度阶数范围是0至255阶,255是最大背光等级,用户可以基于0至255阶这个范围对显示屏的背光亮度进行调节。在实际应用中,安卓系统所对应的背光等级还可以是0至1024阶,0至2048阶等。
通常所述移动终端的背光模式包括自动背光模式和手动背光模式,自动背光模式是根据当前的环境光强度来自动调整屏幕的背光等级,手动背光模式是由用户设定一个背光等级,并一直维持该背光等级,当需要修改背光等级时由用户来修改。其中,这两种背光模式都可以适用于本实施例。由所述移动终端的系统层面自动获取所述移动终端当前的背光等级。
步骤13、当所述环境亮度值大于第一预设阈值且所述背光等级大于第二预设阈值时,获取所述环境亮度值对应的屏幕亮度调节参数。
其中,所述第一预设阈值和所述第二预设阈值可以是所述移动终端系统设置的参数,在所述移动终端出厂时便已经设置好。所述第一预设阈值为光亮度值,在当前环境的环境亮度值大于该第一预设阈值时表示当前环境为高亮度环境,因此,本领域技术人员可以根据经验来具体设置所述第一预设阈值。所述第二预设阈值表示背光等级,在本实施例中,所述移动终端的硬件最大背光等级为255,可以按照255*94%来设置所述第二预设阈值,即所述第二预设阈值为240。当然,在实际应用过程中,所述第二预设阈值还可以是其他参数,而 不仅限为240。
当所述环境亮度值大于第一预设阈值且所述背光等级大于第二预设阈值时,获取所述环境亮度值对应的屏幕亮度调节参数。在本实施例中,所述环境亮度值和所述屏幕亮度调节参数之间设有一个对应关系映射表,其中,所述屏幕亮度调节参数包括背光参数和图像渲染参数,所述背光参数包括背光基准电流、背光基准电压等,所述图像渲染参数包括图像灰度、图像对比度、图像饱和度、图像锐化、图像分辨率等等。可以预先建立所述环境亮度值与所述背光参数、所述图像渲染参数之间的对应关系映射表。在获取到当前应用环境的环境亮度值后通过查表来获取所述屏幕亮度调节参数。
其中,当所述屏幕亮度调节参数为背光基准电流和图像渲染参数时,所述获取所述环境亮度值对应的屏幕亮度调节参数包括:在预设的映射表中查找所述环境亮度值对应的背光基准电流和图像渲染参数,所述背光基准电流和所述图像渲染参数为所述屏幕亮度调节参数。所述移动终端系统根据所述环境亮度值查表,从而在预设的映射表中找到当前环境亮度值对应的背光基准电流和图像渲染参数。
其中,所述预设的映射表包括环境亮度值,以及环境亮度值对应的背光参数和图像渲染参数,所述映射表中的数值具体可以通过多次实验得到。例如,如下表1给出了所述映射表的一种示例,其中,Lumix表示环境亮度,背光参数为背光基准电流,渲染参数包括图像灰度、对比度以及饱和度。
表1
Lumix 电流基数(MA) 图像灰度 对比度 饱和度
13600 20 0.62 1.84 1.5
13000 19.2 0.64 1.8 1.45
12500 18.6 0.68 1.73 1.4
12000 17.8 0.74 1.65 1.35
11500 17.2 0.8 1.57 1.3
11000 16.6 0.86 1.49 1.24
10000 16 0.9 1.4 1.18
9000 15.8 0.92 1.3 1.1
8000 15.6 0.94 1.2 1.06
7000 15.4 0.97 1.12 1.04
6000 15.2 0.99 1.06 1.02
5000 15 1 1 1
4000 14 1 1 1
所述背光基准电流用于调节所述移动终端的背光电流,所述图像渲染参数用于调节所述移动终端的屏幕显示的图像的效果,通过同时调节所述背光基准电流和图像渲染参数,从而可以在保证屏幕显示效果较好的情况下而不提高移动终端的背光功耗。
步骤14、根据所述屏幕亮度调节参数调节所述移动终端的屏幕亮度。
其中,所述根据所述屏幕亮度调节参数调节所述移动终端的屏幕亮度包括:将所述移动终端的背光基准电流调节为获取到的所述背光基准电流;根据所述图像渲染参数对所述屏幕上显示的图像进行渲染。
其中,将所述移动终端的背光基准电流调节到获取到的背光基准电流,所述获取到的背光基准电流可以是维持屏幕显示的一个合适范围内的背光电流,并且在使用该背光电流时不会加快系统的功耗。比如,所述系统默认的背光电流为20MA(即背光等级最大时所对应的电流),那么所述获取到的背光基准电流可以为14MA,或者所述获取到的背光基准电流继续保持为20MA。
本实施例主要通过下述方式对图像进行渲染处理,从而改善屏幕显示效果。具体地,如图3所示,所述根据所述图像渲染参数对所述屏幕上显示的图像进行渲染包括:
步骤141、将所述屏幕显示的应用程序分别设置一图层,并为每一图层申请内存空间。
通常所述屏幕会显示多个应用程序,所述多个应用程序分别对应一图层,每个图层会申请一块内存。
步骤142、将展示于所述屏幕的所述应用程序的UI图标分解成显示节点,并在预设的队列中存储所述显示节点。
其中,可以通过安卓系统的硬件加速器将屏幕显示的每个UI分解成每个显示节点,具体地,一幅图像需要显示什么内容通常会应用定义到一个布局文件里面,应用启动时,对该布局文件进行解析生成一个子窗口,安卓系统的硬件加速器对每个子窗口的属性进行解析,从而得到每个显示节点的参数。
其中,一个UI图标被分解成多少个显示节点是根据显示界面显示内容来决定,比如,一个显示界面显示一张图片,那么该显示界面对应一个显示节点,如果该显示界面包含10张图片,那么该显示界面对应十个显示节点。每个显示节点包含窗口的大小、窗口位置、内容以及颜色等。
所述预设的队列可以是一个数据存储列表,其用于存储所述显示节点。所述显示节点在所述队列中存储时,可以是一个应用程序对应的全部显示节点存储在一组中,按照应用程序在屏幕显示的顺序,顺序存储所述显示节点。
步骤143、读取所述队列中的显示节点,并根据图像渲染参数对所述显示节点进行图像渲染。
其中,根据所述图像渲染参数对所述显示节点进行图像渲染也即是根据图像灰度、图像对比度以及图像饱和度对所述显示节点进行渲染。比如,将所述显示节点的灰度、对比度以及饱和度调整为当前环境亮度对应的灰度、对比度 和饱和度,等。
步骤144、将进行渲染后的所述显示节点写入所述显示节点对应的内存空间。
步骤145、将写入显示节点后的内存空间所对应的图层进行叠加,并将叠加后的数据通过驱动程序接口传递至显示器进行显示。
其中,对写入显示节点后的内存空间所对应的图层进行叠加的过程可以由所述移动终端的图像合成器来完成。
在本实施例中,上述渲染的实现方式是通过系统对环境光进行采样,得到图像的渲染参数,在图像GPU(图形处理器)渲染过程,对图像的效果进行变换,改变图像的显示效果,让图像看起来“更亮”。例如,请参考图4和图5,图4是图像增强前的效果图,图5是通过上述渲染方式对图像进行增强后的效果图。
需要说明的是,上述根据所述屏幕亮度调节参数调节所述移动终端的屏幕亮度主要是根据背光基准电流和图像渲染参数来进行屏幕亮度的调节,在其他实施例中还可以根据其他参数来调节屏幕亮度。
此外,本发明实施例主要应用的场景是环境光为高亮度时,不通过调高背光基准电流,而是主要通过对屏幕显示图像进行渲染,使图像显示效果变得清晰。在其他实施例中,可以是在环境光不是高亮度时也使用上述方法来调节屏幕的显示效果。比如,可以根据环境光的变化,通过上述根据渲染参数对图像进行渲染的方式来调节屏幕图像的显示效果,而所述背光电流可以维持在一个合适的范围内。由此,不仅能够提高屏幕的显示效果,而且能够降低功耗。
本发明实施例提供了一种屏幕亮度调节方法,该方法通过获取当前应用环境的环境亮度值和移动终端的背光等级,当该环境亮度值和移动终端背光等级均满足预设条件时,根据所述环境亮度值获取屏幕亮度调节参数,最后根据屏幕亮度调节参数来调节移动终端的屏幕高度,其中,所述屏幕亮度调节参数包括背光基准电流和图像渲染参数。该实施方式主要通过图像渲染参数来对屏幕显示的图像进行渲染,与此同时将背光基准电流调节到合适的背光电流范围内,由此,不仅能够使屏幕的显示效果变得清晰,使屏幕显示效果符合当前应用环境的要求,而且能够降低系统功耗。
请参阅图6,图6是本发明实施例提供的一种屏幕亮度调节装置的结构示意图。所述装置20应用于移动终端,所述装置20包括:第一获取模块201、第二获取模块202、第三获取模块203以及亮度调节模块204。
所述第一获取模块201,用于获取当前应用环境的环境亮度值;所述第二获取模块202,用于获取所述移动终端的背光等级;所述第三获取模块203,用于当所述环境亮度值大于第一预设阈值且所述背光等级大于第二预设阈值时,获取所述环境亮度值对应的屏幕亮度调节参数;所述亮度调节模块204,用于根据所述屏幕亮度调节参数调节所述移动终端的屏幕亮度。
其中,所述第三获取模块203具体用于:当所述环境亮度值大于第一预设 阈值且所述背光等级大于第二预设阈值时,在预设的映射表中查找所述环境亮度值对应的背光基准电流和图像渲染参数,所述屏幕亮度调节参数包括所述背光基准电流和所述图像渲染参数。
其中,所述亮度调节模块204包括背光电流调节单元2041和图像渲染单元2042。所述背光电流调节单元2041,用于将所述移动终端的背光基准电流调节为获取到的所述背光基准电流;所述图像渲染单元2042,用于根据所述图像渲染参数对所述屏幕上显示的图像进行渲染。
其中,所述图像渲染单元2042具体用于:将所述屏幕显示的应用程序分别设置一图层,并为每一图层申请内存空间;将展示于所述屏幕的所述应用程序的UI图标分解成显示节点,并在预设的队列中存储所述显示节点;
读取所述队列中的显示节点,并根据图像渲染参数对所述显示节点进行图像渲染。
其中,所述图像渲染参数包括图像灰度、图像对比度以及图像饱和度。
需要说明的是,本实施例提供的屏幕亮度调节装置可执行上述实施例所提供的屏幕亮度调节方法,具备执行方法相应的功能模块和有益效果。未在屏幕亮度调节装置实施例详尽描述的技术细节,可参见本发明实施例所提供的屏幕亮度调节方法。
本发明实施例提供了一种屏幕亮度调节装置,该装置通过获取当前应用环境的环境亮度值和移动终端的背光等级,当该环境亮度值和移动终端背光等级均满足预设条件时,根据所述环境亮度值获取屏幕亮度调节参数,最后根据屏幕亮度调节参数来调节移动终端的屏幕高度,其中,所述屏幕亮度调节参数包括背光基准电流和图像渲染参数。该实施方式主要通过图像渲染参数来对屏幕显示的图像进行渲染,与此同时将背光基准电流调节到合适的背光电流范围内,由此,不仅能够使屏幕的显示效果变得清晰,使屏幕显示效果符合当前应用环境的要求,而且能够降低系统功耗。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (10)

  1. 一种屏幕亮度调节方法,应用于移动终端,其特征在于,所述方法包括:
    获取当前应用环境的环境亮度值;
    获取所述移动终端的背光等级;
    当所述环境亮度值大于第一预设阈值且所述背光等级大于第二预设阈值时,获取所述环境亮度值对应的屏幕亮度调节参数;
    根据所述屏幕亮度调节参数调节所述移动终端的屏幕亮度。
  2. 根据权利要求1所述的方法,其特征在于,所述获取所述环境亮度值对应的屏幕亮度调节参数包括:
    在预设的映射表中查找所述环境亮度值对应的背光基准电流和图像渲染参数,所述屏幕亮度调节参数包括所述背光基准电流和所述图像渲染参数。
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述屏幕亮度调节参数调节所述移动终端的屏幕亮度包括:
    将所述移动终端的背光基准电流调节为获取到的所述背光基准电流;
    根据所述图像渲染参数对所述屏幕上显示的图像进行渲染。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述图像渲染参数对所述屏幕上显示的图像进行渲染包括:
    将所述屏幕显示的应用程序分别设置一图层,并为每一图层申请内存空间;
    将展示于所述屏幕的所述应用程序的UI图标分解成显示节点,并在预设的队列中存储所述显示节点;
    读取所述队列中的显示节点,并根据图像渲染参数对所述显示节点进行图像渲染。
  5. 根据权利要求2至4中任一项所述的方法,其特征在于,所述图像渲染参数包括图像灰度、图像对比度以及图像饱和度。
  6. 一种移动终端,其特征在于,所述移动终端包括光线传感器和微处理器,
    所述光线传感器用于采集当前应用环境的环境亮度值;
    所述微处理器包括:
    至少一个处理器,以及
    存储器,所述存储器与所述至少一个处理器通信连接,所述存储器存储有 可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行:
    获取所述环境亮度值;
    获取所述移动终端的背光等级;
    当所述环境亮度值大于第一预设阈值且所述背光等级大于第二预设阈值时,获取所述环境亮度值对应的屏幕亮度调节参数;
    根据所述屏幕亮度调节参数调节所述移动终端的屏幕亮度。
  7. 根据权利要求6所述的移动终端,其特征在于,所述屏幕亮度调节参数包括背光基准电流和图像渲染参数,
    所述处理器还用于:
    在预设的映射表中查找所述环境亮度值对应的背光基准电流和图像渲染参数。
  8. 根据权利要求7所述的移动终端,其特征在于,所述处理器还用于:
    将所述移动终端的背光基准电流调节为获取到的所述背光基准电流。
  9. 根据权利要求7所述的移动终端,其特征在于,所述移动终端还包括图像处理器,
    所述图像处理器用于根据所述图像渲染参数对所述屏幕上显示的图像进行渲染。
  10. 根据权利要求9所述的移动终端,其特征在于,所述移动终端还包括驱动程序接口和显示器,
    所述图像处理器用于:
    将所述屏幕显示的应用程序分别设置一图层,并为每一图层申请内存空间;
    将展示于所述屏幕的所述应用程序的UI图标分解成显示节点,并在预设的队列中存储所述显示节点;
    读取所述队列中的显示节点,并根据图像渲染参数对所述显示节点进行图像渲染;
    将进行渲染后的所述显示节点写入所述显示节点对应的内存空间;
    将写入显示节点后的内存空间所对应的图层进行叠加,并将叠加后的数据传输至所述驱动程序接口;
    所述驱动程序接口,用于将所述叠加后的数据传输至所述显示器;
    所述显示器,用于显示渲染后的图像。
PCT/CN2020/128517 2019-11-13 2020-11-13 一种屏幕亮度调节方法及移动终端 WO2021093829A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/661,351 US20220254319A1 (en) 2019-11-13 2022-04-29 Screen brightness adjustment method and mobile terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911109194.8A CN110689862B (zh) 2019-11-13 2019-11-13 一种屏幕亮度调节方法及移动终端
CN201911109194.8 2019-11-13

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/661,351 Continuation US20220254319A1 (en) 2019-11-13 2022-04-29 Screen brightness adjustment method and mobile terminal

Publications (1)

Publication Number Publication Date
WO2021093829A1 true WO2021093829A1 (zh) 2021-05-20

Family

ID=69116576

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/128517 WO2021093829A1 (zh) 2019-11-13 2020-11-13 一种屏幕亮度调节方法及移动终端

Country Status (3)

Country Link
US (1) US20220254319A1 (zh)
CN (1) CN110689862B (zh)
WO (1) WO2021093829A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114677989A (zh) * 2022-03-29 2022-06-28 智己汽车科技有限公司 一种屏幕亮度调节方法及设备

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110689862B (zh) * 2019-11-13 2021-09-21 深圳市道通科技股份有限公司 一种屏幕亮度调节方法及移动终端
CN114285936B (zh) * 2020-09-17 2023-09-15 南京酷派软件技术有限公司 屏幕亮度调整方法、装置、存储介质以及终端
CN113038666B (zh) * 2021-03-09 2022-07-26 联想(北京)有限公司 一种控制方法及控制装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309471A (zh) * 2007-05-18 2008-11-19 希姆通信息技术(上海)有限公司 在移动通信终端实现三维场景墙纸的方法
US20140098079A1 (en) * 2012-10-10 2014-04-10 Canon Kabushiki Kaisha Image display apparatus and control method thereof
CN107134272A (zh) * 2017-06-26 2017-09-05 上海斐讯数据通信技术有限公司 一种屏幕显示的控制方法、系统和计算机处理设备
CN107992182A (zh) * 2017-12-05 2018-05-04 北京小米移动软件有限公司 显示界面图像的方法和装置
CN108510955A (zh) * 2018-04-23 2018-09-07 Oppo广东移动通信有限公司 调整显示屏亮度的方法以及相关产品
CN108711402A (zh) * 2018-05-07 2018-10-26 Oppo广东移动通信有限公司 显示屏亮度调整方法以及相关产品
CN110689862A (zh) * 2019-11-13 2020-01-14 深圳市道通科技股份有限公司 一种屏幕亮度调节方法及移动终端

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101533850B1 (ko) * 2009-01-20 2015-07-06 엘지전자 주식회사 전자 종이를 가진 이동 통신 단말기 및 이에 적용된 제어방법
US8508465B2 (en) * 2009-11-05 2013-08-13 Research In Motion Limited Multiple orientation mobile electronic handheld device and method of ambient light sensing and backlight adjustment implemented therein
CN101800027A (zh) * 2010-01-20 2010-08-11 深圳市显科科技有限公司 一种户外高亮度led显示屏的亮度调节方法
CN102137178B (zh) * 2011-04-07 2013-07-31 广东欧珀移动通信有限公司 一种手机背光控制方法
US9892714B2 (en) * 2012-06-28 2018-02-13 Lenovo (Singapore) Pte. Ltd. Brightness control method, apparatus and program product
CN103021315B (zh) * 2012-12-10 2015-09-09 广东欧珀移动通信有限公司 一种提升显示屏显示效果的方法及其终端
CN105118474B (zh) * 2015-10-16 2017-11-07 青岛海信电器股份有限公司 液晶显示亮度控制方法和装置以及液晶显示设备
CN106682424A (zh) * 2016-12-28 2017-05-17 上海联影医疗科技有限公司 医学图像的调节方法及其系统
CN107180621A (zh) * 2017-07-28 2017-09-19 广州视源电子科技股份有限公司 一种调节显示参数的方法、装置和显示设备
CN107689216A (zh) * 2017-09-19 2018-02-13 大唐终端技术有限公司 一种改进终端产品阳光下可视性的系统及方法
CN110796988B (zh) * 2018-08-02 2021-09-28 北京小米移动软件有限公司 背光调节方法及装置
CN109036296B (zh) * 2018-09-03 2020-12-04 Oppo广东移动通信有限公司 屏幕背光亮度调节方法、装置、终端及存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309471A (zh) * 2007-05-18 2008-11-19 希姆通信息技术(上海)有限公司 在移动通信终端实现三维场景墙纸的方法
US20140098079A1 (en) * 2012-10-10 2014-04-10 Canon Kabushiki Kaisha Image display apparatus and control method thereof
CN107134272A (zh) * 2017-06-26 2017-09-05 上海斐讯数据通信技术有限公司 一种屏幕显示的控制方法、系统和计算机处理设备
CN107992182A (zh) * 2017-12-05 2018-05-04 北京小米移动软件有限公司 显示界面图像的方法和装置
CN108510955A (zh) * 2018-04-23 2018-09-07 Oppo广东移动通信有限公司 调整显示屏亮度的方法以及相关产品
CN108711402A (zh) * 2018-05-07 2018-10-26 Oppo广东移动通信有限公司 显示屏亮度调整方法以及相关产品
CN110689862A (zh) * 2019-11-13 2020-01-14 深圳市道通科技股份有限公司 一种屏幕亮度调节方法及移动终端

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114677989A (zh) * 2022-03-29 2022-06-28 智己汽车科技有限公司 一种屏幕亮度调节方法及设备
CN114677989B (zh) * 2022-03-29 2023-12-12 智己汽车科技有限公司 一种屏幕亮度调节方法及设备

Also Published As

Publication number Publication date
CN110689862A (zh) 2020-01-14
CN110689862B (zh) 2021-09-21
US20220254319A1 (en) 2022-08-11

Similar Documents

Publication Publication Date Title
WO2021093829A1 (zh) 一种屏幕亮度调节方法及移动终端
US10958850B2 (en) Electronic device and method for capturing image by using display
KR102353766B1 (ko) 디스플레이를 제어하는 장치 및 방법
US20220283621A1 (en) Electronic Device Control Method and Apparatus, and Electronic Device
KR102549463B1 (ko) 이미지 처리 방법 및 이를 지원하는 전자 장치
KR102361885B1 (ko) 전자 장치 및 전자 장치 제어 방법
KR102318387B1 (ko) 표시 설정에 따른 감마 전압 운용 방법 및 이를 지원하는 전자 장치
US10275012B2 (en) Operating method for display corresponding to luminance, driving circuit, and electronic device supporting the same
US11106307B2 (en) Method for low power driving of display and electronic device for performing same
KR102565847B1 (ko) 전자 장치 및 전자 장치에서의 디스플레이 제어 방법
KR102327803B1 (ko) 전력 소모를 줄이기 위한 전력 제어 방법 및 장치
US11054978B2 (en) Portable device and method for controlling brightness of the same
EP2854013A1 (en) Method for displaying in electronic device and electronic device thereof
US10402222B2 (en) Task migration method and apparatus
US10347221B2 (en) Electronic device and method for controlling display thereof
US20220155656A1 (en) Illuminator control method, illuminator fitting, and electronic device
KR102588235B1 (ko) 전자 장치 및 그의 제어 방법
KR20180014498A (ko) 텍스트의 시인성을 향상시키는 전자 장치와 이의 동작 방법
KR102684434B1 (ko) 디스플레이 제어 방법 및 이를 지원하는 전자 장치
KR20190134370A (ko) 디스플레이를 통해 어플리케이션의 콘텐트를 표시하는 방법 및 이를 구현한 전자 장치
CN105892849B (zh) 图像处理方法和支持其的电子设备
WO2017177851A1 (en) Method for dynamically changing user interface elements
WO2021196838A1 (zh) 摄像头开启方法、电子设备及存储介质
CN114115615B (zh) 界面显示方法、装置、电子设备和存储介质
CN112799759B (zh) 一种参数调节方法、智能终端及计算机可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20886787

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20886787

Country of ref document: EP

Kind code of ref document: A1