CN112230834A - Method and device for adjusting backlight of intelligent device - Google Patents

Method and device for adjusting backlight of intelligent device Download PDF

Info

Publication number
CN112230834A
CN112230834A CN202011197269.5A CN202011197269A CN112230834A CN 112230834 A CN112230834 A CN 112230834A CN 202011197269 A CN202011197269 A CN 202011197269A CN 112230834 A CN112230834 A CN 112230834A
Authority
CN
China
Prior art keywords
backlight
intensity value
adjusting
curve
map mapping
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011197269.5A
Other languages
Chinese (zh)
Other versions
CN112230834B (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.)
Shanghai Longcheer Technology Co Ltd
Original Assignee
Shanghai Longcheer Technology 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 Shanghai Longcheer Technology Co Ltd filed Critical Shanghai Longcheer Technology Co Ltd
Priority to CN202011197269.5A priority Critical patent/CN112230834B/en
Publication of CN112230834A publication Critical patent/CN112230834A/en
Application granted granted Critical
Publication of CN112230834B publication Critical patent/CN112230834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Liquid Crystal Display Device Control (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The method comprises the steps of sampling a sample screen luminous intensity value according to an obtained user screen sliding instruction, and determining a target map mapping array list suitable for a user according to the sample screen luminous intensity value and a preset map mapping array list; the method comprises the steps of obtaining a current screen luminous intensity value and a current backlight intensity value of the intelligent device, and comparing the current screen luminous intensity value with the current backlight intensity value to obtain a comparison result; fitting a backlight adjustment curve according to the target map mapping array list, and adjusting the backlight adjustment curve according to the comparison result; and adjusting the current backlight intensity value of the intelligent equipment according to the target map mapping array list by using the adjusted backlight adjustment curve. Therefore, the tremble phenomenon in the backlight adjusting process is eliminated, and the user experience is improved.

Description

Method and device for adjusting backlight of intelligent device
Technical Field
The present application relates to the field of computers, and in particular, to a method and an apparatus for adjusting a backlight of an intelligent device.
Background
The UI interface is crucial for the mobile phone user. The current mobile phone industry develops rapidly, and the sales volume of the mobile phone is directly influenced by an attractive interface and smooth user experience. In the scheme of backlight adjustment of the mobile phone, google and deep learning cooperate to develop a scheme of self-adaptive automatic dimming, curve interpolation and the like. Outside the mobile phone industry, there are some schemes such as PID dimming, direct numerical dimming, etc.
In the prior art, the backlight chattering phenomenon occurs when the user adjusts the light through the slide bar of the UI interface, and the reasons include:
(1) a user gesture sliding process gesture tremble;
(2) the upper layer is configured with a limit 8-bit adjusting value, and the driving layer is configured with a 16-bit value;
(3) the upper layer is configured to limit 16-bit adjustment and drive and configure 8-bit adjustment values.
The second and third stripes occur primarily because of the technical separation of the upper developers from the driving developers.
Disclosure of Invention
An object of the present application is to provide a method and device for adjusting backlight of a smart device, which solve the problem in the prior art that a user experiences poor experience due to the phenomenon of backlight tremor when the user adjusts light through a sliding bar of a UI interface.
According to an aspect of the present application, there is provided a method of adjusting a backlight of a smart device, the method comprising:
sampling a sample screen luminous intensity value according to an acquired user screen sliding instruction, and determining a target map mapping array list suitable for the user according to the sample screen luminous intensity value and a preset map mapping array list;
the method comprises the steps of obtaining a current screen luminous intensity value and a current backlight intensity value of the intelligent device, and comparing the current screen luminous intensity value with the current backlight intensity value to obtain a comparison result;
fitting a backlight adjustment curve according to the target map mapping array list, and adjusting the backlight adjustment curve according to the comparison result;
and adjusting the current backlight intensity value of the intelligent equipment according to the target map mapping array list by using the adjusted backlight adjustment curve.
Further, the determining a target map mapping array list applicable to the user according to the sample screen luminous intensity value and a preset map mapping array list includes:
determining a corresponding sampling moment value and a time point corresponding to the sampling moment value according to the sample screen luminous intensity value;
determining a sample map mapping array list according to the sample screen luminous intensity value, the sampling moment value and the time point;
and acquiring a preset map mapping array list from a system configuration file, judging whether the sample map mapping array list is larger than the preset map mapping array list, and if so, adjusting the sample map mapping array list to obtain a target map mapping array list suitable for the user.
Further, the adjusting the backlight adjustment curve according to the comparison result includes:
and enabling a corresponding cyclic function to adjust the current screen luminous intensity value according to the comparison result, wherein the cyclic function comprises an increasing cyclic function and a decreasing cyclic function.
Further, the method comprises:
and judging whether the current screen luminous intensity value is greater than a hardware luminous intensity threshold value, if so, replanning the current screen luminous intensity value to enable the current screen luminous intensity value to be less than or equal to the hardware luminous intensity threshold value.
Further, the fitting a backlight adjustment curve according to the target map mapping array list includes:
determining a sample backlight adjustment curve according to the target map mapping array list;
triggering a monitoring callback instruction according to the target map mapping array list;
and performing curve adjustment processing on the sample backlight adjustment curve according to the monitoring callback instruction to obtain a backlight adjustment curve.
Further, the performing curve adjustment processing on the sample backlight adjustment curve according to the monitoring callback instruction to obtain a backlight adjustment curve includes:
and adjusting the order of the matrix equation of the high-order least square method of the sample backlight adjustment curve to make the sample backlight adjustment curve be a monotonous curve, so as to obtain the backlight adjustment curve.
Further, the method comprises:
judging whether the backlight adjusting curve is a monotonous curve, if not, sending a curve adjusting instruction, carrying out curve adjusting processing on the backlight adjusting curve according to the curve adjusting instruction,
the curve adjustment processing is to adjust the order of a high-order least square method matrix equation of a backlight adjustment curve so that the backlight adjustment curve is a monotonic curve.
Further, adjusting the current backlight intensity value of the smart device according to the target map mapping array list by using the adjusted backlight adjustment curve, including:
and timing and adjusting the current backlight intensity value of the intelligent equipment according to the time period of each time in the target map mapping array list by using the adjusted backlight adjustment curve.
Further, the method further comprises:
and when the preset map mapping array list does not exist in the system configuration file, distributing the sample map mapping array list into the system configuration file as the preset map mapping array list.
According to another aspect of the present application, there is also provided an apparatus for adjusting a backlight of a smart device, wherein the apparatus comprises:
the data sampling module is used for sampling a sample screen luminous intensity value according to an obtained user screen sliding instruction, and determining a target map mapping array list suitable for the user according to the sample screen luminous intensity value and a preset map mapping array list;
the comparison module is used for acquiring the current screen luminous intensity value and the current backlight intensity value of the intelligent equipment, and comparing the current screen luminous intensity value with the current backlight intensity value to obtain a comparison result;
the data processing module is used for fitting a backlight adjustment curve according to the target map mapping array list and adjusting the backlight adjustment curve according to the comparison result;
and the backlight adjusting module is used for adjusting the current backlight intensity value of the intelligent equipment according to the target map mapping array list by using the adjusted backlight adjusting curve.
According to yet another aspect of the application, there is also provided a computer readable medium having computer readable instructions stored thereon, the computer readable instructions being executable by a processor to implement the method of any of the preceding claims.
According to yet another aspect of the present application, there is also provided a terminal device for adjusting a backlight of a smart device, wherein the terminal device includes:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform operations of any of the methods described above.
Compared with the prior art, the method and the device have the advantages that the sample screen luminous intensity value is sampled according to the obtained user screen sliding instruction, and the target map mapping array list suitable for the user is determined according to the sample screen luminous intensity value and the preset map mapping array list; the method comprises the steps of obtaining a current screen luminous intensity value and a current backlight intensity value of the intelligent device, and comparing the current screen luminous intensity value with the current backlight intensity value to obtain a comparison result; fitting a backlight adjustment curve according to the target map mapping array list, and adjusting the backlight adjustment curve according to the comparison result; and adjusting the current backlight intensity value of the intelligent equipment according to the target map mapping array list by using the adjusted backlight adjustment curve. Therefore, the tremble phenomenon in the backlight adjusting process is eliminated, and the user experience is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 illustrates a flow diagram of a method of adjusting backlighting of a smart device provided in accordance with an aspect of the present application;
fig. 2 is a schematic flow chart illustrating a dimming control principle in a preferred embodiment of the present application;
fig. 3 illustrates a schematic diagram of a device framework for adjusting a backlight of a smart device according to another aspect of the present application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
Fig. 1 shows a flowchart of a method for adjusting a backlight of a smart device according to an aspect of the present application, the method comprising: S11-S14, wherein in the step S11, a sample screen luminous intensity value is sampled according to the obtained user sliding screen instruction, and a target map mapping array list suitable for the user is determined according to the sample screen luminous intensity value and a preset map mapping array list; step S12, obtaining a current screen luminous intensity value and a current backlight intensity value of the intelligent device, and comparing the current screen luminous intensity value with the current backlight intensity value to obtain a comparison result; step S13, fitting a backlight adjustment curve according to the target map mapping array list, and adjusting the backlight adjustment curve according to the comparison result; and step S14, adjusting the current backlight intensity value of the intelligent device according to the target map mapping array list by using the adjusted backlight adjustment curve. Therefore, the tremble phenomenon in the backlight adjusting process is eliminated, and the user experience is improved.
Specifically, in step S11, a sample screen luminous intensity value is sampled according to the obtained user screen sliding instruction, and a target map mapping array list suitable for the user is determined according to the sample screen luminous intensity value and a preset map mapping array list. The current user adjusts the illumination through the illumination adjusting control, and obtains a plurality of sample screen luminous intensity values (sample Nit values) after sampling at a plurality of time points at a plurality of moments according to the user screen sliding instruction, wherein the illumination adjusting control can be a seekbar movement bar. Determining a map mapping array list (map mapping array list) corresponding to all the obtained sample screen luminous intensity values, namely map mapping in a key-value form according to the sample screen luminous intensity values, a plurality of corresponding moments and a plurality of time points, and then adjusting the map mapping array list corresponding to the sample screen luminous intensity values by combining a preset map mapping array list to determine a target map mapping array list suitable for the user, namely determining the target map mapping array list according to the habit of sliding the screen of the user.
Step S12, obtaining a current screen light-emitting intensity value and a current backlight intensity value of the smart device, and comparing the current screen light-emitting intensity value with the current backlight intensity value to obtain a comparison result. Here, whether the user intends to turn up or down the brightness is determined by a comparison result obtained by comparing the current screen light emission intensity value with the current backlight intensity value.
And step S13, fitting a backlight adjustment curve according to the target map mapping array list, and adjusting the backlight adjustment curve according to the comparison result. Here, the screen luminous intensity values corresponding to each time in the target map mapping array list are connected into a line to fit a backlight adjustment curve, a backlight adjustment value is determined according to the comparison result, the backlight adjustment curve is adjusted by using the backlight adjustment value, for example, brightness may be increased by using an increasing cyclic function or reduced by using a decreasing cyclic function, a corresponding backlight adjustment value is determined, and then the backlight adjustment value is set into the backlight adjustment curve to complete the adjustment operation.
And step S14, adjusting the current backlight intensity value of the intelligent device according to the target map mapping array list by using the adjusted backlight adjustment curve. Determining a corresponding target map mapping array list according to the adjusted backlight adjustment curve, and timing a time period of each time in the target map mapping array list to adjust the current backlight intensity value of the device only.
In a preferred embodiment of the present application, in step S11, a corresponding sampling time value and a time point corresponding to the sampling time value are determined according to the sample screen luminous intensity value; determining a sample map mapping array list according to the sample screen luminous intensity value, the sampling moment value and the time point; and acquiring a preset map mapping array list from a system configuration file, judging whether the sample map mapping array list is larger than the preset map mapping array list, and if so, adjusting the sample map mapping array list to obtain a target map mapping array list suitable for the user. Here, the collection period may be set as a period from a start of manual sliding by a user to a stop of manual sliding, the sampling time value, a time point corresponding to the sampling time value, and a corresponding sample screen luminous intensity value are recorded in the collection period, an array (Nit-time array) of the sample screen luminous intensity value (sample Nit value) and the sampling time period is obtained by corresponding the sampling time value, the time point corresponding to the sampling time value, and the corresponding sample screen luminous intensity value, and then a sample map mapping array list (sample map mapping array list) is determined by collecting all the sample screen luminous intensity values and the arrays of the sampling time period in the collection period. Acquiring a preset map mapping array list (preset map mapping array list) from a system configuration file, for example, acquiring a map mapping array list preset and configured by an engineer from config.
In a preferred embodiment of the present application, in step S13, a corresponding round function is enabled to adjust the current screen luminous intensity value according to the comparison result, wherein the round function includes an increasing round function and a decreasing round function. Here, the comparison result includes that the current screen luminous intensity value is greater than the current backlight intensity value, and the current screen luminous intensity value is less than the current backlight intensity value. When the current screen luminous intensity value is larger than the current backlight intensity value, the intention of a user is to increase the brightness, and the brightness is increased by using an increasing circulation function; and when the current screen luminous intensity value is smaller than the current backlight intensity value, the intention of the user is to turn down the brightness, and the brightness is turned down by using a decreasing circulation function.
In a preferred embodiment of the present application, it is determined whether the current screen luminous intensity value is greater than a hardware luminous intensity threshold, and if so, the current screen luminous intensity value is re-programmed so that the current screen luminous intensity value is less than or equal to the hardware luminous intensity threshold. Here, it is determined whether the obtained current Nit value exceeds a hardware luminous intensity threshold, for example, a luminous maximum value of an LCD screen or a system configuration file config.xml boundary value, and if so, the current screen luminous intensity value (current Nit value) is re-planned within the configuration file config.xml boundary value range, so that the current screen luminous intensity value is less than or equal to the hardware luminous intensity threshold.
In a preferred embodiment of the present application, in step S13, a sample backlight adjustment curve is determined according to the target map mapping array list; triggering a monitoring callback instruction according to the target map mapping array list; and performing curve adjustment processing on the sample backlight adjustment curve according to the monitoring callback instruction to obtain a backlight adjustment curve. Here, a sample backlight adjustment curve is determined after a screen luminous intensity value in the target map mapping array list is connected with an array (Nit-time array) of a time period, the target map mapping array list is determined after a preset map mapping array list is adjusted, and in a preferred embodiment of the present application, a change of the map mapping array list triggers a monitoring callback of a database function to call a curve adjustment function to perform curve adjustment. The target map mapping array list triggers a monitoring callback instruction, and performs curve adjustment processing on the sample backlight adjustment curve according to the monitoring callback instruction to obtain a backlight adjustment curve, for example, the order of a high-order least square method matrix equation of an adjustment curve function is called to adjust the sample backlight adjustment curve to be a monotonic function, so as to obtain a backlight curve function.
In a preferred embodiment of the present application, in step S13, the order of the high-order least square matrix equation of the sample backlight adjustment curve is adjusted to make the sample backlight adjustment curve a monotonic curve, so as to obtain the backlight adjustment curve. In this case, the order of the matrix equation of the high-order least square method of the curve function can be called and adjusted to achieve the purpose of monotonicity of the curve.
In a preferred embodiment of the present application, it is determined whether the backlight adjustment curve is a monotonic curve, if not, a curve adjustment instruction is issued, and a curve adjustment process is performed on the backlight adjustment curve according to the curve adjustment instruction, where the curve adjustment process is to adjust the order of a high-order least square method matrix equation of the backlight adjustment curve so that the backlight adjustment curve is a monotonic curve. Here, the order of the high-order least square matrix equation of the backlight adjustment curve is adjusted so that the backlight adjustment curve is a monotonic curve, and thus a backlight adjustment curve is re-fitted.
In a preferred embodiment of the present application, in step S14, the adjusted backlight adjustment curve is used to adjust the current backlight intensity value of the smart device according to the time period between each time in the target map mapping array list. The adjusted backlight adjustment curve is a map mapping array list formed strictly according to user habits, and the current backlight intensity value of the intelligent device is adjusted in a timing mode according to the time period of each time in all the Nit-time arrays in the map mapping array list. Therefore, the tremble phenomenon in the backlight adjusting process is eliminated, and the user experience is improved.
In a preferred embodiment of the present application, in step S11, when there is no preset map mapping array list in the system configuration file, the sample map mapping array list is allocated to the system configuration file as the preset map mapping array list. Here, when a preset map mapping array list does not exist in the system configuration file, the sample map mapping array list is allocated to the system configuration file as the preset map mapping array list, so that the backlight adjustment processing of the current intelligent terminal is adaptively and smoothly completed.
Fig. 2 is a schematic diagram illustrating a schematic flow of a dimming control principle in a preferred embodiment of the present application, wherein a current screen luminance intensity value (current Nit value) is labeled as 1, a current backlight value (current backlight Nit value) of an LCD screen is labeled as 2, a sample acquisition function is labeled as 3, a configuration modification function is labeled as 4, a time curve configuration file is labeled as 5, a curve adjustment function is labeled as 6, a monotonicity detection function is labeled as 7, a least square curve fitting function is labeled as 8, a dimming backlight function is labeled as 9, a time timer is labeled as 10, an increasing round function is labeled as 11, a decreasing round function is labeled as 12, a backlight value comparison function is labeled as 13, a scaling function is labeled as 12, and a backlight boundary comparator is labeled as 15. In the method, the sample collection function (3) obtains the current screen luminous intensity value (current Nit value) (1) of the input value by adjusting the illumination from the current user through a control for adjusting the illumination, preferably a movement bar (seekbar), and obtains the sampling time value of the sample and the map mapping cached into a key-value form at the corresponding time point. The acquisition period is a sliding monitoring period of seekbar, namely, monitoring of starting and stopping of manual sliding of a user, so that when the user has manual sliding, a last value changes to form an array list of map mapping (last-time).
Then, the value acquired by the sample acquisition function (3) is sent to the file modification function (4) for judging curve modification. Xml, a time threshold of a sample map array list in the sample acquisition function (3) and a time period comparison threshold of each time of an array list of preset map mapping (Nit-time) configured by an engineer are obtained by the file modification function (4), the time threshold is compared with the array list of the preset map mapping, when the file modification function (4) judges that the array list of the preset map mapping is larger than the time threshold, a time bar for sliding of a user is fast, the sliding speed belongs to the speed of the habitual sliding seekbar of the user, and the array of the map mapping (Nit-time) needs to be adjusted to meet the habitual needs of the user. And when the Nit-time pair does not exist in the configuration file, distributing the collected Nit-time array pair to an array list of a map mapping (Nit-time) of the configuration file.
Then, the change of the array list of map mapping (Nit-time) triggers the interception callback of the database function to call the curve adjustment function (6) to perform curve adjustment. In this case, another way of adjusting the curve adjustment function (6) is to receive a curve adjustment command. The curve adjusting instruction is sent by a monotonicity detection function (7), the triggering condition is that a backlight adjusting curve function corresponding to an array list of map mapping (Nit-time) is a non-monotonicity function, the monotonicity detection function (7) calls the order of a matrix equation of a high-order least square method of an adjusting curve function (6) to adjust the backlight adjusting curve to be a monotonicity function, and the refitting of the backlight adjusting curve LSCT (8) is completed.
And then, before the acquired current Nit value, a backlight boundary comparator (15) is used for checking whether the current backlight value and the maximum value of the light emitting value of the Lcd exceed the config.xml boundary value of the system configuration file (only 8 bits are 255 and 16 bits are 4096), and if so, a proportion calculation function (14) is used for re-planning the Nit within the config.xml boundary value range. And calling a backlight value comparison function (13) according to the proportion calculation function (14) and the current Nit value adjusted by the backlight boundary comparator (15), wherein the backlight value comparison function (13) compares the adjusted Nit value with the current backlight value Lct _ cur to judge whether the intention of the user is to adjust the brightness up or down. An increasing loop function (11) is called if dimming is required and a decreasing loop function (12) is called if dimming is required.
Then, the backlight adjustment value Nit processed by the increasing cyclic function (11) or the decreasing cyclic function (12) is set as a parameter into a backlight adjustment curve (LSCF) (8), wherein the backlight adjustment curve (LSCF) (8) is a curve which is fitted according to configuration and a certain order by a least square method.
Through an array list of map mapping (Nit-time) formed by a backlight adjusting curve (LSCF) (8) strictly according to customer habits, a Timer (Timer) (10) is used for timing a time period of each time in the map mapping list so as to adjust an Nit value describing backlight intensity, and a backlight adjusting function (ABF) (9) is called to perform corresponding backlight adjustment at the moment, so that stable backlight adjustment is output, and user experience is improved.
Embodiments of the present application also provide a computer readable medium having computer readable instructions stored thereon, which are executable by a processor to implement the aforementioned method for adjusting the backlight of a smart device.
Corresponding to the method described above, the present application also provides a terminal device, which includes modules or units capable of executing the method steps described in fig. 1 or fig. 2 or various embodiments, and these modules or units may be implemented by hardware, software or a combination of hardware and software, and the present application is not limited thereto. For example, in an embodiment of the present application, there is also provided a terminal device for adjusting backlight of a smart device, wherein the terminal device includes:
one or more processors; and
a memory having computer readable instructions stored thereon that, when executed, cause the processor to perform the operations of the aforementioned one method for adjusting backlighting of a smart device.
For example, the computer readable instructions, when executed, cause the one or more processors to:
sampling a sample screen luminous intensity value according to an acquired user screen sliding instruction, and determining a target map mapping array list suitable for the user according to the sample screen luminous intensity value and a preset map mapping array list; the method comprises the steps of obtaining a current screen luminous intensity value and a current backlight intensity value of the intelligent device, and comparing the current screen luminous intensity value with the current backlight intensity value to obtain a comparison result; fitting a backlight adjustment curve according to the target map mapping array list, and adjusting the backlight adjustment curve according to the comparison result; and adjusting the current backlight intensity value of the intelligent equipment according to the target map mapping array list by using the adjusted backlight adjustment curve.
Fig. 3 illustrates a schematic diagram of a device framework for adjusting a backlight of a smart device according to another aspect of the present application, the device comprising: the data sampling module 100 is configured to sample a sample screen luminous intensity value according to an obtained user screen sliding instruction, and determine a target map mapping array list suitable for the user according to the sample screen luminous intensity value and a preset map mapping array list; the comparison module 200 is configured to obtain a current screen light-emitting intensity value and a current backlight intensity value of the intelligent device, and compare the current screen light-emitting intensity value with the current backlight intensity value to obtain a comparison result; the data processing module 300 is configured to fit a backlight adjustment curve according to the target map mapping array list and adjust the backlight adjustment curve according to the comparison result; and the backlight adjusting module 400 is configured to adjust the current backlight intensity value of the smart device according to the target map mapping array list by using the adjusted backlight adjusting curve. Therefore, the tremble phenomenon in the backlight adjusting process is eliminated, and the user experience is improved.
It should be noted that the content executed by the data sampling module 100, the comparing module 200, the data processing module 300, and the backlight adjusting module 400 is respectively the same as or corresponding to the content in the above steps S11, S12, S13, and S14, and for brevity, the description is omitted here.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (12)

1. A method of adjusting backlighting of a smart device, wherein the method comprises:
sampling a sample screen luminous intensity value according to an acquired user screen sliding instruction, and determining a target map mapping array list suitable for the user according to the sample screen luminous intensity value and a preset map mapping array list;
the method comprises the steps of obtaining a current screen luminous intensity value and a current backlight intensity value of the intelligent device, and comparing the current screen luminous intensity value with the current backlight intensity value to obtain a comparison result;
fitting a backlight adjustment curve according to the target map mapping array list, and adjusting the backlight adjustment curve according to the comparison result;
and adjusting the current backlight intensity value of the intelligent equipment according to the target map mapping array list by using the adjusted backlight adjustment curve.
2. The method of claim 1, wherein determining a list of target map arrays applicable to the user from the sample screen luminous intensity values and a list of preset map arrays comprises:
determining a corresponding sampling moment value and a time point corresponding to the sampling moment value according to the sample screen luminous intensity value;
determining a sample map mapping array list according to the sample screen luminous intensity value, the sampling moment value and the time point;
and acquiring a preset map mapping array list from a system configuration file, judging whether the sample map mapping array list is larger than the preset map mapping array list, and if so, adjusting the sample map mapping array list to obtain a target map mapping array list suitable for the user.
3. The method of claim 1, wherein said adjusting the backlight adjustment curve according to the comparison comprises:
and enabling a corresponding cyclic function to adjust the current screen luminous intensity value according to the comparison result, wherein the cyclic function comprises an increasing cyclic function and a decreasing cyclic function.
4. The method of claim 1, wherein the method comprises:
and judging whether the current screen luminous intensity value is greater than a hardware luminous intensity threshold value, if so, replanning the current screen luminous intensity value to enable the current screen luminous intensity value to be less than or equal to the hardware luminous intensity threshold value.
5. The method of claim 2, wherein said fitting a backlight adjustment curve according to said list of target map mapping arrays comprises:
determining a sample backlight adjustment curve according to the target map mapping array list;
triggering a monitoring callback instruction according to the target map mapping array list;
and performing curve adjustment processing on the sample backlight adjustment curve according to the monitoring callback instruction to obtain a backlight adjustment curve.
6. The method of claim 5, wherein the performing a curve adjustment process on the sample backlight adjustment curve according to the snoop callback instruction to obtain a backlight adjustment curve comprises:
and adjusting the order of the matrix equation of the high-order least square method of the sample backlight adjustment curve to make the sample backlight adjustment curve be a monotonous curve, so as to obtain the backlight adjustment curve.
7. The method of claim 1, wherein the method comprises:
judging whether the backlight adjusting curve is a monotonous curve, if not, sending a curve adjusting instruction, carrying out curve adjusting processing on the backlight adjusting curve according to the curve adjusting instruction,
the curve adjustment processing is to adjust the order of a high-order least square method matrix equation of a backlight adjustment curve so that the backlight adjustment curve is a monotonic curve.
8. The method of claim 1, wherein adjusting the current backlight intensity value of the smart device according to the list of target map arrays using the adjusted backlight adjustment curve comprises:
and timing and adjusting the current backlight intensity value of the intelligent equipment according to the time period of each time in the target map mapping array list by using the adjusted backlight adjustment curve.
9. The method of claim 2, wherein the method further comprises:
and when the preset map mapping array list does not exist in the system configuration file, distributing the sample map mapping array list into the system configuration file as the preset map mapping array list.
10. An apparatus for adjusting backlighting of a smart device, wherein the apparatus comprises:
the data sampling module is used for sampling a sample screen luminous intensity value according to an obtained user screen sliding instruction, and determining a target map mapping array list suitable for the user according to the sample screen luminous intensity value and a preset map mapping array list;
the comparison module is used for acquiring the current screen luminous intensity value and the current backlight intensity value of the intelligent equipment, and comparing the current screen luminous intensity value with the current backlight intensity value to obtain a comparison result;
the data processing module is used for fitting a backlight adjustment curve according to the target map mapping array list and adjusting the backlight adjustment curve according to the comparison result;
and the backlight adjusting module is used for adjusting the current backlight intensity value of the intelligent equipment according to the target map mapping array list by using the adjusted backlight adjusting curve.
11. A computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the method of any one of claims 1 to 9.
12. A terminal device for adjusting a backlight of a smart device, wherein the terminal device comprises:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the method of any of claims 1 to 9.
CN202011197269.5A 2020-10-30 2020-10-30 Method and device for adjusting backlight of intelligent device Active CN112230834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011197269.5A CN112230834B (en) 2020-10-30 2020-10-30 Method and device for adjusting backlight of intelligent device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011197269.5A CN112230834B (en) 2020-10-30 2020-10-30 Method and device for adjusting backlight of intelligent device

Publications (2)

Publication Number Publication Date
CN112230834A true CN112230834A (en) 2021-01-15
CN112230834B CN112230834B (en) 2021-12-24

Family

ID=74122977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011197269.5A Active CN112230834B (en) 2020-10-30 2020-10-30 Method and device for adjusting backlight of intelligent device

Country Status (1)

Country Link
CN (1) CN112230834B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398311A (en) * 2008-10-21 2009-04-01 北京航空航天大学 Repeat dynamic measurement data processing method based on grey system theory
CN101847383A (en) * 2009-03-25 2010-09-29 瑞鼎科技股份有限公司 Brightness adjusting device and method for dynamically adjusting backlight module brightness
CN101894533A (en) * 2010-06-24 2010-11-24 彩虹集团公司 Linear adjusting method for brightness of backlight
CN102855848A (en) * 2012-09-17 2013-01-02 济南微晶电子技术有限公司 User habit based method and user habit based system for adaptive control of display screen backlight retention time
CN104766569A (en) * 2015-04-29 2015-07-08 深圳市华星光电技术有限公司 Screen dynamic backlight adjusting method
CN105427815A (en) * 2016-01-12 2016-03-23 浙江德景电子科技有限公司 Method and apparatus for adjusting backlight brightness
CN106793046A (en) * 2017-03-27 2017-05-31 维沃移动通信有限公司 The adjusting method and mobile terminal of screen display
CN108447455A (en) * 2018-02-02 2018-08-24 普联技术有限公司 The back light brightness regulating method and system of terminal screen
CN109951596A (en) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 Adjusting method, device, storage medium and the mobile terminal of screen intensity
CN111343321A (en) * 2020-02-28 2020-06-26 Oppo广东移动通信有限公司 Backlight brightness adjusting method and related product

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398311A (en) * 2008-10-21 2009-04-01 北京航空航天大学 Repeat dynamic measurement data processing method based on grey system theory
CN101847383A (en) * 2009-03-25 2010-09-29 瑞鼎科技股份有限公司 Brightness adjusting device and method for dynamically adjusting backlight module brightness
CN101894533A (en) * 2010-06-24 2010-11-24 彩虹集团公司 Linear adjusting method for brightness of backlight
CN102855848A (en) * 2012-09-17 2013-01-02 济南微晶电子技术有限公司 User habit based method and user habit based system for adaptive control of display screen backlight retention time
CN104766569A (en) * 2015-04-29 2015-07-08 深圳市华星光电技术有限公司 Screen dynamic backlight adjusting method
CN105427815A (en) * 2016-01-12 2016-03-23 浙江德景电子科技有限公司 Method and apparatus for adjusting backlight brightness
CN106793046A (en) * 2017-03-27 2017-05-31 维沃移动通信有限公司 The adjusting method and mobile terminal of screen display
CN109951596A (en) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 Adjusting method, device, storage medium and the mobile terminal of screen intensity
CN108447455A (en) * 2018-02-02 2018-08-24 普联技术有限公司 The back light brightness regulating method and system of terminal screen
CN111343321A (en) * 2020-02-28 2020-06-26 Oppo广东移动通信有限公司 Backlight brightness adjusting method and related product

Also Published As

Publication number Publication date
CN112230834B (en) 2021-12-24

Similar Documents

Publication Publication Date Title
CN109189682B (en) Script recording method and device
CN110308782B (en) Power consumption prediction and control method and device and computer readable storage medium
CN108089856B (en) Page element monitoring method and device
US20130283145A1 (en) Approximating Electronic Document Last Reading Position
WO2015150622A1 (en) Method and apparatus for controlling image capture
CN104113576A (en) Method and device for updating client
US10768947B2 (en) Method for interface refresh synchronization,terminal device, and non-transitory computer-readable storage medium
CN111272393A (en) Flash lamp detection method and device
CN109802994B (en) Message pushing method and system based on content distribution network
CN111277659A (en) Method and device for detecting display state of transverse screen and vertical screen of mobile phone
CN112230834B (en) Method and device for adjusting backlight of intelligent device
CN109189528B (en) Control method for pop-up window display and pop-up window display method
CN106611005B (en) Method and device for setting crawling time interval of crawler
US20130342757A1 (en) Variable Flash Control For Improved Image Detection
CN112381151B (en) Method and device for determining similar videos
CN110968377B (en) Interface display processing method and device
CN104050100B (en) A kind of data flow memory management method and system suitable for big data environment
CN111966557B (en) Method and device for monitoring browser frame rate
CN104811628A (en) Parameter compensation method and device
CN113748398B (en) Data processing and task scheduling method, device, system and storage medium
CN112616013B (en) Method and apparatus for implementing automatic HDR
WO2021129416A1 (en) Method and apparatus for controlling frame rate of mobile terminal, computer device and storage medium
US11663470B2 (en) Method and system for accelerating boot time
CN108419092B (en) Method and device for determining same video
CN112069503A (en) Task management method, 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