Electronic device and method for image compensation using color information, and non-transitory storage medium
By using a sensor circuit and display driver circuit to measure and adjust display brightness in electronic devices, the challenge of accurately isolating ambient illuminance from display light is addressed, leading to improved image compensation accuracy.
Patent Information
- Application Number
- PCT/KR2024/019711
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-26
- Filing Date
- 2024-12-04
- Publication Date
- 2025-06-12
AI Technical Summary
Existing electronic devices face challenges in accurately measuring ambient illuminance due to the interference of display light, which limits the precision of image compensation.
The electronic device employs a sensor circuit with an illuminance sensor and a display driver circuit to measure and adjust display brightness. It sets regions of interest on the display to obtain color information, allowing it to subtract display light effects from the total illuminance measurement to isolate ambient light.
This approach enhances the accuracy of image compensation by effectively separating ambient illuminance from display light, thereby improving the overall display brightness adjustment.
Smart Images

Figure KR2024019711_12062025_PF_FP_ABST
Abstract
Description
Electronic device, method and non-transitory storage medium for image compensation using color information
[0001] The present disclosure relates to an electronic device including a light sensor, a method for image compensation in the electronic device, and a non-transitory storage medium.
[0002] The variety of services and additional features offered through electronic devices, such as smartphones, is steadily increasing. To enhance the utility of these devices and satisfy the diverse needs of users, telecommunications service providers and electronic device manufacturers are competitively developing electronic devices to offer a variety of features and differentiate themselves from competitors. Consequently, the various functions offered through electronic devices are also becoming increasingly sophisticated.
[0003] As the integration of electronic devices increases and ultra-high-speed, high-capacity wireless communications become more widespread, a single electronic device, such as a mobile terminal, can now incorporate a variety of functions. For example, in addition to communication functions, entertainment functions like gaming, multimedia functions like music and video playback, communication and security functions for mobile banking, and even calendar management and electronic wallet functions are being integrated into a single device. These electronic devices are also becoming smaller for convenient portability.
[0004] An electronic device can measure the illuminance of the environment in which the electronic device is located (e.g., the illuminance value of external light) through a light sensor. The electronic device can adjust the brightness of the display based on the illuminance measured through the light sensor.
[0005] The illuminance sensor may be positioned under the display (e.g., the back surface of the display) when looking at the front surface of the electronic device (e.g., the surface on which the display is exposed in the electronic device). Therefore, the illuminance value measured by the illuminance sensor may include, in addition to the illuminance value affected by external light incident from outside the electronic device (hereinafter referred to as “external light”), an illuminance value affected by light emitted from the display (hereinafter referred to as “display light”) (also referred to as “estimated display light value”). Accordingly, the electronic device may obtain (e.g., calculate) an illuminance value affected by external light incident from outside the electronic device (e.g., pure ambient brightness) by subtracting the illuminance value affected by the display light using image color information (e.g., color on pixel ratio (COPR)) from the illuminance value measured by the illuminance sensor.
[0006] The above information may be provided as background art to aid in understanding the present disclosure. No claim or determination is made as to whether any of the above-described matters constitute prior art related to the present disclosure.
[0007] The display light estimation value affected by the display light can be obtained (e.g., calculated) based on the color information (e.g., color on pixel ratio (COPR)) of the image displayed through the display. The color information of the image can be obtained from a display driver integrated circuit (DDI) for controlling the display.
[0008] To acquire color information from an image, the coordinates of a region of interest (ROI), which is a portion of the image, must be input to the display (e.g., display panel) by the display driver IC. Conventionally, coordinates for acquiring color information were input once (e.g., written) at the boot time of an electronic device and then fixed and used without change. However, since the display driver IC of an electronic device has limited memory capacity, the number of ROIs containing coordinate values is limited, which reduces the accuracy of image compensation.
[0009] According to one embodiment, an electronic device includes a sensor circuit including an illuminance sensor, a display including a display driving circuit, a memory storing instructions, a first processor, and a second processor, wherein the instructions, when individually or collectively executed by at least one of the first processor and the second processor, cause the electronic device to, based on a release of a sleep state of the first processor, set a first region of interest set including a plurality of regions of interest on the display, obtain first color information for the set first region of interest set, and compensate an image displayed on the display based on the obtained first color information.
[0010] According to one embodiment, the instructions, when individually or collectively executed by at least one of the first processor or the second processor, may be configured to cause the electronic device to, based on identifying that the image is frozen while the sleep state is being terminated, set a second set of regions of interest on the display, the second set of regions of interest including a plurality of regions of interest, and obtain first color information for the first set of regions of interest before entering the sleep state.
[0011] According to one embodiment, the instructions, when individually or collectively executed by at least one of the first processor or the second processor, may be configured to cause the electronic device to, based on entering the sleep state, obtain second color information for the second set of regions of interest, and compensate the image based on the first color information and the second color information.
[0012] According to one embodiment, an operating method in an electronic device may include an operation of setting a first set of regions of interest including a plurality of regions of interest on a display of the electronic device based on a sleep state of a first processor of the electronic device being released, an operation of obtaining first color information for the set first set of regions of interest while the sleep state is being released, and an operation of compensating an image displayed on the display based on the obtained first color information.
[0013] In one embodiment, the method may include, based on identifying that the image is frozen while the sleep state is being terminated, setting a second set of regions of interest including a plurality of regions of interest on the display before entering the sleep state, and obtaining first color information for the first set of regions of interest.
[0014] According to one embodiment, the method may include, based on entering the sleep state, obtaining second color information for the second set of regions of interest, and compensating the image based on the first color information and the second color information.
[0015] According to one embodiment, a non-transitory storage medium storing a program may include executable instructions that, when executed by at least one of a first processor or a second processor of an electronic device, cause the processor to perform the following operations: setting a first set of regions of interest including a plurality of regions of interest on a display of the electronic device based on the release of a sleep state of the first processor of the electronic device; obtaining first color information for the set first set of regions of interest while the sleep state is released, and compensating an image displayed on the display based on the obtained first color information; and setting a second set of regions of interest including a plurality of regions of interest on the display based on identifying that the image is still while the sleep state is released, and obtaining the first color information for the first set of regions of interest before entering the sleep state, and performing the following operations: obtaining second color information for the second set of regions of interest based on entering the sleep state, and compensating the image based on the first color information and the second color information.
[0016] FIG. 1 is a block diagram of an electronic device within a network environment according to various embodiments.
[0017] FIG. 2 is a drawing showing an example configuration of an electronic device according to one embodiment.
[0018] FIG. 3 is a diagram illustrating a configuration of an electronic device according to one embodiment.
[0019] FIG. 4 is a diagram illustrating a configuration of an electronic device according to one embodiment.
[0020] FIG. 5 is a diagram showing the configuration of a software module of an electronic device according to one embodiment.
[0021] FIG. 6 is a diagram illustrating an example of sets of regions of interest of an electronic device according to one embodiment.
[0022] FIG. 7 is a diagram illustrating an example of the operation of an electronic device according to one embodiment.
[0023] FIG. 8 is a diagram illustrating an example of the operation of an electronic device according to one embodiment.
[0024] FIG. 9 is a diagram illustrating an example of the operation of an electronic device according to one embodiment.
[0025] FIG. 10 is a flowchart illustrating an example of an operating method in an electronic device according to one embodiment.
[0026] FIG. 11 is a flowchart illustrating an example of an operating method in an electronic device according to one embodiment.
[0027] FIG. 12 is a flowchart illustrating an example of an operating method in an electronic device according to one embodiment.
[0028] FIG. 13 is a diagram showing examples of graphs comparing effects in an electronic device according to one embodiment.
[0029] In connection with the description of the drawings, the same or similar reference numerals may be used for identical or similar components.
[0030] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings so that those skilled in the art can easily implement the present disclosure. However, the present disclosure may be implemented in various different forms and is not limited to the embodiments described herein. In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components. In addition, in the drawings and related descriptions, descriptions of well-known functions and configurations may be omitted for clarity and conciseness. The term "user" used in the embodiments of the present disclosure may refer to a person using an electronic device or a device (e.g., an artificial intelligence electronic device) using an electronic device.
[0031] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to various embodiments.
[0032] Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of an electronic device (104) or a server (108) via a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio 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 (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).
[0033] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or calculations. According to one embodiment, as at least a part of the data processing or calculations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or a secondary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor)) that can operate independently or together therewith. For example, if the electronic device (101) includes a main processor (121) and a secondary processor (123), the secondary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a specified function. The secondary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
[0034] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of 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), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.
[0035] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).
[0036] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
[0037] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0038] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0039] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. In one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.
[0040] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).
[0041] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0042] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
[0043] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0044] A haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. In one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0045] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
[0046] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented, for example, as at least a part of a power management integrated circuit (PMIC).
[0047] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0048] The communication module (190) may support the establishment of 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 the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one 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 (GMS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).
[0049] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for realizing 1eMBB, a loss coverage (e.g., 164 dB or less) for realizing mMTC, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for realizing URLLC.
[0050] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas by, for example, the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device through the selected at least one antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).
[0051] According to various embodiments, the antenna module (197) may form a mmWave antenna module. According to one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.
[0052] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).
[0053] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
[0054] FIG. 2 is a block diagram (200) of a display module (160) according to one embodiment.
[0055] Referring to FIG. 2, the display module (160) may include a display (210) and a display driving circuit (e.g., a display driver integrated circuit (DDI)) (230) for controlling the display (210). The display driving circuit (230) may include an interface module (231), a memory (233) (e.g., a buffer memory), an image processing module (235), or a mapping module (237). The display driving circuit (230) may receive, for example, image data or image information including an image control signal corresponding to a command for controlling the image data from another component of the electronic device (101) through the interface module (231). For example, the image information may be received from a processor (e.g., the processor (120) of FIG. 1) (e.g., the main processor (121) of FIG. 1 (e.g., an application processor)) or an auxiliary processor (e.g., the auxiliary processor (123) of FIG. 1) (e.g., a graphics processing unit)) that operates independently of the function of the main processor (121). There is. The display driving circuit (230) can communicate with the touch circuit (250) or the sensor module (176) through the interface module (231). In addition, the display driving circuit (230) can store at least a part of the received image information in the memory (233), for example, in units of frames. The image processing module (235) can, for example, perform preprocessing or postprocessing (for example, resolution, brightness, or size adjustment) on at least a part of the image data based on at least the characteristics of the image data or the characteristics of the display (210). The mapping module (237) can generate a voltage value or a current value corresponding to the image data preprocessed or postprocessed through the image processing module (135).According to one embodiment, the generation of the voltage value or current value may be performed at least in part based on, for example, properties of the pixels of the display (210) (e.g., arrangement of the pixels (RGB stripe or pentile structure), or size of each of the sub-pixels). At least some pixels of the display (210) may be driven at least in part based on, for example, the voltage value or current value, so that visual information (e.g., text, image, or icon) corresponding to the image data may be displayed through the display (210).
[0056] According to one embodiment, the display module (160) may further include a touch circuit (250). The touch circuit (250) may include a touch sensor (251) and a touch sensor IC (253) for controlling the same. The touch sensor IC (253) may control the touch sensor (251) to detect, for example, a touch input or a hovering input for a specific location of the display (210). For example, the touch sensor IC (253) may detect a touch input or a hovering input by measuring a change in a signal (e.g., voltage, light quantity, resistance, or charge quantity) for a specific location of the display (210). The touch sensor IC (253) may provide information (e.g., location, area, pressure, or time) regarding the detected touch input or hovering input to the processor (120). According to one embodiment, at least a portion of the touch circuit (250) (e.g., touch sensor IC (253)) may be included as part of the display driver IC (230), or as part of the display (210), or as part of another component (e.g., auxiliary processor (123)) disposed external to the display module (160).
[0057] According to one embodiment, the display module (160) may further include at least one sensor (e.g., a fingerprint sensor, an iris sensor, a pressure sensor, or an illuminance sensor) of the sensor module (176), or a control circuit therefor. In this case, the at least one sensor or the control circuit therefor may be embedded in a part of the display module (160) (e.g., the display (210) or the display driving circuit (230)) or a part of the touch circuit (250). For example, when the sensor module (176) embedded in the display module (160) includes a biometric sensor (e.g., a fingerprint sensor), the biometric sensor may obtain biometric information (e.g., a fingerprint image) associated with a touch input through a part of the display (210). As another example, when the sensor module (176) embedded in the display module (160) includes a pressure sensor, the pressure sensor may obtain pressure information associated with a touch input through a part or the entire area of the display (210). According to one embodiment, the touch sensor (251) or sensor module (176) may be positioned between pixels of a pixel layer of the display (210), or above or below the pixel layer.
[0058] FIG. 3 is a diagram illustrating a configuration of an electronic device according to one embodiment, and FIG. 4 is a diagram illustrating a configuration of an electronic device according to one embodiment.
[0059] Referring to FIGS. 1, 2, 3, and 4, an electronic device (101) (e.g., the electronic device (101) of FIGS. 1 and 2) may include a housing (301), a display (e.g., a flexible display) (210), a display driving circuit (230) (e.g., a display driver integrated circuit (DDI), a first processor (310), a second processor (320), and a light sensor (330) within a space formed by the housing (301). According to one embodiment, the first processor (310) may be an application processor (e.g., an application processor (AP)), and the second processor (310) may be a sensor hub processor.
[0060] According to one embodiment, the housing (301) may be referred to as a foldable housing, but is not limited thereto, and may also be referred to as a housing of another form, such as a slider. According to one embodiment, a rear display (not shown) may further be included on a portion of the rear surface of the electronic device (101). According to one embodiment, the housing (301) may form at least a portion of the exterior of the electronic device (101). According to one embodiment, the surface on which the display (210) is visually exposed is defined as the front surface (e.g., the first front surface) of the electronic device (101) and / or the housing (301). The surface opposite the front surface is defined as the rear surface (e.g., the second surface) of the housing (301) of the electronic device (301). The surface surrounding at least a portion of the space between the front surface and the rear surface is defined as the side surface (e.g., the third surface) of the housing (301) of the electronic device (101).
[0061] According to one embodiment, a display (210) (e.g., display module (160) of FIGS. 1 and 2 or display (210) of FIG. 2) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display (210) may include, for example, a holographic device or a projector and a control circuit for controlling the device. According to one embodiment, the display (210) may include a touch sensor configured to detect a touch or a pressure sensor configured to measure the intensity of a force generated by a touch, and may be coupled to or disposed adjacent to a digitizer configured to detect a magnetic stylus pen. The display (210) may be a display in which at least a portion of the display may be deformable into a flat or curved surface. According to one embodiment, the display (210) may be controlled by a display driving circuit (230) (e.g., a display drive IC (DDI) (230) of FIG. 2). In one embodiment, the display (210) may be driven in a pulse width modulation (PWM) manner. For example, the display (210) may be turned on / off periodically based on a set duty cycle and screen refresh rate while displaying a screen.
[0062] According to one embodiment, the display driver circuit (DDI) (230) is the same as or similar to the display driver circuit (DDI) (230) of FIG. 2, so a redundant description will be omitted.
[0063] According to one embodiment, the display driving circuit (230) may transmit color information of an image displayed through the display (210) to the second processor (320). According to one embodiment, the color information of the image may include color on pixel ratio (COPR) information of the image. In one embodiment, the color information of the image displayed through the display (210) may be color information of a portion of the image displayed through regions of interest (e.g., a portion of a display panel) set in the display (210) within the image displayed through the display (210). However, the present invention is not limited thereto, and the color information of the image displayed through the display (210) may also be color information of the entire image displayed through the entire area of the display (210). According to one embodiment, the display driving circuit (230) may control the display (210) to display an image in units of frames (e.g., image frames), and transmit color information of the image (e.g., COPR information of the image) to the second processor (320) for each frame reproduction. Since the area of the display that affects the light sensor (330) is brighter in the center than in the edge from the light sensor's perspective even if the color is the same, the display area that affects the light sensor is divided into multiple areas of interest and when more weight is given to the area located in the center (e.g., the area of interest), the image compensation accuracy can be increased.
[0064] According to one embodiment, color information of a portion of an image displayed through regions of interest set on the display (210) may include RGB (red, green, and blue) values of the portion of the image to be displayed through the set regions of interest. For example, color information of a portion of an image displayed through the set regions of interest may include an average of R values, an average of G values, and an average of B values displayed by pixels included in the regions of interest set on the display (210).
[0065] According to one embodiment, the first processor (310) may be a processor (e.g., an AP) that manages the entire operation of the device and may perform functions related to data transmission or brightness adjustment between applications. The first processor (310) may enter a sleep state (e.g., hibernation or power saving mode) when no image update (e.g., image change) occurs for 3 frames, and may perform a function of escaping from the sleep state (e.g., sleep state cancellation) when an image update (e.g., image change) occurs. When the first processor (310) enters the sleep state, it cannot set or change the set of regions of interest (e.g., coordinate values of regions of interest) for obtaining color information from the display driving circuit (230). Therefore, when a situation occurs (e.g., image freeze) requiring the setting or change of the set of regions of interest before entering the sleep state, the first processor (310) can request the display driving circuit (230) to set or change the set of regions of interest before entering the sleep state (e.g., at a point in time 2 frames past, which is 3 frames before the point in time when the image freezes).
[0066] According to one embodiment, the second processor (320) may be a processor (e.g., a sensor hub) for controlling a light sensor with low power instead of the first processor (310), obtain color information (e.g., a COPR value) from the display driving circuit (230), and compensate for an image using a designated image compensation algorithm based on the obtained color information. The second processor (320) may obtain only first color information for a first region of interest (ROI (region of interest) set1) while the first processor (310) is in an active state in which the sleep state is released, and perform an image compensation operation using the obtained first color information. The second processor (320) may obtain both first color information for the first region of interest (ROI set1) and second color information for the second region of interest (ROI set2) while the first processor (310) is in a sleep state, and perform an image compensation operation using the obtained first color information and second color information. The second processor (320) may acquire only the first color information and perform an image compensation operation using the first color information in specific situations (e.g., the first situation and / or the second situation). The first situation may be a situation in which the sleep state is released and the first processor (310) re-enters the sleep state before the second processor (320) acquires the color information of the first region of interest set (e.g., enters the sleep state about 100 ms before a request to set or change the first region of interest set). The second situation may be a situation in which an image change occurs within about 100 ms after a request to set or change the second region of interest set when entering the sleep state.
[0067] According to one embodiment, the light sensor (330) (e.g., the sensor module (176) of FIG. 1) may be positioned under (e.g., on the back of the display) or overlapping at least a portion of the placement area of the display (210) (e.g., the display panel).
[0068] In one embodiment, the light sensor (330) (also referred to as an "ambient light sensor" or an "illumination sensor") may include a light receiving unit (e.g., a photodiode element) for reading RGB values of visible light (e.g., light having a wavelength of about 400 nm to 750 nm) and an analog to digital converter (ADC) for digitizing the RGB values. According to one embodiment, the light receiving unit may include a photodiode responsive to visible light and may include a plurality of channels capable of measuring light. The light receiving unit may further include a photodiode that receives infrared light. For example, the light receiving unit may include an R (red) channel that receives red light (e.g., light having a wavelength of about 550 nm to 700 nm), a G (green) channel that receives green light (e.g., light having a wavelength of about 450 nm to 650 nm), a B (blue) channel that receives blue light (e.g., light having a wavelength of about 400 nm to 550 nm), and / or a C (clear) channel that receives white light (e.g., all of R, G, and B). At least one of the plurality of channels may include a photodiode. Each of the plurality of channels may include a filter that transmits light of a corresponding series. In one embodiment, the ADC may convert analog data transmitted from the light receiving unit into digital data (e.g., an ADC value). In one embodiment, the ADC may include one or more ADCs. For example, the ADC may include a first ADC that samples data transmitted from a light-receiving unit in a first cycle and a second ADC that samples data transmitted from the light-receiving unit in a second cycle different from the first cycle.
[0069] In one embodiment, the light sensor (330) may include a sensor that utilizes the intensity of light incident from the outside, such as a visible light sensor, a proximity light sensor (also referred to as a “near-light sensor”), a spectrometer sensor, an ultraviolet sensor, or a color sensor. According to one embodiment, the light sensor (330) may be implemented in the form of a package that further includes a light-emitting unit. For example, when the light sensor (330) includes a light-emitting unit, the light sensor (415) may operate as a proximity sensor. According to one embodiment, the light sensor (330) may detect external light passing through the display (210) (e.g., glass and display panel) to measure external illuminance. According to one embodiment, the light sensor (330) may be included in the display (210). For example, at least some of the pixels included in the display (210) may include a light-receiving unit to measure illuminance. In one embodiment, the light sensor (330) may be influenced in its light measurement by the transmittance of external light by the display (210) and / or the screen displayed on the display (210).
[0070] FIG. 5 is a diagram showing the configuration of a software module of an electronic device according to one embodiment.
[0071] Referring to FIGS. 1 to 5, an electronic device (101) according to one embodiment may implement a software module (501) (e.g., program (140) of FIG. 1) for performing operations related to image reproduction and compensation. A memory (130) of the electronic device (101) may store commands (e.g., instructions) for implementing the software module (501) illustrated in FIG. 5. At least one processor (e.g., the processor (120) of FIG. 1, the first processor (310) of FIGS. 3 and 4, and the second processor (320) of FIGS. 3 and 4) can execute instructions stored in a memory (e.g., the memory (130) of FIG. 1) to implement the software module (501) illustrated in FIG. 5, and control hardware (e.g., the sensor module (176), the display module (160), or the communication module (190) of FIG. 1) associated with the function of the software module (501).
[0072] According to one embodiment, a software module (501) of an electronic device (101) may be configured to include a kernel (or hardware abstraction layer (HAL) (510), a framework (e.g., middleware (144) of FIG. 1) (520), and an application (530) (e.g., application (146) of FIG. 1). At least a portion of the software module (501) may be preloaded on the electronic device (101) or may be downloadable from a server (e.g., server (108)).
[0073] According to one embodiment, the kernel (510) may be configured to include a display driver (511) and a sensor driver (513), but is not limited thereto, and may further include other drivers or modules already related to playback and compensation operations. The kernel (510) may include, for example, a system resource manager or a device driver. The system resource manager may perform at least one of controlling, allocating, or retrieving system resources. The device driver may include, for example, a display driver, a camera driver, a Bluetooth driver, a shared memory driver, a USB driver, a keypad driver, a WIFI driver, an audio driver, or an inter-process communication (IPC) driver.
[0074] According to one embodiment, the framework (520) may be configured to include, for example, a display management service (521) and a sensor management service (523), but is not limited thereto and may further include other modules. The framework (520) may provide functions commonly required by the application (530) or provide various functions to the application (530) through an application programming interface (API) (not shown) so that the application (530) can efficiently use limited system resources within the electronic device (101). The framework (520) may include modules that form a combination of various functions of the aforementioned components. The framework (520) may provide specialized modules for each type of operating system to provide differentiated functions. The framework (520) may dynamically delete some of the existing components or add new components.
[0075] According to one embodiment, the application (530) may be configured to include an application (e.g., a module, a manager, or a program) related to image playback and compensation. The application (530) may include an application received from an external electronic device (e.g., a server (108) or an electronic device (102, 104)). According to one embodiment, the application (530) may include a preloaded application or a third-party application downloadable from a server. The components and names of the components of the software module (501) according to the illustrated embodiment may vary depending on the type of operating system. According to one embodiment, at least a portion of the software module (501) may be implemented as software, firmware, hardware, or a combination of at least two or more thereof. At least a portion of the software module (501) may be implemented (e.g., executed) by, for example, a processor (e.g., the first processor (AP) (310) of FIGS. 3 and 4). At least a portion of the software module (501) may include, for example, at least one of a module, a program, a routine, a set of instructions, or a process for performing at least one function.
[0076] As such, in one embodiment, the main components of the electronic device (101) are described through the electronic device (101) of FIGS. 1, 2, 4, and 5. However, in various embodiments, not all of the components illustrated through FIGS. 1, 2, 4, and 5 are essential components, and the electronic device (101) may be implemented with more components than the illustrated components, or may be implemented with fewer components. In addition, the positions of the main components of the electronic device (101) described above through FIGS. 1, 2, 4, and 5 may be changed according to various embodiments.
[0077] FIG. 6 is a diagram illustrating an example of sets of regions of interest of an electronic device according to one embodiment.
[0078] Referring to FIGS. 3, 4, and 6, an electronic device (101) according to an embodiment (e.g., the electronic device (101) of FIG. 1) may divide a portion of a display (210) (e.g., the display module (160) of FIG. 1, the display module (160) of FIG. 2, or the display (210) of FIG. 2) into a plurality of regions of interest (ROI1, ROI2, ROI3, and / or ROI4) in advance, and may specify location information (e.g., coordinate (x, y) values) for each of the plurality of designated regions of interest. The electronic device (101) may store the location information (hereinafter, referred to as region of interest location information) for each of the plurality of regions of interest in a memory (e.g., the memory (130) of FIG. 1). A plurality of regions of interest including location information may be organized in a table format, divided into a first region of interest set (ROI SET1) (610) and a second region of interest set (ROI SET2) (620). For example, the first region of interest (ROI1) and the second region of interest (ROI2) may be classified into the first region of interest set (610), and the third region of interest (ROI3) and the fourth region of interest (ROI4) may be classified into the second region of interest set (620). The location information for each region of interest may include, for example, coordinate values (x_s, y_s) of the upper left point of the region of interest and coordinate values (x_e, y_e) of the lower right point of the region of interest, but is not limited thereto, and may be set by adding or replacing coordinate values of other points of the region of interest. According to one embodiment, the electronic device (101) can be divided into a first set of regions of interest (610) and a second set of regions of interest (620) based on a reference area (e.g., 1x magnification as an area magnification relative to the light sensor hole) corresponding to the area of the hole (601) (e.g., ROI3) of the light sensor (330). The electronic device (101) can be divided into a first set of regions of interest (610) and a second set of regions of interest (620) based on a reference area (e.g., 1x magnification as an area magnification relative to the light sensor hole) that is smaller than the area magnification (1x) of the hole (601) of the light sensor (330).A first set of regions of interest (610) including a plurality of regions of interest (e.g., ROI1 and ROI2) having an area magnification (e.g., 5x magnification) and a second set of regions of interest (620) including a plurality of regions of interest (e.g., ROI3, ROI4) having an area magnification (e.g., 1x magnification and 2x magnification) that is greater than or equal to an area of a hole (601) of a light sensor (330) may be designated. The first set of regions of interest (ROI SET1) (610) may include a first region of interest (ROI1) having first region of interest location information (e.g., x_s(43), y_s(585), x_e(59), y_e(601)) and a second region of interest (ROI2) having second region of interest location information (e.g., x_s(39), y_s(581), x_e(63), y_e(605)). The second region of interest set (ROI SET2) (620) may include a third region of interest (ROI3) having third region of interest location information (e.g., x_s(35), y_s(577), x_e(67), y_e(609)) and a fourth region of interest (ROI4) having fourth region of interest location information (e.g., x_s(27), y_s(569), x_e(75), y_e(617)). The first region of interest set (ROI SET2) (610) and the second region of interest set (ROI SET2) (620) may each include the maximum number of ROIs provided by the current display driver circuit (DDI) (230). Since the light sensor (330) is located at the center of the hole (601), light from the display (210) can be uniformly incident in all directions, and thus the areas of interest can be designated to grow larger with respect to the center of the hole (601). As the area gets farther from the center of the hole (601), even if the same color is displayed, the influence on the sensor unit becomes proportionally smaller as the area gets farther from the center, and thus compensation can be provided by giving different weights to each of the distinguished areas of interest.Since the COPR value included in the color information that appears to overlap and overlap with the overlapping regions of interest represents the average value within the regions of interest, a weight can be applied by subtracting the COPR value of the overlapping part through a formula. For example, the first region of interest (roi1) and the second region of interest (roi2) have an area magnification of 1:2 with 0.25x and 0.5x, respectively, and the COPR value obtained by subtracting the COPR value of the first region of interest (roi1) from the COPR value of the second region of interest (roi2). (roi2-roi1) It can be calculated as a value divided by the area ratio (e.g. 2-1) as in the following mathematical formula 1.
[0079]
[0080] The above mathematical formula 1 is merely an example to aid understanding, and embodiments of the present disclosure may not be limited thereto. For example, the above mathematical formula 1 may be modified, applied, or expanded in various ways.
[0081] According to one embodiment, the electronic device (101) can determine the number of supported regions of interest that can be used by the display driving circuit (e.g., provided by the electronic device), for example, based on the manufacturer and version information of the display driving circuit or the accuracy of the image.
[0082] FIG. 7 is a diagram illustrating an example of the operation of an electronic device according to one embodiment.
[0083] Referring to FIGS. 3, 4, 6, and 7, when the first processor (310) (e.g., AP) of the electronic device (101) according to one embodiment displays an image on the display (210) after the electronic device (101) is powered on, the first processor (310) enters an activated state (e.g., hibernation canceled state) in which the sleep state is canceled, and can check whether the image has changed. When the first processor (310) identifies that an image change has occurred, the first processor (310) controls the display driving circuit (230) to maintain the activated state, and can maintain a set (e.g., a first region of interest set (610) (ROI set 1) of FIG. 6) set by the display driving circuit (230). When the first processor (310) identifies that an image freeze occurs at time t3, it requests the display driving circuit (230) to change the set set (e.g., the first set of regions of interest (610) (ROI set 1) of FIG. 6) to another set (e.g., the second set of regions of interest (620) (ROI set 2) of FIG. 6) and enters a sleep state (e.g., hibernation).
[0084] According to one embodiment, when the sleep state is canceled, the first processor (310) may request the display driver circuit (230) to set (e.g., change, apply, or write) the first set of regions of interest on the display (210). The first processor (310) may transmit notification information (e.g., first notification information) indicating that the setting of the first set of regions of interest has been requested to the second processor (320) (e.g., sensor hub). Without being limited thereto, when receiving a request to set the first set of regions of interest (610) from the first processor (310), the display driver circuit (230) may also transmit the notification information to the second processor (320). For example, the notification information may include identification information indicating the first set of regions of interest (e.g., “1” or “set1”). According to one embodiment, when receiving a request to set the first set of regions of interest (610), the display driver circuit (230) may perform a setting or changing operation of the first set of regions of interest (610). The display driving circuit (230) sets (e.g., changes, applies, or writes) coordinates of regions of interest on the display (210) based on the positional information of a plurality of regions of interest included in the first set of regions of interest (610) during the coordinate application time, and when the coordinate application time elapses, the setting or change operation of the first set of regions of interest (610) can be completed as the coordinates are applied. The display driving circuit (230) can periodically check the first color information (e.g., COPR value) for the first set of regions of interest (610) at a specified period (e.g., about 160 ms). The second processor (320) can obtain the first color information (e.g., COPR value) for the first set of regions of interest (610) from the display driving circuit (230) at a specified period (e.g., about 160 ms), and compensate the image using a specified image compensation algorithm based on the obtained first color information.The second processor (320) can obtain the first color information at a specified cycle (e.g., a sensor operation cycle (e.g., about 160 ms)).
[0085] More specifically, referring to FIG. 7, when the first processor (310) according to one embodiment identifies that the image is frozen during the t3-t5 period while the sleep state is released (e.g., activated state) during the t1-t3 period, the first processor (310) may request the display driving circuit (230) to set (e.g., change, apply, or write) the second set of regions of interest (620) (e.g., ROI set 2) at the time point t5, and transmit notification information (e.g., second notification information) to the second processor (320) to notify that the display driving circuit (230) has requested the setting (e.g., change or write) of the second set of regions of interest. Without being limited thereto, when receiving a request for setting the second set of regions of interest (620) from the first processor (310), the display driving circuit (230) may also transmit the notification information to the second processor (320). For example, the notification information may include identification information (e.g., “2” or “set2”) indicating a second set of regions of interest (620). The first processor (310) may generate an interrupt for changing the ROI set at a preset time or point in time (e.g., at the point in time t5 when two frames, which are frames immediately before entering a sleep state (e.g., at the point in time t6) after the image is first stopped, are played, or at the point in time after the point in time of two frame playback (e.g., at the point in time t5) but before the point in time of three frame playback (e.g., at the point in time t6)) based on the point in time when the image is first stopped (e.g., t3), and request the display driving circuit (230) to set (e.g., change, apply, or write) the second set of regions of interest (620).
[0086] According to one embodiment, in response to receiving a request for setting a second set of regions of interest (620) from the first processor (310) at time t5, the display driving circuit (230) may set or change regions of interest (e.g., coordinate values of ROI3 and ROI4) for acquiring second color information based on a plurality of regions of interest position information included in the second set of regions of interest (620). The regions of interest may be applied to the display (210) after being delayed for a specified application time (e.g., a minimum coordinate application time of about 100 ms). According to one embodiment, the second processor (320) may acquire first color information for the currently set first set of regions of interest (610) before a specified time (e.g., about 50 ms, which is a three-frame image freeze time in the t3-t6 section). According to one embodiment, the first processor (310) may enter a hibernation state at time t6 as the image remains still for a specified period of time (e.g., approximately 50 ms during the period t3-t6). When the second processor (320) determines that the setting of the second set of regions of interest (620) is completed in the display driving circuit (230) after time t6, the second processor (320) may obtain second color information for the second set of regions of interest (620) from the display driving circuit (230) and compensate the image based on the first color information and the second color information.
[0087] According to one embodiment, when the first processor (310) identifies an image change again from the sleep state at time t7, the first processor (310) may cancel the sleep state (e.g., switch to the active state), request the display driving circuit (230) to set (e.g., change, apply, or write) the first set of regions of interest (620), and transmit notification information to the second processor (320) to notify that the second processor (320) has requested the setting (e.g., change or write) of the first set of regions of interest (610). Without being limited thereto, when receiving a request for setting the first set of regions of interest (610) from the first processor (310), the display driving circuit (230) may also transmit notification information to the second processor (320).
[0088] According to one embodiment, the first processor (310) can continue to identify image changes at time t8 and maintain a state in which the sleep state is canceled (e.g., an activated state). The display driving circuit (230) can set (e.g., change, apply, or write) regions of interest on the display (210) based on the positional information of a plurality of regions of interest included in the first set of regions of interest (610) at time t9 after a delay for a coordinate application time (a time interval of t7-t9 (e.g., about 100 ms)), and after time t9, periodically check the first color information (e.g., COPR value) for the first set of regions of interest (610) at a specified cycle (e.g., about 160 ms). After the time point t9, the second processor (320) can obtain first color information (e.g., COPR value) for the first set of interest regions (610) from the display driving circuit (230) at a specified cycle (e.g., about 160 ms) and compensate the image based on the obtained first color information.
[0089] FIG. 8 is a diagram illustrating an example of the operation of an electronic device according to one embodiment.
[0090] Referring to FIGS. 4, 5, 6, and 8, when a first processor (310) (e.g., AP) of an electronic device (101) according to one embodiment identifies an image change in a sleep state (e.g., entering hibernation in the t1-t2 period) at time t2, the first processor (310) may cancel the sleep state (hibernation) and request the display driving circuit (230) to set (e.g., change, apply, or write) the first set of regions of interest (610). The display driving circuit (230) may be in a state set to the first set of regions of interest (620) in the t1-t2 period. After a request for setting (e.g., change, apply, or write) the first set of regions of interest (610), the first processor (310) may transmit notification information (e.g., ROI set 1 change notification or first notification information) to the second processor (320) to notify that a request for setting (e.g., change or write) the first set of regions of interest (610) has been made. Without being limited thereto, upon receiving a request for setting the first set of regions of interest (610) from the first processor (310), the display driving circuit (230) may also transmit the notification information to the second processor (320). If the first processor (310) identifies that the image is frozen (e.g., the first situation) within the coordinate application time (e.g., the time point t5 when ROI set1 is changed - a time point <100 ms after 2 frames have passed since the image is frozen) before the setting of the first set of regions of interest (610) is completed (e.g., coordinate values are applied) in the display driving circuit (230), the first processor (310) may re-enter the sleep state at the time point t6 without requesting the setting (e.g., change, application, or write) of the second set of regions of interest (620) at the time point t5. Image compensation can increase accuracy when the second color information for the second set of regions of interest (620) is added only if the first color information for the first set of regions of interest (610), which is the center value of the hole of the light sensor, is secured before entering the sleep state.Accordingly, when the electronic device (101) is in a situation (e.g., the first situation) where the second processor (320) has not acquired the first color information of the first set of regions of interest (610) before entering the sleep state (t5-t6 section), the display driving circuit (230) may not change the region of interest (e.g., coordinates) and the first processor (310) may enter the sleep state at time t6. The second processor (320) of the electronic device (101) may perform an image compensation operation using the first color information (e.g., COPR value) for the first set of regions of interest (610) that has been periodically acquired after the first processor (310) enters the sleep state at time t6 without acquiring the second color information of the second set of regions of interest (620) (e.g., giving up). For example, if a specified first specific time (e.g., from the time point t2 when a change request for the first ROI set (ROI SET1) is made to the time point t5 when two frames have passed since the image was frozen) is less than the coordinate application time (e.g., about 100 ms), the first processor (310) can release the interrupt for the ROI change and identify that the image is frozen (e.g., the first situation) within the coordinate application time (e.g., 100 ms) before the setting of the first ROI set (610) is completed in the display driving circuit (230). According to one embodiment, the display driving circuit (230) identifies that a request for setting the second set of regions of interest (620) is not received (e.g., input) from the first processor (310) within a minimum coordinate application time (e.g., from the time of requesting change of ROI set1 to the time of sleep start < the coordinate application time), identifies a request for setting the first set of regions of interest (610) as valid without changing the set of regions of interest, and sets (e.g., changes or creates) the first set of regions of interest (610) at a change time (time t6-1) of the first set of regions of interest (610) after the time of entering the sleep state (t6).The display driving circuit (230) can periodically check the first color information (e.g., COPR value) for the first set of regions of interest at a specified cycle (e.g., about 160 ms). The second processor (320) can perform image compensation using only the first color information (e.g., COPR value) for the first set of regions of interest (610) periodically acquired from the display driving circuit (230) after the coordinate application time (100 ms). According to one embodiment, if the first processor (310) identifies an image change at a time point t7 after entering a sleep state (e.g., after a time point t6), the first processor (310) can cancel the sleep state (e.g., enter an active state). Since the first set of regions of interest has been set (e.g., changed, applied, or written) by the display driving circuit (230) before a time point t7, the first processor (310) may not request setting for the first set of regions of interest. According to one embodiment, the first processor (310) may continue to identify image changes at time t8 and maintain a sleep state (e.g., an active state).
[0091] FIG. 9 is a diagram illustrating an example of the operation of an electronic device according to one embodiment.
[0092] Referring to FIGS. 4, 5, 6, and 9, when the first processor (310) (e.g., AP) of the electronic device (101) according to one embodiment identifies that an image freeze occurs during a time point t2-t4 while the hibernation state is released (e.g., an activated state), the first processor (310) may request a setting (e.g., a change, an application, or a write) of the second set of regions of interest (620) (ROI set 2) to the display driving circuit (230) at or immediately after the time point t4. After requesting the setting of the second set of regions of interest (620) (ROI set 2), the first processor (430) may transmit notification information (e.g., second notification information) to the second processor (320) to notify that the setting (e.g., a change or a write) of the second set of regions of interest (620) has been requested. Not limited thereto, when receiving a request to set a second set of regions of interest (620) from the first processor (310), the display driving circuit (230) may transmit notification information to the second processor (320). After the second processor (320) is requested to set a second set of regions of interest (620) (ROI set 2) by the first processor (430), the second processor (320) may obtain first color information for the first set of regions of interest (610) from the display driving circuit (230). For example, the display driving circuit (230) may receive a request to change an ROI set and, after a coordinate application time (e.g., about 100 ms) has elapsed, apply coordinate values of actual regions of interest based on the position information of a plurality of regions of interest included in the requested set of regions of interest. Accordingly, the coordinate values of the regions of interest may not be applied to the display (210) before the coordinate application time (e.g., before the setting operation for the second set of regions of interest (620) is completed).As shown in FIG. 9, if the first processor (310) enters a sleep state at time t5 and an image change occurs at time t6 before the coordinate application time (e.g., about 100 ms) elapses, the display driving circuit (230) may not perform (e.g., complete) the setting (e.g., change or create) of the requested second set of interest regions (620) at time t4 or immediately thereafter.
[0093] According to one embodiment, as illustrated in FIG. 9, the first processor (310) may enter a sleep state at a time point t5, set regions of interest for the second set of regions of interest (620) at a time point t6, and if it identifies (e.g., identifies a second situation) that an image change has occurred (e.g., an image change event is received) before the coordinate application time elapses (e.g., before the setting of the second set of regions of interest (620) is completed), it may release the sleep state. The first processor (310) may request the display driver circuit (230) to set (e.g., change, apply, or write) the first set of regions of interest (610) at or immediately after the time point t6, and may transmit notification information (e.g., first notification information) to the second processor (320) to notify that the setting (e.g., change or write) of the first set of regions of interest (610) has been requested by the first processor (430). Not limited thereto, when receiving a request to set the first set of regions of interest (610) from the first processor (310), the display driving circuit (230) may transmit notification information to the second processor (320). When the display driving circuit (230) receives a request to set the first set of regions of interest again after the time point t4 and before the coordinate application time elapses, the display driving circuit (230) may maintain the setting of the first set of regions of interest (610) without applying the coordinates of the actual regions of interest for the second set of regions of interest (620) during the coordinate application time (e.g., about 100 ms) after the time point t6. The second processor (320) may periodically obtain first color information for the first set of regions of interest (610) after the time point t7 when the coordinate application time (e.g., about 100 ms) elapses, and perform image compensation based on the obtained first color information.
[0094] According to one embodiment, an electronic device (e.g., the electronic device (101) of FIGS. 1 to 4 includes a sensor circuit (e.g., the sensor module (176) of FIG. 1) including an illumination sensor (e.g., the illumination sensor (330) of FIGS. 3 and 6), a display (e.g., the display module (160) of FIG. 1 and the display (210) of FIGS. 2, 3, and 4) including a display driving circuit (e.g., the display driving circuit (230) of FIGS. 2, 3, 4, and 7, 8, and 9), a memory for storing instructions (e.g., the memory (130) of FIG. 1), a first processor (e.g., the processor (120) or the main processor (121) of FIG. 1, and the first processor (310) of FIGS. 2, 3, 4, 7, 8, and 9) and a second processor (e.g., the processor (120) of FIG. 1, FIG. 2, Fig. 3, Fig. 4, Fig. 7, Fig. 8 and Fig. 9 may include a second processor (320).
[0095] According to one embodiment, when the instructions are individually or collectively executed by at least one of the first processor or the second processor, the electronic device may set a first set of regions of interest (e.g., the first set of regions of interest (610) of FIG. 6) including a plurality of regions of interest on the display based on the release of the sleep state of the first processor, obtain first color information for the set first set of regions of interest, and compensate an image displayed on the display based on the obtained first color information.
[0096] According to one embodiment, the instructions, when individually or collectively executed by at least one of the first processor or the second processor, may be configured to cause the electronic device to, based on identifying that the image is frozen while the sleep state is being terminated, set a second set of regions of interest (e.g., the second set of regions of interest (620) of FIG. 6) on the display including a plurality of regions of interest before entering the sleep state, and obtain first color information for the first set of regions of interest.
[0097] According to one embodiment, the instructions, when individually or collectively executed by at least one of the first processor or the second processor, may be configured to cause the electronic device to, based on entering the sleep state, obtain second color information for the second set of regions of interest, and compensate the image based on the first color information and the second color information.
[0098] According to one embodiment, the instructions, when individually or collectively executed by at least one of the first processor or the second processor, may further be configured to cause the electronic device to: based on a change in the image while in the sleep state, exit the sleep state, set the first set of regions of interest on the display, based on the image being frozen before the setting of the first set of regions of interest is completed, re-enter the sleep state without setting the second set of regions of interest, acquire the first color information for the first set of regions of interest after re-entering the sleep state, and compensate the image based on the acquired first color information.
[0099] According to one embodiment, the instructions, when individually or collectively executed by at least one of the first processor or the second processor, may be further configured to cause the electronic device to enter the sleep state, wake from the sleep state based on a change in the image before the setting of the second set of regions of interest is completed, set the first set of regions of interest on the display, acquire the first color information for the first set of regions of interest without acquiring the second color information for the second set of regions of interest, and compensate the image based on the acquired first color information.
[0100] According to one embodiment, the instructions, when individually or collectively executed by at least one of the first processor or the second processor, may be configured to cause the electronic device to: exit the sleep state when a change in the image occurs, and enter the sleep state when the image remains still for a specified period of time after the sleep state is exited.
[0101] According to one embodiment, the first set of regions of interest includes a plurality of regions of interest, each of which is set to be a region smaller than a hole of the light sensor (e.g., a hole (601) of the light sensor (330) of FIG. 6) based on location information including designated coordinate values, and the second set of regions of interest includes a plurality of regions of interest, each of which is set to be a region larger than or equal to a hole of the light sensor based on location information including designated coordinate values.
[0102] According to one embodiment, the instructions, when individually or collectively executed by at least one of the first processor or the second processor, may be configured to cause the electronic device to request the display driving circuit to set the first set of regions of interest on the display based on the release of the sleep state, to transmit, by the first processor, first notification information regarding the request for setting the first set of regions of interest to the second processor, and to periodically acquire, by the second processor, first color information corresponding to the first set of regions of interest from the display driving circuit while the sleep state is released, and to compensate the image based on the acquired first color information.
[0103] According to one embodiment, the instructions, when individually or collectively executed by at least one of the first processor or the second processor, may be configured to cause the electronic device to: request the display driving circuit to set the second set of regions of interest on the display based on entering the sleep state, transmit second notification information regarding the request for setting the second set of regions of interest to the second processor, obtain first color information corresponding to the first set of regions of interest from the display driving circuit, obtain second color information corresponding to the second set of regions of interest from the display driving circuit based on entering the sleep state, and compensate the image based on the first color information and the second color information.
[0104] According to one embodiment, the instructions, when individually or collectively executed by at least one of the first processor or the second processor, may be further configured to cause the electronic device, while in the sleep state, to compensate the image based on the first color information and the second color information by the second processor and then maintain a standby state until the sleep state is terminated.
[0105] According to one embodiment, the instructions, when individually or collectively executed by at least one of the first processor or the second processor, may be further configured to cause the electronic device to request the display driving circuit to set the first set of regions of interest on the display based on identifying a first condition in which the image is frozen before setting of the first set of regions of interest is completed, to transmit, by the first processor, first notification information regarding the request for setting of the first set of regions of interest to the second processor, and to obtain, by the second processor during the sleep state, first color information corresponding to the first set of regions of interest from the display driving circuit and to compensate the image based on the obtained first color information.
[0106] According to one embodiment, the instructions, when individually or collectively executed by at least one of the first processor or the second processor, cause the electronic device to request the display driving circuit to change the second set of regions of interest set on the display by the first processor to the first set of regions of interest based on identifying a second situation in which the sleep state is released before a designated time after entering the sleep state and setting the second set of regions of interest, and transmit, by the first processor, first notification information regarding the request for setting the first set of regions of interest to the second processor, and, by the second processor, acquire, from the display driving circuit, the first color information for the first set of regions of interest without acquiring the second color information while the sleep state is released, and compensate the image based on the acquired first color information.
[0107] Figure 10 is a flowchart illustrating an example of an operating method in an electronic device according to one embodiment. In the following embodiments, the operations may be performed sequentially, but are not necessarily performed sequentially. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0108] Referring to FIG. 10, an electronic device according to one embodiment (e.g., the electronic device (101) of FIGS. 1, 3, and 4) may, in operation 1001, display (e.g., reproduce or provide) an image on a display (e.g., the display module (160) of FIGS. 1 and 2 and / or the display (210) of FIGS. 2 and 3).
[0109] In operation 1003, the electronic device may wake up from a hibernation state based on an occurrence of an image change, and perform an operation (hereinafter, referred to as a setting operation) to set a first set of regions of interest (e.g., the first set of regions of interest (610) of FIG. 6) on the display in a state in which the hibernation state is waked up (e.g., an activated state). Here, the setting operation for the first set of regions of interest may be performed by a display driving circuit of the electronic device (e.g., the display driving circuit (230) of FIGS. 2, 3, 4, 7, 8, and 9) in response to receiving a setting request for the first set of regions of interest (e.g., the first set of regions of interest (610) of FIG. 6) from a first processor. The operation of waking up from the hibernation state may be performed by the first processor. The first processor of the electronic device may send a setting request for the first set of regions of interest to the display driving circuit. The first processor of the electronic device may transmit first notification information in response to the request to the second processor. Not limited thereto, when receiving a request to set a first set of regions of interest from the first processor, the display driving circuit may also transmit the first notification information to the second processor. For example, the first notification information may include identification information (e.g., “1” or “set1”) indicating the first set of regions of interest. The first set of regions of interest may include location information (e.g., designated coordinate values) for each of a plurality of regions of interest (e.g., ROI1, ROI2). The plurality of regions of interest (e.g., ROI1, ROI2) may be designated as regions (e.g., area magnification 0.25x, 0.5x) having an area smaller than the area (e.g., area magnification 1x) of a hole of the light sensor (e.g., hole (601) of the light sensor (330) of FIG. 6).
[0110] In operation 1005, an image displayed on a display may be compensated based on first color information for a first set of regions of interest. The image compensation may be performed by a second processor of the electronic device, and the second processor may periodically acquire the first color information at a preset cycle.
[0111] In operation 1007, the electronic device can identify that an image freeze has occurred while the sleep state is being canceled.
[0112] Based on the occurrence of image freeze in operation 1009, an operation of setting a second set of regions of interest (e.g., the set of regions of interest (620) of FIG. 6) including a plurality of regions of interest on the display before entering a sleep state may be performed. Before the setting of the second set of regions of interest (e.g., the set of regions of interest (620) of FIG. 6) is completed (e.g., before the coordinate setting time elapses), first color information for the first set of regions of interest may be acquired. Here, the second set of regions of interest may include location information (e.g., designated coordinate values) for each of the plurality of regions of interest (e.g., ROI3, ROI4). The plurality of regions of interest (e.g., ROI3, ROI4) may be designated as regions having an area (e.g., an area magnification of 1x, 2x) that is larger than or equal to an area of a hole of a light sensor (e.g., an area magnification of 1x). The setting operation for the second set of regions of interest may be performed by the first processor. The electronic device may, via the first processor, request the display driver circuit to set a second set of regions of interest and transmit second notification information in response to the request to the second processor. Not limited thereto, upon receiving the request to set a second set of regions of interest from the first processor, the display driver circuit may transmit second notification information to the second processor. For example, the second notification information may include identification information indicating the second set of regions of interest (e.g., “2” or “set2”).
[0113] In operation 1011, the electronic device can identify that the first processor has entered a sleep state, and based on the entry into the sleep state, obtain second color information for the second set of regions of interest.
[0114] In operation 1013, the electronic device may compensate for the image based on the acquired second color information and the acquired first color information in operation 1009. According to one embodiment, while in a sleep state, the electronic device may compensate for the image based on the first color information and the second color information by the second processor and then maintain a standby state until the sleep state is terminated.
[0115] In the flowchart of the operations in Fig. 10, for the convenience of explanation, the operation is depicted as being terminated. However, when the sleep state is released again from the sleep state, operations 1003 to 1005 are repeatedly performed, and after that, when an event (e.g., image freezing) for entering the sleep state again occurs, operations 1005 to 1013 can be repeatedly performed.
[0116] Although not described in the operations of FIG. 10, according to one embodiment, the electronic device may determine whether an end event (e.g., the display is turned off or image playback on the display) for operations for image compensation has occurred after operation 1013. If the determination result indicates that an end event has occurred, the electronic device may terminate the operations for image compensation, and if not, may perform operation 1001 again.
[0117] Figure 11 is a flowchart illustrating an example of an operating method in an electronic device according to one embodiment. In the following embodiments, the operations may be performed sequentially, but are not necessarily performed sequentially. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0118] Referring to FIG. 11, an electronic device according to one embodiment (e.g., the electronic device (101) of FIGS. 1, 3, and 4) may, in operation 1101, perform an operation of terminating the hibernation state and setting (e.g., changing, applying, or writing) a first set of regions of interest based on a change in an image displayed (e.g., played or provided) on a display (e.g., the display module (160) of FIG. 1 and the display (210) of FIGS. 2, 3, and 4) while in a hibernation state. When the electronic device is out of the sleep state, the first processor (e.g., the processor (120) of FIG. 1, the first processor (310) of FIGS. 2, 3, 4, 7, 8, and 9) may send a request for setting a first set of regions of interest to a display driving circuit (e.g., the display driving circuit (230) of FIGS. 2, 3, 4, 7, 8, and 9) and transmit first notification information in response to the request to a second processor (e.g., the processor (120) of FIG. 1, the second processor (320) of FIGS. 2, 3, 4, 7, 8, and 9). Without being limited thereto, when receiving a request for setting a first set of regions of interest from the first processor, the display driving circuit may also transmit the first notification information to the second processor. For example, the first notification information may include identification information indicating the first set of regions of interest (e.g., “1” or “set1”). The display driving circuit can receive a request for setting a first set of regions of interest from a first processor and perform an operation for setting the first set of regions of interest on a display. The display driving circuit can set (e.g., change or write) regions of interest included in the first set of regions of interest on the display, and when a coordinate application time elapses, actually apply position information (e.g., coordinate values) of regions of interest included in the first set of regions of interest to the display, and complete the operation for setting the first set of regions of interest.
[0119] In operation 1103, the electronic device can determine whether a first situation in which the image is frozen occurs before the first processor completes setting of the first set of regions of interest (e.g., <100 ms from the time of requesting the setting of the first set of regions of interest to the time when two frames after the image is frozen). If the determination result indicates that the first situation has occurred, the electronic device can perform operation 1105, and if not, can perform operation 1107.
[0120] In operation 1105, the electronic device may re-enter the sleep state by the first processor without setting the second region of interest set by the display driver circuit, and may acquire first color information for the first region of interest set after re-entering the sleep state by the second processor, and compensate the image based only on the acquired first color information. Thereafter, the electronic device may perform operation 1109. The image compensation may increase accuracy when the first color information for the first region of interest set (610), which is the center value of the hole of the light sensor (e.g., the COPR value of the first region of interest), is acquired before entering the sleep state, and the second color information for the second region of interest set (620) is added. Accordingly, in a situation where the electronic device (101) does not secure the first color information of the first set of regions of interest (610) (e.g., the first situation), the electronic device (101) enters a sleep state without changing the region of interest (e.g., coordinates), so that the second processor of the electronic device can perform an image compensation operation using only the first set of regions of interest (610) without acquiring the second color information of the second set of regions of interest (620) (e.g., giving up). According to one embodiment, the electronic device can maintain the first set of regions of interest (610) set without changing the set of regions of interest by the display driving circuit of the electronic device because a request for setting the second set of regions of interest is not received (e.g., input) from the first processor within the minimum coordinate application time by the display driving circuit. The electronic device can periodically check first color information (e.g., COPR values) for a first set of regions of interest at a specified period (e.g., about 160 ms) by a display driving circuit, and perform image compensation using only the first color information (e.g., COPR values) for the first set of regions of interest periodically acquired from the display driving circuit by a second processor.
[0121] In operation 1107, the electronic device may perform an operation (hereinafter referred to as a setting operation) for setting a first set of regions of interest (e.g., the first set of regions of interest (610) of FIG. 6) on the display while the sleep state is canceled by the second processor, and may perform image compensation based on the first color information acquired while the sleep state is canceled. Thereafter, the electronic device may perform operation 1109.
[0122] In operation 1109, the electronic device may determine, via the second processor, whether a termination event has occurred for operations for image compensation (e.g., the display has been turned off or image playback on the display has ended). If the determination indicates that a termination event has occurred, the electronic device may terminate operations for image compensation. Otherwise, the electronic device may perform operation 1101 again.
[0123] Figure 12 is a flowchart illustrating an example of an operating method in an electronic device according to one embodiment. In the following embodiments, the operations may be performed sequentially, but are not necessarily performed sequentially. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0124] Referring to FIG. 12, an electronic device (e.g., the electronic device (101) of FIGS. 1, 3, and 4) according to an embodiment may perform an operation for setting (e.g., changing, applying, or writing) a second set of regions of interest (e.g., the second set of regions of interest (620) of FIG. 6) based on an occurrence of an image freeze in a state in which a hibernation state is released (e.g., an activated state) in operation 1201. A first processor of the electronic device (e.g., the processor (120) of FIG. 1, the first processor (310) of FIGS. 2, 3, 4, 7, 8, and 9) may request a display driving circuit (e.g., the display driving circuit (230) of FIGS. 2, 3, 4, 7, 8, and 9) to set (e.g., changing, applying, or writing) a second set of regions of interest. According to one embodiment, the display driving circuit of the electronic device may transmit second notification information to a second processor (e.g., the processor (120) of FIG. 1, the second processor (320) of FIGS. 2, 3, 4, 7, 8, and 9) to notify that the first processor has requested the setting (e.g., change or creation) of the second set of regions of interest. Without being limited thereto, after the first processor requests the display driving circuit to set the first set of regions of interest, the first processor may transmit the second notification information to the second processor. For example, the second notification information may include identification information indicating the second set of regions of interest (e.g., “2” or “set2”). The electronic device may obtain first color information for the first set of regions of interest (e.g., the first set of regions of interest (610) of FIG. 6) from the display driving circuit by the second processor.The display driving circuit may set a requested second set of regions of interest, and after the coordinate application time has elapsed, apply coordinate values of actual regions of interest based on position information of a plurality of regions of interest included in the second set of regions of interest (e.g., position information of each region of interest (ROI1 to ROI 4) of FIG. 6). Accordingly, the coordinate values of the regions of interest may not be applied to the display before the coordinate application time (e.g., before the setting operation for the second set of regions of interest is completed).
[0125] In operation 1203, the electronic device may enter a sleep state by the first processor, and, based on the display driver circuitry setting regions of interest for the second set of regions of interest, determine whether a second situation occurs (e.g., an image change event is received) before the coordinate application time by the first processor. If the determination result is the second situation, operation 1205 may be performed, and if not, operation 1207 may be performed.
[0126] In operation 1205, when the electronic device identifies a second situation through the first processor, the electronic device may cancel a sleep state, perform an operation for setting (e.g., changing, applying, or writing) a first set of regions of interest through the display driver circuit, obtain first color information for the first set of regions of interest through the second processor, and perform image compensation based on the obtained first color information. According to one embodiment, the electronic device may request the display driver circuit to set (e.g., change, apply, or write) the first set of regions of interest through the first processor, and transmit first notification information to notify that the first processor has requested the second processor to set (e.g., change or write) the first set of regions of interest. Without being limited thereto, when receiving a request for setting the first set of regions of interest from the first processor, the display driver circuit may also transmit the first notification information to the second processor. According to one embodiment, the display driver circuit can maintain the settings of the first set of regions of interest without applying the coordinates of actual regions of interest to the second set of regions of interest when receiving a request to set the first set of regions of interest again before the coordinate application time. The electronic device can periodically obtain first color information for the first set of regions of interest by the second processor and perform image compensation based on the obtained first color information.
[0127] In operation 1207, the electronic device may, after entering a sleep state, acquire second color information for a second set of regions of interest via the second processor and perform image compensation based on the first color information and the second color information. Thereafter, the electronic device may perform operation 1209.
[0128] In operation 1209, the electronic device may determine, via the second processor, whether a termination event has occurred for operations for image compensation (e.g., the display has been turned off or image playback on the display has ended). If the determination indicates that a termination event has occurred, the electronic device may terminate operations for image compensation. Otherwise, the electronic device may perform operation 1201 again.
[0129] By the operating methods of FIGS. 11 and 12 described above, it can be seen that the present disclosure can increase the image compensation accuracy when compensating an image using four regions of interest rather than two regions of interest, as in the graphs illustrated in FIG. 13. The present disclosure can additionally secure color information by changing the region set including regions of interest (e.g., switching coordinate values) according to the situation, and can increase the image compensation accuracy of a light sensor even when using a small number of regions of interest in order to reduce the unit cost in the display driving circuit in an electronic device such as a low-cost model or an accessory model, and can secure unit cost competitiveness by reducing the number of regions of interest used in the display driving circuit. In addition, various effects that can be directly or indirectly identified through this document can be provided. The effects that can be obtained from the present disclosure are not limited to the effects mentioned above, and other effects that are not mentioned can be clearly understood by a person skilled in the art to which the present disclosure belongs from the description below.
[0130] According to one embodiment, an operating method in an electronic device (e.g., an electronic device (101) of FIGS. 1 to 4) comprises: an operation of setting a first set of regions of interest (e.g., a first set of regions of interest (610) of FIG. 6) including a plurality of regions of interest on a display of the electronic device (e.g., a display module (160) of FIG. 1 and a display (210) of FIGS. 2, 3 and 4)) based on the release of a hibernation state of a first processor of the electronic device (e.g., a processor (120) or a main processor (121) of FIG. 1 and a first processor (310) of FIGS. 2, 3, 4, 7, 8 and 9); an operation of obtaining first color information for the set first set of regions of interest while the hibernation state is released, and compensating an image displayed on the display based on the obtained first color information; an operation of entering the hibernation state based on the identification that the image is stopped while the hibernation state is released The method may include setting a second set of regions of interest (e.g., the second set of regions of interest (620) of FIG. 6) including a plurality of regions of interest on the display, obtaining first color information for the first set of regions of interest, and, based on entering the sleep state, obtaining second color information for the second set of regions of interest, and compensating the image based on the first color information and the second color information.
[0131] According to one embodiment, the method may further include: terminating the sleep state and setting the first set of regions of interest on the display based on a change in the image while in the sleep state; re-entering the sleep state without setting the second set of regions of interest based on identifying a first condition in which the image is frozen before the setting of the first set of regions of interest is completed; and acquiring first color information for the first set of regions of interest after re-entering the sleep state and compensating the image based on the acquired first color information.
[0132] According to one embodiment, the method may further include an operation of entering the sleep state, and, based on identifying a second situation in which the image changes before the setting of the second set of regions of interest is completed, terminating the sleep state and setting the first set of regions of interest, and an operation of acquiring the first color information for the first set of regions of interest without acquiring the second color information for the second set of regions of interest, and compensating the image based on the acquired first color information.
[0133] According to one embodiment, the first set of regions of interest includes a plurality of regions of interest, and each of the plurality of regions of interest may be set as regions smaller than a hole of a light sensor of the electronic device (e.g., a hole (601) of a light sensor (330) of FIG. 6) based on location information including designated coordinate values.
[0134] According to one embodiment, the second set of regions of interest includes a plurality of regions of interest, and each of the plurality of regions of interest can be set as regions larger than or equal to the hole of the light sensor based on location information including designated coordinate values.
[0135] According to one embodiment, the operation of setting the first set of regions of interest on the display of the electronic device may include an operation of requesting, by the first processor, the display driving circuit to set the first set of regions of interest on the display based on the release of the sleep state, and an operation of transmitting, by the first processor, first notification information regarding the request for setting the first set of regions of interest to the second processor.
[0136] According to one embodiment, the operation of compensating an image displayed on the display based on the first color information may include: an operation of periodically obtaining, by the second processor, first color information corresponding to the first set of interest regions from the display driving circuit while the sleep state is canceled; and an operation of compensating the image based on the obtained first color information.
[0137] According to one embodiment, the operation of setting a second set of regions of interest including a plurality of regions of interest on the display before entering the sleep state may include an operation of requesting, by the first processor, the display driving circuit to set the second set of regions of interest on the display based on entering the sleep state, an operation of transmitting, by the first processor, second notification information regarding the request for setting the second set of regions of interest to the second processor, and an operation of obtaining, by the second processor, first color information corresponding to the first set of regions of interest from the display driving circuit.
[0138] According to one embodiment, the operation of compensating the image based on the first color information and the second color information may include an operation of obtaining second color information corresponding to the second set of interest regions from the display driving circuit based on entering the sleep state, and an operation of compensating the image based on the first color information and the second color information.
[0139] According to one embodiment, the method may further include an operation of maintaining a standby state until the sleep state is terminated after compensating the image based on the first color information and the second color information by the second processor while in the sleep state.
[0140] In one embodiment, the re-entering the sleep state may include: re-entering the sleep state without requesting setting of the second set of regions of interest based on identifying a first condition in which the image is frozen before setting of the first set of regions of interest is completed; and transmitting, by the first processor, first notification information regarding the request for setting of the first set of regions of interest to the second processor.
[0141] According to one embodiment, the operation of waking up from the sleep state and setting the first set of regions of interest on the display may include: an operation of requesting the display driving circuit to change the second set of regions of interest set on the display to the first set of regions of interest based on identifying a second situation in which the sleep state is released before a specified time after entering the sleep state and setting the second set of regions of interest; an operation of transmitting, by the first processor, first notification information regarding a request for setting the first set of regions of interest to the second processor; and an operation of not acquiring, by the second processor, the second color information while the sleep state is released.
[0142] According to one embodiment, in a non-transitory storage medium storing a program, the program comprises: an operation of, when executed by at least one of a first processor (e.g., the processor (120) or the main processor (121) of FIG. 1, and the first processor (310) of FIGS. 2, 3, 4, 7, 8, and 9) or a second processor (e.g., the processor (120) or the auxiliary processor (123) of FIG. 1, and the second processor (320) of FIGS. 2, 3, 4, 7, 8, and 9) of an electronic device (e.g., the electronic device (101) of FIGS. 1 to 4), setting a first set of interest regions including a plurality of interest regions on a display (e.g., the display module (160) of FIG. 1 and the display (210) of FIGS. 2, 3, and 4) of the electronic device based on the release of a sleep state of the first processor of the electronic device; During the sleep state, an operation of obtaining first color information for the set first region of interest set (e.g., the first region of interest set (610) of FIG. 6) and compensating an image displayed on the display based on the obtained first color information; an operation of setting a second region of interest set (e.g., the second region of interest set (620) of FIG. 6) including a plurality of regions of interest on the display before entering the sleep state based on identifying that the image is stopped while the sleep state is being released, and obtaining the first color information for the first region of interest set; and an operation of obtaining second color information for the second region of interest set based on entering the sleep state and compensating the image based on the first color information and the second color information may be included in the executable command.
[0143] The embodiments disclosed in this document are presented for the purpose of explaining and understanding the disclosed technical content, and do not limit the scope of the technology described in this document. Therefore, the scope of this document should be interpreted to include all modifications or various other embodiments based on the technical concepts of this document.
[0144] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.
[0145] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "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" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.
[0146] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0147] Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
[0148] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as a computer program product. The computer program product may be traded between sellers and buyers as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)) or may be provided through an application store (e.g., Play Store). TM ) or directly between two user devices (e.g., smart phones), online distribution (e.g., downloading or uploading). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0149] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
Claims
1. In an electronic device (101), A sensor circuit (176) including a light sensor (330); A display (160, 210) including a display driving circuit; Memory (130) for storing instructions; a first processor (121, 310); and Including a second processor (123, 320), The above instructions, when individually or collectively executed by at least one of the first processor or the second processor, cause the electronic device to: Based on the release of the sleep state of the first processor, a first set of regions of interest including a plurality of regions of interest are set on the display, first color information for the set first set of regions of interest is obtained, and an image displayed on the display is compensated based on the obtained first color information. Based on identifying that the image is frozen while the sleep state is being canceled, setting a second set of regions of interest including a plurality of regions of interest on the display before entering the sleep state, and obtaining first color information for the first set of regions of interest, An electronic device configured to obtain second color information for the second set of regions of interest based on entering the sleep state, and compensate the image based on the first color information and the second color information.
2. In the first paragraph, when the instructions are individually or collectively executed by at least one of the first processor or the second processor, the electronic device: Based on the change of the image during the sleep state, the sleep state is canceled and the first set of interest regions is set on the display; Based on the image being frozen before the setting of the first set of regions of interest is completed, the second set of regions of interest is not set and the sleep state is re-entered, An electronic device configured to obtain first color information for the first set of regions of interest after re-entering the sleep state, and to compensate the image based on the obtained first color information.
3. In the first or second paragraph, when the instructions are individually or collectively executed by at least one of the first processor or the second processor, the electronic device: Entering the sleep state, and based on the change of the image before the second set of interest regions is completed, releasing the sleep state and setting the first set of interest regions on the display, An electronic device configured to acquire first color information for the first set of regions of interest without acquiring second color information for the second set of regions of interest, and to compensate the image based on the acquired first color information.
4. In any one of paragraphs 1 to 3, the instructions, when individually or collectively executed by at least one of the first processor or the second processor, cause the electronic device to: When a change occurs in the above image, the sleep state is canceled, It is configured to enter the sleep state when the image is stopped for a specified time after the sleep state is canceled, The above first set of regions of interest includes a plurality of regions of interest, and the plurality of regions of interest are set as regions smaller than the hole of the light sensor based on location information including designated coordinate values, An electronic device wherein the second set of regions of interest includes a plurality of regions of interest, each of which is set to regions larger than or equal to the hole of the light sensor based on location information including designated coordinate values.
5. In any one of paragraphs 1 to 4, the instructions, when individually or collectively executed by at least one of the first processor or the second processor, cause the electronic device to: Based on the termination of the above sleep state, requesting the display driving circuit to set the first set of regions of interest on the display by the first processor; By the first processor, the first notification information for the request for setting the first set of interest areas is transmitted to the second processor, An electronic device configured to periodically acquire first color information corresponding to the first set of regions of interest from the display driving circuit while the sleep state is canceled, and to compensate the image based on the acquired first color information.
6. In any one of paragraphs 1 to 5, the instructions, when individually or collectively executed by at least one of the first processor or the second processor, cause the electronic device to: Based on entering the sleep state, the display driving circuit is requested to set the second set of interest regions on the display by the first processor, By the first processor, second notification information for a request for setting the second set of interest areas is transmitted to the second processor, Obtaining first color information corresponding to the first set of interest regions from the display driving circuit by the second processor, Based on entering the sleep state, second color information corresponding to the second set of interest regions is acquired from the display driving circuit, and the image is compensated based on the first color information and the second color information. An electronic device further configured to maintain a standby state until the sleep state is terminated after compensating the image based on the first color information and the second color information by the second processor during the sleep state.
7. In any one of paragraphs 1 to 6, the instructions, when individually or collectively executed by at least one of the first processor or the second processor, cause the electronic device to: Requesting the display driving circuit to set the first set of regions of interest on the display based on identifying a first condition where the image is still before the setting of the first set of regions of interest is completed by the first processor; By the first processor, the first notification information for the request for setting the first set of interest areas is transmitted to the second processor, An electronic device further configured to, while in the sleep state, acquire first color information corresponding to the first set of interest regions from the display driving circuit by the second processor, and compensate the image based on the acquired first color information.
8. In the first paragraph, when the instructions are individually or collectively executed by at least one of the first processor or the second processor, the electronic device: Based on identifying a second situation in which the sleep state is released before a specified time after entering the sleep state and setting the second set of interest regions, requesting the display driving circuit to change the second set of interest regions set on the display by the first processor to the first set of interest regions; By the first processor, the first notification information for the request for setting the first set of interest areas is transmitted to the second processor, An electronic device configured to acquire, by the second processor, the first color information for the first set of regions of interest from the display driving circuit without acquiring the second color information while the sleep state is canceled, and to compensate the image based on the acquired first color information.
9. In the operating method in the electronic device (101), An operation of setting a first set of regions of interest including a plurality of regions of interest on a display (160, 210) of the electronic device based on the release of the sleep state of the first processor (121, 310) of the electronic device; While the above sleep state is canceled, an operation of acquiring first color information for the set first interest region set and compensating an image displayed on the display based on the acquired first color information; An operation of setting a second set of regions of interest including a plurality of regions of interest on the display before entering the sleep state, based on identifying that the image is frozen while the sleep state is being terminated, and obtaining first color information for the first set of regions of interest; and A method comprising: obtaining second color information for the second set of regions of interest based on entering the sleep state; and compensating the image based on the first color information and the second color information.
10. In paragraph 9, the method, An action of canceling the sleep state and setting the first set of regions of interest on the display based on a change in the image while in the sleep state; An operation of re-entering the sleep state without setting the second set of interest regions, based on identifying a first condition in which the image is stopped before the setting of the first set of interest regions is completed; and A method further comprising: obtaining first color information for the first set of regions of interest after re-entering the sleep state; and compensating the image based on the obtained first color information.
11. In the 9th or 10th clause, the method, An operation of entering the sleep state and, based on identifying a second situation in which the image changes before the second set of interest regions is completed, terminating the sleep state and setting the first set of interest regions; and Further comprising an operation of acquiring the first color information for the first set of regions of interest without acquiring the second color information for the second set of regions of interest, and compensating the image based on the acquired first color information. The first set of regions of interest includes a plurality of regions of interest, each of which is set to regions smaller than a hole of a light sensor of the electronic device based on location information including designated coordinate values. A method according to claim 1, wherein the second set of regions of interest includes a plurality of regions of interest, and the plurality of regions of interest are set as regions larger than or equal to the hole of the light sensor based on location information including designated coordinate values.
12. In any one of paragraphs 9 to 11, the operation of setting the first set of interest regions on the display of the electronic device comprises: An operation of requesting the display driving circuit to set the first set of regions of interest on the display based on the termination of the sleep state by the first processor; and An operation of transmitting, by the first processor, first notification information for a request for setting the first set of interest areas to the second processor, An operation of compensating an image displayed on the display based on the first color information is as follows: While the sleep state is canceled, an operation of periodically obtaining first color information corresponding to the first set of interest regions from the display driving circuit by the second processor; and A method comprising an operation of compensating the image based on the first color information acquired above.
13. In any one of paragraphs 9 to 12, the operation of setting a second set of regions of interest including a plurality of regions of interest on the display before entering the sleep state is: An action of requesting the display driving circuit to set the second set of regions of interest on the display based on entering the sleep state by the first processor; An operation of transmitting second notification information for a request for setting the second set of interest areas to the second processor by the first processor; and An operation of obtaining first color information corresponding to the first set of interest regions from the display driving circuit by the second processor, The operation of compensating the image based on the first color information and the second color information is as follows: An operation of obtaining second color information corresponding to the second set of interest regions from the display driving circuit based on entering the above sleep state; and An operation of compensating the image based on the first color information and the second color information, wherein the method comprises: A method further comprising: during the sleep state, compensating the image based on the first color information and the second color information by the second processor, and then maintaining a standby state until the sleep state is terminated.
14. In any one of clauses 9 to 13, the operation of re-entering the sleep state comprises: An operation of re-entering the sleep state by the first processor without requesting setting of the second set of regions of interest, based on identifying a first condition in which the image is frozen before setting of the first set of regions of interest is completed; and An operation of transmitting, by the first processor, first notification information for a request for setting the first set of interest regions to the second processor, and an operation of waking up the sleep state and setting the first set of interest regions on the display, An action of requesting the display driving circuit to change the second set of regions of interest set on the display by the first processor to the first set of regions of interest based on identifying a second situation in which the sleep state is released before a designated time after entering the sleep state and setting the second set of regions of interest; An operation of transmitting, by the first processor, first notification information for a request for setting the first set of interest areas to the second processor; and A method comprising: an operation of not acquiring the second color information while the sleep state is canceled by the second processor.
15. In a non-transitory storage medium storing a program, the program, when executed by at least one of the first processor (121, 310) or the second processor (123, 320) of the electronic device (101), An operation of setting a first set of regions of interest including a plurality of regions of interest on a display (160, 210) of the electronic device based on the release of the sleep state of the first processor of the electronic device; While the above sleep state is canceled, an operation of acquiring first color information for the set first interest region set and compensating an image displayed on the display based on the acquired first color information; An operation of setting a second set of regions of interest including a plurality of regions of interest on the display before entering the sleep state, based on identifying that the image is frozen while the sleep state is being terminated, and obtaining first color information for the first set of regions of interest; and A non-transitory storage medium comprising executable instructions for obtaining second color information for the second set of regions of interest based on entering the sleep state, and performing an operation of compensating the image based on the first color information and the second color information.
Citation Information
Patent Citations
Mobile terminal and method for controlling the same
KR101943358B1
Logic circuit
KR1020210152242A
All-in-one eco-friendly snow removal agent
KR1020220034641A
Train entry recognition and train passing speed detection and method
KR1020230072099A
Method and apparatus for controlling display of electronic device having a plurality of processors
KR102332136B1