CN111343321A - Backlight brightness adjusting method and related product - Google Patents

Backlight brightness adjusting method and related product Download PDF

Info

Publication number
CN111343321A
CN111343321A CN202010128989.XA CN202010128989A CN111343321A CN 111343321 A CN111343321 A CN 111343321A CN 202010128989 A CN202010128989 A CN 202010128989A CN 111343321 A CN111343321 A CN 111343321A
Authority
CN
China
Prior art keywords
brightness
parameter table
target
screen
interpolation
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202010128989.XA
Other languages
Chinese (zh)
Other versions
CN111343321B (en
Inventor
彭冬炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010128989.XA priority Critical patent/CN111343321B/en
Publication of CN111343321A publication Critical patent/CN111343321A/en
Application granted granted Critical
Publication of CN111343321B publication Critical patent/CN111343321B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/22Illumination; Arrangements for improving the visibility of characters on dials
    • 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/34Control 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 by control of light from an independent source
    • G09G3/3406Control of illumination source

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Liquid Crystal Display Device Control (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the application discloses a backlight brightness adjusting method and a related product, which are applied to electronic equipment, wherein the method comprises the following steps: obtaining a target parameter table of a target device, wherein the target parameter table comprises: a mapping relationship between the first screen brightness and the first brightness level; performing linear interpolation operation according to a first parameter table of preset standard equipment and the target parameter table to obtain a backlight brightness table of the target equipment, wherein the backlight brightness table comprises a mapping relation between illumination intensity and the second brightness level; and calculating a target backlight brightness adjusting curve corresponding to the target equipment according to the backlight brightness table, the first parameter table and the second parameter table of the preset standard equipment. The embodiment of the application has the advantage of high user experience.

Description

Backlight brightness adjusting method and related product
Technical Field
The application relates to the technical field of electronic equipment, in particular to a backlight brightness adjusting method and a related product.
Background
With the rapid development of science and technology, intelligent terminal devices become electronic devices that are unavailable in daily life, and the functions of the intelligent terminal devices are more and more, including the automatic backlight function of the mobile phone, which means that the brightness of the display is changed according to the change of the illumination intensity of the environment where the intelligent terminal devices are located.
The automatic backlight function of the current mobile phone is mainly realized through a backlight brightness adjusting algorithm, but when the same backlight brightness adjusting algorithm is used on different intelligent terminal devices, different hardware devices easily cause the difference of the effect of backlight brightness adjustment, and the backlight brightness requirement of the current intelligent terminal device cannot be met, so that the user experience is low.
Disclosure of Invention
The embodiment of the application provides a backlight brightness adjusting method and a related product, and the backlight brightness adjusting curve is calculated for different hardware devices, so that the difference of backlight brightness adjusting effects is solved, the backlight brightness requirement of the hardware devices is met, and the user experience is improved.
In a first aspect, an embodiment of the present application provides a backlight brightness adjusting method, including:
obtaining a target parameter table of a target device, wherein the target parameter table comprises: a mapping relationship between the first screen brightness and the first brightness level;
performing linear interpolation operation according to a first parameter table of preset standard equipment and the target parameter table to obtain a backlight brightness table of the target equipment, wherein the backlight brightness table comprises a mapping relation between illumination intensity and the second brightness level;
and calculating a target backlight brightness adjusting curve corresponding to the target equipment according to the backlight brightness table, the first parameter table and the second parameter table of the preset standard equipment.
In a second aspect, an embodiment of the present application provides a backlight brightness adjusting apparatus, including:
an obtaining unit, configured to obtain a target parameter table of a target device, where the target parameter table includes: a mapping relationship between the first screen brightness and the first brightness level;
the execution unit is used for executing linear interpolation operation according to a first parameter table of preset standard equipment and the target parameter table to obtain a backlight brightness table of the target equipment, wherein the backlight brightness table comprises a mapping relation between illumination intensity and the second brightness level;
and the calculating unit is used for calculating a target backlight brightness adjusting curve corresponding to the target equipment according to the backlight brightness table, the first parameter table and the second parameter table of the preset standard equipment.
In a third aspect, an embodiment of the present application provides an electronic device, including a controller, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the controller, and the program includes instructions for executing steps in any method of the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, an electronic device obtains a target parameter table of a target device, where the target parameter table includes: a mapping relationship between the first screen brightness and the first brightness level; performing linear interpolation operation according to a first parameter table of preset standard equipment and the target parameter table to obtain a backlight brightness table of the target equipment, wherein the backlight brightness table comprises a mapping relation between illumination intensity and the second brightness level; and calculating a target backlight brightness adjusting curve corresponding to the target equipment according to the backlight brightness table, the first parameter table and the second parameter table of the preset standard equipment. Thus, the target backlight brightness adjusting curve can be calculated through the first parameter table, the second parameter table and the target parameter table of the standard machine,
the backlight brightness adjusting curve is calculated aiming at different hardware devices, so that the difference of backlight brightness adjusting effects is solved, the backlight brightness requirement of the hardware devices is met, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a backlight brightness adjusting method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another backlight brightness adjusting method provided in the embodiment of the present application;
fig. 4 is a schematic flowchart of another backlight brightness adjusting method provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 6 is a block diagram of functional units of a backlight brightness adjusting apparatus according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of the invention and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, result, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application, where the electronic device 100 includes a storage and processing circuit 110, and a sensor 170 connected to the storage and processing circuit 110, where:
the electronic device 100 may include control circuitry, which may include storage and processing circuitry 110. The storage and processing circuitry 110 may be a memory, such as a hard drive memory, a non-volatile memory (e.g., flash memory or other electronically programmable read-only memory used to form a solid state drive, etc.), a volatile memory (e.g., static or dynamic random access memory, etc.), etc., and the embodiments of the present application are not limited thereto. Processing circuitry in storage and processing circuitry 110 may be used to control the operation of electronic device 100. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuitry 110 may be used to run software in the electronic device 100, such as an Internet browsing application, a Voice Over Internet Protocol (VOIP) telephone call application, an email application, a media playing application, operating system functions, and so forth. Such software may be used to perform control operations such as, for example, camera-based image capture, ambient light measurement based on an ambient light sensor, proximity sensor measurement based on a proximity sensor, information display functionality based on status indicators such as status indicator lights of light emitting diodes, touch event detection based on a touch sensor, functionality associated with displaying information on multiple (e.g., layered) display screens, operations associated with performing wireless communication functionality, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in the electronic device 100, to name a few.
The electronic device 100 may include input-output circuitry 150. The input-output circuit 150 may be used to enable the electronic device 100 to input and output data, i.e., to allow the electronic device 100 to receive data from an external device and also to allow the electronic device 100 to output data from the electronic device 100 to the external device. The input-output circuit 150 may further include a sensor 170. The sensors 170 may include ambient light sensors, proximity sensors based on light and capacitance, fingerprint recognition modules, touch sensors (e.g., based on light touch sensors and/or capacitive touch sensors, wherein the touch sensors may be part of a touch display screen or may be used independently as a touch sensor structure), such as acceleration sensors and other sensors.
The electronic device 100 may further include a camera 140, the camera 140 including: infrared camera, color image camera and so on, the camera can be leading camera or rear camera, and the fingerprint identification module can be integrated in the display screen below for gather the fingerprint image, the fingerprint identification module can be following at least one: optical fingerprint identification module, or ultrasonic fingerprint identification module etc. do not do the restriction here. The front camera can be arranged below the front display screen, and the rear camera can be arranged below the rear display screen. Of course, the front camera or the rear camera may not be integrated with the display screen, and certainly in practical applications, the front camera or the rear camera may also be a lifting structure.
Input-output circuit 150 may also include one or more display screens, and when multiple display screens are provided, such as 2 display screens, one display screen may be provided on the front of the electronic device and another display screen may be provided on the back of the electronic device, such as display screen 130. The display 130 may include one or a combination of liquid crystal display, organic light emitting diode display, electronic ink display, plasma display, display using other display technologies. The display screen 130 may include an array of touch sensors (i.e., the display screen 130 may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, and the like, and the embodiments of the present application are not limited thereto.
The communication circuit 120 may be used to provide the electronic device 100 with the capability to communicate with external devices. The communication circuit 120 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and/or optical signals. The wireless communication circuitry in communication circuitry 120 may include radio-frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. The communication circuit 120 may include a long-range local area network communication module. For example, the wireless Communication circuitry in Communication circuitry 120 may include circuitry to support Near Field Communication (NFC) by transmitting and receiving Near Field coupled electromagnetic signals. For example, the communication circuit 120 may include a near field communication antenna and a near field communication transceiver. The communications circuitry 120 may also include a cellular telephone transceiver and antenna, a wireless local area network transceiver circuitry and antenna, and so forth.
The electronic device 100 may further include a battery, power management circuitry, and other input-output units 160. The input-output unit 160 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, and the like.
A user may input commands through input-output circuitry 150 to control the operation of electronic device 100, and may use output data of input-output circuitry 150 to enable receipt of status information and other outputs from electronic device 100.
The electronic device described above with reference to fig. 1 is configured to implement the following functions:
obtaining a target parameter table of a target device, wherein the target parameter table comprises: a mapping relationship between the first screen brightness and the first brightness level;
performing linear interpolation operation according to a first parameter table of preset standard equipment and the target parameter table to obtain a backlight brightness table of the target equipment, wherein the backlight brightness table comprises a mapping relation between illumination intensity and the second brightness level;
and calculating a target backlight brightness adjusting curve corresponding to the target equipment according to the backlight brightness table, the first parameter table and the second parameter table of the preset standard equipment.
It can be seen that, in the embodiment of the present application, an electronic device obtains a target parameter table of a target device, where the target parameter table includes: a mapping relationship between the first screen brightness and the first brightness level; performing linear interpolation operation according to a first parameter table of preset standard equipment and the target parameter table to obtain a backlight brightness table of the target equipment, wherein the backlight brightness table comprises a mapping relation between illumination intensity and the second brightness level; and calculating a target backlight brightness adjusting curve corresponding to the target equipment according to the backlight brightness table, the first parameter table and the second parameter table of the preset standard equipment. Therefore, the target backlight brightness adjusting curve can be calculated through the first parameter table, the second parameter table and the target parameter table of the standard machine, the backlight brightness adjusting curve is calculated for different hardware devices, the difference of backlight brightness adjusting effects is favorably solved, the backlight brightness requirement of the hardware devices is met, and the user experience is improved.
Referring to fig. 2, fig. 2 is a schematic flowchart of a backlight brightness adjusting method according to an embodiment of the present application, applied to the electronic device shown in fig. 1, where the backlight brightness adjusting method includes:
step 201, obtaining a target parameter table of a target device, wherein the target parameter table includes: a mapping relationship between the first screen brightness and the first brightness level;
optionally, a parameter obtaining instruction is sent to the target device, where the parameter obtaining instruction is used to instruct the target device to return to a target parameter table stored in a register, receive a parameter obtaining response returned by the target device, and extract the target parameter table from the parameter obtaining response, where the target parameter table includes a mapping relationship between a first screen brightness and a first brightness level, and the target parameter table is used to determine a target brightness level corresponding to the first screen brightness of the target device.
Optionally, it is determined that the cloud server corresponding to the target device sends a parameter obtaining instruction, where the parameter obtaining instruction is used to instruct the cloud server to determine hardware register information in the target device, determine a hardware provider corresponding to the target device according to the hardware register information, obtain a parameter table corresponding to the hardware provider, return to the parameter table, receive a parameter obtaining response returned by the cloud server, and determine to extract the parameter table as the target parameter table from the parameter obtaining response.
Step 202, performing a linear interpolation operation according to a first parameter table of a preset standard device and the target parameter table to obtain a backlight brightness table of the target device, wherein the backlight brightness table includes a mapping relationship between illumination intensity and the second brightness level;
optionally, a preset standard device is determined, a parameter obtaining instruction is sent to the preset standard, the parameter obtaining instruction is used for instructing the preset standard device to return to a first parameter table, a parameter obtaining response returned by the preset standard device is received, and the first parameter table is extracted from the parameter obtaining response, wherein the first parameter table includes a mapping relation between the illumination intensity and the second screen brightness.
Step 203, calculating a target backlight brightness adjusting curve corresponding to the target device according to the backlight brightness table, the first parameter table and the second parameter table of the preset standard device.
Optionally, a preset standard device is determined, a parameter obtaining instruction is sent to the preset standard, the parameter obtaining instruction is used for instructing the preset standard device to return a second parameter table, a parameter obtaining response returned by the preset standard device is received, and the second parameter table is extracted from the parameter obtaining response, wherein the second parameter table includes a mapping relationship between second screen brightness and a third brightness level.
Further, curve fitting operation is performed on the backlight brightness table, the first parameter table and the second parameter table of the preset standard equipment, and the target backlight brightness adjusting curve is obtained.
In a possible example, the performing a linear interpolation operation according to the first parameter table of the preset standard device and the target parameter table to obtain the backlight brightness table of the target device includes: acquiring a mapping relation between illumination intensity and second screen brightness from the first parameter table, wherein the mapping relation between the illumination intensity and the second screen brightness comprises a illumination intensities and a corresponding second screen brightness, and a is an integer greater than 0; performing index calculation on the target parameter table and the a second screen brightness to obtain an interpolation index table, wherein the interpolation index table comprises a mapping relation between the a second screen brightness and an interpolation index; and executing interpolation calculation operation according to the interpolation index table to obtain the backlight brightness table.
Optionally, the first parameter table is obtained, where the first parameter table includes a mapping relationship between illumination intensity and second screen brightness, a illumination intensities and a second screen brightnesses in the mapping relationship between illumination intensity and second screen brightness are obtained, where the a illumination intensities are different from each other, the a illumination intensities correspond to the a second screen brightnesses one to one, a interpolation indexes corresponding to the a second screen brightnesses are determined for the a second screen brightnesses, and a mapping relationship between the second screen brightness and the interpolation indexes is established according to the a second screen brightness and the a interpolation indexes, so as to obtain the interpolation index table.
In a specific implementation process, assuming that the first parameter table is as shown in table 1 below and the target parameter table is as shown in table 2 below, for 8 second screen luminances in the first parameter table, 8 interpolation indexes corresponding to the 8 second screen luminances are determined in the target parameter table, and it is assumed that the 8 interpolation indexes corresponding to the 8 second screen luminances are respectively: 0.2, 3, 4, 5, and 7, an interpolation index table is established according to the 8 second screen luminances and the 8 interpolation indexes, as shown in table 3 below, and a backlight luminance table is obtained by performing a calculation operation according to the interpolation index table.
TABLE 1
Figure BDA0002395277250000081
TABLE 2
Figure BDA0002395277250000082
TABLE 3
Figure BDA0002395277250000083
In a possible example, the performing an index calculation on the target parameter table and the a second screen luminances to obtain an interpolation index table includes: b first screen brightness is obtained from the mapping relation between the first screen brightness and a first brightness level in the target parameter table, wherein b is an integer larger than 0; for any one of the a second screen brightness nxDetermining any one second screen brightness n in the b first screen brightnessxCorresponding first screen brightness miDetermining the brightness n of any one of the second screensxThe corresponding interpolation index is i, where miIs less than or equal to nx,mi+1Is greater than or equal to nxX is an integer of 0 or more and x is less than a, i is largeAn integer equal to or greater than 0, and i is less than b; and establishing the interpolation index table according to a interpolation indexes corresponding to the a screen brightness and the a second screen brightness, wherein the interpolation index table comprises a mapping relation between the second screen brightness and the interpolation indexes.
In the specific implementation process, assuming that the first parameter table is shown in table 1 above and the target parameter table is shown in table 2 above, 8 second screen luminances n are obtained0~n7: 6. 40, 84, 127, 134, 152, 216, 302, obtaining 8 first screen luminances m0~m7: 4. 19, 30, 56, 92, 144, 255, 430, then said second screen brightness n for any one of said a second screen brightnessxDetermining any one second screen brightness n in the b first screen brightnessxCorresponding first screen brightness miThe method specifically comprises the following steps: based on 8 first screen brightness m0~m7Grouping to obtain 8 index groups ciWherein c is0~c7Respectively as follows: 4 to 19, 19 to 30, 30 to 56, 56 to 92, 92 to 144, 144 to 255, 225 to 282, 282 to 430, and 8 index groups corresponding to the second screen brightness are determined, for example, 4<n0=6<19, determining a second screen brightness n0Corresponding index set is c0Second screen brightness n0The corresponding first screen brightness is m0Second screen brightness n0The corresponding interpolation index is 0, and similarly, 30<n1=40<56, determining a second screen brightness n1Corresponding index set is c2Second screen brightness n1The corresponding first screen brightness is m2Second screen brightness n1The corresponding interpolation index is 2, thus obtaining 8 second screen brightness n0~n7The corresponding 8 interpolation indexes are respectively: 0.2, 3, 4, 5, 7 according to 8 second screen brightness n0~n7And 8 interpolation indices establish an interpolation index table, which may be as shown in table 3 above.
In a possible example, the performing an interpolation operation according to the interpolation index table to obtain the backlight brightness table includes: for any one interpolation index j in a interpolation indexes in the interpolation index tabledD is an integer greater than or equal to 0 and less than a, and the interpolation index j is obtained from the target parameter tabledCorresponding first screen brightness mdFirst screen brightness md+1First brightness level ldAnd a first brightness level ld+1(ii) a Acquiring a preset linear formula, and calculating the first screen brightness mdFirst screen brightness md+1First brightness level liAnd a first brightness level ld+1Obtaining the interpolation index j as the input of the linear formuladA corresponding second brightness level formula; obtaining the interpolation index j from the first parameter tabledCorresponding illumination intensity luxdThe illumination intensity luxdObtaining the illumination intensity lux as an input of the second brightness level formuladCorresponding second brightness level xd(ii) a And repeatedly executing the steps to obtain a plurality of second brightness levels corresponding to the plurality of illumination intensities, and generating the backlight brightness table based on the plurality of illumination intensities and the plurality of second brightness levels.
Optionally, the linear formula may include: and l is k × m + b, wherein l is the first screen brightness, k and b are constants, and m is the second screen brightness.
In the specific implementation process, assuming that the interpolation index table is as shown in table 3 above, a difference indexes j in the interpolation index table are matched0~j7Comprises the following steps: 0.2, 3, 4, 5, 7, the interpolation index j0When the value is 0, the interpolation index j is determined0Corresponding second screen brightness n0Is 6, the second screen brightness n0Corresponding first screen brightness m0Is 4, first screen brightness m0+1=m119, first brightness level l0Is 9, the first brightness level l0+1=l142, the first screen brightness m0First brightness level l0Substituting the linear formula to obtain a first formula l0=k*m0+ b, i.e.: 9 ═ k 4+ b; the first screen brightness m1First brightness level l1Substituting the linear formula to obtain a second formula1=k*m1+ b, i.e.: 42 × 19+ b, which can be solved by the first and second equations: k is 2.2 and b is 0.2, the interpolation index j is0The corresponding second brightness level formula is: l 2.2 m + b, and obtaining the second screen brightness n0And if the corresponding illumination intensity is 0, calculating that the corresponding second brightness level is 0.2 when the illumination intensity is 0, so as to obtain 8 second brightness level formulas and 8 second brightness levels, and generating the backlight brightness table based on the 8 illumination intensities and the 8 second brightness levels.
In a possible example, the calculating a target backlight brightness adjustment curve corresponding to the target device according to the backlight brightness table, the first parameter table, and the second parameter table of the preset standard device includes: acquiring a mapping relation between the illumination intensity and second screen brightness; acquiring a mapping relation between the second screen brightness and a third brightness level from the second parameter table; generating a fourth parameter table based on the plurality of illumination intensities, the plurality of second screen luminances, and the plurality of third luminance levels, wherein the fourth parameter table comprises: the plurality of illumination intensities and the plurality of third brightness levels; calculating the target backlight brightness adjustment curve based on the backlight brightness table and the fourth parameter table.
In a specific implementation process, assuming that the first parameter table is as shown in table 1 above and the second parameter table is as shown in table 4 below, the second screen brightness value in the first parameter table is consistent with the second screen brightness value in the second parameter table, and a fourth parameter table is generated based on the first parameter table and the second parameter table, where the fourth parameter table may be as shown in table 5 below, and the target backlight brightness adjustment curve is generated based on the fourth parameter table and the backlight brightness table.
TABLE 4
Figure BDA0002395277250000101
TABLE 5
Figure BDA0002395277250000102
In a possible example, the calculating the target backlight brightness adjustment curve based on the backlight brightness table and the fourth parameter table includes: acquiring a preset curve fitting model; and taking the backlight brightness table and the fourth parameter table as the input of the curve fitting model to obtain the target backlight brightness adjusting curve.
Optionally, after the target backlight brightness adjustment curve is obtained, the target backlight brightness adjustment curve is sent to the target device.
Optionally, the calculating the target backlight brightness adjustment curve based on the backlight brightness table and the fourth parameter table includes: and acquiring a preset curve fitting formula, and taking the backlight brightness table and the fourth parameter table as the input of the curve fitting formula to obtain the target backlight brightness adjusting curve.
It can be seen that, in the embodiment of the present application, an electronic device obtains a target parameter table of a target device, where the target parameter table includes: a mapping relationship between the first screen brightness and the first brightness level; performing linear interpolation operation according to a first parameter table of preset standard equipment and the target parameter table to obtain a backlight brightness table of the target equipment, wherein the backlight brightness table comprises a mapping relation between illumination intensity and the second brightness level; and calculating a target backlight brightness adjusting curve corresponding to the target equipment according to the backlight brightness table, the first parameter table and the second parameter table of the preset standard equipment. Therefore, the target backlight brightness adjusting curve can be calculated through the first parameter table, the second parameter table and the target parameter table of the standard machine, the backlight brightness adjusting curve is calculated for different hardware devices, the difference of backlight brightness adjusting effects is favorably solved, the backlight brightness requirement of the hardware devices is met, and the user experience is improved.
Referring to fig. 3, fig. 3 is a schematic flowchart of another backlight brightness adjusting method according to an embodiment of the present application, applied to the electronic device shown in fig. 1, where the backlight brightness adjusting method includes:
step 301, obtaining a target parameter table of a target device, wherein the target parameter table includes: a mapping relationship between the first screen brightness and the first brightness level;
step 302, obtaining a mapping relationship between the illumination intensity and the second screen brightness from the first parameter table, wherein the mapping relationship between the illumination intensity and the second screen brightness includes a illumination intensities and a corresponding second screen brightness, and a is an integer greater than 0;
step 303, performing index calculation on the target parameter table and the a second screen luminances to obtain an interpolation index table, where the interpolation index table includes a mapping relationship between the a second screen luminances and interpolation indexes;
step 304, performing an interpolation calculation operation according to the interpolation index table to obtain the backlight brightness table, wherein the backlight brightness table includes a mapping relationship between the illumination intensity and the second brightness level;
step 305, calculating a target backlight brightness adjusting curve corresponding to the target device according to the backlight brightness table, the first parameter table and the second parameter table of the preset standard device.
The detailed description of steps 301 to 305 may refer to the response steps of the backlight brightness adjusting method described in fig. 2, and will not be repeated herein.
It can be seen that, in the embodiment of the present application, an electronic device obtains a target parameter table of a target device, where the target parameter table includes: a mapping relationship between the first screen brightness and the first brightness level; acquiring a mapping relation between the illumination intensity and second screen brightness from the first parameter table, wherein the mapping relation between the illumination intensity and the second screen brightness comprises a illumination intensities and a corresponding second screen brightness, and a is an integer greater than 0; performing index calculation on the target parameter table and the a second screen brightness to obtain an interpolation index table, wherein the interpolation index table comprises a mapping relation between the a second screen brightness and an interpolation index; performing interpolation calculation operation according to the interpolation index table to obtain the backlight brightness table, wherein the backlight brightness table comprises a mapping relation between the illumination intensity and the second brightness level; and calculating a target backlight brightness adjusting curve corresponding to the target equipment according to the backlight brightness table, the first parameter table and a second parameter table of the preset standard equipment. Therefore, an interpolation index table can be generated through the first parameter table and the target parameter table, and the backlight brightness table is obtained through interpolation calculation based on the interpolation index table, so that a target backlight brightness adjusting curve is obtained through calculation, the problem of difference of backlight brightness adjusting effects is solved, backlight brightness requirements of hardware equipment are met, and user experience is improved.
Referring to fig. 4, fig. 4 is a schematic flowchart of another backlight brightness adjusting method according to an embodiment of the present application, applied to the electronic device shown in fig. 1, where the backlight brightness adjusting method includes:
step 401, obtaining a target parameter table of a target device, where the target parameter table includes: a mapping relationship between the first screen brightness and the first brightness level;
step 402, performing a linear interpolation operation according to a first parameter table of a preset standard device and the target parameter table to obtain a backlight brightness table of the target device, wherein the backlight brightness table comprises a mapping relation between illumination intensity and the second brightness level;
step 403, acquiring a mapping relation between the illumination intensity and second screen brightness;
step 404, obtaining a mapping relation between the second screen brightness and a third brightness level from the second parameter table;
step 405, generating a fourth parameter table based on the plurality of illumination intensities, the plurality of second screen luminances, and the plurality of third luminance levels, wherein the fourth parameter table comprises: the plurality of illumination intensities and the plurality of third brightness levels;
step 406, calculating the target backlight brightness adjusting curve based on the backlight brightness table and the fourth parameter table.
The detailed description of steps 401 to 406 may refer to the response steps of the backlight brightness adjusting method described in fig. 2, and will not be repeated herein.
It can be seen that, in the embodiment of the present application, an electronic device obtains a target parameter table of a target device, where the target parameter table includes: a mapping relationship between the first screen brightness and the first brightness level; performing linear interpolation operation according to a first parameter table of preset standard equipment and the target parameter table to obtain a backlight brightness table of the target equipment, wherein the backlight brightness table comprises a mapping relation between illumination intensity and the second brightness level; acquiring a mapping relation between the illumination intensity and the second screen brightness; acquiring the mapping relation between the second screen brightness and a third brightness level from the second parameter table; generating a fourth parameter table based on the plurality of illumination intensities, the plurality of second screen luminances and the plurality of third luminance levels, wherein the fourth parameter table comprises: the plurality of illumination intensities and the plurality of third brightness levels; calculating the target backlight brightness adjustment curve based on the backlight brightness table and the fourth parameter table. Therefore, the fourth parameter table can be generated through the first parameter table and the second parameter table, the target backlight brightness adjusting curve is calculated based on the fourth parameter table and the backlight brightness table, the accuracy of calculation of the backlight brightness adjusting curve is improved, the improvement of the adaptability of the backlight brightness adjusting curve and hardware equipment is facilitated, and the user experience degree is improved.
Consistent with the embodiments shown in fig. 2, fig. 3, and fig. 4, please refer to fig. 5, and fig. 5 is a schematic structural diagram of an electronic device 500 provided in an embodiment of the present application, as shown in the figure, the electronic device 500 includes an application processor 510, a memory 520, a communication interface 530, and one or more programs 521, where the one or more programs 521 are stored in the memory 520 and configured to be executed by the application processor 510, and the one or more programs 521 include instructions for:
obtaining a target parameter table of a target device, wherein the target parameter table comprises: a mapping relationship between the first screen brightness and the first brightness level;
performing linear interpolation operation according to a first parameter table of preset standard equipment and the target parameter table to obtain a backlight brightness table of the target equipment, wherein the backlight brightness table comprises a mapping relation between illumination intensity and the second brightness level;
and calculating a target backlight brightness adjusting curve corresponding to the target equipment according to the backlight brightness table, the first parameter table and the second parameter table of the preset standard equipment.
It can be seen that, in the embodiment of the present application, an electronic device obtains a target parameter table of a target device, where the target parameter table includes: a mapping relationship between the first screen brightness and the first brightness level; performing linear interpolation operation according to a first parameter table of preset standard equipment and the target parameter table to obtain a backlight brightness table of the target equipment, wherein the backlight brightness table comprises a mapping relation between illumination intensity and the second brightness level; and calculating a target backlight brightness adjusting curve corresponding to the target equipment according to the backlight brightness table, the first parameter table and the second parameter table of the preset standard equipment. Therefore, the target backlight brightness adjusting curve can be calculated through the first parameter table, the second parameter table and the target parameter table of the standard machine, the backlight brightness adjusting curve is calculated for different hardware devices, the difference of backlight brightness adjusting effects is favorably solved, the backlight brightness requirement of the hardware devices is met, and the user experience is improved.
In a possible example, the linear interpolation operation is performed according to the first parameter table of the preset standard device and the target parameter table to obtain the backlight brightness table of the target device, and the instructions in the program are specifically configured to perform the following operations: acquiring a mapping relation between illumination intensity and second screen brightness from the first parameter table, wherein the mapping relation between the illumination intensity and the second screen brightness comprises a illumination intensities and a corresponding second screen brightness, and a is an integer greater than 0; performing index calculation on the target parameter table and the a second screen brightness to obtain an interpolation index table, wherein the interpolation index table comprises a mapping relation between the a second screen brightness and an interpolation index; and executing interpolation calculation operation according to the interpolation index table to obtain the backlight brightness table.
At one endIn a possible example, the performing an index calculation on the target parameter table and the a second screen luminances obtains an interpolation index table, and the instruction in the program is specifically configured to perform the following operations: b first screen brightness is obtained from the mapping relation between the first screen brightness and a first brightness level in the target parameter table, wherein b is an integer larger than 0; for any one of the a second screen brightness nxDetermining any one second screen brightness n in the b first screen brightnessxCorresponding first screen brightness miDetermining the brightness n of any one of the second screensxThe corresponding interpolation index is i, where miIs less than or equal to nx,mi+1Is greater than or equal to nxX is an integer greater than or equal to 0 and x is less than a, i is an integer greater than or equal to 0 and i is less than b; and establishing the interpolation index table according to the a second screen brightness and a interpolation indexes corresponding to the a second screen brightness, wherein the interpolation index table comprises a mapping relation between the second screen brightness and the interpolation indexes.
In a possible example, the performing an interpolation operation according to the interpolation index table obtains the backlight brightness table, and the instructions in the program are specifically configured to perform the following operations: for any one interpolation index j in a interpolation indexes in the interpolation index tabledD is an integer greater than or equal to 0 and less than a, and the interpolation index j is obtained from the target parameter tabledCorresponding first screen brightness mdFirst screen brightness md+1First brightness level ldAnd a first brightness level ld+1(ii) a Acquiring a preset linear formula, and calculating the first screen brightness mdFirst screen brightness md+1First brightness level liAnd a first brightness level ld+1Obtaining the interpolation index j as the input of the linear formuladA corresponding second brightness level formula; obtaining the interpolation index j from the first parameter tabledCorresponding illumination intensity luxdThe illumination intensity luxdAs the second brightness levelInputting a formula to obtain the illumination intensity luxdCorresponding second brightness level xd(ii) a And repeatedly executing the steps to obtain a plurality of second brightness levels corresponding to the plurality of illumination intensities, and generating the backlight brightness table based on the plurality of illumination intensities and the plurality of second brightness levels.
In a possible example, the target backlight brightness adjustment curve corresponding to the target device is calculated according to the backlight brightness table, the first parameter table, and the second parameter table of the preset standard device, and the instructions in the program are specifically configured to perform the following operations: acquiring a mapping relation between the illumination intensity and second screen brightness; acquiring a mapping relation between the second screen brightness and a third brightness level from the second parameter table; generating a fourth parameter table based on the plurality of illumination intensities, the plurality of second screen luminances, and the plurality of third luminance levels, wherein the fourth parameter table comprises: the plurality of illumination intensities and the plurality of third brightness levels; calculating the target backlight brightness adjustment curve based on the backlight brightness table and the fourth parameter table.
In a possible example, the target backlight brightness adjustment curve is calculated based on the backlight brightness table and the fourth parameter table, and the instructions in the program are specifically configured to: acquiring a preset curve fitting model; and taking the backlight brightness table and the fourth parameter table as the input of the curve fitting model to obtain the target backlight brightness adjusting curve.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one control unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Referring to fig. 6, fig. 6 is a block diagram of functional units of a backlight brightness adjusting apparatus 600 according to an embodiment of the present application, where the backlight brightness adjusting apparatus 600 may be applied to the electronic device shown in fig. 1, and the backlight brightness adjusting apparatus 600 includes an obtaining unit 601, an executing unit 602, and a calculating unit 603, where:
an obtaining unit 601, configured to obtain a target parameter table of a target device, where the target parameter table includes: a mapping relationship between the first screen brightness and the first brightness level;
an executing unit 602, configured to execute a linear interpolation operation according to a first parameter table of a preset standard device and the target parameter table to obtain a backlight brightness table of the target device, where the backlight brightness table includes a mapping relationship between illumination intensity and the second brightness level;
the calculating unit 603 is configured to calculate a target backlight brightness adjustment curve corresponding to the target device according to the backlight brightness table, the first parameter table, and the second parameter table of the preset standard device.
It can be seen that, in the embodiment of the present application, an electronic device obtains a target parameter table of a target device, where the target parameter table includes: a mapping relationship between the first screen brightness and the first brightness level; performing linear interpolation operation according to a first parameter table of preset standard equipment and the target parameter table to obtain a backlight brightness table of the target equipment, wherein the backlight brightness table comprises a mapping relation between illumination intensity and the second brightness level; and calculating a target backlight brightness adjusting curve corresponding to the target equipment according to the backlight brightness table, the first parameter table and the second parameter table of the preset standard equipment. Therefore, the target backlight brightness adjusting curve can be calculated through the first parameter table, the second parameter table and the target parameter table of the standard machine, the backlight brightness adjusting curve is calculated for different hardware devices, the difference of backlight brightness adjusting effects is favorably solved, the backlight brightness requirement of the hardware devices is met, and the user experience is improved.
In a possible example, in terms of obtaining the backlight brightness table of the target device by performing a linear interpolation operation according to the first parameter table of the preset standard device and the target parameter table, the execution unit 602 is specifically configured to: acquiring a mapping relation between illumination intensity and second screen brightness from the first parameter table, wherein the mapping relation between the illumination intensity and the second screen brightness comprises a illumination intensities and a corresponding second screen brightness, and a is an integer greater than 0; performing index calculation on the target parameter table and the a second screen brightness to obtain an interpolation index table, wherein the interpolation index table comprises a mapping relation between the a second screen brightness and an interpolation index; and executing interpolation calculation operation according to the interpolation index table to obtain the backlight brightness table.
In a possible example, in terms of performing an index calculation on the target parameter table and the a second screen luminances to obtain an interpolation index table, the execution unit 602 is specifically configured to: b first screen brightness is obtained from the mapping relation between the first screen brightness and a first brightness level in the target parameter table, wherein b is an integer larger than 0; for any one of the a second screen brightness nxDetermining any one second screen brightness n in the b first screen brightnessxCorresponding first screen brightness miDetermining the brightness n of any one of the second screensxThe corresponding interpolation index is i, wherein,miIs less than or equal to nx,mi+1Is greater than or equal to nxX is an integer greater than or equal to 0 and x is less than a, i is an integer greater than or equal to 0 and i is less than b; and establishing the interpolation index table according to the a second screen brightness and a interpolation indexes corresponding to the a second screen brightness, wherein the interpolation index table comprises a mapping relation between the second screen brightness and the interpolation indexes.
In a possible example, in terms of the obtaining the backlight brightness table by performing the interpolation operation according to the interpolation index table, the executing unit 602 is specifically configured to: for any one interpolation index j in a interpolation indexes in the interpolation index tabledD is an integer greater than or equal to 0 and less than a, and the interpolation index j is obtained from the target parameter tabledCorresponding first screen brightness mdFirst screen brightness md+1First brightness level ldAnd a first brightness level ld+1(ii) a Acquiring a preset linear formula, and calculating the first screen brightness mdFirst screen brightness md+1First brightness level liAnd a first brightness level ld+1Obtaining the interpolation index j as the input of the linear formuladA corresponding second brightness level formula; obtaining the interpolation index j from the first parameter tabledCorresponding illumination intensity luxdThe illumination intensity luxdObtaining the illumination intensity lux as an input of the second brightness level formuladCorresponding second brightness level xd(ii) a And repeatedly executing the steps to obtain a plurality of second brightness levels corresponding to the plurality of illumination intensities, and generating the backlight brightness table based on the plurality of illumination intensities and the plurality of second brightness levels.
In a possible example, in the aspect of calculating the target backlight brightness adjustment curve corresponding to the target device according to the backlight brightness table, the first parameter table, and the second parameter table of the preset standard device, the calculating unit 603 is specifically configured to: acquiring a mapping relation between the illumination intensity and second screen brightness; acquiring a mapping relation between the second screen brightness and a third brightness level from the second parameter table; generating a fourth parameter table based on the plurality of illumination intensities, the plurality of second screen luminances, and the plurality of third luminance levels, wherein the fourth parameter table comprises: the plurality of illumination intensities and the plurality of third brightness levels; calculating the target backlight brightness adjustment curve based on the backlight brightness table and the fourth parameter table.
In a possible example, in the calculating the target backlight brightness adjustment curve based on the backlight brightness table and the fourth parameter table, the calculating unit 603 is specifically configured to: acquiring a preset curve fitting model; and taking the backlight brightness table and the fourth parameter table as the input of the curve fitting model to obtain the target backlight brightness adjusting curve.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A backlight brightness adjusting method is characterized by comprising the following steps:
obtaining a target parameter table of a target device, wherein the target parameter table comprises: a mapping relationship between the first screen brightness and the first brightness level;
performing linear interpolation operation according to a first parameter table of preset standard equipment and the target parameter table to obtain a backlight brightness table of the target equipment, wherein the backlight brightness table comprises a mapping relation between illumination intensity and the second brightness level;
and calculating a target backlight brightness adjusting curve corresponding to the target equipment according to the backlight brightness table, the first parameter table and the second parameter table of the preset standard equipment.
2. The method of claim 1, wherein the performing a linear interpolation operation according to the first parameter table of the preset standard device and the target parameter table to obtain the backlight brightness table of the target device comprises:
acquiring a mapping relation between illumination intensity and second screen brightness from the first parameter table, wherein the mapping relation between the illumination intensity and the second screen brightness comprises a illumination intensities and a corresponding second screen brightness, and a is an integer greater than 0;
performing index calculation on the target parameter table and the a second screen brightness to obtain an interpolation index table, wherein the interpolation index table comprises a mapping relation between the a second screen brightness and an interpolation index;
and executing interpolation calculation operation according to the interpolation index table to obtain the backlight brightness table.
3. The method of claim 2, wherein the performing an index calculation on the target parameter table and the a second screen luminances to obtain an interpolation index table comprises:
b first screen brightness is obtained from the mapping relation between the first screen brightness and a first brightness level in the target parameter table, wherein b is an integer larger than 0;
for any one of the a second screen brightness nxDetermining any one second screen brightness n in the b first screen brightnessxCorresponding first screen brightness miDetermining the brightness n of any one of the second screensxThe corresponding interpolation index is i, where miIs less than or equal to nx,mi+1Is greater than or equal to nxX is an integer greater than or equal to 0 and x is less than a, i is an integer greater than or equal to 0 and i is less than b;
and establishing the interpolation index table according to the a second screen brightness and a interpolation indexes corresponding to the a second screen brightness, wherein the interpolation index table comprises a mapping relation between the second screen brightness and the interpolation indexes.
4. The method of claim 2, wherein the performing an interpolation operation according to the interpolation index table to obtain the backlight brightness table comprises:
for any one interpolation index j in a interpolation indexes in the interpolation index tabledD is an integer greater than or equal to 0 and less than a, and the interpolation index j is obtained from the target parameter tabledCorresponding first screen brightness mdFirst screen brightness md+1First brightness level ldAnd a first brightness level ld+1
Acquiring a preset linear formula, and calculating the first screen brightness mdFirst screen brightness md+1First brightness level liAnd a first brightness level ld+1Obtaining the interpolation index j as the input of the linear formuladA corresponding second brightness level formula;
obtaining the interpolation index j from the first parameter tabledCorresponding illumination intensity luxdThe illumination intensity luxdObtaining the illumination intensity lux as an input of the second brightness level formuladCorresponding second brightness level xd
And repeatedly executing the steps to obtain a plurality of second brightness levels corresponding to the plurality of illumination intensities, and generating the backlight brightness table based on the plurality of illumination intensities and the plurality of second brightness levels.
5. The method according to any one of claims 1 to 4, wherein the calculating a target backlight brightness adjustment curve corresponding to the target device according to the backlight brightness table, the first parameter table and the second parameter table of the preset standard device comprises:
acquiring a mapping relation between the illumination intensity and second screen brightness;
acquiring a mapping relation between the second screen brightness and a third brightness level from the second parameter table;
generating a fourth parameter table based on the plurality of illumination intensities, the plurality of second screen luminances, and the plurality of third luminance levels, wherein the fourth parameter table comprises: the plurality of illumination intensities and the plurality of third brightness levels;
calculating the target backlight brightness adjustment curve based on the backlight brightness table and the fourth parameter table.
6. The method of claim 5, wherein said calculating the target backlight brightness adjustment curve based on the backlight brightness table and the fourth parameter table comprises:
acquiring a preset curve fitting model;
and taking the backlight brightness table and the fourth parameter table as the input of the curve fitting model to obtain the target backlight brightness adjusting curve.
7. A backlight luminance adjusting apparatus, comprising:
an obtaining unit, configured to obtain a target parameter table of a target device, where the target parameter table includes: a mapping relationship between the first screen brightness and the first brightness level;
the execution unit is used for executing linear interpolation operation according to a first parameter table of preset standard equipment and the target parameter table to obtain a backlight brightness table of the target equipment, wherein the backlight brightness table comprises a mapping relation between illumination intensity and the second brightness level;
and the calculating unit is used for calculating a target backlight brightness adjusting curve corresponding to the target equipment according to the backlight brightness table, the first parameter table and the second parameter table of the preset standard equipment.
8. The apparatus of claim 7, wherein in terms of obtaining the backlight brightness table of the target device by performing a linear interpolation operation according to the first parameter table of the preset standard device and the target parameter table, the execution unit is specifically configured to:
acquiring a mapping relation between illumination intensity and second screen brightness from the first parameter table, wherein the mapping relation between the illumination intensity and the second screen brightness comprises a illumination intensities and a corresponding second screen brightness, and a is an integer greater than 0;
performing index calculation on the target parameter table and the a second screen brightness to obtain an interpolation index table, wherein the interpolation index table comprises a mapping relation between the a second screen brightness and an interpolation index;
and executing interpolation calculation operation according to the interpolation index table to obtain the backlight brightness table.
9. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-6.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-6.
CN202010128989.XA 2020-02-28 2020-02-28 Backlight brightness adjusting method and related product Active CN111343321B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010128989.XA CN111343321B (en) 2020-02-28 2020-02-28 Backlight brightness adjusting method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010128989.XA CN111343321B (en) 2020-02-28 2020-02-28 Backlight brightness adjusting method and related product

Publications (2)

Publication Number Publication Date
CN111343321A true CN111343321A (en) 2020-06-26
CN111343321B CN111343321B (en) 2021-08-10

Family

ID=71187182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010128989.XA Active CN111343321B (en) 2020-02-28 2020-02-28 Backlight brightness adjusting method and related product

Country Status (1)

Country Link
CN (1) CN111343321B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181500A (en) * 2020-08-07 2021-01-05 深圳市鼎盛光电有限公司 Parameter adjusting method, device, terminal and storage medium
CN112230834A (en) * 2020-10-30 2021-01-15 上海龙旗科技股份有限公司 Method and device for adjusting backlight of intelligent device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107146581A (en) * 2017-04-07 2017-09-08 广东欧珀移动通信有限公司 Adjust method, mobile terminal and the storage medium of backlight illumination grade
CN107835324A (en) * 2017-12-13 2018-03-23 维沃移动通信有限公司 A kind of back light brightness regulating method and mobile terminal
CN107845366A (en) * 2016-09-19 2018-03-27 华为技术有限公司 A kind of backlight adjusting method and device
CN108401078A (en) * 2018-06-01 2018-08-14 Oppo(重庆)智能科技有限公司 A kind of back light brightness regulating method, backlight illumination regulating device and mobile terminal
CN108648697A (en) * 2018-03-30 2018-10-12 中兴通讯股份有限公司 Screen intensity calibration method, apparatus and system, computer readable storage medium
CN108877692A (en) * 2013-11-20 2018-11-23 华为终端(东莞)有限公司 A kind of method, apparatus and electronic equipment of adjusting backlight luminance
CN109859689A (en) * 2019-04-09 2019-06-07 Oppo广东移动通信有限公司 Screen luminance adjustment method and Related product
CN110021257A (en) * 2019-04-02 2019-07-16 Oppo广东移动通信有限公司 Display brightness method of adjustment and relevant device
CN110047443A (en) * 2019-04-08 2019-07-23 Oppo广东移动通信有限公司 Backlight brightness regulation method, device, mobile terminal and storage medium
CN110428782A (en) * 2019-07-24 2019-11-08 Oppo广东移动通信有限公司 Brightness adjusting method and Related product

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108877692A (en) * 2013-11-20 2018-11-23 华为终端(东莞)有限公司 A kind of method, apparatus and electronic equipment of adjusting backlight luminance
CN107845366A (en) * 2016-09-19 2018-03-27 华为技术有限公司 A kind of backlight adjusting method and device
CN107146581A (en) * 2017-04-07 2017-09-08 广东欧珀移动通信有限公司 Adjust method, mobile terminal and the storage medium of backlight illumination grade
CN107835324A (en) * 2017-12-13 2018-03-23 维沃移动通信有限公司 A kind of back light brightness regulating method and mobile terminal
CN108648697A (en) * 2018-03-30 2018-10-12 中兴通讯股份有限公司 Screen intensity calibration method, apparatus and system, computer readable storage medium
CN108401078A (en) * 2018-06-01 2018-08-14 Oppo(重庆)智能科技有限公司 A kind of back light brightness regulating method, backlight illumination regulating device and mobile terminal
CN110021257A (en) * 2019-04-02 2019-07-16 Oppo广东移动通信有限公司 Display brightness method of adjustment and relevant device
CN110047443A (en) * 2019-04-08 2019-07-23 Oppo广东移动通信有限公司 Backlight brightness regulation method, device, mobile terminal and storage medium
CN109859689A (en) * 2019-04-09 2019-06-07 Oppo广东移动通信有限公司 Screen luminance adjustment method and Related product
CN110428782A (en) * 2019-07-24 2019-11-08 Oppo广东移动通信有限公司 Brightness adjusting method and Related product

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181500A (en) * 2020-08-07 2021-01-05 深圳市鼎盛光电有限公司 Parameter adjusting method, device, terminal and storage medium
CN112230834A (en) * 2020-10-30 2021-01-15 上海龙旗科技股份有限公司 Method and device for adjusting backlight of intelligent device

Also Published As

Publication number Publication date
CN111343321B (en) 2021-08-10

Similar Documents

Publication Publication Date Title
CN109583356B (en) Fingerprint identification method and related product
CN109283996B (en) Display control method and related product
CN109271014B (en) Method and equipment for adjusting screen brightness
CN108269530A (en) The brightness adjusting method and Related product of AMOLED display screens
CN109240551B (en) Method for controlling electronic device by using gestures and related product
CN110475020B (en) Equipment control method and related product
CN110427741B (en) Fingerprint identification method and related product
CN111338725A (en) Interface layout method and related product
CN109375889B (en) Display control method and related product
CN111343321B (en) Backlight brightness adjusting method and related product
CN108769401B (en) Signal detection method and related product
CN113282317B (en) Optical fingerprint parameter upgrading method and related product
CN108924439B (en) Image processing method and related product
CN113360005A (en) Color cast adjusting method and related product
CN108989546B (en) Approach detection method of electronic device and related product
CN111312179B (en) Backlight brightness adjusting method and related product
CN107231461B (en) Fingerprint acquisition method and related product
CN110827785B (en) Brightness adjusting method and related product
CN110221696B (en) Eyeball tracking method and related product
CN110278028B (en) Information transmission method and related product
CN110796673B (en) Image segmentation method and related product
CN110162264B (en) Application processing method and related product
CN110264184B (en) Payment control method and related product
CN112989878A (en) Pupil detection method and related product
CN108989555B (en) Image processing method and related product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant