Electronic device and brightness adjustment method
By integrating touch sensors and illuminance sensors in electronic devices, combining processors and memory, learning and adjusting display brightness, the problem of unintelligent brightness control in traditional electronic devices is solved, achieving more efficient brightness adjustment and battery life extension.
Patent Information
- Application Number
- CN202280009738.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-01-14
- Filing Date
- 2022-01-07
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2042-01-07
AI Technical Summary
Traditional electronic devices cannot quickly learn the brightness expected by users and optimize the brightness of the display in real time, resulting in the inadequate smart and efficient display brightness control.
The touch sensor, illuminance sensor and memory are used to cooperate with the processor to generate brightness data by identifying illuminance information and user input, learn and adjust the display brightness, and use weighted values to reflect the user's usage mode.
It realizes dynamic adjustment of monitor brightness according to user behavior, improves the intelligence of brightness control and battery life, and reduces learning time.
Smart Images

Figure CN116710880B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to an electronic device, and, for example, to a method of controlling brightness of a display of the electronic device. Background Art
[0002] With the development of wireless communication technology and processor technology, portable electronic devices (hereinafter referred to as electronic devices) represented by smartphones can have various functions in addition to the call function. For example, the electronic device can run various applications and provide application screens through the display of the electronic device.
[0003] Electronic devices can display image data on a display to perform user-desired functions. Users may use electronic devices in a variety of environments, so electronic devices may have automatic brightness control functions to provide optimized display usage environments in various environments. For example, to improve user vision, the brightness level of the display can be increased or decreased based on the ambient illuminance. Summary of the Invention
[0004] Technical issues
[0005] An electronic device with a function for automatically controlling the brightness of a display can identify a brightness value mapped to external illumination based on initially input brightness data and determine the brightness of the display based on the identified brightness value. Furthermore, the electronic device can learn the brightness of the display based on the user's usage pattern, rather than simply controlling the brightness based on the initially input value.
[0006] However, conventional electronic devices cannot quickly learn the brightness desired by a user and cannot immediately apply the learned value, thereby failing to provide brightness of a display optimized for the user's usage pattern in real time.
[0007] When an electronic device is configured to learn the user's desired brightness as described above, certain embodiments of the present disclosure may provide an efficient learning method that can save time or battery life.
[0008] Solution to the problem
[0009] According to various embodiments, the electronic device includes: a display, a touch sensor configured to receive a user's touch input and generate touch information, an illuminance sensor configured to detect ambient illuminance and generate illuminance information, a memory configured to store brightness data of a relationship between ambient illuminance and the brightness of the display, and a processor operably connected to the display, the illuminance sensor, the touch sensor and the memory, wherein the processor can be configured to identify illuminance information from the illuminance sensor, configure the brightness of the display to a first brightness based on the illuminance information and the brightness data, change the brightness of the display to a second brightness based on the user input, obtain event information of an operation for changing the brightness of the display, 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 the illuminance value identified by the illuminance sensor in the reconfigured brightness data.
[0010] A method for controlling brightness by an electronic device may include identifying illuminance information from an illuminance sensor, configuring the brightness of a display to a first brightness based on the illuminance information and brightness data, changing the brightness of the display to a second brightness based on user input, acquiring event information of an operation for changing the brightness of the display, reconfiguring brightness data stored in a memory based on the event information, and determining the brightness of the display according to a brightness value mapped to the illuminance value identified by the illuminance sensor in the reconfigured brightness data.
[0011] Advantageous Effects of the Invention
[0012] According to various embodiments, an electronic device capable of learning display brightness in consideration of a time for which a user maintains a specific brightness and a method of controlling brightness by the electronic device may be provided.
[0013] According to certain embodiments, when a user maintains a specific brightness for a long time, a high weighted value may be assigned, while when a user temporarily changes the brightness and maintains the brightness for a short time, a low weighted value may be assigned. Thus, the calculated weighted value can reflect the user's brightness changes, and the electronic device can more effectively learn the user's usage patterns.
[0014] Other effects that can be obtained or predicted by various embodiments of the present disclosure are disclosed explicitly or implicitly in the detailed description of the embodiments of the present disclosure. For example, various effects predicted according to various embodiments of the present disclosure will be disclosed in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 is a block diagram illustrating electronic devices in a network environment according to various embodiments.
[0016] Figure 2 is a block diagram of an electronic device according to various embodiments.
[0017] Figure 3 A brightness data configuration system of an electronic device according to various embodiments is shown.
[0018] Figure 4 A weighted value scenario based on the accumulated usage time of an electronic device according to various embodiments is illustrated.
[0019] Figure 5 A brightness configuration continuity weighting value scenario of an electronic device according to various embodiments is shown.
[0020] Figure 6 A scenario of calculating usage time of each brightness of a continuity weighted value of an electronic device according to various embodiments is illustrated.
[0021] Figure 7 is a flowchart illustrating an automatic brightness learning method of an electronic device according to various embodiments.
[0022] Figure 8 is a flowchart illustrating a method in which an electronic device generates temporary brightness data according to various embodiments.
[0023] Figure 9 is a flowchart illustrating a method in which an electronic device reconfigures brightness data according to various embodiments. DETAILED DESCRIPTION
[0024] Figure 1 1 is a block diagram illustrating an electronic device 101 in a network environment 100 according to various embodiments. Figure 1In the network environment 100, the electronic device 101 can communicate with the electronic device 102 via the first network 198 (e.g., a short-range wireless communication network), or can communicate with at least one of the electronic device 104 and the server 108 via the second network 199 (e.g., a long-range wireless communication network). According to an embodiment, the electronic device 101 can communicate with the electronic device 104 via the server 108. According to an embodiment, the electronic device 101 may include a processor 120, a memory 130, an input module 150, a sound output module 155, a display module 160, an audio module 170, a sensor module 176, an interface 177, a connection terminal 178, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module 190, a subscriber identification module (SIM) 196, or an antenna module 197. In some embodiments, at least one of the above components (e.g., the connection terminal 178) may be omitted from the electronic device 101, or one or more other components may be added to the electronic device 101. In some embodiments, some of the above-described components (eg, sensor module 176 , camera module 180 , or antenna module 197 ) may be implemented as a single integrated component (eg, display module 160 ) 11 .
[0025] The processor 120 may run, for example, software (e.g., program 140) to control at least one other component of the electronic device 101 connected to the processor 120 (e.g., a hardware component or a software component), and may perform various data processing or calculations. According to one embodiment, as at least part of the data processing or calculation, the processor 120 may store a command or data received from another component (e.g., the sensor module 176 or the communication module 190) in the volatile memory 132, process the command or data stored in the volatile memory 132, and store the resultant data in the non-volatile memory 134. According to an embodiment, the processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)) or an auxiliary processor 123 (e.g., a graphics processing unit (GPU), a neural processing unit (NPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is operationally independent of or combined with the main processor 121. For example, when the electronic device 101 includes a main processor 121 and an auxiliary processor 123, the auxiliary processor 123 may be adapted to consume less power than the main processor 121 or be adapted to be dedicated to a specific function. The auxiliary processor 123 may be implemented separately from the main processor 121 or as part of the main processor 121.
[0026] When the main processor 121 is inactive (e.g., sleeping), the auxiliary processor 123 (rather than the main processor 121) may control at least some of the functions or states associated with at least one component of the electronic device 1011 (e.g., display module 160, sensor module 176, or communication module 190). Alternatively, when the main processor 121 is active (e.g., running an application), the auxiliary processor 123 may work together with the main processor 121 to control at least some of the functions or states associated with at least one component of the electronic device 101 (e.g., display module 160, sensor module 176, or communication module 190). Depending on the embodiment, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component functionally related to the auxiliary processor 123 (e.g., camera module 180 or communication module 190). Depending on the embodiment, the auxiliary processor 123 (e.g., a neural processing unit) may include a hardware structure dedicated to artificial intelligence model processing. The artificial intelligence model may be generated through machine learning. For example, such learning may be performed by the electronic device 101 where the artificial intelligence is executed or via a separate server (e.g., server 108). The learning algorithm may include, but is not limited to, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning. The artificial intelligence model may include multiple artificial neural network layers. The artificial neural network may be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), or a deep Q network or a combination of two or more thereof, but is not limited thereto. Additionally or alternatively, the artificial intelligence model may include a software structure in addition to a hardware structure.
[0027] The memory 130 may store various data used by at least one component of the electronic device 101 (e.g., the processor 120 or the sensor module 176). The various data may include, for example, software (e.g., the program 140) and input data or output data for commands related thereto. The memory 130 may include a volatile memory 132 or a non-volatile memory 134.
[0028] The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system (OS) 142 , middleware 144 , or applications 146 .
[0029] The input module 150 may receive commands or data from outside the electronic device 101 (e.g., a user) to be used by other components of the electronic device 101 (e.g., the processor 120). The input module 150 may include, for example, a microphone, a mouse, a keyboard, keys (e.g., buttons), or a digital pen (e.g., a stylus).
[0030] The sound output module 155 can output sound signals to the outside of the electronic device 101. The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as playing multimedia or playing records. The receiver can be used to receive incoming calls. Depending on the embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0031] The display module 160 can visually provide information to the outside of the electronic device 101 (e.g., a user). The display device 160 may include, for example, a display, a holographic device, or a projector, and a control circuit for controlling a corresponding one of the display, the holographic device, and the projector. Depending on the embodiment, the display module 160 may include a touch sensor adapted to detect a touch or a pressure sensor adapted to measure the strength of the force caused by the touch.
[0032] The audio module 170 can convert sound into an electrical signal, and vice versa. According to an embodiment, the audio module 170 can obtain sound via the input module 150, or output sound via the sound output module 155 or an earphone of an external electronic device (e.g., electronic device 102) directly (e.g., wired) or wirelessly connected to the electronic device 101.
[0033] The sensor module 176 can detect an operating state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a user's state) outside the electronic device 101, and then generate an electrical signal or data value corresponding to the detected state. Depending on the embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illumination sensor.
[0034] The interface 177 may support one or more specific protocols to be used to connect the electronic device 101 directly (e.g., wired) or wirelessly to an external electronic device (e.g., the electronic device 102). Depending on the embodiment, the interface 177 may include, for example, a High-Definition Multimedia Interface (HDMI), a Universal Serial Bus (USB) interface, a Secure Digital (SD) card interface, or an audio interface.
[0035] The connection end 178 may include a connector, wherein the electronic device 101 can be physically connected to an external electronic device (e.g., the electronic device 102) via the connector. Depending on the embodiment, the connection end 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0036] The haptic module 179 may convert the electrical signal into mechanical stimulation (eg, vibration or motion) or electrical stimulation that can be recognized by the user via his sense of touch or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulator.
[0037] The camera module 180 may capture still images or moving images. Depending on the embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
[0038] The power management module 188 may manage power supply to the electronic device 101. According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
[0039] The battery 189 may power at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0040] The communication module 190 may support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108), and perform communication via the established communication channel. The communication module 190 may include one or more communication processors capable of operating independently from the processor 120 (e.g., an application processor (AP)) and supporting direct (e.g., wired) communication or wireless communication. Depending on the embodiment, the communication module 190 may include a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., a local area network (LAN) communication module or a power line communication (PLC) module). A corresponding one of these communication modules can communicate with an external electronic device via a first network 198 (e.g., a short-range communication network such as Bluetooth, Wireless Fidelity (Wi-Fi) Direct, or Infrared Data Association (IrDA)) or a second network 199 (e.g., a long-range communication network such as a traditional cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN))). These various types of communication modules can be implemented as a single component (e.g., a single chip), or these various types of communication modules can be implemented as multiple components separated from each other (e.g., multiple chips). The wireless communication module 192 can identify and authenticate the electronic device 101 in a communication network (such as the first network 198 or the second network 199) using user information (e.g., an International Mobile Subscriber Identity (IMSI)) stored in the user identification module 196.
[0041] The wireless communication module 192 can support 5G networks after 4G networks and next-generation communication technologies (e.g., new radio (NR) access technology). NR access technology can support enhanced mobile broadband (eMBB), massive machine type communication (mMTC), or ultra-reliable low-latency communication (URLLC). The wireless communication module 192 can support high-frequency bands (e.g., millimeter wave bands) to achieve, for example, high data transmission rates. The wireless communication module 192 can support various technologies for ensuring performance on high-frequency bands, such as, for example, beamforming, massive multiple-input multiple-output (massive MIMO), full-dimensional MIMO (FD-MIMO), array antennas, analog beamforming, or massive antennas. The wireless communication module 192 can support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., a second network 199). According to an embodiment, the wireless communication module 192 may support peak data rates for implementing eMBB (e.g., 20 Gbps or greater), loss coverage for implementing mMTC (e.g., 164 dB or less), or U-plane latency for implementing URLLC (e.g., 0.5 ms or less for each of the downlink (DL) and uplink (UL), or 1 ms or less round trip).
[0042] Antenna module 197 can transmit or receive signals or power to or from the outside of electronic device 101 (e.g., an external electronic device). Depending on the embodiment, antenna module 197 may include an antenna comprising a radiating element formed of a conductive material or conductive pattern formed in or on a substrate (e.g., a printed circuit board (PCB)). Depending on the embodiment, antenna module 197 may include multiple antennas (e.g., an array antenna). In this case, at least one antenna suitable for the communication scheme used in a communication network (such as first network 198 or second network 199) may be selected from the multiple antennas by, for example, communication module 190 (e.g., wireless communication module 192). Signals or power can then be transmitted or received between communication module 190 and the external electronic device via the selected at least one antenna. Depending on the embodiment, additional components other than the radiating element (e.g., a radio frequency integrated circuit (RFIC)) may also be formed as part of antenna module 197.
[0043] According to various embodiments, antenna module 197 may form a millimeter wave antenna module. According to embodiments, the millimeter wave antenna module may include a printed circuit board, a radio frequency integrated circuit (RFIC), and multiple antennas (e.g., array antennas), wherein the RFIC is disposed on a first surface (e.g., bottom surface) of the printed circuit board, or adjacent to the first surface and capable of supporting a specified high frequency band (e.g., millimeter wave band), and the multiple antennas are disposed on a second surface (e.g., top surface or side surface) of the printed circuit board, or adjacent to the second surface and capable of transmitting or receiving signals in the specified high frequency band.
[0044] At least some of the above components can be connected to each other via an inter-peripheral communication scheme (e.g., a bus, general-purpose input output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and communicatively transmit signals (e.g., commands or data) therebetween.
[0045] According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 via the server 108 connected to the second network 199. Each of the electronic device 102 or the electronic device 104 may be a device of the same type as the electronic device 101, or a device of a different type than the electronic device 101. According to an embodiment, all or some operations to be executed on the electronic device 101 may be executed on one or more of the external electronic device 102, the external electronic device 104, or the server 108. For example, if the electronic device 101 should automatically execute a function or service or should execute a function or service in response to a request from a user or another device, the electronic device 101 may request the one or more external electronic devices to execute at least part of the function or service instead of executing the function or service, or the electronic device 101 may request the one or more external electronic devices to execute at least part of the function or service in addition to executing the function or service. The one or more external electronic devices that receive the request may execute at least part of the function or service requested, or execute another function or service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may provide the result as at least a partial reply to the request, with or without further processing the result. To this end, cloud computing technology, distributed computing technology, mobile edge computing (MEC) technology, or client-server computing technology, for example, may be used. The electronic device 101 may use, for example, distributed computing or mobile edge computing to provide ultra-low latency services. In another embodiment, the external electronic device 104 may include an Internet of Things (IoT) device. The server 108 may be an intelligent server using machine learning and / or neural networks. According to an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199. The electronic device 101 may be applied to intelligent services (e.g., smart homes, smart cities, smart cars, or healthcare) based on 5G communication technology or IoT-related technologies.
[0046] The electronic device according to various embodiments may be one of various types of electronic devices. The electronic device may include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a household appliance. According to an embodiment of the present disclosure, the electronic device is not limited to those described above.
[0047] It should be understood that the various embodiments of the present disclosure and the terms used therein are not intended to limit the technical features set forth herein to specific embodiments, but rather include various changes, equivalents or alternative forms for corresponding embodiments. For the description of the accompanying drawings, similar reference numerals may be used to refer to similar or related elements. It will be understood that the nouns in the singular form corresponding to the term may include one or more things, unless the relevant context clearly indicates otherwise. As used herein, each of the phrases such as "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C" and "at least one of A, B or C" may include any one or all possible combinations of the items listed together with the corresponding phrase in the multiple phrases. As used herein, terms such as "1st" and "2nd" or "first" and "second" may be used to simply distinguish corresponding components from another component, and do not limit the components in other aspects (e.g., importance or order). It will be understood that if an element (e.g., a first element) is referred to as being “combined with another element (e.g., a second element)”, “combined to another element (e.g., a second element)”, “connected with another element (e.g., a second element)”, or “connected to another element (e.g., a second element)”, when the term “operably” or “communicatively” is used or when the term “operably” or “communicatively” is not used, it means that the element can be directly (e.g., wired) connected to the other element, wirelessly connected to the other element, or connected to the other element via a third element.
[0048] As used in connection with various embodiments of the present disclosure, the term "module" may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with other terms (e.g., "logic," "logic block," "portion," or "circuit"). A module may be a single integrated component adapted to perform one or more functions, or the smallest unit or portion of the single integrated component. For example, depending on the embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0049] The various embodiments described herein can be implemented as software (e.g., program 140) comprising one or more instructions stored in a storage medium (e.g., internal memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). For example, under the control of a processor, a processor (e.g., processor 120) of the machine (e.g., electronic device 101) can call at least one of the one or more instructions stored in the storage medium and execute the at least one instruction with or without the use of one or more other components. This enables the machine to be operable to perform at least one function according to the called at least one instruction. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. The machine-readable storage medium can be provided in the form of a non-transitory storage medium. The term "non-transitory" only means that the storage medium is a tangible device and does not include signals (e.g., electromagnetic waves), but the term does not distinguish between data being semi-permanently stored in the storage medium and data being temporarily stored in the storage medium.
[0050] According to an embodiment, the method according to various embodiments of the present disclosure may be included and provided in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be released in the form of a machine-readable storage medium (e.g., a compact disc read-only memory (CD-ROM)), or may be downloaded via an application store (e.g., Play Store). TM ) The computer program product may be published online (e.g., downloaded or uploaded) or may be distributed (e.g., downloaded or uploaded) directly between two user devices (e.g., smartphones). If published online, at least part of the computer program product may be temporarily generated or at least part of the computer program product may be at least temporarily stored in a machine-readable storage medium (such as a memory of a manufacturer's server, an application store's server, or a forwarding server).
[0051] According to various embodiments, each component (for example, module or program) in the above-mentioned components may include a single entity or multiple entities, and some entities in the multiple entities may be separably arranged in different components. According to various embodiments, one or more components in the above-mentioned components may be omitted, or one or more other components may be added. Alternatively or additionally, multiple components (for example, module or program) may be integrated into a single component. In this case, according to various embodiments, the integrated component may still perform the one or more functions of each component in the multiple components in the same or similar manner as a corresponding component in the multiple components before integration. According to various embodiments, the operations performed by a module, program or another component may be performed sequentially, in parallel, repeatedly or in a heuristic manner, or one or more operations in the operations may be run or omitted in different orders, or one or more other operations may be added.
[0052] Figure 2 is a block diagram of an electronic device according to various embodiments.
[0053] Reference Figure 2 The electronic device 200 may include a display 220, a touch sensor 230, an illumination sensor 240, a processor 210, and a memory 250, and some of the illustrated elements may be omitted or replaced in various embodiments. Figure 1 At least some elements and / or functions of the electronic device 101. At least some elements of the electronic device 200 shown (or not shown) may be operatively, functionally and / or electrically connected to each other.
[0054] According to various embodiments, the display 220 may display various images according to the control of the processor 210. The display 220 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 220 may be configured as a touch screen that detects touch and / or near-touch (or hovering) input using a user's body part (e.g., a finger) or an input device (e.g., a stylus). The touch screen may include a touch sensor 230. The display 220 may include Figure 1 at least some elements and / or functions of the display module 160 .
[0055] According to various embodiments, at least a portion of the display 220 may be flexible and may be implemented as a foldable display or a rollable display.
[0056] According to various embodiments, the touch sensor 230 may include Figure 1The touch screen of the display 220 of the electronic device 200 may include one or more touch sensors 230.
[0057] According to various embodiments, the illumination sensor 240 (e.g., Figure 1 The sensor module 176 of the electronic device 200 can measure the illuminance around the electronic device 200. The illuminance sensor 240 can be provided in an area where the housing of the electronic device 200 or the display 220 is removed to allow external light to pass through. The illuminance sensor 240 can be implemented as one of a light sensor, a cadmium sulfide (CDS) sensor, an ultraviolet (UV) sensor, and an ambient light sensor (AIS), but is not limited thereto.
[0058] According to various embodiments, the memory 250 may include a volatile memory (eg, Figure 1 volatile memory 132) and non-volatile memory (e.g., Figure 1 The memory 250 may include a non-volatile memory 134) and may store various data temporarily or permanently. Figure 1 at least some elements and / or functions of the memory 130 and may store Figure 1 Program 140.
[0059] According to various embodiments, the memory 250 may store various instructions that can be executed by the processor 210. These instructions may include control commands such as arithmetic and logical operations, data movement, input / output, etc. that can be recognized by the processor 210.
[0060] According to an embodiment, the memory 250 may store brightness data in which illuminance values and display brightness values are mapped. By learning default brightness data generated when the electronic device 200 is manufactured and / or a user's brightness change event, the changed brightness data may be stored in the memory 250.
[0061] According to various embodiments, the processor 210 may be operably, functionally and / or electrically connected to each element of the electronic device 200, such as the display 220, the touch sensor 230, the illuminance sensor 240, the memory 250, etc., and may be an element configured to perform calculations or data processing related to control and / or communication of each element. The processor 210 may include Figure 1 Some elements and / or functions of the processor 120.
[0062] According to various embodiments, the computing and data processing functions that the processor 210 can perform in the electronic device 200 are not limited, but various embodiments in which the electronic device 200 learns that the user changes brightness are described below. The operations of the processor 210 described below can be performed by loading instructions stored in the memory 250.
[0063] According to various embodiments, the processor 210 may select an automatic brightness control mode or a manual brightness control mode based on user input. In the manual brightness control mode, the processor 210 may determine the brightness of the display 220 according to the user's configuration without referring to the brightness data stored in the memory 250. In the automatic brightness control mode, the processor 210 may determine the brightness of the display 220 by using the user input and / or the brightness data stored in the memory 250. According to an embodiment, the processor 210 may provide the display 220 with a UI for selecting a brightness control mode.
[0064] According to various embodiments, in automatic brightness control mode, the processor 210 may configure the brightness of the display 220 with reference to the illuminance information and brightness data received from the illuminance sensor 240. The illuminance value and the corresponding illuminance value of the display 220 may be mapped to the brightness data. The brightness data may be stored in the memory 250. The brightness data may include graphical data, but the data type is not limited. For example, an axis of the brightness data (e.g., a row in a table or the x-axis of a graph) may indicate the ambient illuminance of the electronic device 200, while another axis (e.g., a column in a table or the y-axis of a graph) may indicate the screen brightness of the display 220. The processor 210 may identify the current ambient illuminance value of the electronic device 200 through the illuminance sensor 240, find the brightness value corresponding to the corresponding illuminance value in the brightness data stored in the memory 250, and configure the screen brightness using the corresponding brightness value. For example, when the ambient illuminance of the electronic device 200 is a first illuminance, the processor 210 may control the brightness of the display 220 to a first brightness value mapped to the first illuminance value in the brightness data. Thereafter, when the ambient illuminance of the electronic device 200 changes to the second illuminance, the processor 210 may control the brightness of the display 220 to be the second brightness value mapped to the second illuminance value in the brightness data.
[0065] According to various embodiments, when a brightness change event is generated based on user input, the processor 210 may change the brightness of the display 220. According to an embodiment, the processor 210 may provide a brightness control UI (user interface) for allowing the user to control the brightness of the screen of the display 220 through the display 220. The brightness control UI may be configured as a bar and may change the brightness of the display 220 from minimum brightness to maximum brightness based on user input. For example, the user may change the brightness of the screen to brighter or darker by touching the brightness control UI and then dragging it up or down.
[0066] According to various embodiments, when a user generates a brightness change event, the processor 210 may generate event information by mapping the current illuminance and the 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 the first brightness value, and a first event may be generated in which the user changes the second brightness value through the brightness control UI. In this case, the processor 210 may generate the first event information by mapping the first illuminance value and the second brightness value.
[0067] According to an embodiment, the processor 210 can generate event information by further mapping information about the time when the user generates a brightness change event to the current illuminance and the brightness of the screen changed according to the user input. The time information may include information about the time when the user changes the brightness and / or the accumulated time of using the changed brightness. For example, when a first event is generated at 2 pm and a second event is generated at 3 pm, the first event information may further include the time before the second event is generated, for example, time information indicating that the electronic device is used at the second brightness for one hour. The processor 210 can store the generated event information in the memory 250. The brightness change event can be accumulated before the brightness data reconfiguration is generated and stored in the memory 250.
[0068] According to various embodiments, the processor 210 can generate event information in segments of illuminance. For example, the processor 210 can measure the user's brightness usage time in units of 50 lx. In this case, the processor 210 can calculate the illuminance of 100 lx to 150 lx as a segment based on the user's configuration. The length of each illuminance segment can be configured to be longer or shorter based on the user's configuration. As the length of the illuminance segment becomes shorter, the electronic device is more sensitive to illuminance changes and can therefore more accurately reflect the user's brightness setting.
[0069] According to various embodiments, the processor 210 may generate temporary brightness data obtained by reconfiguring brightness data stored in the memory 250 based on the acquired event information. The temporary brightness data may be brightness data configured when a brightness change event is generated (for example, by learning changed brightness data), in which the brightness values mapped to at least some of the entire illumination range are changed.
[0070] According to an embodiment, the processor 210 may immediately reflect the brightness change event in the brightness data to generate temporary brightness data. For example, when a first brightness value is mapped to a first illuminance value in the brightness data and a user generates a brightness change event for changing the brightness of the display 220 to a second brightness, the processor 210 may generate temporary brightness data in which the second brightness value is mapped to the first illuminance value.
[0071] According to various embodiments, the processor 210 may control the brightness of the screen of the display 220 based on the generated temporary brightness data. For example, the processor 210 may configure the brightness of the display 220 to a brightness value mapped to the illuminance value in the temporary brightness data. When another brightness value is selected on the brightness control UI based on the brightness data according to user input, the processor 210 may additionally modify the temporary brightness data. The processor 210 may configure the brightness of the display 220 to a brightness value mapped to the current illuminance value with reference to the modified temporary brightness data.
[0072] According to various embodiments, when generating temporary brightness data, the processor 210 may also change the brightness value mapped to the illuminance within the reference illuminance range in which the brightness change event is generated. The reference range may vary depending on the level of brightness change. For example, when the user configures the brightness value of 100lx to 300nits, the brightness value of 50lx to 150lx may also be changed within 250nits to 350nits. By also changing the brightness value mapped to the illuminance within the reference range of the illuminance in which the brightness change event is generated, the inversion phenomenon in which the illuminance decreases but the brightness increases can be prevented. According to another embodiment, the processor 210 may change the brightness value mapped to the illuminance value in the entire illuminance segment.
[0073] According to various embodiments, when a reset condition is met, the processor 210 can reconfigure the brightness data. The reset condition may include at least one of a condition in which the display 220 is not operated for a reset time or longer, or a condition in which the display 220 is operated at an illumination value different from the illumination value detected by the illumination sensor 240 when the display was last operated. The reset time may be configured by default or may vary depending on user settings, and as the reset time is shorter, the processor 210 can learn brightness change events more quickly to reconfigure the brightness data. When determining whether the display 220 is operating in an illumination environment different from the illumination environment when the display was last operated, the brightness data cannot be reconfigured within the same illumination range despite the different illumination values. Before the reset condition is met, the processor 210 may store event information about the brightness change event in the memory 250, and when the reset condition is met, the accumulated event information may be referenced to reconfigure the brightness data.
[0074] According to various embodiments, the processor 210 may reflect the accumulated event information to reconfigure the brightness data. The processor 210 may reconfigure the brightness data by considering at least one of the brightness used by the user for each illuminance, the usage time, and the brightness trend. The processor 210 may calculate a 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 trend weighted value. When a specific (or specific segment) brightness value is used for a longer time in a specific illumination environment, a time weighted value may be assigned. The trend weighted value may be calculated by considering the time taken to change the brightness after reconfiguring the brightness data under the corresponding illumination and the difference between the brightness changed by the user before the reconfiguration and the brightness changed after the reconfiguration. Refer to Figure 6 Describes the detailed calculation of weighted values.
[0075] According to an embodiment, processor 210 may stop measuring the accumulated usage time when there is no user touch input within a reference time period. Since the screen of display 220 is not used during the time when there is no user touch input, if the time period when display 220 is off is used to calculate the brightness usage trend, the brightness usage trend may be distorted. The reference time may be configured at the time when electronic device 200 is manufactured and stored in memory 250, or may be changed depending on user settings.
[0076] According to various embodiments, when the display 220 is operating and the automatic brightness mode is turned on, the processor 210 may measure the accumulated usage time. In the automatic brightness mode, even if the user does not configure the brightness of the display 220, the processor 210 may automatically control the brightness of the display 220 according to the brightness data. In the manual brightness mode, the processor 210 may configure the brightness of the display 220 based on user input rather than brightness data. For example, the first brightness mapped to the brightness data in the first illumination environment is not configured as the brightness of the display 220, but the second brightness configured by the user may be determined as the brightness of the display 220, and the brightness configured by the user may be maintained regardless of changes in illumination.
[0077] According to various embodiments, the processor 210 can balance the brightness data to prevent an inversion phenomenon in which the brightness value mapped to the high illuminance value becomes lower than the brightness value mapped to the low illuminance value when the brightness data is reconfigured. When the brightness data is reconfigured based on user input, an inversion phenomenon occurs in which the brightness increases when the illuminance becomes lower than the illuminance segment in which the brightness is changed by the user, or the brightness decreases when the illuminance increases. In order to prevent the inversion phenomenon, when reconfiguring the brightness data, the processor 210 can perform a process of performing a balancing process taking into account event information. The processor 210 can configure the brightness data to increase the brightness according to the increase in illuminance through a balancing process, thereby preventing the inversion phenomenon. According to an embodiment, the processor 210 can balance the brightness data by changing the brightness value mapped to the illuminance segment adjacent to the illuminance segment in which the brightness is changed by the user.
[0078] Figure 3 A brightness data configuration system of an electronic device according to various embodiments is shown.
[0079] Reference Figure 3 , the electronic device 300 may include a data module 310, a timer 320, a time statistics module 330, a trend (continuity) statistics module 340, a brightness configuration module 350, a reset module 360, and a brightness data reconfiguration module 370. These elements may be interconnected in organization to operate, and various elements may be added in addition to the elements shown. The components (or modules) shown are software modules and may be executed by a processor (e.g., Figure 2 processor 210) to operate.
[0080] According to various embodiments, the timer 320 may measure the time for which a user maintains a specific brightness when the electronic device 300 is in an active state. The active state may be a display (e.g., Figure 2The display 220 is in operation and configured to be in the automatic brightness mode. According to an embodiment, since the state of configuring the manual brightness mode is not an active state, the usage time may not be used. The processor may measure the usage time after switching to the automatic brightness mode based on user input.
[0081] According to various embodiments, the timer 320 may receive information about the brightness of the display screen used by the user from the data module 310. The timer 320 may measure the cumulative usage time of each brightness based on the received information. For example, the timer 320 may receive information about the user's touch input from the information collected by the data module 310. When no touch input is received for a reference time or longer, it may be considered that the electronic device 300 is not in use, and the measurement of the usage time may be suspended. Thereafter, when the touch input is received again, it may be considered that the user has started using the electronic device, and the measurement of the usage time may be resumed.
[0082] According to various embodiments, the processor may collect at least some illumination information and the illumination information from the illumination sensor (e.g., Figure 2 The display brightness attribute recognized by the illumination sensor 240 and the accumulated usage time measured by the timer 320 are stored in a memory (e.g., Figure 2 The display brightness attributes may include at least one of a brightness trend (continuity) for each illumination segment, a brightness usage pattern in night mode, a brightness usage pattern for each application running in the foreground, a brightness usage pattern for each color (color temperature), a brightness usage pattern according to battery level, and a frequency of user touch input when a specific application is being used. For example, when a user frequently uses an application including a white UI, the processor may detect how the user configures the display screen brightness to use the white UI, generate a brightness usage pattern for each color, and send information about the pattern to the data module 310.
[0083] According to various embodiments, the processor may transmit the information stored in the data module 310 to the components of the electronic device 300, including at least one of the timer 320, the time statistics module 330, and the trend (continuity) statistics module 340. The calculation performed by at least one component of the electronic device 300 may be performed based on the information stored in the data module 310. For example, the time weighted value calculated by the time statistics module 330 may require the display brightness level under a specific illumination environment and information about the usage time. The processor may collect relevant information and transmit the required information to the time statistics module 330 via the data module 310.
[0084] According to various embodiments, the time statistics module 330 can collect information about the cumulative usage time of each illuminance and calculate a time weighted value. The time weighted value can be determined in proportion to the time the user actually uses the corresponding brightness. For example, when a user uses a specific brightness for a longer time, a higher weighted value can be assigned. For example, if a user uses 100 nits for 1 hour and 200 nits for 2 hours at a first illuminance, the time weighted value for 100 nits can be calculated as 1, and the time weighted value for 200 nits can be calculated as 2.
[0085] According to various embodiments, the time statistics module 330 may receive brightness change event information and information about the user's brightness usage pattern from the data module 310 and the timer 320. The time statistics module 330 may receive information about the cumulative usage time of each illuminance measured by the timer 320 and calculate a time weighted value based on the information.
[0086] According to various embodiments, the continuity statistics module 340 may collect information about a user's brightness usage pattern and calculate a continuity weighted value. The continuity weighted value may be a value obtained by analyzing a user's brightness usage pattern under a specific illumination. For example, a user's preference for higher brightness of a display screen in a low-illuminance environment may be reflected in the calculation of the continuity weighted value, and thus a higher continuity weighted value may be assigned to maintain higher screen brightness in a lower-illuminance environment.
[0087] According to various embodiments, the processor may calculate the brightness weighted value according to the following [Formula 1].
[0088] [Formula 1]
[0089] W n =f(T n , C n )=T n +C n
[0090] W n : Brightness weighted value
[0091] T n : Time weighted value
[0092] C n : Continuity weighted value
[0093] According to various embodiments, the time weighting value (T n ) and continuity weighted value (C n) are added to calculate the brightness weighted value. For example, when the usage time is 10 hours and the event continuity value is 30, the brightness weighted value may be calculated as 40. The brightness weighted value may determine the importance of the corresponding brightness value reflected in the reconfiguration of the brightness data.
[0094] [Formula 2]
[0095]
[0096] According to various embodiments, the processor may reconfigure the brightness data according to [Formula 2] above. B1, B2, etc. are different brightnesses for specific illuminations, and W1, W2, etc. are corresponding brightness weighted values. Information about brightness change events may be stored in a memory (e.g., Figure 2 The information is stored in the memory 250 of FIG. 1 , and the processor can use the information to calculate the brightness weighting value and reconfigure the brightness data.
[0097] According to various embodiments, the time statistics module 330 and the continuity statistics module 340 may transmit the collected information about the cumulative usage time of each illuminance, the user brightness usage pattern, and the calculated brightness weighted value to the brightness configuration module 350 .
[0098] According to various embodiments, when the user changes the brightness to a value different from the value of the brightness data mapped to a specific illuminance, the processor may generate temporary brightness data in the brightness configuration module 350. The brightness configuration module 350 may generate the temporary brightness data based on the event information and the brightness weighted value received from the time statistics module 330 and the continuity statistics module 340. Before the brightness data is reconfigured due to the reset condition being met, the processor may change the display brightness according to the temporary brightness data generated by the brightness configuration module 350. For example, the processor may obtain the brightness from the illuminance sensor (e.g., Figure 2 The illuminance sensor 240 receives information about the current illuminance value and determines the luminance value mapped to the corresponding illuminance value in the temporary luminance data generated by the luminance configuration module 350 as the display screen brightness. The luminance configuration module 350 may change the temporary luminance data whenever a user input is received. Since multiple user inputs may be received even before the luminance data is reconfigured, the temporary luminance data may be continuously changed. According to embodiments, when generating temporary luminance data, the luminance configuration module 350 may also change the luminance mapped to luminance segments adjacent to the luminance segment whose luminance is changed by the user input.
[0099] According to various embodiments, the reset module 360 may determine whether a reset condition is satisfied. The reset module 360 may receive at least one piece of information about the illumination around the electronic device 300 and information indicating whether the display is operating from the data module 310. When the reset condition is satisfied, the reset module 360 may determine that the reset condition is satisfied, and the brightness data reconfiguration module 370 may support resetting the brightness data.
[0100] According to various embodiments, when the brightness configuration module 350 reflects the temporary brightness data, the time weighting value, and the continuity weighting value, the brightness data reconfiguration module 370 may reconfigure the brightness data taking into account all event information. According to embodiments, when reconfiguring the brightness data, the brightness data reconfiguration module 370 may also change the brightness of the brightness segments mapped to adjacent brightness segments whose brightness was changed by the user input. When the reset module 360 determines that the reset condition is satisfied, the brightness data reconfiguration module 370 may reconfigure the brightness data. When reconfiguring the brightness data, the brightness data reconfiguration module 370 may initialize the temporary brightness data.
[0101] According to various embodiments, the luminance data reconfiguration module 370 may process a balance while reconfiguring the luminance data. When the luminance is changed only in the luminance zone that generated the luminance change event, an inversion phenomenon may occur. Therefore, the luminance data reconfiguration module 370 may process a balance to prevent the inversion phenomenon. For example, the luminance value of the luminance zone adjacent to the luminance zone that generated the luminance change event may be mapped.
[0102] Figure 4 A weighted value scenario based on the accumulated usage time of an electronic device according to various embodiments is illustrated.
[0103] According to the embodiment, for the convenience of description, Figure 4 The brightness is shown in a graph form by way of example, but the brightness data is not limited thereto. For example, the brightness data may include tabular data, and the visualized tabular data may have Figure 4 Shown in form.
[0104] Reference Figure 4 , processors (e.g., Figure 2 The processor 210 of the embodiment can reconfigure the brightness data based on the user's accumulated brightness usage time. Figure 2 The brightness data in the memory 250 of the electronic device may be configured as shown in FIG410. According to an embodiment, the default brightness data 411 may be stored in the memory when the electronic device is manufactured. The brightness also increases as the illuminance increases, and the processor may obtain the brightness data from the illuminance sensor (e.g., Figure 2 The illuminance sensor 240) obtains illuminance information and displays the display (eg, Figure 2The brightness of the display 220 of the electronic device is determined as the brightness value mapped to the illuminance value around the electronic device in the brightness data.
[0105] According to various embodiments, the processor can change the display brightness based on user input. The brightness data and temporary brightness data 421 generated by the user input can be configured as shown in Figure 420. When the user changes the brightness from y1 to y2 in an environment with an illuminance of x1423, the processor can generate temporary brightness data 421 reflecting the corresponding user input. The processor can handle the balance by not only changing the brightness mapped to the illuminance x1 of the input user touch, but also changing the brightness value mapped to the adjacent illuminance segment. Since the reset condition is met, before the brightness data is reconfigured, the processor can determine the display brightness as the brightness value mapped to the generated temporary brightness data 421. For example, after generating a brightness change event, the processor can determine that the display brightness in an environment with an illuminance of x1423 is y2.
[0106] According to various embodiments, when a reset condition is met, the processor may reconfigure the brightness data. The processor may reconfigure the brightness data based on at least one of the user's cumulative brightness usage time and the difference between the brightness changed before and after the reconfiguration. Graph 430 shows brightness data 411 and temporary brightness data 421 before the reconfiguration, as well as brightness data 431 after the reconfiguration. The reconfigured brightness data 431 may be configured to be closer to the temporary brightness data 421 from the brightness data 411 before the reconfiguration.
[0107] For example, a first event may be generated in which the display brightness, which is set to 200 nits in an environment with an illuminance of 300 lx in the brightness data 411, is changed to 250 nits and the electronic device is used for one hour. Thereafter, when the reset condition is satisfied, the display brightness may be set between 200 nits and 250 nits in the brightness data 431 that is newly set in an environment with an illuminance of 300 lx.
[0108] According to various embodiments, the processor may calculate a time-weighted value and a continuity-weighted value and reconfigure the brightness data based on them. Graph 440 illustrates reconfigured brightness data 441 when the usage time differs from the brightness changed by the user. The processor may reconfigure the brightness data based on the usage time at the corresponding brightness. For example, when the usage time at a specific brightness value is longer, the brightness data may be reconfigured to have a higher weighted value. For example, when the first event is generated for 5 hours, the processor may reconfigure the brightness data to be closer to the temporary brightness data 421 than shown in graph 430.
[0109] For example, a first event may be generated in which a user uses an electronic device at 500 lx illuminance with a brightness of 180 nits mapped to brightness data for 1 hour, moves to 0 lx illuminance and uses the electronic device at a brightness of 10 nits mapped to brightness data for 0.1 hour, changes the display brightness to 100 nits and uses the electronic device at the same illuminance for 1 hour, and then moves to 500 lx illuminance and uses the electronic device at a brightness of 180 nits mapped to brightness data for 2 hours. Thereafter, when a reset condition is met, the processor may learn the 0 lx and 500 lx segments. This can be shown in the table below.
[0110] [Table 1]
[0111]
[0112]
[0113] [Formula 3]
[0114]
[0115] When the continuity weighting value is assumed to be 0, only one luminance (180 nits) is used in the 500 lx segment, and therefore luminance learning may not be performed, and the luminance weighting value calculated in the 0 lx segment may be a time-weighted value and calculated as shown in [Formula 3]. When reconfiguring the luminance data, the processor may configure the luminance in 0 lx to be 91.9 instead of 10. The processor may also control the luminance value of illuminances greater than or equal to 0 lx to prevent inversion. For example, the processor may control all luminance values mapped to illuminance segments greater than or equal to 0 lx to be greater than or equal to 91.9 nits.
[0116] Figure 5 A brightness configuration continuity weighting value scenario of an electronic device according to various embodiments is shown.
[0117] According to the embodiment, for the convenience of description, Figure 5 The brightness is shown in a graph form by way of example, but the brightness data is not limited thereto. For example, the brightness data may include tabular data, and the visualized tabular data may have Figure 5 The form shown.
[0118] Reference Figure 5 , processors (e.g., Figure 2 The processor 210 of the embodiment can reconfigure the brightness data based on the brightness configuration continuity of the user. Figure 2The brightness data in the memory 250 of the electronic device may be configured as shown in FIG510. According to an embodiment, the default brightness data 511 may be stored in the memory when the electronic device is manufactured. The brightness also increases as the illuminance increases, and the processor may obtain the brightness data from the illuminance sensor (e.g., Figure 2 The illuminance sensor 240) obtains illuminance information and displays the display (eg, Figure 2 The brightness of the display 220 of the electronic device is determined as a brightness value mapped to the illuminance value around the electronic device in the brightness data 511.
[0119] According to various embodiments, the processor can change the display brightness based on user input. The brightness data and temporary brightness data 521 generated by the user input can be configured as shown in diagram 520. When the user changes the brightness in an environment with illuminance values of x2523 and x3525, the processor can generate temporary brightness data 521 reflecting the corresponding user input. The processor can also change the brightness values mapped to the illuminance segments adjacent to the segments with illuminance values of x2523 and x3525 to prevent inversion.
[0120] According to various embodiments, when a reset condition is met, the processor may reconfigure the brightness data. Graph 530 shows brightness data 511 and temporary brightness data 521 before reconfiguration, as well as brightness data 531 after reconfiguration. Before reconfiguration, reconfigured brightness data 531 may be located between brightness data 511 and temporary brightness data 521. Taking into account the continuity weighting value, the processor may configure the brightness data differently. Because a user more frequently uses the electronic device with altered brightness compared to the brightness value mapped to the traditional brightness data 511, the brightness data may be reconfigured to be closer to the temporary brightness data 521. For example, if a user tends to more frequently use a higher brightness than the value mapped to the brightness data in low-illuminance environments and more frequently use a lower brightness than the value mapped to the brightness data in high-illuminance environments, when reconfiguring the brightness data, the processor may map a higher brightness value to the segment including illuminance value x2 and a lower brightness value to the segment including illuminance value x3. According to embodiments, the processor may track the user's usage patterns and continuously calculate and reflect the continuity weighting value. For example, if the user uses higher brightness more frequently at lower illuminance and the tendency to use lower brightness at higher illuminance increases, the brightness may be reconfigured to be closer to temporary brightness data 521 as shown in graph 540 rather than brightness data 511 before reconfiguration.
[0121] According to various embodiments, when reconfiguring brightness data, the processor may process the balance by also changing brightness values mapped to brightness zones adjacent to the brightness zone where the user changes brightness.
[0122] For example, a first event can be generated in which a user uses an electronic device for 50 hours at 0 lx illuminance with a brightness of 91.9 nits mapped to brightness data, and then uses the electronic device for one hour at the same illuminance, changing the display brightness to 180 nits. Thereafter, when a reset condition is met, the processor can process learning for the 0 lx segment. Thereafter, a second event can be generated in which the display brightness is changed from 93.6 nits to 180 nits at the same illuminance, and the reset condition is met, so the processor can process learning for the 0 lx segment again. This can be shown in the table below.
[0123] [Table 2]
[0124]
[0125]
[0126] [Formula 4]
[0127] B1=91.9nit, W1=50 (T1=50, C1=0)
[0128] [Formula 5]
[0129] B2=180nit, W2=1 (T2=1, C2=0)
[0130] [Formula 6]
[0131]
[0132] [Formula 4] to [Formula 6] are the first learning process in the 0lx segment. The processor can use the brightness data of the event information that is reconfigured as a brightness change event for 1 month. When the user uses the electronic device at 91.9nits for 50 hours at 0lx, changes 91.9nits to 180nits, and uses it for 1 hour, and then reconfigures the brightness data, the above [Formula 6] can be established when it is assumed that there is no continuity weighted value (C1, C2). The reconfigured brightness data can map the illuminance of 0lx and the brightness of 93.6nits. Thereafter, the processor can determine the display brightness as 93.6nits under the illumination environment of 0lx.
[0133] [Formula 7]
[0134] B1=93.6nit, W1=51 (T1=51, C1=0)
[0135] [Formula 8]
[0136] B2=180nit, W2=101(T2=1, C2=100)
[0137] [Formula 9]
[0138]
[0139] [Formula 7] to [Formula 9] are the second learning process in the 0lx segment. The processor can store the previously reconfigured brightness data in the memory and use the data. When the user changes the brightness to 180nits at 0lx and uses the electronic device for 1 hour, and then meets the reset condition and thus reconfigures the brightness data, the processor can perform the calculation shown in [Formula 9] above. In [Formula 8], the continuity weighted value of the second event, such as C2, is configured to be 100, where the user changes the brightness from, for example, 93.6nits to 180nits. The continuity weighted value can be calculated by considering at least one of the differences between the brightness changed by the user before the reconfiguration and the time between the brightness change after the brightness data reconfiguration and reconfiguration. Thereafter, the processor can determine the display brightness to be 151nits in an environment of 0lx.
[0140] Figure 6 A scenario of calculating usage time of each brightness of a continuity weighted value of an electronic device according to various embodiments is illustrated.
[0141] According to various embodiments, a processor (e.g., Figure 2 The processor 210 of the embodiment may calculate a continuity weighted value for reconfiguring brightness data. The processor may calculate the continuity weighted value by considering at least one of the user's brightness configuration, usage time, brightness configuration according to battery level, brightness configuration according to applications running in the foreground or background, brightness configuration according to the color of each UI, and brightness configuration when running night mode, or one of a combination of two or more thereof, but the present disclosure is not limited thereto.
[0142] According to various embodiments, when calculating the continuity weighted value taking into account the brightness configuration, the processor may calculate the continuity weighted value taking into account the difference between the brightness changed before reconfiguration and the brightness changed after reconfiguration and / or the time taken until the user changes the brightness again after the brightness data is reconfigured. Figure 6 600 shows a case where the user reconfigures the brightness data after the brightness is changed. When the ambient illuminance of the electronic device is a first illuminance, the processor may configure the display according to the value mapped to the first brightness data (eg, Figure 2The brightness of the display 200 is B0. Thereafter, when the user changes the brightness to B1, the processor may generate temporary brightness data and change the brightness value in the first illuminance to B1. Subsequently, when the reset condition is satisfied at T1, the brightness data may be reconfigured. When the brightness data is reconfigured, the user has already changed the brightness from B0 to B1, and therefore, the value higher than B0 is the value of the first illuminance mapped to the brightness data before the reconfiguration. When the user changes the brightness to B2 again at T2 and the brightness data is reconfigured at T3, the reconfigured brightness data may be configured so that the value mapped to the first illuminance is closer to B1 than to B0.
[0143] According to various embodiments, the processor may calculate the continuity weighted value in consideration of the difference between the brightness (B1) changed by the user before the brightness data reconfiguration and the brightness (B2) changed by the user after the reconfiguration. When the difference between B1 and B2 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 B1 and B2 is larger, it is determined that the user is unlikely to use the corresponding brightness, and a lower continuity weighted value may be assigned. According to an embodiment, when the difference between B1 and B2 (B threshold ) is greater than or equal to a predetermined value, the processor may calculate the continuity weighted value as 0.
[0144] According to various embodiments, the processor may calculate the continuity weighted value by considering the time between the time point (T1) when the brightness data is reconfigured and the time point (T2) when the brightness change event of the user is generated. When the interval between T1 and T2 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, when the interval between T1 and T2 is longer, it is determined that the user is unlikely to use the corresponding brightness, and a lower continuity weighted value may be assigned. According to an embodiment, when the interval between T1 and T2 (T threshold ) is greater than or equal to a predetermined value, the processor may calculate the continuity weighted value as 0.
[0145] According to various embodiments, an electronic device (e.g., electronic device 101, electronic device 200, or electronic device 300) includes a display (e.g., display module 160 or display 220), a touch sensor (e.g., touch sensor 230) configured to receive a user's touch input and generate touch information, an illuminance sensor (e.g., illuminance sensor 240) configured to detect ambient illuminance and generate illuminance information, a memory (e.g., memory 130 or memory 250) configured to store brightness data of a relationship between ambient illuminance and brightness of the display, and a memory operably connected to the display. A processor (e.g., processor 120 or processor 210) including a display, an illuminance sensor, a touch sensor, and a memory, wherein the processor can be configured to identify illuminance information from the illuminance sensor, configure the brightness of the display to a first brightness, change the brightness of the display to a second brightness based on user input based on the illuminance information and the brightness data, obtain event information of an operation for changing the brightness of the display, 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 the illuminance value identified by the illuminance sensor in the reconfigured brightness data.
[0146] According to various embodiments, the processor may be configured to, when the brightness of the display is changed to a second brightness based on user input, generate temporary brightness data based on the changed brightness, and determine the brightness of the display based on a brightness value mapped to illuminance information in the temporary brightness data before the brightness data is reconfigured.
[0147] According to various embodiments, the processor may be configured to, when generating temporary brightness data, also change a brightness value mapped to illuminance within a reference range of illuminance in which the brightness is changed.
[0148] According to various embodiments, the processor may be configured to calculate a time weighting value and a continuity weighting value based on the event information, and further reconfigure the brightness data using the calculated time weighting value and continuity weighting value.
[0149] According to various embodiments, the processor may be configured to calculate the continuity weighted value in consideration of the time taken until the brightness is changed again after the brightness data is reconfigured and the difference between the brightness changed by the user before the reconfiguration and the brightness changed after the reconfiguration.
[0150] According to various embodiments, the processor may be configured to reconfigure the brightness data when at least one of the following conditions is satisfied: the display is not operated for longer than a predetermined reset time; and the display is operated at an illuminance value different from the illuminance value detected by the illuminance sensor when the display was last operated.
[0151] 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 of illuminance in which the brightness is changed.
[0152] According to various embodiments, the processor may be configured to recognize touch information from the touch sensor and, when no touch input is received for longer than or equal to a reference time, exclude the corresponding time from calculation of the accumulated usage time based on the touch information.
[0153] According to various embodiments, the illuminance sensor may be configured to measure illuminance in sections divided at predetermined intervals.
[0154] According to various embodiments, the processor may be configured to generate event information when the display operates based on a user input and the automatic brightness mode is configured.
[0155] Figure 7 is a flowchart illustrating an automatic brightness learning method of an electronic device according to various embodiments.
[0156] The method shown can be performed by an electronic device (e.g., Figure 1 electronic device 101, Figure 2 electronic device 200 or Figure 3 At least one element (eg, Figure 1 Processor 120 or Figure 2 , and the description of the technical features described above may be omitted below.
[0157] According to various embodiments, in operation 710, the electronic device may refer to an illuminance sensor (eg, Figure 2 The illuminance sensor 240) identifies the illuminance information and brightness data to configure the display (for example, Figure 2 The illuminance value and the display brightness value in the corresponding illuminance value can be mapped in the brightness data. For example, when the brightness data has a chart form, the x-axis of the chart can indicate the ambient illuminance of the electronic device, and the y-axis can indicate the brightness of the display screen. The electronic device can receive information indicating the current ambient illuminance value of the electronic device from the illuminance sensor, and store it in a memory (e.g., Figure 2 The electronic device may find a brightness value corresponding to the corresponding illuminance value in the brightness data stored in the memory 250 of the electronic device and configure the brightness value to the corresponding illuminance value. For example, when the ambient illuminance of the electronic device is a first illuminance, the electronic device may control the display brightness to be a first brightness value mapped to the first illuminance value in the brightness data. Thereafter, when the ambient illuminance of the electronic device changes to a second illuminance, the electronic device may control the display brightness to be a second brightness value mapped to the second illuminance value in the brightness data.
[0158] According to various embodiments, the electronic device may receive an input by a user for changing brightness in operation 711. The processor may control the display brightness according to the user input.
[0159] According to various embodiments, when a brightness change event is generated based on user input, the electronic device may change the display brightness in operation 720. According to an embodiment, the electronic device may provide a brightness control UI for allowing a user to control the brightness of the display screen. The brightness control UI may be configured as a bar and may change the brightness of the display from minimum brightness to maximum brightness based on user input. For example, a user may change the brightness of the screen to brighter or darker by touching the brightness control UI and then dragging it up or down.
[0160] According to various embodiments, in operation 730, the electronic device may map the illuminance of the brightness change event generated by the user and the changed screen brightness to generate event information. For example, in the brightness data, the value mapped to the first illuminance value is the first brightness value, and a first event in which the user changes the second brightness value 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 the first event information. According to an embodiment, the electronic device may also map information about the time when the brightness change event was generated by the user to generate event information. The time information may include information about the time when the user changed the brightness and / or the accumulated time of using the changed brightness. The electronic device may store the generated event information in a memory. The brightness change event may be accumulated before the brightness data reconfiguration (graphic reconfiguration) is generated and stored in the memory.
[0161] According to various embodiments, the electronic device can generate event information for each illumination segment. The length of each illumination segment can be configured to be longer or shorter based on the user's configuration. When the illumination segment length is shorter, the electronic device is more sensitive to illumination changes and can more accurately reflect the user's brightness setting.
[0162] According to various embodiments, in operation 740, the electronic device may generate temporary brightness data obtained by reconfiguring the brightness data stored in the memory based on the acquired event information. The electronic device may immediately reflect the brightness change event in the brightness data to generate temporary brightness data. The electronic device may control the display screen brightness based on the generated temporary brightness data. For example, the display brightness may be configured as a brightness value mapped to the illuminance value in the temporary brightness data. The electronic device may continuously modify the temporary brightness data based on the brightness data according to user input. The electronic device may configure the display brightness to a brightness value mapped to the current illuminance value with reference to the modified temporary brightness data.
[0163] According to various embodiments, when generating temporary brightness data, the electronic device may also change the brightness value mapped to the illuminance within the reference illuminance range in which the brightness change event is generated. The reference range may vary depending on the level of brightness change. By also changing the brightness value mapped to the illuminance within the reference illuminance range in which the brightness change event is generated, it is possible to prevent the inversion phenomenon where the illuminance decreases but the brightness increases.
[0164] According to various embodiments, in operation 750, the electronic device may determine whether a reset condition is met. When the reset condition is met ("Yes" of operation 750), the electronic device may reconfigure the brightness data. The reset condition may include at least one of the display not operating for a reset time or longer and the display operating at an illumination value different from the illumination value detected by the illumination sensor when the display was last operated. The reset time may vary depending on user settings, and when the reset time is shorter, the electronic device may quickly learn the brightness change event to reconfigure the brightness data. When determining whether the display is operating in an illumination environment different from the illumination environment in the last operation, if the illumination value is different but the illumination range is the same, the data may not be reconfigured. The electronic device may store the event information of the brightness change event in a memory before the reset condition is met (e.g., "No" of operation 750), and when the reset condition is met, the brightness data may be reconfigured with reference to the accumulated event information.
[0165] According to various embodiments, in operation 760, the electronic device may reflect the accumulated event information to reconfigure the brightness data. The electronic device may reconfigure the brightness data by considering at least one of the brightness used by the user for each illuminance, the usage time, and the brightness continuity. The electronic device may calculate a brightness weighted value by using the accumulated event information to reconfigure the brightness data. The brightness weighted value may include at least one of a time weighted value and a trend weighted value. When a specific brightness value is used for a longer time in a specific illumination environment, a time weighted value may be assigned. The continuity weighted value may be calculated by considering the time it takes to change the brightness after reconfiguring the brightness data at the corresponding illuminance and the difference between the brightness changed by the user before reconfiguration and the brightness changed after reconfiguration.
[0166] According to various embodiments, when there is no user touch input within a reference time, the electronic device may suspend measurement of accumulated usage time. Since the display screen appears unused during the time without user touch input, the continuity of brightness usage may be distorted when reflecting the corresponding time. The reference time may vary depending on user settings.
[0167] According to various embodiments, when the display is operating and automatic brightness mode is on, the electronic device can measure the accumulated usage time. Even if the user does not configure the display brightness, the electronic device can automatically control the display brightness based on brightness data in automatic brightness mode. In manual brightness mode, the electronic device can configure the display brightness based on user input rather than brightness data.
[0168] According to various embodiments, when the brightness data is reconfigured, the electronic device can process the balance. When the brightness data is reconfigured based on the user input, an inversion phenomenon occurs in which the brightness increases when the illuminance becomes lower than the illuminance segment whose brightness is changed by the user, or the brightness decreases when the illuminance increases. When the brightness data is reconfigured, the electronic device can perform a balance process taking into account the event information to prevent the inversion phenomenon. When the brightness data is configured to increase the brightness as the illuminance increases, the inversion phenomenon can be prevented. According to an embodiment, the electronic device can process the balance by also changing the brightness value mapped to the illuminance segment adjacent to the illuminance segment whose brightness is changed by the user.
[0169] 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 these elements may be organically connected to each other to operate.
[0170] According to various embodiments, a timer may measure the time a user maintains a specific brightness setting while the electronic device is in an active state. The active state may be a state in which the display is operating and configured in automatic brightness mode. According to embodiments, since a state in which manual brightness mode is configured is not an active state, usage time may not be used. The electronic device may measure usage time after switching to automatic brightness mode based on user input.
[0171] According to various embodiments, the timer may receive information about the brightness of the display screen used by the user from the data module. The timer may measure the cumulative usage time of each brightness based on the received information. For example, the timer may receive information about the user's touch input from the 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 in use, and the measurement of the usage time may be suspended. Thereafter, when the touch input is received again, it may be considered that the user has started using the electronic device again, and the measurement of the usage time may be resumed.
[0172] According to various embodiments, the electronic device may collect and store at least one of illuminance information received from an illuminance sensor and display brightness attributes and cumulative usage time measured by a timer through a data module. The display brightness attributes may include brightness continuity for each illuminance segment, a brightness usage pattern in night mode, a brightness usage pattern for each application running in the foreground, a brightness usage pattern for each color (color temperature), a brightness usage pattern according to battery level, and at least one of the frequency of user touch input when a specific application is being used. For example, when a user frequently uses an application including a white UI, the electronic device may detect how the user configures the display screen brightness when using the white UI, so as to generate a brightness usage pattern for each color and send information about the pattern to the data module.
[0173] According to various embodiments, the electronic device can send the information stored in the data module to each component of the electronic device, including at least one of a timer, a time statistics module, and a continuity statistics module. The components of the electronic device are organically connected to each other, and the calculations performed by each module can be performed based on the information stored in the data module. For example, the time-weighted value calculated by the time statistics module may require information about the level of display brightness and usage time under a specific illumination environment. The electronic device can collect relevant information and send the required information to the time statistics module via the data module.
[0174] According to various embodiments, the time statistics module can calculate a time weighting value by collecting information about the cumulative usage time of each illuminance. The time weighting value can be determined proportionally to the time the user uses the corresponding brightness. For example, when a specific brightness is used for a longer time, the weighting value assigned is higher.
[0175] According to various embodiments, the time statistics module may receive brightness change event information and information about the user's brightness usage pattern from the data module and the timer. The time statistics module may receive information about the cumulative usage time of each illuminance measured by the timer and calculate a time weighted value based on the information.
[0176] According to various embodiments, the continuity statistics module may calculate a continuity weighted value by collecting information about a user's brightness usage pattern. The continuity weighted value may be a value obtained by analyzing a user's brightness usage pattern under specific illumination. For example, by reflecting a user's preference for higher display screen brightness in a lower illumination environment in the calculation of the continuity weighted value, a higher continuity weighted value may be assigned to maintain higher screen brightness even in a lower illumination environment.
[0177] According to various embodiments, the electronic device can calculate the time weighted value (T n ) and continuity weighted value (C n) are added to calculate the brightness weighted value. For example, when the usage time is 10 hours and the event continuity value is 30, the brightness weighted value may be calculated as 40. The brightness weighted value may determine the importance of the corresponding brightness value reflected in the reconfiguration of the brightness data.
[0178] According to various embodiments, the electronic device may reconfigure the brightness data. Information about the brightness change event may be stored in a memory for each segment, and the electronic device may calculate a brightness weighted value using the information and reconfigure the brightness data.
[0179] According to various embodiments, the time statistics module and the continuity statistics module may transmit the collected information on the cumulative usage time of each illuminance, the user's brightness usage pattern, and the calculated brightness weighted value to the brightness configuration module.
[0180] According to various embodiments, when a user changes the brightness to a value different from the value mapped to the brightness data at a specific illuminance, the electronic device may generate temporary brightness data in the brightness configuration module. The brightness configuration module may generate the temporary brightness data based on the brightness weighted value and event information received from the time statistics module and the continuity statistics module. Before reconfiguring the brightness data due to satisfying a reset condition, the electronic device may change the display brightness based on the temporary brightness data generated by the brightness configuration module. For example, information about the current illuminance value may be received from the illuminance sensor, and the brightness value mapped to the corresponding illuminance value in the temporary brightness data generated by the brightness configuration module may be determined as the brightness of the display screen. The brightness configuration module may change the temporary brightness data whenever a user input is received. Since multiple user inputs may be received even before the brightness data is reset, the temporary brightness data may be continuously changed. According to an embodiment, when generating the temporary brightness data, the brightness configuration module may also change the brightness of the illuminance segments adjacent to the illuminance segment whose brightness is changed by the user input.
[0181] According to various embodiments, a reset module may determine whether a reset condition is satisfied. The reset module may receive at least one of information regarding illumination information surrounding the electronic device and whether the display is operating 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 reconfiguration of the brightness data.
[0182] According to various embodiments, the brightness data reconfiguration module may reconfigure the brightness data by taking into account 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 the brightness data, the brightness data reconfiguration module may also change the brightness of the brightness segments mapped to the brightness segments adjacent to the brightness segment whose brightness was changed by the 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 the temporary brightness data.
[0183] According to various embodiments, the luminance data reconfiguration module may process balancing while reconfiguring luminance data. When luminance is changed only in the luminance segment that generated the luminance change event, an inversion phenomenon may occur. Therefore, the luminance data reconfiguration module may process balancing to prevent the inversion phenomenon. For example, the luminance value mapped to the luminance segment adjacent to the luminance segment that generated the luminance change event may also be changed.
[0184] The electronic device can reconfigure brightness data based on the cumulative usage time of the brightness by the user. According to an embodiment, the default brightness data can be stored in the memory when the electronic device is manufactured. Brightness increases as the illuminance increases. The electronic device can obtain illuminance information from the illuminance sensor and determine the display brightness as the brightness value mapped to the illuminance value around the electronic device in the brightness data.
[0185] According to various embodiments, the electronic device may change the display brightness based on user input. When the user changes the brightness, the electronic device may generate temporary brightness data reflecting the corresponding user input. The electronic device may handle the balance by not only changing the brightness mapped to the illuminance of the input user touch, but also changing the brightness value mapped to the adjacent illuminance segment. Before reconfiguring the brightness data due to satisfying the reset condition, the electronic device may determine the display brightness as the brightness value mapped to the generated temporary brightness data. For example, after generating a brightness change event, the electronic device may determine the display brightness as the changed value in the same illuminance environment.
[0186] According to various embodiments, when a reset condition is satisfied, the electronic device may reconfigure the brightness data. The electronic device may reconfigure the brightness data taking into account at least one of the user's cumulative usage time of the brightness and the difference between the brightness changed before and after the reconfiguration. The reconfigured brightness data may be configured to be closer to the temporary brightness data from the brightness data before the reconfiguration.
[0187] According to various embodiments, the electronic device may calculate a time weighting value and a continuity weighting value and reconfigure the brightness data based on them. The electronic device may reconfigure the brightness data based on the usage time of the corresponding brightness. For example, if the usage time at a specific brightness value is longer, the brightness data may be reconfigured to have a higher weighting value.
[0188] The electronic device can reconfigure brightness data based on the user's brightness configuration continuity. According to an embodiment, default brightness data can be stored in a memory when the electronic device is manufactured. Brightness increases as illuminance increases, and the electronic device can obtain illuminance information from an illuminance sensor and determine the display brightness as the brightness value mapped to the illuminance value around the electronic device in the brightness data.
[0189] According to various embodiments, an electronic device may change display brightness based on user input. When the user changes the 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 luminance segment adjacent to the luminance segment where the user changed the brightness to prevent inversion.
[0190] According to various embodiments, when a reset condition is met, 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. Taking into account the continuity weighted value, the electronic device may configure the shape of the chart differently. Since the user is more likely to use the changed brightness compared to 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 a higher brightness than the value mapped to the brightness data in a lower illumination environment, and is more likely to use a lower brightness than the value mapped to the brightness data in a higher illumination environment, when reconfiguring the brightness data, the electronic device may map the higher brightness value to the lower illumination segment, and map the lower brightness value to the higher illumination segment. According to an embodiment, the electronic device may continuously calculate and reflect the continuity weighted value by tracking the user's usage pattern.
[0191] According to various embodiments, when reconfiguring brightness data, the electronic device may process the balance by also changing brightness values mapped to luminance zones adjacent to the luminance zone in which the user changes brightness.
[0192] 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 taking into account at least one of the user's brightness configuration, usage time, brightness configuration according to battery level, brightness configuration according to applications running in the foreground or background, brightness configuration according to the color of each UI, and brightness configuration when running night mode, or one of a combination of two or more thereof, but is not limited to the above examples.
[0193] According to various embodiments, when calculating the continuity weighted value taking into account the configuration of brightness, the electronic device may calculate the continuity weighted value taking into account the difference between the brightness changed before reconfiguration and the brightness changed after reconfiguration and / or the time it takes until the user changes the brightness again. When the ambient illuminance of the electronic device is a first illuminance, the electronic device may configure the display brightness to a value mapped to the first brightness data. Thereafter, when the user changes the brightness, the electronic device may generate temporary brightness data and configure the temporary brightness data to the value to which the brightness value is changed under the first illuminance. Thereafter, the reset condition is met, and the brightness data may be reconfigured accordingly. When the brightness data is reconfigured, the user changes the brightness, and therefore a value greater than the value mapped to the first illuminance in the brightness data before reconfiguration may be mapped. When the user changes the brightness again and the brightness data is reconfigured, in the reconfigured brightness data, the value mapped to the first illuminance may be configured to be a higher value than the value mapped to the initial brightness data.
[0194] According to various embodiments, the electronic device may calculate a continuity weighted value by considering the difference between the brightness changed by the user before reconfiguration of the brightness data and the brightness changed by the user after the reconfiguration. It can be determined that when the difference between the two brightnesses is smaller, the user is more likely to use the corresponding brightness, and therefore a higher continuity weighted value can be assigned. On the other hand, it can be determined that when the difference between the two brightnesses is larger, the user is less likely to use the corresponding brightness, and therefore a lower continuity weighted value can be assigned. According to an embodiment, when the difference between the two brightnesses is greater than or equal to a predetermined value, the electronic device may calculate the continuity weighted value as 0.
[0195] According to various embodiments, the electronic device may calculate the continuity weighted value by considering the interval between the time point when the brightness data is reconfigured and the time point when the user's brightness change event is generated after the reconfiguration. It can be determined that when the interval between the two time points is shorter, the user is more likely to prefer the corresponding brightness, and therefore a higher continuity weighted value can be assigned. On the other hand, it can be determined that when the interval between the two time points is longer, the user is less likely to use the corresponding brightness, and therefore a lower continuity weighted value can be assigned. According to an embodiment, when the interval between the two time points is greater than or equal to a predetermined value, the electronic device may calculate the continuity weighted value as 0.
[0196] Figure 8 is a flowchart illustrating a method in which an electronic device generates temporary brightness data according to various embodiments.
[0197] The method shown can be performed by an electronic device (e.g., Figure 1 electronic device 101, Figure 2 electronic device 200 or Figure 3 At least one element (eg, Figure 1 Processor 120 or Figure 2 , and the description of the technical features described above may be omitted below.
[0198] According to various embodiments, the electronic device may receive user input in operation 810. The user may use the electronic device and then change the display of a specific illumination (e.g., Figure 1 Display module 160 or Figure 2 In operation 820, the electronic device can adjust the screen brightness of the display 220 by using a touch sensor (e.g., Figure 2 The touch sensor 230 receives user input and changes the display brightness in operation 820.
[0199] According to various embodiments, in operation 830, the electronic device may change the brightness value in the adjacent illumination segment. Before the brightness data is reconfigured, the electronic device may generate temporary brightness data obtained by changing the brightness data based on user input. The electronic device may change the display brightness of the electronic device according to the value mapped to the generated temporary brightness data.
[0200] According to various embodiments, the temporary brightness data may reflect the brightness changed by the user. For example, unlike the brightness data reconfigured using the brightness weight value calculated by itself, the brightness changed by the user may be mapped to the temporary brightness data.
[0201] According to various embodiments, the electronic device may process a balance of the generated temporary luminance data in operation 840. The electronic device may change the temporary luminance data based on a user input and also change luminance values mapped to luminance zones adjacent to the changed luminance zone.
[0202] Figure 9 is a flowchart illustrating a method in which an electronic device reconfigures brightness data according to various embodiments.
[0203] The method shown can be performed by an electronic device (e.g., Figure 1 electronic device 101, Figure 2 electronic device 200 or Figure 3 At least one element (eg, Figure 1 Processor 120 or Figure 2 , and the description of the technical features described above may be omitted below.
[0204] According to various embodiments, the electronic device may receive user input in operation 910. The user may use the electronic device and then change the display of a specific illumination (e.g., Figure 1 Display module 160 or Figure 2 The electronic device can adjust the screen brightness of the display 220 by a touch sensor (e.g., Figure 2 The touch sensor 230 receives user input to change the display brightness.
[0205] According to various embodiments, in operation 920, the electronic device may collect event information. When a brightness change event in which a user changes display brightness is displayed, the electronic device may collect event information about the corresponding event. The event information may include at least one of the time when the user changed the brightness, the changed brightness, information indicating the environment in which the brightness changed, and the duration for which the changed brightness was maintained. The electronic device may divide the illumination into regular or irregular intervals and collect brightness change event information generated for each corresponding segment. The electronic device may use the collected event information to reconfigure the brightness data.
[0206] According to various embodiments, in operation 930, 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 based on the accumulated event information. The time weighted value may be proportional to the time the user uses the changed brightness, and the continuity weighted value may be calculated by considering the time it takes until the brightness changes again after the brightness data is reconfigured under the corresponding illumination, and the difference between the brightness changed by the user before the reconfiguration and the brightness changed by the user after the reconfiguration.
[0207] According to various embodiments, the electronic device may determine whether a reset condition is satisfied. The reset condition may include at least one of the display not operating for a reset time or longer and the display operating at an illuminance value different from the illuminance value detected by the illuminance sensor when the display last operated.
[0208] According to various embodiments, when a reset condition is satisfied, the electronic device may reconfigure the brightness data.The electronic device may reconfigure the brightness data in consideration of the temporary brightness data, the accumulated event information, and the calculated brightness weight value.
[0209] According to various embodiments, the electronic device may change the brightness value of adjacent illuminances in operation 940. The user may change the illuminance section in which the brightness is changed and the smooth illuminance in the adjacent sections.
[0210] According to various embodiments, in operation 950, the electronic device may process a balance of the generated brightness data. The display brightness of the electronic device is adjusted so that when the illuminance is low, a lower brightness is provided to the environment, and when the illuminance is high, a higher brightness is provided to the environment. To provide the same effect, the electronic device may configure the brightness to be lower in a illuminance range lower than the illuminance at which the user changes the brightness, and higher in a illuminance range higher than the illuminance at which the user changes the brightness.
[0211] According to various embodiments, a method for controlling brightness by an electronic device may include an operation of identifying illuminance information from an illuminance sensor, an operation of configuring the brightness of a display to a first brightness based on the illuminance information and brightness data, an operation of changing the brightness of the display to a second brightness based on user input, an operation of obtaining event information for an operation to change the brightness of the display, an operation of reconfiguring brightness data stored in a memory based on the event information, and determining the brightness of the display based on a brightness value mapped to the illuminance value identified by the illuminance sensor in the reconfigured brightness data.
[0212] According to various embodiments, the operation of changing the brightness of the display to the second brightness may further include an operation of generating temporary brightness data based on the changed brightness, and an operation of determining the brightness of the display according to the brightness value mapped to the illuminance information in the temporary brightness data before the brightness data is reconfigured.
[0213] According to various embodiments, the operation of generating temporary brightness data further includes an operation of changing a brightness value mapped to an illuminance within a reference range in which brightness is changed.
[0214] According to various embodiments, the operation of reconfiguring the brightness data may further include the operation of calculating a time weighting value and a continuity weighting value based on the event information, and the operation of further reconfiguring the brightness data using the calculated time weighting value and continuity weighting value.
[0215] According to various embodiments, the operation of calculating the continuity weighted value may further include the operation of calculating the continuity weighted value taking into account the time taken until the brightness changes again after the brightness data is reconfigured and the difference between the brightness changed by the user before the reconfiguration and the brightness changed after the reconfiguration.
[0216] According to various embodiments, the operation of reconfiguring the brightness data may further include the operation of reconfiguring the brightness data when at least one of the situations in which the display is not operated for longer than a predetermined reset time and the display is operated at an illuminance value different from the illuminance value detected by the illuminance sensor when the display was last operated is satisfied.
[0217] According to various embodiments, the operation of reconfiguring the brightness data may further include an operation of also changing a brightness value mapped to an illuminance within a reference range in which the brightness is changed.
[0218] According to various embodiments, the operation of acquiring event information may include identifying touch information from a touch sensor, and excluding the corresponding time from calculation of the accumulated usage time when no touch input is received for a time longer than or equal to a reference time based on the touch information.
[0219] According to various embodiments, the illuminance sensor may be configured to measure illuminance in sections divided at predetermined intervals.
[0220] According to various embodiments, the operation of acquiring event information may include acquiring event information when the display operates based on a user input and an automatic brightness mode is configured.
Claims
1. An electronic device comprising: monitor; a touch sensor configured to receive a user's touch input and generate touch information; an illuminance sensor configured to detect ambient illuminance and generate illuminance information; a memory configured to store brightness data indicating a relationship between ambient illumination and brightness of the display; as well as a processor operatively connected to the display, the illuminance sensor, the touch sensor, and the memory, Wherein, the processor is configured to: Identify the illuminance information from the illuminance sensor, configuring the brightness of the display to a first brightness based on the illuminance information and the brightness data, changing the brightness of the display to a second brightness based on user input, Get event information for an operation in which the brightness of the display is changed, generating temporary brightness data based on the changed brightness by also changing a brightness value mapped to the illuminance within a reference range of the illuminance in which the brightness is changed when the brightness of the display is changed to a second brightness, Before the brightness data is reconfigured, the brightness of the display is determined based on the brightness value mapped to the illuminance information in the temporary brightness data, reconfigures the brightness data stored in the memory based on the event information, and The brightness of the display is determined based on the brightness value in the reconfigured brightness data mapped to the brightness value recognized by the brightness sensor.
2. The electronic device according to claim 1, wherein The processor is configured to calculate a time weighting value and a continuity weighting value based on the event information, and further reconfigure the brightness data using the calculated time weighting value and continuity weighting value.
3. The electronic device according to claim 2, wherein: The processor is configured to calculate the continuity weighted value in consideration of a time taken until brightness is changed again after brightness data is reconfigured, and a difference between brightness changed by a user before reconfiguration and brightness changed after reconfiguration.
4. The electronic device according to claim 1, wherein The processor is configured to reconfigure the brightness data when at least one of a display not operating for longer than a predetermined reset time and a display operating at an illuminance different from an illuminance value detected by the illuminance sensor when the display last operated is satisfied.
5. The electronic device according to claim 1, wherein The processor is configured to, when reconfiguring the brightness data, also change a brightness value mapped to illuminance within a reference range of illuminance in which the brightness is changed. The electronic device according to claim 1 , wherein: The processor is configured to recognize touch information from the touch sensor and, when a time for which no touch input is received is longer than or equal to a reference time, exclude a corresponding time from calculation of the accumulated usage time based on the touch information.
7. The electronic device according to claim 1, wherein The illuminance sensor is configured to measure illuminance in sections divided at predetermined intervals.
8. The electronic device according to claim 1, wherein The processor is configured to obtain event information when the display operates based on user input and an automatic brightness mode is configured.
9. A method for controlling brightness by an electronic device, the method comprising: Identifying illuminance information from an illuminance sensor; configuring the brightness of the display to a first brightness based on the illumination information and the brightness data; Based on the user input, changing the brightness of the display to a second brightness; acquiring event information for an operation in which the brightness of a display is changed; generating temporary brightness data based on the changed brightness by also changing a brightness value mapped to the illuminance within a reference range of the illuminance in which the brightness is changed, when the brightness of the display is changed to a second brightness; determining the brightness of the display according to the brightness value mapped to the illuminance information in the temporary brightness data before the brightness data is reconfigured; reconfiguring brightness data stored in a memory based on the event information; as well as The brightness of the display is determined based on the brightness value in the reconfigured brightness data mapped to the brightness value recognized by the brightness sensor.
10. The method according to claim 9, wherein: The reconfiguration of the brightness data further includes calculating a time weighting value and a continuity weighting value based on the event information, and further reconfiguring the brightness data using the calculated time weighting value and continuity weighting value.
11. The method according to claim 10, wherein: Calculation of the continuity weighted value also includes calculating the continuity weighted value in consideration of the time taken until the brightness is changed again after the brightness data is reconfigured, and the difference between the brightness changed by the user before the reconfiguration and the brightness changed after the reconfiguration.
Citation Information
Patent Citations
Method and device for backlight adjustment
CN104424914A
Screen brightness adjusting method and apparatus
CN105551453A