CN114913818B - Backlight brightness adjusting method and device, electronic equipment and storage medium - Google Patents

Backlight brightness adjusting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114913818B
CN114913818B CN202110181719.XA CN202110181719A CN114913818B CN 114913818 B CN114913818 B CN 114913818B CN 202110181719 A CN202110181719 A CN 202110181719A CN 114913818 B CN114913818 B CN 114913818B
Authority
CN
China
Prior art keywords
brightness
target
sequence
adjustment parameter
value sequence
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.)
Active
Application number
CN202110181719.XA
Other languages
Chinese (zh)
Other versions
CN114913818A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110181719.XA priority Critical patent/CN114913818B/en
Publication of CN114913818A publication Critical patent/CN114913818A/en
Application granted granted Critical
Publication of CN114913818B publication Critical patent/CN114913818B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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
    • 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
    • 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

Landscapes

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

Abstract

The disclosure provides a backlight brightness adjusting method, a backlight brightness adjusting device, electronic equipment and a storage medium. The backlight brightness adjusting method provided by the disclosure is applied to electronic equipment, and comprises the following steps: responding to the operation of selecting a target brightness mode from a plurality of preset brightness modes, and acquiring a target adjustment parameter sequence corresponding to the target brightness mode; taking the target adjustment parameter sequence as a convolution kernel, and correcting a pre-stored standard brightness curve based on convolution operation to obtain a corrected target brightness curve; and adjusting the backlight brightness of the electronic equipment based on the target brightness curve. The backlight brightness adjusting method, the device, the electronic equipment and the storage medium can meet the human eye watching requirements of different users and improve the adjusting precision of backlight brightness.

Description

Backlight brightness adjusting method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of electronics, and in particular relates to a backlight brightness adjusting method, a backlight brightness adjusting device, electronic equipment and a storage medium.
Background
Currently, electronic devices such as smartphones, tablet computers, electronic book readers, etc. have become an indispensable tool for users. However, when the user uses the electronic device, the excessively bright or excessively dark backlight brightness may cause the user to feel visual fatigue. Therefore, in order to alleviate visual fatigue of the user, adjustment of backlight brightness of the screen is required.
Currently, the backlight brightness of a screen is mainly adjusted based on a standard brightness curve. However, the human eyes of different users are different in sense, and if the human eyes are adjusted according to the standard brightness curve, the viewing requirements of different users cannot be met, and the adjustment accuracy is low.
Disclosure of Invention
The present disclosure provides a method, apparatus, electronic device, and storage medium for adjusting backlight brightness, to solve the deficiencies in the related art.
According to a first aspect of embodiments of the present disclosure, a backlight brightness adjusting method is provided, where the method is applied to an electronic device, and the method includes:
responding to the operation of selecting a target brightness mode from a plurality of preset brightness modes, and acquiring a target adjustment parameter sequence corresponding to the target brightness mode;
Taking the target adjustment parameter sequence as a convolution kernel, and correcting a pre-stored standard brightness curve based on convolution operation to obtain a corrected target brightness curve;
And adjusting the backlight brightness of the electronic equipment based on the target brightness curve.
According to a second aspect of embodiments of the present disclosure, a backlight brightness adjusting apparatus is provided, which is applied to an electronic device, and includes an acquisition module, a correction module, and a processing module, where,
The acquisition module is used for responding to the operation of selecting a target brightness mode from a plurality of preset brightness modes and acquiring a target adjustment parameter sequence corresponding to the target brightness mode;
the correction module is used for correcting a pre-stored standard brightness curve based on convolution operation by taking the target adjustment parameter sequence as a convolution kernel to obtain a corrected target brightness curve;
and the processing module is used for adjusting the backlight brightness of the electronic equipment based on the target brightness curve.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device including:
A processor;
A memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of any one of the first aspects provided by the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements a method as provided by any one of the present disclosure
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
As can be seen from the foregoing embodiments, the backlight brightness adjustment method, apparatus, electronic device and storage medium provided by the present disclosure provide multiple brightness modes for a user to select, and further correct a standard brightness curve based on a target adjustment parameter sequence corresponding to a target brightness mode selected by the user, so as to obtain a target brightness curve, thereby performing backlight adjustment based on the target brightness curve. Therefore, the target brightness curve is the brightness curve obtained by correcting the standard brightness curve based on the target adjustment parameters corresponding to the target brightness mode selected by the user, so that multiple brightness curves can be provided for the user by providing multiple brightness modes, the user can select a proper brightness curve according to the self needs, the human eye watching requirements of different users can be met, and the adjustment precision of the backlight brightness of the electronic equipment is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart of a backlight brightness adjustment method according to an exemplary embodiment of the present disclosure;
FIG. 2 is a flowchart of another backlight brightness adjustment method according to an exemplary embodiment of the present disclosure;
FIG. 3 is a flowchart of yet another backlight brightness adjustment method according to an exemplary embodiment of the present disclosure;
FIG. 4 is a flowchart of yet another backlight adjustment method illustrated by the present disclosure according to an exemplary embodiment;
Fig. 5 is a schematic structural view of a backlight brightness adjusting device according to an exemplary embodiment of the present disclosure;
fig. 6 is a schematic structural view of another backlight brightness adjusting device according to an exemplary embodiment of the present disclosure;
Fig. 7 is a schematic diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The disclosure provides a backlight brightness adjusting method, a device, an electronic device and a storage medium, which can solve the problem that the backlight brightness adjusting precision of the electronic device in the related art is low as the backlight brightness adjusting method, the device, the electronic device and the storage medium can only adjust the backlight through a standard brightness curve in the related art and cannot meet the human eye watching requirements of different users.
The backlight brightness adjusting method and device provided by the disclosure can be applied to electronic equipment, such as mobile phones, tablet devices and the like.
The disclosure provides a backlight brightness adjusting method, a device, electronic equipment and a storage medium, wherein a plurality of brightness modes are provided for a user to select, and further a standard brightness curve is corrected based on a target adjustment parameter sequence corresponding to a target brightness mode selected by the user, so that a target brightness curve is obtained, and backlight adjustment is performed based on the target brightness curve. Thus, the requirements of different users on eye viewing can be met, and the adjustment precision is improved.
The following detailed embodiments are provided to describe the technical solution of the present disclosure in detail, and may be combined, and the details of the same or similar concepts will not be repeated in some embodiments.
Fig. 1 is a flowchart of a backlight brightness adjustment method according to an exemplary embodiment of the present disclosure. Referring to fig. 1, the method provided in this embodiment may include the following steps:
S101, responding to an operation of selecting a target brightness mode from a plurality of preset brightness modes, and acquiring a target adjustment parameter sequence corresponding to the target brightness mode.
It should be noted that, the operation of selecting the target brightness mode from the preconfigured plurality of brightness modes may be triggered by the user, or after the user triggers the operation in the other device, the other device sends the operation to the electronic device. In the present embodiment, this is not limited.
Further, the electronic device can provide a brightness mode selection control on the brightness setting page. Further, the electronic device can present a preconfigured plurality of brightness modes to a user in response to the brightness mode selection control being triggered. In addition, a plurality of luminance modes configured in advance are configured according to actual needs. In this embodiment, this is not limited. For example, in one embodiment, the preconfigured plurality of brightness modes includes: highlighting, low-lighting, standard, dark, custom 1, custom 2.
Further, the plurality of luminance modes configured in advance may be configured in the electronic device at the time of shipment of the electronic device; and/or, the preconfigured plurality of brightness modes are configured in the electronic device based on a brightness mode configuration operation of the user; and/or, the preconfigured multiple brightness modes are obtained from other electronic devices independent of the electronic device and configured in the electronic device (for example, a user can obtain the configured brightness mode from a server for managing the electronic device (for example, a server can periodically update the brightness mode on the server, a user can obtain the brightness mode from the server based on own demand), or obtain the configured brightness mode from the electronic device of other users (for example, after a user a configures one brightness mode on an a mobile phone used by the user a, the brightness mode can be shared to a user B)).
For example, in the above-described example, the first four luminance patterns (highlight, low-highlight, standard, dark) may be configured in the electronic device at the time of shipment of the electronic device, and the second two luminance patterns (custom 1 and custom 2) may be configured in the electronic device based on the configuration operation of the user.
It should be noted that, each brightness mode corresponds to an adjustment parameter sequence, and the adjustment parameter sequence is used for correcting the standard brightness curve to obtain a corrected target brightness curve. In addition, one adjustment parameter sequence includes T (T is a positive integer smaller than N, N is a length of a first value sequence of screen brightness in a mapping relationship between standard ambient light brightness and screen brightness (the length of the value sequence refers to the number of digital elements included in the value sequence)), and each digital element is a natural number.
In the disclosure, different brightness modes are configured, so that the standard brightness curve can be adjusted based on different adjusting parameter sequences, and the target brightness curve which can meet different user requirements is obtained.
In addition, after a brightness mode is configured, the electronic device can store the identification of the brightness mode and the adjustment parameters corresponding to the brightness mode in a correlated manner. In this step, in response to a user selecting a target luminance mode from a plurality of luminance modes, a target adjustment parameter sequence corresponding to the target luminance mode may be obtained based on an identification of the target luminance mode.
S102, correcting a pre-stored standard brightness curve based on convolution operation by taking the target adjustment parameter sequence as a convolution kernel to obtain a corrected target brightness curve.
Specifically, in one embodiment, the standard luminance curve may include a mapping relationship between standard ambient light luminance and screen luminance, and a mapping relationship between standard screen luminance and backlight level. At this time, the specific implementation procedure of this step may include:
(1) And correcting the first mapping relation between the standard ambient light brightness and the screen brightness in the pre-stored standard brightness curve based on convolution operation by taking the target adjustment parameter sequence as a convolution kernel to obtain a corrected first mapping relation.
Fig. 2 is a flowchart of another backlight brightness adjustment method according to an exemplary embodiment of the present disclosure. Referring to fig. 2, in the example shown in fig. 2, the specific implementation procedure of this step may include:
S201, acquiring a first value sequence of the screen brightness in a first mapping relation between the standard ambient light brightness and the screen brightness.
For example, in one embodiment, the first mapping relationship between the standard ambient light brightness and the screen brightness can be characterized by two digital element sequences, where the two digital element sequences are respectively:
a second sequence of values of the intensity of the ambient light: containing N-1 increasing positive numbers; wherein each digital element is used as an ambient light intensity interval point, and the N-1 digital element divides the ambient light intensity into N intervals.
First value sequence of screen brightness: comprises N incremental positive numbers (namely, the length of the first value sequence is N); each digital element represents a minimum screen brightness value for the corresponding ambient light intensity interval.
In connection with the above description, for example, in one embodiment, the second sequence of values includes 4 digital elements, which are respectively: h1, H2, H3, and H4; the first sequence of values comprises 5 digital elements, the 5 digital elements being: A. b, C, D and E (when the ambient light brightness interval is (0H 1), the corresponding minimum screen brightness value is A.) at this time, the first value sequence obtained in this step is a digital element sequence composed of A, B, C, D and E.
S202, performing convolution operation on the first value sequence by taking the target adjustment parameter sequence as a convolution check to obtain a target value sequence; the length of the target value sequence is equal to the length of the first value sequence.
In the specific implementation, the first value sequence may be filled according to the target adjustment parameter sequence to obtain a filled value sequence, and then the filled value sequence is subjected to convolution operation by taking the target adjustment parameter sequence as a convolution check to obtain the target value sequence.
In the specific filling, zero may be used as a filling value for filling, or an average value of each digital element in the target adjustment parameter sequence is used as a filling value for filling, or a last digital element in the target adjustment parameter sequence is used as a filling value for filling. In addition, during filling, M (M is equal to the difference between the length T of the target adjustment parameter sequence and 1) filling values need to be filled to the end of the first value sequence, so as to obtain a filled value sequence.
For example, in one embodiment, the target adjustment parameter sequence includes 3 digital elements, which are T1, T2, and T3, respectively. In combination with the above example, the first sequence of values is a sequence of numerical elements consisting of A, B, C, D and E. At this time, 2 padding values need to be padded at the end of the first valued sequence. For example, in one embodiment, zero is used as a filling value to fill, and the value sequence after filling is: A. b, C, D, E, 0.
Further, the convolution operation can be expressed as follows:
Wherein Y n is an element in the target value sequence;
Ja is an element in the convolution kernel, c represents the length of the convolution kernel, b represents the step size of the convolution kernel movement (in this disclosure, the step size of the convolution kernel movement is 1);
X (a+(n-1)b) is an element in the filled value sequence.
For example, in one embodiment, the convolution kernel includes three elements (length of the convolution kernel is 3), denoted as J1, J2, and J3, respectively, the filled value sequence includes 7 elements, denoted as X1 through X7, respectively, and each element in the target value sequence is denoted as Y1 through Y5, respectively :Y1=J1*X1+J2*X2+J3*X3、Y2=J1*X2+J2*X3+J3*X4、Y3=J1*X3+J2*X4+J3*X5、Y4=J1*X4+J2*X5+J3*X6、Y5=J1*X5+J2*X6+J3*X7
In combination with the above description, in the above example, after the filled value sequence is obtained, the filled value sequences may be subjected to convolution operation by using the T1, T2, and T3 as convolution cores, to obtain the target value sequence. The specific implementation principle of the convolution operation can be referred to in the foregoing description, and will not be repeated here. In this example, the target value sequence obtained after convolution operation is a digital element sequence consisting of a1+bt2+ct3, bt1+ct2+dt3, ct1+dt2+et3, dt1+et2+0 t3, et1+0 t2+0 t3.
S203, constructing the corrected first mapping relation based on the target value sequence and a second value sequence of the ambient light brightness in the first mapping relation.
In specific implementation, the second value sequence is used as the value sequence of the ambient light brightness in the corrected first mapping relation, and the target value sequence is used as the corresponding screen brightness value sequence in the mapping relation to construct the corrected first mapping relation.
In combination with the above example, the first mapping relationship after correction may be expressed as a correspondence relationship between the following two digital element sequences (see the following two digital element sequences, that is, when the ambient light brightness interval is (0H 1), the corresponding minimum screen brightness value is a×t1+b×t2+c×t3):
sequence of values of the intensity of the ambient light: h1, H2, H3 and H4
Value sequence of screen brightness: aT1+bT2+cT3, bT1+cT2+dT3, cT1+dT2+ET3, dT1+ET2+0 T3, ET1+0T2+0 T3
With reference to the foregoing description, the mapping relationship between the ambient light intensity and the screen brightness can be adjusted by adjusting the parameter sequence. In addition, different visual effects can be achieved by setting different adjustment parameter sequences.
For example, the plurality of adjustment parameter sequences corresponding to the plurality of luminance modes include a first type of adjustment parameter sequence for linearly adjusting the standard luminance curve and a second type of adjustment parameter sequence for non-linearly adjusting the standard luminance curve.
It should be noted that, in the first type of adjustment parameter sequence, except for the first digital element, all the other digital elements are 0. For example, a first type of adjustment parameter sequence may be A1 (greater than 0), 0. Further, A1 may be set to a positive number less than 1 for the purpose of turning down the standard luminance curve (corresponding screen luminance is darker), or A1 may be set to a positive number greater than 1 for the purpose of turning up the standard luminance curve (corresponding screen luminance is lighter). In addition, the second class of adjustment parameter sequences includes at least one non-zero digital element in addition to the first digital element being other than 0.
(2) And constructing the target brightness curve based on the corrected first mapping relation and a second mapping relation between the standard screen brightness and the backlight level in the standard brightness curve.
Specifically, the corrected first mapping relationship and the second mapping relationship between the standard screen brightness and the backlight level in the target standard brightness curve can be directly determined as the target brightness curve.
S103, adjusting the backlight brightness of the electronic equipment based on the target brightness curve.
The specific implementation process of the step can comprise the following steps; detecting the ambient light brightness, determining a target backlight grade corresponding to the ambient light brightness based on the ambient light brightness and a target brightness curve, and further adjusting the backlight brightness based on the target backlight grade.
According to the method provided by the embodiment, the plurality of brightness modes are provided for the user to select, and then the standard brightness curve is corrected based on the target adjustment parameter sequence corresponding to the target brightness mode selected by the user, so that the target brightness curve is obtained, and backlight adjustment is performed based on the target brightness curve. Therefore, the target brightness curve is the brightness curve obtained by correcting the standard brightness curve based on the target adjustment parameters corresponding to the target brightness mode selected by the user, so that multiple brightness curves can be provided for the user by providing multiple brightness modes, the user can select a proper brightness curve according to the self needs, the human eye watching requirements of different users can be met, the adjusting precision is improved, and the watching experience of the user is improved.
Fig. 3 is a flowchart of yet another backlight adjustment method according to an exemplary embodiment of the present disclosure. This embodiment relates to a specific implementation procedure of how to configure the luminance pattern. Referring to fig. 3, the method provided in this embodiment, the configuration process of the luminance mode includes:
S301, responding to brightness mode configuration operation of a user, and outputting a configuration interface to the user; wherein the configuration interface includes a configuration specification for guiding a configuration process.
Specifically, a brightness mode configuration control may be provided on the brightness setting page such that a user triggers a brightness mode configuration operation based on the brightness mode configuration control.
The configuration is an explanatory file for guiding the configuration process, and the specific content thereof is not limited in this embodiment. For example, in one embodiment, the specific content of the configuration description may be: you can input no more than N (N is the length of the first value sequence) digital elements, so as to correct the standard brightness curve through the digital element sequence formed by the input digital elements. If you want to turn up the standard brightness curve, we can input T (less than N above) numbers greater than 1 to make up the digital element sequence, if you want to turn down the standard brightness curve, we can input T numbers less than 1 to make up the digital element sequence.
S302, responding to a digital element sequence input by a user through the configuration interface, and storing the digital element sequence as an adjustment parameter sequence corresponding to a brightness mode.
For example, in one embodiment, the sequence of digital elements entered by the user is 2, 0. At this time, the digital element sequence may be stored as an adjustment parameter sequence corresponding to a luminance pattern.
It should be noted that, in a specific implementation, a luminance pattern may be generated at the luminance pattern selection interface, and the identifier of the luminance pattern and the digital element sequence are stored in association, so that the digital element sequence is used as an adjustment parameter sequence corresponding to the luminance pattern corresponding to the identifier to be stored.
The method provided by the embodiment provides a method for configuring the brightness mode, by which different brightness modes can be configured according to user requirements, the user requirements can be met, and the user experience is improved.
Fig. 4 is a flowchart of yet another backlight adjustment method according to an exemplary embodiment of the present disclosure. This embodiment relates to a specific implementation procedure of how to configure the luminance pattern. Referring to fig. 4, the method provided in this embodiment, the configuration process of the luminance mode includes:
s401, responding to a brightness mode configuration operation, and outputting a configuration interface to a user; wherein the configuration interface includes a plurality of candidate luminance patterns; the lengths of the candidate adjustment parameter sequences corresponding to different candidate brightness modes are different.
With reference to the foregoing, a brightness mode configuration control may be provided on the brightness setting page to enable a user to trigger a brightness mode configuration operation based on the brightness mode configuration control.
Further, the candidate luminance pattern is preconfigured in the electronic device at the time of shipment of the electronic device. When the electronic equipment leaves the factory, the length of the candidate adjustment parameter sequence corresponding to each candidate brightness mode and the value range of each digital element in the candidate adjustment parameters can be preconfigured, so that a user can configure the brightness mode meeting the self requirement based on the candidate brightness mode.
For example, in one embodiment, the configuration interface provides four candidate luminance patterns, which are respectively bright 1, bright 2, dark 1 and dark 2, and the lengths of the candidate adjustment parameter sequences corresponding to the four candidate luminance patterns are respectively 3, 4, 3 and 5.
S402, responding to the operation that a user selects a target candidate brightness mode through the configuration interface, and outputting the value range of each digital element in the candidate adjustment parameter sequence corresponding to the target candidate brightness mode to the user.
For example, in one embodiment, the target candidate brightness mode selected by the user is dark 1, and at this time, the value range of each digital element in the candidate adjustment sequence corresponding to the candidate brightness mode is displayed to the user. For example, in this example, the length of the candidate adjustment parameter sequence corresponding to the candidate brightness mode "dark 1" is 3, and the value range of each digital element in the candidate adjustment parameter sequence is: the first digital element is greater than 1, the second digital element is greater than 0 and less than 1, and the third digital element is 0.
S403, responding to the operation of selecting the target value from the value range by the user, and storing the digital element sequence formed by the target value selected by the user as an adjustment parameter sequence corresponding to a brightness mode.
In combination with the above example, for example, the user determines that the first digital element is 2, the second digital element is 0.5, and the third digital element is 0, and at this time, the following digital element sequences "2, 0.5, and 0" are saved as adjustment parameter sequences corresponding to one brightness mode.
In the foregoing description, when the method is specifically implemented, a luminance pattern may be generated in the luminance pattern selection interface, and the identifier of the luminance pattern and the digital element sequence are stored in association, so that the digital element sequence is stored as an adjustment parameter sequence corresponding to the luminance pattern corresponding to the identifier.
For example, in the example shown above, a luminance pattern identified as "custom 3" may be generated at the luminance pattern selection interface, and the identification of the luminance pattern may be stored in association with the following digital element sequences "2, 0.5, 0" to store the digital element sequences as the adjustment parameter sequences corresponding to the luminance pattern.
The method provided by the embodiment provides a method for configuring the brightness mode, by which different brightness modes can be configured according to user requirements, the user requirements can be met, and the user experience is improved.
Corresponding to the foregoing embodiments of the backlight brightness adjusting method, the present disclosure also provides embodiments of a backlight brightness adjusting apparatus.
Fig. 5 is a schematic structural view of a backlight brightness adjusting device according to an exemplary embodiment of the present disclosure. Referring to fig. 5, the apparatus provided in this embodiment is applied to an electronic device, and the apparatus includes an acquisition module 510, a correction module 520 and a processing module 530, where,
The obtaining module 510 is configured to obtain a target adjustment parameter sequence corresponding to a target brightness mode in response to an operation of selecting the target brightness mode from a plurality of preset brightness modes;
the correction module 520 is configured to correct a pre-stored standard brightness curve based on convolution operation by using the target adjustment parameter sequence as a convolution kernel, so as to obtain a corrected target brightness curve;
the processing module 530 is configured to perform backlight brightness adjustment of the electronic device based on the target brightness curve.
The device provided in this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 1, and its implementation principle and technical effects are similar, and are not described here again.
Further, fig. 6 is a schematic structural view of another backlight brightness adjusting device according to an exemplary embodiment of the present disclosure. Referring to fig. 6, based on the above embodiment, the apparatus of the present embodiment, the correction module 520 includes a correction unit 521 and a construction unit 522, where,
The correction unit 521 is configured to correct a first mapping relationship between the standard ambient light brightness and the screen brightness in a pre-stored standard brightness curve based on convolution operation by using the target adjustment parameter sequence as a convolution kernel, so as to obtain a corrected first mapping relationship;
The construction unit 522 is configured to construct the target luminance curve based on the modified first mapping relationship and a second mapping relationship between the standard screen luminance and the backlight level in the standard luminance curve.
Further, the correction unit 521 is specifically configured to:
acquiring a first value sequence of screen brightness in the first mapping relation;
Taking the target adjustment parameter sequence as a convolution check to carry out convolution operation on the first value sequence to obtain a target value sequence; the length of the target value sequence is equal to that of the first value sequence;
And constructing the corrected first mapping relation based on the target value sequence and a second value sequence of the ambient light brightness in the first mapping relation.
Further, the correction unit 521 is specifically configured to:
Filling the first value sequence according to the target adjustment parameter sequence to obtain a filled value sequence; the length of the value sequence after filling is equal to the sum value of the length of the first value sequence and M; the M is equal to the difference value between the length of the target adjustment parameter sequence and 1;
and carrying out convolution operation on the filled value sequence by taking the target adjustment parameter sequence as a convolution check to obtain the target value sequence.
Further, the preconfigured plurality of brightness modes are configured in the electronic device when the electronic device leaves the factory;
and/or the preconfigured plurality of brightness modes are configured in the electronic device based on a brightness mode configuration operation of a user;
and/or the preconfigured multiple brightness modes are acquired from other electronic devices independent of the electronic device and are configured in the electronic device.
Further, the processing module 530 is further configured to:
responding to the brightness mode configuration operation of the user, and outputting a configuration interface to the user; wherein the configuration interface includes a configuration specification for guiding a configuration process;
And responding to a digital element sequence input by a user through the configuration interface, and storing the digital element sequence as an adjustment parameter sequence corresponding to a brightness mode.
Further, the processing module 530 is further configured to:
Responding to the brightness mode configuration operation, and outputting a configuration interface to a user; wherein the configuration interface includes a plurality of candidate luminance patterns; the lengths of candidate adjustment parameter sequences corresponding to different candidate brightness modes are different;
Responding to the operation that a user selects a target candidate brightness mode through the configuration interface, and outputting the value range of each digital element in a candidate adjustment parameter sequence corresponding to the target candidate brightness mode to the user;
and responding to the operation of selecting the target value from the value range by a user, and storing a digital element sequence formed by the target value selected by the user as an adjustment parameter sequence corresponding to a brightness mode.
Further, the plurality of adjustment parameter sequences corresponding to the plurality of brightness modes include a first type of adjustment parameter sequence for linearly adjusting the standard brightness curve and a second type of adjustment parameter sequence for non-linearly adjusting the standard brightness curve.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the related methods, and will not be described in detail herein.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the modules illustrated as separate components may or may not be physically separate, and the components shown as modules may or may not be physical, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the objectives of the disclosed solution. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The embodiment of the disclosure also proposes an electronic device, including:
A processor;
A memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of any of the embodiments described above.
Embodiments of the present disclosure also provide a storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any of the above embodiments.
Fig. 7 is a schematic diagram of an electronic device according to an exemplary embodiment of the present disclosure. The electronic device may be a mobile phone, tablet device, communication client, etc.
Referring to fig. 7, an apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power supply component 707, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the apparatus 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 702 can include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on the apparatus 700, contact data, phonebook data, messages, pictures, videos, and the like. The memory 704 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 707 provides power to the various components of the apparatus 700. Power supply component 707 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 700.
The multimedia component 708 includes a screen between the device 700 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front-facing camera and/or a rear-facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the apparatus 700 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 further includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, the sensor assembly 714 may detect an on/off state of the device 700, a relative positioning of the components, such as a display and keypad of the device 700, a change in position of the device 700 or a component of the device 700, the presence or absence of user contact with the device 700, an orientation or acceleration/deceleration of the device 700, and a change in temperature of the device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate communication between the apparatus 700 and other devices in a wired or wireless manner. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi,2G or 3G,4G LTE, 5G NR, or a combination thereof. In one exemplary embodiment, the communication component 716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic elements for executing the methods described in any one of the embodiments above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 704, including instructions executable by processor 720 of apparatus 700 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (6)

1. A backlight brightness adjustment method, wherein the method is applied to an electronic device, the method comprising:
responding to the operation of selecting a target brightness mode from a plurality of preset brightness modes, and acquiring a target adjustment parameter sequence corresponding to the target brightness mode;
Acquiring a first value sequence of screen brightness in a first mapping relation, wherein the first mapping relation is a mapping relation between standard environment brightness and screen brightness in a pre-stored standard brightness curve, and the plurality of adjusting parameter sequences corresponding to the plurality of brightness modes comprise a first type of adjusting parameter sequence for linearly adjusting the standard brightness curve and a second type of adjusting parameter sequence for non-linearly adjusting the standard brightness curve; the second class of adjustment parameter sequences comprise at least one non-zero digital element in addition to the first digital element being non-zero;
taking the target adjustment parameter sequence as a convolution check to carry out convolution operation on the first value sequence to obtain a target value sequence; the length of the target value sequence is equal to that of the first value sequence, and the length of the value sequence refers to the number of digital elements contained in the value sequence;
Constructing a corrected first mapping relation based on the target value sequence and a second value sequence of the ambient light brightness in the first mapping relation;
constructing a target brightness curve based on the corrected first mapping relation and a second mapping relation between standard screen brightness and backlight level in the standard brightness curve;
And adjusting the backlight brightness of the electronic equipment based on the target brightness curve.
2. The method according to claim 1, wherein the performing a convolution operation on the first value sequence with the target adjustment parameter sequence as a convolution check to obtain a target value sequence includes:
Filling the first value sequence according to the target adjustment parameter sequence to obtain a filled value sequence; the length of the value sequence after filling is equal to the sum value of the length of the first value sequence and M; the M is equal to the difference value between the length of the target adjustment parameter sequence and 1;
and carrying out convolution operation on the filled value sequence by taking the target adjustment parameter sequence as a convolution check to obtain the target value sequence.
3. The method of claim 1, wherein the luminance pattern configuration process comprises:
responding to the brightness mode configuration operation of the user, and outputting a configuration interface to the user; wherein the configuration interface includes a configuration specification for guiding a configuration process;
Responding to a digital element sequence input by a user through the configuration interface, and storing the digital element sequence as an adjustment parameter sequence corresponding to a brightness mode;
Or alternatively, the method can be used for processing,
Responding to the brightness mode configuration operation, and outputting a configuration interface to a user; wherein the configuration interface includes a plurality of candidate luminance patterns; the lengths of candidate adjustment parameter sequences corresponding to different candidate brightness modes are different;
Responding to the operation that a user selects a target candidate brightness mode through the configuration interface, and outputting the value range of each digital element in a candidate adjustment parameter sequence corresponding to the target candidate brightness mode to the user;
and responding to the operation of selecting the target value from the value range by a user, and storing a digital element sequence formed by the target value selected by the user as an adjustment parameter sequence corresponding to a brightness mode.
4. A backlight brightness adjusting device is characterized in that the device is applied to electronic equipment and comprises an acquisition module, a correction module and a processing module,
The acquisition module is used for responding to the operation of selecting a target brightness mode from a plurality of preset brightness modes and acquiring a target adjustment parameter sequence corresponding to the target brightness mode;
The correction module is configured to obtain a first value sequence of screen brightness in a first mapping relationship, where the first mapping relationship is a mapping relationship between standard ambient light brightness and screen brightness in a pre-stored standard brightness curve, and the multiple adjustment parameter sequences corresponding to the multiple brightness modes include a first type adjustment parameter sequence for linearly adjusting the standard brightness curve and a second type adjustment parameter sequence for non-linearly adjusting the standard brightness curve; the second class of adjustment parameter sequences comprise at least one non-zero digital element in addition to the first digital element being non-zero; taking the target adjustment parameter sequence as a convolution check to carry out convolution operation on the first value sequence to obtain a target value sequence; the length of the target value sequence is equal to that of the first value sequence, and the length of the value sequence refers to the number of digital elements contained in the value sequence; constructing a corrected first mapping relation based on the target value sequence and a second value sequence of the ambient light brightness in the first mapping relation; constructing a target brightness curve based on the corrected first mapping relation and a second mapping relation between standard screen brightness and backlight level in the standard brightness curve;
and the processing module is used for adjusting the backlight brightness of the electronic equipment based on the target brightness curve.
5. An electronic device, comprising:
A processor;
A memory for storing processor-executable instructions;
Wherein the processor is configured to implement the method of any one of claims 1 to 3.
6. A storage medium having stored thereon a computer program, which when executed by a processor, implements the method of any of claims 1 to 3.
CN202110181719.XA 2021-02-09 2021-02-09 Backlight brightness adjusting method and device, electronic equipment and storage medium Active CN114913818B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110181719.XA CN114913818B (en) 2021-02-09 2021-02-09 Backlight brightness adjusting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110181719.XA CN114913818B (en) 2021-02-09 2021-02-09 Backlight brightness adjusting method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114913818A CN114913818A (en) 2022-08-16
CN114913818B true CN114913818B (en) 2024-05-24

Family

ID=82762010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110181719.XA Active CN114913818B (en) 2021-02-09 2021-02-09 Backlight brightness adjusting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114913818B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117234398B (en) * 2023-11-06 2024-04-05 荣耀终端有限公司 Screen brightness adjusting method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777334A (en) * 2010-01-23 2010-07-14 朱子辰 The display terminal that can regulate brightness automatically and have the brightness memory function
WO2015074201A1 (en) * 2013-11-20 2015-05-28 华为终端有限公司 Method and apparatus for regulating backlight brightness, and electronic device
CN104754134A (en) * 2015-03-31 2015-07-01 酷派软件技术(深圳)有限公司 Screen brightness adjusting method and screen brightness adjusting system
CN106898329A (en) * 2017-03-27 2017-06-27 努比亚技术有限公司 A kind of method for processing brightness of display screen, device and mobile terminal
CN111506181A (en) * 2019-01-31 2020-08-07 上海欧菲智能车联科技有限公司 Automatic equipment brightness adjusting method, device, equipment and storage medium
CN112150983A (en) * 2020-09-28 2020-12-29 Oppo(重庆)智能科技有限公司 Screen brightness adjusting method and device, storage medium and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018005069A (en) * 2016-07-06 2018-01-11 キヤノン株式会社 Display controller

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777334A (en) * 2010-01-23 2010-07-14 朱子辰 The display terminal that can regulate brightness automatically and have the brightness memory function
WO2015074201A1 (en) * 2013-11-20 2015-05-28 华为终端有限公司 Method and apparatus for regulating backlight brightness, and electronic device
CN104754134A (en) * 2015-03-31 2015-07-01 酷派软件技术(深圳)有限公司 Screen brightness adjusting method and screen brightness adjusting system
CN106898329A (en) * 2017-03-27 2017-06-27 努比亚技术有限公司 A kind of method for processing brightness of display screen, device and mobile terminal
CN111506181A (en) * 2019-01-31 2020-08-07 上海欧菲智能车联科技有限公司 Automatic equipment brightness adjusting method, device, equipment and storage medium
CN112150983A (en) * 2020-09-28 2020-12-29 Oppo(重庆)智能科技有限公司 Screen brightness adjusting method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN114913818A (en) 2022-08-16

Similar Documents

Publication Publication Date Title
EP3136709B1 (en) Method and system for shooting control of a smart device camera
US10152207B2 (en) Method and device for changing emoticons in a chat interface
US20160127638A1 (en) Shooting parameter adjustment method and device
US20170154604A1 (en) Method and apparatus for adjusting luminance
CN110399924B (en) Image processing method, device and medium
EP3495882B1 (en) Method and device for photographing images
CN111261081B (en) Screen display method and device
CN114913818B (en) Backlight brightness adjusting method and device, electronic equipment and storage medium
CN105677352B (en) Method and device for setting application icon color
CN112331158B (en) Terminal display adjusting method, device, equipment and storage medium
CN111383608B (en) Display control method and apparatus, electronic device, and computer-readable storage medium
CN111131596B (en) Screen brightness adjusting method and device
CN107885464B (en) Data storage method, device and computer readable storage medium
CN111383568B (en) Display control method and device, electronic equipment and computer readable storage medium
CN111383583B (en) Display control method and apparatus, electronic device, and computer-readable storage medium
CN112987906B (en) Method and device for reducing display power consumption
CN114860138B (en) Image display method, device, electronic equipment and storage medium
CN112437234B (en) Flash lamp, and flash lamp control method and device
CN108427943B (en) Fingerprint identification method and device
CN114485925B (en) Illumination intensity determining device, method, mobile terminal and storage medium
CN111580875B (en) Parameter configuration method, device and storage medium
CN111833788B (en) Screen dimming method and device, terminal and storage medium
CN111443759B (en) Display control method, display control device, electronic equipment and computer-readable storage medium
CN114594869B (en) Point reporting method and device for touch screen
CN111261035B (en) Screen display method and device

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