Patent Description:
According to the development of wireless communication technologies and processor technologies, a portable electronic device (hereinafter, referred to as an electronic device), of which a smartphone is a representative, may have various functions beyond a call function. For example, the electronic device may execute various applications and provide application screens through a display of the electronic device.

The electronic device may display image data on the display to execute a function that a user desires. The user can use the electronic device in various environments, and thus the electronic device may have an automatic brightness control function in order to provide an optimized display use environment in various environments. For example, in order to increase a user's vision, a brightness level of the display may increase or decrease according to ambient illuminance.

<CIT> relates to a portable device and a screen brightness control method thereof. The portable device and related method can maintain the current screen brightness in overall consideration of a detected ambient illuminance, a touch of an input unit, and a user's direct touch. The portable device detects an ambient illuminance. If the detected ambient illuminance is less than a threshold value, the portable device calculates a first distance between an illuminance sensor and a touch of an input unit detected from a touch screen, and also calculates a second distance between the illuminance sensor and a user's direct touch detected from the touch screen. If the first distance is equal to or greater than the second distance, the portable device controls the touch screen to maintain the current screen brightness thereof.

<CIT> relates to an operation method of an electronic device.

The operation method includes detecting a movement speed of contents being scrolled, if the detected movement speed is determined as being equal to or greater than a set speed, changing a brightness of a screen having been displayed at a first brightness, into a second brightness, and changing the brightness of the screen from the second brightness to the first brightness according to a changing movement speed of the contents being scrolled.

<CIT> relates to a method of controlling a screen brightness in a user device. The method includes determining an illumination when a display unit is turned on, determining an optimal brightness according to the illumination and displaying according to the optimal brightness during an illumination change, determining an illumination when the current optimal brightness reaches a threshold, and determining an optimal brightness in the determined illumination and controlling a screen display according to the optimal brightness.

<CIT> relates to an electronic device that comprises a display; an image sensor disposed under the display; and a processor. The processor may be set to output content using the display set with a first specified attribute value, measure amount of light emitted from at least a part of the display using the image sensor, set the display with a second specified attribute value when the difference between amount of light in accordance with the first specified attribute value and the measured amount of light satisfies a specified condition, and display the content or other content using the display set with the second specified attribute value. Other embodiments of the present invention are possible.

<CIT> relates to a display device that performs image correction in accordance with external light environment. The display device includes a host device and an optical sensor. In addition, the display device includes a processing circuit. The host device has a function of performing arithmetic processing using a neural network on software and a function of performing supervised learning with the neural network. The processing circuit has a function of performing arithmetic processing using a neural network on hardware. The optical sensor has a function of obtaining illuminance of external light. The obtained illuminance of external light is inputted to the host device, and a luminance and color tone preferred by users are regarded as teacher data, whereby learning is performed on the neural network of the host device. A weight coefficient obtained through the learning is used as a weight coefficient of the neural network of the processing circuit. By inputting illuminance of external light to the processing circuit, set values of luminance and color tone selected by the users are calculated in the neural network of the processing circuit.

<CIT> relates to an electronic device that includes a housing including a front surface and a rear surface facing opposite the front surface; a display included in the housing and exposed through a portion of the front surface; an illuminance sensor disposed between the display and the rear surface to overlap an area of the display when viewed from above the front surface; a processor positioned inside the housing and operatively connected to the display; and a memory positioned inside the housing and operatively connected to the processor, wherein the memory stores instructions configured to, when executed, enable the processor to receive first illuminance data measured using the illuminance sensor, identify display parameter information associated with the first illuminance data, obtain second illuminance data based on at least a part of the display parameter information and the first illuminance data, and adjust the level of brightness of the display based on at least a part of the second illuminance data.

An electronic device having a function of automatically controlling brightness of a display may identify a brightness value mapped to external illuminance according to initially input brightness data and determine brightness of the display according to the identified brightness value. Further, the electronic device may learn brightness of the display according to a use pattern of the user rather than simply controlling the brightness according to the initially input value.

However, the conventional electronic device cannot rapidly learn brightness which the user desires and cannot immediately apply the learned value, so that brightness of the display optimized for the use pattern of the user cannot be provided in real time.

Certain embodiments of the disclosure may provide an efficient learning method when the electronic device is configured to learn the brightness desired by the user as described above. Such an efficient learning method may save time or battery life.

According to various embodiments, it is possible to provide an electronic device capable of learning display brightness in consideration of a time in which a user maintains specific brightness and a method of controlling brightness by an electronic device.

According to certain embodiments, a high weighted value may be assigned when the user maintains specific brightness for a long time and a low weighted value may be assigned when the user temporarily changes brightness and maintains the brightness for a short time. Thus, the brightness change by the user may be reflected by the calculated weighted value and learning of the use pattern of the user by the electronic device can be made more efficient.

Other effects which can be obtained or predicted by various embodiments of the disclosure are explicitly or implicitly disclosed in the detailed description of the embodiments of the disclosure. For example, various effects predicted according to various embodiments of the disclosure will be disclosed within the detailed description made below.

Referring to <FIG>, the electronic device <NUM> in the network environment <NUM> may communicate with an electronic device <NUM> via a first network <NUM> (e.g., a short-range wireless communication network), or at least one of an electronic device <NUM> or a server <NUM> via a second network <NUM> (e.g., a long-range wireless communication network). According to an embodiment, the electronic device <NUM> may include a processor <NUM>, memory <NUM>, an input module <NUM>, a sound output module <NUM>, a display module <NUM>, an audio module <NUM>, a sensor module <NUM>, an interface <NUM>, a connecting terminal <NUM>, a haptic module <NUM>, a camera module <NUM>, a power management module <NUM>, a battery <NUM>, a communication module <NUM>, a subscriber identification module (SIM) <NUM>, or an antenna module <NUM>. In some embodiments, at least one of the components (e.g., the connecting terminal <NUM>) may be omitted from the electronic device <NUM>, or one or more other components may be added in the electronic device <NUM>. In some embodiments, some of the components (e.g., the sensor module <NUM>, the camera module <NUM>, or the antenna module <NUM>) may be implemented as a single component (e.g., the display module <NUM>).

<FIG> is a block diagram of an electronic device according to various embodiments.

Referring to <FIG>, an electronic device <NUM> may include a display <NUM>, a touch sensor <NUM>, an illuminance sensor <NUM>, a processor <NUM>, and a memory <NUM>, and some of the illustrated elements may be omitted or replaced in various embodiments. The electronic device <NUM> may further include at least some of the elements and/or functions of the electronic device <NUM> of <FIG>. At least some of the elements of the electronic device <NUM> which are (or are not) illustrated may be operatively, functionally, and/or electrically connected to each other.

According to various embodiments, the display <NUM> may display various images according to the control of the processor <NUM>. The display <NUM> may be implemented as one of a Liquid Crystal Display (LCD), a Light-Emitting Diode (LED) display, or an Organic Light-Emitting Diode (OLED) display, but is not limited thereto. The display <NUM> may be configured as a touch screen that detects a touch using a user's body part (for example, finger) or an input device (for example, stylus pen) and/or a proximity touch (or hovering) input. The touch screen may include a touch sensor <NUM>. The display <NUM> may include at least some of the elements and/or functions of the display module <NUM> of <FIG>.

According to various embodiments, at least a portion of the display <NUM> may be flexible and may be implemented as a foldable display or a rollable display.

According to various embodiments, the touch sensor <NUM> may include at least some of the elements and/or functions of the sensor module <NUM> of <FIG>, and may receive a user input on the display <NUM>. The touch sensor <NUM> may be implemented as one of a capacitive touch sensor, a resistive touch sensor, a surface touch sensor, a projected captivated (PCAP) touch sensor), and a surface acoustic wave (SAW) touch sensor, but is not limited thereto. The touch screen of the display <NUM> of the electronic device <NUM> may include one or more touch sensors <NUM>.

According to various embodiments, the illuminance sensor <NUM> (for example, the sensor module <NUM> of <FIG>) may measure illuminance around the electronic device <NUM>. The illuminance sensor <NUM> may be disposed in one area in which the housing or the display <NUM> of the electronic device <NUM> is removed to allow external light to pass therethrough. The illuminance sensor <NUM> may be implemented as one of a photo sensor, a cadmium sulfide (CDS) sensor, an ultra violet (UV) sensor, and an ambient light sensor (AIS), but is not limited thereto.

According to various embodiments, the memory <NUM> may include a volatile memory (for example, the volatile memory <NUM> of <FIG>) and a non-volatile memory (for example, the non-volatile memory <NUM> of <FIG>) and may temporarily or permanently store various pieces of data. The memory <NUM> may include at least some of the elements and/or functions of the memory <NUM> of <FIG> and may store the program <NUM> of <FIG>.

According to the invention, the memory <NUM> stores various instructions that can be executed by the processor <NUM>. The instructions may include control commands such as the arithmetic and logic operation, data movement, input/output, and the like that can be recognized by the processor <NUM>.

The memory <NUM> stores brightness data in which an illuminance value and a display brightness value are mapped. Changed brightness data is stored in the memory <NUM> through learning of default brightness data generated when the electronic device <NUM> is manufactured and/or a brightness change event of the user.

According to various embodiments, the processor <NUM> may be operatively, functionally, and/or electrically connected to each element of the electronic device <NUM>, such as the display <NUM>, the touch sensor <NUM>, the illuminance sensor <NUM>, the memory <NUM>, or the like, and may be an element configured to perform calculations or data processing related to the control and/or communication of each element. The processor <NUM> may include at some of the elements and/or functions of the processor <NUM> of <FIG>.

According to various embodiments, there is no limitation in the calculation and data processing function which the processor <NUM> can perform in the electronic device <NUM>, but various embodiments in which the electronic device <NUM> learns user change brightness are described hereinafter. Operations of the processor <NUM> described below may be performed by loading instructions stored in the memory <NUM>.

According to the invention, the processor <NUM> selects an automatic brightness control mode or a manual brightness control mode on the basis of a user input. In the manual brightness control mode, the processor <NUM> determines brightness of the display <NUM> as the user configured without referring to brightness data stored in the memory <NUM>. In the automatic brightness control mode, the processor <NUM> determines brightness of the display <NUM> by using a user input and/or brightness data stored in the memory <NUM>. According to an embodiment, the processor <NUM> may provide a UI for selecting the brightness control mode to the display <NUM>.

According to various embodiments, the processor <NUM> may configure brightness of the display <NUM> with reference to illuminance information and brightness data received from the illuminance sensor <NUM> in the automatic brightness control mode. An illuminance value and a brightness value of the display <NUM> in the corresponding illuminance value may be mapped to the brightness data. The brightness data may be stored in the memory <NUM>. The brightness data may include graph data but there is no limitation in a data type. For example, an axis of the brightness data (for example, a row in a table or an x axis of a graph) may indicate ambient illuminance of the electronic device <NUM>, and another axis (for example, a column in a table or a y axis of a graph) may indicate screen brightness of the display <NUM>. The processor <NUM> may identify a current ambient illuminance value of the electronic device <NUM> through the illuminance sensor <NUM>, discover a brightness value corresponding to the corresponding illuminance value in the brightness data stored in the memory <NUM>, and configure screen brightness by using the corresponding brightness value. For example, when the ambient illuminance of the electronic device <NUM> is a first illuminance, the processor <NUM> may control brightness of the display <NUM> to a first brightness value mapped to a first illuminance value in the brightness data. Thereafter, when the ambient illuminance of the electronic device <NUM> is changed to second illuminance, the processor <NUM> may control brightness of the display <NUM> to a second brightness value mapped to a second illuminance value in the brightness data.

According to various embodiments, when a brightness change event is generated on the basis of a user input, the processor <NUM> may change brightness of the display <NUM>. According to an embodiment, the processor <NUM> may provide a brightness control UI (user interface) for allowing the user to control brightness of the screen of the display <NUM> through the display <NUM>. The brightness control UI may be configured in a bar form, and may change brightness of the display <NUM> from minimum brightness to maximum brightness on the basis of a user input. For example, the user may change brightness of the screen to be bright or dark by touching the brightness control UI and then dragging up and down.

When a brightness change event is generated by the user, the processor <NUM> generates event information by mapping current illuminance and brightness of the screen changed according to the user input. For example, in the brightness data, the value mapped to the first illuminance value is a first brightness value, and a first event of making a change to a second brightness value by the user through the brightness control UI may be generated. In this case, the processor <NUM> may generate first event information by mapping the first illuminance value and the second brightness value.

According to an embodiment, the processor <NUM> may generate event information by further mapping information on a time at which the brightness change event is generated by the user to the current illuminance and the brightness of the screen changed according to the user input. The time information may include information on a time at which the user changes the brightness and/or an accumulated time during which the changed brightness is used. For example, when the first event is generated at <NUM> p. and a second event is generated at <NUM> p. , the first event information may further include a time before the second event is generated, for example, time information indicating that the electronic device used in the second brightness for one hour. The processor <NUM> may store the generated event information in the memory <NUM>. The brightness change event may be accumulated before a brightness data reconfiguration is generated and stored in the memory <NUM>.

According to various embodiments, the processor <NUM> may generate event information in sections in which illuminance is divided. For example, the processor <NUM> may measure a brightness use time of the user in units of <NUM> lx. In this case, the processor <NUM> may calculate illuminance of <NUM> lx to <NUM> lx as one section by the user. The length of each illuminance section may be configured to be long or short according to the user. As the length of the illuminance section is shorter, the electronic device is more sensitive to an illuminance change, and thus it is possible to more accurately reflect brightness settings by the user.

According to various embodiments, the processor <NUM> may generate temporary brightness data obtained by reconfiguring the brightness data stored in the memory <NUM> on the basis of the acquired event information. The temporary brightness data may be brightness data configured when the brightness change event is generated (for example, brightness data changed through learning) in which a brightness value mapped to at least some of the entire illuminance sections is changed.

According to an embodiment, the processor <NUM> may immediately reflect the brightness change event in the brightness data to generate the temporary brightness data. For example, when the first brightness value is mapped to the first illuminance value in the brightness data and the user generates a brightness change event for changing the brightness of the display <NUM> to the second brightness, the processor <NUM> may generate temporary brightness data in which the second brightness value is mapped to the first illuminance value.

According to various embodiments, the processor <NUM> may control brightness of the screen of the display <NUM> according to the generated temporary brightness data. For example, the processor <NUM> may configure brightness of the display <NUM> to be the brightness value mapped to the illuminance value in the temporary brightness data. When another brightness value is selected on the brightness control UI according to a user input on the basis of brightness data, the processor <NUM> may additionally modify temporary brightness data. The processor <NUM> may configure brightness of the display <NUM> to be the brightness value mapped to the current illuminance value with reference to the modified temporary brightness data.

According to various embodiments, when generating temporary brightness data, the processor <NUM> may also change the brightness value mapped to illuminance within a reference range in illuminance in which the brightness change event is generated. The reference range may vary depending on a level of the brightness change. For example, when the user configures a brightness value in <NUM> lx as <NUM> nits, a brightness value in <NUM> lx to <NUM> lx may also be changed within <NUM> nits to <NUM> nits. By also changing the brightness value mapped to illuminance within the reference range in illuminance in which the brightness change event is generated, a reversal phenomenon in which the illuminance decreases but the brightness increases may be prevented. According to another embodiment, the processor <NUM> may change a brightness value mapped to an illuminance value in the entire illuminance sections.

According to various embodiments, when a reset condition is satisfied, the processor <NUM> may reconfigure brightness data. The reset condition may include at least one of a condition in which the display <NUM> does not operate for a reset time or longer or a condition in which the display <NUM> operates in illuminance different from an illuminance value detected by the illuminance sensor <NUM> when the display operates last. The reset time may be configured by default or may vary depending on user settings, and the processor <NUM> may more rapidly learn the brightness change event as the reset time is shorter to reconfigure brightness data. When it is determined whether the display <NUM> operates in an illuminance environment different from an illuminance environment when the display operates last, brightness data may not be reconfigured within the same illuminance section in spite of different illuminance values. The processor <NUM> may store event information on the brightness change event in the memory <NUM> before the reset condition is satisfied, and may reconfigure the brightness data with reference to the accumulated event information when the reset condition is satisfied.

According to various embodiments, the processor <NUM> may reflect accumulated event information to reconfigure brightness data. The processor <NUM> may reconfigure brightness data in consideration of at least one of used brightness for each illuminance by the user, a use time, and a brightness tendency. The processor <NUM> may calculate a brightness weighted value by using accumulated event information in order to reconfigure brightness data. The brightness weighted value may include at least one of a time weighted value and a tendency weighted value. The time weighted value may be assigned as a specific (or specific section) brightness value is used longer in a specific illuminance environment. The tendency weighted value may be calculated in consideration of a time spent for changing brightness after the brightness data is reconfigured in the corresponding illuminance and difference between brightness changed by the user before the reconfiguration and brightness changed after the reconfiguration. Detailed calculation of the weighted value is described below with reference to <FIG>.

According to an embodiment, when there is no touch input of the user for a reference time period, the processor <NUM> may stop measuring the accumulated use time. Since the screen of the display <NUM> is not used for the time during which there is no touch input of the user, tendency of the use of brightness may be distorted if the time period during which the display <NUM> is off is used to calculate the tendency of use of the brightness. The reference time may be configured at a time point at which the electronic device <NUM> is manufactured and stored in the memory <NUM> or may vary depending on user settings.

According to various embodiments, the processor <NUM> may measure the accumulated use time when the display <NUM> operates and the automatic brightness mode is turned on. In the automatic brightness mode, the processor <NUM> may automatically control brightness of the display <NUM> according to brightness data even though the user does not configure brightness of the display <NUM>. In the manual brightness mode, the processor <NUM> may configure brightness of the display <NUM> on the basis of a user input rather than the brightness data. For example, first brightness mapped to brightness data in a first illuminance environment is not configured as the brightness of the display <NUM> but second brightness configured by the user may be determined as the brightness of the display <NUM>, and the brightness configured by the user may be maintained regardless of a change in illuminance.

According to various embodiments, the processor <NUM> may balance-process the brightness data in order to prevent a reversal phenomenon in which a brightness value mapped to a high illuminance value becomes lower than a brightness value mapped to a low illuminance value when the brightness data is reconfigured. When the brightness data is reconfigured on the basis of a user input, the reversal phenomenon in which brightness increases when illuminance becomes lower than that in an illuminance section in which brightness is changed by the user or brightness decreases when illuminance increases occur. In order to prevent the reversal phenomenon, when reconfiguring the brightness data, the processor <NUM> may perform a process of performing balance processing in consideration of event information. The processor <NUM> may prevent the reversal phenomenon by configuring the brightness data through the balance-processing process to increase brightness according to the increase in illuminance. According to an embodiment, the processor <NUM> may balance-process the brightness data by changing a brightness value mapped to an illuminance section adjacent to the illuminance section in which brightness is changed by the user.

<FIG> illustrates a brightness data configuration system of an electronic device according to various embodiments.

Referring to <FIG>, an electronic device <NUM> may include a data module <NUM>, a timer <NUM>, a time statistics module <NUM>, a tendency (continuity) statistics module <NUM>, a brightness configuration module <NUM>, a reset module <NUM>, and a brightness data reconfiguration module <NUM>. The elements may be organizationally connected to each other to operate, and various elements as well as the illustrated elements may be added. The illustrated components (or modules) are software modules and may be operated by a processor (for example, the processor <NUM> of <FIG>) of the electronic device <NUM>.

According to various embodiments, the timer <NUM> may measure a time during which the user maintains specific brightness while the electronic device <NUM> is in an active state. The active state may be a state in which a display (for example, the display <NUM> of <FIG>) is operating and is configured to be in an automatic brightness mode. According to an embodiment, since a state in which a manual brightness mode is configured is not the active state, the use time may not be used. The processor may measure the use time after switching to the automatic brightness mode on the basis of a user input.

According to various embodiments, the timer <NUM> may receive information on the use of display screen brightness by the user from the data module <NUM>. The timer <NUM> may measure an accumulated use time for each brightness on the basis of the received information. For example, the timer <NUM> may receive information on a user touch input among information collected by the data module <NUM>. When the touch input is not received for a reference time or longer, it may be considered that the electronic device <NUM> is not being used and measurement of the use time may be suspended. Thereafter, when the touch input is received again, it may be considered that the user starts using the electronic device and measurement of the use time may be resumed.

According to various embodiments, the processor may collect at least some of illuminance information and display brightness attributes identified by an illuminance sensor (for example, the illuminance sensor <NUM> of <FIG>) and the accumulated use time measured by the timer <NUM> through the data module <NUM> and store the same in a memory (for example, the memory <NUM> of <FIG>). The display brightness attributes may include at least one of brightness tendency (continuity) for each illuminance section, a brightness use pattern in a night mode, a brightness use pattern for each application being executed in the foreground, a brightness use pattern for each color (color temperature), a brightness use pattern according to a battery level, and a frequency of user touch inputs when a specific application is being used. For example, when the user frequently uses an application including a white UI, the processor may detect how the user configures display screen brightness to use the white UI, generate a brightness use pattern for each color, and transmit information thereon to the data module <NUM>.

According to various embodiments, the processor may transmit information stored in the data module <NUM> to an element of the electronic device <NUM> including at least one of the timer <NUM>, the time statistics module <NUM>, and the tendency (continuity) statistics module <NUM>. The calculation performed by at least one element of the electronic device <NUM> may be performed on the basis of information stored in the data module <NUM>. For example, a time weighted value calculated by the time statistics module <NUM> may need a level of display brightness and information on a use time in a specific illuminance environment. The processor may collect relevant information and transfer required information to the time statistics module <NUM> via the data module <NUM>.

According to various embodiments, the time statistics module <NUM> may collect information on the accumulated use time for each illuminance and calculate the time weighted value. The time weighted value may be determined in proportion to a time during which the user actually uses the corresponding brightness. For example, as the user uses specific brightness longer, a higher weighted value may be assigned. For example, when the user uses <NUM> nits for <NUM> hour and <NUM> nits for <NUM> hours in first illuminance, a time weighted value of <NUM> nits may be calculated as <NUM> and a time weighted value of <NUM> nits may be calculated as <NUM>.

According to various embodiments, the time statistics module <NUM> may receive brightness change event information and information on a brightness use pattern of the user from the data module <NUM> and the timer <NUM>. The time statistics module <NUM> may receive information on the accumulated use time for each illuminance measured by the timer <NUM> and calculate a time weighted value on the basis thereof.

According to various embodiments, the continuity statistics module <NUM> may collect information on the brightness use pattern of the user and calculate a continuity weighted value. The continuity weighted value may be a value obtained by analyzing a brightness use pattern of the user in specific illuminance. For example, preference of the user to high brightness of the display screen in a low illuminance environment may be reflected in calculations of the continuity weighted value, and thus a high continuity weighted value may be assigned to maintenance of high screen brightness in the low illuminance environment.

According to various embodiments, the processor may calculate a brightness weighted value according to [Equation <NUM>] below.

According to various embodiments, the brightness weighted value may be calculated by adding the time weighted value (Tn) and the continuity weighted value (Cn). For example, when the use time is <NUM> hours and the event continuity value is <NUM>, the brightness weighted value may be calculated as <NUM>. The brightness weighted value may determine how much the corresponding brightness value is important to be reflected in reconfiguration of brightness data.

According to various embodiments, the processor may reconfigure brightness data according to [Equation <NUM>] above. B1, B2, etc. are the different brightnesses used for a particular illuminance and W1, W2, etc. are the corresponding brightness weighted values. Information on the brightness change event may be stored in a memory (for example, the memory <NUM> of <FIG>), and the processor may calculate the brightness weighted value using the information and reconfigure brightness data.

According to various embodiments, the time statistics module <NUM> and the continuity statistics module <NUM> may transmit the collected information on the accumulated use time for each illuminance, user brightness use pattern, and calculated brightness weighted value to the brightness configuration module <NUM>.

According to various embodiments, when the user changes brightness to a value other than values mapped to brightness data in specific illuminance, the processor may generate temporary brightness data in the brightness configuration module <NUM>. The brightness configuration module <NUM> may generate temporary brightness data on the basis of the event information and the brightness weighted value received from the time statistics module <NUM> and the continuity statistics module <NUM>. Before brightness data is reconfigured since a reset condition is satisfied, the processor may change display brightness according to the temporary brightness data generated by the brightness configuration module <NUM>. For example, the processor may receive information on the current illuminance value from an illuminance sensor (for example, the illuminance sensor <NUM> of <FIG>) and determine a brightness value mapped to the corresponding illuminance value in the temporary brightness data generated by the brightness configuration module <NUM> as display screen brightness. The brightness configuration module <NUM> may change the temporary brightness data whenever a user input is received. Since a plurality of user inputs may be received even before brightness data is reconfigured, the temporary brightness data may be continuously changed. According to an embodiment, when generating temporary brightness data, the brightness configuration module <NUM> may also change brightness mapped to an illuminance section adjacent to an illuminance section in which brightness is changed by a user input.

According to various embodiments, the reset module <NUM> may determine whether the reset condition is satisfied. The reset module <NUM> may receive at least one piece of information on illuminance around the electronic device <NUM> and information indicating whether the display operates from the data module <NUM>. When the reset condition is satisfied, the reset module <NUM> may determine that the reset condition is satisfied and the brightness data reconfiguration module <NUM> may support the reset of brightness data.

According to various embodiments, the brightness data reconfiguration module <NUM> may reconfigure brightness data in consideration of all event information when the brightness configuration module <NUM> reflects in the temporary brightness data, the time weighted value, and the continuity weighted value. According to an embodiment, when reconfiguring brightens data, the brightness data reconfiguration module <NUM> may also change brightness mapped to an illuminance section adjacent to an illuminance section in which brightness is changed by a user input. When the reset module <NUM> determines that the reset condition is satisfied, the brightness data reconfiguration module <NUM> may reconfigure the brightness data. When reconfiguring the brightness data, the brightness data reconfiguration module <NUM> may initialize the temporary brightness data.

According to various embodiments, the brightness data reconfiguration module <NUM> may process balancing while reconfiguring the brightness data. When brightness is changed only in an illuminance section in which the brightness change event is generated, a reversal phenomenon may occur, and thus the brightness data reconfiguration module <NUM> may process balancing in order to prevent the reversal phenomenon. For example, a brightness value mapped to an illuminance section adjacent to the illuminance section in which the brightness change event is generated.

<FIG> illustrates a weighted value scenario based on an accumulated use time of an electronic device according to various embodiments.

<FIG> illustrates brightness in a graph form by way of example for convenience of description according to an embodiment, but the brightness data is not limited thereto. For example, brightness data may include table data, and visualized table data may have the form illustrated in <FIG>.

Referring to <FIG>, a processor (for example, the processor <NUM> of <FIG>) may reconfigure brightness data on the basis of the brightness accumulated use time of the user. Brightness data stored in a memory (for example, the memory <NUM> of <FIG>) may be configured as shown in a graph <NUM>. According to an embodiment, default brightness data <NUM> may be stored in the memory from manufacture of the electronic device. Brightness also increases as illuminance increases, and the processor may acquire illuminance information from an illuminance sensor (for example, the illuminance sensor <NUM> of <FIG>) and determine brightness of a display (for example, the display <NUM> of <FIG>) as a brightness value mapped to a value of illuminance around the electronic device in brightness data.

According to various embodiments, the processor may change display brightness on the basis of a user input. The brightness data and temporary brightness data <NUM> generated by a user input may be configured as shown in a graph <NUM>. When the user changes brightness from y<NUM> to y<NUM> in an environment in which illuminance is x<NUM> <NUM>, the processor may generate the temporary brightness data <NUM> in which the corresponding user input is reflected. The processor may process balancing by changing not only brightness mapped to illuminance x<NUM> in which a user touch is input but also a brightness value mapped to an adjacent illuminance section. The processor may determine display brightness as a brightness value mapped to the generated temporary brightness data <NUM> before the brightness data is reconfigured since the reset condition is satisfied. For example, the processor may determine display brightness as y<NUM> in an environment in which illuminance is x<NUM> <NUM> after the brightness change event is generated.

According to various embodiments, the processor may reconfigure brightness data when the reset condition is satisfied. The processor may reconfigure brightness data in consideration of at least one of the brightness accumulated use time of the user and a difference between brightness changed before reconfiguration and brightness changed after reconfiguration. A graph <NUM> shows the brightness data <NUM> and the temporary brightness data <NUM> before reconfiguration, and brightness data <NUM> after reconfiguration. The reconfigured brightness data <NUM> may be configured to be closer to the temporary brightness data <NUM> from the brightness data <NUM> before reconfiguration.

For example, a first event of changing display brightness configured as <NUM> nits in an environment in which illuminance is <NUM> lx in the brightness data <NUM> before reconfiguration to <NUM> nits and using the electronic device for <NUM> hour may be generated. Thereafter, in the brightness data <NUM> reconfigured when the reset condition is satisfied, display brightness may be determined between <NUM> nits and <NUM> nits in the environment in which illuminance is <NUM> lx.

According to various embodiments, the processor may calculate a time weighted value and a continuity weighted value and reconfigure brightness data on the basis thereof. A graph <NUM> shows reconfigured brightness data <NUM> when the use time is different in brightness the user changes. The processor may reconfigure brightness data in consideration of the use time in the corresponding brightness. For example, as the use time is longer in a specific brightness value, brightness data may be reconfigured with a higher weighted value. For example, when the first event is generated for <NUM> hours, the processor may reconfigure brightness data to be closer to the temporary brightness data <NUM> than illustrated in the graph <NUM>.

For example, a first event in which the user the user uses the electronic device for <NUM> hour with brightness of <NUM> nits mapped to brightness data in illuminance of <NUM> lx, moves to illuminance of <NUM> lx and uses it for <NUM> hours with brightness of <NUM> nits mapped to brightness data, changes display brightness to <NUM> nits in the same illuminance and uses it for <NUM> hour may be generated, and the user may move to illuminance of <NUM> lx and use the electronic device for <NUM> hours with brightness of <NUM> nits mapped to brightness data. Thereafter, when the reset condition is satisfied, the processor may process learning for sections of <NUM> lx and <NUM> lx. This may be shown in the following table.

When it is assumed that the continuity weighted value is <NUM>, only one brightness (<NUM> nits) is used in the section of <NUM> lx, and thus brightness learning may not be performed, and the brightness weighted value calculated in the section of <NUM> lx may be the time weighted value and calculated as shown in [Equation <NUM>]. The processor may configure brightness in <NUM> lx as <NUM> rather than <NUM> while reconfiguring brightness data. The processor may additionally control a brightness value in illuminance higher than or equal to <NUM> lx to prevent a reversal phenomenon. For example, the processor may control all brightness values mapped to an illuminance section higher than or equal to <NUM> lx to be larger than or equal to <NUM> nits.

<FIG> illustrates a brightness configuration continuity weighted value scenario of an electronic device according to various embodiments.

Referring to <FIG>, a processor (for example, the processor <NUM> of <FIG>) may reconfigure brightness data on the basis of brightness configuration continuity of the user. Brightness data stored in a memory (for example, the memory <NUM> of <FIG>) may be configured as shown in a graph <NUM>. According to an embodiment, default brightness data <NUM> may be stored in the memory from manufacture of the electronic device. Brightness also increases as illuminance increases, and the processor may acquire illuminance information from an illuminance sensor (for example, the illuminance sensor <NUM> of <FIG>) and determine brightness of a display (for example, the display <NUM> of <FIG>) as a brightness value mapped to an illuminance value around the electronic device in brightness data <NUM>.

According to various embodiments, the processor may change display brightness on the basis of a user input. The brightness data and temporary brightness data <NUM> generated by a user input may be configured as shown in a graph <NUM>. When the user changes brightness in an environment in which illuminance is x<NUM> <NUM> and x<NUM> <NUM>, the processor may generate temporary brightness data <NUM> in which a corresponding user input is reflected. The processor may also change a brightness value mapped to an illuminance section adjacent to a section in which illuminance values are x<NUM> <NUM> and x<NUM> <NUM> in order to prevent a reversal phenomenon.

According to various embodiments, when the reset condition is satisfied, the processor may reconfigure brightness data. A graph <NUM> shows the brightness data <NUM> and the temporary brightness data <NUM> before reconfiguration, and brightness data <NUM> after reconfiguration. The reconfigured brightness data <NUM> may be located between the brightness data <NUM> and the temporary brightness data <NUM> before reconfiguration. The processor may differently configure brightness data in consideration of the continuity weighted value. As the user more frequently uses the electronic device in changed brightness than the brightness value mapped to the conventional brightness data <NUM>, brightness data may be reconfigured to be closer to the temporary brightness data <NUM>. For example, when the user has a tendency of more frequently using brightness higher than the value mapped to brightness data in an environment in which illuminance is low and more frequently using brightness lower than the value mapped to brightness data in an environment in which illuminance is high, the processor may map a higher brightness value in the section including the illuminance value x<NUM> and map a lower brightness value in the section including the illuminance value x<NUM> when reconfiguring brightness data. According to an embodiment, the processor may track a use pattern of the user and continuously calculate and reflect the continuity weighted value. For example, if the user's tendency of more frequently using high brightness in low illuminance and using low brightness in high illuminance increases, brightness may be reconfigured to be closer to the temporary brightness data <NUM> as illustrated in the graph <NUM> rather than the brightness data <NUM> before reconfiguration.

According to various embodiments, when reconfiguring brightness data, the processor may process balancing by also changing a brightness value mapped to an illuminance section adjacent to the illuminance section in which the user changes brightness.

For example, a first event in which the user uses the electronic device for <NUM> hours with brightness of <NUM> nits mapped to brightness data in illuminance of <NUM> lx and changes display brightness to <NUM> nits in the same illuminance and uses it for one hour may be generated. Thereafter, when the reset condition is satisfied, the processor may process learning for the section of <NUM> lx. Thereafter, a second event of changing display brightness from <NUM> nits to <NUM> nits in the same illuminance may be generated, and the reset condition is satisfied and thus the processor may process learning for the section of <NUM> lx again. This may be shown in the following table.

[Equation <NUM>] to [Equation <NUM>] are a first learning process in the section of <NUM> lx. The processor may use brightness data reconfigured as event information for brightness change events for <NUM> month. When the user uses the electronic device for <NUM> hours with <NUM> nits in <NUM> lx, changes <NUM> nits to <NUM> nits, and uses it for <NUM> hour, and then brightness data is reconfigured, [Equation <NUM>] above may be established when it is assumed that there is no continuity weighted values (C<NUM>, C<NUM>). The reconfigured brightness data may map illuminance of <NUM> lx and brightness of <NUM> nits. Thereafter, the processor may determine display brightness as <NUM> nits in an illuminance environment of <NUM> lx. <MAT> <MAT> <MAT>.

[Equation <NUM>] to [Equation <NUM>] are a second learning process in the section of <NUM> lx. The processor may store the previously reconfigured brightness data in the memory and use the data. When the user changes brightness to <NUM> nits in <NUM> lx and uses the electronic device for <NUM> hour, and then the reset condition is satisfies and thus brightness data is reconfigured, the processor may perform calculation as shown in [Equation <NUM>] above. In [Equation <NUM>], the continuity weighted value of the second event in which the user changes brightness from <NUM> nits to <NUM> nits, for example, C<NUM> is configured as <NUM>, which may be calculated in consideration of at least one of a difference between brightness changed by the user before reconfiguration and a time between brightness data reconfiguration and the brightness change after reconfiguration. Thereafter, the processor may determine display brightness to <NUM> nits in an environment of <NUM> lx.

<FIG> illustrates a scenario of the use time for each brightness to calculate a continuity weighted value of an electronic device according to various embodiments.

According to various embodiments, a processor (for example, the processor <NUM> of <FIG>) may calculate a continuity weighted value for reconfiguring brightness data. The processor may calculate the continuity weighted value in consideration of at least one of a brightness configuration by the user, a use time, a brightness configuration according to a battery level, a brightness configuration according to an application being executed in the foreground or background, a brightness configuration according to a color for each UI, and a brightness configuration when a night mode is executed, or one of combinations of two or more thereof, but the disclosure is not limited thereto.

According to various embodiments, when calculating the continuity weighted value in consideration of the brightness configuration, the processor may calculate it in consideration of a difference between changed brightness before reconfiguration and changed brightness after reconfiguration and/or a time spent until the user changes brightness again after the brightness data reconfiguration. <FIG> illustrates the case <NUM> in which brightness data is reconfigured after the brightness change by the user. When ambient illuminance of the electronic device is a first illuminance, the processor may configure brightness of a display (for example, the display <NUM> of <FIG>) as B<NUM> according to a value mapped to first brightness data. Thereafter, when the user changes brightness to B<NUM>, the processor may generate temporary brightness data and change a brightness value in first illuminance to B<NUM>. Subsequently, when the reset condition is satisfied at T<NUM>, brightness data may be reconfigured. When the brightness data is reconfigured, the user has changed brightness from B<NUM> to B<NUM>, and thus a value higher than B<NUM> that is the value mapped to the first illuminance in brightness data before the reconfiguration may be mapped. When the user changes brightness to B<NUM> again at T<NUM> and brightness data is reconfigured at T<NUM>, the reconfigured brightness data may be configured such that the value mapped to the first illuminance is closer to B<NUM> rather than B<NUM>.

According to various embodiments, the processor may calculate the continuity weighted value in consideration of a difference between the brightness (B<NUM>) that the user changes before the brightness data reconfiguration and the brightness (B<NUM>) that the user changes after the reconfiguration. As the difference between B<NUM> and B<NUM> is smaller, it is determined that the user is more likely to use the corresponding brightness, and a higher continuity weighted value may be assigned. On the other hand, when the difference between B<NUM> and B<NUM> is large, it is determined that the user is not likely to use the corresponding brightness, and a lower continuity weighted value may be assigned. According to an embodiment, when the difference (Bthreshold) between B<NUM> and B<NUM> is larger than or equal to a predetermined value, the processor may calculate the continuity weighted value as <NUM>.

According to various embodiments, the processor may calculate the continuity weighted value in consideration of a time between a time point (T<NUM>) at which brightness data is reconfigured and a time point (T<NUM>) at which a brightness change event by the user is generated. As an interval between T<NUM> and T<NUM> is shorter, it is determined that the user is more likely to prefer the corresponding brightness and a higher continuity weighted value may be assigned. On the other hand, as the interval between T<NUM> and T<NUM> is longer, it is determined that the user is not likely to use the corresponding brightness and a lower continuity weighted value may be assigned. According to an embodiment, when the interval (Ttreshold) between T<NUM> and T<NUM> is larger than or equal to a predetermined value, the processor may calculate the continuity weighted value as <NUM>.

An electronic device (for example, the electronic device <NUM>, the electronic device <NUM>, or the electronic device <NUM>) according to various embodiments includes a display (for example, the display module <NUM> or the display <NUM>), a touch sensor (for example, the touch sensor <NUM>) configured to receive a user's touch input and generate touch information, an illuminance sensor (for example, the illuminance sensor <NUM>) configured to detect ambient illuminance and generate illuminance information, a memory (for example, the memory <NUM> or the memory <NUM>) configured to store brightness data for a relation between the ambient illuminance and brightness of the display, and a processor (for example, the processor <NUM> or the processor <NUM>) operatively connected to the display, the illuminance sensor, the touch sensor, and the memory, wherein the processor may be configured to identify the illuminance information from the illuminance sensor, configure the brightness of the display as first brightness, based on the illuminance information and the brightness data, change the brightness of the display to second brightness, based on a user input, acquire event information for an operation in which the brightness of the display is changed, reconfigure the brightness data stored in the memory, based on the event information, and determine the brightness of the display according to a brightness value mapped to an illuminance value identified by the illuminance sensor in the reconfigured brightness data.

According to various embodiments, the processor may be configured to, when the brightness of the display is changed to second brightness, based on a user input, generate temporary brightness data, based on the changed brightness and determine the brightness of the display according to a brightness value mapped to illuminance information in the temporary brightness data before the brightness data is reconfigured.

According to various embodiments, the processor may be configured to, when generating the temporary brightness data, also change a brightness value mapped to illuminance within a reference range in illuminance in which the brightness is changed.

According to various embodiments, the processor may be configured to calculate a time weighted value and a continuity weighted value, based on the event information and reconfigure the brightness data further using the calculated time weighted value and continuity weighted value.

According to various embodiments, the processor may be configured to calculate the continuity weighted value in consideration of a time spent until the brightness is changed again after the brightness data is reconfigured and a difference between brightness changed by a user before the reconfiguration and brightness changed after the reconfiguration.

According to various embodiments, the processor may be configured to, when at least one of cases in which a time for which the display does not operate is longer than a predetermined reset time and the display operates in illuminance different from an illuminance value detected by the illuminance sensor when the display operates last is satisfied, reconfigure the brightness data.

According to various embodiments, the processor may be configured to, when reconfiguring the brightness data, also change a brightness value mapped to illuminance within a reference range in illuminance in which the brightness is changed.

According to various embodiments, the processor may be configured to identify touch information from the touch sensor and, when a time for which there is no received touch input is longer than or equal to a reference time, based on the touch information, exclude the corresponding time from calculations of an accumulated use time.

According to various embodiments, the illuminance sensor may be configured to measure illuminance in sections divided at predetermined intervals.

According to various embodiments, the processor may be configured to, when the display operates, based on a user input, and an automatic brightness mode is configured, generate the event information.

<FIG> is a flowchart illustrating an automatic brightness learning method of an electronic device according to various embodiments.

The illustrated method may be performed by at least one element (for example, the processor <NUM> of <FIG> or the processor <NUM> of <FIG>) included in the electronic device (for example, the electronic device <NUM> of <FIG>, the electronic device <NUM> of <FIG>, or the electronic device <NUM> of <FIG>), and a description of the technical features that have been described above may be omitted hereinafter.

According to various embodiments, in operation <NUM>, the electronic device may configure brightness of a display (for example, the display <NUM> of <FIG>) with reference to illuminance information and brightness data identified by an illuminance sensor (for example, the illuminance sensor <NUM> of <FIG>). An illuminance value and a display brightness value in the corresponding illuminance value may be mapped in the brightness data. For example, when the brightness data has a graph form, an x axis of the graph may indicate ambient illuminance of the electronic device and a y axis may indicate display screen brightness. The electronic device may receive information indicating the current ambient illuminance value of the electronic device from the illuminance sensor, discover a brightness value corresponding to the corresponding illuminance value in the brightness data stored in a memory (for example, the memory <NUM> of <FIG>), and configure the brightness value as the corresponding brightness value. For example, when ambient illuminance of the electronic device is a first illuminance, the electronic device may control display brightness to be the first brightness value mapped to the first illuminance value in the brightness data. Thereafter, when the ambient illuminance of the electronic device is changed to second illuminance, the electronic device may control display brightness to a second brightness value mapped to a second illuminance value in the brightness data.

According to various embodiments, in operation <NUM>, the electronic device may receive an input for changing brightness by the user. The processor may control display brightness according to a user input.

According to various embodiments, when a brightness change event is generated on the basis of the user input, the electronic device may change display brightness in operation <NUM>. According to an embodiment, the electronic device may provide a brightness control UI for allowing the user to control brightness of a display screen. The brightness control UI may be configured in a bar form, and may change brightness of the display from minimum brightness to maximum brightness on the basis of a user input. For example, the user may change brightness of the screen to be bright or dark by touching the brightness control UI and then dragging up and down.

According to various embodiments, the electronic device may map illuminance in which the brightness change event is generated by the user and changed screen brightness to generate event information in operation <NUM>. For example, in the brightness data, the value mapped to the first illuminance value is a first brightness value, and a first event of making a change to a second brightness value by the user through the brightness control UI may be generated. In this case, the electronic device may map the first illuminance value and the second brightness value to generate first event information. According to an embodiment, the electronic device may further map information on a time at which the brightness change event is generated by the user to generate event information. The time information may include information on a time at which the user changes brightness and/or an accumulated time for which the changed brightness is used. The electronic device may store generated event information in the memory. The brightness change event may be accumulated before a brightness data reconfiguration (graph reconfiguration) is generated and stored in the memory.

According to various embodiments, the electronic device may generate event information for each illuminance section. The length of each illuminance section may be configured to be long or short according to the user. As the length of the illuminance section is shorter, the electronic device is more sensitive to an illuminance change, it is possible to more accurately reflect brightness settings by the user.

According to various embodiments, the electronic device may generate temporary brightness data obtained by reconfiguring the brightness data stored in the memory on the basis of the acquired event information in operation <NUM>. The electronic device may immediately reflect the brightness change event in the brightness data to generate temporary brightness data. The electronic device may control display screen brightness according to the generated temporary brightness data. For example, the display brightness may be configured as a brightness value mapped to an illuminance value in the temporary brightness data. The electronic device may continuously modify temporary brightness data according to a user input on the basis of the brightness data. The electronic device may configure display brightness as a brightness value mapped to the current illuminance value with reference to the modified temporary brightness data.

According to various embodiments, when generating temporary brightness data, the electronic device may also change the brightness value mapped to illuminance within a reference range in illuminance in which the brightness change event is generated. The reference range may vary depending on a level of the change in brightness. By also changing the brightness value mapped to illuminance within the reference range in illuminance in which the brightness change event is generated, a reversal phenomenon in which the illuminance decreases but the brightness increases may be prevented.

According to various embodiments, in operation <NUM>, the electronic device may determine whether the reset condition is satisfied. When the reset condition is satisfied ("Yes" of operation <NUM>), the electronic device may reconfigure brightness data. The reset condition may include at least one of non-operation of the display for a reset time or longer and operation of the display in illuminance different from an illuminance value detected by the illuminance sensor when the display operates last. The reset time may vary depending on user settings, and the electronic device may rapidly learn the brightness change event to reconfigure the brightness data as the reset time is shorter. When it is determined whether the display operates in an illuminance environment different from the illuminance environment in the last operation, the data reconfiguration may not be generated if the illuminance value is different but the illuminance section is the same. The electronic device may store the event information for the brightness change event in the memory before the reset condition is satisfied (for example, "No" of operation <NUM>), and when the reset condition is satisfied, may reconfigure brightness data with reference to accumulated event information.

According to various embodiments, in operation <NUM>, the electronic device may reflect accumulated event information to reconfigure the brightness data. The electronic device may reconfigure the brightness data in consideration of at least one of used brightness for each illuminance by the user, a use time, and brightness continuity. The electronic device may calculate the brightness weighted value by using the accumulated event information in order to reconfigure the brightness data. The brightness weighted value may include at least one of a time weighted value and a tendency weighted value. The time weighted value may be assigned as a specific brightness value is used longer in a specific illuminance environment. The continuity weighted value may be calculated in consideration of a time spent for changing brightness after the brightness data is reconfigured in the corresponding illuminance and difference between brightness changed by the user before the reconfiguration and brightness changed after the reconfiguration.

According to various embodiments, the electronic device may suspend measurement of the accumulated use time when there is no user's touch input for a reference time. Since it seems that the display screen is not used for the time during which there is no user's touch input, continuity of the use of brightness may be distorted when the corresponding time is reflected. Reference time may vary depending on user settings.

According to various embodiments, the electronic device may measure the accumulated use time when the display operates and the automatic brightness mode is turned on. Even through the user does not configure display brightness, the electronic device may automatically control display brightness according to brightness data in the automatic brightness mode. The electronic device may configure display brightness on the basis of a user input rather than brightness data in the manual brightness mode.

According to various embodiments, the electronic device may process balancing when brightness data is reconfigured. When the brightness data is reconfigured on the basis of a user input, the reversal phenomenon in which brightness increases when illuminance becomes lower than that in an illuminance section in which brightness is changed by the user or brightness decreases when illuminance increases occur. When reconfiguring brightness data, the electronic device may perform a balancing process in consideration of event information in order to prevent the reversal phenomenon. When the brightness data is configured to increase brightness as illuminance increases, the reversal phenomenon may be prevented. According to an embodiment, the electronic device may process balancing by also changing a brightness value mapped to an illuminance section adjacent to the illuminance section in which the user changes brightness.

The electronic device may include at least one of a data module, a timer, a time statistics module, a continuity statistics module, a brightness configuration module, a reset module, and a brightness data reconfiguration module, and the elements may be organically connected to each other to operate.

According to various embodiments, the timer may measure a time for which the user maintains specific brightness while the electronic device is in an active state. The active state may be a state in which the display is operating and is configured in the automatic brightness mode. According to an embodiment, since a state in which a manual brightness mode is configured is not the active state, the use time may not be used. The electronic device may measure the use time after switching to the automatic brightness mode on the basis of the user input.

According to various embodiments, the timer may receive information on the use of display screen brightness by the user from the data module. The timer may measure the accumulated use time for each brightness on the basis of the received information. For example, the timer may receive information on a user's touch input among information collected by the data module. When no touch input is received for a reference time or longer, it may be considered that the electronic device is not being used and measurement of the use time may be suspended. Thereafter, when the touch input is received again, it may be considered that the user starts using the electronic device again and measurement of the use time may be resumed.

According to various embodiments, the electronic device may collect and store at least one of illuminance information and display brightness attributes received from the illuminance sensor and the accumulated use time measured by the time through the data module. The display brightness attributes may include at least one of brightness continuity for each illuminance section, a brightness use pattern in a night mode, a brightness use pattern for each application being executed in the foreground, a brightness use pattern for each color (color temperature), a brightness use pattern according to a battery level, and a frequency of user touch inputs when a specific application is being used. For example, when the user frequently uses an application including a white UI, the electronic device may detect how the user configures display screen brightness when using the white UI so as to generate a brightness use pattern for each color and transmit information thereon to the data module.

According to various embodiments, the electronic device may transmit information stored in the data module to each element of the electronic device including at least one of the timer, the time statistics module, and the continuity statistics module. The elements of the electronic device are organically connected to each other, and calculations performed by each module may be performed on the basis of information stored in the data module. For example, the time weighted value calculated by the time statistic module may need information on a level and a use time of display brightness in a specific illuminance environment. The electronic device may collect relevant information and transmit required information to the time statistics module via the data module.

According to various embodiments, the time statistics module may calculate the time weighted value by collecting information on the accumulated use time for each illuminance. The time weighted value may be determined in proportion to a time during which the user uses the corresponding brightness. For example, as specific brightness is used longer, a higher weighted value is assigned.

According to various embodiments, the time statistics module may receive brightness change event information and information on the brightness use pattern of the user from the data module and the timer. The time statistics module may receive information on the accumulated use time for each illuminance measured by the timer and calculate the time weighted value on the basis thereof.

According to various embodiments, the continuity statistics module may calculate the continuity weighted value by collecting information on the brightness use pattern of the user. The continuity weighted value may be a value obtained by analyzing a brightness use pattern of the user in specific illuminance. For example, by reflecting preference of the user to high display screen brightness in a low illuminance environment in calculations of the continuity weighted value, it is possible to assign a high continuity weighted value to maintenance of high screen brightness even in the low illuminance environment.

According to various embodiments, the electronic device may calculate the brightness weighted value by adding the time weighted value (Tn) and the continuity weighted value (Cn). For example, when the use time is <NUM> hours and the event continuity value is <NUM>, the brightness weighted value may be calculated as <NUM>. The brightness weighted value may determine how much the corresponding brightness value is important to be reflected in reconfiguration of brightness data.

According to various embodiments, the electronic device may reconfigure brightness data. Information on the brightness change event may be stored in the memory for each section, and the electronic device may calculate the brightness weighted value by using the information and reconfigure brightness data.

According to various embodiments, the time statistics module and the continuity statistics module may transmit the collected information on the accumulated use time for each illuminance, the user brightness use pattern, and the calculated brightness weighted value to the brightness configuration module.

According to various embodiments, when the user changes brightness to a value other than the value mapped to brightness data in specific illuminance, the electronic device may generate temporary brightness data in the brightness configuration module. The brightness configuration module may generate temporary brightness data on the basis of the brightness weighted value and the event information received from the time statistics module and the continuity statistics module. Before brightness data is reconfigured since the reset condition is satisfied, the electronic device may change display brightness according to the temporary brightness data generated by the brightness configuration module. For example, information on the current illuminance value may be received from the illuminance sensor, and a brightness value mapped to the corresponding illuminance value in the temporary brightness data generated by the brightness configuration module may be determined as brightness of the display screen. The brightness configuration module may change temporary brightness data whenever a user input is received. Since a plurality of user inputs may be received even before brightness data is reset, the temporary brightness data may be continuously changed. According to an embodiment, when generating temporary brightness data, the brightness configuration module may also change brightness mapped to an illuminance section adjacent to an illuminance section in which brightness is changed by a user input.

According to various embodiments, the reset module may determine whether the reset condition is satisfied. The reset module may receive information on at least one of illuminance information around the electronic device and whether the display operates from the data module. When the reset condition is satisfied, the reset module may determine that the reset condition is satisfied and the brightness data reconfiguration module may support the reconfiguration of the brightness data.

According to various embodiments, the brightness data reconfiguration module may reconfigure brightness data in consideration of all event information reflected by the brightness configuration module in the temporary brightness data, the time weighted value, and the continuity weighted value. According to an embodiment, when reconfiguring brightness data, the brightness data reconfiguration module may also change brightness mapped to the illuminance section adjacent to the illuminance section in which brightness is changed by a user input. When the reset module determines that the reset condition is satisfied, the brightness data reconfiguration module may reconfigure the brightness data. When reconfiguring the brightness data, the brightness data reconfiguration module may initialize temporary brightness data.

According to various embodiments, the brightness data reconfiguration module may process balancing while reconfiguring the brightness data. When brightness is changed only in the illuminance section in which the brightness change event is generated, a reversal phenomenon may occur, and thus the brightness data reconfiguration module may process balancing in order to prevent the reversal phenomenon. For example, the brightness value mapped to the illuminance section adjacent to the illuminance section in which the brightness change event is generated may also be changed.

The electronic device may reconfigure brightness data on the basis of the accumulated use time of the brightness by the user. According to an embodiment, default brightness data may be stored in the memory from manufacture of the electronic device. Brightness increases as illuminance increases, and the electronic device may acquire illuminance information from the illuminance sensor and determine display brightness as the brightness value mapped to the illuminance value around the electronic device in brightness data.

According to various embodiments, the electronic device may change display brightness on the basis of a user input. When the user changes brightness, the electronic device may generate temporary brightness data reflecting the corresponding user input. The electronic device may process balancing by changing not only brightness mapped to illuminance in which a user touch is input but also the brightness value mapped to the adjacent illuminance section. Before the brightness data is reconfigured since the reset condition is satisfied, the electronic device may determine display brightness as the brightness value mapped to the generated temporary brightness data. For example, the electronic device may determine display brightness as the changed value in the same illuminance environment after the brightness change event is generated.

According to various embodiments, when the reset condition is satisfied, the electronic device may reconfigure the brightness data. The electronic device may reconfigure the brightness data in consideration of at least one of the accumulated use time of brightness by the user and a difference between changed brightness before the reconfiguration and changed brightness after the reconfiguration. The reconfiguration brightness data may be configured to be closer to the temporary brightness data from the brightness data before the reconfiguration.

According to various embodiments, the electronic device may calculate the time weighted value and the continuity weighted value and reconfigure the brightness data on the basis thereof. The electronic device may reconfigure the brightness data in consideration of the use time of the corresponding brightness. For example, as the use time is longer in a specific brightness value, brightness data may be reconfigured with a higher weighted value.

The electronic device may reconfigure the brightness data on the basis of brightness configuration continuity of the user. According to an embodiment, default brightness data may be stored in the memory from manufacture of the electronic device. Brightness increases as illuminance increases, and the electronic device may acquire illuminance information from the illuminance sensor and determine display brightness as the brightness value mapped to the illuminance value around the electronic device in brightness data.

According to various embodiments, the electronic device may change display brightness on the basis of a user input. When the user changes brightness, the electronic device may generate temporary brightness data reflecting the corresponding user input. The electronic device may also change the brightness value mapped to the illuminance section adjacent to the illuminance section in which the user changes brightness in order to prevent the reversal phenomenon.

According to various embodiments, when the reset condition is satisfied, the electronic device may reconfigure the brightness data. The reconfigured brightness data may be located between the brightness data before the reconfiguration and the temporary brightness data. The electronic device may differently configure the shape of the graph in consideration of the continuity weighted value. As the user is more likely to use the changed brightness than the brightness value mapped to the existing brightness data, the brightness data may be reconfigured to be closer to the temporary brightness data. For example, when the user is more likely to use brightness higher than the value mapped to the brightness data in a low illuminance environment and is more likely to use brightness lower than the value mapped to the brightness data in a high illuminance environment, the electronic device may map the higher brightness value to the low illuminance section and map the lower brightness value to the high illuminance section when reconfiguring the brightness data. According to an embodiment, the electronic device may continuously calculate and reflect the continuity weighted value by tracking the use pattern of the user.

According to various embodiments, the electronic device may process balancing by also changing the brightness value mapped to the illuminance section adjacent to the illuminance section in which the user changes the brightness when reconfiguring the brightness data.

According to various embodiments, the electronic device may calculate the continuity weighted value by reconfiguring the brightness data. The electronic device may calculate the continuity weighted value in consideration of at least one of a brightness configuration by the user, a use time, a brightness configuration according to a battery level, a brightness configuration according to an application being executed in the foreground or background, a brightness configuration according to a color for each UI, and a brightness configuration when a night mode is executed, or one of combinations of two or more thereof, but it not limited to the above examples.

According to various embodiments, when calculating the continuity weighted value in consideration of the configuration of brightness, the electronic device may calculate the continuity weighted value in consideration of a difference between changed brightness before the reconfiguration and changed brightness after the reconfiguration and/or a time spent until the user changes brightness again. When ambient illuminance of the electronic device is a first illuminance, the electronic device may configure display brightness as a value mapped to first brightness data. Thereafter, when the user changes brightness, the electronic device may generate temporary brightness data and configure the temporary brightness data as the value to which the brightness value is changed in first illuminance. Thereafter, the reset condition is satisfied, and thus the brightness data may be reconfigured. When the brightness data is reconfigured, the user changes brightness, and thus a value larger than the value mapped to the first illuminance in the brightness data before the reconfiguration may be mapped. When the user changes brightness again and the brightness data is reconfigured, the value mapped to the first illuminance may be configured to be higher than the value mapped to the initial brightness data in the reconfigured brightness data.

According to various embodiments, the electronic device may calculate the continuity weighted value in consideration of a difference between brightness that the user changes before the reconfiguration of the brightness data and brightness which the user changes after the reconfiguration. It may be determined that the user is more likely to use the corresponding brightness as the difference between two brightnesses is smaller, and thus a higher continuity weighted value may be assigned. On the other hand, it may be determined that the user is less likely to use the corresponding brightness as the difference between the two brightnesses is larger, and thus a lower continuity weighted value may be assigned. According to an embodiment, when the difference between the two brightnesses is larger than or equal to a predetermined value, the electronic device may calculate the continuity weighted value as <NUM>.

According to various embodiments, the electronic device may calculate the continuity weighted value in consideration of an interval between a time point at which the brightness data is reconfigured and a time point at which the brightness change event of the user is generated after the reconfiguration. It may be determined that the user is more likely to prefer the corresponding brightness as the interval between the two time points is shorter, and thus a higher continuity weighted value may be assigned. On the other hand, it may be determined that the user is less likely to use the corresponding brightness as the interval between the two time points is longer, and thus a lower continuity weighted value may be assigned. According to an embodiment, when the interval between two time points is longer than or equal to a predetermined value, the electronic device may calculate the continuity weighted value as <NUM>.

<FIG> is a flowchart illustrating a method by which an electronic device generates temporary brightness data according to various embodiments.

According to various embodiments, in operation <NUM>, the electronic device may receive a user input. The user may use the electronic device and then change screen brightness of a display (for example, the display module <NUM> of <FIG> or the display <NUM> of <FIG>) in specific illuminance. In operation <NUM>, the electronic device may receive the user input through a touch sensor (for example, the touch sensor <NUM> of <FIG>) and change display brightness in operation <NUM>.

According to various embodiments, in operation <NUM>, the electronic device may change a brightness value in an adjacent illuminance section. Before brightness data is reconfigured, the electronic device may generate temporary brightness data obtained by changing the brightness data on the basis of the user input. The electronic device may change display brightness of the electronic device according to a value mapped to the generated temporary brightness data.

According to various embodiments, the temporary brightness data may reflect the brightness changed by the user. For example, unlike brightness data reconfigured using a brightness weighted value calculated by itself, brightness changed by the user may be mapped to the temporary brightness data.

According to various embodiments, in operation <NUM>, the electronic device may process balancing of the generated temporary brightness data. The electronic device may change the temporary brightness data on the basis of a user input and also change a brightness value mapped to an illuminance section adjacent to the changed illuminance section.

<FIG> is a flowchart illustrating a method by which an electronic device reconfigures brightness data according to various embodiments.

According to various embodiments, in operation <NUM>, the electronic device may receive a user input. The user may use the electronic device and then change screen brightness of a display (for example, the display module <NUM> of <FIG> or the display <NUM> of <FIG>) in specific illuminance. The electronic device may change display brightness by receiving the user input through a touch sensor (for example, the touch sensor <NUM> of <FIG>).

According to various embodiments, in operation <NUM>, the electronic device may collect event information. When a brightness change event of changing display brightness by the user is generated, the electronic device may collect event information on the corresponding event. The event information may include information on at least one of a time at which the user changes brightness, changed brightness, information indicating an environment in which brightness is changed, and a time for which changed brightness is maintained. The electronic device may divide illuminance at regular intervals or irregular intervals and collect brightness change event information generated for each of the corresponding sections. The electronic device may reconfigure brightness data using the collected event information.

According to various embodiments, in operation <NUM>, the electronic device may calculate a time weighted value and a continuity weighted value. When reconfiguring brightness data, the electronic device may consider the time weighted value and the continuity weighted value calculated on the basis of the accumulated event information. The time weighted value may be proportional to a use time of the changed brightness by the user, and the continuity weighted value may be calculated in consideration of a time spent until brightness is changed again after brightness data is reconfigured in the corresponding illuminance and a difference between brightness that the user changes before the reconfiguration and brightness that the user changes after the reconfiguration.

According to various embodiments, the electronic device may determine whether the reset condition is satisfied. The reset condition may include at least one of non-operation of the display for a reset time or longer and operation of the display in illuminance different from an illuminance value detected by the illuminance sensor when the display operates last.

According to various embodiments, the electronic device may reconfigure the brightness data when the reset condition is satisfied. The electronic device may reconfigure the brightness data in consideration of temporary brightness data, accumulated event information, and the calculated brightness weighted value.

According to various embodiments, in operation <NUM>, the electronic device may change the brightness value in adjacent illuminance. The user may make a change to smoothen illuminance in the illuminance section in which brightness is changed and an adjacent section.

Claim 1:
An electronic device (<NUM>) comprising:
a display (<NUM>);
a touch sensor (<NUM>) configured to receive a user's touch input and generate touch information;
an illuminance sensor (<NUM>) configured to detect ambient illuminance and generate illuminance information;
a memory (<NUM>) configured to store brightness data which maps an ambient illuminance value and a brightness value of the display (<NUM>); and
a processor (<NUM>) operatively connected to the display (<NUM>), the illuminance sensor (<NUM>), the touch sensor (<NUM>), and the memory (<NUM>),
wherein the processor (<NUM>) is configured to:
identify illuminance information from the illuminance sensor (<NUM>),
configure (<NUM>) the brightness of the display (<NUM>) as a first brightness, based on the illuminance information and the brightness data,
change (<NUM>) the brightness of the display (<NUM>) to a second brightness, based on a user input,
acquire (<NUM>) event information for an operation in which the brightness of the display (<NUM>) is changed, wherein the event information includes illuminance information identified when the user input is detected and the second brightness,
reconfigure (<NUM>) the brightness data stored in the memory (<NUM>), based on the event information, and
determine, in an automatic brightness mode, the brightness of the display (<NUM>) according to a brightness value in the reconfigured brightness data mapped to an illuminance value identified by the illuminance sensor (<NUM>), when the reconfigured brightness data is stored in the memory (<NUM>).