Electronic device and method for displaying rotating screen, and non-transitory computer-readable recording medium
By using flexible displays and sensors to detect posture in electronic devices, the problem of adjusting the screen display orientation in folded states has been solved, improving the user experience, especially the convenient display in desktop mode.
Patent Information
- Application Number
- CN202480047270.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-11-20
- Filing Date
- 2024-05-24
- Publication Date
- 2026-02-13
AI Technical Summary
Existing electronic devices have difficulty effectively adjusting the screen orientation when folded, resulting in a poor user experience.
The design combines a flexible display with sensors. By detecting the posture and level of the device through sensors, it can identify desktop and non-desktop states and automatically adjust the screen display orientation.
It enables the screen to automatically adjust its display orientation in different folded states, improving the user experience, especially providing convenient screen display in desktop mode.
Smart Images

Figure CN121532730A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The following description relates to an electronic device, a method, and a non-transitory computer readable storage medium for displaying a rotating screen. BACKGROUND
[0002] An electronic device such as a smart phone can include various sensors for providing improved functions and usability to a user. While providing such functions, for example, foldable electronic devices are being developed as devices that combine compactness and portability. SUMMARY
[0003] TECHNICAL SOLUTION An electronic device is disclosed. The electronic device can include a housing including a first housing portion and a second housing portion, wherein the second housing portion is movably disposed between a folded state and an unfolded state with respect to the first housing portion. The electronic device can include a flexible display, wherein at least a portion of the flexible display is bendable according to relative movement of the second housing portion with respect to the first housing portion. The electronic device can include a sub display included on a second surface opposite a first surface of the first housing portion including the flexible display. The electronic device can include a sensor to obtain data indicating a degree of horizontality of the electronic device. The electronic device can include at least one processor including processing circuitry. The electronic device can include a memory storing instructions. The instructions, when executed by the at least one processor individually or collectively, can cause the electronic device to identify a posture of the electronic device as a desktop state through the data. The desktop state can be a state in which the second housing portion is closer to a ground than the first housing portion, the second housing portion is disposed to be relatively horizontal with respect to the ground, and an angle of the second housing portion with respect to the first housing portion is within a specified angle range. The instructions, when executed by the at least one processor individually or collectively, can cause the electronic device to display a screen in a first direction through the sub display while maintaining the desktop state. The instructions, when executed by the at least one processor individually or collectively, can cause the electronic device to display the screen in a second direction opposite the first direction through the sub display when the electronic device has another state different from the desktop state.
[0004] A method is disclosed. The method can be performed by an electronic device including a housing including a first housing portion and a second housing portion (220), wherein the second housing portion (220) is movably arranged relative to the first housing portion between a folded state and an unfolded state, a flexible display, wherein at least a portion of the flexible display is bendable according to relative movement of the second housing portion relative to the first housing portion, a sub-display included on a second surface opposite a first surface of the first housing portion including the flexible display, and a sensor to obtain data indicating a degree of horizontality of the electronic device. The method can include identifying a posture of the electronic device as a desktop state through the data. The desktop state can be a state in which the second housing portion is closer to a floor than the first housing portion and the second housing portion is arranged to be relatively horizontal with respect to the floor. The method can include displaying a screen in a first direction through the sub-display while maintaining the desktop state and an angle of the second housing portion relative to the first housing portion is within a designated angle range. The method can include displaying the screen in a second direction opposite the first direction through the sub-display when the electronic device has another state different from the desktop state or the angle is outside the designated angle range.
[0005] A non-transitory computer-readable storage medium is disclosed. The non-transitory computer-readable storage medium can store a program including instructions. The instructions, when executed by a processor of an electronic device (wherein the electronic device includes a housing including a first housing portion and a second housing portion, wherein the second housing portion is movably disposed between a folded state and an unfolded state with respect to the first housing portion, a flexible display, wherein at least a portion of the flexible display is bendable according to relative movement of the second housing portion with respect to the first housing portion, a sub-display included on a second surface opposite a first surface of the first housing portion including the flexible display, and a sensor to obtain data indicating a degree of horizontality of the electronic device), can cause the electronic device to identify a posture of the electronic device as a desktop state through the data. The desktop state can be a state in which the second housing portion is disposed to be relatively horizontal with respect to the ground, closer to the ground than the first housing portion. The instructions, when executed by the processor, can cause the electronic device to display a screen in a first direction through the sub-display while maintaining the desktop state and an angle of the second housing portion with respect to the first housing portion is within a designated angle range. The instructions, when executed by the processor, can cause the electronic device to display the screen in a second direction opposite the first direction through the sub-display while the electronic device has another state different from the desktop state or the angle is outside the designated angle range. BRIEF DESCRIPTION OF DRAWINGS
[0006] Figure 1 is a block diagram of an electronic device in a network environment according to various embodiments.
[0007] Figure 2a shows an example of an unfolded state of an electronic device according to an embodiment.
[0008] Figure 2b shows an example of a folded state of an electronic device according to an embodiment.
[0009] Figure 2c shows an example of an intermediate state of an electronic device according to an embodiment.
[0010] Figure 3a shows an example of a folded state, an intermediate state, and an unfolded state of an electronic device.
[0011] Figure 3b shows an example of a folded state of an electronic device aligned in different directions.
[0012] Figure 3c shows an example of an intermediate state of an electronic device aligned in different directions.
[0013] Figure 4a An example of a screen displayed on the second display according to a state of the electronic device is illustrated.
[0014] Figure 4b An example of a screen displayed on the second display according to a state of the electronic device is illustrated.
[0015] Figure 4c An example of a screen displayed on the second display according to a state of the electronic device is illustrated.
[0016] Figure 4d An example of a screen displayed on the second display according to a state of the electronic device is illustrated.
[0017] Figure 4e An example of a screen displayed on the second display according to a state of the electronic device is illustrated.
[0018] Figure 5a An example of a screen displayed on the second display according to a state of the electronic device is illustrated.
[0019] Figure 5b An example of a screen displayed on the second display according to a state of the electronic device is illustrated.
[0020] Figure 6 FIG. 1 is a flowchart indicating operations performed by an electronic device according to an embodiment.
[0021] Figure 7a FIG. 2 is a flowchart indicating operations performed by an electronic device according to an embodiment.
[0022] Figure 7b An example of a folding state, an intermediate state, and an unfolded state of an electronic device according to an embodiment is illustrated.
[0023] Figure 8 FIG. 3 is a flowchart indicating operations performed by an electronic device according to an embodiment.
[0024] Figure 9 FIG. 4 is a flowchart indicating operations performed by an electronic device according to an embodiment.
[0025] Figure 10 FIG. 5 is a flowchart indicating operations performed by an electronic device according to an embodiment.
[0026] Figure 11 FIG. 6 is a flowchart indicating operations performed by an electronic device according to an embodiment.
[0027] Figure 12 FIG. 7 is a flowchart indicating operations performed by an electronic device according to an embodiment.
[0028] Figure 13is a flowchart indicating operations performed by an electronic device according to an embodiment. DETAILED DESCRIPTION
[0029] Figure 1 is a block diagram illustrating an electronic device 101 in a network environment 100 according to various embodiments. Referring to Figure 1 , the electronic device 101 in the network environment 100 can communicate with an electronic device 102 via a first network 198 (e.g., a short-range wireless communication network), or an electronic device 104 or a server 108 via a second network 199 (e.g., a long-range wireless communication network). According to an embodiment, the electronic device 101 can communicate with the electronic device 104 via the server 108. According to an embodiment, the electronic device 101 can include a processor 120, a memory 130, an input module 150, a sound output module 155, a display module 160, an audio module 170, a sensor module 176, an interface 177, a connection terminal 178, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module 190, a subscriber identification module (SIM) 196, or an antenna module 197. In some embodiments, at least one (e.g., the connection terminal 178) of the above components can be omitted from the electronic device 101, or one or more other components can be added in the electronic device 101. In some embodiments, some of the above components (e.g., the sensor module 176, the camera module 180, or the antenna module 197) can be implemented as a single integrated component (e.g., the display module 160).
[0030] The processor 120 can execute, for example, 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 coupled with the processor 120 and can perform various data processing or computation. According to an embodiment, as at least part of the data processing or computation, the processor 120 can store a command or data received from another component (e.g., the sensor module 176 or the communication module 190) in the volatile memory 132, process the stored command or data, and store at least a result data in the non-volatile memory 134. According to an embodiment, the processor 120 can include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)), or an auxiliary processor 123 (e.g., a graphics processing unit (GPU), a neural processing unit (NPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is operable independently from, or in conjunction 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 can be adapted to consume less power than the main processor 121, or to be dedicated to a specific function. The auxiliary processor 123 can be implemented as separate from, or as part of the main processor 121.
[0031] The auxiliary processor 123 (not the main processor 121) can control at least some of the functions or status related to at least one component (for example, the display module 160, the sensor module 176, or the communication module 190) among the components of the electronic device 101, while the main processor 121 is in an inactive (for example, sleep) state, or the auxiliary processor 123 can control at least some of the functions or status related to at least one component (for example, the display module 160, the sensor module 176, or the communication module 190) among the components of the electronic device 101, together with the main processor 121, while the main processor 121 is in an active state (for example, executing an application). According to an embodiment, the auxiliary processor 123 (for example, an image signal processor or a communication processor) can be implemented as a part of another component (for example, the camera module 180 or the communication module 190) functionally related to the auxiliary processor 123. According to an embodiment, the auxiliary processor 123 (for example, a neural processing unit) can include a hardware structure dedicated to artificial intelligence model processing. The artificial intelligence model can be generated through machine learning. For example, such learning can be performed by the electronic device 101 where artificial intelligence is performed or via a separate server (for example, the server 108). The learning algorithm can include, but is not limited to, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning. The artificial intelligence model can include multiple artificial neural network layers. The artificial neural network can be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), or a deep Q-network, or a combination of two or more thereof, but is not limited thereto. Additionally or alternatively, the artificial intelligence model can include a software structure other than the hardware structure.
[0032] The memory 130 can store various data used by at least one component (for example, the processor 120 or the sensor module 176) of the electronic device 101. The various data can include, for example, software (for example, a program 140) and input data or output data for commands related thereto. The memory 130 can include the volatile memory 132 or the non-volatile memory 134.
[0033] The program 140 can be stored in the memory 130 as software, and can include, for example, an operating system (OS) 142, middleware 144, or an application 146.
[0034] The input module 150 can receive a command or data, which is to be used by other components (for example, the processor 120) of the electronic device 101, from the outside (for example, a user) of the electronic device 101. The input module 150 can include, for example, a microphone, a mouse, a keyboard, a key (for example, a button), or a digital pen (for example, a stylus pen).
[0035] The sound output module 155 can output sound signals to the outside of the electronic device 101. The sound output module 155 can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as playing multimedia or playing record, and the receiver can be used for receiving an incoming call. According to an embodiment, the receiver can be implemented as separate from the speaker, or can be implemented as part of the speaker.
[0036] The display module 160 can visually provide information to the outside (e.g., a user) of the electronic device 101. The display module 160 can include, for example, a display, a hologram device, or a projector and control circuitry to control a corresponding one of them. According to an embodiment, the display module 160 can include a touch sensor adapted to detect a touch, or a pressure sensor adapted to measure the intensity of force incurred by the touch.
[0037] The audio module 170 can convert a sound into an electrical signal and vice versa. According to an embodiment, the audio module 170 can obtain the sound via the input module 150, or output the sound via the sound output module 155 or a headphone of an external electronic device (e.g., an electronic device 102) directly (e.g., wiredly) or wirelessly coupled with the electronic device 101.
[0038] The sensor module 176 can detect an operational state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a state of a user) external to the electronic device 101, and then generate an electrical signal or data value corresponding to the detected state. According to an embodiment, the sensor module 176 can include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0039] The interface 177 can support one or more specified protocols to be used for the electronic device 101 to be coupled with the external electronic device (e.g., the electronic device 102) directly (e.g., wiredly) or wirelessly. According to an embodiment, the interface 177 can include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.
[0040] The connection terminal 178 can include a connector through which the electronic device 101 can be physically connected with the external electronic device (e.g., the electronic device 102). According to an embodiment, the connection terminal 178 can include, for example, a HDMI connector, a USB connector, a SD card connector, or an audio connector (e.g., a headphone connector).
[0041] The haptic module 179 can convert electrical signal into a mechanical stimulus (e.g., vibration or movement) or electrical stimulus that can be recognized by a user via his tactile sensation or kinesthetic sensation. According to an embodiment, the haptic module 179 can include, for example, a motor, a piezoelectric element, or an electrical stimuluser.
[0042] The camera module 180 can capture still images or moving images. According to an embodiment, the camera module 180 can include one or more lenses, image sensors, image signal processors, or flashes.
[0043] The power management module 188 can manage power supplied to the electronic device 101. According to an embodiment, the power management module 188 can be implemented as at least part of, for example, a power management integrated circuit (PMIC).
[0044] The battery 189 can supply power to at least one component of the electronic device 101. According to an embodiment, the battery 189 can include, for example, a primary cell which is not rechargeable, a secondary cell which is rechargeable, or a fuel cell.
[0045] The communication module 190 can support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (e.g., the electronic device 102, the electronic device 104, or the server 108) and performing communication between the electronic devices 101 and the external electronic device via the established communication channel. The communication module 190 can include one or more communication processors that are operable independently from the processor 120 (e.g., an application processor (AP)) and supports a direct (e.g., wired) communication or a wireless communication. According to an embodiment, the communication module 190 can include a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., a local area network (LAN) communication module or a power line communication (PLC) module). A corresponding one of these communication modules can communicate with the external electronic device via the first network 198 (e.g., a short-range communication network, such as Bluetooth, wireless-fidelity (Wi-Fi) direct, or infrared data association (IrDA)) or the second network 199 (e.g., a long-range communication network, such as a conventional cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or wide area network (WAN)). These various types of communication modules can be implemented as a single component (e.g., a single chip) or can be implemented as separate components (e.g., separate chips) from each other. The wireless communication module 192 can identify and authenticate the electronic device 101 in a communication network, such as the first network 198 or the second network 199, using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module 196.
[0046] The wireless communication module 192 can support 5G networks and next-generation communication technologies (e.g., new radio (NR) access technology) after 4G networks. The NR access technology can support enhanced mobile broadband (eMBB), massive machine type communications (mMTC), or ultra-reliable low-latency communications (URLLC). The wireless communication module 192 can support a high frequency band (e.g., a millimeter wave band) to achieve, for example, high data transmission rates. The wireless communication module 192 can support various technologies for securing performance on a high frequency band, such as, for example, beamforming, massive multiple input multiple output (massive MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beamforming, or large scale antenna. The wireless communication module 192 can support various requirements designated 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 an embodiment, the wireless communication module 192 can support a peak data rate for implementing eMBB (e.g., 20 Gbps or more), a loss coverage for implementing mMTC (e.g., 164 dB or less), or a U-plane latency for implementing URLLC (e.g., 0.5 ms or less for each of downlink (DL) and uplink (UL), or 1 ms or less for a round trip).
[0047] The antenna module 197 can transmit or receive a signal or power to or from the outside (e.g., an external electronic device) of the electronic device 101. According to an embodiment, the antenna module 197 can include an antenna including a radiating element composed of a conductive material or a conductive pattern formed in or on a base (e.g., a printed circuit board (PCB)). According to an embodiment, the antenna module 197 can include a plurality of antennas (e.g., array antennas). In this case, at least one antenna suitable for a communication scheme used in a communication network, such as the first network 198 or the second network 199, can be selected from the plurality of antennas by, for example, the communication module 190 (e.g., the wireless communication module 192). Then, a signal or power can be transmitted or received between the communication module 190 and an external electronic device via the selected at least one antenna. According to an embodiment, in addition to the radiating element, another component (e.g., a radio frequency integrated circuit (RFIC)) can additionally be formed as part of the antenna module 197.
[0048] According to various embodiments, the antenna module 197 can form a millimeter wave antenna module. According to an embodiment, the millimeter wave antenna module can include a printed circuit board, a radio frequency integrated circuit (RFIC), and a plurality of antennas (e.g., array antennas), wherein the RFIC is disposed on a first surface (e.g., a bottom surface) of the printed circuit board, or adjacent to the first surface and capable of supporting a designated high frequency band (e.g., a millimeter wave band), and the plurality of antennas is disposed on a second surface (e.g., a top surface or a side surface) of the printed circuit board, or adjacent to the second surface and capable of transmitting or receiving a signal of the designated high frequency band.
[0049] At least some of the above-described components can be connected to each other by an inter-peripheral communication scheme (e.g., a bus, a general purpose input output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)) and communicate information (e.g., commands or data) between them.
[0050] According to an embodiment, commands or data can be transmitted or received between the electronic device 101 and the external electronic device 104 via the server 108 coupled with the second network 199. Each of the electronic devices 102 and 104 can be a device of a same type as or different from the electronic device 101. According to an embodiment, all or some of the operations to be executed at the electronic device 101 can be executed at one or more of the external electronic devices 102, 104, or server 108. For example, if the electronic device 101 is to automatically perform a function or a service or is to perform a function or a service in response to a request from a user or another device, the electronic device 101, instead of, or in addition to, executing the function or the service, can request the one or more external electronic devices to execute at least a part of the function or the service. The one or more external electronic devices receiving the request can execute the at least a part of the function or the service requested, or execute an additional function or an additional service related to the request, and transfer an execution result to the electronic device 101. The electronic device 101 can provide the execution result, with or without further processing of the execution result, as at least part of a reply to the request. To this end, a cloud computing technique, a distributed computing technique, a mobile edge computing (MEC) technique, or a client-server computing technique can be used, for example. The electronic device 101 can use, for example, distributed computing or mobile edge computing to provide an ultra-low latency service. In another embodiment, the external electronic device 104 can include an Internet of Things (IoT) device. The server 108 can be an intelligent server using machine learning and / or a neural network. According to an embodiment, the external electronic device 104 or the server 108 can be included in the second network 199. The electronic device 101 can be applied to a smart service (e.g., a smart home, a smart city, a smart car, or a health care) based on a 5G communication technology or an IoT-related technology.
[0051] Figure 2a An example of an unfolded state of an electronic device according to an embodiment is illustrated. Figure 2b An example of a folded state of an electronic device according to an embodiment is illustrated. Figure 2c An example of an intermediate state of an electronic device according to an embodiment is illustrated.
[0052] Reference Figure 2a and Figure 2bThe electronic device 101 can include a first housing 210, a second housing 220, and a hinge structure (or hinge assembly) 260. In an embodiment, the first housing 210 can be rotatably connected to the hinge structure 260. The first housing 210 can be rotatable with respect to the second housing 220 through the hinge structure 260. In an embodiment, the second housing 220 can be rotatably connected to the hinge structure 260. The second housing 220 can be rotatable with respect to the first housing 210 through the hinge structure 260.
[0053] In an embodiment, the first housing 210 can include a first surface 211, a second surface 212 facing away from the first surface 211, and a third surface 213 covering at least a portion of the first surface 211 and the second surface 212. In an embodiment, the first housing 210 can provide a space for disposing components of the electronic device 101. In an embodiment, the first housing 210 can include a conductive material, a non-conductive material, or a combination thereof. The first surface 211, the second surface 212, and the third surface 213 of the first housing 210 can be referred to as a front surface, a rear surface, and a side surface of the first housing 210, respectively.
[0054] In an embodiment, the second housing 220 can include a first surface 221, a second surface 222 facing away from the first surface 221, and a third surface 223 covering at least a portion of the first surface 221 and the second surface 222. In an embodiment, the second housing 220 can provide a space for disposing components of the electronic device 101. The first surface 221, the second surface 222, and the third surface 223 of the second housing 220 can be referred to as a front surface, a rear surface, and a side surface of the second housing 220, respectively.
[0055] In an embodiment, the hinge structure 260 can be connected to the first housing 210 and the second housing 220, respectively. For example, the hinge structure 260 can include first and second hinge plates configured to be rotatable. The first hinge plate can be connected to the first housing 210, and the first housing 210 can be rotatable through the first hinge plate. The second hinge plate can be connected to the second housing 220, and the second housing 220 can be rotatable through the second hinge plate.
[0056] According to an embodiment, the electronic device 101 can be folded or unfolded based on a folding axis F passing through the hinge structure 260 according to rotation of the first housing 210 and the second housing 220. For example, the hinge structure 260 can be located between the first housing 210 and the second housing 220 such that the electronic device 101 can be folded based on the folding axis F.
[0057] In an embodiment, the hinge structure 260 may include a hinge cover 265 for covering an internal structure (e.g., a hinge mechanism). The hinge cover 265 may be exposed to the outside depending on the degree to which the electronic device 101 is folded, or it may be covered by the first housing 210 and the second housing 220. When the electronic device 101 is in a folded state (e.g., ...), Figure 2b When the device is in the unfolded state (e.g., when the hinge cover 265 is in the unfolded state), the hinge cover 265 can be at least partially exposed through the space between the first housing 210 and the second housing 220. For example, when the electronic device 101 is in the unfolded state (e.g., Figure 2a When the hinge cover 265 is in the lower position, it can be covered by the first housing 210 and the second housing 220.
[0058] According to an embodiment, the electronic device 101 may include a first display 230 disposed in the space provided by the first housing 210 and the second housing 220 (e.g., Figure 1 The display module 160. For example, the first display 230 may be at least partially housed in a recess formed on a first surface 211 of the first housing 210 and a first surface 221 of the second housing 220. In an embodiment, the first display 230 may include a first flat portion 231 aligned with the first housing 210, a second flat portion 232 spaced apart from the first flat portion 231 and aligned with the second housing 220, and a folded portion 233 aligned with the hinge structure 260 and extending from the first flat portion 231 to the second flat portion 232. The first display 230 may be referred to as a foldable display or a flexible display. The first flat portion 231, the second flat portion 232, and the folded portion 233 may form the surface of the first display 230. The surface of the first display 230 may at least partially form the first surface 211 of the first housing 210 and the first surface 221 of the second housing 220. The first flat portion 231, the second flat portion 232, and the folded portion 233 may be referred to as a first region, a second region, and a folded region of the first display 230, respectively.
[0059] In an embodiment, the electronic device 101 may include a second display 235 disposed in the first housing 210 (e.g., Figure 1 (Display module 160). The second display 235 can be viewed through the second surface 222 of the first housing 210.
[0060] According to an embodiment, electronic device 101 may include multiple cameras (e.g., Figure 1(Camera module 180). For example, electronic device 101 may include camera 234 and camera 236. In one embodiment, camera 234 may be disposed in the first housing 210 to acquire images through a portion of the second surface 212. In another embodiment, camera 236 may be disposed below a first flat portion 231 of the first display 230. Camera 236 may be aligned with an opening that at least partially penetrates the first flat portion 231 and may acquire images through the opening. Camera 236 may be located in the screen display area of the first display 230, but is not limited thereto.
[0061] In the following text, reference will be made to Figure 2a , Figure 2b and Figure 2c Describe the state of electronic device 101. According to an embodiment, electronic device 101 may include an unfolded state (e.g., Figure 2a ), folded state (e.g., Figure 2b ) and intermediate states (e.g., Figure 2c The electronic device 101 can change between an unfolded state and a folded state, and an intermediate state can be a state between the unfolded state and the folded state. In an embodiment, the angle between the first housing 210 and the second housing 220 can change depending on the state of the electronic device 101.
[0062] First, refer to Figure 2a In the unfolded state, the first housing 210 and the second housing 220 can form a first angle. As a non-limiting example, the first angle can be approximately 180°. The first flat portion 231, the second flat portion 232, and the folded portion 233 of the first display 230 can form substantially flat surfaces. The first surface 211 (or the first flat portion 231) of the first housing 210 faces a first direction (e.g., Figure 2c The first direction A1) and the second direction (e.g., the first surface 221 (second flat portion 232) of the second housing 220 facing the second direction) Figure 2c The second direction (A2) can be basically the same.
[0063] Reference Figure 2bIn the folded state of the electronic device 101, the first housing 210 and the second housing 220 can be folded to face each other by being rotated based on the folding axis F. The first housing 210 and the second housing 220 can overlap each other to form a second angle smaller than the first angle. As a non-limiting example, the second angle can be about 0°. The folded portion 233 of the first display 230 can be curved to correspond to the second angle. The first surface 211 of the first housing 210 can face the first surface 221 of the second housing 220. The first housing 210 and the second housing 220 can at least partially contact each other, but are not limited thereto. The first direction in which the first surface 211 of the first housing 210 faces and the second direction in which the first surface 221 of the second housing 220 faces can be opposite to each other. In the folded state, at least a portion of the first display 230 can not be visible from the outside of the electronic device 101, and the second display 235 can be visible from the outside of the electronic device 101.
[0064] Referring to Figure 2c In the intermediate state, the first housing 210 and the second housing 220 can form a third angle greater than the first angle and smaller than the second angle. The folded portion 233 of the first display 230 can be curved to correspond to the second angle.
[0065] Figure 3a Examples of the folded state 310, the intermediate state 320, and the unfolded state 330 of the electronic device 101 are illustrated. Figure 3b Examples of the folded state 311 and the folded state 315 of the electronic device 101 aligned in different directions are illustrated. Figure 3b Examples of the intermediate state 321 and the intermediate state 325 of the electronic device 101 aligned in different directions are illustrated.
[0066] In an embodiment, the electronic device 101 can identify a posture of the electronic device 101. For example, the electronic device 101 can obtain data (or data based on a six-axis sensor) indicating a degree of horizontality of the electronic device 101 through the sensor module 176. For example, based on the data indicating the degree of horizontality of the electronic device 101, the electronic device 101 can identify the posture of the electronic device 101. For example, the electronic device 101 can obtain data indicating a degree of folding of the electronic device 101 through the sensor module 176. For example, based on the data indicating the degree of folding of the electronic device 101, the electronic device 101 can identify the posture of the electronic device 101.
[0067] In an embodiment, based on data related to the posture of the electronic device 101 through the sensor module 176, the electronic device 101 can identify a degree of folding of the electronic device 101 and / or a degree of horizontality of the electronic device 101.
[0068] In an embodiment, the electronic device 101 can display a screen on the second display 235 in a normal state in the folded state 310. In an embodiment, in response to identifying that in the folded state 310 based on data, the electronic device 101 can display a screen on the second display 235 in a normal state.
[0069] In an embodiment, the electronic device 101 can display a screen on the second display 235 in a normal state regardless of an orientation of the electronic device 101 in the folded state 310. For example, in a case where the electronic device 101 is substantially perpendicular to the ground in the folded state 310, the electronic device 101 can display a screen on the second display 235 in a normal state in the folded state 310. For example, even in a case where the electronic device 101 is substantially perpendicular to the ground in the folded state 310 and the hinge structure 260 faces the ground or faces away from the ground, the electronic device 101 can display a screen on the second display 235 in a normal state in the folded state 310. For example, in a case where the electronic device 101 is substantially horizontal to the ground in the folded state 310, the electronic device 101 can display a screen on the second display 235 in a normal state in the folded state 310. That the electronic device 101 is substantially perpendicular to the ground can mean that the first surface 211 and / or the second surface 212 of the electronic device 101 can be substantially perpendicular to the ground. That the electronic device 101 is substantially horizontal to the ground can mean that the first surface 211 and / or the second surface 212 of the electronic device 101 can be substantially horizontal to the ground. Here, the normal state can be a state in which a screen is arranged such that an upper portion of the screen is adjacent to the hinge structure 260. Here, that the electronic device 101 is substantially perpendicular to the ground can mean that an angle formed by the electronic device 101 and the ground is 90° or within a predetermined range (e.g., 10°) from 90°. Here, that the electronic device 101 is substantially horizontal to the ground can mean that an angle formed by the electronic device 101 and the ground is 0° or within a predetermined range (e.g., 10°) from 0°.
[0070] Referring to Figure 3b In the folded state 311 in which the electronic device 101 is perpendicular to the ground and the hinge structure 260 faces a direction opposite to the ground (or upward), the electronic device 101 can display a screen 301 in a normal state. In the folded state 315 in which the electronic device 101 is perpendicular to the ground and the hinge structure 260 faces a direction of the ground (or downward), the electronic device 101 can display a screen 301 in a normal state.
[0071] In an embodiment, the electronic device 101 can display a screen on the second display 235 in a normal state or a rotated state in the intermediate state 320. In an embodiment, in response to being identified as in the intermediate state 320 based on data, the electronic device 101 can display a screen on the second display 235 in a normal state or a rotated state. Here, the rotated state can be an arrangement state in which the screen is arranged such that a lower portion of the screen is adjacent to the hinge structure 260. For example, the screen in the rotated state can be rotated by 180° from the screen in the normal state. Hereinafter, the screen in the state of being rotated by 180° can be referred to as being displayed in a first direction. The screen in the normal state can be referred to as being displayed in a second direction. Here, the first direction can be a direction opposite to the second direction.
[0072] In an embodiment, according to an angle between the first housing 210 and the second housing 220 in the intermediate state 320, the electronic device 101 can display a screen on the second display 235 in a selected direction among the first direction and the second direction. For example, in the case where the angle between the first housing 210 and the second housing 220 in the intermediate state 320 is within a specified angle range (e.g., 20° to 80°), the electronic device 101 can display a screen on the second display 235 in the first direction. For example, in the case where the angle between the first housing 210 and the second housing 220 in the intermediate state 320 is less than the specified angle range (e.g., less than 20°), the electronic device 101 can display a screen on the second display 235 in the second direction. For example, in the case where the angle between the first housing 210 and the second housing 220 in the intermediate state 320 exceeds the specified angle range (e.g., exceeds 80°), the electronic device 101 can display a screen on the first display 230 rather than the second display 235. For example, in the case where the angle between the first housing 210 and the second housing 220 in the intermediate state 320 exceeds the specified angle range, the electronic device 101 can turn off the second display 235. Hereinafter, in the intermediate state 320, the electronic device 101 can display a screen on the second display 235 in the first direction. For example, in response to the electronic device 101 identifying that the second surface 212 is substantially horizontal to the ground in the intermediate state 320, the electronic device 101 can rotate the screen from the second direction to the first direction in the intermediate state 320. For example, in response to the electronic device 101 identifying that the second surface 212 is substantially horizontal to the ground in the intermediate state 320, the electronic device 101 can rotate the screen from the second direction to the first direction in the intermediate state 320 after a specified period of time (e.g., 200 ms). However, it is not limited thereto.
[0073] In an embodiment, in a case that the electronic device 101 is in the intermediate state 320 and the second surface 212 is not substantially horizontal to the ground, the electronic device 101 can display a screen on the second display 235 in the second direction in the intermediate state 320. For example, in a case that the electronic device 101 is in the intermediate state 320 and the second surface 212 is substantially perpendicular to the ground, the electronic device 101 can display a screen on the second display 235 in the second direction in the intermediate state 320. Hereinafter, an angle of the second surface 212 with respect to the ground can be referred to as a ground angle. Here, the second surface 212 being substantially perpendicular to the ground can mean that an angle formed by the second surface 212 and the ground is 90°, or is within a predetermined range (e.g., 10°) from 90°. Here, the second surface 212 being substantially horizontal to the ground can mean that an angle formed by the second surface 212 and the ground is 0°, or is within a predetermined range (e.g., 10°) from 0°.
[0074] In an embodiment, according to an angle of the second surface 212 with respect to the ground in the intermediate state 320 in which the second surface 212 is closer to the ground than the first surface 211, the electronic device 101 can display a screen on the second display 235 in a direction selected from among the first direction or the second direction. For example, in the intermediate state 320, in a case that the second surface 212 is substantially horizontal to the ground in a state in which the first surface 211 is closer to the ground than the second surface 212, the electronic device 101 can display a screen on the second display 235 in the second direction rather than in the first direction.
[0075] In an embodiment, according to the housing angle and the ground angle in the intermediate state 320, the electronic device 101 can display a screen on the second display 235 in a selected direction among the first direction and the second direction. For example, in a case that the housing angle is within a specified angle range (e.g., 20° to 80°) and the ground angle is substantially 0° in the intermediate state 320, the electronic device 101 can display a screen on the second display 235 in the first direction. For example, in a case that the housing angle is outside the specified angle range or the ground angle is not substantially 0° in the intermediate state 320, the electronic device 101 can display a screen on the second display 235 in the second direction.
[0076] In an embodiment, the electronic device 101 can display a screen in a selected direction among the first direction and the second direction on the second display 235 according to the case where the case angle and the ground angle are in the intermediate state 320 in which the second surface 212 is closer to the ground than the first surface 211. For example, in the case where the case angle is within a designated angle range and the ground angle is substantially 0° in the intermediate state 320 in which the second surface 212 is closer to the ground than the first surface 211, the electronic device 101 can display a screen in the first direction on the second display 235. For example, in the case where the case angle is outside the designated angle range or the ground angle is not substantially 0° in the intermediate state 320 in which the second surface 212 is closer to the ground than the first surface 211, the electronic device 101 can display a screen in the second direction on the second display 235.
[0077] Referring to Figure 3c In the intermediate state 320 (or the desktop state) in which the case angle is within the designated angle range, the ground angle is substantially 0°, and the second surface 212 is closer to the ground than the first surface 211, the electronic device 101 can display a screen 302 in the first direction. In the intermediate state 325 (or the tent state) in which the case angle is within the designated angle range but the ground angle is not substantially 0° and the second surface 212 is not closer to the ground than the first surface 211, the electronic device 101 can display a screen 301 in the second direction. In an embodiment, in the intermediate state 320 in which the case angle is within the designated angle range (e.g., 20° to 80°), the desktop state can be a state in which the second case 220 is closer to the ground than the first case 210 and the second case 220 is disposed to be relatively horizontal with respect to the ground (e.g., the ground angle is substantially 0°).
[0078] In an embodiment, the electronic device 101 can display a screen in the first direction on the second display 235 in the desktop state. In an embodiment, the electronic device 101 can display a screen in the second direction on the second display 235 in another state other than the desktop state. However, the embodiment is not limited thereto.
[0079] According to an embodiment, the electronic device 101 can change a function assigned to a button while displaying a screen in the first direction on the second display 235. For example, the electronic device 101 can change a function assigned to at least two physical buttons located on a side surface (or a third surface 213) of the first case 210 of the electronic device 101 while displaying a screen in the first direction on the second display 235. For example, the electronic device 101 can change a function assigned to at least two physical buttons located on a side surface (or a third surface 213) of the first case 210 of the electronic device 101 in the desktop state.
[0080] For example, while maintaining the desktop state, the electronic device 101 can assign a first function to a first button among the at least two physical buttons and a second function opposite to the first function to a second button among the at least two physical buttons. For example, the first button can be located farther from the hinge structure 260 than the second button. In an embodiment, in another state other than the desktop state, the electronic device 101 can assign a volume up function to the first button and a volume down function to the second button. In an embodiment, in the desktop state, the electronic device 101 can assign the volume down function to the first button and the volume up function to the second button. However, it is not limited thereto.
[0081] Figure 4a Examples of screens 401 and 402 displayed on the second display 235 according to a state of the electronic device 101 are illustrated.
[0082] may be described with reference to Figure 1 , Figure 2a , Figure 2b , Figure 2c , Figure 3a , Figure 3b and Figure 3c . Figure 4a .
[0083] With reference to Figure 4a , the screen 401 can be a screen displayed by the second display 235 of the electronic device 101 in another state other than the desktop state, and the screen 402 can be a screen displayed by the second display 235 of the electronic device 101 in the desktop state.
[0084] In an embodiment, the electronic device 101 can display the screen 401 in the second direction through the second display 235 in another state other than the desktop state. In an embodiment, the electronic device 101 can display the screen 401 in the second direction through the notch area 415 and the display area 411 of the second display 235 in another state other than the desktop state. In an embodiment, the electronic device 101 can display the screen 401 in the first direction through a portion of the second display 235 in the desktop state. In an embodiment, another state other than the desktop state can be the intermediate state 320 in the tent state or the folded state 310. In an embodiment, another state other than the desktop state can be a state in which the housing angle is outside a designated angle range, or a state in which the second housing 220 is not closer to the ground than the first housing 210, or a state in which the second housing 220 is disposed not to be relatively horizontal with respect to the ground. For example, another state other than the desktop state can include the intermediate state 320 in which the housing angle is outside a designated angle range (e.g., 20° to 80°). For example, another state other than the desktop state can include the intermediate state 320 in which the ground angle is not substantially 0° (e.g., the tent state). For example, another state other than the desktop state can include the folded state 310.
[0085] In an embodiment, the electronic device 101 can display an image object 420 for a prompt on the notch area 415. In an embodiment, the electronic device 101 can display the image object 420 for a prompt on the notch area 415 while displaying the screen 401 in the second direction. In an embodiment, the electronic device 101 can display the image object 420 for a prompt on the notch area 415 in a case in which the state of the electronic device 101 has another state other than the desktop state. For example, the image object 420 can be an object for notifying a user that a designated function (e.g., payment) can be performed through the image object 420.
[0086] In an embodiment, in response to the input 431 for the image object 420 for prompting, the electronic device 101 can change the screen 401 to another screen related to the image object 420. In an embodiment, in response to the swipe input 431 in a specified direction (e.g., an upward direction of the screen 401) from the image object 420 for prompting, the electronic device 101 can change the screen 401 to another screen related to the image object 420. In an embodiment, based on the swipe input 431 starting in the notch area 415, the electronic device 101 can change the screen 401 to another screen related to the image object 420. In an embodiment, based on the swipe input 431 starting from a lower portion of the relative left side portion 433 of the screen 401, the electronic device 101 can change the screen 401 to another screen related to the image object 420. For example, in response to the input 431 for the image object 420 for payment, the electronic device 101 can change the screen 401 to a screen for payment related to the image object 420.
[0087] According to an embodiment, the electronic device 101 can identify a desktop state. For example, the electronic device 101 can obtain data (or data based on a 6-axis sensor) indicating a degree of horizontal of the electronic device 101 through the sensor module 176. For example, based on the data indicating the degree of horizontal of the electronic device 101, the electronic device 101 can identify a desktop state of the electronic device 101.
[0088] In an embodiment, in response to identifying the desktop state, the electronic device 101 can rotate the screen 402 from the second direction to the first direction. In an embodiment, while maintaining the desktop state, the electronic device 101 can display the screen 402 in the first direction only in the display area 411 of the second display 235. The electronic device 101 can output a specified color (e.g., black) to the notch area 415 while displaying the screen 402 in the first direction through the display area 411 of the second display 235. The electronic device 101 can turn off the notch area 415 while displaying the screen 402 in the first direction through the display area 411 of the second display 235.
[0089] In an embodiment, while maintaining the desktop state, the electronic device 101 can stop displaying the image object 420 for prompting. In an embodiment, while displaying the screen 402 in the first direction through the display area 411 of the second display 235, the electronic device 101 can stop displaying the image object 420 for prompting.
[0090] In an embodiment, in response to the input 435 from the image object 425 for prompting, the electronic device 101 can change the screen 401 to another screen related to the image object 425. In an embodiment, in the desktop state, in response to the swipe input 435 in a specified direction (e.g., an upward direction of the screen 401) from the lower side of the relative center portion 437, the electronic device 101 can change the screen 401 to another screen. However, it is not limited thereto. For example, in the desktop state, in response to the swipe input 435 in a specified direction (e.g., an upward direction of the screen 401) from the lower side of another portion (e.g., a left side or a right side) other than the lower side of the relative center portion 437, the electronic device 101 can change the screen 401 to another screen. However, it is not limited thereto. For example, in response to the swipe input 435 in a specified direction (e.g., an upward direction of the screen 401) from the lower side of another portion (e.g., a left side or a right side) other than the lower side of the relative center portion 437, the electronic device 101 can change the screen 401 to another screen.
[0091] In an embodiment, in response to the swipe input 435, the electronic device 101 can change the screen 402 to another screen.
[0092] In an embodiment, in the desktop state, the electronic device 101 can stop executing a specified application. In an embodiment, in the desktop state, the electronic device 101 can not execute a specified application. For example, in the desktop state, the electronic device 101 can stop executing an application related to payment.
[0093] Figure 4b An example of the screen 403 and the screen 404 displayed on the second display 235 according to the state of the electronic device 101 is illustrated.
[0094] may be described with reference to Figure 1 , Figure 2a , Figure 2b , Figure 2c , Figure 3a , Figure 3b and Figure 3c . Figure 4b .
[0095] With reference to Figure 4b , the screen 403 can be a screen displayed through the second display 235 of the electronic device 101 in another state other than the desktop state, and the screen 404 can be a screen displayed through the second display 235 of the electronic device 101 in the desktop state.
[0096] In an embodiment, in another state other than the desktop state, the electronic device 101 can display the screen 403 in the second direction through the second display 235. In an embodiment, in another state other than the desktop state, the electronic device 101 can display the screen 403 in the second direction through the notch area 415 and the display area 411 of the second display 235. In an embodiment, in the desktop state, the electronic device 101 can display the screen 403 in the first direction through a portion of the second display 235. In an embodiment, another state other than the desktop state can include the intermediate state 320 in which the case angle is outside a designated angle range (e.g., 20° to 80°). In an embodiment, another state other than the desktop state can include the intermediate state 320 in which the ground angle is not substantially 0° (e.g., the tent state). For example, another state other than the desktop state can include the folded state 310.
[0097] In an embodiment, the screen 403 or the screen 404 can include an image object 440. In an embodiment, the image object 440 can indicate an application being executed in the background. In an embodiment, the image object 440 can display information related to the application being executed in the background. In an embodiment, the image object 440 can also be referred to as a capsule or an ongoing activity. In an embodiment, the image object 310 can be related to an application that was most recently executed in the foreground among one or more applications being executed in the background.
[0098] In an embodiment, by switching from another screen to the screen 403 or the screen 404, the electronic device 101 can display the image object 440 on the screen 403 or the screen 404. For example, by switching from a screen of an application being executed in the foreground to the screen 403 or the screen 404, the electronic device 101 can display the image object 440 indicating information related to the application on the screen 403 or the screen 404.
[0099] In an embodiment, based on an input (e.g., a tap input) for selecting the image object 440, the electronic device 101 can execute the application in the foreground. For example, in an embodiment, based on an input (e.g., a tap input) for selecting the image object 440, the electronic device 101 can display a screen indicating an execution result and / or an execution state of the application.
[0100] In an embodiment, the electronic device 101 can display the image object 440 at a designated location on the screen 403 or the screen 404. In an embodiment, the electronic device 101 can display the image object 440 on the notch area 415 of the second display 235. For example, the electronic device 101 can display the image object 440 on the notch area 415 of the second display 235 in another state other than the desktop state. In an embodiment, the electronic device 101 can display the image object 440 in the display area 411 of the second display 235. For example, the electronic device 101 can display the image object 440 in the display area 411 of the second display 235 in the desktop state. For example, the electronic device 101 can display the image object 440 at a lower portion of the relative left side portion of the screen 403. For example, the electronic device 101 can display the image object 440 at a lower portion of the relative left side portion of the screen 403 in the desktop state.
[0101] In an embodiment, the electronic device 101 can output a designated color instead of the screen 403 through a portion of the display area 411 in the desktop state. In an embodiment, the electronic device 101 can output a designated color instead of the screen 403 through a portion of a corner of the display area 411 adjacent to the notch area 415. For example, the electronic device 101 can output a designated color instead of the screen 403 through the portion so that the corner of the display area 411 adjacent to the notch area 415 appears to have the same curvature as the other corners of the display 420. For example, the electronic device 101 can output a designated color through a portion of a corner of the display area 411 so that the corner of the display area 411 adjacent to the notch area 415 appears to be a rounded corner while maintaining the desktop state.
[0102] Figure 4c Examples of the screen 405 and the screen 406 displayed on the second display 235 according to a state of the electronic device 101 are illustrated.
[0103] may be described with reference to Figure 1 , Figure 2a , Figure 2b , Figure 2c , Figure 3a , Figure 3b , and Figure 3c . Figure 4c .
[0104] In an embodiment, the electronic device 101 can display a navigation bar including at least three navigation buttons in a portion of the first display 230. For example, the electronic device 101 can display a navigation bar including three navigation buttons for recent, home, and back in a portion of the first display 230.
[0105] Reference can be made to Figure 4cIn another state other than the desktop state, the electronic device 101 can display the screen 405 including the navigation bar 450 in the second direction through the second display 235. In another state other than the desktop state, the electronic device 101 can display the navigation bar 450 on the notch area 415. Here, the navigation bar 450 can include a smaller number of navigation buttons than the navigation bar displayed through the first display 230. For example, the navigation bar 450 can include two navigation buttons for home and back.
[0106] In an embodiment, in the desktop state, the electronic device 101 can display the screen 406 including the navigation bar 450 in the second direction through the second display 235. In the desktop state of the electronic device 101, the electronic device 101 can display the navigation bar 450 on the notch area 415.
[0107] When the screen 405 is compared with the screen 406, the navigation bar 450 can be displayed on the notch area 415. When the screen 406 rotated from the screen 405 is displayed on the second display 235, the navigation bar 450 of the screen 406 rotated from the navigation bar 450 of the screen 405 can be displayed on the notch area 415. Accordingly, when a user looks at the screen 405 or the screen 406, the user can recognize that the arrangement of the two navigation buttons is the same. For example, on the screen 405 or the screen 406, the navigation button for home can be located to the left of the navigation button for back.
[0108] Figure 4d An example of the screen 405 and the screen 406 displayed on the second display 235 according to the state of the electronic device 101 is illustrated.
[0109] may be described with reference to Figure 1 , Figure 2a , Figure 2b , Figure 2c , Figure 3a , Figure 3b and Figure 3c . Figure 4d .
[0110] With reference to Figure 4d , in another state other than the desktop state, the electronic device 101 can display the screen 407 including the image object 461 for a prompt and the image object 465 in the second direction through the second display 235. In another state other than the desktop state of the electronic device 101, the electronic device 101 can display the image object 461 for a prompt and the image object 465 on the notch area 415. Here, the image object 461 for a prompt and the image object 465 can be two image objects for a prompt for home and back.
[0111] In an embodiment, in the desktop state, the electronic device 101 can change the display positions of the image objects 461 and 465 for prompt. In an embodiment, in the desktop state, the electronic device 101 can display the image objects 461 and 465 for prompt on the lower side of the relative center portion 437.
[0112] Comparing the screens 407 and 408, in another state other than the desktop state, the image objects 461 and 465 for prompt are displayed on the notch area 415, whereas in the desktop state, the image objects 461 and 465 for prompt can be displayed in an area other than the notch area 415. The positional relationship of the image objects 461 and 465 of the screen 407 can be the same as that of the image objects 461 and 465 of the screen 408. For example, on the screen 407, the image object 461 can be located on the left side of the image object 465, and on the screen 408, the image object 461 can be located on the left side of the image object 465. Thus, when looking at the screens 407 and 408, the user can recognize that the arrangement of the image objects 461 and 465 is the same.
[0113] Figure 4e Examples of screens 401 and 402 displayed on the second display 235 according to the state of the electronic device 101 are shown.
[0114] may be described with reference to Figure 1 , Figure 2a , Figure 2b , Figure 2c , Figure 3a , Figure 3b , Figure 3c and Figure 4a . Figure 4e .
[0115] Figure 4e Examples of changing the display position of the image object 420 for prompt in the desktop state compared to Figure 4a may be shown. For example, with reference to Figure 4e , in the desktop state, the image object 425 for prompt can be displayed on the lower side of the relative center portion 437.
[0116] In an embodiment, the electronic device 101 can change the display location of the image object 420 for the prompt while maintaining the desktop state. In an embodiment, the electronic device 101 can change the display location of the image object 420 for the prompt while displaying the screen 402 in the first direction through the display area 411 of the second display 235. In an embodiment, the electronic device 101 can display the image object 425 for the prompt on the lower side of the relative center portion 437 while displaying the screen 402 in the first direction through the display area 411 of the second display 235. For example, the image object 425 can be an object for notifying the user that another function designated by the image object 425 can be executed.
[0117] In an embodiment, in response to the swipe input 435 to the image object 425, the electronic device 101 can change the screen 402 to another screen (e.g., a home screen and a previous screen).
[0118] Figure 5a An example in which screens 501, 503, 505, and 507 displayed on the second display 235 in a direction aligned with the electronic device 101 is shown.
[0119] may be described with reference to Figure 1 , Figure 2a , Figure 2b , Figure 2c , Figure 3a , Figure 3b , and Figure 3c . Figure 5a .
[0120] Figure 5a A case in which the camera application operates in the foreground through the second display 235 in a folded state (e.g., Figure 2b ) or an intermediate state (e.g., Figure 2c ) can be exemplified.
[0121] Referring to Figure 5a , in a first state in which the hinge structure 260 of the electronic device 101 is farther from the ground than the first housing 210, the electronic device 101 can display the screen 501 of the camera application in a normal state. In an embodiment, in a second state in which the electronic device 101 is rotated counterclockwise by 90° from the first state, the electronic device 101 can display the screen 503 of the camera application in a state rotated by 90° from the normal state. In an embodiment, in a third state in which the electronic device 101 is rotated counterclockwise by 90° from the second state, the electronic device 101 can display the screen 505 of the camera application in a state rotated by 90° from the normal state. In an embodiment, in a fourth state in which the electronic device 101 is rotated counterclockwise by 90° from the third state, the electronic device 101 can display the screen 507 of the camera application in a state rotated by 90° from the normal state.
[0122] In an embodiment, referring to screens 501, 503, 505, and 507 in different states, a portion of the image object can be displayed in a fixed location regardless of the rotation of the electronic device 101. For example, the navigation bar 510 can be displayed on the notch area 415 regardless of the rotation of the electronic device 101. However, the embodiment is not limited thereto.
[0123] In an embodiment, referring to screens 501, 503, 505, and 507 in different states, a portion of the image object 520, the image object 530, and the image object 540 can be displayed in a location that moves according to the rotation of the electronic device 101. For example, the image object 520 indicating a photographing mode can be displayed in a region adjacent to the ground of the screens 501, 503, 505, and 507 according to the rotation of the electronic device 101. For example, the image object 530 indicating a thumbnail of an image stored in a gallery can be displayed in a right region of a region in which the image object 520 is displayed on the screens 501, 503, 505, and 507 according to the rotation of the electronic device 101. For example, the image object 540 of a menu can be displayed in a region of the upper portion of the right portion of the screens 501, 503, 505, and 507 according to the rotation of the electronic device 101. However, the embodiment is not limited thereto.
[0124] Figure 5b An example of screens 502, 504, 506, and 508 displayed in a direction aligned with the electronic device 101 on the second display 235 is illustrated.
[0125] may be described with reference to Figure 1 , Figure 2a , Figure 2b , Figure 2c , Figure 3a , Figure 3b , Figure 3c and Figure 5a . Figure 5b .
[0126] In comparison with the screens 501, 503, 505, and 507 of Figure 5a , the screens 502, 504, 506, and 508 of Figure 5b may further display an image object 550 for a prompt. For example, the image object 550 can be an object for notifying a user that a specified function (e.g., payment, return, home movement) can be performed through the image object 550.
[0127] With reference to Figure 5bIn a first state in which the hinge structure 260 of the electronic device 101 is farther from the ground than the first housing 210, the electronic device 101 can display a screen 502 of a camera application in a normal state. In an embodiment, in a second state in which the electronic device 101 is rotated counterclockwise by 90° from the first state, the electronic device 101 can display a screen 504 of the camera application in a state rotated by 90° from the normal state. In an embodiment, in a third state in which the electronic device 101 is rotated counterclockwise by 90° from the second state, the electronic device 101 can display a screen 506 of the camera application in a state rotated by 90° from the normal state. In an embodiment, in a fourth state in which the electronic device 101 is rotated counterclockwise by 90° from the third state, the electronic device 101 can display a screen 508 of the camera application in a state rotated by 90° from the normal state.
[0128] In an embodiment, referring to the screens 502, 504, 506, and 508 in different states, a part of an image object can be displayed in a fixed location regardless of the rotation of the electronic device 101. For example, a navigation bar 510 can be displayed on the notch area 415 regardless of the rotation of the electronic device 101. However, the embodiment is not limited thereto.
[0129] In an embodiment, referring to the screens 502, 504, 506, and 508 in different states, a part of an image object 520, an image object 530, an image object 540, and an image object 550 can be displayed in a location that moves according to the rotation of the electronic device 101. For example, according to the rotation of the electronic device 101, an image object 520 indicating a shooting mode can be displayed in an area adjacent to the ground of the screens 502, 504, 506, and 508. For example, according to the rotation of the electronic device 101, an image object 530 indicating a thumbnail of an image stored in a gallery can be displayed in a right area of an area in which the image object 520 is displayed on the screens 502, 504, 506, and 508. For example, according to the rotation of the electronic device 101, an image object 540 of a menu can be displayed in an area of an upper portion of a right portion of the screens 502, 504, 506, and 508. However, the embodiment is not limited thereto.
[0130] For example, according to the rotation of the electronic device 101, the image object 550 for the prompt can be displayed in a region adjacent to the ground of the screen 502, the screen 504, the screen 506, and the screen 508. For example, in the first state, the image object 550 for the prompt can be displayed in the notch region 415 while the screen 502 is displayed. For example, in the second state, the third state, or the fourth state, the image object 550 for the prompt can be displayed around the center portion of the side adjacent to the ground other than the notch region 415 while one of the screens 504, 506, and 508 is displayed.
[0131] Figure 6 Refers to a flowchart indicating operations performed by the electronic device 101 according to an embodiment.
[0132] Referring to Figure 1 , Figure 2a , Figure 2b , Figure 2c , Figure 3a , Figure 3b , Figure 3c , Figure 4a , Figure 4b , Figure 4c and Figure 5a , the operations of the electronic device 101 according to an embodiment can be described. Figure 6
[0133] Referring to Figure 6 , in operation 610, the screen 301 can be displayed in the second direction. In an embodiment, the electronic device 101 can display the screen 301 in the second direction in another state other than the desktop state. In an embodiment, in response to being recognized as the folded state 310 based on data obtained through the sensor module 176, the electronic device 101 can display the screen 301 in the second direction on the second display 235.
[0134] In an embodiment, in the folded state 311 in which the electronic device 101 is perpendicular to the ground and the hinge structure 260 faces a direction opposite to the ground (or upward), the electronic device 101 can display the screen 301 in the second direction. In the folded state 315 in which the electronic device 101 is perpendicular to the ground and the hinge structure 260 faces the ground direction (or downward), the electronic device 101 can display the screen 301 in the second direction.
[0135] In an embodiment, when the angle between the first housing 210 and the second housing 220 is less than (e.g., less than 20°) a specified angle range in the intermediate state 320, the electronic device 101 can display the screen 301 in the second direction on the second display 235.
[0136] In an embodiment, in case the electronic device 101 is in the intermediate state 320 and the second surface 212 is not substantially horizontal to the ground, the electronic device 101 can display the screen 301 on the second display 235 in the second direction. For example, in case the electronic device 101 is in the intermediate state 320 and the second surface 212 is substantially perpendicular to the ground, the electronic device 101 can display the screen 301 on the second display 235 in the second direction in the intermediate state 320.
[0137] In an embodiment, in case the first surface 211 is closer to the ground than the second surface 212, the electronic device 101 can display the screen 301 on the second display 235 in the second direction.
[0138] In operation 620, the electronic device 101 can identify the desktop state.
[0139] In an embodiment, the electronic device 101 can identify the posture of the electronic device 101. For example, the electronic device 101 can obtain data (or data based on a 6-axis sensor) indicating the degree of horizontality of the electronic device 101 through the sensor module 176. For example, based on the data indicating the degree of horizontality of the electronic device 101, the electronic device 101 can identify the posture of the electronic device 101. For example, the electronic device 101 can obtain data indicating the degree of folding of the electronic device 101 through the sensor module 176. For example, based on the data indicating the degree of folding of the electronic device 101, the electronic device 101 can identify the posture of the electronic device 101.
[0140] In an embodiment, based on data related to the posture of the electronic device 101 through the sensor module 176, the electronic device 101 can identify the degree of folding of the electronic device 101 and / or the degree of horizontality of the electronic device 101. For example, based on the data obtained through the sensor module 176, the electronic device 101 can identify the desktop state of the electronic device 101.
[0141] In operation 630, the electronic device 101 can display the screen 302 in the first direction.
[0142] In an embodiment, the electronic device 101 can display the screen 302 on the second display 235 in the first direction in the desktop state. In an embodiment, in response to being identified as the desktop state based on the data, the electronic device 101 can display the screen 302 on the second display 235 in the first direction.
[0143] As described above, by outputting the screen in the rotated state only in a specific posture, the electronic device 101 can provide an advantage that can allow a user to use the electronic device 101 in the intermediate state 320 after the electronic device 101 in the intermediate state 320 is placed on a table. In addition, by outputting the screen in the rotated state only in a specific posture, inconvenience of the screen being rotated against the user's intention can be reduced when the user uses the electronic device 101.
[0144] Figure 7a Refers to a flowchart indicating operations performed by the electronic device 101 according to an embodiment. Figure 7b An example of a folded state, an intermediate state, and an unfolded state of an electronic device according to an embodiment is illustrated.
[0145] may be described with reference to Figure 1 , Figure 2a , Figure 2b , Figure 2c , Figure 3a , Figure 3b , Figure 3c , Figure 4a , Figure 4b , Figure 4c and Figure 5a . Figure 7a and Figure 7b may be described with reference to
[0146] Figure 7a Operation 630 of Figure 6 may correspond to operation 630 of
[0147] With reference to Figure 7a , in operation 630, the electronic device 101 can display a screen in a first direction.
[0148] In an embodiment, the electronic device 101 can display the screen 302 in the first direction on the second display 235 in a desktop state. In an embodiment, in response to being identified as a desktop state based on data, the electronic device 101 can display the screen 302 in the first direction on the second display 235.
[0149] In operation 710, the electronic device 101 can change a setting of a function of a button.
[0150] According to an embodiment, the electronic device 101 can change functions assigned to the buttons while displaying a screen in a first direction on the second display 235. For example, the electronic device 101 can change functions assigned to at least two physical buttons located on a side surface (or a third surface 213) of the first housing 210 of the electronic device 101 while displaying a screen in a first direction on the second display 235. For example, the electronic device 101 can change functions assigned to at least two physical buttons located on a side surface (or a third surface 213) of the first housing 210 of the electronic device 101 in a desktop state.
[0151] For example, the electronic device 101 can assign a first function to a first button among the at least two physical buttons and assign a second function opposite to the first function to a second button among the at least two physical buttons while maintaining the desktop state. For example, the first button can be located farther from the hinge structure 260 than the second button. In an embodiment, the electronic device 101 can assign a volume up function to the first button and assign a volume down function opposite to the volume up function to the second button in another state other than the desktop state. In an embodiment, the electronic device 101 can assign a volume down function to the first button and assign a volume up function to the second button in the desktop state. However, the present disclosure is not limited thereto.
[0152] Referring to Figure 7b In the folded state 701 in which the housing angle is substantially 0°, a second function (e.g., a volume down function) can be assigned to the first button 721 and a first function (e.g., a volume up function) can be assigned to the second button 725. In an embodiment, in the desktop state 703 in which the housing angle 730 is 20° to 80°, the first function (e.g., a volume up function) can be assigned to the first button 721 and the second function (e.g., a volume down function) can be assigned to the second button 725. In addition, in the bent mode state 705 in which the housing angle 730 exceeds 80°, the first function (e.g., a volume up function) can be assigned to the first button 721 and the second function (e.g., a volume down function) can be assigned to the second button 725. Finally, in the unfolded state 707 in which the housing angle 730 is substantially 180°, the first function (e.g., a volume up function) can be assigned to the first button 721 and the second function (e.g., a volume down function) can be assigned to the second button 725.
[0153] As described above, the electronic device 101 can help the user to intuitively manipulate the buttons by changing functions assigned to the physical buttons from each other while outputting a screen in a rotated state.
[0154] Figure 8 is a flowchart indicating operations performed by the electronic device 101 according to an embodiment.
[0155] may be described with reference to Figure 1 , Figure 2a , Figure 2b , Figure 2c , Figure 3a , Figure 3b , Figure 3c , Figure 4a , Figure 4b , Figure 4c and Figure 5a . Figure 8 .
[0156] Figure 8 Operation 630 of FIG. 6A can correspond to operation 630 of FIG. 6B. Figure 6 Referring to
[0157] , in operation 630, the electronic device 101 can display the screen 301 in the first direction on the second display 235 in the desktop state. Figure 8 In an embodiment, the electronic device 101 can display the screen 302 in the first direction on the second display 235 in the desktop state. In an embodiment, in response to the data being identified as the desktop state, the electronic device 101 can display the screen 302 in the first direction on the second display 235.
[0158] In operation 810, the electronic device 101 can identify whether the housing angle exceeds a designated angle range (e.g., 20° to 80°).
[0159] In an embodiment, the electronic device 101 can obtain data indicating the degree of folding of the electronic device 101 through the sensor module 176. In an embodiment, based on the data indicating the degree of folding of the electronic device 101, the electronic device 101 can identify the housing angle of the electronic device 101. In an embodiment, the electronic device 101 can identify whether the housing angle between the first housing 210 and the second housing 220 exceeds a designated angle range (e.g., 20° to 80°).
[0160] In operation 810, in the case where the housing angle exceeds the designated angle range (e.g., 20° to 80°), the electronic device 101 can perform operation 820. In operation 810, in the case where the housing angle does not exceed the designated angle range (e.g., 20° to 80°), the electronic device 101 can perform operation 830.
[0161] In operation 820, the electronic device 101 can turn off the second display 235. The electronic device 101 can turn off the second display 235 and turn on the first display 230. In an embodiment, the electronic device 101 can display a screen on the first display 230 rather than on the second display 235.
[0162]
[0163] In operation 830, electronic device 101 can identify whether the housing angle is less than a specified angle range (e.g., 20° to 80°). In an embodiment, electronic device 101 can obtain data indicating the degree of folding of electronic device 101 via sensor module 176. In an embodiment, based on the data indicating the degree of folding of electronic device 101, electronic device 101 can identify the housing angle of electronic device 101. In an embodiment, electronic device 101 can identify whether the housing angle between the first housing 210 and the second housing 220 is less than a specified angle range (e.g., 20° to 80°).
[0164] In operation 830, if the housing angle exceeds a specified angle range (e.g., 20° to 80°), the electronic device 101 can perform operation 840. In operation 830, if the housing angle is not less than a specified angle range (e.g., 20° to 80°), the electronic device 101 can perform operation 850.
[0165] In operation 840, electronic device 101 can display screen 301 in a second direction. In an embodiment, electronic device 101 can display screen 302 on second display 235 in a second direction when the housing angle is less than a specified angle range. In an embodiment, in response to recognizing that the housing angle is less than a specified angle range, electronic device 101 can display screen 302 on second display 235 in a second direction.
[0166] In operation 850, electronic device 101 can display screen 302 in a first direction. In an embodiment, electronic device 101 can display screen 302 on a second display 235 in the first direction while the housing angle is within a specified angle range. In an embodiment, in response to recognizing that the housing angle is within the specified angle range, electronic device 101 can display screen 302 on the second display 235 in the first direction.
[0167] Figure 9 It is a flowchart indicating the operations performed by the electronic device 101 according to the embodiment.
[0168] For reference Figure 1 , Figure 2a , Figure 2b , Figure 2c , Figure 3a , Figure 3b , Figure 3c , Figure 4a , Figure 4b , Figure 4c and Figure 5a To describe Figure 9 .
[0169] Figure 9 Operation 620 can be combined with Figure 6 The operation 620 corresponds to this.Figure 9 Operations 910, 920, and 930 may be included Figure 6 In operation 630.
[0170] Reference Figure 9 During operation 620, electronic device 101 can recognize the desktop status.
[0171] In this embodiment, the electronic device 101 can recognize its posture. For example, the electronic device 101 can obtain data (or data based on a 6-axis sensor) indicating the horizontal level of the electronic device 101 via the sensor module 176. For example, based on the data indicating the horizontal level of the electronic device 101, the electronic device 101 can recognize its posture. For example, the electronic device 101 can obtain data indicating the degree of folding of the electronic device 101 via the sensor module 176. For example, based on the data indicating the degree of folding of the electronic device 101, the electronic device 101 can recognize its posture.
[0172] In this embodiment, based on posture-related data obtained via sensor module 176, electronic device 101 can identify the degree of folding and / or the degree of horizontality of electronic device 101. For example, based on data obtained via sensor module 176, electronic device 101 can identify its desktop state.
[0173] In operation 910, electronic device 101 can determine whether functions associated with previously displayed image object 420, image object 440, or image object 450 are supported in the first direction. Electronic device 101 can also determine whether functions associated with image object 420, image object 440, or image object 450 included in a screen displayed in the second direction are supported in desktop mode.
[0174] For example, if the function associated with image object 420 is set to be supported only in a state other than desktop state, electronic device 101 can determine that the function associated with previously displayed image object 420 is not supported in the first direction.
[0175] For example, if the functions associated with image object 440 or image object 450 are set to be supported even in desktop mode, electronic device 101 can determine that the functions associated with the previously displayed image object 440 or image object 450 are supported in the first direction.
[0176] In operation 910, in case that a function related to the image object 440 or the image object 450 is supported in the first direction, the electronic device 101 can perform operation 920. In operation 910, in case that a function related to the image object 420 is not supported in the first direction, the electronic device 101 can perform operation 930.
[0177] In operation 920, the electronic device 101 can display the screens 404 and 406 including the image object 440 or the image object 450 in the first direction. In an embodiment, the image object 440 can be a capsule or an ongoing activity. In an embodiment, the image object 450 can be a navigation bar.
[0178] In operation 930, the electronic device 101 can display the screen 402 not including the image object 420 in the first direction. For example, the image object 420 can be an object for notifying a user that a specified function (e.g., payment) can be performed through the image object 420.
[0179] Figure 10 is a flowchart indicating operations performed by the electronic device 101 according to an embodiment.
[0180] may be described with reference to Figure 1 , Figure 2a , Figure 2b , Figure 2c , Figure 3a , Figure 3b , Figure 3c , Figure 4a , Figure 4b , Figure 4c , and Figure 5a . Figure 10 .
[0181] Figure 10 Operation 630 of Figure 6 corresponds to operation 630 of
[0182] With reference to Figure 10 , in operation 630, the electronic device 101 can display a screen in the first direction.
[0183] In an embodiment, the electronic device 101 can display the screen 302 in the first direction on the second display 235 in a desktop state. In an embodiment, in response to being identified as a desktop state based on data, the electronic device 101 can display the screen 302 in the first direction on the second display 235.
[0184] The electronic device 101 can identify whether power is obtained from the external electronic device 102 at operation 1010. In an embodiment, the electronic device 101 can identify whether power is obtained through the power management module 188. In an embodiment, the electronic device 101 can identify whether wired and / or wireless power from the external electronic device 102 is obtained through the power management module 188.
[0185] The electronic device 101 can perform operation 1020 in a case where power is obtained from the external electronic device 102 at operation 1010. The electronic device 101 can perform operation 1030 in a case where power is not obtained from the external electronic device 102 at operation 1010.
[0186] The electronic device 101 can maintain the screen 302 displayed in the first direction at operation 1020. For example, the electronic device 101 can maintain the display of the screen 302 even after a set time (e.g., 30 seconds) designated by the screen 302 is displayed on the second display 235. Here, the set time designated can be a time for switching to a low power mode (or Always On Display (AoD)).
[0187] The electronic device 101 can change the screen 302 displayed in the first direction at operation 1030. For example, the electronic device 101 can change the screen 302 to another screen after a set time designated by the screen 302 is displayed on the second display 235. For example, the electronic device 101 can display a screen set according to a low power mode (or AoD) on the second display 235. Here, the screen set according to the low power mode (or AoD) can include time information.
[0188] Figure 11 is a flowchart indicating operations performed by an electronic device according to an embodiment.
[0189] may be described with reference to Figure 1 , Figure 2a , Figure 2b , Figure 2c , Figure 3a , Figure 3b , Figure 3c , Figure 4a , Figure 4b , Figure 4c , Figure 5a , Figure 6 and Figure 8 . Figure 11 .
[0190] Figure 11 Operation 630 of Figure 6 may correspond to operation 630 of Figure 11 Figure 8 The operations 810, 820, 830, 840, and 850 of the electronic device 101 correspond, respectively.
[0191] Referring to Figure 11 At operation 630, the electronic device 101 can display the screen 301 in the first direction on the second display 235 in the desktop state.
[0192] In an embodiment, the electronic device 101 can display the screen 302 in the first direction on the second display 235 in the desktop state. In an embodiment, in response to the data being identified as the desktop state, the electronic device 101 can display the screen 302 in the first direction on the second display 235.
[0193] At operation 810, the electronic device 101 can identify whether the housing angle exceeds a designated angle range (e.g., 20° to 80°).
[0194] At operation 810, in the case where the housing angle exceeds the designated angle range (e.g., 20° to 80°), the electronic device 101 can perform operation 820. At operation 810, in the case where the housing angle does not exceed the designated angle range (e.g., 20° to 80°), the electronic device 101 can perform operation 830.
[0195] At operation 820, the electronic device 101 can turn off the second display 235. The electronic device 101 can turn off the second display 235 and turn on the first display 230. In an embodiment, the electronic device 101 can display a screen on the first display 230, not on the second display 235.
[0196] At operation 830, the electronic device 101 can identify whether the housing angle is less than a designated angle range. In an embodiment, the electronic device 101 can obtain data indicating the degree of folding of the electronic device 101 through the sensor module 176. In an embodiment, based on the data indicating the degree of folding of the electronic device 101, the electronic device 101 can identify the housing angle of the electronic device 101. In an embodiment, the electronic device 101 can identify whether the housing angle between the first housing 210 and the second housing 220 is less than a designated angle range (e.g., 20° to 80°).
[0197] At operation 830, in the case where the housing angle exceeds the designated angle range (e.g., 20° to 80°), the electronic device 101 can perform operation 840. At operation 830, in the case where the housing angle is not less than the designated angle range (e.g., 20° to 80°), the electronic device 101 can perform operation 850.
[0198] The electronic device 101 can display the screen 301 in the second direction at operation 840. In an embodiment, the electronic device 101 can display the screen 302 in the second direction on the second display 235 in a state in which the housing angle is less than the designated angle range. In an embodiment, in response to identifying that the housing angle is less than the designated angle range, the electronic device 101 can display the screen 302 in the second direction on the second display 235.
[0199] The electronic device 101 can display the screen 302 in the first direction at operation 850. In an embodiment, the electronic device 101 can display the screen 302 in the first direction on the second display 235 in a state in which the housing angle is within the designated angle range. In an embodiment, in response to identifying that the housing angle is within the designated angle range, the electronic device 101 can display the screen 302 in the first direction on the second display 235.
[0200] The electronic device 101 can determine whether a button input of a user is identified at operation 1110. In an embodiment, when the screen is displayed in the first direction on the second display 235, the electronic device 101 can determine whether an input to at least one button of two physical buttons located on a side surface (or a third surface 213) of the first housing 210 is identified.
[0201] In an embodiment, the electronic device 101 can determine whether an input to a physical button including a fingerprint sensor of at least two physical buttons located on a side surface (or a third surface 213) of the first housing 210 is identified while the screen is displayed in the first direction on the second display 235.
[0202] The electronic device 101 can perform operation 1120 in a case in which the button input of the user is identified at operation 1110. The electronic device 101 can perform operation 850 again in a case in which the button input of the user is not identified at operation 1110.
[0203] The electronic device 101 can display an always-on display (AoD) screen on the second display 235 at operation 1120. In an embodiment, the electronic device 101 can switch the screen 302 displayed in the first direction to the AoD screen. In an embodiment, the electronic device 101 can display the AoD screen on the second display 235 by changing an AoD-related setting in a case in which the button input of the user is identified. In an embodiment, the AoD-related setting can include tap display, always-on display, schedule display, and display for new notifications.
[0204] In an embodiment, tap display can be a setting for displaying an AoD screen based on a tap input in a state in which the second display 235 is turned off. In an embodiment, always display can be a setting for always displaying an AoD screen in a desktop state (or in a folded state). In an embodiment, schedule display can be a setting for displaying an AoD screen according to a designated schedule in a state in which the second display 235 is turned off.
[0205] In an embodiment, in a case in which a button input of the user is identified, the electronic device 101 can display an AoD screen on the second display 235 by changing a setting related to the AoD to "always display."
[0206] Figure 12 is a flowchart indicating operations performed by the electronic device 101 according to an embodiment.
[0207] may be described with reference to Figure 1 , Figure 2a , Figure 2b , Figure 2c , Figure 3a , Figure 3b , Figure 3c , Figure 4a , Figure 4b , Figure 4c , Figure 5a , Figure 6 , Figure 8 , and Figure 10 . Figure 12 .
[0208] Figure 12 Operation 630 of Figure 6 may correspond to operation 630 of
[0209] With reference to Figure 12 , the electronic device 101 can display a screen in a first direction at operation 630.
[0210] In an embodiment, the electronic device 101 can display a screen 302 in a first direction on the second display 235 in a desktop state. In an embodiment, in response to data being identified as a desktop state based, the electronic device 101 can display a screen 302 in a first direction on the second display 235.
[0211] The electronic device 101 can identify whether power is obtained from the external electronic device 102 at operation 1210. In an embodiment, the electronic device 101 can identify whether power is obtained through the power management module 188. In an embodiment, the electronic device 101 can identify whether wired and / or wireless power from the external electronic device 102 is obtained through the power management module 188.
[0212] In operation 1010, the electronic device 101 can perform operation 1220 in a case where power is obtained from the external electronic device 102. In operation 1210, the electronic device 101 can perform operation 1230 in a case where power is not obtained from the external electronic device 102.
[0213] In operation 1210, the electronic device 101 can display an always-on display (AoD) screen on the second display 235.
[0214] In operation 1030, the electronic device 101 can change the screen 302 displayed in the first direction. For example, the electronic device 101 can change the screen 302 to another screen on the second display 235 after a set time designated by the screen 302. For example, the electronic device 101 can display a screen set according to a low-power mode (or AoD) on the second display 235. Here, the screen set according to the low-power mode (or AoD) can include time information.
[0215] Figure 13 is a flowchart indicating operations performed by an electronic device according to an embodiment.
[0216] may be described with reference to Figure 1 , Figure 2a , Figure 2b , Figure 2c , Figure 3a , Figure 3b , Figure 3c , Figure 4a , Figure 4b , Figure 4c , Figure 5a , Figure 6 , Figure 8 and Figure 11 . Figure 13 .
[0217] Figure 13 Operation 630 of Figure 6 may correspond to operation 630 of Figure 13 . Operation 810, operation 820, operation 830, and operation 840 of Figure 8 may correspond to operation 810, operation 820, operation 830, and operation 840 of
[0218] With reference to Figure 13 , in operation 630, the electronic device 101 can display a screen 301 in a first direction.
[0219] In an embodiment, the electronic device 101 can display a screen 302 in a first direction on the second display 235 in a desktop state. In an embodiment, in response to data being identified based on the data being a desktop state, the electronic device 101 can display a screen 302 in a first direction on the second display 235.
[0220] The electronic device 101 can identify whether the housing angle exceeds a designated angle range (e.g., 20° to 80°) at operation 810.
[0221] The electronic device 101 can perform operation 820 in the case where the housing angle exceeds the designated angle range (e.g., 20° to 80°) at operation 810. The electronic device 101 can perform operation 830 in the case where the housing angle does not exceed the designated angle range (e.g., 20° to 80°) at operation 810.
[0222] The electronic device 101 can turn off the second display 235 at operation 820. The electronic device 101 can turn off the second display 235 and turn on the first display 230. In an embodiment, the electronic device 101 can display a screen on the first display 230 rather than on the second display 235.
[0223] The electronic device 101 can identify whether the housing angle is less than a designated angle range at operation 830. In an embodiment, the electronic device 101 can obtain data indicating the degree of folding of the electronic device 101 through the sensor module 176. In an embodiment, based on the data indicating the degree of folding of the electronic device 101, the electronic device 101 can identify the housing angle of the electronic device 101. In an embodiment, the electronic device 101 can identify whether the housing angle between the first housing 210 and the second housing 220 is less than a designated angle range (e.g., 20° to 80°).
[0224] The electronic device 101 can perform operation 840 in the case where the housing angle exceeds the designated angle range (e.g., 20° to 80°) at operation 830. The electronic device 101 can perform operation 1310 in the case where the housing angle is not less than the designated angle range (e.g., 20° to 80°) at operation 830.
[0225] The electronic device 101 can display a screen 301 in a second direction at operation 840. In an embodiment, the electronic device 101 can display a screen 302 in a second direction on the second display 235 in a state where the housing angle is less than the designated angle range. In an embodiment, the electronic device 101 can display a screen 302 in a second direction on the second display 235 in response to identifying that the housing angle is less than the designated angle range.
[0226] In operation 1310, the electronic device 101 can determine whether a button input of the user is recognized. In an embodiment, in the case where the second display 235 is turned off, the electronic device 101 can determine whether an input to at least one button of two physical buttons located on a side surface (or a third surface 213) of the first housing 210 is recognized. In an embodiment, the second display 235 can be turned off after the screen 302 is displayed for a designated setting time (e.g., 30 seconds).
[0227] In an embodiment, in the case where the second display 235 is turned off, the electronic device 101 can determine whether an input to a physical button including a fingerprint sensor of at least two physical buttons located on a side surface (or a third surface 213) of the first housing 210 is recognized.
[0228] In operation 1310, in the case where the button input of the user is recognized, the electronic device 101 can perform operation 1320. In operation 1310, in the case where the button input of the user is recognized, the electronic device 101 can perform operation 1310 again.
[0229] In operation 1320, the electronic device 101 can display the screen 302 displayed in the first direction. For example, the electronic device 101 can display the screen 302 on the second display 235 for a designated setting time. The electronic device 101 can turn off the second display 235 after displaying an AOD screen on the second display 235 for a designated setting time (e.g., 30 seconds).
[0230] As described above, the electronic device 101 can include a housing including a first housing portion 210 and a second housing portion 220, wherein the second housing portion 220 is movably disposed between a folded state and an unfolded state with respect to the first housing portion 210. The electronic device 101 can include a flexible display 230, wherein at least a portion of the flexible display 230 is bendable according to relative movement of the second housing portion 220 with respect to the first housing portion 210. The electronic device 101 can include a sub display 235, wherein the sub display 235 is included on a second surface opposite a first surface of the first housing portion 210 including the flexible display 230. The electronic device 101 can include a sensor 176 to obtain data indicating a degree of horizontality of the electronic device 101. The electronic device 101 can include at least one processor 120 including processing circuitry. The electronic device 101 can include a memory 130 storing instructions. The instructions, when executed by the at least one processor 120 individually or collectively, can cause the electronic device 101 to identify a posture of the electronic device 101 as a desktop state through the data. In an embodiment, the desktop state can be a state in which the second housing portion 220 is closer to the ground than the first housing portion 210, the second housing portion 220 is disposed to be relatively horizontal with respect to the ground, and an angle of the second housing portion 220 with respect to the first housing portion 210 is within a specified angle range. The instructions, when executed by the at least one processor 120 individually or collectively, can cause the electronic device 101 to display a screen 302 in a first direction through the sub display 235 while maintaining the desktop state. The instructions, when executed by the at least one processor 120 individually or collectively, can cause the electronic device 101 to display a screen 301 in a second direction opposite the first direction through the sub display 235 while the electronic device 101 has another state different from the desktop state.
[0231] In an embodiment, the electronic device 101 can further include a first button and a second button located on a side surface of the first housing portion 210 or the second housing portion 220. The instructions, when executed by the at least one processor 120 individually or collectively, can cause the electronic device 101 to assign a first function to the first button and a second function opposite the first function to the second button while maintaining the desktop state. The instructions, when executed by the at least one processor 120 individually or collectively, can cause the electronic device 101 to assign the second function to the first button and the first function to the second button while the electronic device 101 has another state.
[0232] The instructions, when executed by at least one processor 120 alone or collectively, can cause the electronic device 101 to identify a change in the angle while maintaining the desktop state. The instructions, when executed by at least one processor 120 alone or collectively, can cause the electronic device 101 to turn off the sub display 235 in response to the angle exceeding an upper limit of a designated angle range.
[0233] In an embodiment, in the electronic device 101, the sub display 235 can include a display area 411 having a rectangular shape and a notch area 415 having a rectangular shape adjacent to a side of the display area 411. The instructions, when executed by at least one processor 120 alone or collectively, can cause the electronic device 101 to display the screen 302 in the first direction only in the display area 411 and the display area 411 of the notch area 415 while maintaining the desktop state.
[0234] The instructions, when executed by at least one processor 120 alone or collectively, can cause the electronic device 101 to output a designated color through the notch area 415 instead of displaying the screen 302 through the notch area 415 while maintaining the desktop state.
[0235] The instructions, when executed by at least one processor 120 alone or collectively, can cause the electronic device 101 to output a designated color through a portion of a corner of the display area 411 so that a corner of the display area 411 adjacent to the notch area 415 appears as a rounded corner while maintaining the desktop state.
[0236] The instructions, when executed by at least one processor 120 alone or collectively, can cause the electronic device 101 to display the screen 302 in the second direction through both the display area 411 and the notch area 415 when the electronic device 101 has another state.
[0237] The instructions, when executed by at least one processor 120 alone or collectively, can cause the electronic device 101 to display an image object 440 related to an application being executed in the background on the notch area 415 when the electronic device 101 has another state. The instructions, when executed by at least one processor 120 alone or collectively, can cause the electronic device 101 to display the image object 440 as being located at the lower left of the screen 302 while maintaining the desktop state.
[0238] In an embodiment, in the electronic device 101, the sub display 235 can include a display area 411 having a rectangular shape and a notch area 415 having a rectangular shape adjacent to a side of the display area 411. The instructions, when executed by the at least one processor 120 individually or collectively, can cause the electronic device 101 to display a navigation bar including at least three navigation buttons through the flexible display 230. The instructions, when executed by the at least one processor 120 individually or collectively, can cause the electronic device 101 to display another navigation bar 450 including at least one navigation button on the notch area 415 of the sub display 235, wherein the number of the at least one navigation button is less than the number of the at least three navigation buttons.
[0239] In an embodiment, in the electronic device 101, the sub display 235 can include a display area 411 having a rectangular shape and a notch area 415 having a rectangular shape adjacent to a side and a corner of the display area 411. The instructions, when executed by the at least one processor 120 individually or collectively, can cause the electronic device 101 to display an image object 420 for a prompt on the notch area 415 when the electronic device 101 has another state. The instructions, when executed by the at least one processor 120 individually or collectively, can cause the electronic device 101 to stop displaying the image object 420 for the prompt while maintaining the desktop state.
[0240] The instructions, when executed by the at least one processor 120 individually or collectively, can cause the electronic device 101 to change the screen 401 to another screen related to the image object 420 in response to a swipe input 431 in a specified direction from the image object 420 for the prompt when the electronic device 101 has another state. The instructions, when executed by the at least one processor 120 individually or collectively, can cause the electronic device 101 to change the screen 402 to another screen in response to a swipe input 435 in a specified direction from the lower side of the screen 402 while maintaining the desktop state.
[0241] The instructions, when executed by the at least one processor 120 individually or collectively, can cause the electronic device 101 to identify whether power is obtained from the external electronic device 102 while maintaining the desktop state. The instructions, when executed by the at least one processor 120 individually or collectively, can cause the electronic device 101 to change the screen to a low-power screen after a specified period of displaying the screen 302 in the first direction in response to identifying that the power is not obtained. The instructions, when executed by the at least one processor 120 individually or collectively, can cause the electronic device 101 to display the screen 302 in the first direction for more than the specified period in response to identifying that the power is obtained.
[0242] As described above, a method can be executed by the electronic device 101, wherein the electronic device 101 includes a housing including a first housing portion 210 and a second housing portion 220, wherein the second housing portion 220 is movably disposed between a folded state and an unfolded state with respect to the first housing portion 210, a flexible display 230, wherein at least a portion of the flexible display 230 is bendable according to relative movement of the second housing portion 220 with respect to the first housing portion 210, a sub display 235 included on a second surface opposite a first surface of the first housing portion 210 including the flexible display 230, and a sensor 176 for obtaining data indicating a degree of horizontality of the electronic device 101. The method can include identifying a posture of the electronic device 101 as a desktop state through the data. In an embodiment, the desktop state can be a state in which the second housing portion 220 is closer to the ground than the first housing portion 210 and the second housing portion 220 is disposed to be relatively horizontal with respect to the ground. The method can include displaying a screen in a first direction through the sub display 235 while maintaining the desktop state and an angle of the second housing portion 220 with respect to the first housing portion 210 is within a specified angle range. The method can include displaying a screen in a second direction opposite the first direction through the sub display 235 while the electronic device 101 has another state different from the desktop state or the angle is outside the specified angle range.
[0243] The electronic device 101 can further include a first button and a second button located on a side surface of the first housing portion 210 or the second housing portion 220. The method can include assigning a first function to the first button and a second function opposite the first function to the second button while maintaining the desktop state. The method can include assigning the second function to the first button and the first function to the second button while the electronic device 101 has another state.
[0244] The method can include identifying a change in the angle while maintaining the desktop state. The method can include turning off the sub display 235 in response to the angle exceeding an upper limit of the specified angle range.
[0245] The sub display 235 can include a display area 411 having a rectangular shape and a notch area 415 having a rectangular shape adjacent to a side of the display area 411. The method can include displaying a screen in the first direction only in the display area 411 and the display area 411 of the notch area 415 while maintaining the desktop state.
[0246] The sub display 235 can include a display area 411 having a rectangular shape and a notch area 415 having a rectangular shape adjacent to one side of the display area 411. The method can include displaying a navigation bar 450 including at least three navigation buttons through the flexible display 230. The method can include displaying another navigation bar 450 including at least one navigation button on the notch area 415 of the sub display 235, wherein the number of the at least one navigation button is less than the number of the at least three navigation buttons.
[0247] The sub display 235 can include a display area 411 having a rectangular shape and a notch area 415 having a rectangular shape adjacent to one side and a corner of the display area 411. The method can include displaying an image object for a prompt on the notch area 415 when the electronic device 101 has another state. The method can include stopping displaying the image object for the prompt while maintaining the desktop state.
[0248] The method can include changing the screen to another screen related to the image object in response to a swipe input in a specified direction from the image object for the prompt when the electronic device 101 has another state. The method can include changing the screen to another screen in response to a swipe input in a specified direction from a lower side of the screen while maintaining the desktop state.
[0249] As described above, the non-transitory computer-readable storage medium can store a program including instructions. The instructions, when executed by a processor 120 of an electronic device 101 (wherein the electronic device 101 includes a housing including a first housing portion 210 and a second housing portion 220, wherein the second housing portion 220 is movably disposed between a folded state and an unfolded state with respect to the first housing portion 210, a flexible display 230, wherein at least a portion of the flexible display 230 is bendable according to a relative movement of the second housing portion 220 with respect to the first housing portion 210, a sub display 235 included on a second surface opposite a first surface of the first housing portion 210 including the flexible display 230, and a sensor 176 for obtaining data indicating a degree of horizontality of the electronic device 101), can cause the electronic device 101 to identify a posture of the electronic device 101 as a desktop state through the data. The desktop state can be a state in which the second housing portion 220 is disposed to be relatively horizontal with respect to the ground, closer to the ground than the first housing portion 210. The instructions, when executed by the processor 120, can cause the electronic device 101 to display a screen in a first direction through the sub display 235 while maintaining the desktop state and an angle of the second housing portion 220 with respect to the first housing portion 210 is within a specified angle range. The instructions, when executed by the processor 120, can cause the electronic device 101 to display a screen in a second direction opposite the first direction through the sub display 235 while the electronic device 101 has another state different from the desktop state or the angle is outside the specified angle range.
[0250] An electronic device according to various embodiments can be one of various types of electronic devices. The electronic devices can include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. According to an embodiment of the disclosure, the electronic devices are not limited to those described above.
[0251] It should be understood that various embodiments of the present disclosure and the terms used therein are not intended to limit technically described features to particular embodiments and include various changes, equivalents, or replacements for a corresponding embodiment. With regard to the description of the drawings, like reference numerals can be used to refer to like or similar elements. It is to be understood that the singular forms "a," "an," and "the" include plural referents unless the context clearly dictates otherwise. As used herein, each of the phrases such as "A or B," "at least one of A and B," "at least one of A or B," "A, B, or C," "at least one of A, B, and C," and "at least one of A, B, or C," can include any one of the items enumerated together with all possible combinations of the items. As used herein, the terms "first" and "second" can be used to simply distinguish a corresponding component from another, and does not limit the components in other aspects (e.g., importance or order). It is to be understood that if an element (for example, a first element) is referred to as being "coupled with" or "connected with" another element (for example, a second element), it means that the first element can be directly coupled with the second element or other element, or be coupled with the second element or other element via a third element.
[0252] As used in connection with various embodiments of the present disclosure, the term "module" can include a unit implemented in hardware, software, or firmware, and can interchangeably be used with other terms such as "logic," "logic block," "part," or "circuitry." The module can be a single integral component, or a minimum unit or part for performing one or more functions. For example, according to an embodiment, the module can be implemented in a form of an application-specific integrated circuit (ASIC).
[0253] Various embodiments as set forth herein can be implemented as software (e.g., the program 140) including one or more instructions that are stored in a storage medium (e.g., internal memory 136 or external memory 138) that are readable by a machine (e.g., electronic device 101). For example, a processor (e.g., processor 120) of the machine (e.g., electronic device 101) can invoke at least one of the one or more instructions stored in the storage medium, and execute it, with or without using one or more other components under the control of the processor. This allows the machine to be operated as a special purpose machine to perform at least one function. The one or more instructions can include a code generated by a compiler or a code that forms at least a part of a language as provided in a high-level programming language. The machine-readable storage medium can be provided in the form of a non-transitory storage medium. The term "non-transitory" simply means that the storage medium is a tangible device, and does not include a signal (e.g., an electromagnetic wave). However, the term "non-transitory" does not encompass data that is at least temporarily stored in the storage medium.
[0254] According to the embodiments, a method according to various embodiments of the disclosure can be included and provided in a computer program product. The computer program product can be traded as a product between a seller and a buyer. The computer program product can be distributed in the form of a machine-readable storage medium (e.g., compact disc read only memory (CD-ROM)), or be distributed online via an application store (e.g., PlayStore TM ). If the computer program product is distributed online, at least part of it can be temporarily stored or temporarily generated in a machine-readable storage medium such as a manufacturer's server, an application store's server, or a relay server.
[0255] According to various embodiments, each component (e.g., a module or a program) of the above-described components can include a single entity or multiple entities, and some of the multiple entities can be separately positioned in different components. According to various embodiments, one or more of the above-described components can be omitted, or one or more other components can be added. The components (e.g., a module or a program) can be integrated into a single component according to various embodiments. In such a case, according to various embodiments, the integrated component can still perform one or more functions of each of the plurality of components in the same or similar manner as each component performs its function before the integration. According to various embodiments, operations performed by the module, the program, or another component can be carried out sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations can be executed in a different order or omitted, or one or more other operations can be added.
Claims
1. An electronic device (101), comprising: The housing includes a first housing portion (210) and a second housing portion (220), wherein the second housing portion (220) is movably arranged between a folded state and an unfolded state relative to the first housing portion (210); A flexible display (230), wherein at least a portion of the flexible display (230) is bendable according to the relative movement of the second housing portion (220) relative to the first housing portion (210); The sub-display (235) is included on a second surface opposite to the first surface of the first housing portion (210) that includes the flexible display (230); Sensor (176) is used to obtain data indicating the level of the electronic device (101); At least one processor (120), including processing circuitry; and Memory (130), stores instructions. The instructions, when executed individually or jointly by the at least one processor (120), cause the electronic device (101) to perform the following operations: The posture of the electronic device (101) is identified as a desktop state based on the data, wherein the desktop state is a state in which the second housing portion (220) is closer to the ground than the first housing portion (210), the second housing portion (220) is arranged relatively horizontally relative to the ground, and the angle of the second housing portion (220) relative to the first housing portion (210) is within a specified angle range. While maintaining the desktop state, the screen (302) is displayed in the first direction via the sub-display (235), and When the electronic device (101) has a state different from the desktop state, the screen (302) is displayed in a second direction opposite to the first direction via the sub-display (235).
2. The electronic device (101) as claimed in claim 1, further comprising: The first button and the second button are located on the side surface of the first housing portion (210) or the second housing portion (220). The instructions, when executed individually or jointly by the at least one processor (120), cause the electronic device (101) to perform the following operations: While maintaining the desktop state, a first function is assigned to the first button, and a second function, opposite to the first function, is assigned to the second button. When the electronic device (101) has the other state, the second function is assigned to the first button, and the first function is assigned to the second button.
3. The electronic device (101) as claimed in claim 1. in, When executed individually or jointly by the at least one processor (120), the instructions cause the electronic device (101) to perform the following operations: While maintaining the desktop state, detect changes in the angle, and In response to the angle exceeding the upper limit of the specified angle range, the sub-display (235) is turned off.
4. The electronic device (101) as claimed in claim 1. in, The sub-display (235) includes a rectangular display area (411) and a rectangular notch area (415) adjacent to one side of the display area (411), and The instructions, when executed individually or jointly by the at least one processor (120), cause the electronic device (101) to perform the following operations: While maintaining the desktop state, the screen (302) is displayed in the first direction only in the display area (411) of the display area (411) and the notch area (415).
5. The electronic device (101) as claimed in claim 4. in, When executed individually or jointly by the at least one processor (120), the instructions cause the electronic device (101) to perform the following operations: While maintaining the desktop state, a specified color is output through the notch area (415) instead of displaying the screen (302) through the notch area (415).
6. The electronic device (101) as claimed in claim 5. in, When executed individually or jointly by the at least one processor (120), the instructions cause the electronic device (101) to perform the following operations: While maintaining the desktop state, the specified color is output through a portion of the corner of the display area (411), so that the corner of the display area (411) adjacent to the notch area (415) is rounded.
7. The electronic device (101) as claimed in claim 4. in, When executed individually or jointly by the at least one processor (120), the instructions cause the electronic device (101) to perform the following operations: When the electronic device (101) is in the other state, the screen (302) is displayed in the second direction by both the display area (411) and the notch area (415).
8. The electronic device (101) as claimed in claim 4. in, When executed individually or jointly by the at least one processor (120), the instructions cause the electronic device (101) to perform the following operations: When the electronic device (101) is in the other state, an image object related to the application running in the background is displayed on the notch area (415), and While maintaining the desktop state, the image object is displayed in the lower left corner (302) of the screen.
9. The electronic device (101) as claimed in claim 1. in, The sub-display (235) includes a rectangular display area (411) and a rectangular notch area (415) adjacent to one side of the display area (411), and The instructions, when executed individually or jointly by the at least one processor (120), cause the electronic device (101) to perform the following operations: A navigation bar, including at least three navigation buttons, is displayed via the flexible display (230). Another navigation bar, including at least one navigation button, is displayed on the notched area (415) of the sub-display (235), wherein the number of the at least one navigation button is less than the number of the at least three navigation buttons.
10. The electronic device (101) as claimed in claim 1. in, The sub-display (235) includes a rectangular display area (411) and a rectangular notch area (415) adjacent to one side and a corner of the display area (411), and The instructions, when executed individually or jointly by the at least one processor (120), cause the electronic device (101) to perform the following operations: When the electronic device (101) is in the other state, an image object for prompting is displayed on the notch area (415), and While maintaining the desktop state, stop displaying the image object used for prompts.
11. The electronic device (101) as claimed in claim 10. in, When executed individually or jointly by the at least one processor (120), the instructions cause the electronic device (101) to perform the following operations: When the electronic device (101) is in the other state, in response to a sliding input from the image object (420) used for prompting in a specified direction, the screen (401) is changed to another screen associated with the image object (420) used for prompting, and While maintaining the desktop state, in response to a sliding input from the bottom of the screen (402) in the specified direction, the screen (402) is changed to the other screen.
12. The electronic device (101) as claimed in claim 1. in, When executed individually or jointly by the at least one processor (120), the instructions cause the electronic device (101) to perform the following operations: While maintaining the desktop state, it is determined whether power is being obtained from an external electronic device (102). In response to identifying that no power is being obtained, the screen (302) is displayed in the first direction for a specified period of time, and then the screen (302) is changed to a low-power screen. In response to recognizing that the power has been obtained, the screen (302) is displayed in the first direction for a period of time.
13. A method performed in an electronic device (101), the electronic device (101) comprising: A housing comprising a first housing portion (210) and a second housing portion (220), wherein the second housing portion (220) is movably arranged relative to the first housing portion (210) between a folded state and an unfolded state; a flexible display (230), wherein at least a portion of the flexible display (230) is bendable according to relative movement of the second housing portion (220) relative to the first housing portion (210); a sub-display (235) included on a second surface opposite to a first surface of the first housing portion (210) including the flexible display (230); and a sensor (176) for obtaining data indicating the level of the electronic device (101), the method comprising: The posture of the electronic device (101) is identified as a desktop state based on the data, wherein the desktop state is a state in which the second housing portion (220) is closer to the ground than the first housing portion (210) and the second housing portion (220) is arranged relatively horizontally relative to the ground. While maintaining the desktop state and with the angle of the second housing portion (220) relative to the first housing portion (210) within a specified angle range, the sub-display (235) displays a screen in a first direction, and When the electronic device (101) has a state different from the desktop state, or when the angle is outside the specified angle range, the screen is displayed in a second direction opposite to the first direction by the sub-display (235).
14. The method according to claim 13, in, The electronic device (101) further includes: a first button and a second button, located on the side surface of the first housing portion (210) or the second housing portion (220). The method includes: While maintaining the desktop state, a first function is assigned to the first button, and a second function, opposite to the first function, is assigned to the second button. When the electronic device (101) has the other state, the second function is assigned to the first button, and the first function is assigned to the second button.
15. A non-transitory computer-readable storage medium storing a program including instructions. in, The instructions are configured to cause the electronic device (101) to perform the following operations when executed by a processor (120) of the electronic device (101), wherein the electronic device (101) includes: a housing including a first housing portion (210) and a second housing portion (220), wherein the second housing portion (220) is movably arranged relative to the first housing portion (210) between a folded state and an unfolded state; a flexible display (230), wherein at least a portion of the flexible display (230) is bendable according to the relative movement of the second housing portion (220) relative to the first housing portion (210); a sub-display (235), included on a second surface opposite to a first surface of the first housing portion (210) including the flexible display (230); and a sensor (176) for obtaining data indicating the level of the electronic device (101). The posture of the electronic device (101) is identified as a desktop state based on the data, wherein the desktop state is that the second housing portion (220) is closer to the ground than the first housing portion (210), and the second housing portion (220) is arranged to be relatively horizontal relative to the ground. While maintaining the desktop state and with the angle of the second housing portion (220) relative to the first housing portion (210) within a specified angle range, the sub-display (235) displays a screen in a first direction, and When the electronic device (101) has a state different from the desktop state, or when the angle is outside the specified angle range, the screen is displayed in a second direction opposite to the first direction by the sub-display (235).