CN114913818A - 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 PDFInfo
- Publication number
- CN114913818A CN114913818A CN202110181719.XA CN202110181719A CN114913818A CN 114913818 A CN114913818 A CN 114913818A CN 202110181719 A CN202110181719 A CN 202110181719A CN 114913818 A CN114913818 A CN 114913818A
- Authority
- CN
- China
- Prior art keywords
- brightness
- target
- sequence
- adjustment parameter
- curve
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/34—Control 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/3406—Control of illumination source
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0626—Adjustment of display parameters for control of overall brightness
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing 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
Description
技术领域technical field
本公开涉及电子技术领域,尤其涉及一种背光亮度调节方法、装置、电子设备和存储介质。The present disclosure relates to the field of electronic technology, and in particular, to a backlight brightness adjustment method, device, electronic device and storage medium.
背景技术Background technique
当前,智能手机、平板电脑、电子书阅读器等电子设备已经成为用户必不可少的工具。然而,用户在使用电子设备时,过亮或过暗的背光亮度会使用户感觉到视觉疲劳。因此,为了缓解用户的视觉疲劳,需要对屏幕的背光亮度进行调节。At present, electronic devices such as smartphones, tablet computers, and e-book readers have become indispensable tools 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 relieve the visual fatigue of the user, it is necessary to adjust the brightness of the backlight of the screen.
目前,主要基于标准亮度曲线对屏幕的背光亮度进行调整。然而,不同用户的人眼感官是不一样的,若均按照标准亮度曲线进行调整,则无法满足不同用户的观看需求、调节精度低下。At present, the backlight brightness of the screen is mainly adjusted based on the standard brightness curve. However, different users have different perceptions of the human eye. If they are adjusted according to the standard brightness curve, the viewing needs of different users cannot be met, and the adjustment precision is low.
发明内容SUMMARY OF THE INVENTION
本公开提供一种背光亮度的调节方法、装置、电子设备和存储介质,以解决相关技术中的不足。The present disclosure provides a method, device, electronic device, and storage medium for adjusting backlight brightness, so as to solve the deficiencies in the related art.
根据本公开实施例的第一方面,提出一种背光亮度调节方法,所述方法应用于电子设备,所述方法包括:According to a first aspect of the embodiments of the present disclosure, a method for adjusting backlight brightness is provided. The method is applied to an electronic device, and the method includes:
响应于从预先配置的多种亮度模式中选中目标亮度模式的操作,获取所述目标亮度模式对应的目标调整参数序列;In response to an operation of selecting a target brightness mode from a plurality of preconfigured brightness modes, acquiring a target adjustment parameter sequence corresponding to the target brightness mode;
以所述目标调整参数序列作为卷积核,基于卷积运算对预存的标准亮度曲线进行修正,得到修正后的目标亮度曲线;Using the target adjustment parameter sequence as the convolution kernel, based on the convolution operation, the pre-stored standard brightness curve is modified to obtain the modified target brightness curve;
基于所述目标亮度曲线进行所述电子设备的背光亮度调节。The backlight brightness adjustment of the electronic device is performed based on the target brightness curve.
根据本公开实施例的第二方面,提出一种背光亮度调节装置,所述装置应用于电子设备,所述装置包括获取模块、修正模块和处理模块,其中,According to a second aspect of the embodiments of the present disclosure, an apparatus for adjusting backlight brightness is provided. The apparatus is applied to electronic equipment. The apparatus includes an acquisition module, a correction module, and a processing module, wherein,
所述获取模块,用于响应于从预先配置的多种亮度模式中选中目标亮度模式的操作,获取所述目标亮度模式对应的目标调整参数序列;The obtaining module is configured to obtain a target adjustment parameter sequence corresponding to the target brightness mode in response to an operation of selecting a target brightness mode from a plurality of pre-configured brightness modes;
所述修正模块,用于以所述目标调整参数序列作为卷积核,基于卷积运算对预存的标准亮度曲线进行修正,得到修正后的目标亮度曲线;The correction module is configured to use the target adjustment parameter sequence as a convolution kernel, and correct the pre-stored standard brightness curve based on the convolution operation to obtain the corrected target brightness curve;
所述处理模块,用于基于所述目标亮度曲线进行所述电子设备的背光亮度调节。The processing module is configured to adjust the backlight brightness of the electronic device based on the target brightness curve.
根据本公开实施例的第三方面,提出一种电子设备,所述电子设备包括:According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, and the electronic device includes:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为实现本公开第一方面提供的任一项所述的方法。Wherein, the processor is configured to implement any one of the methods provided in the first aspect of the present disclosure.
根据本公开实施例的第四方面,提出一种存储介质,其上存储有计算机程序,该程序被处理器执行时实现本公开提供的任一项所述的方法According to a fourth aspect of the embodiments of the present disclosure, a storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, implements any one of the methods provided in the present disclosure
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
由上述实施例可知,本公开提供的背光亮度调节方法、装置、电子设备和存储介质,通过提供多种亮度模式供用户选择,进而基于用户选中的目标亮度模式对应的目标调整参数序列对标准亮度曲线进行修正,得到目标亮度曲线,从而基于目标亮度曲线进行背光调节。这样,由于目标亮度曲线是基于用户选中的目标亮度模式对应的目标调整参数对标准亮度曲线进行修正后得到的亮度曲线,这样,通过提供多种亮度模式,可向用户提供多种亮度曲线,用户可根据自身需要来选择合适的亮度曲线,可满足不同用户的人眼观看需求,提高电子设备背光亮度的调节精度。It can be seen from the above embodiments that the backlight brightness adjustment method, device, electronic device and storage medium provided by the present disclosure provide a variety of brightness modes for the user to choose, and then adjust the standard brightness based on the target adjustment parameter sequence corresponding to the target brightness mode selected by the user. The curve is corrected to obtain the target brightness curve, so as to adjust the backlight based on the target brightness curve. In this way, since the target brightness curve is a brightness curve obtained by modifying the standard brightness curve based on the target adjustment parameter corresponding to the target brightness mode selected by the user, in this way, by providing multiple brightness modes, a variety of brightness curves can be provided to the user. A suitable brightness curve can be selected according to its own needs, which can meet the viewing needs of different users and improve the adjustment accuracy of the backlight brightness of electronic equipment.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of 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.
图1是本公开根据一示例性实施例示出的一种背光亮度调节方法的流程图;1 is a flowchart of a method for adjusting backlight brightness according to an exemplary embodiment of the present disclosure;
图2是本公开根据一示例性实施例示出的另一种背光亮度调节方法的流程图;FIG. 2 is a flowchart of another backlight brightness adjustment method according to an exemplary embodiment of the present disclosure;
图3是本公开根据一示例性实施例示出的再一种背光亮度调节方法的流程图;FIG. 3 is a flowchart of still another backlight brightness adjustment method according to an exemplary embodiment of the present disclosure;
图4是本公开根据一示例性实施例示出的又一种背光调节方法的流程图;FIG. 4 is a flowchart of yet another backlight adjustment method according to an exemplary embodiment of the present disclosure;
图5是本公开根据一示例性实施例示出的一种背光亮度调节装置的结构示意图;5 is a schematic structural diagram of a device for adjusting backlight brightness according to an exemplary embodiment of the present disclosure;
图6是本公开根据一示例性实施例示出的另一种背光亮度调节装置的结构示意图;6 is a schematic structural diagram of another backlight brightness adjustment device according to an exemplary embodiment of the present disclosure;
图7是本公开根据一示例性实施例示出的一种电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.
本公开提供一种背光亮度调节方法、装置、电子设备和存储介质,可解决相关技术中只能通过标准亮度曲线来进行背光调节,无法满足不同用户的人眼观看需求的问题,即解决相关技术中电子设备背光亮度调节精度低下的问题。The present disclosure provides a backlight brightness adjustment method, device, electronic device and storage medium, which can solve the problem in the related art that the backlight can only be adjusted through a standard brightness curve and cannot meet the viewing needs of different users, namely, solve the related art The problem of low-precision adjustment of backlight brightness in electronic equipment.
本公开提供的背光亮度调节方法和装置,可应用于电子设备,例如,可应用于手机、平板设备等。The backlight brightness adjustment method and device provided by the present disclosure can be applied to electronic devices, for example, mobile phones, tablet devices, and the like.
本公开提供一种背光亮度调节方法、装置、电子设备和存储介质,通过提供多种亮度模式供用户选择,进而基于用户选中的目标亮度模式对应的目标调整参数序列对标准亮度曲线进行修正,得到目标亮度曲线,从而基于目标亮度曲线进行背光调节。这样,可满足不同用户的人眼观看需求,提高调节精度。The present disclosure provides a backlight brightness adjustment method, device, electronic device and storage medium. By providing a variety of brightness modes for users to select, and then correcting the standard brightness curve based on the target adjustment parameter sequence corresponding to the target brightness mode selected by the user, the obtained The target brightness curve to adjust the backlight based on the target brightness curve. In this way, the viewing requirements of different users can be met, and the adjustment accuracy can be improved.
下面给出几个具体的实施例,用以详细介绍本公开的技术方案,下面这几个具体的实施例可以结合,对于相同或相似的概念将在某些实施例中的不再赘述。Several specific embodiments are given below to introduce the technical solutions of the present disclosure in detail. The following specific embodiments may be combined, and the same or similar concepts will not be repeated in some embodiments.
图1是本公开根据一示例性实施例示出的一种背光亮度调节方法的流程图。请参照图1,本实施例提供的方法,可以包括以下步骤:FIG. 1 is a flowchart of a method for adjusting backlight brightness according to an exemplary embodiment of the present disclosure. Referring to FIG. 1, the method provided by this embodiment may include the following steps:
S101、响应于从预先配置的多种亮度模式中选中目标亮度模式的操作,获取所述目标亮度模式对应的目标调整参数序列。S101. Acquire a target adjustment parameter sequence corresponding to the target brightness mode in response to an operation of selecting a target brightness mode from multiple pre-configured brightness modes.
需要说明的是,从预先配置的多种亮度模式中选中目标亮度模式的操作可以用户触发的,或者是用户在其他设备中触发该操作后,其他设备发送给本电子设备的。本实施例中,不对此进行限定。It should be noted that the operation of selecting the target brightness mode from the pre-configured multiple brightness modes can be triggered by the user, or sent by the other device to the electronic device after the user triggers the operation in another device. In this embodiment, this is not limited.
进一步的,电子设备可以在亮度设置页面提供亮度模式选择控件。进一步的,该电子设备可响应于亮度模式选择控件被触发,向用户展示预先配置的多种亮度模式。此外,预先配置的多种亮度模式是根据实际需要配置的。本实施例中,不对其进行限定。例如,一实施例中,预先配置的多种亮度模式包括:高亮、低亮、标准、偏暗、自定义1、自定义2。Further, the electronic device may provide a brightness mode selection control on the brightness setting page. Further, the electronic device may display a plurality of preconfigured brightness modes to the user in response to the brightness mode selection control being triggered. In addition, pre-configured multiple brightness modes are configured according to actual needs. In this embodiment, it is not limited. For example, in one embodiment, the pre-configured multiple brightness modes include: high light, low light, standard, dark, custom 1, custom 2.
此外,预先配置的多种亮度模式可以是在所述电子设备出厂时配置在所述电子设备中的;和/或,预先配置的多种亮度模式是基于用户的亮度模式配置操作配置在所述电子设备中的;和/或,预先配置的多种亮度模式是从独立于本电子设备的其他电子设备获取并配置在所述电子设备中的(例如,用户可从管理该电子设备的服务器上获取配置好的亮度模式(例如,服务商可在服务器上定期更新亮度模式,用户可基于自身需求从服务器上获取亮度模式),或者是,从其他用户的电子设备上获取配置好的亮度模式(例如,用户A在其使用的A手机上配置好一种亮度模式后,可将该亮度模式分享给用户B))。In addition, the pre-configured multiple brightness modes may be configured in the electronic device when the electronic device leaves the factory; and/or, the pre-configured multiple brightness modes are configured in the electronic device based on a user's brightness mode configuration operation. In the electronic device; and/or, the pre-configured brightness modes are obtained from other electronic devices independent of the electronic device and configured in the electronic device (for example, the user can obtain from the server that manages the electronic device). Obtain the configured brightness mode (for example, the service provider can periodically update the brightness mode on the server, and the user can obtain the brightness mode from the server based on their own needs), or obtain the configured brightness mode from the electronic devices of other users ( For example, after user A configures a brightness mode on his mobile phone A, the brightness mode can be shared with user B)).
例如,在上述所述示例中,前四种亮度模式(高亮、低亮、标准、偏暗)可以是在电子设备出厂时配置在电子设备中的,后两种亮度模式(自定义1和自定义2)可以是基于用户的配置操作配置在电子设备中的。For example, in the above-mentioned example, the first four brightness modes (high light, low light, standard, and dark) may be configured in the electronic device when the electronic device leaves the factory, and the latter two brightness modes (custom 1 and The customization 2) may be configured in the electronic device based on the user's configuration operation.
需要说明的是,每种亮度模式对应一个调整参数序列,该调整参数序列用于对标准亮度曲线进行修正,得到修正后的目标亮度曲线。此外,一个调整参数序列包括T(T为小于N的正整数,N为标准环境光亮度与屏幕亮度之间的映射关系中的屏幕亮度的第一取值序列的长度(取值序列的长度指的是取值序列包含的数字元素的数量))个数字元素,每个数字元素均为自然数。It should be noted that each brightness mode corresponds to an adjustment parameter sequence, and the adjustment parameter sequence is used to correct the standard brightness curve to obtain the corrected target brightness curve. In addition, an adjustment parameter sequence includes T (T is a positive integer smaller than N, and N is the length of the first value sequence of screen brightness in the mapping relationship between standard ambient light brightness and screen brightness (the length of the value sequence refers to is the number of numeric elements contained in the value sequence)) numeric elements, each of which is a natural number.
本公开中,通过配置不同的亮度模式,这样,可基于不同的调整参数序列对标准亮度曲线进行调整,得到可满足不同用户需求的目标亮度曲线。In the present disclosure, by configuring different brightness modes, in this way, the standard brightness curve can be adjusted based on different adjustment parameter sequences, so as to obtain a target brightness curve that can meet the needs of different users.
此外,配置好一种亮度模式后,电子设备会将该亮度模式的标识和该亮度模式对应的调整参数关联保存。本步骤中,响应于用户从多种亮度模式中选中目标亮度模式的操作,可基于该目标亮度模式的标识获取该目标亮度模式对应的目标调整参数序列。In addition, after a brightness mode is configured, the electronic device will store the identifier of the brightness mode in association with the adjustment parameters corresponding to the brightness mode. In this step, in response to the user's operation of selecting a target brightness mode from multiple brightness modes, a target adjustment parameter sequence corresponding to the target brightness mode can be obtained based on the identifier of the target brightness mode.
S102、以所述目标调整参数序列作为卷积核,基于卷积运算对预存的标准亮度曲线进行修正,得到修正后的目标亮度曲线。S102 , using the target adjustment parameter sequence as a convolution kernel, and correcting a pre-stored standard brightness curve based on a convolution operation to obtain a corrected target brightness curve.
具体的,一实施例中,标准亮度曲线可以包括标准环境光亮度与屏幕亮度之间的映射关系、以及标准屏幕亮度和背光等级之间的映射关系。此时,该步骤的具体实现过程可以包括:Specifically, in an embodiment, the standard brightness curve may include a mapping relationship between standard ambient light brightness and screen brightness, and a mapping relationship between standard screen brightness and backlight level. At this time, the specific implementation process of this step may include:
(1)以所述目标调整参数序列作为卷积核,基于卷积运算对预存的标准亮度曲线中的标准环境光亮度与屏幕亮度之间的第一映射关系进行修正,得到修正后的第一映射关系。(1) Using the target adjustment parameter sequence as the convolution kernel, based on the convolution operation, the first mapping relationship between the standard ambient light brightness and the screen brightness in the pre-stored standard brightness curve is corrected, and the corrected first mapping relationship is obtained. Mapping relations.
图2是本公开根据一示例性实施例示出的另一种背光亮度调节方法的流程图。请参照图2,在图2所示示例中,该步骤的具体实现过程,可以包括:FIG. 2 is a flowchart of another backlight brightness adjustment method according to an exemplary embodiment of the present disclosure. Please refer to FIG. 2. In the example shown in FIG. 2, the specific implementation process of this step may include:
S201、获取所述标准环境光亮度与屏幕亮度之间的第一映射关系中的屏幕亮度的第一取值序列。S201. Obtain a first value sequence of screen brightness in the first mapping relationship between the standard ambient light brightness and screen brightness.
例如,一实施例中,标准环境光亮度与屏幕亮度之间的第一映射关系可用两个数字元素序列表征,这两个数字元素序列分别为:For example, in one embodiment, the first mapping relationship between the standard ambient light brightness and the screen brightness can be represented by two digital element sequences, where the two digital element sequences are:
环境光强度的第二取值序列:包含N-1个递增的正数;其中,每个数字元素作为一个环境光强度区间点,N-1数字元素将环境光强度划分为N个区间。The second value sequence of ambient light intensity: contains N-1 increasing positive numbers; wherein, each digital element is used as an ambient light intensity interval point, and N-1 digital elements divide the ambient light intensity into N intervals.
屏幕亮度的第一取值序列:包含N个递增的正数(即第一取值序列的长度为N);每个数字元素表示对应环境光亮度区间的最小屏幕亮度取值。The first value sequence of screen brightness: contains N increasing positive numbers (that is, the length of the first value sequence is N); each digital element represents the minimum screen brightness value corresponding to the ambient light brightness interval.
结合上面的介绍,例如,一实施例中,第二取值序列包括4个数字元素,这4个数字元素分别为:H1、H2、H3和H4;第一取值序列包括5个数字元素,这5个数字元素分别为:A、B、C、D和E(环境光亮度区间为(0H1]时,对应的最小屏幕亮度取值为A)。此时,本步骤中,获取到的第一取值序列为A、B、C、D和E构成的数字元素序列。In combination with the above introduction, for example, in an embodiment, the second value sequence includes 4 digital elements, and the 4 digital elements are: H1, H2, H3, and H4; the first value sequence includes 5 digital elements, The five digital elements are: A, B, C, D and E (when the ambient light brightness interval is (0H1), the corresponding minimum screen brightness value is A). At this time, in this step, the obtained first A value sequence is a sequence of digital elements composed of A, B, C, D, and E.
S202、以所述目标调整参数序列作为卷积核对所述第一取值序列进行卷积运算,得到目标取值序列;其中,所述目标取值序列的长度等于所述第一取值序列的长度。S202. Perform a convolution operation on the first value sequence using the target adjustment parameter sequence as a convolution check to obtain a target value sequence; wherein the length of the target value sequence is equal to the length of the first value sequence length.
具体实现时,可先根据所述目标调整参数序列对所述第一取值序列进行填充,得到填充后的取值序列,进而以所述目标调整参数序列作为卷积核对所述填充后的取值序列进行卷积运算,得到所述目标取值序列。During 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 may be used as a convolution check to check the filled value sequence. The value sequence is subjected to a convolution operation to obtain the target value sequence.
具体填充时,可以以零作为填充值进行填充,或者是,以所述目标调整参数序列中的各个数字元素的平均值作为填充值进行填充,或者是,以所述目标调整参数序列中的最后一个数字元素作为填充值进行填充。此外,在填充时,需要将M(M等于所述目标调整参数序列的长度T与1的差值)个填充值填充至第一取值序列的末尾,得到填充后的取值序列。During the specific filling, zero can be used as the filling value for filling, or the average value of each digital element in the target adjustment parameter sequence can be used as the filling value, or the last value in the target adjustment parameter sequence can be used for filling. A numeric element is filled as the padding value. In addition, when 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 to obtain a filled value sequence.
例如,一实施例中,目标调整参数序列包括3个数字元素,这三个数字元素分别为T1、T2和T3。结合上面的例子,第一取值序列为A、B、C、D和E构成的数字元素序列。此时,需要在第一取值序列末端填充2个填充值。例如,一实施例中,以零作为填充值进行填充,填充后的取值序列为:A、B、C、D、E、0、0。For example, in one embodiment, the target adjustment parameter sequence includes three digital elements, and the three digital elements are T1, T2, and T3, respectively. Combined with the above example, the first value sequence is a sequence of digital elements composed of A, B, C, D, and E. In this case, two padding values need to be filled at the end of the first value sequence. For example, in an embodiment, zero is used as the padding value for padding, and the value sequence after padding is: A, B, C, D, E, 0, 0.
进一步的,卷积运算的过程可用如下公式表示为:Further, the process of convolution operation can be expressed as follows:
其中,Yn为目标取值序列中的元素;Among them, Y n is the element in the target value sequence;
Ja为卷积核中的元素,c表示卷积核的长度,b表示卷积核移动的步长(本公开中,卷积核移动的步长为1);Ja is an element in the convolution kernel, c represents the length of the convolution kernel, and b represents the step size of the convolution kernel movement (in the present disclosure, the step size of the convolution kernel movement is 1);
X(a+(n-1)b)为填充后的取值序列中的元素。X (a+(n-1)b) is an element in the filled value sequence.
例如,一实施例中,卷积核包括三个元素(卷积核的长度为3),分别记为J1、J2和J3,填充后的取值序列包括7个元素,分别记为X1至X7,目标取值序列中的各元素记为Y1至Y5,分别为: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*X7For example, in one embodiment, the convolution kernel includes three elements (the length of the convolution kernel is 3), which are denoted as J1, J2, and J3, respectively, and the filled value sequence includes 7 elements, denoted as X1 to X7, respectively. , each element in the target value sequence is denoted as Y1 to 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
结合上面的介绍,在上面的例子中,得到填充后的取值序列后,即可以T1、T2和T3作为卷积核对该填充后的取值序列进行卷积运算,得到目标取值序列。有关卷积运算的具体实现原理可以参见前面的描述,此处不再赘述。本例中,卷积运算后,得到的目标取值序列为A*T1+B*T2+C*T3、B*T1+C*T2+D*T3、C*T1+D*T2+E*T3、D*T1+E*T2+0*T3、E*T1+0*T2+0*T3构成的数字元素序列。Combined with the above introduction, in the above example, after obtaining the padded value sequence, T1, T2 and T3 can be used as convolution kernels to perform convolution operation on the padded value sequence to obtain the target value sequence. For the specific implementation principle of the convolution operation, reference may be made to the foregoing description, which will not be repeated here. In this example, after the convolution operation, the obtained target value sequence is A*T1+B*T2+C*T3, B*T1+C*T2+D*T3, C*T1+D*T2+E* A sequence of digital elements consisting of T3, D*T1+E*T2+0*T3, and E*T1+0*T2+0*T3.
S203、基于所述目标取值序列和所述第一映射关系中的环境光亮度的第二取值序列,构建所述修正后的第一映射关系。S203. Construct the modified first mapping relationship based on the target value sequence and the second value sequence of ambient light brightness in the first mapping relationship.
具体实现时,就将第二取值序列作为修正后的第一映射关系中的环境光亮度的取值序列、将目标取值序列作为该映射关系中对应的屏幕亮度取值序列构建修正后的第一映射关系。In specific implementation, the second value sequence is used as the value sequence of ambient light brightness in the revised first mapping relationship, and the target value sequence is used as the corresponding screen brightness value sequence in the mapping relationship to construct the revised The first mapping relationship.
结合上面的例子,构建好的修正后的第一映射关系可表示为下面两个数字元素序列的对应关系(参见下面两个数字元素序列,即环境光亮度区间为(0H1]时,对应的最小屏幕亮度取值为A*T1+B*T2+C*T3):Combining the above example, the constructed first mapping relationship after correction can be expressed as the corresponding relationship between the following two sequence of digital elements (see the following two sequences of digital elements, that is, when the ambient light brightness interval is (0H1), the corresponding minimum The screen brightness value is A*T1+B*T2+C*T3):
环境光强度的取值序列:H1、H2、H3和H4Value sequence of ambient light intensity: H1, H2, H3 and H4
屏幕亮度的取值序列:A*T1+B*T2+C*T3、B*T1+C*T2+D*T3、C*T1+D*T2+E*T3、D*T1+E*T2+0*T3、E*T1+0*T2+0*T3The value sequence of screen brightness: A*T1+B*T2+C*T3, B*T1+C*T2+D*T3, C*T1+D*T2+E*T3, D*T1+E*T2 +0*T3, E*T1+0*T2+0*T3
参见前面的描述,通过调整参数序列,即可调节环境光强度与屏幕亮度之间的映射关系。此外,可通过设置不同的调整参数序列,来达到不同的视觉效果。Referring to the previous description, by adjusting the parameter sequence, the mapping relationship between ambient light intensity and screen brightness can be adjusted. In addition, different visual effects can be achieved by setting different adjustment parameter sequences.
例如,多种亮度模式对应的多个调整参数序列包括用于对所述标准亮度曲线进行线性调整的第一类调整参数序列和用于对所述标准亮度曲线进行非线性调整的第二类调整参数序列。For example, the multiple adjustment parameter sequences corresponding to the multiple brightness modes include a first type of adjustment parameter sequence for performing linear adjustment on the standard brightness curve and a second type of adjustment for performing nonlinear adjustment on the standard brightness curve parameter sequence.
需要说明的是,第一类调整参数序列中除第一个数字元素不为0外,其他数字元素均为0。例如,一个第一类调整参数序列可以为A1(大于0)、0、0。进一步地,可将A1设置为小于1的正数,以实现调低标准亮度曲线的目的(相应的屏幕亮度较暗),或将A1设置为大于1的正数,以实现调高标准亮度曲线的目的(相应的屏幕亮度较亮)。此外,第二类调整参数序列中除第一个数字元素不为0外,还包括至少一个非零数字元素。It should be noted that, in the first type of adjustment parameter sequence, except for the first digital element which is not 0, other digital elements are all 0. For example, a first-type adjustment parameter sequence may be A1 (greater than 0), 0, 0. Further, A1 can be set to a positive number less than 1 to achieve the purpose of lowering the standard brightness curve (the corresponding screen brightness is darker), or A1 can be set to a positive number greater than 1 to achieve a higher standard brightness curve. purpose (the corresponding screen brightness is brighter). In addition, the second type of adjustment parameter sequence includes at least one non-zero number element except that the first number element is not 0.
(2)基于所述修正后的第一映射关系、以及所述标准亮度曲线中的标准屏幕亮度与背光等级之间的第二映射关系,构建所述目标亮度曲线。(2) Constructing the target brightness curve based on the modified first mapping relationship and the second mapping relationship 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、基于所述目标亮度曲线进行所述电子设备的背光亮度调节。S103. Adjust the backlight brightness of the electronic device based on the target brightness curve.
该步骤的具体实现过程可以包括;检测环境光亮度,基于环境光亮度和目标亮度曲线,确定该环境光亮度对应的目标背光等级,进而基于该目标背光等级进行背光亮度调整。The specific implementation process of this step may include: detecting ambient light brightness, determining a target backlight level corresponding to the ambient light brightness based on the ambient light brightness and a target brightness curve, and then adjusting the backlight brightness based on the target backlight level.
本实施例提供的方法,通过提供多种亮度模式供用户选择,进而基于用户选中的目标亮度模式对应的目标调整参数序列对标准亮度曲线进行修正,得到目标亮度曲线,从而基于目标亮度曲线进行背光调节。这样,由于目标亮度曲线是基于用户选中的目标亮度模式对应的目标调整参数对标准亮度曲线进行修正后得到的亮度曲线,这样,通过提供多种亮度模式,可向用户提供多种亮度曲线,用户可根据自身需要来选择合适的亮度曲线,可满足不同用户的人眼观看需求,提高调节精度,提高用户的观看体验。The method provided in this embodiment provides a variety of brightness modes for the user to select, and then corrects the standard brightness curve based on the target adjustment parameter sequence corresponding to the target brightness mode selected by the user to obtain the target brightness curve, so as to perform backlighting based on the target brightness curve. adjust. In this way, since the target brightness curve is a brightness curve obtained by modifying the standard brightness curve based on the target adjustment parameter corresponding to the target brightness mode selected by the user, in this way, by providing multiple brightness modes, a variety of brightness curves can be provided to the user. You can choose an appropriate brightness curve according to your own needs, which can meet the viewing needs of different users, improve the adjustment accuracy, and improve the user's viewing experience.
图3是本公开根据一示例性实施例示出的再一种背光调节方法的流程图。本实施例涉及的是如何配置亮度模式的具体实现过程。参见图3,本实施例提供的方法,所述亮度模式的配置过程,包括:FIG. 3 is a flowchart of still another backlight adjustment method according to an exemplary embodiment of the present disclosure. This embodiment relates to a specific implementation process of how to configure the brightness mode. Referring to FIG. 3 , in the method provided by this embodiment, the configuration process of the brightness mode includes:
S301、响应于用户的亮度模式配置操作,向用户输出配置界面;其中,所述配置界面包括用于指导配置过程的配置说明。S301. In response to a user's brightness mode configuration operation, output a configuration interface to the user, wherein the configuration interface includes a configuration description for guiding the configuration process.
具体的,可在亮度设置页面提供亮度模式配置控件,以使用户基于该亮度模式配置控件触发亮度模式配置操作。Specifically, a brightness mode configuration control can be provided on the brightness setting page, so that the user can trigger a brightness mode configuration operation based on the brightness mode configuration control.
需要说明的是,配置说明为用于指导配置过程的说明性文件,本实施例中,不对其具体内容进行限定。例如,一实施例中,配置说明的具体内容可以是:您可以输入不多于N(N为上述第一取值序列的长度)个数字元素,以通过输入的数字元素构成的数字元素序列对标准亮度曲线进行修正。若您想调高标准亮度曲线,可输入T(小于上述N)个大于1的数字组成数字元素序列,若您想调低标准亮度曲线,可输入T个小于1的数字组成数字元素序列。It should be noted that the configuration description is an explanatory document for guiding the configuration process, and the specific content thereof is not limited in this embodiment. For example, in an 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 above) digital elements, so that the digital element sequence pair formed by the input digital elements The standard brightness curve is corrected. If you want to increase the standard brightness curve, you can input T (less than the above N) numbers greater than 1 to form a digital element sequence. If you want to lower the standard brightness curve, you can input T numbers less than 1 to form a digital element sequence.
S302、响应于用户通过所述配置界面输入的数字元素序列,将所述数字元素序列作为一种亮度模式对应的调整参数序列保存。S302. In response to the digital element sequence input by the user through the configuration interface, save the digital element sequence as an adjustment parameter sequence corresponding to a brightness mode.
例如,一实施例中,用户输入的数字元素序列为2、0、0。此时,可将该数字元素序列作为一种亮度模式对应的调整参数序列保存。For example, in one embodiment, the sequence of digital elements input by the user is 2, 0, 0. At this time, the sequence of digital elements can be saved as a sequence of adjustment parameters corresponding to a brightness mode.
需要说明的是,具体实现时,可在亮度模式选择界面生成一亮度模式,并将该亮度模式的标识和上述数字元素序列关联保存,以将上述数字元素序列作为该标识对应的亮度模式对应的调整参数序列保存。It should be noted that, in the specific implementation, a brightness mode can be generated on the brightness mode selection interface, and the identification of the brightness mode and the above-mentioned digital element sequence can be associated and saved, so that the above-mentioned digital element sequence can be regarded as the corresponding brightness mode corresponding to the identification. The adjusted parameter sequence is saved.
本实施例提供的方法,提供了一种配置亮度模式的方法,通过该方法,可根据用户需求配置不同的亮度模式,可满足用户需求,提高用户体验。The method provided in this embodiment provides a method for configuring a brightness mode, through which different brightness modes can be configured according to user requirements, which can meet user requirements and improve user experience.
图4是本公开根据一示例性实施例示出的又一种背光调节方法的流程图。本实施例涉及的是如何配置亮度模式的具体实现过程。参见图4,本实施例提供的方法,所述亮度模式的配置过程,包括: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 process of how to configure the brightness mode. Referring to FIG. 4 , in the method provided by this embodiment, the configuration process of the brightness mode includes:
S401、响应于亮度模式配置操作,向用户输出配置界面;其中,所述配置界面包括多种候选亮度模式;不同的候选亮度模式对应的候选调整参数序列的长度不同。S401. In response to the brightness mode configuration operation, output a configuration interface to a user, wherein the configuration interface includes multiple candidate brightness modes; the lengths of candidate adjustment parameter sequences corresponding to different candidate brightness modes are different.
参见前面的介绍,可在亮度设置页面提供亮度模式配置控件,以使用户基于该亮度模式配置控件触发亮度模式配置操作。Referring to the previous introduction, a brightness mode configuration control can be provided on the brightness setting page, so that the user can trigger a brightness mode configuration operation based on the brightness mode configuration control.
此外,候选亮度模式是在电子设备出厂时预先配置在电子设备中的。即在电子设备出厂时,可预先配置好每种候选亮度模式对应的候选调整参数序列的长度和该候选调整参数中的各个数字元素的取值范围,以供用户基于候选亮度模式配置满足自身需求的亮度模式。In addition, the candidate brightness modes are preconfigured in the electronic device when the electronic device is shipped from the factory. That is, when the electronic device 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 parameter can be pre-configured for users to configure based on the candidate brightness mode to meet their own needs. brightness mode.
例如,一实施例中,配置界面提供四种候选亮度模式,这四种候选亮度模式分别为偏亮1、偏亮2、偏暗1和偏暗2,这四种候选亮度模式对应的候选调整参数序列的长度分别为3、4、3、5。For example, in one embodiment, the configuration interface provides four candidate brightness modes, and the four candidate brightness modes are brighter 1, brighter 2, darker 1, and darker 2, respectively. The candidate adjustment corresponding to the four candidate brightness modes The lengths of the parameter sequences are 3, 4, 3, and 5, respectively.
S402、响应于用户通过所述配置界面选中目标候选亮度模式的操作,向用户输出所述目标候选亮度模式对应的候选调整参数序列中的各个数字元素的取值范围。S402. In response to the user's operation of selecting the target candidate brightness mode through the configuration interface, output the value range of each digital element in the candidate adjustment parameter sequence corresponding to the target candidate brightness mode to the user.
例如,一实施例中,用户选中的目标候选亮度模式为偏暗1,此时,就将候选亮度模式对应的候选调整序列中的各个数字元素的取值范围展示给用户。例如,本例中,候选亮度模式“偏暗1”对应的候选调整参数序列的长度为3,且该候选调整参数序列中各个数字元素的取值范围为:第一数字元素大于1,第二个数字元素大于0,且小于1,第三个数字元素为0。For example, in one embodiment, the target candidate brightness mode selected by the user is dim 1. In this case, 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 Number elements are greater than 0 and less than 1, and the third number element is 0.
S403、响应于用户从所述取值范围中选中目标值的操作,将用户选中的目标值构成的数字元素序列作为一种亮度模式对应的调整参数序列保存。S403. In response to the user's operation of selecting a target value from the value range, save the sequence of digital elements formed by the target value selected by the user as an adjustment parameter sequence corresponding to a brightness mode.
结合上面的例子,例如,用户确定第一个数字元素为2,第二个数字元素为0.5,第三个数字元素为0,此时,就将如下数字元素序列“2、0.5、0”作为一种亮度模式对应的调整参数序列保存。Combining 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. At this time, the following digital element sequence "2, 0.5, 0" is used as A sequence of adjustment parameters corresponding to a brightness mode is saved.
参见前面的描述,具体实现时,可在亮度模式选择界面生成一亮度模式,并将该亮度模式的标识和上述数字元素序列关联保存,以将上述数字元素序列作为该标识对应的亮度模式对应的调整参数序列保存。Referring to the previous description, in the specific implementation, a brightness mode can be generated on the brightness mode selection interface, and the identification of the brightness mode is stored in association with the above-mentioned digital element sequence, so that the above-mentioned digital element sequence is regarded as the corresponding brightness mode corresponding to the identification. The adjusted parameter sequence is saved.
例如,在上面所示示例中,可在亮度模式选择界面生成一标识为“自定义3”的亮度模式,并将该亮度模式的标识和如下数字元素序列“2、0.5、0”关联保存,以将该数字元素序列作为该亮度模式对应的调整参数序列保存。For example, in the example shown above, a brightness mode identified as "custom 3" can be generated in the brightness mode selection interface, and the identification of the brightness mode can be stored in association with the following sequence of digital elements "2, 0.5, 0", Save the sequence of digital elements as the sequence of adjustment parameters corresponding to the brightness mode.
本实施例提供的方法,提供了一种配置亮度模式的方法,通过该方法,可根据用户需求配置不同的亮度模式,可满足用户需求,提高用户体验。The method provided in this embodiment provides a method for configuring a brightness mode, through which different brightness modes can be configured according to user requirements, which can meet user requirements and improve user experience.
与前述的背光亮度调节方法的实施例相对应,本公开还提供了背光亮度调节装置的实施例。Corresponding to the foregoing embodiments of the backlight brightness adjustment method, the present disclosure also provides an embodiment of a backlight brightness adjustment device.
图5是本公开根据一示例性实施例示出的一种背光亮度调节装置的结构示意图。请参照图5,本实施例提供的装置,应用于电子设备,所述装置包括获取模块510、修正模块520和处理模块530,其中,FIG. 5 is a schematic structural diagram of a backlight brightness adjustment device according to an exemplary embodiment of the present disclosure. Referring to FIG. 5 , the apparatus provided in this embodiment is applied to electronic equipment, and the apparatus includes an
所述获取模块510,用于响应于从预先配置的多种亮度模式中选中目标亮度模式的操作,获取所述目标亮度模式对应的目标调整参数序列;The obtaining
所述修正模块520,用于以所述目标调整参数序列作为卷积核,基于卷积运算对预存的标准亮度曲线进行修正,得到修正后的目标亮度曲线;The
所述处理模块530,用于基于所述目标亮度曲线进行所述电子设备的背光亮度调节。The
本实施例提供的装置,可用于执行图1所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The apparatus provided in this embodiment can be used to execute the technical solution of the method embodiment shown in FIG. 1 , and the implementation principle and technical effect thereof are similar, and are not repeated here.
进一步地,图6是本公开根据一示例性实施例示出的另一种背光亮度调节装置的结构示意图。请参照图6,在上述实施例的基础上,本实施例的装置,所述修正模块520包括修正单元521和构建单元522,其中,Further, FIG. 6 is a schematic structural diagram of another backlight brightness adjusting device according to an exemplary embodiment of the present disclosure. Referring to FIG. 6 , on the basis of the above embodiment, in the apparatus of this embodiment, the
所述修正单元521,用于以所述目标调整参数序列作为卷积核,基于卷积运算对预存的标准亮度曲线中的标准环境光亮度与屏幕亮度之间的第一映射关系进行修正,得到修正后的第一映射关系;The
所述构建单元522,用于基于所述修正后的第一映射关系、以及所述标准亮度曲线中的标准屏幕亮度与背光等级之间的第二映射关系,构建所述目标亮度曲线。The
进一步地,所述修正单元521,具体用于:Further, the
获取所述第一映射关系中的屏幕亮度的第一取值序列;obtaining the first value sequence of screen brightness in the first mapping relationship;
以所述目标调整参数序列作为卷积核对所述第一取值序列进行卷积运算,得到目标取值序列;其中,所述目标取值序列的长度等于所述第一取值序列的长度;Perform a convolution operation on the first value sequence with the target adjustment parameter sequence as a convolution check to obtain a target value sequence; wherein, the length of the target value sequence is equal to the length of the first value sequence;
基于所述目标取值序列和所述第一映射关系中的环境光亮度的第二取值序列,构建所述修正后的第一映射关系。The modified first mapping relationship is constructed based on the target value sequence and the second value sequence of ambient light brightness in the first mapping relationship.
进一步地,所述修正单元521,具体用于:Further, the
根据所述目标调整参数序列对所述第一取值序列进行填充,得到填充后的取值序列;其中,所述填充后的取值序列的长度等于所述第一取值序列的长度与M的和值;所述M等于所述目标调整参数序列的长度与1的差值;The first value sequence is padded according to the target adjustment parameter sequence to obtain a padded value sequence; wherein the length of the padded value sequence is equal to the length of the first value sequence and M The sum value; the M is equal to the difference between the length of the target adjustment parameter sequence and 1;
以所述目标调整参数序列作为卷积核对所述填充后的取值序列进行卷积运算,得到所述目标取值序列。A convolution operation is performed on the filled value sequence with the target adjustment parameter sequence as a convolution kernel to obtain the target value sequence.
进一步地,所述预先配置的多种亮度模式是在所述电子设备出厂时配置在所述电子设备中的;Further, the pre-configured multiple brightness modes are configured in the electronic device when the electronic device leaves the factory;
和/或,所述预先配置的多种亮度模式是基于用户的亮度模式配置操作配置在所述电子设备中的;And/or, the pre-configured multiple brightness modes are configured in the electronic device based on a user's brightness mode configuration operation;
和/或,所述预先配置的多种亮度模式是从独立于本电子设备的其他电子设备获取并配置在所述电子设备中的。And/or, the pre-configured multiple brightness modes are acquired from other electronic devices independent of the electronic device and configured in the electronic device.
进一步地,所述处理模块530,还用于:Further, the
响应于用户的亮度模式配置操作,向用户输出配置界面;其中,所述配置界面包括用于指导配置过程的配置说明;In response to the user's brightness mode configuration operation, outputting a configuration interface to the user; wherein the configuration interface includes configuration instructions for guiding the configuration process;
响应于用户通过所述配置界面输入的数字元素序列,将所述数字元素序列作为一种亮度模式对应的调整参数序列保存。In response to the digital element sequence input by the user through the configuration interface, the digital element sequence is stored as an adjustment parameter sequence corresponding to a brightness mode.
进一步地,所述处理模块530,还用于:Further, the
响应于亮度模式配置操作,向用户输出配置界面;其中,所述配置界面包括多种候选亮度模式;不同的候选亮度模式对应的候选调整参数序列的长度不同;In response to the brightness mode configuration operation, a configuration interface is output to the user; wherein, the configuration interface includes multiple candidate brightness modes; the lengths of the candidate adjustment parameter sequences corresponding to different candidate brightness modes are different;
响应于用户通过所述配置界面选中目标候选亮度模式的操作,向用户输出所述目标候选亮度模式对应的候选调整参数序列中的各个数字元素的取值范围;In response to the user's operation of selecting the target candidate brightness mode through the configuration interface, output the value range of each digital element in the candidate adjustment parameter sequence corresponding to the target candidate brightness mode to the user;
响应于用户从所述取值范围中选中目标值的操作,将用户选中的目标值构成的数字元素序列作为一种亮度模式对应的调整参数序列保存。In response to the user's operation of selecting a target value from the value range, the sequence of digital elements formed by the target value selected by the user is stored as a sequence of adjustment parameters corresponding to a brightness mode.
进一步地,所述多种亮度模式对应的多个调整参数序列包括用于对所述标准亮度曲线进行线性调整的第一类调整参数序列和用于对所述标准亮度曲线进行非线性调整的第二类调整参数序列。Further, the multiple adjustment parameter sequences corresponding to the multiple brightness modes include a first type of adjustment parameter sequence for linearly adjusting the standard brightness curve and a first type of adjustment parameter sequence for performing nonlinear adjustment on the standard brightness curve. A second-class tuning parameter sequence.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在相关方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatuses in the foregoing embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments of the related methods, and will not be described in detail here.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本公开方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。For the apparatus embodiments, since they basically correspond to the method embodiments, reference may be made to the partial descriptions of the method embodiments for related parts. The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in One place, or it can be distributed over multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present disclosure. Those of ordinary skill in the art can understand and implement it without creative effort.
本公开的实施例还提出一种电子设备,包括:Embodiments of the present disclosure also provide an electronic device, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为实现上述任一实施例所述的方法。Wherein, the processor is configured to implement the method described in any of the above embodiments.
本公开的实施例还提出一种存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述任一实施例所述的方法。Embodiments of the present disclosure also provide a storage medium, on which a computer program is stored, and when the program is executed by a processor, implements the method described in any of the foregoing embodiments.
图7是本公开根据一示例性实施例示出的一种电子设备的结构示意图。该电子设备可以是移动电话,平板设备,通信客户端等。FIG. 7 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure. The electronic device may be a mobile phone, a tablet device, a communication client, and the like.
参照图7,装置700可以包括以下一个或多个组件:处理组件702,存储器704,电源组件707,多媒体组件708,音频组件710,输入/输出(I/O)的接口712,传感器组件714,以及通信组件716。7, the
处理组件702通常控制装置700的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件702可以包括一个或多个处理器720来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件702可以包括一个或多个模块,便于处理组件702和其他组件之间的交互。例如,处理组件702可以包括多媒体模块,以方便多媒体组件708和处理组件702之间的交互。The
存储器704被配置为存储各种类型的数据以支持在装置700的操作。这些数据的示例包括用于在装置700上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器704可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件707为装置700的各种组件提供电力。电源组件707可以包括电源管理系统,一个或多个电源,及其他与为装置700生成、管理和分配电力相关联的组件。Power supply assembly 707 provides power to the various components of
多媒体组件708包括在所述装置700和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件708包括一个前置摄像头和/或后置摄像头。当装置700处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件710被配置为输出和/或输入音频信号。例如,音频组件710包括一个麦克风(MIC),当装置700处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器704或经由通信组件716发送。在一些实施例中,音频组件710还包括一个扬声器,用于输出音频信号。
I/O接口712为处理组件702和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/
传感器组件714包括一个或多个传感器,用于为装置700提供各个方面的状态评估。例如,传感器组件714可以检测到装置700的打开/关闭状态,组件的相对定位,例如所述组件为装置700的显示器和小键盘,传感器组件714还可以检测装置700或装置700一个组件的位置改变,用户与装置700接触的存在或不存在,装置700方位或加速/减速和装置700的温度变化。传感器组件714可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件714还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件714还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件716被配置为便于装置700和其他设备之间有线或无线方式的通信。装置700可以接入基于通信标准的无线网络,如WiFi,2G或3G,4G LTE、5G NR或它们的组合。在一个示例性实施例中,通信组件716经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件716还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置700可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述任一实施例所述的方法。In an exemplary embodiment,
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器704,上述指令可由装置700的处理器720执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as a
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common general knowledge or techniques in the technical field not disclosed by this disclosure . The specification and examples are to be regarded as exemplary only, with the 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 structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110181719.XA CN114913818B (en) | 2021-02-09 | 2021-02-09 | Backlight brightness adjustment method, device, electronic device 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 adjustment method, device, electronic device and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114913818A true CN114913818A (en) | 2022-08-16 |
| CN114913818B 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 adjustment method, device, electronic device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114913818B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117234398A (en) * | 2023-11-06 | 2023-12-15 | 荣耀终端有限公司 | Screen brightness adjusting method and electronic equipment |
Citations (7)
| 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 |
| US20190139502A1 (en) * | 2016-07-06 | 2019-05-09 | Canon Kabushiki Kaisha | Display control apparatus |
| 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 |
-
2021
- 2021-02-09 CN CN202110181719.XA patent/CN114913818B/en active Active
Patent Citations (7)
| 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 |
| US20190139502A1 (en) * | 2016-07-06 | 2019-05-09 | Canon Kabushiki Kaisha | Display control apparatus |
| 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 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117234398A (en) * | 2023-11-06 | 2023-12-15 | 荣耀终端有限公司 | Screen brightness adjusting method and electronic equipment |
| CN117234398B (en) * | 2023-11-06 | 2024-04-05 | 荣耀终端有限公司 | Screen brightness adjustment method and electronic device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114913818B (en) | 2024-05-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111261081B (en) | Screen display method and device | |
| CN110796988A (en) | Backlight adjusting method and device | |
| WO2017113666A1 (en) | Application interface switching method and device | |
| CN106126725B (en) | Page display method and device | |
| WO2022121402A1 (en) | Brightness adjustment method, electronic device, display panel, and electronic device | |
| CN108200279A (en) | backlight adjusting method, device and equipment | |
| CN106332415B (en) | Key brightness correcting method and device | |
| CN106296775B (en) | Icon generation method and device | |
| CN111131596B (en) | Screen brightness adjustment method and device | |
| CN112331158A (en) | Terminal display adjustment method, device, device and storage medium | |
| CN116453459B (en) | Screen display methods, devices, readable storage media, and electronic devices | |
| CN112019680A (en) | Screen brightness adjustment method and device | |
| CN114913818B (en) | Backlight brightness adjustment method, device, electronic device and storage medium | |
| CN115798394A (en) | Brightness adjustment method, device and storage medium | |
| CN111383568B (en) | Display control methods and devices, electronic devices and computer-readable storage media | |
| CN114442789A (en) | Dark screen control method, device, equipment and storage medium | |
| CN111383608B (en) | Display control method and apparatus, electronic device, and computer-readable storage medium | |
| CN111261035B (en) | Screen display method and device | |
| CN112799772A (en) | A method, device and medium for controlling interface display | |
| CN107102836B (en) | Display method and device | |
| CN111383583B (en) | Display control method and apparatus, electronic device, and computer-readable storage medium | |
| CN112669741B (en) | Light emission control method and device and electronic equipment | |
| CN112987906A (en) | Method and device for reducing display power consumption | |
| CN115079969A (en) | Method, device and medium for interaction between devices | |
| CN113470583A (en) | Display picture adjusting method and device and storage medium |
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 |