CN110971761B - Method and device for generating display parameter curve, mobile terminal and storage medium - Google Patents
Method and device for generating display parameter curve, mobile terminal and storage medium Download PDFInfo
- Publication number
- CN110971761B CN110971761B CN201911252865.6A CN201911252865A CN110971761B CN 110971761 B CN110971761 B CN 110971761B CN 201911252865 A CN201911252865 A CN 201911252865A CN 110971761 B CN110971761 B CN 110971761B
- Authority
- CN
- China
- Prior art keywords
- parameter
- display parameter
- target
- mobile terminal
- scene
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application discloses a method, a device, a mobile terminal and a storage medium for generating a display parameter curve, wherein the method comprises the following steps: when the mobile terminal is in an automatic display parameter adjusting mode, acquiring current scene parameters; determining a target scene parameter with the highest similarity to the current scene parameter in the historical manual adjustment set and a corresponding target similarity; and if the target similarity is greater than or equal to the first threshold, acquiring a target display parameter value corresponding to the target scene parameter, and generating a new display parameter curve according to the target scene parameter, the target display parameter value and the automatic display parameter curve, wherein the automatic display parameter curve is a corresponding display parameter curve in the automatic display parameter adjustment mode. The embodiment of the application can avoid the situation of repeated manual adjustment, and improve the adjustment effect of the display parameters.
Description
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a method and a device for generating a display parameter curve, a mobile terminal and a storage medium.
Background
At present, in a solution for adjusting display parameters of a mobile terminal, after a user manually adjusts display parameters, a parameter curve is adjusted each time according to the manually adjusted display parameters and calculated detection parameters, and the parameter curve is a curve formed by a corresponding relationship between the detection parameters and the display parameters. In the current solution, each manual adjustment of the display parameters affects the parameter curve, i.e. the next manual adjustment may affect the display parameters adjusted by the previous manual adjustment. This may cause the user to frequently manually adjust the display parameters, which may be the case with repeated manual adjustments.
Disclosure of Invention
The embodiment of the application provides a method, a device, a mobile terminal and a storage medium for generating a display parameter curve, which can avoid the situation of repeated manual adjustment and improve the adjustment effect of display parameters.
A first aspect of an embodiment of the present application provides a method for generating a display parameter curve, including:
when the mobile terminal is in an automatic display parameter adjusting mode, acquiring current scene parameters;
determining a target scene parameter with the highest similarity to the current scene parameter in a historical manual adjustment set and a corresponding target similarity;
if the target similarity is larger than or equal to a first threshold, acquiring a target display parameter value corresponding to the target scene parameter, and generating a new display parameter curve according to the target scene parameter, the target display parameter value and an automatic display parameter curve, wherein the automatic display parameter curve is a corresponding display parameter curve in the automatic display parameter adjustment mode.
A second aspect of the embodiments of the present application provides an apparatus for generating a display parameter curve, including:
the first acquisition unit is used for acquiring current scene parameters when the mobile terminal is in an automatic display parameter adjustment mode;
the determining unit is used for determining the target scene parameters with the highest similarity to the current scene parameters in the historical manual adjustment set and the corresponding target similarity;
the second acquisition unit is used for acquiring a target display parameter value corresponding to the target scene parameter under the condition that the target similarity is greater than or equal to a first threshold value;
and the generating unit is used for generating a new display parameter curve according to the target scene parameter, the target display parameter value and an automatic display parameter curve, wherein the automatic display parameter curve is a corresponding display parameter curve in the automatic display parameter adjusting mode.
A third aspect of embodiments of the present application provides a mobile terminal, including a processor and a memory, where the memory is configured to store a computer program, where the computer program includes program instructions, and the processor is configured to invoke the program instructions to perform some or all of the steps described in any of the methods of the first aspect of embodiments of the present application.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium storing a computer program comprising program instructions that, when executed by a processor, cause the processor to perform some or all of the steps as described in any one of the methods of the first aspect of embodiments of the present application.
A fifth aspect of embodiments of the present application provides a computer program product comprising a non-transitory computer readable storage medium having a computer program stored thereon, the computer program being operable to cause a computer to perform some or all of the steps of a method as described in any one of the first aspects of embodiments of the present application.
In the embodiment of the application, the current scene parameters are acquired when the mobile terminal is in the automatic display parameter adjusting mode; determining a target scene parameter with the highest similarity to the current scene parameter in the historical manual adjustment set and a corresponding target similarity; and if the target similarity is greater than or equal to the first threshold, acquiring a target display parameter value corresponding to the target scene parameter, and generating a new display parameter curve according to the target scene parameter, the target display parameter value and the automatic display parameter curve, wherein the automatic display parameter curve is a corresponding display parameter curve in the automatic display parameter adjustment mode. According to the display parameter curve generation method and device, the new display parameter curve can be generated according to the historical manual adjustment records of the user, the new display parameter curve combines the parameters of manual adjustment of the historical scene closest to the current scene on the basis of automatically displaying the parameter curve, the new display parameter curve is enabled to better meet the display parameter adjustment requirements of the current scene of the user, the situation of repeated manual adjustment is avoided, the adjustment effect of the display parameters is improved, and further the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram illustrating a method for generating a display parameter curve according to an embodiment of the present disclosure;
FIG. 2a is a schematic diagram of an automatic backlight luminance curve disclosed in the embodiments of the present application;
FIG. 2b is a schematic diagram of an automatic backlight color temperature curve according to an embodiment of the present application;
FIG. 3 is a schematic diagram of generating a new backlight luminance curve according to an embodiment of the disclosure;
FIG. 4 is a schematic flow chart diagram illustrating another method for generating a display parameter curve according to an embodiment of the present disclosure;
FIG. 5 is a schematic structural diagram of an apparatus for generating a display parameter curve according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present invention better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The mobile terminal according to the embodiment of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, which have wireless communication functions, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like. For convenience of description, the above-mentioned devices are collectively referred to as a mobile terminal.
The following describes embodiments of the present application in detail.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a method for generating a display parameter curve according to an embodiment of the present disclosure, and as shown in fig. 1, the method for generating a display parameter curve includes the following steps.
101, when the mobile terminal is in the automatic display parameter adjusting mode, the mobile terminal obtains the current scene parameters.
In the embodiment of the present application, the display parameter may include a backlight brightness or a backlight color temperature. The display parameter auto-adjustment mode may include a backlight brightness auto-adjustment mode or a backlight color temperature auto-adjustment mode.
In the backlight brightness automatic adjusting mode, the mobile terminal determines the backlight brightness of the mobile terminal according to the automatic backlight brightness curve; in the backlight color temperature automatic adjusting mode, the mobile terminal determines the backlight color temperature of the mobile terminal according to the automatic backlight color temperature curve.
The backlight brightness of the mobile terminal can be set to be in a backlight brightness automatic adjusting mode or in a backlight brightness manual adjusting mode. In the backlight brightness automatic adjustment mode, the backlight brightness of the mobile terminal may be adjusted according to the change of the obtained ambient light intensity, or may be manually adjusted by the user on the basis of automatic adjustment, and when the automatic adjustment conflicts with the manual adjustment, the manual adjustment is generally used as the standard. In the manual adjustment mode, that is, in the case that the user closes the automatic adjustment, the backlight brightness of the mobile terminal is manually set by the user, and once the backlight brightness is set, the backlight brightness of the mobile terminal is fixed.
The backlight brightness of the mobile terminal can be controlled by a display module, and the display module of the mobile terminal generally includes: the display screen (such as a liquid crystal display screen, an LED display screen, an OLED display screen and the like), the backlight source (such as an LED backlight source), the driving circuit, the connecting piece and the control circuit. For a liquid crystal display screen or an LED display screen, the backlight source is positioned at the back of the display screen, the display screen does not emit light, and the display screen displays graphs or characters which are the result of modulating light generated by the display module group to the backlight source. For a liquid crystal display or LED display, the backlight generally includes a light source (e.g., an LED lamp), a light guide plate (e.g., the light guide plate may be made of acrylic material), an optical film, and a plastic frame. The light source is provided with a light guide plate, and the light guide plate is provided with an optical film. The light guide plate and the optical film can convert light generated by the light source into uniform light. In the embodiment of the present application, adjusting the backlight brightness of the mobile terminal mainly refers to adjusting the brightness of a backlight source.
In the manual adjustment mode, the user can adjust the backlight brightness of the mobile terminal by dragging the backlight progress bar of the mobile terminal.
Referring to fig. 2a, fig. 2a is a schematic diagram of an automatic backlight luminance curve disclosed in an embodiment of the present application; as shown in fig. 2a, the abscissa of the automatic backlight luminance curve is the light sensation value detected by the light sensor, and the ordinate is the backlight luminance. If the mobile terminal starts the automatic backlight mode, the backlight brightness of the mobile terminal can be adjusted according to the automatic backlight brightness curve. The optical sensor may also be referred to as a light sensor or an ambient light sensor. The light sensor may be disposed on a front panel of the mobile terminal or may be disposed under a display screen (i.e., light sensing under the screen). The light sensor is used for detecting the light sensation value of the environment where the mobile terminal is located. The light sensation value can be expressed in lux.
The backlight brightness can be expressed in a proportional value of the maximum backlight brightness that can be provided by the backlight source of the mobile terminal. For example, if the backlight brightness is 100%, it represents that the backlight brightness is 100% of the maximum backlight brightness that can be provided by the backlight source of the mobile terminal; if the backlight brightness is 60%, it means that the backlight brightness is 60% of the maximum backlight brightness that the backlight source of the mobile terminal can provide.
Specifically, in order to avoid the influence of the repeated changes of the backlight brightness on the user experience, a plurality of light sensing sections are generally set, and a uniform backlight brightness is set in each light sensing section, as shown in fig. 2a, in a first light sensing section, the backlight brightness b1 corresponding to the light sensing value lux1 is used as the backlight brightness corresponding to the first light sensing section, and when the light sensing value is in the first light sensing section, the backlight brightness of the mobile terminal is fixed at b 1; in the second light sensation interval, the backlight brightness b2 corresponding to the light sensation value lux2 is used as the backlight brightness corresponding to the second light sensation interval, and when the light sensation value is in the second light sensation interval, the backlight brightness of the mobile terminal is fixed at b 2. For example, if the light sensation value is in the range of 100-300 lux, the corresponding backlight brightness is 30%, and if the light sensation value is in the range of 300-500 lux, the corresponding backlight brightness is 40%.
Referring to fig. 2b, fig. 2b is a schematic diagram of an automatic backlight color temperature curve disclosed in the embodiment of the present application; as shown in fig. 2b, the abscissa of the automatic backlight color temperature curve is the color temperature value detected by the color temperature sensor, and the ordinate is the backlight color temperature. If the mobile terminal starts the automatic backlight mode, the backlight color temperature of the mobile terminal can be adjusted according to the automatic backlight color temperature curve. The color temperature sensor can be arranged on the front panel of the mobile terminal and can also be arranged under the display screen (namely, the color temperature sensor under the screen). The color temperature sensor is used for detecting the color temperature value of the environment where the mobile terminal is located. Both the color temperature value and the backlight color temperature can be expressed in kelvin (K).
Specifically, in order to avoid that the backlight color temperature repeatedly changes to affect the user experience and simplify the design of the backlight source, a plurality of color temperature intervals are generally set, and a uniform backlight color temperature is set in each color temperature interval, as shown in fig. 2a, in a first color temperature interval, a backlight color temperature t1 corresponding to a color temperature value c1 is taken as a backlight color temperature corresponding to the first color temperature interval, and when the color temperature value is in the first color temperature interval, the backlight color temperature of the mobile terminal is fixed at b 1; and in the second color temperature interval, the backlight color temperature t2 corresponding to the color temperature value c2 is used as the backlight color temperature corresponding to the second color temperature interval, and when the color temperature value is in the second color temperature interval, the backlight color temperature of the mobile terminal is fixed at t 2. For example, if the color temperature value is in the interval of 2000-3000K, the corresponding color temperature of the backlight is 2500K, and if the color temperature value is in the interval of 5000-6000 lux, the corresponding color temperature of the backlight is 5500K.
The scene parameter may include at least one of a light sensation value, a color temperature value, a foreground application of the mobile terminal, a network state of the mobile terminal, an electric quantity of the mobile terminal, a time interval, and a geographic location of the mobile terminal. The light sensing value can be obtained by a light sensor of the mobile terminal, and the color temperature value can be obtained by a color temperature sensor of the mobile terminal. Foreground application, which refers to an application program currently operated by a user; the network status may include whether to use the data network. Further, if a data network is used, the network status may also include whether a WiFi network or a mobile data network is used, the uplink and downlink rates of the network, the network delay, etc. Further, if the WiFi network is used, the network status may further include a Service Set Identifier (SSID) corresponding to the WiFi network. The power of the mobile terminal may include a percentage of a remaining battery power of the mobile terminal to a total battery power. The time interval includes a time interval in which a time point when the scene occurs is located. The granularity of the time interval can be in hours or minutes. For example, the granularity of the time interval may be 1 hour, 30 minutes, etc., and the examples of the present application are not limited thereto. For example, if the scene occurs at 18 o ' clock and 20 min, the time interval is 18 o ' clock to 19 o ' clock. The geographic location may include latitude and longitude information, and the geographic location of the mobile terminal may be obtained through a Global Positioning System (GPS) location of the mobile terminal.
Alternatively, the scene parameters to be considered may be different for different display parameters. For example, for the scene parameter being backlight brightness, the scene parameter to be considered may include a light sensation value, a foreground application of the mobile terminal, a network state of the mobile terminal, an electric quantity of the mobile terminal, a time interval, and a geographic location of the mobile terminal; for the scene parameter being the backlight color temperature, the scene parameter to be considered may include a color temperature value, a foreground application of the mobile terminal, a network state of the mobile terminal, an electric quantity of the mobile terminal, a time interval, and a geographic location of the mobile terminal.
And 102, the mobile terminal determines the target scene parameters with the highest similarity with the current scene parameters in the historical manual adjustment set and the corresponding target similarity.
In an embodiment of the present application, the historical manual adjustment set may include at least one historical adjustment record, and each historical adjustment record includes a historical scene parameter and a corresponding historical display parameter value. And the historical display parameter value is the value of the display parameter manually adjusted by the user in the historical scene corresponding to the historical scene parameter.
The mobile terminal can respectively calculate the similarity between each historical scene parameter in each historical adjustment record in the historical manual adjustment set and the current scene parameter, and obtain the target scene parameter with the highest similarity to the current scene parameter in the historical manual adjustment set and the corresponding target similarity. And the target similarity is the similarity between the current scene parameter and the target scene parameter.
Optionally, step 102 may specifically include the following steps:
(11) the mobile terminal calculates the similarity between each scene parameter in the historical manual adjustment set and the current scene parameter through a similarity algorithm;
(12) the mobile terminal determines the scene parameter with the highest similarity to the current scene parameter in the historical manual adjustment set as the target scene parameter, and determines the similarity between the current scene parameter and the target scene parameter as the target similarity.
In the embodiment of the application, the similarity calculation method may use a distance function to calculate, where the distance function may include one of an euclidean distance function, a cosine distance function, a hamming distance function, and a manhattan distance function.
Each scene parameter in the historical manual adjustment set can be converted into a vector, the current scene parameter can also be converted into a vector, and the similarity between each scene parameter in the historical manual adjustment set and the current scene parameter can be calculated by calculating the similarity between the two vectors. The dimensions (or number of bits) of the two vectors may be the same or different.
For example, for the display parameter being backlight brightness, the scene parameters include a light sensation value, a foreground application of the mobile terminal, a network status of the mobile terminal, a power level of the mobile terminal, a time interval, and a geographic location of the mobile terminal. If a historical scene parameter is specifically: the light sensation value is 1000lux, the foreground application of the mobile terminal is application A (a certain social application), the network state of the mobile terminal is a mobile data network, the residual electric quantity of the mobile terminal is 50%, the time interval is noon (11: 00-1: 00), and the geographic position of the mobile terminal is (longitude: +111.11, latitude: + 42.13); the current scene parameters are specifically: the light sensation value is 1200lux, the foreground application of the mobile terminal is application B (a certain game application), the network state of the mobile terminal is a WiFi data network, the residual capacity of the mobile terminal is 90%, the time interval is unitary (17: 00-19: 00), and the geographic position of the mobile terminal is (longitude: +111.11, latitude: + 42.13). The mobile terminal may convert a certain item of the scene parameter into a corresponding numerical value, for example, the light sensation value is 1000lux to 5, and the light sensation value is 1200lux to 6; application a converts to 3 and application B converts to 10; the mobile data network is converted into 0, and the WiFi data network is converted into 1; the residual capacity is converted into 5 when the residual capacity is 50 percent, and is converted into 9 when the residual capacity is 90 percent; converting the time interval into 7 at noon and 10 at unitary time; the geographical position (longitude: +111.11, latitude: +42.13) of the mobile terminal is converted into (8, 5), then the parameter vector corresponding to the historical scene parameter is (5, 3, 0, 5, 7, 8, 5), and the parameter vector corresponding to the current scene parameter is (6, 10, 1, 9, 10, 8, 5).
It should be noted that the above distance is only one possible example, and the embodiment of the present application may adjust the value corresponding to the vector converted by each item in the scene parameter according to the situation.
Optionally, the mobile terminal calculates the similarity between each scene parameter in the historical manual adjustment set and the current scene parameter through an euclidean distance calculation formula.
Specifically, the mobile terminal obtains a parameter vector corresponding to each scene parameter in the historical manual adjustment set, obtains a parameter vector corresponding to the current scene parameter, respectively calculates the Euclidean distance between the parameter vector corresponding to each scene parameter and the parameter vector corresponding to the current scene parameter according to an Euclidean distance calculation formula, and determines the similarity between each scene parameter in the historical manual adjustment set and the current scene parameter according to the calculated Euclidean distance.
For example, the parameter vector corresponding to the first historical scene parameter in the historical manual adjustment set is (x)1,y1) The parameter vector corresponding to the current scene parameter is (x)2,y2) Wherein the first historical scene parameter is one of all scene parameters in the historical manual adjustment set. The mobile terminal may calculate the euclidean distance between the parameter vector corresponding to the first historical scene parameter and the parameter vector corresponding to the current scene parameter according to the following euclidean distance calculation formula:
wherein d is the calculated euclidean distance. The larger the Euclidean distance is, the smaller the similarity between the first historical scene parameter and the current scene parameter is, and the smaller the Euclidean distance is, the larger the similarity between the first historical scene parameter and the current scene parameter is.
Optionally, the mobile terminal calculates the similarity between each scene parameter in the historical manual adjustment set and the current scene parameter through a cosine distance calculation formula.
Specifically, the mobile terminal obtains a parameter vector corresponding to each scene parameter in the historical manual adjustment set, obtains a parameter vector corresponding to the current scene parameter, respectively calculates the cosine distance between the parameter vector corresponding to each scene parameter and the parameter vector corresponding to the current scene parameter according to a cosine distance calculation formula, and determines the similarity between each scene parameter in the historical manual adjustment set and the current scene parameter according to the calculated cosine distance.
For example, the parameter vector corresponding to the second historical scene parameter in the historical manual adjustment set is (a)1,a2,a3,a4,a5) The parameter vector corresponding to the current scene parameter is (b)1,b2,b3,b4,b5) Wherein the second historical scene parameter is one of all scene parameters in the historical manual adjustment set. The mobile terminal may calculate the cosine distance between the parameter vector corresponding to the second historical scene parameter and the parameter vector corresponding to the current scene parameter according to the following cosine distance calculation formula:
and P is the cosine distance between the parameter vector corresponding to the second historical scene parameter and the parameter vector corresponding to the current scene parameter, namely the similarity between the second scene parameter and the current scene parameter. The value of P is between-1 and 1, and the larger the value of P is, the higher the similarity of the two is. When the value of P is 1, the similarity between the two is the highest, and when the value of P is-1, the similarity between the two is the lowest.
Optionally, the mobile terminal calculates the similarity between each scene parameter in the historical manual adjustment set and the current scene parameter through a hamming distance calculation formula.
Specifically, the mobile terminal obtains a parameter vector corresponding to each scene parameter in the historical manual adjustment set, obtains a parameter vector corresponding to the current scene parameter, respectively calculates a hamming distance between the parameter vector corresponding to each scene parameter and the parameter vector corresponding to the current scene parameter according to a hamming distance calculation formula, and determines the similarity between each scene parameter in the historical manual adjustment set and the current scene parameter according to the calculated hamming distance.
For example, the parameter vector corresponding to the third historical scene parameter in the historical manual adjustment set is (c)1,c2,c3,c4,c5,c6,c7,c8,c9,c10) The parameter vector corresponding to the current scene parameter is (d)1,d2,d3,d4,d5,d6,d7,d8,d9,d10) Wherein the third historical scene parameter is one of all scene parameters in the historical manual adjustment set. The parameter vector corresponding to the scene parameter of the third history is 10 bits, the parameter vector corresponding to the current scene parameter is 10 bits, and each bit of the parameter vector corresponding to the scene parameter of the third history is compared with each bit of the parameter vector corresponding to the current scene parameter to determine whether the bits are the same (i.e., c is compared respectively)1And d1Whether they are the same, c2And d2Whether they are the same, c3And d3Whether they are the same, c4And d4Whether they are the same, c5And d5Whether they are the same, c6And d6Whether they are the same, c7And d7Whether they are the same, c8And d8Whether they are the same, c9And d9Whether they are the same, c10And d10Whether the data are the same or not) is judged, if so, the Hamming distance corresponding to the bit is 0, if not, the Hamming distance corresponding to the bit is 1, the Hamming distances of all the bits are added to obtain the final Hamming distance between the parameter vector corresponding to the third history scene parameter and the parameter vector corresponding to the current scene parameter, and the final Hamming distance is 0-10. The larger the final Hamming distance is, the lower the similarity is; the smaller the final hamming distance, the higher its similarity.
Optionally, before performing step (12), the following steps may also be performed:
(21) the mobile terminal detects whether the number of historical adjustment records in the historical manual adjustment set is greater than or equal to a second threshold value;
(22) and if the number of the historical adjustment records in the historical manual adjustment set is larger than or equal to the second threshold value, the mobile terminal executes the step (12).
(23) And if the number of the historical adjustment records in the historical manual adjustment set is smaller than a second threshold value, the mobile terminal adjusts the display parameters of the mobile terminal according to the automatic display parameter curve.
In the embodiment of the present application, the second preset threshold may be preset and stored in a memory (e.g., a non-volatile memory) of the mobile terminal. For example, the second preset threshold may be set equal to 20. The size of the second preset threshold can be determined according to actual conditions, generally speaking, the larger the second preset threshold is set, the more the subsequently generated new display parameter curve conforms to the manual regulation habit of the user, and the reliability is higher. The set time is too large, so that the repeated manual adjustment times of the user can be increased, and the user experience is influenced. If the setting is too small, the reliability of the subsequently generated new display parameter curve is relatively low.
According to the method and the device, the scene parameter with the highest similarity to the current scene parameter is determined as the target scene parameter from the historical manual adjustment set only when the number of the historical adjustment records in the historical manual adjustment set is larger than or equal to the second threshold, and the similarity between the current scene parameter and the target scene parameter is determined as the target similarity. Therefore, the follow-up generated new display parameter curve is more in line with the manual adjustment habit of the user, the reliability is higher, the repeated adjustment of the display parameters by the user is avoided, and the use experience of the user is improved.
103, if the target similarity is greater than or equal to the first threshold, the mobile terminal obtains a target display parameter value corresponding to the target scene parameter, and generates a new display parameter curve according to the target scene parameter, the target display parameter value and the automatic display parameter curve, wherein the automatic display parameter curve is a display parameter curve corresponding to the display parameter automatic adjustment mode.
In the embodiment of the application, the target similarity is greater than or equal to the first threshold, which indicates that the current scene parameter is closer to the target scene parameter, and the mobile terminal may generate a new display parameter curve according to the target scene parameter, the target display parameter value, and the automatic display parameter curve.
The first threshold may be preset and stored in a memory (e.g., a non-volatile memory) of the mobile terminal.
The mobile terminal may re-fit the automatic display parameter curve according to the target scene parameters, the target display parameter values, so that the generated new display parameter curve passes through the data points corresponding to the target scene parameters, and the new display parameter curve is smooth, i.e., the new display parameter curve is conductive everywhere. The abscissa of the data point corresponding to the target scene parameter includes a light sensation value or a color temperature value in the target scene parameter, and the ordinate of the data point corresponding to the target scene parameter includes a target display parameter value.
The following description will take the display parameter as the backlight brightness, and the scene parameter includes the light sensation value, the foreground application of the mobile terminal, the network state of the mobile terminal, the power of the mobile terminal, the time interval, and the geographic location of the mobile terminal as examples.
Referring to fig. 3, fig. 3 is a schematic diagram of generating a new backlight luminance curve according to an embodiment of the present disclosure. As shown in fig. 3, the top left diagram is an automatic backlight luminance graph, and the bottom left, top right, and bottom right diagrams are new backlight luminance graphs generated based on three different history adjustment records, respectively. In the figure, the abscissa is the light sensation value, the ordinate is the backlight brightness, the curve with thinner lines is the automatic backlight brightness curve, and the curve with thicker lines is the new backlight brightness curve. Black points in the automatic backlight brightness curve chart and the new backlight brightness curve chart are historical adjustment records, each black point represents one historical adjustment record, the abscissa of each black point represents the light sensation value corresponding to the time point of the historical adjustment record, and the ordinate of each black point represents the backlight brightness adjusted by the user and recorded in the historical adjustment record. P1, P2 and P3 in FIG. 3 represent three history adjustment records, respectively. The upper right-hand graph represents the new backlight luminance profile generated based on P1, the lower left-hand graph represents the new backlight luminance profile generated based on P2, and the lower right-hand graph represents the new backlight luminance profile generated based on P3.
It should be noted that, in the diagram at the upper left corner of fig. 3, only three black dots are exemplarily drawn to illustrate the historical adjustment records, and the number of the historical adjustment records theoretically only needs to be 1, may also be more than 3, may also be more than 20, and the like, and the embodiment of the present application is not limited.
Wherein, after step 103 is executed, the mobile terminal may adjust the display parameter of the mobile terminal according to the new display parameter curve.
And adjusting the display parameters of the mobile terminal according to the new display parameter curve, similarly to adjusting the display parameters of the mobile terminal according to the automatic display parameter curve, the display parameters are still adjusted according to different parameter intervals (such as a light sensation interval or a color temperature interval), and uniform display parameters are set in each parameter interval. Specifically, the adjustment principle of the backlight brightness adjustment shown in fig. 2a and the color temperature adjustment shown in fig. 2b can be referred to, and details are not repeated here.
And 104, if the target similarity is smaller than the first threshold, the mobile terminal adjusts the display parameters of the mobile terminal according to the automatic display parameter curve.
And if the target similarity is smaller than the first threshold, the scene parameters which are similar to the current scene parameters do not exist in the historical manual adjustment set, the mobile terminal does not refer to the historical adjustment record, and the display parameters of the mobile terminal are directly adjusted by adopting the automatic display parameter curve.
The mobile terminal adjusts the display parameters of the mobile terminal according to the automatic display parameter curve, which may specifically refer to the backlight brightness adjustment of fig. 2a and the color temperature adjustment of fig. 2b, and details are not repeated here.
According to the display parameter curve generation method and device, the new display parameter curve can be generated according to the historical manual adjustment records of the user, the new display parameter curve combines the parameters of manual adjustment of the historical scene closest to the current scene on the basis of automatically displaying the parameter curve, the new display parameter curve is enabled to better meet the display parameter adjustment requirements of the current scene of the user, the situation of repeated manual adjustment is avoided, the adjustment effect of the display parameters is improved, and further the user experience is improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating another method for generating a display parameter curve according to an embodiment of the disclosure, and as shown in fig. 4, the method for generating a display parameter curve includes the following steps.
401, the mobile terminal detects a manual adjustment operation for the display parameters while the mobile terminal is in the display parameter automatic adjustment mode.
The mobile terminal detects a manual adjustment operation for the display parameter, and specifically includes: the mobile terminal detects a drag operation for a slider in the display parameter progress bar.
Wherein, the display parameter progress bar may comprise a backlight brightness progress bar or a backlight color temperature progress bar.
For example, for the backlight brightness progress bar, the user may adjust the slider in the backlight brightness progress bar from a first position to a second position, where the backlight brightness value corresponding to the first position is the backlight brightness value determined according to the automatic backlight brightness curve, and the backlight brightness value corresponding to the second position is the backlight brightness value adjusted by the user through the manual adjustment operation.
And 402, the mobile terminal acquires the display parameter value adjusted by the manual adjustment operation and acquires the scene parameter corresponding to the manual adjustment operation.
The manual adjusting operation may include an operation of manually adjusting the brightness of the backlight or an operation of manually adjusting the color temperature of the backlight. The display parameter value of the operation of manually adjusting the backlight brightness is the backlight brightness value adjusted by the manual adjusting operation of the user, and the display parameter value of the operation of manually adjusting the backlight color temperature is the backlight color temperature value adjusted by the manual adjusting operation of the user.
The specific process of obtaining the scene parameters may refer to the embodiment shown in fig. 1, and is not described herein again.
And 403, recording the display parameter value and the scene parameter as a historical adjustment record in the historical manual adjustment set by the mobile terminal.
In an embodiment of the present application, the historical manual adjustment set may include at least one historical adjustment record, and each historical adjustment record includes a historical scene parameter and a corresponding historical display parameter value.
Optionally, before performing step 403, the following steps may also be performed:
(31) the mobile terminal calculates a corresponding automatic display parameter value according to the automatic display parameter curve;
(32) the mobile terminal calculates whether the difference value between the display parameter value adjusted by the manual adjustment operation and the automatic display parameter value is smaller than or equal to the target difference value corresponding to the scene parameter corresponding to the manual adjustment operation;
(33) if the difference between the display parameter value adjusted by the manual adjustment operation and the automatic display parameter value is less than or equal to the target difference, the mobile terminal performs step 403.
(34) If the display parameter value adjusted by the manual adjustment operation and the automatic display parameter value are larger than the target difference value, the mobile terminal does not record the display parameter value and the scene parameter as a historical adjustment record in a historical manual adjustment set.
In the embodiment of the present application, the mobile terminal calculates the corresponding automatic display parameter value according to the automatic display parameter curve, including: if the display parameter is backlight brightness, the mobile terminal calculates an automatic backlight brightness value corresponding to a light sensation value in the scene parameter corresponding to the manual adjustment operation according to the automatic backlight brightness curve; and if the display parameter is the backlight color temperature, the mobile terminal calculates an automatic backlight color temperature value corresponding to the color temperature value in the scene parameter corresponding to the manual adjustment operation according to the automatic backlight color temperature curve.
After each manual adjustment operation, the mobile terminal may calculate whether a difference between the display parameter value adjusted by the manual adjustment operation and the automatic display parameter value is less than or equal to a target difference corresponding to the scene parameter corresponding to the manual adjustment operation. In some cases, if the difference between the manually adjusted value of the user and the automatically displayed parameter value calculated by the automatically displayed parameter curve is large, the manually adjusted value of the display parameter and the scene parameter are determined to be invalid and are not recorded in the historical manually adjusted set. The situation that the generated new display parameter curve does not accord with the use habit of the user due to manual error adjustment or malicious manual adjustment of the user is avoided.
The maximum difference value between the value allowed to be manually adjusted by the user and the value of the automatic display parameter calculated by the automatic display parameter curve can be the same or different when the mobile terminal is in different scenes. For example, in an outdoor scene, a larger difference may be allowed, and in a nighttime scene, a smaller difference may be allowed. The scene in which the mobile terminal is located may be determined according to scene generation. The difference values corresponding to different scene parameters may be pre-stored in a memory (e.g., a non-volatile memory) of the mobile terminal.
404, when the mobile terminal is in the automatic display parameter adjustment mode, the mobile terminal obtains the current scene parameters.
And 405, the mobile terminal determines the target scene parameters with the highest similarity with the current scene parameters in the historical manual adjustment set and the corresponding target similarity.
And 406, if the target similarity is greater than or equal to the first threshold, the mobile terminal obtains a target display parameter value corresponding to the target scene parameter, and generates a new display parameter curve according to the target scene parameter, the target display parameter value and the automatic display parameter curve, wherein the automatic display parameter curve is a display parameter curve corresponding to the display parameter automatic adjustment mode.
And 407, if the target similarity is smaller than the first threshold, the mobile terminal adjusts the display parameters of the mobile terminal according to the automatic display parameter curve.
According to the method and the device, the new display parameter curve can be generated according to the historical manual adjustment records of the user, and as the historical manual adjustment records are selected from the historical real adjustment records of the user, some conjectured or fused unreal manual adjustment records cannot appear, so that the historical adjustment habits of the user are better met. The new display parameter curve combines the parameters of manual adjustment of the historical scene closest to the current scene on the basis of automatically displaying the parameter curve, so that the new display parameter curve better meets the adjustment requirement of the display parameters of the current scene of the user, the situation of repeated manual adjustment is avoided, the adjustment effect of the display parameters is improved, and the user experience is further improved.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the mobile terminal includes hardware structures and/or software modules for performing the respective functions in order to implement the above-described functions. Those of skill in the art will readily appreciate that the present invention can be implemented in hardware or a combination of hardware and computer software, with the exemplary elements and algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiment of the present application, the mobile terminal may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an apparatus for generating a display parameter curve according to an embodiment of the present disclosure. As shown in fig. 5, the apparatus 500 for generating a display parameter curve includes a first obtaining unit 501, a determining unit 502, a second obtaining unit 503, and a generating unit 504, wherein:
a first obtaining unit 501, configured to obtain a current scene parameter when the mobile terminal is in an automatic display parameter adjustment mode;
a determining unit 502, configured to determine a target scene parameter with the highest similarity to the current scene parameter in a historical manual adjustment set and a corresponding target similarity;
a second obtaining unit 503, configured to obtain a target display parameter value corresponding to the target scene parameter when the target similarity is greater than or equal to a first threshold;
a generating unit 504, configured to generate a new display parameter curve according to the target scene parameter, the target display parameter value, and an automatic display parameter curve, where the automatic display parameter curve is a corresponding display parameter curve in the display parameter automatic adjustment mode.
Optionally, the apparatus 500 for generating a display parameter curve may further include a display parameter adjusting unit 510;
the display parameter adjusting unit 510 is configured to adjust the display parameter of the mobile terminal according to an automatic display parameter curve when the target similarity is smaller than a first threshold.
The display parameter adjusting unit 510 is configured to, after the generating unit 504 generates a new display parameter curve according to the target scene parameter, the target display parameter value, and the automatic display parameter curve, adjust the display parameter of the mobile terminal according to the automatic display parameter curve.
Optionally, the apparatus 500 for generating a display parameter curve may further include a first detecting unit 505, a third obtaining unit 506, and a recording unit 507;
the first detecting unit 505 is configured to detect a manual adjustment operation for the display parameter when the mobile terminal is in an automatic display parameter adjustment mode;
a third obtaining unit 506, configured to obtain a display parameter value adjusted by the manual adjustment operation, and obtain a scene parameter corresponding to the manual adjustment operation;
the recording unit 507 is configured to record the display parameter value and the scene parameter as a historical adjustment record in the historical manual adjustment set.
Optionally, the apparatus 500 for generating a display parameter curve may further include a calculating unit 508;
the calculating unit 508 is configured to calculate, according to the automatic display parameter curve, a corresponding automatic display parameter value before the recording unit 507 records the display parameter value and the scene parameter as a historical adjustment record in the historical manual adjustment set;
the calculating unit 508 is further configured to calculate whether a difference between the display parameter value adjusted by the manual adjustment operation and the automatic display parameter value is smaller than or equal to a target difference corresponding to the scene parameter corresponding to the manual adjustment operation;
the recording unit 507 is further configured to record the display parameter value and the scene parameter in the historical manual adjustment set when a difference between the display parameter value adjusted by the manual adjustment operation and the automatic display parameter value is less than or equal to the target difference.
Optionally, the display parameter includes a backlight brightness or a backlight color temperature.
Optionally, the scene parameter includes at least one of a light sensation value, a color temperature value, a foreground application of the mobile terminal, a network state of the mobile terminal, an electric quantity of the mobile terminal, a time interval, and a geographic location.
Optionally, the determining unit 502 determines the target scene parameter with the highest similarity to the current scene parameter in the historical manual adjustment set and the corresponding target similarity, specifically: calculating the similarity of each scene parameter in the historical manual adjustment set and the current scene parameter through a similarity algorithm; and determining the scene parameter with the highest similarity to the current scene parameter in the historical manual adjustment set as a target scene parameter, and determining the similarity between the current scene parameter and the target scene parameter as the target similarity.
Optionally, the apparatus 500 for generating a display parameter curve may further include a second detecting unit 509;
the second detecting unit 509, configured to detect whether the number of historical adjustment records in the historical manual adjustment set is greater than or equal to a second threshold before the determining unit 502 determines the target scene parameter with the highest similarity to the current scene parameter in the historical manual adjustment set and the corresponding target similarity;
the determining unit 502 is further configured to determine, when the number of historical adjustment records in the historical manual adjustment set is greater than or equal to the second threshold, a target scene parameter with the highest similarity to the current scene parameter in the historical manual adjustment set and a corresponding target similarity.
The first obtaining unit 501, the determining unit 502, the second obtaining unit 503, the generating unit 504, the first detecting unit 505, the third obtaining unit 506, the recording unit 507, the calculating unit 508, the second detecting unit 509, and the display parameter adjusting unit 510 in the embodiment of the present application may be a processor of a mobile terminal.
By implementing the device for generating the display parameter curve shown in fig. 5, a new display parameter curve can be generated according to the historical manual adjustment record of the user, and the new display parameter curve combines the parameters of the manual adjustment of the historical scene closest to the current scene on the basis of automatically displaying the parameter curve, so that the new display parameter curve better meets the adjustment requirement of the display parameters of the current scene of the user, the situation of repeated manual adjustment is avoided, the adjustment effect of the display parameters is improved, and the user experience is further improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a mobile terminal disclosed in the embodiment of the present application. As shown in fig. 6, the mobile terminal 600 includes a processor 601 and a memory 602, wherein the mobile terminal 600 may further include a bus 603, the processor 601 and the memory 602 may be connected to each other through the bus 603, and the bus 603 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 603 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus. The mobile terminal 600 may further include an input/output device 604, and the input/output device 604 may include a display screen, such as a liquid crystal display screen, an LED display screen, an OLED display screen, or the like. The memory 602 is used to store one or more programs containing instructions; processor 601 is configured to invoke instructions stored in memory 602 to perform some or all of the method steps described above in fig. 1-4.
By implementing the mobile terminal shown in fig. 6, a new display parameter curve can be generated according to the historical manual adjustment record of the user, and the new display parameter curve combines the parameters of manual adjustment of the historical scene closest to the current scene on the basis of automatically displaying the parameter curve, so that the new display parameter curve better meets the adjustment requirement of the display parameters of the current scene of the user, the situation of repeated manual adjustment is avoided, the adjustment effect of the display parameters is improved, and the user experience is further improved.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods for generating a display parameter curve as described in the above method embodiments.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any one of the methods of generating a display parameter curve as set forth in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and the like.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: a flash disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
The foregoing embodiments of the present invention have been described in detail, and the principles and embodiments of the present invention are explained herein by using specific examples, which are only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A method of generating a display parameter curve, comprising:
when the mobile terminal is in an automatic display parameter adjusting mode, acquiring current scene parameters, wherein the scene parameters comprise: at least one of a light sensing value, a color temperature value, foreground application of the mobile terminal, a network state of the mobile terminal, electric quantity of the mobile terminal, a time interval and a geographic position;
determining a target scene parameter with the highest similarity to the current scene parameter in a historical manual adjustment set and a corresponding target similarity;
if the target similarity is greater than or equal to a first threshold, acquiring a target display parameter value corresponding to the target scene parameter, and generating a new display parameter curve according to the target scene parameter, the target display parameter value and an automatic display parameter curve, wherein the automatic display parameter curve is a corresponding display parameter curve in the automatic display parameter adjustment mode; adjusting the display parameters of the mobile terminal according to the generated new display parameter curve;
if the target similarity is smaller than the first threshold, adjusting the display parameters of the mobile terminal according to the automatic display parameter curve;
generating a new display parameter curve according to the target scene parameter, the target display parameter value and the automatic display parameter curve, wherein the method comprises the following steps: and fitting the automatic display parameter curve again according to the target scene parameters and the target display parameter values so as to enable the generated new display parameter curve to pass through the data points corresponding to the target scene parameters.
2. The method of claim 1, prior to said obtaining current scene parameters, further comprising:
detecting a manual adjustment operation for the display parameter when the mobile terminal is in an automatic display parameter adjustment mode;
and acquiring a display parameter value adjusted by the manual adjustment operation, acquiring a scene parameter corresponding to the manual adjustment operation, and recording the display parameter value and the scene parameter as a historical adjustment record in the historical manual adjustment set.
3. The method of claim 2, wherein before recording said display parameter values and said scene parameters as a historical adjustment record in said historical manual adjustment set, said method further comprises:
calculating corresponding automatic display parameter values according to the automatic display parameter curves;
calculating whether the difference value between the display parameter value adjusted by the manual adjustment operation and the automatic display parameter value is smaller than or equal to a target difference value corresponding to the scene parameter corresponding to the manual adjustment operation;
and if the difference value between the display parameter value adjusted by the manual adjustment operation and the automatic display parameter value is smaller than or equal to the target difference value, executing the step of recording the display parameter value and the scene parameter in the historical manual adjustment set.
4. The method of claim 2, wherein the display parameter comprises a backlight brightness or a backlight color temperature.
5. The method of claim 3, wherein the display parameter comprises a backlight brightness or a backlight color temperature.
6. The method according to any one of claims 2 to 5, wherein the determining the target scene parameter with the highest similarity to the current scene parameter and the corresponding target similarity in the historical manual adjustment set comprises:
calculating the similarity of each scene parameter in the historical manual adjustment set and the current scene parameter through a similarity algorithm;
and determining the scene parameter with the highest similarity to the current scene parameter in the historical manual adjustment set as a target scene parameter, and determining the similarity between the current scene parameter and the target scene parameter as the target similarity.
7. The method of claim 6, wherein prior to determining the target scene parameter with the highest similarity to the current scene parameter and the corresponding target similarity in the set of historical manual adjustments, the method further comprises:
detecting whether the number of historical adjustment records in the historical manual adjustment set is greater than or equal to a second threshold;
and if the number of the historical adjustment records in the historical manual adjustment set is greater than or equal to the second threshold, executing the step of determining the target scene parameter with the highest similarity to the current scene parameter in the historical manual adjustment set and the corresponding target similarity.
8. An apparatus for generating a display parameter curve, comprising:
a first obtaining unit, configured to obtain a current scene parameter when the mobile terminal is in an automatic display parameter adjustment mode, where the scene parameter includes: at least one of a light sensing value, a color temperature value, foreground application of the mobile terminal, a network state of the mobile terminal, electric quantity of the mobile terminal, a time interval and a geographic position;
the determining unit is used for determining the target scene parameters with the highest similarity to the current scene parameters in the historical manual adjustment set and the corresponding target similarity;
the second acquisition unit is used for acquiring a target display parameter value corresponding to the target scene parameter under the condition that the target similarity is greater than or equal to a first threshold value;
the generating unit is used for generating a new display parameter curve according to the target scene parameter, the target display parameter value and an automatic display parameter curve, wherein the automatic display parameter curve is a corresponding display parameter curve in the automatic display parameter adjusting mode; adjusting the display parameters of the mobile terminal according to the generated new display parameter curve;
the device is also used for adjusting the display parameters of the mobile terminal according to the automatic display parameter curve if the target similarity is smaller than a first threshold;
generating a new display parameter curve according to the target scene parameter, the target display parameter value and the automatic display parameter curve, wherein the method comprises the following steps: and fitting the automatic display parameter curve again according to the target scene parameters and the target display parameter values so as to enable the generated new display parameter curve to pass through the data points corresponding to the target scene parameters.
9. A mobile terminal comprising a processor and a memory, the memory for storing a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to carry out the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911252865.6A CN110971761B (en) | 2019-12-09 | 2019-12-09 | Method and device for generating display parameter curve, mobile terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911252865.6A CN110971761B (en) | 2019-12-09 | 2019-12-09 | Method and device for generating display parameter curve, mobile terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110971761A CN110971761A (en) | 2020-04-07 |
CN110971761B true CN110971761B (en) | 2021-04-06 |
Family
ID=70033511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911252865.6A Active CN110971761B (en) | 2019-12-09 | 2019-12-09 | Method and device for generating display parameter curve, mobile terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110971761B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111694331B (en) * | 2020-05-11 | 2021-11-02 | 杭州睿疆科技有限公司 | System, method and computer equipment for adjusting production process parameters |
CN112040160B (en) * | 2020-08-26 | 2023-03-24 | 深圳创维-Rgb电子有限公司 | Display parameter setting method and device, multimedia equipment and storage medium |
CN112631415B (en) * | 2020-12-31 | 2022-09-02 | Oppo(重庆)智能科技有限公司 | CPU frequency adjusting method, device, electronic equipment and storage medium |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10198328A (en) * | 1997-01-13 | 1998-07-31 | Nec Home Electron Ltd | Automatic brightness adjusting system of display device |
CN101789230B (en) * | 2009-01-24 | 2013-09-04 | 联想(北京)有限公司 | Electronic equipment and display device screen brightness adjusting method thereof |
CN102968979B (en) * | 2012-11-12 | 2015-06-17 | 广东欧珀移动通信有限公司 | Screen brightness scheduling method based on curve fitting |
CN105261346B (en) * | 2015-10-12 | 2018-07-31 | 小米科技有限责任公司 | Method of adjustment, device and the terminal device of backlight illumination |
CN106250012A (en) * | 2016-07-20 | 2016-12-21 | 广东欧珀移动通信有限公司 | Screen intensity and color temperature adjusting method, device and terminal unit |
CN106898329B (en) * | 2017-03-27 | 2019-07-19 | 努比亚技术有限公司 | A kind of method, device and mobile terminal handling brightness of display screen |
CN107016952A (en) * | 2017-04-19 | 2017-08-04 | 深圳市金立通信设备有限公司 | A kind of screen luminance adjustment method and terminal |
JP6887875B2 (en) * | 2017-05-22 | 2021-06-16 | オリンパス株式会社 | Microscope system, control method, and program |
CN107134273B (en) * | 2017-07-17 | 2020-02-21 | 联想(北京)有限公司 | Brightness compensation method and device and terminal |
CN108550353B (en) * | 2018-04-20 | 2020-03-24 | Oppo广东移动通信有限公司 | Brightness adjusting method and related product |
CN108401078B (en) * | 2018-06-01 | 2021-03-12 | Oppo(重庆)智能科技有限公司 | Backlight brightness adjusting method and device, mobile terminal and readable storage medium |
CN108877733B (en) * | 2018-06-04 | 2020-04-21 | Oppo广东移动通信有限公司 | Color temperature adjusting method and related device |
-
2019
- 2019-12-09 CN CN201911252865.6A patent/CN110971761B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110971761A (en) | 2020-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110971761B (en) | Method and device for generating display parameter curve, mobile terminal and storage medium | |
US10726585B2 (en) | Method and electronic device for converting color of image | |
EP3465672B1 (en) | Electronic device and method for diplaying image | |
CN108604432B (en) | Electronic device and method for controlling the same | |
US10510305B2 (en) | Backlight compensation for a computing device with two or more display devices | |
KR20190139062A (en) | Electronic device for providing customized quality image and method for controlling thereof | |
US20160127653A1 (en) | Electronic Device and Method for Providing Filter in Electronic Device | |
CN110970001B (en) | Screen brightness adjusting method and device, electronic equipment and computer storage medium | |
CN106230038A (en) | A kind of charging method and terminal | |
CN106210330B (en) | A kind of image processing method and terminal | |
US9792878B2 (en) | Method for content adaptation based on ambient environment of electronic device and electronic device thereof | |
CN107763808B (en) | Device adjustment method and related product | |
CN104412319B (en) | Brightness control method and equipment | |
CN111092748B (en) | Alarm rule setting method, device, equipment and storage medium for Internet of things equipment | |
CN111052035A (en) | Electronic device and operation control method thereof | |
US10033202B2 (en) | Method and apparatus for controlling battery charging of device | |
US9482606B2 (en) | Method for processing data and electronic device thereof | |
CN110246110A (en) | Image evaluation method, device and storage medium | |
US10319341B2 (en) | Electronic device and method for displaying content thereof | |
CN113177886B (en) | Image processing method, device, computer equipment and readable storage medium | |
CN112506338B (en) | Full-vision-based equipment control method, device and equipment | |
CN107622473B (en) | Image rendering method, device, terminal and computer readable storage medium | |
US9576336B2 (en) | Display method and display device | |
CN107688382A (en) | The method and apparatus for controlling the display of terminal | |
CN113342229A (en) | Method and device for adjusting font size, terminal equipment and computer readable 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 |