Electronic device and non-transitory computer-readable storage medium for identifying intensity of light by using at least one illuminance sensor

The electronic device employs a single illuminance sensor and correlation data to accurately measure external light intensity across various states, ensuring efficient brightness control and reduced power consumption by tracking the device's configuration and using a Hall sensor to maintain consistent light measurement.

WO2024262862A1PCT designated stage expired Publication Date: 2024-12-26SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2024/007993
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-26
Filing Date
2024-06-11
Publication Date
2024-12-26

AI Technical Summary

Technical Problem

Portable electronic devices with flexible displays face challenges in accurately determining external light intensity across different states (folded, unfolded, and intermediate states) using a single illuminance sensor, as the sensor's exposure and orientation change with the device's configuration, affecting brightness control and power efficiency.

Method used

An electronic device with a foldable housing and a single illuminance sensor that uses correlation information to determine light intensity values in various states, adjusting brightness accordingly, and employing a Hall sensor to track the angle between housings, ensuring consistent light measurement and reduced power consumption.

Benefits of technology

Enables accurate light intensity measurement and efficient brightness control across different device states, improving user experience and reducing power usage by utilizing a single sensor and correlation data to infer light conditions even when partially obscured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2024007993_26122024_PF_FP_ABST
    Figure KR2024007993_26122024_PF_FP_ABST
Patent Text Reader

Abstract

According to an embodiment, instructions, when executed by a processor of an electronic device, may cause the electronic device to obtain a first illuminance value corresponding to light received from the outside of the electronic device by using an illuminance sensor while a foldable housing is in an unfolded state. The instructions executed by the processor may cause the electronic device to obtain a second illuminance value corresponding to light received from the outside of the electronic device by using the illuminance sensor while the foldable housing is in the folded state. The instructions executed by the processor may cause the electronic device to control the brightness of the second display on the basis of the second illuminance value obtained from the illuminance sensor located on the same side surface as the first display while the foldable housing is in the folded state.
Need to check novelty before this filing date? Find Prior Art

Description

An electronic device and a non-transitory computer-readable storage medium for identifying light intensity using at least one light sensor

[0001] The disclosure relates to an electronic device and a non-transitory computer-readable storage medium for identifying the intensity of light using at least one light sensor.

[0002] Recently, the spread of various types of portable electronic devices, such as smartphones, tablet PCs, wireless earphones, and smart watches, has been increasing. Some of the portable electronic devices may include a flexible display that can be deformed. Some of the portable electronic devices may include at least one light sensor. A portable electronic device including the flexible display may provide a folding state (e.g., fully folded), an unfolding state (e.g., fully unfolded), and an intermediate state between the folding state and the unfolding state through the flexible display. Some of the portable electronic devices may use the at least one light sensor to identify external brightness independently of the state of the portable electronic device.

[0003] In one embodiment, an electronic device may include a foldable housing including a first housing, a second housing, and a hinge rotatably connected between the first housing and the second housing and capable of moving into a folded state, a partially folded state, and an unfolded state, a first display disposed on the first housing and the second housing and configured to bend as the foldable housing moves between the folded state and the unfolded state, a second display disposed on at least one of the first housing and the second housing on an opposite side from the first display, an illumination sensor disposed on one of the first housing and the second housing on the same side as the first display, at least one processor, and a memory including one or more storage media storing instructions. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain a first illumination value corresponding to light received from an external source of the electronic device using the illumination sensor while the foldable housing is in the unfolded state. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to control brightness of the first display based on the first illuminance value obtained from the illuminance sensor located on the same side as the first display while the foldable housing is in the unfolded state. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain a second illuminance value corresponding to light received from an external source of the electronic device using the illuminance sensor while the foldable housing is in the folded state.The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to control brightness of the second display based on the second illuminance value obtained from the illuminance sensor located on the same side as the first display while the foldable housing is in the folded state.

[0004] In one embodiment, a method of an electronic device may include an operation of obtaining a first illuminance value corresponding to light received from an outside of the electronic device using an illuminance sensor while the foldable housing is in an unfolded state. The method may include an operation of controlling brightness of a first display based on the first illuminance value obtained from the illuminance sensor located on the same side as a first display while the foldable housing is in the unfolded state. The method may include an operation of obtaining a second illuminance value corresponding to light received from an outside of the electronic device using the illuminance sensor while the foldable housing is in a folded state. The method may include an operation of controlling brightness of a second display located on an opposite side from the first display based on the second illuminance value obtained from the illuminance sensor located on the same side as the first display while the foldable housing is in the folded state.

[0005] In one embodiment, an electronic device may include a foldable housing including a first housing, a second housing, and a hinge rotatably connected between the first housing and the second housing and capable of moving into a folded state, a partially folded state, and an unfolded state, a first display disposed on the first housing and the second housing and configured to bend as the foldable housing moves between the folded state and the unfolded state, a second display disposed on at least one of the first housing and the second housing on a side opposite to the first display, an illuminance sensor disposed on one of the first housing and the second housing on a side identical to the first display, a Hall sensor for identifying an angle between the first housing and the second housing, at least one processor, and a memory including one or more storage media storing instructions. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain, using the light sensor, a first illuminance value corresponding to light received from an external source of the electronic device while the foldable housing is in the unfolded state. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to identify, using the Hall sensor, that the foldable housing has moved from the unfolded state to the folded state. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain, using the light sensor, a second illuminance value corresponding to light received from an external source of the electronic device while the foldable housing is in the folded state.The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to identify, using the Hall sensor, that the foldable housing has moved from the folded state to the unfolded state. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to identify, using the illuminance sensor, whether a third illuminance value corresponding to the first illuminance value is acquired while the foldable housing is in the unfolded state. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to, in a first state in which the third illuminance value corresponding to the first illuminance value has been acquired, acquire correlation information indicating a relationship between the first illuminance value and the second illuminance value.

[0006] FIG. 1 is a block diagram of an electronic device within a network environment according to various embodiments.

[0007] FIG. 2 illustrates an example block diagram of an electronic device according to one embodiment.

[0008] FIG. 3 illustrates an example of a state in which an electronic device according to one embodiment acquires an illuminance value using a illuminance sensor.

[0009] FIG. 4 illustrates an example of a graph showing illuminance values ​​according to a state acquired by an electronic device according to one embodiment.

[0010] FIG. 5 illustrates an example of a flowchart illustrating the operation of an electronic device according to one embodiment.

[0011] FIG. 6 illustrates an example of a user interface for an electronic device to obtain a luminance value according to one embodiment.

[0012] Figures 7a and 7b illustrate examples of deformable electronic devices.

[0013] FIG. 8 illustrates an example of a flowchart illustrating the operation of an electronic device according to one embodiment.

[0014] FIG. 9 illustrates an example of a state in which an electronic device according to one embodiment identifies a light intensity value that is below a threshold value.

[0015] FIG. 10 illustrates an example of an operation of an electronic device according to one embodiment to adjust the brightness of a display based on a light value.

[0016] FIG. 11 illustrates an example flowchart illustrating the operation of an electronic device according to one embodiment.

[0017] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to various embodiments. Referring to FIG. 1, in the network environment (100), the electronic device (101) may communicate with the electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of the electronic device (104) or the server (108) via a second network (199) (e.g., a long-range wireless communication network). In 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)).

[0018] 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 operations. According to one embodiment, as at least a part of the data processing or operations, 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 an auxiliary 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 with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.

[0019] 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.

[0020] 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).

[0021] 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).

[0022] 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).

[0023] 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.

[0024] 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. According to 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.

[0025] 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).

[0026] 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.

[0027] 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.

[0028] 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).

[0029] The 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. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

[0030] 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.

[0031] 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 as, for example, at least a part of a power management integrated circuit (PMIC).

[0032] 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.

[0033] 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 (GNSS) 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).

[0034] 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 eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, 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 URLLC realization.

[0035] 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, for example, by the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device via the at least one selected 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).

[0036] According to various embodiments, the antenna module (197) may form a mmWave antenna module. In 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 side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.

[0037] 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)).

[0038] 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.

[0039] 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.

[0040] 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.

[0041] 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).

[0042] 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.

[0043] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as included in a computer program product. The computer program product may be traded as a commodity between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.

[0044] 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.

[0045] FIG. 2 illustrates an example of a block diagram of an electronic device according to one embodiment. The electronic device (101) of FIG. 2 may include the electronic device (101) of FIG. 1. Referring to FIG. 2, the electronic device (101) according to one embodiment may include at least one of a processor (210), a memory (215), a flexible display (220), or a sensor (230). The processor (210), the memory (215), the flexible display (220), the cover display (225), and the sensor (230) may be electrically and / or operatively connected to each other by electronic components such as a communication bus (202). In one embodiment, the electronic device (101) may further include a communication circuit (not shown).

[0046] In one embodiment, the hardware of the electronic device (101) being operatively coupled may mean that a direct connection or an indirect connection is established between the hardwares, either wired or wireless, such that the second hardware is controlled by the first hardware among the hardwares. Although illustrated based on different blocks, the embodiment is not limited thereto, and some of the hardware of FIG. 2 (e.g., at least a portion of the processor (210), the memory (215), and the communication circuit (not shown)) may be included in a single integrated circuit such as a system on a chip (SoC). The type and / or number of hardware included in the electronic device (101) is not limited to that illustrated in FIG. 2. For example, the electronic device (101) may include only some of the hardware components illustrated in FIG. 2.

[0047] According to one embodiment, the processor (210) of the electronic device (101) may include hardware for processing data based on one or more instructions. The hardware for processing data may include, for example, an arithmetic and logic unit (ALU), a floating point unit (FPU), a field programmable gate array (FPGA), a central processing unit (CPU), and / or an application processor (AP). The number of processors (210) may be one or more. For example, the processor (210) may have a multi-core processor structure such as a dual core, a quad core, or a hexa core.

[0048] According to one embodiment, the memory (215) of the electronic device (101) may include hardware components for storing data and / or instructions input and / or output to the processor (210). The memory (215) may include, for example, volatile memory such as random-access memory (RAM) and / or non-volatile memory such as read-only memory (ROM). The volatile memory may include, for example, at least one of dynamic RAM (DRAM), static RAM (SRAM), cache RAM, and pseudo SRAM (PSRAM). The non-volatile memory may include, for example, at least one of programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), flash memory, hard disk, compact disc, solid state drive (SSD), and embedded multimedia card (eMMC).

[0049] According to one embodiment, a flexible display (220) of an electronic device (101) can output visualized information to a user. For example, the flexible display (220) can be controlled by a controller, such as a graphic processing unit (GPU), to output visualized information to the user. The flexible display (220) can include a liquid crystal display (LCD), a plasma display panel (PDP), and / or one or more light emitting diodes (LEDs). The LEDs can include organic LEDs (OLEDs). The flexible display (220) can include electronic paper. The flexible display (220) can have an at least partially curved shape and / or a deformable shape.

[0050] According to one embodiment, the flexible display (220) of the electronic device (101) may include a sensor (e.g., a touch sensor panel (TSP)) for detecting an external object (e.g., a user's finger) on the flexible display (220). For example, based on the TSP, the electronic device (101) may detect an external object that is in contact with the flexible display (220) or floating on the flexible display (220). In response to detecting the external object, the electronic device (101) may execute a function related to a specific visual object corresponding to a position of the external object on the flexible display (220) among visual objects displayed within the flexible display (220). For example, when the electronic device (101) identifies an illuminance value that is lower than a threshold value using the illuminance sensor (231), the electronic device (101) may temporarily refrain from executing the function. For example, if the electronic device (101) identifies a light level below a threshold value, the electronic device (101) may at least temporarily disable the touch function. The flexible display (220) may be referred to as a first display, in the sense that it is one of multiple displays included in the electronic device (101). The operation of the electronic device (101) temporarily refraining from executing the above function is described below with reference to FIG. 9.

[0051] According to one embodiment, a cover display (225) of an electronic device (101) may be provided to output visualized information to a user, similar to a flexible display (220). The cover display (225) may be disposed on a different side of the electronic device (101) from a side on which the flexible display (220) is disposed. The cover display (225) may be disposed on a side of a housing that is viewable when the flexible display (220) is covered (e.g., in a folded state). For example, the cover display (225) may be disposed on at least one of a first housing (e.g., the first housing (310) of FIG. 3) and a second housing (e.g., the second housing (320) of FIG. 3) of the electronic device (101) at a side opposite to the first display of the flexible display (220). The cover display (225) may be implemented similarly to the flexible display (220). For the sake of convenience, any description of the cover display (225) that overlaps with the description of the flexible display (220) will be omitted. The cover display (225) may be referred to as a sub-display or a front display. The cover display (225) may be referred to as a second display when referred to as a sub-display.

[0052] According to one embodiment, the sensor (230) of the electronic device (101) may generate electrical information that may be processed by the processor (210) and / or the memory (215) from non-electronic information related to the electronic device (101). For example, the sensor (230) may include a global positioning system (GPS) sensor for detecting a geographic location of the electronic device (101). In addition to the GPS method, the sensor (230) may generate information indicating the geographic location of the electronic device (101) based on a global navigation satellite system (GNSS) such as, for example, Galileo, Beidou (compass). The information may be stored in the memory (215), processed by the processor (210), and / or transmitted to another electronic device distinct from the electronic device (101) via a communication circuit (not shown). The sensor (230) is not limited to those described above, and may include an image sensor, a light sensor, a proximity sensor, a grip sensor, and / or a ToF sensor for detecting electromagnetic waves including light.

[0053] Referring to FIG. 2, as examples of sensors (230), a light sensor (231) and a Hall sensor (232) are illustrated. For example, the light sensor (231) may output an electrical signal representing the intensity (or amount) of light reaching at least a portion of the light sensor (231) exposed to the outside. For example, the light sensor (231) may output sensor data representing the brightness of ambient light of the electronic device (101). The light sensor (231) may include an element having a photoelectric effect in which electrons are generated and conductivity changes when exposed to ambient light. The light sensor (231) may be an example of a CdS sensor using cadmium sulfide as an element. The light sensor (231) may include a photo resistor in terms of including an element having the photoelectric effect. The light sensor (231) may include an ambient light sensor from the perspective of identifying ambient light. The light sensor (231) may be disposed on at least a portion of one side of the electronic device (101) on which the flexible display (220) is disposed. The light sensor (231) may be disposed on one of the first housing (e.g., the first housing (310) of FIG. 3) and the second housing (e.g., the second housing of FIG. 3) on the same side as the flexible display (220). For example, the electronic device (101) may use the light sensor (231) to adjust the brightness of the flexible display (220) (or the cover display (225)) based on the intensity of light.

[0054] For example, the Hall sensor (232) may include a magnet and a magnetic field sensor that measures a change in a magnetic field formed by the magnet. The magnet and the magnetic field sensor may be disposed at different parts of the housing of the electronic device (101). Based on the change in the magnetic field measured by the magnetic field sensor, the Hall sensor (232) may identify a distance between the parts. In one embodiment where the electronic device (101) includes a deformable housing (e.g., the first housing (310) and the second housing (320) of FIG. 3), the electronic device (101) may use the Hall sensor (232) including the magnet and the magnetic field sensor disposed at different parts of the housing to identify a shape of the housing. For example, the Hall sensor (232) may output sensor data indicating the distance and / or the shape of the housing. For example, the sensor (230) may include an inertial measurement unit (IMU). The IMU may include an acceleration sensor, a gyro sensor, a geomagnetic sensor, or any combination thereof. The acceleration sensor may output an electrical signal representing gravitational acceleration and / or acceleration along each of a plurality of axes (e.g., x-axis, y-axis, and z-axis) that are perpendicular to each other. The gyro sensor may output an electrical signal representing an angular velocity (e.g., an angular velocity based on roll, pitch, and / or yaw) along each of the plurality of axes. The geomagnetic sensor may output an electrical signal representing a magnitude of a magnetic field formed in the electronic device (101) along each of the plurality of axes (e.g., x-axis, y-axis, and / or z-axis). The processor (210) may repeatedly acquire data representing acceleration, angular velocity, and / or magnitude of a magnetic field from the IMU based on a specified period (e.g., 1 millisecond).Using the Hall sensor (232), the processor (210) can identify parameters related to the shape of the electronic device (101) (e.g., a parameter indicating an angle between the first housing (310) and the second housing (320) of FIG. 3). Based on the parameters, the processor (210) can identify the current shape of the electronic device (101) among designated positional states (e.g., an unfolded state, an intermediate state, e.g., a sub-folded state, and / or a folded state) for distinguishing the shape (e.g., a relative arrangement) of the electronic device (101).

[0055] According to one embodiment, one or more instructions (or commands) representing operations and / or actions to be performed on data by the processor (210) may be stored within the memory (215) of the electronic device (101). A set of one or more instructions may be referred to as firmware, an operating system, a process, a routine, a sub-routine, and / or an application. For example, the electronic device (101) and / or the processor (210) may perform at least one of the operations of FIG. 5 or FIG. 8 when a set of a plurality of instructions distributed in the form of an operating system, firmware, a driver, and / or an application is executed. Hereinafter, the fact that an application is installed in an electronic device (101) may mean that one or more instructions provided in the form of an application are stored in the memory (215) of the electronic device (101), and that the one or more applications are stored in a format executable by the processor (210) of the electronic device (101) (e.g., a file having an extension specified by the operating system of the electronic device (101)).

[0056] Referring to FIG. 2, programs installed in the electronic device (101) may be classified into one of different layers, including an application layer (240), a framework layer (250), and / or a hardware abstraction layer (HAL) (260), based on a target. For example, programs (e.g., drivers) designed to target the hardware of the electronic device (101) (e.g., a flexible display (220), and / or a sensor (230)) may be classified within the hardware abstraction layer (260). For example, programs (e.g., sensor drivers (251)) designed to target at least one of the hardware abstraction layer (260) and / or the application layer (240) may be classified within the framework layer (250). Programs classified into the framework layer (250) may provide an executable API (application programming interface) based on other programs.

[0057] For example, within the application layer (240), programs designed to target users controlling electronic devices (101) may be classified. As an example of programs classified into the application layer (240), the first software application (241) is exemplified, but the embodiment is not limited thereto. For example, programs (e.g., software applications) classified into the application layer (240) may call APIs to cause the execution of functions supported by programs classified into the framework layer (250).

[0058] Referring to FIG. 2, based on the execution of the sensor driver (251), the processor (210) can control the sensor (230) and / or acquire and / or receive sensor data from the sensor (230). Based on the execution of the sensor driver (251), the processor (210) can periodically (or repeatedly) acquire the sensor data from the sensor (230). The sensor driver (251) may be one or more depending on the number and / or type of sensors (230) included in the electronic device (101). The sensor driver (251) may be a program for controlling the sensor.

[0059] For example, based on the execution of the sensor driver (251), the processor (210) may perform an operation to control the sensor (230). For example, based on the execution of the sensor driver (251), the processor (210) may generate a control signal for activating or deactivating the illuminance sensor (231) and transmit the control signal to the illuminance sensor (231). Based on the execution of the sensor driver (251), the processor (210) may obtain information for obtaining an illuminance value (or illuminance value) for the outside of the electronic device (101) from the illuminance sensor (231). The illuminance value may mean data representing the intensity of light received by the electronic device (101) from the outside of the electronic device (101).

[0060] For example, based on the execution of the sensor driver (251), the processor (210) may obtain information indicating an angle of the electronic device (101) using the Hall sensor (232). The information may include an angle of the flexible display (220) and / or data to be used for calculating the angle. For example, the sensor driver (251) may be a program for controlling a sensor for measuring an angle between a first housing of the electronic device (101) and a second housing of the electronic device (101). The sensor for measuring the angle between the first housing and the second housing may include the Hall sensor (232). The embodiment is not limited thereto, and the sensor for measuring the angle between the first housing and the second housing may include an IMU disposed in each of the first housing and the second housing.

[0061] For example, the electronic device (101) can identify illuminance values ​​using the illuminance sensor (231) according to the state of the electronic device (101) identified using the Hall sensor (232). The electronic device (101) can obtain correlation information (270) indicating the relationship between the identified illuminance values ​​according to the state. Hereinafter, with reference to FIG. 3, an example of an operation of the electronic device (101) obtaining the correlation information (270) will be described below.

[0062] FIG. 3 illustrates an example of a state in which an electronic device according to one embodiment acquires an illuminance value using an illuminance sensor. The electronic device (101) of FIG. 3 may include the electronic device (101) of FIGS. 1 and 2. Referring to FIG. 3, a housing of the electronic device (101) according to one embodiment may include a first housing (310), a second housing (320), and a folding housing (330) for rotatably connecting the first housing (310) and the second housing (320). The housing of the electronic device (101) may be referred to as a foldable housing in the sense that it includes a hinge (or hinge structure) that is rotatably connected between the first housing (310) and the second housing (320) and can be moved into a folded state, a partially folded state, and an unfolded state, for example.

[0063] The folding housing (330) may be referred to as a hinge assembly in that it includes a hinge structure that rotates the first housing (310) and the second housing (320). For example, the electronic device (101) may include a first housing (310) that includes a first side (311) and a second side (312) opposite the first side (311). The electronic device (101) may include a second housing (320) that includes a third side (321) and a fourth side (322) opposite the third side (321). The electronic device (101) may include a folding housing (330) that can be changed into an unfolded state (300) in which a first surface (311) faces the same direction as a third surface (321) faces, and a folded state (305) in which a first surface (311) faces the opposite direction to a third surface (321) faces, by rotatably connecting a first housing (310) and a second housing (320). The flexible display (220) may be disposed on the first surface (311) and the third surface (321) across the folding housing (330). For example, the flexible display (220) may be disposed on the first housing (310) and the second housing (320) and configured to bend as the housing of the electronic device (101) moves between the folded state and the unfolded state.

[0064] By means of the folding housing (330), the relative positions, angles, shapes, and / or distances of the first housing (310) and the second housing (320), which are rigid bodies, can be changed by an external force. For example, the folding axis formed in the folding housing (330) can be a rotation axis of the first housing (310) and the second housing (320). As the first housing (310) and / or the second housing (320) are rotated around the folding axis, the angles between the first housing (310), the folding housing (330), and the second housing (320) can be changed. For example, the electronic device (101) can include a flexible display (220) disposed on one surface (e.g., a front surface of the electronic device (101)) of the first housing (310) and the second housing (320). For example, the flexible display (220) may be arranged across the folding housing (330) from the first housing (310) to the second housing (320). Hereinafter, the angle between the first housing (310) and the second housing (320) may correspond to the angle between the first side (311) of the first housing (310) and the third side (321) of the second housing (320) on which the flexible display (220) is arranged, which can be folded by the folding axis of the folding housing (330). A state (300) of the electronic device (101) in which the angle is substantially a straight angle (e.g., about 180 degrees) may be referred to as a fully unfolded state, an opened state, an unfolded state, an unfolded state, a flat state, and / or a planar state. Within the state (300), the flexible display (220) arranged from the first housing (310) to the second housing (320) may have a substantially flat shape.Within the state (300), a single plane may be formed on the front surface (e.g., the first surface (311) and the third surface (321)) of the electronic device (101) on which the flexible display (220) is disposed. For example, the state (305) of the electronic device (101) in which the angle between the first housing (310) and the second housing (320) is substantially 0 degrees may be referred to as a fully folded state, a folded state, a folded state, and / or a closed state. Within the state (305), the flexible display (220) may be visually completely covered by the first housing (310) and the second housing (320). For example, within the state (305), an area where the flexible display (220) of the electronic device (101) is exposed to the outside may be substantially 0. The electronic device (101) can identify the state of the electronic device (101) by obtaining the angle between the first housing (310) and the second housing (320) using the Hall sensor (232). The electronic device (101) can identify the intensity of lights according to the state of the electronic device (101) within the same environment. The electronic device (101) can identify the relationship between lights according to the state. The electronic device (101) can identify the intensity of light in a sub-folded state (or a partially folded state) (e.g., a state between a folded state and an unfolded state).

[0065] In a state (300) according to one embodiment, the electronic device (101) can identify the intensity of light outside the electronic device (101) using the light sensor (231). The electronic device (101) can identify the intensity of light received from the outside of the electronic device (101). For example, the light sensor (231) of the electronic device (101) can be disposed within at least one of the first surface (311) of the first housing (310) or the third surface (321) of the second housing (320). For example, the light sensor (231) can be disposed on the side surface of the first housing (310) or the side surface of the second housing (320). For example, the light sensor (231) can be disposed on the second surface (312) opposite the first surface (311) of the first housing (310). The location where the light sensor (231) is placed within the electronic device (101) is not limited to the examples described above.

[0066] For example, the electronic device (101) can identify the intensity of light received by the electronic device (101) based on a specified period by using the light sensor (231). The electronic device (101) can represent the intensity of light by using an illuminance value. The electronic device (101) can obtain at least one illuminance value representing an average value among a plurality of illuminance values ​​identified using the illuminance sensor (231). The electronic device (101) can obtain at least one illuminance value representing a maximum value (or minimum value) among the plurality of identified illuminance values ​​based on a specified period. The electronic device (101) can identify the obtained at least one illuminance value as a first illuminance value corresponding to the state (300).

[0067] For example, the electronic device (101) can adjust the brightness of the flexible display (220) based on a first illuminance value obtained from a illuminance sensor (231) located on the same side as the flexible display (220) in the unfolded state (300).

[0068] According to one embodiment, the electronic device (101) can identify a change from state (300) to state (305) using a Hall sensor. The electronic device (101) can obtain a second illuminance value using the illuminance sensor (231) in state (305). The electronic device (101) can obtain the second illuminance value corresponding to light received from outside the electronic device (101) using the illuminance sensor (231) in state (305). For example, in state (305), at least a portion of a third surface (321) of a second housing (320) of the electronic device (101) can cover at least a portion of a first surface (311) of a first housing (310). Since the first surface (311) and the third surface (321) cover each other, the first illuminance value obtained in the state (300) may be relatively larger than the second illuminance value obtained in the state (305). The second illuminance value may be relatively smaller than the first illuminance value. For example, the first illuminance value may be a first multiple (e.g., about 2000 times) to a second multiple (e.g., about 5000 times) greater than the second illuminance value. For example, since the first surface (311) and the third surface (321) cover each other in the state (305), the first illuminance value identified in the state (300) may represent the intensity of light outside the electronic device (101) more accurately than the second illuminance value identified in the state (305).

[0069] For example, the electronic device (101) may adjust the brightness of the cover display (e.g., the cover display (225) of FIG. 2) based on the second illuminance value obtained from the illuminance sensor (231) located on the same side as the flexible display (220) in state (305), but is not limited thereto.

[0070] According to one embodiment, the electronic device (101) can, after acquiring the first illuminance value and the second illuminance value, identify a change from the state (305) to the state (300) using the Hall sensor. The electronic device (101) can, in the state (300), acquire a third illuminance value using the illuminance sensor (231). After acquiring the first illuminance value and the second illuminance value, the electronic device (101) can identify a third illuminance value corresponding to the first illuminance value in the state (300). For example, the third illuminance value can be the same as the first illuminance value. For example, in the state (300), the electronic device (101) can acquire a plurality of illuminance values ​​based on a specified cycle and identify an average value among the plurality of illuminance values ​​as the third illuminance value. The electronic device (101) can obtain a third illuminance value by removing the maximum value and / or minimum value from among the plurality of acquired illuminance values ​​based on a specified cycle. The electronic device (101) can improve the reliability of the third illuminance value by removing the maximum value and / or minimum value from among the plurality of illuminance values.

[0071] For example, the electronic device (101) may obtain association information (e.g., association information (270) of FIG. 2) indicating a relationship between the first illuminance value and the second illuminance value based on the identification of a third illuminance value corresponding to the first illuminance value in the state (300). The association information may include data indicating an association between the first illuminance value identified by the electronic device (101) in the state (300) and the second illuminance value identified in the state (305) when the electronic device (101) is located in the same environment. For example, when the first illuminance value is identified in the state (300), the electronic device (101) may infer that the second illuminance value will be obtained in the state (305) using the association information. The association information may be referred to as association information. For example, when the second illuminance value is identified in the state (305), the electronic device (101) may infer that the first illuminance value will be obtained in the state (300). The electronic device (101) can identify the first illuminance value in state (305) using the correlation information. The correlation information, in terms of including illuminance values, can be referred to as illuminance setting information, illuminance prediction value information, correlation data, and / or illuminance information.

[0072] For example, if the electronic device (101) acquires a third illuminance value that is different from the first illuminance value in state (300) after acquiring the first illuminance value and the second illuminance value, the electronic device (101) may remove the first illuminance value and the second illuminance value. If the electronic device (101) acquires a third illuminance value that is different from the first illuminance value, the electronic device (101) may temporarily refrain from performing an operation for acquiring correlation information. If the electronic device (101) acquires a third illuminance value that is different from the first illuminance value, the electronic device (101) may initiate performing the above-described operation for acquiring correlation information based on the third illuminance value. However, the present invention is not limited thereto.

[0073] As described above, the electronic device (101) according to one embodiment can accurately obtain an illuminance value independently of the state (e.g., state (300) or state (305)) of the electronic device (101) by controlling one illuminance sensor (231) disposed on at least one of the first side (311) and the third side (321). Since the electronic device (101) can obtain an illuminance value by controlling one illuminance sensor (231), the current consumption of the battery can be reduced compared to when two or more illuminance sensors (231) are used.

[0074] FIG. 4 illustrates an example of a graph representing illuminance values ​​according to a state acquired by an electronic device according to an embodiment. The electronic device (101) of FIG. 4 may include the electronic device (101) of FIGS. 1 to 3. Referring to FIG. 4, an exemplary graph (400) including illuminance values ​​included in correlation information (270) is illustrated. The graph (400) may include data (410) representing a relationship between a first illuminance value (411) acquired by the electronic device (101) in a state (300) and a second illuminance value (412) acquired by the electronic device (101) in a state (305) within the same environment. The values ​​included in the graph (400) may be acquired based on a common logarithm.

[0075] In a graph (400) according to one embodiment, a first illuminance value (411) may have a range between a first value (e.g., about 5) and a second value (e.g., about 7). A second illuminance value (412) may have a range between a third value (e.g., about 1) and a fourth value (e.g., about 4). Data (410) may represent the second illuminance value (412) for the first illuminance value (411). For example, data (410) may be obtained based on a two-dimensional coordinate system composed of the first illuminance value (411) and the second illuminance value (412). The values ​​of data (410) may be obtained based on two-dimensional coordinates, such as (the first illuminance value and the second illuminance value). For example, the electronic device (101) can obtain linear data (410) by using a light sensor to receive light based on substantially the same transmittance within the state (300) and the state (305), as shown in the graph (400).

[0076] For example, referring to the graph (400) based on the commercial logarithm, the difference between the first illuminance value (411) and the second illuminance value (412) can have a value between about 3.3 and about 3.7. In practice, the difference between the first illuminance value (411) and the second illuminance value (412) can have a value between about 2000 times and about 5000 times. When the electronic device (101) identifies the second illuminance value (412) using the graph (400), the electronic device (101) can obtain the first illuminance value (411) corresponding to the second illuminance value. For example, a percentage value between a first percentage value (e.g., about 0.02%) and a second percentage value (e.g., about 0.05%) of light received by the electronic device (101) in a folded state (e.g., state (305) of FIG. 3) may be an example of a percentage value of light received by the electronic device (101) in an unfolded state (e.g., state (300) of FIG. 3). An average of the first percentage value and the second percentage value may be a third percentage value (e.g., about 0.035%) based on an arithmetic mean and a fourth percentage value (e.g., about 0.032%) based on a harmonic mean. The electronic device (101) can identify the difference between the first illuminance value (411) and the second illuminance value (412) based on, on average, at least one of the third percent value or the fourth percent value. For example, if the electronic device (101) identifies the second illuminance value (412) as the first value (e.g., 1 lux) in the folded state (e.g., state (305) of FIG. 3) using the graph (400), the electronic device (101) can infer the first illuminance value (411) to be identified in the unfolded state (e.g., state (300) of FIG. 3) as the second value (e.g., 3000 lux). The electronic device (101) can precisely distinguish the illuminance values ​​based on the resolution of the sensor (e.g., sensor (230) of FIG. 2).

[0077] As described above, the electronic device (101) according to one embodiment can identify illuminance values ​​according to a state (e.g., a folded state or an unfolded state) within the same environment by using a graph (400) representing correlation information (e.g., correlation information (270) of FIG. 2). When the electronic device (101) identifies a second illuminance value in the unfolded state within the same environment, the electronic device (101) can infer a first illuminance value corresponding to the second illuminance value. The electronic device (101) can identify the intensity of light outside the electronic device (101) by using one illuminance sensor in a state in which the one illuminance sensor is covered (e.g., a folded state) by using the graph (400).

[0078] FIG. 5 illustrates an example of a flowchart illustrating the operation of an electronic device according to one embodiment. The electronic device (101) of FIG. 5 may include the electronic device (101) of FIGS. 1 to 4 . At least one of the operations of FIG. 5 may be performed by the electronic device (101) of FIG. 2 or the processor (210) of FIG. 2 . Each of the operations of FIG. 5 may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each of the operations may be changed, and at least two operations may be performed in parallel.

[0079] Referring to FIG. 5, in operation 510, a processor according to an embodiment may obtain a first illuminance value based on light received by an electronic device using an illuminance sensor in an unfolded state. The processor may control the illuminance sensor based on the execution of a sensor driver (251) to obtain the first illuminance value representing the intensity of the light. For example, the processor may obtain the first illuminance value in a background state while a user of the electronic device (101) uses the electronic device (101). For example, the processor may obtain the first illuminance value through a user interface for obtaining association information (e.g., association information (270) of FIG. 2).

[0080] For example, the processor, in an unfolded state, may identify a plurality of illuminance values ​​using the illuminance sensor based on a specified cycle. The processor may obtain the first illuminance value representing an average value among the plurality of illuminance values.

[0081] Referring to FIG. 5, at operation 520, a processor according to one embodiment may identify a change from an unfolded state to a folded state using a Hall sensor. The processor may identify a change in an angle between a first housing (e.g., the first housing (310) of FIG. 3) and a second housing (e.g., the second housing (320) of FIG. 3) due to an external force using the Hall sensor. The processor may identify an unfolded state based on identifying a specified angle (e.g., 0 degrees) between the first housing and the second housing.

[0082] Referring to FIG. 5, in operation 530, a processor according to one embodiment may identify a second illuminance value using a light sensor in a folded state. The processor may identify the second illuminance value in the folded state in which the light sensor is shielded. When the light sensor is disposed on the first surface (311) of FIG. 3 of the first housing (310) of FIG. 3, the light sensor may be shielded by the third surface (321) of FIG. 3 of the second housing (320) of FIG. 3 in the folded state.

[0083] Referring to FIG. 5, at operation 540, a processor according to one embodiment may identify a change from a folded state to an unfolded state using a Hall sensor. The processor may identify a change in an angle between a first housing (e.g., the first housing (310) of FIG. 3) and a second housing (e.g., the second housing (320) of FIG. 3) due to an external force using the Hall sensor. The processor may identify an unfolded state based on identifying a specified angle (e.g., 180 degrees) between the first housing and the second housing.

[0084] Referring to FIG. 5, at operation 550, a processor according to one embodiment may, in an unfolded state, determine whether a third illuminance value corresponding to a first illuminance value is obtained using a light sensor. For example, the processor may determine whether the third illuminance value obtained at operation 550 is the same as the first illuminance value obtained at operation 510.

[0085] Referring to FIG. 5, in operation 560, when a third illuminance value corresponding to a first illuminance value is acquired (operation 550 - Yes), the processor according to one embodiment may acquire correlation information indicating a relationship between the first illuminance value and the second illuminance value in a first state in which the third illuminance value corresponding to the first illuminance value is acquired. For example, the processor may identify that the first illuminance value and the second illuminance value are acquired within the same environment when the first illuminance value and the third illuminance value are the same. The same environment may indicate an environment in which the external light intensity of the electronic device is the same. The correlation information may include data (410) included in the graph (400) of FIG. 4.

[0086] Referring to FIG. 5, in operation 570, if a third illuminance value different from the first illuminance value is acquired (operation 550-No), the processor according to one embodiment may temporarily refrain from acquiring correlation information indicating a relationship between the first illuminance value and the second illuminance value in a second state that is distinct from the first state in which the third illuminance value corresponding to the first illuminance value is acquired. The second state may include a state in which the processor identifies the third illuminance value that is different from the first illuminance value. In the second state in which the processor identifies the third illuminance value that is distinct from the first illuminance value, the processor may infer that the external environment of the electronic device has changed while performing operations 510 to 550. For example, if the processor acquires the third illuminance value that is different from the first illuminance value, the processor may initiate the above-described operation (e.g., operation 510) for acquiring correlation information based on the third illuminance value.

[0087] Fig. 6 illustrates an example of a user interface for an electronic device to obtain an illuminance value according to one embodiment. The electronic device (101) of Fig. 6 may include the electronic device (101) of Figs. 1 to 5. Referring to Fig. 6, examples of states (600, 605, 615, 620, 625) corresponding to state (300) of Fig. 3 (e.g., unfolded state) and state (610) corresponding to state (305) of Fig. 3 (e.g., folded state) are illustrated.

[0088] In a state (600) according to one embodiment, the electronic device (101) may display a first user interface (601) indicating acquisition of a plurality of illuminance values ​​using an illuminance sensor (e.g., an illuminance sensor (231) of FIG. 2) on a flexible display (e.g., a flexible display (220) of FIG. 2) in the state (600). For example, the first user interface (601) may be an example of a user interface for acquiring correlation information (e.g., correlation information (270) of FIG. 2). For example, while displaying the first user interface (601), the electronic device (101) may acquire a plurality of illuminance values ​​representing the intensity of external light of the electronic device (101) based on a specified cycle using the illuminance sensor. The electronic device (101) may acquire a first illuminance value (e.g., a first illuminance value (411) of FIG. 4) which is an average value of the plurality of illuminance values. For example, the electronic device (101) may temporarily refrain from displaying the first user interface (601) based on obtaining the first illuminance value. For example, the electronic device (101) may perform operation 510 of FIG. 5 in state (600).

[0089] In a state (600) according to one embodiment, the electronic device (101) may temporarily refrain from displaying the first user interface (601) and display a second user interface (606) to guide changing from an unfolded state (e.g., state (300) of FIG. 3) to a folded state (e.g., state (305)). The electronic device (101) may control a Hall sensor (e.g., Hall sensor (232) of FIG. 2) to identify an angle between a first housing (e.g., first housing (310) of FIG. 3) and a second housing (e.g., second housing (320) of FIG. 3) of the electronic device (101). The electronic device (101) may identify that the angle is included in a specified angle (e.g., 0 degrees) by an external force. The electronic device (101) can use a Hall sensor to identify when the state of the electronic device (101) changes from an unfolded state to a folded state. For example, the electronic device (101) can perform operation 520 of FIG. 5 in state (605).

[0090] In a state (610) according to one embodiment, the electronic device (101) may temporarily refrain from displaying the second user interface (606) based on identifying a change from the unfolded state to the folded state using the Hall sensor. In the folded state, the electronic device (101) may control the light sensor, at least part of which is shielded by another housing distinct from the one housing in which the light sensor is disposed, to obtain a second illuminance value (e.g., the second illuminance value (412) of FIG. 4) representing the intensity of external light of the electronic device (101). For example, the electronic device (101) may, in the state (610), perform operation 530 of FIG. 5. For example, the electronic device (101) may display a user interface indicating whether a portion of light directed to the light sensor is shielded by an external object (e.g., a user's hand) distinct from the other housing, using the light sensor. For example, the electronic device (101) may display the user interface on the cover display in a folded state. For example, the electronic device (101) may use a proximity sensor (e.g., a sensor for identifying contact between the electronic device (101) and a user) that is distinct from the light sensor to identify whether a portion of the light directed to the light sensor is blocked by the external object. For example, the electronic device (101) may use the cover display to identify a touch input to identify whether a portion of the light directed to the light sensor is blocked by the external object. However, the present invention is not limited thereto.

[0091] For example, based on the acquisition of the second illuminance value, the electronic device (101) may provide a notification message to guide the user in acquiring the second illuminance value. The notification message may be displayed on a cover display of the electronic device (101) (e.g., the cover display (225) of FIG. 2). The notification message may be output based on the form of an audio signal through a speaker (not shown) of the electronic device (101). As an example, the electronic device (101) may use an actuator (not shown) that causes vibration to notify the user of the acquisition of the second illuminance value.

[0092] According to one embodiment, the electronic device (101) can identify, in state (615), that the state of the electronic device (101) has changed from a folded state to an unfolded state using a Hall sensor. The electronic device (101) can display a third user interface (616) on the flexible display for identifying an illuminance value in state (615). For example, the electronic device (101) can obtain a plurality of illuminance values ​​based on a cycle specified in state (615) using the illuminance sensor. The electronic device (101) can obtain a third illuminance value representing an average of the plurality of illuminance values. Based on obtaining the third illuminance value, the electronic device (101) can identify whether the third illuminance value is substantially the same as the first illuminance value. For example, in state (615), the electronic device (101) can perform operation 550 of FIG. 5 .

[0093] According to one embodiment, the electronic device (101) can change the state of the electronic device (101) from state (615) to state (620) based on acquiring a third illuminance value corresponding to a first illuminance value. In state (620), the electronic device (101) can display a fourth user interface (621) indicating acquisition of correlation information on the flexible display. The electronic device (101) can identify that states (600) to (620) are states of the electronic device (101) included in substantially the same environment based on acquiring the third illuminance value corresponding to the first illuminance value. For example, in state (620), the electronic device (101) can perform operation 560 of FIG. 5 .

[0094] According to one embodiment, the electronic device (101) may change the state of the electronic device (101) from state (615) to state (625) based on acquiring a third illuminance value that is distinct from the first illuminance value. For example, in state (625), the electronic device (101) may perform operation 570 of FIG. 5 . For example, the electronic device (101) may display a fifth user interface (626) on the flexible display indicating that acquisition of association information is temporarily refrained from in state (625). As an example, the fifth user interface (626) may include information indicating that performance of an operation for acquiring association information based on the third illuminance value is initiated. For example, the electronic device (101) may display a second user interface (606) after displaying the fifth user interface (626). The electronic device (101) can initiate the performance of an operation to obtain correlation information based on the third light value.

[0095] FIGS. 7A and 7B illustrate a deformable electronic device (701). In one embodiment, the electronic device (701) may be referred to as a terminal (or user terminal) in terms of being owned by a user. The terminal may include, for example, a personal computer (PC) such as a laptop or desktop. The terminal may include, for example, a smartphone, a smartpad, and / or a tablet PC. The terminal may include a smart accessory such as a smartwatch and / or a head-mounted device (HMD). The electronic device (101) of FIGS. 7A and 7B may be included in the electronic device (101) of FIGS. 1 to 6. The folding housing (330) of FIG. 3 may be referred to as a hinge assembly in terms of including a hinge structure for rotating a plurality of housings. Hinge assemblies (721, 722) may be referenced to the folding housing (330).

[0096] Referring to FIGS. 7A and 7B , an electronic device (701) according to one embodiment may include a deformable housing. Based on the deformability, the housing of the electronic device (701) may be divided into a plurality of parts. For example, the housing of the electronic device (701) of FIGS. 7A and 7B may include a first housing (711), a second housing (712), and a first hinge assembly (721) for rotatably coupling the first housing (711) and the second housing (712). By the first hinge assembly (721), the relative position, angle, shape, and / or distance of the first housing (711) and the second housing (712), which are rigid bodies, may be changed by an external force. The housing of the electronic device (701) may include a second housing (712), a third housing (713), and a second hinge assembly (722) for rotatably connecting the second housing (712) and the third housing (713). By the second hinge assembly (722), the relative position, angle, shape, posture, and / or distance of the second housing (712) and the third housing (713), which are rigid bodies, may be changed by an external force.

[0097] Referring to FIGS. 7A and 7B, the first folding axis (731) is a rotation axis of the first housing (711) and the second housing (712) connected through the first hinge assembly (721), and may be formed within the first hinge assembly (721). As the first housing (711) and / or the second housing (712) rotate around the first folding axis (731), the first angle (741) between the first housing (711), the first hinge assembly (721), and the second housing (712) may change. The second folding axis (732) is a rotation axis of the second housing (712) and the third housing (713) connected through the second hinge assembly (722), and may be formed within the second hinge assembly (722). As the second housing (712) and / or the third housing (713) rotate about the second folding axis (732), the second angle (742) between the second housing (712), the second hinge assembly (722), and the third housing (713) can change.

[0098] Referring to FIGS. 7A and 7B , according to one embodiment, an electronic device (701) may include a flexible display (750) (e.g., the flexible display (220) of FIG. 2 ) disposed on one surface (e.g., a front surface of the electronic device (701)) of a first housing (711), a second housing (712), and a third housing (713). For example, the flexible display (750) may be disposed from the first housing (711) across the first hinge assembly (721), the second housing (712), and the second hinge assembly (722) to the third housing (713). Hereinafter, the first angle (741) may correspond to an angle between one side of the first housing (711) in which the flexible display (750) is arranged and which can be folded by the first folding axis (731) of the first hinge assembly (721) and one side of the second housing (712). Hereinafter, the second angle (742) may correspond to an angle between one side of the second housing (712) in which the flexible display (750) is arranged and which can be folded by the second folding axis (732) of the second hinge assembly (722) and one side of the third housing (713).

[0099] Referring to FIGS. 7A and 7B , an electronic device (701) according to one embodiment may include a light sensor (761) (e.g., the light sensor (231) of FIG. 2 ) in at least one of the first housing (711), the second housing (712), and the third housing (713). The light sensor (761) may be disposed within one surface of at least one housing in which the flexible display (750) is disposed. Referring to FIGS. 7A and 7B , the light sensor (761) is illustrated as being disposed within one surface of one housing, but the location where the light sensor is disposed is not limited thereto.

[0100] Referring to FIGS. 7A and 7B , different configurations of an electronic device (701) supporting deformability based on multiple folding axes (e.g., a first folding axis (731) and / or a second folding axis (732)) are illustrated. Referring to FIG. 7A , a first electronic device (701-1) is illustrated including a flexible display (750) that is completely covered by a first housing (711) to a third housing (713) folded along a first folding axis (731) and a second folding axis (732). Referring to FIG. 7A , different states (e.g., a first state (791) to a third state (793)) of the first electronic device (701-1) are illustrated, distinguished by a first angle (741) and a second angle (742). A first state (791) of the first electronic device (701-1), in which the first angle (741) and the second angle (742) are substantially straight angles (e.g., about 180 degrees (º), may be referred to as a fully unfolded state, an opened state, an unfolded state, a flat state, and / or a planar state. Within the first state (791), the flexible display (750) disposed from the first housing (711) to the third housing (713) may have a substantially flat shape. Within the first state (791), a single plane may be formed on the front surface of the electronic device (701) on which the flexible display (750) is disposed.

[0101] Referring to FIG. 7A, a second state (792) of the first electronic device (701-1) is illustrated, wherein the first angle (741) is substantially parallel and the second angle (742) is less than parallel. The second state (792) of the first electronic device (701-1) in which the first angle (741) and / or the second angle (742) are less than parallel may be referred to as an in-fold state, a sub-unfolded state (or sub-folded state), and / or a concave state. Although only the second hinge assembly (722) among the first hinge assembly (721) and the second hinge assembly (722) is illustrated as being folded, the embodiment is not limited thereto, and the sub-folded state may include a state in which both the first angle (741) and the second angle (742) are less than parallel and exceed 0 degrees. Within the sub-fold state, a plurality of planes may be formed by the flexible display (750) folded by at least one hinge assembly. Referring to the second state (792), the flexible display (750) bent by the second hinge assembly (722) may include two flat portions separated by the second hinge assembly (722). For example, the flat portions of the flexible display (750) separated by the second hinge assembly (722) may face different, non-parallel directions.

[0102] Referring to FIG. 7A, a third state (793) of the first electronic device (701-1), in which the first angle (741) and the second angle (742) are substantially all 0 degrees, may be referred to as a fully folded state, a folded state, and / or a closed state. Within the third state (793), the flexible display (750) may be visually completely covered by the first housing (711) to the third housing (713). For example, within the folded state, a size of the flexible display (750) of the first electronic device (701-1) exposed to the outside may be substantially 0. Within the folded state, a size of the light sensor (761) of the first electronic device (701-1) exposed to the outside may be substantially 0. Within the folded state, at least a portion of the light sensor (761) may be covered by a plurality of housings. Referring to FIG. 7A, an exemplary third state (793) is illustrated in which the front and rear surfaces of the third housing (713) on which a portion of the flexible display (750) is disposed are covered by the first housing (711) and the second housing (712), respectively, but the embodiment is not limited thereto. A first electronic device (701-1) including a flexible display (750) that is completely covered in a folded state may include a cover display (752) (e.g., the cover display (225) of FIG. 2) disposed on a rear surface opposite to the front surface on which the flexible display (750) is disposed. Referring to FIG. 7A, according to one embodiment, a first electronic device (701-1) may include a cover display (752) disposed on a second surface of the first housing (711), opposite to a first surface of the first housing (711) on which a portion of the flexible display (750) is disposed.

[0103] Referring to FIG. 7A, a first electronic device (701-1) including a flexible display (750) configured to be folded at an angle less than a parallel angle along a first folding axis (731) and a second folding axis (732) may be referred to as a G-shaped foldable electronic device. Referring to FIG. 7B, different forms of a second electronic device (701-2) including a flexible display (750) configured to be folded at an angle greater than a parallel angle along at least one of the first folding axis (731) and the second folding axis (732) are illustrated. The second electronic device (701-2) may be referred to as an S-shaped foldable electronic device.

[0104] Referring to FIG. 7B, different states (e.g., the fourth state (794) to the sixth state (796)) of the second electronic device (701-2) are illustrated, distinguished by a first angle (741) and a second angle (742). The fourth state (794) of the second electronic device (701-2) may correspond to the first state (791) of the first electronic device (701-1) of FIG. 7A. Within the fourth state (794), which corresponds to the unfolded state, a flat surface may be formed by the flexible display (750).

[0105] Referring to FIG. 7B, a fifth state (795) of the second electronic device (701-2) is illustrated where the first angle (741) exceeds a parallel angle and the second angle (742) is substantially parallel. The state of the second electronic device (701-2) where the first angle (741) and / or the second angle (742) exceeds a parallel angle and is less than 360 degrees may be referred to as an outfold state and / or a convex state. Although only the first angle (741) among the first angle (741) and the second angle (742) is illustrated as exceeding a parallel angle, the embodiment is not limited thereto. Within the convex state including the fifth state (795), a plurality of planes formed by the flexible display (750) folded by the first hinge assembly (721) may face different directions.

[0106] Referring to FIG. 7B, the sixth state (796) of the second electronic device (701-2), in which the first angle (741) is substantially 360 degrees and the second angle (742) is substantially 0 degrees, may be referred to as a fully folded state, a folded state, and / or a closed state. Within the sixth state (796), among the portions of the flexible display (750) disposed in each of the first housing (711) to the third housing (713), only the portion of the flexible display (750) disposed on the first housing (711) may be exposed to the outside.

[0107] Referring to FIGS. 7A and 7B, an electronic device (701) according to one embodiment can obtain illuminance values ​​in each of the states (791, 792, 793, 794, 795, 796) using an illuminance sensor (761).

[0108] For example, referring to FIG. 7A, the first electronic device (701-1) can obtain a first illuminance value using the illuminance sensor (761) in a state (791). The first electronic device (701-1) can obtain a second illuminance value using the illuminance sensor (761) in a state where one of the first angle (741) or the second angle (742) is substantially 0. The first electronic device (701-1) can obtain a third illuminance value using the illuminance sensor (761) in a state (e.g., state (793)) where the first angle (741) and the second angle (742) are substantially 0. The first electronic device (701-1) can identify that the state of the first electronic device changes from the state (e.g., state (793)) to state (791). The first electronic device (701-1) can identify a fourth illuminance value corresponding to the first illuminance value using the illuminance sensor (761) based on identifying that the state has changed to (791). The first electronic device (701-1) can obtain correlation information indicating a relationship between the first illuminance value, the second illuminance value, and the third illuminance value based on identifying the fourth illuminance value corresponding to the first illuminance value. For example, the first electronic device (701-1) can obtain the first illuminance value and / or the second illuminance value using the correlation information based on identifying the third illuminance value. The first electronic device (701-1) can estimate the intensity of external light of the first electronic device (701-1) at the time of identifying the third illuminance value based on obtaining the first illuminance value and / or the second illuminance value.

[0109] For example, referring to FIG. 7B, the second electronic device (701-2) can obtain a first illuminance value using the illuminance sensor (761) in a state (794). The second electronic device (701-2) can obtain a second illuminance value using the illuminance sensor (761) in a state where the first angle (741) is substantially 360 degrees or the second angle (742) is substantially 0 degrees. The second electronic device (701-2) can obtain a third illuminance value using the illuminance sensor in a state (e.g., state (796)) where the first angle (741) is substantially 360 degrees and the second angle (742) is substantially 0. The second electronic device (701-2) can identify that the state of the first electronic device has changed from the state (e.g., state (796)) to state (794). The electronic device (701-2) can identify a fourth illuminance value corresponding to the first illuminance value using the illuminance sensor (761) based on identifying that the state has changed to (794). The second electronic device (701-2) can obtain correlation information indicating a relationship between the first illuminance value, the second illuminance value, and the third illuminance value based on identifying the fourth illuminance value corresponding to the first illuminance value. For example, the second electronic device (701-2) can obtain the first illuminance value and / or the second illuminance value using the correlation information based on identifying the third illuminance value. The second electronic device (701-2) can estimate the intensity of external light of the second electronic device (701-2) at the time of identifying the third illuminance value based on obtaining the first illuminance value and / or the second illuminance value.

[0110] As described above, the electronic device (701) according to one embodiment can obtain the intensity of external light of the electronic device (701) by using the illuminance value identified in a state where at least a portion of the illuminance sensor (761) is covered by using the correlation information. By identifying illuminance values ​​corresponding to each of a plurality of states (791, 792, 793, 794, 795, 796) using one illuminance sensor (761), the electronic device (701) can secure a space for including other electronic components distinct from the illuminance sensor within the electronic device (701) compared to the case where a plurality of illuminance sensors are used.

[0111] FIG. 8 illustrates an example of a flowchart illustrating the operation of an electronic device according to one embodiment. The electronic device (101) of FIG. 8 may include the electronic device (101) of FIG. 1 to the electronic device (701) of FIG. 7A. At least one of the operations of FIG. 8 may be performed by the electronic device (101) of FIG. 2 or the processor (210) of FIG. 2. Each of the operations of FIG. 8 may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each of the operations may be changed, and at least two operations may be performed in parallel.

[0112] Referring to FIG. 8, in operation 810, a processor according to an embodiment may obtain a first illuminance value corresponding to light received from the outside of the electronic device by using a light sensor in an unfolded state. The unfolded state may include a state in which a direction of a first housing (e.g., the first housing (310) of FIG. 3) of the electronic device is aligned with a direction of a second housing (e.g., the second housing (320) of FIG. 3). The unfolded state may include a state in which a direction in which a first surface (311) of the first housing (e.g., the first housing (310) of FIG. 3) of the electronic device is aligned with a direction in which a third surface (321) of the second housing (e.g., the second housing (320) of FIG. 3) is aligned.

[0113] Referring to FIG. 8, in operation 820, a processor according to an embodiment may obtain a second illuminance value to be identified using a illuminance sensor when changing from an unfolded state to a folded state based on obtaining a first illuminance value. For example, the processor may identify a second illuminance value corresponding to the first illuminance value using correlation information (e.g., correlation information (270) of FIG. 2) set prior to obtaining the first illuminance value. The folded state may include a state in which the direction of a first housing (e.g., the first housing (310) of FIG. 3) of an electronic device and the direction of a second housing (e.g., the second housing (320) of FIG. 3) are opposite. The unfolded state may include a state in which the direction in which the first face (311) of the first housing (e.g., the first housing (310) of FIG. 3) of the electronic device faces is opposite to the direction in which the third face (321) of the second housing (e.g., the second housing (320) of FIG. 3) faces.

[0114] For example, before acquiring the first illuminance value in the unfolded state (e.g., state (300) of FIG. 3), the processor can acquire a third illuminance value corresponding to the second illuminance value using the illuminance sensor in the folded state (e.g., state (305) of FIG. 3). For example, the processor can identify a change from the folded state to the unfolded state using a Hall sensor (e.g., Hall sensor (232) of FIG. 2). For example, the processor can acquire the first illuminance value in the unfolded state. For example, after acquiring the first illuminance value, the processor can identify a change from the unfolded state to the folded state using the Hall sensor. For example, based on acquiring the second illuminance value corresponding to the third illuminance value in the folded state, data indicating a relationship between the first illuminance value and the second illuminance value (e.g., correlation information (270) of FIG. 2) can be acquired. For example, the processor can, based on acquiring the first illuminance value in the unfolded state using the data, acquire the second illuminance value to be identified using the illuminance sensor when changing from the unfolded state to the folded state. For example, the processor can, based on acquiring the second illuminance value in the folded state, estimate the first illuminance value to be identified in the unfolded state using the data. For example, the processor can, based on the estimation of the first illuminance value, control the flexible display based on the brightness corresponding to the first illuminance value in response to identifying, using the Hall sensor, that the change from the folded state to the unfolded state has occurred. An operation of the processor controlling the flexible display based on the brightness is described below with reference to FIG. 10.

[0115] Hereinafter, with reference to FIG. 9, an example of an operation of temporarily refraining from executing a function corresponding to at least one input when an electronic device (101) according to one embodiment identifies a light intensity value that is below a threshold value is described.

[0116] FIG. 9 illustrates an example of a state in which an electronic device according to one embodiment identifies a light intensity value below a threshold value. The electronic device (101) of FIG. 9 may be referenced to the electronic devices (101) of FIGS. 1 to 8.

[0117] Referring to FIG. 9, in an example (900), an electronic device (101) according to an embodiment can identify an input (915) through a cover display (225) in a folded state (e.g., state (305) of FIG. 3). For example, in the folded state, the electronic device (101) can identify a second illuminance value (e.g., second illuminance value (412) of FIG. 4) using a light sensor. Based on the identification of the second illuminance value, the electronic device (101) can identify a first illuminance value (e.g., first illuminance value (411) of FIG. 4) corresponding to the second illuminance value using correlation information (e.g., correlation information (270) of FIG. 2). Based on the identification of the first illuminance value, the electronic device (101) can identify the intensity of external light of the electronic device (101). The electronic device (101) can identify a first illuminance value that is below a threshold value. The input (915) may be an example of an input for initiating a function for activating the cover display (225) of the electronic device (101). The input (915) may be an example of an input that is not intended by the user (905). Based on the identification of the first illuminance value that is below a threshold value, the electronic device (101) may identify the input (915) as an input that is not intended by the user (905). Based on the identification of the first illuminance value that is below a threshold value, the electronic device (101) may temporarily refrain from initiating a function corresponding to the input (915).

[0118] For example, the electronic device (101) can control the cover display (225) based on acquiring the first illuminance value and / or the second illuminance value. The electronic device (101) can adjust the brightness of the cover display (225) based on identifying the second illuminance value. The electronic device (101) can control (or adjust) the brightness of the cover display (225) based on the first illuminance value and the second illuminance value.

[0119] For example, the electronic device (101) may disable the touch function of the cover display (225) based on the first illuminance value and / or the second illuminance value obtained using the illuminance sensor. The electronic device (101) may temporarily refrain from identifying an input (915) for at least a portion of the cover display (225) for which the touch function is disabled.

[0120] As described above, the electronic device (101) according to one embodiment can identify the external brightness of the electronic device (101) in a state where at least a portion of one light sensor is covered (e.g., state (305) of FIG. 3). In this state, the electronic device (101) can identify an illuminance value that is below a threshold value. For example, the electronic device (101) can be positioned in a pocket of a user (905). The electronic device (101) can identify an illuminance value that is below a threshold value when positioned in the pocket. The electronic device (101) can receive at least one input (e.g., input (915)) based on identifying an illuminance value that is below a threshold value. The electronic device (101) can identify at least one input as an unintended input by the user (905) based on identifying an illuminance value that is below a threshold value. The electronic device (101) may temporarily refrain from initiating a function corresponding to the input (915) based on receiving an input that is not intended by the user (905). In the folded state, the electronic device (101) may refrain from performing a function that is not intended by the user (905) based on identifying a light value that is below a threshold value.

[0121] FIG. 10 illustrates an example of an operation of an electronic device according to one embodiment of the present invention to adjust the brightness of a display based on an illuminance value. The electronic device (101) of FIG. 10 may include the electronic devices (101) of FIGS. 1 to 9 . State (1000) may be included in state (305) of FIG. 3 . State (1010) may be included in state (300) of FIG. 3 .

[0122] Referring to FIG. 10, an electronic device (101) according to one embodiment can, in a state (1000), control a light sensor (e.g., light sensor (231) of FIG. 2) to identify a second light value (e.g., second light value (412) of FIG. 4). The second light value can refer to the intensity of external light identified by the electronic device (101) when at least a portion of the light sensor is covered.

[0123] For example, the electronic device (101) can identify a first illuminance value (e.g., the first illuminance value of FIG. 4) corresponding to a second illuminance value using correlation information (e.g., correlation information (270) of FIG. 2). Based on the identification of the first illuminance value, the electronic device (101) can identify the brightness of the flexible display (220) matching the first illuminance value. The brightness of the flexible display (220) matching the first illuminance value may be an example of brightness set so that a user of the electronic device (101) can identify a screen displayed on the flexible display (220) in an external environment including external light corresponding to the first illuminance value.

[0124] For example, the electronic device (101) can identify a change from state (1000) to state (1010) through a Hall sensor (e.g., Hall sensor (232) of FIG. 2). The electronic device (101) can identify a change from state (1000) to state (1010) due to an external force. The electronic device (101) can identify entry into state (1010) based on identifying an angle between a first housing (e.g., first housing (310) of FIG. 3) and a second housing (e.g., second housing (320) of FIG. 3). In response to identifying a change from state (1000) to state (1010), the electronic device (101) can adjust the brightness of the flexible display (220).

[0125] For example, the electronic device (101) can control the flexible display (220) based on the brightness matching the first illuminance value in state (1010). For example, the electronic device (101) can display the brightness of the flexible display (220) to the user using a visual object (1015) on the flexible display (220).

[0126] According to one embodiment, the electronic device (101) may control the brightness of the flexible display (220) based on obtaining a first illuminance value that is greater than or equal to a threshold value for a specified period of time. For example, the electronic device (101) may adjust the brightness of the flexible display (220) to be relatively lower than the brightness matching the first illuminance value based on obtaining the first illuminance value that is greater than or equal to a threshold value for a specified period of time. In order to reduce heat generated by controlling the flexible display (220) based on the brightness matching the first illuminance value that is greater than or equal to a threshold value for a specified period of time, the electronic device (101) may control the flexible display (220) based on the brightness that is relatively lower than the brightness matching the first illuminance value. However, the present invention is not limited thereto.

[0127] As described above, the electronic device (101) according to one embodiment can adjust the brightness of the flexible display (220) using the second illuminance value identified in the folded state (e.g., state (1000)). Based on the identification of the second illuminance value, the electronic device (101) can obtain a first illuminance value matching the second illuminance value using correlation information (e.g., correlation information (270) of FIG. 2). Based on the acquisition of the first illuminance value, the electronic device (101) can identify the brightness of the flexible display matching the first illuminance value. Based on the identification of the brightness of the flexible display, the electronic device (101) can adjust the brightness of the flexible display in response to a transition from state (1000) to state (1010).

[0128] For example, when the electronic device (101) does not use the correlation information, the electronic device (101) can identify the intensity of external light of the electronic device (101) using the illumination sensor after identifying a change from the state (1000) to the state (1010). The electronic device (101) can obtain an illumination value corresponding to the intensity of the identified external light after the change to the state (1010). After obtaining the illumination value, the electronic device (101) can adjust the brightness of the flexible display (220). By using the correlation information, the electronic device (101) can adjust the brightness of the flexible display (220) more quickly than when the correlation information is not used.

[0129] FIG. 11 illustrates an example flowchart illustrating the operation of an electronic device according to one embodiment. The electronic device of FIG. 11 may include the electronic device (101) of FIG. 1 to the electronic device (101) of FIG. 10. At least one of the operations of FIG. 11 may be performed by the electronic device (101) of FIG. 2 or the processor (210) of FIG. 2. Each of the operations of FIG. 11 may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each of the operations may be changed, and at least two operations may be performed in parallel.

[0130] Referring to FIG. 11, in operation 1110, a processor according to an embodiment may obtain a first illuminance value corresponding to light received from the outside of the electronic device using an illuminance sensor while the foldable housing is in an unfolded state. The foldable housing may include a first housing (e.g., the first housing (310) of FIG. 3) and a second housing (e.g., the second housing (320) of FIG. 3). The foldable housing may include a hinge (or hinge structure) rotatably connected between the first housing and the second housing and movable to a folded state, a partially folded state (or a sub-folded state), and an unfolded state. The illuminance sensor may be disposed within at least a portion of one surface on which the flexible display is disposed.

[0131] Referring to FIG. 11, in operation 1120, a processor according to one embodiment may control the brightness of the first display based on a first illuminance value obtained from a illuminance sensor located on the same side as the first display while the foldable housing is in the unfolded state. As an example, the first illuminance value may correspond to an ambient light value. The first display may be referred to as the flexible display (220) of FIG. 2.

[0132] Referring to FIG. 11, in operation 1130, a processor according to one embodiment may obtain a second illuminance value corresponding to light received from outside the electronic device using an illuminance sensor while the foldable housing is in a folded state.

[0133] Referring to FIG. 11, in operation 1140, a processor according to one embodiment may control a second display located on an opposite side from the first display based on a second illuminance value obtained from an illuminance sensor located on the same side as the first display while the foldable housing is in the folded state. The second display may be referred to as the cover display (225) of FIG. 2.

[0134] For example, the processor may control the brightness of the second display based on the first illuminance value and the second illuminance value obtained from the illuminance sensor while the electronic device (or the housing of the electronic device) is in a folded state.

[0135] For example, the processor may turn off the second display based on a second illuminance value obtained from the illuminance sensor while the electronic device (or the housing of the electronic device) is in the folded state. The processor may turn on the second display if the processor obtains a third illuminance value corresponding to ambient light that is relatively brighter than the second illuminance value from the illuminance sensor while the electronic device is in the folded state.

[0136] For example, the processor may disable the touch function of the second display based on the second illuminance value obtained from the illuminance sensor located on the same side as the first display while the electronic device is in the folded state.

[0137] For example, the processor may estimate an ambient light value based on the first illuminance value and the second illuminance value obtained from the illuminance sensor located on the same side as the first display while the electronic device is in a folded state. The processor may control the brightness of the cover display based on the estimated ambient light.

[0138] For example, the processor may identify a change from the folded state to the unfolded state after acquiring the second illuminance value using the illuminance sensor. The processor may acquire a third illuminance value corresponding to the first illuminance value using the illuminance sensor while the foldable housing is in the unfolded state. The third illuminance value corresponding to the first illuminance value may mean a value substantially the same as the first illuminance value. Based on acquiring the third illuminance value corresponding to the first illuminance value, the processor may identify that the external environment corresponding to the first illuminance value and the external environment corresponding to the third illuminance value are the same. Based on acquiring the third illuminance value corresponding to the first illuminance value, the processor may acquire data indicating a relationship between the first illuminance value and the second illuminance value. The data may be referred to as correlation information. For example, the processor may identify the first illuminance value based on the second illuminance value and the data obtained from the illuminance sensor located on the same side as the first display while the electronic device is in the folded state. The processor may estimate an ambient light value based on the first illuminance value. In response to the state of the electronic device moving from the folded state to the unfolded state, the processor may control the brightness of the first display based on the ambient light value.

[0139] In one embodiment, a processor may enter a designated mode if, in an unfolded state, acquisition of a second illuminance value below a threshold is maintained for a designated period of time. The designated mode (e.g., sleep mode) may include a mode that at least temporarily disables at least one function of the electronic device. For example, a processor entering the designated mode may at least temporarily refrain from outputting an audio signal for notifying a user.

[0140] In one embodiment, the processor, in an unfolded state, may display a preview image acquired using a camera (not shown) on a second display (e.g., the cover display (225) of FIG. 2). The processor may display the preview image on the second display based on the execution of a software application related to the camera. While displaying the preview image on the second display, the processor may acquire a second illuminance value corresponding to ambient light received from outside the electronic device using an illuminance sensor located on the same side as the first display. For example, the processor may identify the intensity of the ambient light corresponding to the first illuminance value based on data (e.g., the correlation information (270) of FIG. 2)) based on the acquisition of the second illuminance value.

[0141] For example, the processor may acquire at least a portion of the preview image from the camera based on a designated mode (e.g., night mode) using a second illuminance value. The processor may acquire a plurality of images representing the preview image for a designated period of time, in response to an input for acquiring the preview image displayed on the second display. The processor may acquire, in the designated mode, based on the acquisition of the plurality of images, another image having a brightness value that is relatively brighter than an image acquired based on ambient light corresponding to the second illuminance value. For example, the processor may acquire the another image based on synthesizing the plurality of images. As an example, the processor may utilize an infrared sensor (or an infrared light emitting diode, IR LED) to acquire the preview image from the camera based on the designated mode.

[0142] According to one embodiment, an electronic device can use a single light sensor to identify the illumination level of its surroundings independently of its state. Based on the identified illumination level, the electronic device can initiate or temporarily refrain from performing an action based on the surroundings. A method for enabling an electronic device to identify illumination level independently of its state may be required.

[0143] In an electronic device (101) according to one embodiment as described above, the electronic device may include a first housing (310), a second housing (320), a flexible display (220) disposed in the first housing and the second housing, an illumination sensor (231) disposed in at least one of the first housing or the second housing, a memory (215) including one or more storage media storing instructions, and at least one processor (210). The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain a first illumination value (411) corresponding to light received from an external source to the electronic device by using the illumination sensor in a first state (300) in which the direction of the first housing and the direction of the second housing are the same. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain a second illuminance value (412) to be identified using the illuminance sensor when the electronic device changes from the first state to a second state (305) in which the direction of the first housing and the direction of the second housing are opposite to each other based on obtaining the first illuminance value.

[0144] For example, the electronic device may include a Hall sensor (232) for identifying an angle between the first housing and the second housing. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to, in the second state, obtain a third illuminance value corresponding to the second illuminance value using the illuminance sensor before obtaining the first illuminance value in the first state. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain the first illuminance value based on identifying a change from the second state to the first state using the Hall sensor. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to identify a change from the first state to the second state using the Hall sensor. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain data (270) representing a relationship between the first illuminance value and the second illuminance value based on obtaining the second illuminance value corresponding to the third illuminance value in the second state. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain, using the data, the second illuminance value to be identified using the illuminance sensor when changing from the first state to the second state based on obtaining the first illuminance value in the first state.

[0145] For example, to obtain the first illuminance value, the instructions, when individually or collectively executed by the at least one processor, may be configured to cause the electronic device to identify a plurality of illuminance values ​​using the illuminance sensor based on a specified period. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain the first illuminance value representing an average value among the plurality of illuminance values.

[0146] For example, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to estimate the first illuminance value using data from the illuminance sensor when the electronic device identifies the second illuminance value using the illuminance sensor in the second state. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to control the flexible display based on a brightness corresponding to the first illuminance value in response to identifying, using the Hall sensor, a change from the second state to the first state based on the estimation of the first illuminance value.

[0147] For example, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to display a first user interface (601) on the flexible display indicating that the electronic device has acquired a plurality of illuminance values ​​using the illuminance sensor to acquire the first illuminance value. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to temporarily refrain from displaying the first user interface and to display a second user interface (606) to guide the electronic device to change from the first state to the second state based on acquiring the first illuminance value.

[0148] For example, to obtain the second illuminance value, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain the second illuminance value in the second state while temporarily refraining from displaying the second user interface based on identifying that the electronic device has changed from the first state to the second state using the Hall sensor.

[0149] For example, the light sensor may be shielded by another housing distinct from at least one housing in which the light sensor is disposed in the second state. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to identify the first illuminance value when the second illuminance value is obtained using the light sensor in the second state in which the light sensor is shielded.

[0150] In an electronic device (101) according to an embodiment as described above, the electronic device may include a first housing (310), a second housing (320), a folding housing (330) that can be changed into an unfolded state (300) in which a direction in which a first surface of the first housing faces is the same as a direction in which a third surface of the second housing faces, and a folded state (305) in which a direction in which the first surface faces is opposite to a direction in which the third surface faces, by rotatably connecting the first housing and the second housing, a flexible display (220) disposed in the first housing and the second housing, an illuminance sensor (231) disposed in at least one of the first housing and the second housing, a Hall sensor (232) for identifying an angle between the first housing and the second housing, a memory (215) including one or more storage media for storing instructions, and at least one processor (210). The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device, in the unfolded state, to obtain a first illuminance value (411) based on light received by the electronic device using the illuminance sensor. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device, in the unfolded state, to identify a change from the unfolded state to the folded state using the Hall sensor. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device, in the folded state, to identify a second illuminance value (412) using the illuminance sensor. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device, in the folded state, to identify a change from the folded state to the unfolded state using the Hall sensor.The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device, in the unfolded state, to identify whether a third illuminance value corresponding to the first illuminance value is acquired using the illuminance sensor. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device, in the first state in which the third illuminance value corresponding to the first illuminance value is acquired, to acquire connection information (270) indicating a relationship between the first illuminance value and the second illuminance value.

[0151] For example, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to temporarily refrain from acquiring the correlation information indicating the relationship between the first illuminance value and the second illuminance value in a second state distinct from the first state in which the electronic device acquired the third illuminance value corresponding to the first illuminance value.

[0152] For example, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to, based on identifying, using the Hall sensor, that the electronic device has changed from the folded state to the unfolded state, obtain, using the light sensor, the third illuminance value representing an average value among a plurality of illuminance values ​​identified based on a specified period.

[0153] For example, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to estimate the first illuminance value using the correlation information when identifying the second illuminance value using the illuminance sensor while in the folded state. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to control brightness of the first display based on the first illuminance value in response to identifying, using the Hall sensor, that the foldable housing has moved from the folded state to the unfolded state based on the estimation of the first illuminance value.

[0154] For example, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to display a first user interface (601) on the flexible display indicating that a plurality of illuminance values ​​are acquired using the illuminance sensor to acquire the first illuminance value. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to temporarily refrain from displaying the first user interface and display a second user interface (606) to guide the electronic device to change from the unfolded state to the folded state based on acquiring the first illuminance value.

[0155] For example, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain the second illuminance value while temporarily refraining from displaying the second user interface based on identifying that the electronic device has changed from the unfolded state to the folded state using the Hall sensor to obtain the second illuminance value.

[0156] For example, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to display a third user interface (616) on the flexible display indicating acquisition of the association information based on acquiring the third illuminance value corresponding to the first illuminance value to acquire the association information.

[0157] For example, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain, in a second state distinct from the first state, different association information distinct from the association information based on the third illumination value.

[0158] In a computer-readable storage medium storing one or more programs according to one embodiment as described above, the one or more programs may be configured to include instructions that, when executed by the processor (210) of the electronic device (101), cause the electronic device to obtain a first illuminance value (411) corresponding to light received from outside the electronic device by using the illuminance sensor (231) in a first state (300) in which the direction of the first housing (310) and the direction of the second housing (320) are the same. The one or more programs may be configured to include instructions that, when executed by the processor of the electronic device, cause the electronic device to obtain a second illuminance value (412) to be identified by using the illuminance sensor when the direction of the first housing and the direction of the second housing are changed from the first state (305) to the second state (305) in which the direction of the first housing and the direction of the second housing are opposite to each other, based on obtaining the first illuminance value.

[0159] For example, the one or more programs may be configured to include instructions that, when executed by the processor of the electronic device, cause the electronic device to, in the second state, acquire a third illuminance value corresponding to the second illuminance value using the illuminance sensor before acquiring the first illuminance value in the first state. The one or more programs may be configured to include instructions that, when executed by the processor of the electronic device, cause the electronic device to identify a change from the second state to the first state using a Hall sensor (232) for identifying an angle between the first housing and the second housing of the electronic device. The one or more programs may be configured to include instructions that, when executed by the processor of the electronic device, cause the electronic device to, in the first state, acquire the first illuminance value. The one or more programs may be configured to include instructions that, when executed by the processor of the electronic device, cause the electronic device to identify a change from the first state to the second state using the Hall sensor. The one or more programs may be configured to include instructions that, when executed by the processor of the electronic device, cause the electronic device to obtain data (270) representing a relationship between the first illuminance value and the second illuminance value, based on obtaining the second illuminance value corresponding to the third illuminance value in the second state.The one or more programs may be configured to include instructions that, when executed by the processor of the electronic device, cause the electronic device to obtain, using the data, the second illuminance value to be identified using the illuminance sensor when changing from the first state to the second state based on obtaining the first illuminance value in the first state.

[0160] For example, to obtain the first illuminance value, the one or more programs may be configured to include instructions that, when executed by the processor of the electronic device, cause the electronic device to identify a plurality of illuminance values ​​using the illuminance sensor based on a specified period. The one or more programs may be configured to include instructions that, when executed by the processor of the electronic device, cause the electronic device to obtain the first illuminance value representing an average value among the plurality of illuminance values.

[0161] For example, the one or more programs may be configured to include instructions that, when executed by the processor of the electronic device, cause the electronic device to estimate the first illuminance value using the data when the second illuminance value is identified using the illuminance sensor in the second state. The one or more programs may be configured to include instructions that, when executed by the processor of the electronic device, cause the electronic device to control the flexible display (220) based on a brightness corresponding to the first illuminance value in response to identifying a change from the second state to the first state using the Hall sensor based on the estimation of the first illuminance value.

[0162] For example, to obtain the first illuminance value, the one or more programs may be configured to include instructions that, when executed by the processor of the electronic device, cause the electronic device to display, on the flexible display, a first user interface (601) indicating obtaining a plurality of illuminance values ​​using the illuminance sensor. The one or more programs may be configured to include instructions that, when executed by the processor of the electronic device, cause the electronic device to temporarily refrain from displaying the first user interface and to display a second user interface (606) for guiding a change from the first state to the second state based on obtaining the first illuminance value.

[0163] In a computer-readable storage medium storing one or more programs according to one embodiment as described above, the one or more programs may be configured to include instructions that, when executed by a processor (210) of an electronic device (101), cause the electronic device to obtain a first illuminance value (411) based on light received by the electronic device using an illuminance sensor (231) in an unfolded state (300). The one or more programs may be configured to include instructions that, when executed by the processor of the electronic device, cause the electronic device to identify a change from the unfolded state to a folded state (305) using a Hall sensor (232). The one or more programs may be configured to include instructions that, when executed by the processor of the electronic device, cause the electronic device to identify a second illuminance value (412) using the illuminance sensor in the folded state. The one or more programs may be configured to include instructions that, when executed by the processor of the electronic device, cause the electronic device to identify a change from the folded state to the unfolded state using the Hall sensor. The one or more programs may be configured to include instructions that, when executed by the processor of the electronic device, cause the electronic device to identify, in the unfolded state, whether to acquire a third illuminance value corresponding to the first illuminance value using the illuminance sensor. The one or more programs may be configured to include instructions that, when executed by the processor of the electronic device, cause the electronic device to acquire connection information (270) indicating a relationship between the first illuminance value and the second illuminance value in a first state in which the third illuminance value corresponding to the first illuminance value is acquired.

[0164] In a method performed by an electronic device according to one embodiment as described above, the method may include an operation of obtaining a first illuminance value (411) corresponding to light received from outside the electronic device by using the illuminance sensor (231) in a first state (300) in which the direction of the first housing (310) and the direction of the second housing (320) are the same. The method may include an operation of obtaining a second illuminance value (412) to be identified by using the illuminance sensor when the direction of the first housing and the direction of the second housing are changed from the first state to a second state (305) in which the direction of the first housing and the direction of the second housing are opposite to each other, based on obtaining the first illuminance value.

[0165] In a method performed by an electronic device (101) according to an embodiment as described above, the method may include an operation of obtaining a first illuminance value (411) based on light received by the electronic device using an illuminance sensor (231) in an unfolded state (300). The method may include an operation of identifying a change from the unfolded state to a folded state (305) using a hall sensor (232). The method may include an operation of identifying a second illuminance value (412) in the folded state using the illuminance sensor. The method may include an operation of identifying a change from the folded state to the unfolded state using the hall sensor. The method may include an operation of identifying whether a third illuminance value corresponding to the first illuminance value is obtained using the illuminance sensor in the unfolded state. The method may include an operation of obtaining connection information (270) indicating a relationship between the first illuminance value and the second illuminance value in a first state in which the third illuminance value corresponding to the first illuminance value is obtained.

[0166] In an electronic device (101) according to one embodiment as described above, the electronic device may include a foldable housing including a first housing (310), a second housing (320), and a hinge rotatably connected between the first housing and the second housing and capable of moving into a folded state (305), a partially folded state, and an unfolded state (300), a first display (220) disposed on the first housing and the second housing and configured to bend as the foldable housing moves between the folded state and the unfolded state, a second display (225) disposed on at least one of the first housing and the second housing at a side opposite to the first display, an illumination sensor (231) disposed on one of the first housing and the second housing at the same side as the first display, a processor (210), and a memory (215) storing instructions. The instructions executed by the processor may cause the electronic device to obtain a first illuminance value corresponding to light received from an external source of the electronic device using the illuminance sensor while the foldable housing is in the unfolded state. The instructions executed by the processor may cause the electronic device to control brightness of the first display based on the first illuminance value obtained from the illuminance sensor located on the same side as the first display while the foldable housing is in the unfolded state. The instructions executed by the processor may cause the electronic device to obtain a second illuminance value corresponding to light received from an external source of the electronic device using the illuminance sensor while the foldable housing is in the folded state.The instructions executed by the processor may cause the electronic device to control brightness of the second display based on the second illuminance value obtained from the illuminance sensor located on the same side as the first display while the foldable housing is in the folded state.

[0167] For example, the instructions executed by the processor may cause the electronic device to control brightness of the second display based on the first illuminance value and the second illuminance value obtained from the illuminance sensor located on the same side as the first display while the foldable housing is in the folded state.

[0168] For example, the instructions executed by the processor may cause the electronic device to control the second display to turn off based on a second illuminance value obtained from the illuminance sensor located on the same side as the first display while the foldable housing is in the folded state.

[0169] For example, the instructions executed by the processor may cause the electronic device to estimate an ambient light value based on the first illuminance value and the second illuminance value obtained from the illuminance sensor located on the same side as the first display while the foldable housing is in the folded state. The instructions executed by the processor may cause the electronic device to control the brightness of the second display based on the estimated ambient light.

[0170] For example, the instructions executed by the processor may cause the electronic device to control, while the foldable housing is in the folded state, to disable a touch function of the second display based on the second illuminance value obtained from the illuminance sensor located on the same side as the first display.

[0171] For example, the instructions executed by the processor may cause the electronic device to identify a change from the folded state to the unfolded state after obtaining the second illuminance value using the illuminance sensor. The instructions executed by the processor may cause the electronic device to obtain a third illuminance value corresponding to the first illuminance value using the illuminance sensor while the foldable housing is in the unfolded state. The instructions executed by the processor may cause the electronic device to obtain data (270) representing a relationship between the first illuminance value and the second illuminance value based on obtaining the third illuminance value corresponding to the first illuminance value.

[0172] For example, the instructions executed by the processor may cause the electronic device to identify the first illuminance value based on the second illuminance value and the data obtained from the illuminance sensor located on the same side as the first display while the foldable housing is in the folded state. The instructions executed by the processor may cause the electronic device to estimate an ambient light value based on the first illuminance value.

[0173] For example, the instructions executed by the processor may cause the electronic device to control brightness of the first display based on the ambient light value in response to a change from the folded state to the unfolded state.

[0174] In the method of the electronic device (101) according to one embodiment as described above, the method may include an operation of obtaining a first illuminance value corresponding to light received from the outside of the electronic device using the illuminance sensor (231) while the foldable housing is in the unfolded state (305). The method may include an operation of controlling the brightness of the first display (220) based on the first illuminance value obtained from the illuminance sensor located on the same side as the first display while the foldable housing is in the unfolded state. The method may include an operation of obtaining a second illuminance value corresponding to light received from the outside of the electronic device using the illuminance sensor while the foldable housing is in the folded state (300). The method may include an operation of controlling the brightness of a second display (225) positioned on an opposite side from the first display based on the second illuminance value obtained from the illuminance sensor positioned on the same side as the first display while the foldable housing is in the folded state.

[0175] For example, the operation of controlling the brightness of the second display may include an operation of controlling the brightness of the second display based on the first illuminance value and the second illuminance value obtained from the illuminance sensor located on the same side as the first display while the foldable housing is in the folded state.

[0176] For example, the operation of controlling the brightness of the second display may include an operation of turning off the second display based on a second illuminance value obtained from the illuminance sensor located on the same side as the first display while the foldable housing is in the folded state.

[0177] For example, the operation of controlling the brightness of the second display may include an operation of estimating an ambient light value based on the first illuminance value and the second illuminance value obtained from the illuminance sensor located on the same side as the first display while the foldable housing is in the folded state. The operation of controlling the brightness of the second display may include an operation of controlling the brightness of the second display based on the estimated ambient light.

[0178] For example, the operation of controlling the brightness of the second display may include an operation of controlling to disable the touch function of the second display based on the second illuminance value obtained from the illuminance sensor located on the same side as the first display while the foldable housing is in the folded state.

[0179] For example, the method may include an operation of identifying a change from the folded state to the unfolded state after obtaining the second illuminance value using the illuminance sensor. The method may include an operation of obtaining a third illuminance value corresponding to the first illuminance value using the illuminance sensor while the foldable housing is in the unfolded state. The method may include an operation of obtaining data (270) indicating a relationship between the first illuminance value and the second illuminance value based on obtaining the third illuminance value corresponding to the first illuminance value.

[0180] For example, the method may include an operation of identifying the first illuminance value based on the second illuminance value and the data obtained from the illuminance sensor located on the same side as the first display while the foldable housing is in the folded state. The method may include an operation of estimating an ambient light value based on the first illuminance value.

[0181] In an electronic device (101) according to one embodiment as described above, the electronic device may include a first housing (310), a second housing (320), and a foldable housing including a hinge rotatably connected between the first housing and the second housing and capable of moving into a folded state, a partially folded state, and an unfolded state, a first display (220) disposed on the first housing and the second housing and configured to bend as the foldable housing moves between the folded state and the unfolded state, a second display (225) disposed on at least one of the first housing and the second housing at a side opposite to the first display, an illuminance sensor (231) disposed on one of the first housing and the second housing at the same side as the first display, a Hall sensor (232) for identifying an angle between the first housing and the second housing, a processor (210), and a memory (215) storing instructions. The instructions executed by the processor may cause the electronic device to obtain a first illuminance value corresponding to light received from an external source of the electronic device using the illuminance sensor while the foldable housing is in the unfolded state. The instructions executed by the processor may cause the electronic device to identify, using the Hall sensor, that the foldable housing has moved from the unfolded state to the folded state. The instructions executed by the processor may cause the electronic device to obtain a second illuminance value corresponding to light received from an external source of the electronic device using the illuminance sensor while the foldable housing is in the folded state.The instructions executed by the processor may cause the electronic device to identify, using the Hall sensor, that the foldable housing has moved from the folded state to the unfolded state. The instructions executed by the processor may cause the electronic device to identify, using the illuminance sensor, whether a third illuminance value corresponding to the first illuminance value is acquired while the foldable housing is in the unfolded state. The instructions executed by the processor may cause the electronic device to, in a first state in which the third illuminance value corresponding to the first illuminance value is acquired, acquire connection information (270) indicating a relationship between the first illuminance value and the second illuminance value.

[0182] The devices described above may be implemented as hardware components, software components, and / or a combination of hardware components and software components. For example, the devices and components described in the embodiments may be implemented using one or more general-purpose computers or special-purpose computers, such as a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), a programmable logic unit (PLU), a microprocessor, or any other device capable of executing instructions and responding to them. The processing device may execute an operating system (OS) and one or more software applications running on the operating system. The processing device may also access, store, manipulate, process, and generate data in response to the execution of the software. For ease of understanding, the processing device is sometimes described as being used alone; however, one of ordinary skill in the art will recognize that the processing device may include multiple processing elements and / or multiple types of processing elements. For example, a processing unit may include multiple processors, or a processor and a controller. Other processing configurations, such as parallel processors, are also possible.

[0183] Software may include a computer program, code, instructions, or a combination of one or more of these, which may configure a processing device to perform a desired operation or may independently or collectively command the processing device. The software and / or data may be embodied in any type of machine, component, physical device, computer storage medium, or device for interpretation by the processing device or for providing instructions or data to the processing device. The software may also be distributed over networked computer systems and stored or executed in a distributed manner. The software and data may be stored on one or more computer-readable recording media.

[0184] The method according to the embodiment may be implemented in the form of program commands that can be executed through various computer means and recorded on a computer-readable medium. In this case, the medium may be one that continuously stores a computer-executable program or one that temporarily stores it for execution or download. In addition, the medium may be various recording means or storage means in the form of a single or multiple hardware combinations, and is not limited to a medium directly connected to a computer system, but may also be distributed over a network. Examples of the medium may include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical recording media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and those configured to store program commands, including ROM, RAM, and flash memory. In addition, examples of other media may include recording media or storage media managed by app stores that distribute applications, sites that supply or distribute various software, servers, etc.

[0185] Although the embodiments described above have been described by way of limited examples and drawings, those skilled in the art will appreciate that various modifications and variations can be made based on the above teachings. For example, appropriate results can still be achieved even if the described techniques are performed in a different order than described, and / or components of the described systems, structures, devices, circuits, etc. are combined or combined in a different manner than described, or are replaced or substituted with other components or equivalents.

[0186] Therefore, other implementations, other embodiments, and equivalents to the claims also fall within the scope of the claims described below.

Claims

1. In an electronic device (101), A foldable housing including a first housing (310), a second housing (320), and a hinge rotatably connected between the first housing and the second housing and capable of moving into a folded state (305), a partially folded state, and an unfolded state (300); A first display (220) disposed on the first housing and the second housing and configured to bend as the foldable housing moves between the folded state and the unfolded state; A second display (225) disposed on at least one of the first housing and the second housing, at a side opposite to the first display; A light sensor (231) arranged in one of the first housing and the second housing on the same side as the first display; At least one processor (210) comprising a processing circuit; and A memory (215) comprising one or more storage media storing instructions, wherein the instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: While the foldable housing is in the unfolded state, a first illuminance value corresponding to light received from outside the electronic device is obtained using the illuminance sensor; While the foldable housing is in the unfolded state, controlling the brightness of the first display based on the first illuminance value obtained from the illuminance sensor located on the same side as the first display; While the foldable housing is in the folded state, obtaining a second illuminance value corresponding to light received from outside the electronic device using the illuminance sensor; and causing the brightness of the second display to be controlled based on the second illuminance value obtained from the illuminance sensor located on the same side as the first display while the foldable housing is in the folded state; Electronic devices.

2. In paragraph 1, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: causing the brightness of the second display to be controlled based on the first illuminance value and the second illuminance value obtained from the illuminance sensor located on the same side as the first display while the foldable housing is in the folded state; Electronic devices.

3. In either of paragraphs 1 and 2, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: While the foldable housing is in the folded state, controlling the second display to turn off the second display based on a second illuminance value obtained from the illuminance sensor located on the same side as the first display; Electronic devices.

4. In any one of paragraphs 1 to 3, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: While the foldable housing is in the folded state, an ambient light value is estimated based on the first illuminance value and the second illuminance value obtained from the illuminance sensor located on the same side as the first display, and causing the brightness of the second display to be controlled based on the estimated ambient light; Electronic devices.

5. In any one of paragraphs 1 to 4, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: While the foldable housing is in the folded state, causing the second display to be controlled to disable the touch function of the second display based on the second illuminance value obtained from the illuminance sensor located on the same side as the first display. Electronic devices.

6. In any one of paragraphs 1 to 5, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: After obtaining the second illuminance value using the illuminance sensor, a change from the folded state to the unfolded state is identified; While the foldable housing is in the unfolded state, obtaining a third illuminance value corresponding to the first illuminance value using the illuminance sensor; and To obtain data (270) representing the relationship between the first illuminance value and the second illuminance value based on obtaining the third illuminance value corresponding to the first illuminance value. Electronic devices.

7. In any one of paragraphs 1 to 6, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: While the foldable housing is in the folded state, identifying the first illuminance value based on the second illuminance value and the data obtained from the illuminance sensor located on the same side as the first display; and Causing to estimate the ambient light value based on the above first illuminance value, Electronic devices.

8. In any one of paragraphs 1 to 7, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: In response to a change from the folded state to the unfolded state, causing the brightness of the first display to be controlled based on the ambient light value. Electronic devices.

9. In any one of paragraphs 1 to 8, Including a hall sensor (232) for identifying the angle between the first housing and the second housing, Using the above Hall sensor, it is identified that the foldable housing moves from the unfolded state to the folded state; Causing the foldable housing to move from the folded state to the unfolded state by using the above Hall sensor, Electronic devices.

10. In any one of paragraphs 1 to 9, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: In a second state, which is distinct from the first state in which the third illuminance value corresponding to the first illuminance value is acquired, acquisition of the data (270) representing the relationship between the first illuminance value and the second illuminance value is temporarily refrained from, Electronic devices.

11. In any one of paragraphs 1 to 10, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Using the above Hall sensor, based on identifying that the foldable housing has moved from the folded state to the unfolded state, while the foldable housing is in the unfolded state, using the illuminance sensor, causing the third illuminance value to be acquired, which represents an average value among a plurality of illuminance values ​​identified based on a specified period. Electronic devices.

12. In any one of paragraphs 1 to 11, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: When the second illuminance value is identified using the illuminance sensor while the foldable housing is in the folded state, the first illuminance value is estimated using the correlation information, and Based on the estimation of the first illuminance value, in response to identifying that the foldable housing has moved from the folded state to the unfolded state using the Hall sensor, causing the brightness of the first display to be controlled based on the first illuminance value. Electronic devices.

13. In any one of paragraphs 1 to 12, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: While the above foldable housing is in the unfolded state, a first user interface (601) is displayed on the first display indicating acquisition of a plurality of illuminance values ​​using the illuminance sensor, and Based on obtaining the first illuminance value using the illuminance sensor while the foldable housing is in the unfolded state, causing the display of the first user interface to be temporarily suppressed and the second user interface (606) to be displayed for guiding a change from the unfolded state to the folded state. Electronic devices.

14. In the method of electronic device (101), the method comprises: An operation of obtaining a first illuminance value corresponding to light received from the outside of the electronic device using an illuminance sensor (231) while the foldable housing is in an unfolded state (305); An operation of controlling brightness of the first display based on the first illuminance value obtained from the illuminance sensor located on the same side as the first display (220) while the foldable housing is in the unfolded state; An operation of obtaining a second illuminance value corresponding to light received from the outside of the electronic device using the illuminance sensor while the foldable housing is in a folded state (300); and An operation of controlling brightness of a second display (225) located on a side opposite to the first display based on the second illuminance value obtained from the illuminance sensor located on the same side as the first display while the foldable housing is in the folded state. method.

15. In a non-transitory computer readable storage medium, Save a program containing instructions, The above instructions, when individually or collectively executed by at least one processor of an electronic device, cause the electronic device to: While the foldable housing is in the unfolded state (305), a first illuminance value corresponding to light received from the outside of the electronic device is obtained using the illuminance sensor (231); While the foldable housing is in the unfolded state, controlling the brightness of the first display based on the first illuminance value obtained from the illuminance sensor located on the same side as the first display (220); While the above foldable housing is in the folded state (300), a second illuminance value corresponding to light received from the outside of the electronic device is obtained using the illuminance sensor; and While the foldable housing is in the folded state, controlling the brightness of the second display (225) located on the opposite side to the first display based on the second illuminance value obtained from the illuminance sensor located on the same side as the first display. A non-transitory computer-readable recording medium.

Citation Information

Patent Citations

  • Optical sensor

    JP2010175549A

  • Method for controlling display and electronic device using the same

    KR1020170085317A

  • An apparatus for transmitting point cloud data, a method for transmitting point cloud data, an apparatus for receiving point cloud data and a method for receiving point cloud data

    KR1020210020815A

  • Aerosol generating article and aerosol generating system

    KR1020230156251A

  • Foldable display device and method for controlling thereof

    KR102081931B1