Electronic device and operation method thereof
The electronic device addresses the challenge of port location identification by using a processor to detect folding states and user interactions, displaying icons on the foldable display to indicate port positions and connection statuses, thus enhancing usability and connectivity management in foldable devices.
Patent Information
- Application Number
- PCT/KR2024/008020
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-08-25
- Filing Date
- 2024-06-12
- Publication Date
- 2025-02-06
AI Technical Summary
Users face difficulties in identifying and connecting to ports on electronic devices due to their varied locations and configurations, particularly in foldable devices where the port positions change with the device's folding state.
The electronic device employs a processor to check its folding state and detect events such as shortcut key inputs, gestures, tilts, and touch detections, displaying corresponding icons on a foldable display to indicate port positions and connection states.
This solution enhances user interaction by visually indicating port locations and connection statuses on the device's display, improving usability and connectivity management, especially in foldable devices with changing port configurations.
Smart Images

Figure KR2024008020_06022025_PF_FP_ABST
Abstract
Description
Electronic device and method of operation thereof
[0001] Embodiments of the present invention relate to an electronic device and a method of operating the same.
[0002] With the proliferation of peripherals for electronic devices (e.g., mobile phones, tablets, laptops, monitors), connectivity has become a critical issue. Electronic devices can connect to other electronic devices via ports. Users may not be aware of the locations of the ports on their devices.
[0003] According to one embodiment, an electronic device may include a first housing including a first side and a second side facing in a direction opposite to a direction in which the first side faces, a second housing including a third side and a fourth side facing in a direction opposite to a direction in which the third side faces, a hinge disposed between the first housing and the second housing and configured to change a folding state of the electronic device, a foldable display disposed on the first side and the third side, a plurality of ports disposed on a side of the first housing (201) or a side of the second housing, and a processor. The processor may be configured to identify the folding state. The processor may be configured to identify at least one event. The processor may be configured to display, based on the folding state and the at least one event, at least one icon corresponding to at least one port among the plurality of ports in at least one area of the foldable display. The at least one area may correspond to a position of the at least one port among the plurality of ports.
[0004] According to one embodiment, a method of operating an electronic device may include an operation of checking a folding state of the electronic device. The method may include an operation of checking at least one event. The method may include an operation of displaying, based on the folding state and the at least one event, at least one icon corresponding to at least one port among a plurality of ports arranged on a side of a housing of the electronic device, in at least one area of a foldable display of the electronic device. The at least one area may correspond to a position of the at least one port among the plurality of ports.
[0005] According to one embodiment, a computer-readable recording medium storing instructions configured to cause a processor of an electronic device to perform at least one operation may include an operation of checking a folding state of the electronic device. The at least one operation may include an operation of checking at least one event. The at least one operation may include an operation of displaying, on at least one area of a foldable display of the electronic device, at least one icon corresponding to at least one port among a plurality of ports arranged on a side of a housing of the electronic device, based on the folding state and the at least one event. The at least one area may correspond to a position of the at least one port among the plurality of ports.
[0006] According to one embodiment, an electronic device may include a housing, at least one port disposed on a side of the housing, a display disposed on a front of the housing, and a processor. The processor may be configured to identify at least one event from among a first event corresponding to a shortcut key input, a second event corresponding to a gesture input, a third event corresponding to a tilt detection, a fourth event corresponding to a touch detection on the side of the housing, or a fifth event corresponding to a touch detection on a border of the display. The processor may be configured to display at least one icon corresponding to at least one of the at least one port, in at least one area of the display corresponding to a position of the at least one port, based on the at least one event.
[0007] According to one embodiment, a method of operating an electronic device may include an operation of identifying at least one event among a first event corresponding to a shortcut key input, a second event corresponding to a gesture input, a third event corresponding to tilt detection, a fourth event corresponding to touch detection of a side surface of a housing of the electronic device, or a fifth event corresponding to touch detection of a border of a display of the electronic device. The method may include an operation of displaying at least one icon corresponding to at least one of the at least one port, in at least one area of a display of the electronic device corresponding to a location of at least one port of the electronic device, based on the at least one event.
[0008] According to one embodiment, a computer-readable recording medium storing instructions set to cause a processor of an electronic device to perform at least one operation may include an operation of identifying at least one event among a first event corresponding to a shortcut key input, a second event corresponding to a gesture input, a third event corresponding to tilt detection, a fourth event corresponding to a touch detection of a side of a housing of the electronic device, or a fifth event corresponding to a touch detection of a border of a display of the electronic device. The at least one operation may include an operation of displaying at least one icon corresponding to at least one of the at least one port, in at least one area of a display of the electronic device corresponding to a location of at least one port of the electronic device, based on the at least one event.
[0009] FIG. 1 is a block diagram of an electronic device within a network environment, according to one embodiment.
[0010] FIG. 2 is a drawing illustrating the front, side, and back of an electronic device according to one embodiment.
[0011] FIG. 3 is a drawing illustrating a folding state of an electronic device according to one embodiment.
[0012] FIG. 4A is a drawing illustrating an unfolded state of an electronic device according to one embodiment.
[0013] FIG. 4b is a drawing illustrating a folded state of an electronic device according to one embodiment.
[0014] FIG. 5 is a flowchart of a method of operating an electronic device according to one embodiment.
[0015] FIG. 6 is a drawing illustrating the operation of an electronic device according to one embodiment.
[0016] FIG. 7 is a flowchart of a method of operating an electronic device according to one embodiment.
[0017] FIG. 8 is a flowchart of a method of operating an electronic device according to one embodiment.
[0018] FIG. 9 is a flowchart of a method of operating an electronic device according to one embodiment.
[0019] FIG. 10 is a flowchart of a method of operating an electronic device according to one embodiment.
[0020] FIG. 11 is a flowchart of a method of operating an electronic device according to one embodiment.
[0021] FIG. 12 is a flowchart of a method of operating an electronic device according to one embodiment.
[0022] FIG. 13 is a drawing illustrating the operation of an electronic device according to one embodiment.
[0023] FIG. 14 is a drawing illustrating the operation of an electronic device according to one embodiment.
[0024] FIG. 15 is a drawing illustrating the operation of an electronic device according to one embodiment.
[0025] FIG. 16 is a flowchart of a method of operating an electronic device according to one embodiment.
[0026] FIG. 17 is a drawing illustrating the operation of an electronic device according to one embodiment.
[0027] FIG. 18 is a drawing illustrating the operation of an electronic device according to one embodiment.
[0028] FIG. 19 is a drawing illustrating the operation of an electronic device according to one embodiment.
[0029] FIG. 20 is a flowchart of a method of operating an electronic device according to one embodiment.
[0030] FIG. 21 is a flowchart of a method of operating an electronic device according to one embodiment.
[0031] FIG. 22 is a flowchart of a method of operating an electronic device according to one embodiment.
[0032] FIG. 23 is a flowchart of a method of operating an electronic device according to one embodiment.
[0033] FIG. 24 is a drawing illustrating an electronic device according to one embodiment.
[0034] FIG. 1 is a block diagram of an electronic device within a network environment, according to one embodiment.
[0035] Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of an electronic device (104) or a server (108) via a second network (199) (e.g., a long-range wireless communication network). In one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).
[0036] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
[0037] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.
[0038] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).
[0039] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
[0040] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0041] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0042] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.
[0043] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).
[0044] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0045] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
[0046] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0047] The haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0048] The camera module (180) can capture still images and moving images. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
[0049] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
[0050] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0051] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).
[0052] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for realizing 1eMBB, a loss coverage (e.g., 164 dB or less) for realizing mMTC, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for realizing URLLC.
[0053] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas, for example, by the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).
[0054] According to various embodiments, the antenna module (197) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.
[0055] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).
[0056] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
[0057] FIG. 2 is a drawing illustrating the front, side, and back of an electronic device according to one embodiment.
[0058] In one embodiment, the electronic device (200) of FIG. 2 may be the electronic device (101) of FIG. 1 or a device similar to the electronic device (101) of FIG. 1. The electronic device (200) of FIG. 2 may include components that are identical or similar to those of the electronic device (101) of FIG. 1. The operation of the electronic device (200) of FIG. 2 may be understood as the operation of the electronic device (101) of FIG. 1 (e.g., components of the electronic device (101) of FIG. 1). For example, the electronic device (200) may be, but is not limited to, a notebook computer, a tablet, 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 device.
[0059] In one embodiment, the electronic device (200) of FIG. 2 may be a foldable device. The electronic device (2400) of FIG. 24, which will be described later, may be a non-foldable device. The electronic device (2400) of FIG. 24 may differ from the electronic device (200) of FIG. 2 only in that it is non-foldable. The folding-related embodiment of the electronic device (200) of FIG. 2 may not be applied to the electronic device (2400) of FIG. 24. The remaining embodiments, excluding the folding-related embodiment of the electronic device (200) of FIG. 2, may be applied to the electronic device (2400) of FIG. 24. Hereinafter, for the convenience of explanation, the embodiment of the electronic device (200) of FIG. 2 will be described, and the embodiment of the electronic device (2400) of FIG. 24 will be omitted to the extent that it overlaps with the embodiment of the electronic device (200) of FIG. 2. For example, the embodiments of FIGS. 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 21, 22, and 23 may be described with respect to the electronic device (200) of FIG. 2, but may also be applied to the electronic device (2400) of FIG. 24.
[0060] In one embodiment, referring to FIG. 2, the electronic device (200) may include a foldable housing (201; 202), and a display module (160) (e.g., a foldable display (230)) disposed within a space formed by the foldable housing (201; 202). In the embodiment of FIG. 2, at least a portion of the display module (160) may be flexible or foldable. For example, the display module (160) may include a foldable display (230). The foldable display (230) may include a plurality of regions (231; 232; 233; 234; 235). The surface on which the foldable display (230) is disposed (or the surface on which the foldable display (230) is visible from the outside of the electronic device (200)) may be defined as the front surface of the electronic device (200). The opposite side of the front surface can be defined as the back surface (221; 222; 223; 224) of the electronic device (200). The surface surrounding the space between the front and back surfaces (221; 222; 223; 224) can be defined as the side surfaces (211; 212; 213; 214; 215; 216) of the electronic device (200).
[0061] According to one embodiment, the foldable housing (201; 202) may include a first housing (201), a second housing (202), a first rear cover (221; 222), a second rear cover (223; 224), and a hinge (or hinge structure) (e.g., a hinge (400) of FIGS. 4A and 4B described below). The foldable housing (201; 202) of the electronic device (200) is not limited to the shape and combination illustrated in FIG. 2, and may be implemented by a combination and / or combination of other shapes or parts. For example, the first housing (201) and the first rear cover (221; 222) may be formed integrally, and the second housing (202) and the second rear cover (223; 224) may be formed integrally.
[0062] According to one embodiment, the first housing (201) may be connected to a hinge (e.g., hinge (400) of FIGS. 4A and 4B described below). The first housing (201) may include a first side facing in a first direction and a second side facing in a second direction opposite to the first direction. The second housing (202) may be connected to a hinge (e.g., hinge (400) of FIGS. 4A and 4B described below). The second housing (202) may include a third side facing in a third direction and a fourth side facing in a fourth direction opposite to the second direction.
[0063] According to one embodiment, the first housing (201) can rotate relative to the second housing (202) about a hinge (e.g., hinge (400) of FIGS. 4A and 4B described below) (or a first axis (A-A') (e.g., folding axis)). Accordingly, the state of the electronic device (200) can be switched between a folded state and an unfolded state. For example, the state of the hinge (e.g., hinge (400) of FIGS. 4A and 4B described below) of the electronic device (200) can be switched between a folded state and an unfolded state. For example, when the hinge of the electronic device (200) (e.g., the hinge (400) of FIGS. 4A and 4B described below) is folded, the first direction in which the first surface of the first housing (201) faces may be substantially the opposite direction to the third direction in which the third surface of the second housing (202) faces. When the hinge of the electronic device (200) (e.g., the hinge (400) of FIGS. 4A and 4B described below) is unfolded, the first direction may be substantially the same as the third direction. Here, the direction may mean a normal direction of the surface, but is not limited thereto.
[0064] According to one embodiment, the first housing (201) and the second housing (202) may be arranged on both sides with respect to the first axis (A-A') (e.g., the folding axis). As described below, the angle or distance between the first housing (201) and the second housing (202) may vary depending on whether the state of the electronic device (200) is an unfolded state, a folded state, or a partially unfolded (or partially folded) intermediate state. For example, the unfolded state may be defined as 180 degrees, the folded state may be defined as 0 degrees, and the intermediate state may be defined as more than 0 degrees and less than 180 degrees. For example, the unfolded state may be defined as 180 degrees to a first angle (e.g., 170 degrees), the folded state may be defined as 0 degrees to a second angle (e.g., 10 degrees), and the intermediate state may be defined as the second angle (e.g., 10 degrees) to a first angle (e.g., 170 degrees). The angular ranges of the unfolded state, folded state, and intermediate state are not limited thereto.
[0065] According to one embodiment, at least a portion of the first housing (201) and the second housing (202) may be formed of a metallic or non-metallic material having a rigidity of a size selected to support the foldable display (230). At least a portion formed of the metallic material may provide a ground plane of the electronic device (200) and may be electrically connected to a ground line formed on a printed circuit board.
[0066] According to one embodiment, one or more components or sensors may be positioned or visually exposed on the rear surface (221; 222; 223; 224) of the electronic device (200). For example, sensors exposed through the rear surface (221; 222; 223; 224) may include a proximity sensor or a rear camera.
[0067] According to one embodiment, the foldable display (230) may be placed on a space formed by the foldable housing (201; 202). For example, the foldable display (230) may be placed on a recess formed by the foldable housing (201; 202) and may constitute a majority of the front surface of the electronic device (200). For example, the first housing (201) and the second housing (202) of the foldable housing (201; 202) may together form a recess that accommodates the foldable display (230).
[0068] According to one embodiment, the front of the electronic device (200) may include a foldable display (230) and a portion of a first housing (201) adjacent to the foldable display (230), and a portion of a second housing (202).
[0069] According to one embodiment, the back (221; 222; 223; 224) of the electronic device (200) may include a first back cover (221; 222), a portion of a first housing (201) adjacent to the first back cover (221; 222), a second back cover (223; 224), and a portion of a second housing (202) adjacent to the second back cover (223; 224).
[0070] According to one embodiment, the foldable display (230) may refer to a display module in which at least a portion of the area can be transformed into a flat or curved surface. For example, the foldable display (230) may include a foldable area (235), an area (e.g., an upper first area (231) and a lower second area (232) based on the second axis (B-B')) disposed on one side (e.g., a left side of the foldable area (235) illustrated in FIG. 2) relative to the foldable area (235), and an area (e.g., an upper third area (233) and a lower fourth area (234) based on the second axis (B-B')) disposed on the other side (e.g., a right side of the foldable area (235) illustrated in FIG. 2) relative to the foldable area (235). For example, in FIG. 2, the foldable display (230) may include a foldable area (235) located in the center, a first area (231) located on the upper left, a second area (232) located on the lower left, a third area (233) located on the upper right, and a fourth area (234) located on the lower right. The left, right, upper, lower, upper left, lower left, upper right, and lower right are defined based on FIG. 2, and the positions of the multiple areas (231; 232; 233; 234; 235) of the foldable display (230) may be defined differently depending on the rotation of the electronic device (200).
[0071] According to one embodiment, the foldable region (235) of the foldable display (230) may correspond to a region where a hinge (e.g., hinge (400) of FIGS. 4A and 4B described below) is located. The foldable region (235) may be closed in response to the hinge (e.g., hinge (400) of FIGS. 4A and 4B described below) being closed, and may be unfolded in response to the hinge being unfolded.
[0072] Meanwhile, the division of regions of the foldable display (230) illustrated in FIG. 2 is exemplary, and the foldable display (230) may be divided into multiple regions (e.g., 6 or more or 4 or less) depending on its structure or function. In addition, the multiple regions (231; 232; 233; 234; 235) of the foldable display (230) are regions logically distinguished for the convenience of explanation, and may not be regions separated by hardware.
[0073] According to one embodiment, the sides (211; 212; 213; 214; 215; 216) of the electronic device (200) may include a first side (211), a second side (212), a third side (213), a fourth side (214), a fifth side (215), and a sixth side (216). The first side (211), the fifth side (215), and the sixth side (216) may be sides of the first housing (201). The second side (212), the third side (213), and the fourth side (214) may be sides of the second housing (202). The first side (211) and the second side (212) may form one side. The first side (211) and the second side (212) can be distinguished based on the first axis (A-A') (e.g., folding axis). The fourth side (214) and the fifth side (215) can form one side. The fourth side (214) and the fifth side (215) can be distinguished based on the first axis (A-A') (e.g., folding axis). The third side (213) can be one side that is not distinguished. The sixth side (216) can be one side that is not distinguished.
[0074] FIG. 3 is a drawing illustrating a folding state of an electronic device according to one embodiment.
[0075] FIG. 3(a) shows the electronic device (200) in an unfolded state. FIG. 3(b) and (c) show the electronic device (200) in an intermediate state, partially unfolded (or partially folded). FIG. 3(b) shows the electronic device (200) in the intermediate state being arranged horizontally. FIG. 3(c) shows the electronic device (200) in the intermediate state being arranged vertically. Horizontal and vertical may be defined differently, but according to one embodiment, a state in which a portion of the rear surface of the electronic device (200) is arranged substantially parallel to the ground surface may be defined as a state in which the electronic device (200) is placed vertically. For example, a state in which the first axis (A-A') (e.g., folding axis) of FIG. 2 is arranged substantially parallel to the ground surface may be defined as a vertical state of the electronic device (200) or a state in which the electronic device (200) is arranged vertically.
[0076] FIG. 4A is a diagram illustrating an unfolded state of an electronic device according to one embodiment. FIG. 4B is a diagram illustrating a folded state of an electronic device according to one embodiment. FIGS. 4A and 4B are schematic cross-sectional views illustrating an electronic device (200) cut along a second axis (BB`) of the electronic device (200) illustrated in FIG. 2.
[0077] According to one embodiment, the electronic device (200) can determine whether the electronic device (200) is in an unfolded or folded state by using at least one sensor (e.g., the sensor module (176) of FIG. 1). For example, the at least one sensor (e.g., the sensor module (176) of FIG. 1) may include at least one of an angle sensor, a distance sensor, a gyro sensor, or a Hall sensor. For example, the electronic device (200) can determine whether the state of the electronic device (200) is in an unfolded or folded state by using an inclination, acceleration, gravity, and a distance between the first housing (201) and the second housing (202) of the foldable housing (201; 202) provided in the electronic device (200) for at least one housing of the electronic device (200) detected by the at least one sensor (e.g., the sensor module (176) of FIG. 1). For example, the electronic device (200) can determine whether the state of the electronic device (200) is in the unfolded or folded state by using the unfolded or folded state of the hinge structure (e.g., the hinge (400) or the hinge structure including the hinge (400)) detected by at least one sensor (e.g., the sensor module (176) of FIG. 1). For example, the electronic device (200) can determine whether the state of the electronic device (200) is in the unfolded or folded state by using the rotational direction or rotational angle of at least one hinge structure (e.g., the hinge (400) or the hinge structure including the hinge (400)) provided in the electronic device (200) detected by at least one sensor (e.g., the sensor module (176) of FIG. 1).
[0078] In FIG. 4A, a hinge structure (e.g., hinge (400) or a hinge structure including hinge (400)) is exemplarily illustrated in an unfolded state. For convenience of explanation, the folding angle when the hinge structure (e.g., hinge (400) or a hinge structure including hinge (400)) is fully unfolded may be defined as 180 degrees. However, this is for convenience of explanation, and the folding angle when the hinge structure (e.g., hinge (400) or a hinge structure including hinge (400)) is fully unfolded may also be defined as 0 degrees. According to one embodiment, when the hinge structure (e.g., hinge (400) or a hinge structure including hinge (400)) is unfolded, the foldable display (e.g., foldable display (230) of FIG. 2) may substantially form one plane.
[0079] FIG. 4B exemplarily illustrates a state in which a hinge structure (e.g., a hinge (400) or a hinge structure including a hinge (400)) is folded. For example, FIG. 4B exemplarily illustrates a state in which a first side of a first housing (201) and a third side of a second housing (202) are arranged to face each other in a folded state of a hinge structure (e.g., a hinge (400) or a hinge structure including a hinge (400)). According to one embodiment, when a hinge structure (e.g., a hinge (400) or a hinge structure including a hinge (400)) is folded, some areas (e.g., 231, 232) of a foldable display (e.g., a foldable display (230) of FIG. 2) may be arranged to face each other in other areas (e.g., 233, 234).
[0080] FIG. 5 is a flowchart of a method of operating an electronic device according to one embodiment. FIG. 5 can be explained with reference to the previously described embodiment and FIG. 6. FIG. 6 is a diagram illustrating the operation of an electronic device according to one embodiment.
[0081] FIG. 6 may be a drawing illustrating a front side (e.g., a side where a foldable display (230) is exposed) and a side side (211, 212, 213, 214, 215, 216) of an electronic device (200). Referring to FIG. 6, a plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) arranged on the side side (211, 212, 213, 214, 215, 216) of the electronic device (200) may be described. Referring to FIG. 6, icons (621; 622; 623; 624; 625; 626; 627; 628; 631; 632; 633; 641; 642; 643; 644; 645; 646; 647; 648; 651; 652; 653; 663; 664; 666) corresponding to a plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) arranged on the sides (211, 212, 213, 214, 215, 216) of the electronic device (200) can be described. Referring to FIGS. 5 and 6, icons (621; 622; 623; 624; 625; 626; 627; 628; 631; 632; 633; 641; 642; 643; 644; 645; 646; 647; 648; 651; 652; 653; 663; 664; 666) corresponding to a plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) arranged on the sides (211, 212, 213, 214, 215, 216) of the electronic device (200) are displayed. I can explain about it.
[0082] According to one embodiment, the electronic device (200) may include a processor (e.g., 120 of FIG. 1). Operations of the electronic device (200) may be controlled by the processor (e.g., 120 of FIG. 1) of the electronic device (200). When the electronic device (200) performs a specific operation, the electronic device (200) or a component included in the electronic device (200) may be controlled by the processor (e.g., 120 of FIG. 1) of the electronic device (200). The electronic device (200) may include one or more processors (e.g., 120 of FIG. 1), and for the convenience of explanation, in the following, even when a plurality of processors (e.g., 120 of FIG. 1) are implemented, the “operations of the electronic device (200)” or “operations of the processor (e.g., 120 of FIG. 1)” will be described. According to one embodiment, a processor (e.g., 120 of FIG. 1) of an electronic device (200) or software (e.g., a program (140)) executed by a processor (e.g., 120 of FIG. 1)) may include various modules (e.g., hardware modules or software modules). The various modules may be implemented as hardware modules or software modules, and the description will not distinguish between whether the various modules are implemented as hardware modules or software modules. The modules described below may be implemented as hardware modules, software modules, or a combination of hardware modules and software modules.
[0083] According to one embodiment, a processor (e.g., 120 of FIG. 1) of an electronic device (200) or software (e.g., a program (140)) executed by the processor (e.g., 120 of FIG. 1) may include a shortcut key detection module. The "shortcut key detection module" may be a module that detects a shortcut key (e.g., a hardware key or a software key) input. A shortcut key may be a key designated to display information (e.g., information related to a component (e.g., a port or a camera) of the electronic device (200) or an icon corresponding to the information) on the screen. There is no limitation on the type or definition of a shortcut key. The electronic device (200) may confirm a shortcut key input through the shortcut key detection module. Based on confirming the shortcut key input, the electronic device (200) may display information (e.g., information related to a component (e.g., a port or a camera) of the electronic device (200) or an icon corresponding to the information) on the screen. There is no limitation on the way the electronic device (200) confirms shortcut key input.
[0084] According to one embodiment, a processor (e.g., 120 of FIG. 1) of an electronic device (200) or software (e.g., a program (140)) executed by the processor (e.g., 120 of FIG. 1) may include a gesture detection module. The "gesture detection module" may be a module that detects a gesture input (e.g., a four-finger swipe or an air gesture). A gesture may be a gesture designated to display information (e.g., information related to a component (e.g., a port or a camera) of the electronic device (200) or an icon corresponding to the information) on the screen. There is no limitation on the type or definition of a gesture. The electronic device (200) may verify a gesture input through the gesture detection module. Based on verifying the gesture input, the electronic device (200) may display information (e.g., information related to a component (e.g., a port or a camera) of the electronic device (200)) on the screen. There is no limitation on the method by which the electronic device (200) verifies the gesture input.
[0085] According to one embodiment, a processor (e.g., 120 of FIG. 1) of an electronic device (200) or software (e.g., program (140)) executed by a processor (e.g., 120 of FIG. 1)) may include a tilt detection module. The “tilt detection module” may be a module that detects the tilt of the electronic device (200). For example, the tilt detection module may detect the tilt of the electronic device (200) using the sensor module (176) of FIG. 1 (e.g., a gyroscope sensor, an acceleration sensor). There is no limitation on the type of at least one sensor included in the sensor module (176) used to detect the tilt of the electronic device (200). The electronic device (200) may determine the tilt of the electronic device (200) through the tilt detection module. The electronic device (200) may display information (e.g., information related to a component (e.g., a port or a camera) of the electronic device (200), or an icon corresponding to the information) on the screen based on determining the tilt of the electronic device (200) (e.g., an angle of tilt toward the top, bottom, left, and / or right). There is no limitation on the method by which the electronic device (200) determines the tilt. According to one embodiment, the electronic device (200) may perform a specific operation based on the tilt angle determined through the tilt detection module being greater than or equal to a reference angle.
[0086] According to one embodiment, a processor (e.g., 120 of FIG. 1) of an electronic device (200) or software (e.g., a program (140)) executed by a processor (e.g., 120 of FIG. 1)) may include a side touch detection module. The “side touch detection module” may be a module that detects a touch on a side (211; 212; 213; 214; 215; 216) of the electronic device (200). For example, the side touch detection module may detect a touch on a side (211; 212; 213; 214; 215; 216) of the electronic device (200) using the sensor module (176) of FIG. 1. There is no limitation on the type of at least one sensor included in the sensor module (176) used to detect a touch on the side (211; 212; 213; 214; 215; 216) of the electronic device (200). The electronic device (200) can detect a touch on the side (211; 212; 213; 214; 215; 216) of the electronic device (200) through the side touch detection module. Based on detecting a touch on the side (211; 212; 213; 214; 215; 216) of the electronic device (200), the electronic device (200) can display information (e.g., information related to a component (e.g., a port or a camera) of the electronic device (200), or an icon corresponding to the information) on the screen. There is no limitation on the method by which the electronic device (200) detects a side touch. According to one embodiment, the electronic device (200) can perform a specific action based on whether the touch range identified through the side touch detection module is greater than or equal to a reference range.
[0087] According to one embodiment, a processor (e.g., 120 of FIG. 1) of an electronic device (200) or software (e.g., a program (140)) executed by the processor (e.g., 120 of FIG. 1)) may include a border touch detection module. The “border touch detection module” may be a module that detects a touch on the border of a display (e.g., a display module (160) or a foldable display (230)) of the electronic device (200). The border touch may be a touch on the border of the display (e.g., a display module (160) or a foldable display (230)). For example, the border touch detection module may detect a touch on the border of the display (e.g., a display module (160) or a foldable display (230)) of the electronic device (200) using the sensor module (176) of FIG. 1 or the display module (160). There is no limitation on the type of the sensor module (176) used to detect a touch on the edge of the display (e.g., the display module (160) or the foldable display (230)) of the electronic device (200) or at least one sensor (e.g., a touch screen panel, a digitizer, a touch sensor) included in the display module (160). The electronic device (200) can detect a touch on the edge of the display (e.g., the display module (160) or the foldable display (230)) of the electronic device (200) through the edge touch detection module. Based on detecting a touch on the edge of the display (e.g., the display module (160) or the foldable display (230)) of the electronic device (200), the electronic device (200) can display information (e.g., information related to a component (e.g., a port or a camera) of the electronic device (200) or an icon corresponding to the information) on the screen. There is no limitation on the method by which the electronic device (200) detects a touch on the edge. According to one embodiment, the electronic device (200) may perform a specific action based on a touch range identified through a border touch touch detection module being greater than or equal to a reference range.
[0088] According to one embodiment, the electronic device (200) may detect a touch on a side (211; 212; 213; 214; 215; 216) of the electronic device (200) and a touch on a border of a display (e.g., a display module (160) or a foldable display (230)) of the electronic device (200) together through a side touch detection module and a border touch detection module.
[0089] According to one embodiment, a processor (e.g., 120 of FIG. 1) of an electronic device (200) or software (e.g., a program (140)) executed by a processor (e.g., 120 of FIG. 1)) may include a port connection detection module. The “port connection detection module” may be a module that detects a connection state (e.g., connection or release) of a plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) of the electronic device (200). For example, the port connection detection module can detect the connection status (e.g., connection or release) of a plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) of the electronic device (200) using the sensor module (176) of FIG. 1. There is no limitation on the type of at least one sensor included in the sensor module (176) used to detect the connection status (e.g., connection or release) of the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) of the electronic device (200). For example, the port connection detection module can detect the connection status (e.g., connection or disconnection) of the multiple ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) of the electronic device (200) through communication with an external device (e.g., a power source, earphones, a universal serial bus (USB) device, a micro SD (secure digital)). The electronic device (200) can check the connection status (e.g., connection or release) of a plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) through a port connection detection module.The electronic device (200) can display information (e.g., information related to a component (e.g., a port or a camera) of the electronic device (200), or an icon corresponding to the information) on the screen based on checking the connection status (e.g., connection or release) of the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) of the electronic device (200). There is no limitation on the method by which the electronic device (200) checks the connection status (e.g., connection or release) of the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613).
[0090] According to one embodiment, a processor (e.g., 120 of FIG. 1) of an electronic device (200) or software (e.g., a program (140)) executed by a processor (e.g., 120 of FIG. 1)) may include a detection enhancement module. A “detection enhancement module” may be a module that updates reference values (e.g., a reference angle or a reference range) associated with a tilt detection module, a side touch detection module, and a border touch detection module.
[0091] The operation through various modules included in the software (e.g., program (140)) executed by the processor (e.g., 120 of FIG. 1) of the electronic device (200) or the processor (e.g., 120 of FIG. 1)) of the electronic device (200) will be described later.
[0092] At least some of the operations of FIG. 5 may be omitted. The order of the operations of FIG. 5 may be changed. Operations other than those of FIG. 5 may be performed before, during, or after the operations of FIG. 5.
[0093] Referring to FIG. 5, in operation 501, according to an embodiment, the electronic device (200) (e.g., the processor (120)) may identify at least one event. The at least one event may be an event that causes information related to a component (e.g., a port or a camera) of the electronic device (200) to be displayed (or an icon corresponding to information related to the component (e.g., a port or a camera)). For example, upon identifying the at least one event, the electronic device (200) may display information about a component (e.g., a port or a camera) of the electronic device (200) (or an icon corresponding to information related to the component (e.g., a port or a camera)) on the screen. The at least one event may be at least one of a first event, a second event, a third event, a fourth event, a fifth event, or a sixth event. The first event may correspond to a shortcut key input. The second event may correspond to a gesture input. The third event may correspond to tilt detection. The fourth event may correspond to a touch detection on a side of the housing (e.g., a side (211, 215, 216) of the first housing (201) or a side (212, 213, 214) of the second housing (202). The fifth event may correspond to a touch detection on a border of the display (e.g., a foldable display (230)). The sixth event may correspond to a connection state (e.g., connection or disconnection) of at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). The first event will be described in detail with reference to FIG. 7. The second event will be described in detail with reference to FIG. 8. The third event will be described in detail with reference to FIG. 9. The fourth event will be described in detail with reference to Fig. 10. The fifth event will be described in detail with reference to Fig. 11.The sixth event is described in detail with reference to Figure 12.
[0094] In operation 503, according to one embodiment, the electronic device (200) (e.g., processor (120)) may obtain information related to at least one port (e.g., 601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). For example, the electronic device (200) may obtain information related to at least one port (e.g., 601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) from a server (e.g., server (108)). For example, the electronic device (200) can check information related to at least one port (e.g., 601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) stored in a memory (e.g., memory (130)). "Information related to at least one port (e.g., 601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613)" may include location information, connection information, and / or additional information. "Location information" may be information corresponding to a location where at least one port (e.g., 601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) is located. "Connection information" may be information corresponding to a connection status (e.g., connected or disconnected) of an external device for at least one port (e.g., 601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). “Additional information” may be information related to an external device connected to at least one port (e.g., 601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) (e.g., ID of the external device, type of the external device, specifications of the external device, manufacturer of the external device, status of an electronic device (200) related to the external device).According to one embodiment, the electronic device (200) can identify ports (e.g., 601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) for displaying port information (or icons corresponding to the port information) on the screen, and obtain information corresponding to the identified ports (e.g., 601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). According to one embodiment, the electronic device (200) can obtain information corresponding to all ports (e.g., 601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). Action 503 may be performed after Action 501 is performed, or may be performed before Action 501 is performed.
[0095] In operation 505, according to one embodiment, the electronic device (200) (e.g., processor (120)) may display at least one icon corresponding to at least one port (e.g., 601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) based on at least one event. The “at least one icon” may be an icon representing information corresponding to at least one port (e.g., 601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). For example, at least one icon may represent location information of at least one port (e.g., 601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). For example, at least one icon may represent connection information of at least one port (e.g., 601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). For example, at least one icon may represent additional information of at least one port (e.g., 601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). According to one embodiment, in FIG. 6, the electronic device (200) (e.g., processor (120)) may display at least one icon (621; 622; 623; 624; 625; 626; 627; 628; 631; 632; 633; 641; 642; 643; 644; 645; 646; 647; 648; 651; 652; 653; 663; 664; 666) corresponding to at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) based on at least one event. In FIG. 6, the first port (601) may be positioned on the first side (211) of the electronic device (200). The icon (621) may be an icon indicating the location of the first port (601).The icon (641) may be an icon indicating information of the first port (601). The icon (641) may be an icon indicating the type of the first port (601) (e.g., Thunderbolt). The icon (641) may be an icon indicating the connection status (e.g., connection or disconnection) of the first port (601). For example, the characteristics (e.g., color) of the icon (641) may correspond to the connection status (e.g., connection or disconnection) of the first port (601). The icon (621) and the icon (641) may be displayed in a first area (231) corresponding to the position of the first port (601) among a plurality of areas (e.g., 231, 232, 233, 234) of a display (e.g., a foldable display (230)). In FIG. 6, the second port (602) may be arranged on the first side (211) of the electronic device (200). The icon (622) may be an icon indicating the location of the second port (602). The icon (642) may be an icon indicating information about the second port (602). The icon (642) may be an icon indicating the type of the second port (602) (e.g., USB-C). The icon (642) may be an icon indicating the connection status (e.g., connected or disconnected) of the second port (602). For example, the characteristics (e.g., color) of the icon (642) may correspond to the connection status (e.g., connected or disconnected) of the second port (602). The icon (622) and the icon (642) may be displayed in a first area (231) corresponding to the position of the second port (602) among a plurality of areas (e.g., 231, 232, 233, 234) of a display (e.g., a foldable display (230)). In FIG. 6, the third port (603) may be arranged on the first side (211) of the electronic device (200). The icon (623) may be an icon indicating the position of the third port (603). The icon (643) may be an icon indicating information about the third port (603). For example, the icon (643) may indicate the type of the third port (603) (e.g., USB-A 3.0).For example, the icon (643) may indicate the connection status (e.g., connection) of the third port (603). For example, the characteristics (e.g., color) of the icon (643) may correspond to the connection status (e.g., connection) of the third port (603). The icon (663) may be an icon indicating information of the third port (603). For example, the icon (663) may indicate information about an external device connected to the third port (603) (e.g., ID, type, specifications, manufacturer of the external device, status of an electronic device (200) related to the external device) (e.g., “External HDD (Samsung 1TB)”). The icon (623) and the icon (643) may be displayed in a first area (231) corresponding to the position of the third port (603) among multiple areas (e.g., 231, 232, 233, 234) of a display (e.g., a foldable display (230)). In FIG. 6, the fourth port (604) may be arranged on the first side (211) of the electronic device (200). The icon (624) may be an icon indicating the position of the fourth port (604). The icon (644) may be an icon indicating information about the fourth port (604). For example, the icon (644) may indicate the type of the fourth port (604) (e.g., USB-A 2.0). For example, the icon (644) may indicate the connection status (e.g., connection) of the fourth port (604). For example, the characteristics (e.g., color) of the icon (644) may correspond to the connection status (e.g., connected) of the fourth port (604). The icon (664) may be an icon representing information of the fourth port (604). For example, the icon (664) may represent information about an external device connected to the fourth port (604) (e.g., ID, type, specifications, manufacturer of the external device, status of an electronic device (200) related to the external device) (e.g., “USB multi-hub”).The icon (624) and the icon (644) may be displayed in a first area (231) corresponding to the position of the fourth port (604) among a plurality of areas (e.g., 231, 232, 233, 234) of a display (e.g., a foldable display (230)). In FIG. 6, the fifth port (605) may be arranged on the second side (212) of the electronic device (200). The icon (625) may be an icon indicating the position of the fifth port (605). The icon (645) may be an icon indicating information of the fifth port (605). For example, the icon (645) may indicate the type of the fifth port (605) (e.g., USB-C). For example, the icon (645) may indicate the connection status (e.g., connected or disconnected) of the fifth port (605). For example, the characteristics (e.g., color) of the icon (645) may correspond to the connection status (e.g., connected or disconnected) of the fifth port (605). The icon (625) and the icon (645) may be displayed in a third area (233) corresponding to the location of the fifth port (605) among a plurality of areas (e.g., 231, 232, 233, 234) of the display (e.g., the foldable display (230)). In FIG. 6, the sixth port (606) may be arranged on the second side (212) of the electronic device (200). The icon (626) may be an icon indicating the location of the sixth port (606). The icon (646) may be an icon indicating information of the sixth port (606). For example, the icon (646) may indicate the type (e.g., USB-C) of the sixth port (606). For example, the icon (646) may indicate the connection status (e.g., connected) of the sixth port (606). For example, the characteristics (e.g., color) of the icon (646) may correspond to the connection status (e.g., connected) of the sixth port (606).For example, the characteristics (e.g., color) of an icon (646) indicating a connection status (e.g., connected) of the sixth port (606) may be different from the characteristics (e.g., color) of an icon (645) indicating a connection status (e.g., connected or disconnected) of the fifth port (605). The icon (666) may be an icon indicating information of the sixth port (606). For example, the icon (666) may indicate information about an external device connected to the sixth port (606) (e.g., ID, type, specifications, manufacturer of the external device, status of an electronic device (200) related to the external device) (e.g., "Plug connected (15 minutes of full charge remaining)"). The icon (626) and the icon (646) may be displayed in the third area (233) corresponding to the position of the sixth port (606) among the multiple areas (e.g., 231, 232, 233, 234) of the display (e.g., the foldable display (230)). In FIG. 6, the seventh port (607) may be arranged on the fourth side (214) of the electronic device (200). The icon (627) may be an icon indicating the position of the seventh port (607). The icon (647) may be an icon indicating information of the seventh port (607). For example, the icon (647) may indicate the type of the seventh port (607) (e.g., USB-C). For example, the icon (647) may indicate the connection status (e.g., connected or disconnected) of the seventh port (607). For example, the characteristics (e.g., color) of the icon (647) may correspond to the connection status (e.g., connected or disconnected) of the seventh port (607). The icon (627) and the icon (647) may be displayed in a fourth area (234) corresponding to the location of the seventh port (607) among a plurality of areas (e.g., 231, 232, 233, 234) of the display (e.g., the foldable display (230)). In FIG. 6, the eighth port (608) may be arranged on the fourth side (214) of the electronic device (200). The icon (628) may be an icon indicating the location of the eighth port (608).The icon (648) may be an icon representing information of the eighth port (608). For example, the icon (648) may represent the type of the eighth port (608) (e.g., USB-C). For example, the icon (648) may represent the connection status (e.g., connected or disconnected) of the eighth port (608). For example, the characteristics (e.g., color) of the icon (648) may correspond to the connection status (e.g., connected or disconnected) of the eighth port (608). The icon (628) and the icon (648) may be displayed in a fourth area (234) corresponding to the position of the eighth port (608) among a plurality of areas (e.g., 231, 232, 233, 234) of a display (e.g., a foldable display (230)). In FIG. 6, the eleventh port (611) may be arranged on the fifth side (215) of the electronic device (200). The icon (631) may be an icon indicating the location of the eleventh port (611). The icon (651) may be an icon indicating information about the eleventh port (611). For example, the icon (651) may indicate the type of the eleventh port (611) (e.g., micro SD). For example, the icon (651) may indicate the connection status (e.g., connected or disconnected) of the eleventh port (611). For example, the characteristics (e.g., color) of the icon (651) may correspond to the connection status (e.g., connected or disconnected) of the eleventh port (611). The icon (631) and the icon (651) may be displayed in a second area (232) corresponding to the position of the 11th port (611) among multiple areas (e.g., 231, 232, 233, 234) of a display (e.g., a foldable display (230)). In FIG. 6, the 12th port (612) may be positioned on the fifth side (215) of the electronic device (200). The icon (632) may be an icon indicating the position of the 12th port (612). The icon (652) may be an icon indicating information about the 12th port (612).For example, the icon (652) may indicate the type of the 12th port (612) (e.g., HDMI (high-definition multimedia interface)). For example, the icon (652) may indicate the connection status (e.g., connected or disconnected) of the 12th port (612). For example, the characteristic (e.g., color) of the icon (652) may correspond to the connection status (e.g., connected or disconnected) of the 12th port (612). The icon (632) and the icon (652) may be displayed in a second area (232) corresponding to the position of the 12th port (612) among a plurality of areas (e.g., 231, 232, 233, 234) of a display (e.g., a foldable display (230)). In FIG. 6, the 13th port (613) may be arranged on the fifth side (215) of the electronic device (200). The icon (633) may be an icon indicating the location of the 13th port (613). The icon (653) may be an icon indicating information about the 13th port (613). For example, the icon (653) may indicate the type of the 13th port (613) (e.g., 3.5 mm stereo jack). For example, the icon (653) may indicate the connection status (e.g., connected or disconnected) of the 13th port (613). For example, the characteristics (e.g., color) of the icon (653) may correspond to the connection status (e.g., connected or disconnected) of the 13th port (613). The icon (633) and the icon (653) may be displayed in the second area (232) corresponding to the position of the 13th port (613) among the multiple areas (e.g., 231, 232, 233, 234) of the display (e.g., the foldable display (230)). In FIG. 6, the camera (609) may be positioned at a position corresponding to one area of the display (e.g., the foldable display (230)) of the electronic device (200). The icon (629) may be an icon indicating the position of the camera (609). The icon (649) may be an icon indicating information about the camera (609).For example, the icon (649) may indicate the type of camera (609). For example, the icon (649) may indicate the operating status of the camera (609). For example, the characteristics (e.g., color) of the icon (649) may correspond to the operating status of the camera (609). The icon (669) may be an icon indicating information about the camera (609) (e.g., "In use by the camera app").
[0096] According to the embodiments described below, at least one icon among the icons (621; 622; 623; 624; 625; 626; 627; 628; 631; 632; 633; 641; 642; 643; 644; 645; 646; 647; 648; 651; 652; 653; 663; 664; 666) corresponding to the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) of FIG. 6 and the icons (629; 649; 669) corresponding to the camera (609) may be displayed.
[0097] Fig. 7 is a flowchart of a method of operating an electronic device according to one embodiment. Fig. 7 can be explained with reference to the previously described embodiment.
[0098] At least some of the operations of FIG. 7 may be omitted. The order of the operations of FIG. 7 may be changed. Operations other than those of FIG. 7 may be performed before, during, or after the operations of FIG. 7.
[0099] Referring to FIG. 7, in operation 701, according to one embodiment, the electronic device (200) (e.g., processor (120)) may identify a first event corresponding to a shortcut key input. The electronic device (200) may identify the first event corresponding to a shortcut key input as at least one event of operation 501 of FIG. 5.
[0100] In operation 703, according to one embodiment, the electronic device (200) (e.g., processor (120)) displays all of the plurality of icons (621; 622; 623; 624; 625; 626; 627; 628; 631; 632; 633; 641; 642; 643; 644; 645; 646; 647; 648; 651; 652; 653; 663; 664; 666) corresponding to the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) of the electronic device (200) based on identifying a first event corresponding to a shortcut key input. The electronic device (200) can display icons (629, 649, 669) corresponding to the camera (609) based on confirming the first event corresponding to the shortcut key input. The electronic device (200) can display the screen of FIG. 6 based on confirming the first event corresponding to the shortcut key input.
[0101] Fig. 8 is a flowchart of a method of operating an electronic device according to one embodiment. Fig. 8 can be explained with reference to the previously described embodiment.
[0102] At least some of the operations of FIG. 8 may be omitted. The order of the operations of FIG. 8 may be changed. Operations other than those of FIG. 8 may be performed before, during, or after the operations of FIG. 8.
[0103] Referring to FIG. 8, in operation 801, according to one embodiment, the electronic device (200) (e.g., processor (120)) may identify a second event corresponding to the gesture input. The electronic device (200) may identify the second event corresponding to the gesture input as at least one event of operation 501 of FIG. 5.
[0104] In operation 803, according to one embodiment, the electronic device (200) (e.g., processor (120)) can display all of the plurality of icons (621; 622; 623; 624; 625; 626; 627; 628; 631; 632; 633; 641; 642; 643; 644; 645; 646; 647; 648; 651; 652; 653; 663; 664; 666) corresponding to the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) of the electronic device (200) based on identifying a second event corresponding to the gesture input. The electronic device (200) can display icons (629, 649, 669) corresponding to the camera (609) based on confirming a second event corresponding to the gesture input. The electronic device (200) can display the screen of FIG. 6 based on confirming a second event corresponding to the gesture input.
[0105] Fig. 9 is a flowchart of a method of operating an electronic device according to one embodiment. Fig. 9 can be explained with reference to the previously described embodiment.
[0106] At least some of the operations of FIG. 9 may be omitted. The order of the operations of FIG. 9 may be changed. Operations other than those of FIG. 9 may be performed before, during, or after the operations of FIG. 9.
[0107] Referring to FIG. 9, in operation 901, according to one embodiment, the electronic device (200) (e.g., processor (120)) may identify a third event corresponding to tilt detection. The electronic device (200) may identify the third event corresponding to tilt detection as at least one event of operation 501 of FIG. 5.
[0108] In operation 903, according to one embodiment, the electronic device (200) (e.g., the processor (120)) may determine a direction corresponding to the third event based on determining a third event corresponding to tilt detection. According to one embodiment, “direction” may include “position.” For example, “direction” may include upper, lower, left, right, upper left, lower left, upper right, and lower right. The direction may be relatively determined according to the arrangement direction of the electronic device (200). For example, when the electronic device (200) is arranged horizontally as shown in FIG. 6, the upper side of the electronic device (200) may correspond to the first side (211) and the second side (212), but when the electronic device (200) is arranged vertically as shown in FIG. 19 described below, the upper side of the electronic device (200) may correspond to the sixth side (216). The electronic device (200) can identify a direction corresponding to the event in order to determine a port on which to display port information based on the event. For example, if the user tilts the electronic device (200) to the right, the electronic device (200) can identify the right as the direction corresponding to the third event. For example, if the user tilts the electronic device (200) to the left, the electronic device (200) can identify the left as the direction corresponding to the third event. For example, if the user tilts the electronic device (200) downward, the electronic device (200) can identify the downward as the direction corresponding to the third event. For example, if the user tilts the electronic device (200) upward, the electronic device (200) can identify the upward as the direction corresponding to the third event. The actual tilt direction and the direction identified in response to the tilt may correspond one-to-one or two-to-one. For example, when a user tilts the electronic device (200) to the left or right, the electronic device (200) can identify left and right as directions corresponding to the third event.For example, when a user tilts the electronic device (200) upward or downward, the electronic device (200) can identify the upper and lower sides as directions corresponding to the third event. For example, when a user tilts the electronic device (200) upward and to the right, the electronic device (200) can identify the upper right side as directions corresponding to the third event. For example, when a user tilts the electronic device (200) upward and to the left, the electronic device (200) can identify the upper left side as directions corresponding to the third event. For example, when a user tilts the electronic device (200) downward and to the right, the electronic device (200) can identify the lower right side as directions corresponding to the third event. For example, when a user tilts the electronic device (200) downward and to the left, the electronic device (200) can identify the lower left side as directions corresponding to the third event. According to one embodiment, the electronic device (200) (e.g., the processor (120)) can determine a direction corresponding to a third event based on a reference angle. The electronic device (200) can determine at least one tilt angle of the electronic device (200) corresponding to the third event based on determining the third event corresponding to tilt detection. For example, the at least one tilt angle of the electronic device (200) can include an upward tilt angle, a downward tilt angle, a leftward tilt angle, and a rightward tilt angle. The electronic device (200) can determine the direction corresponding to the third event by comparing the at least one tilt angle of the electronic device (200) with at least one reference angle. For example, the electronic device (200) can determine the upward direction as the direction corresponding to the third event based on the upward tilt angle being greater than or equal to the first reference angle corresponding to the upward direction.For example, the electronic device (200) can determine the lower side as the direction corresponding to the third event based on the fact that the downward tilt angle is greater than or equal to the second reference angle corresponding to the lower side. For example, the electronic device (200) can determine the left side as the direction corresponding to the third event based on the fact that the left tilt angle is greater than or equal to the third reference angle corresponding to the left side. For example, the electronic device (200) can determine the right side as the direction corresponding to the third event based on the fact that the right tilt angle is greater than or equal to the fourth reference angle corresponding to the right side. For example, the electronic device (200) can determine the upper left side as the direction corresponding to the third event based on the fact that the upward tilt angle is greater than or equal to the first reference angle corresponding to the upper side and the left tilt angle is greater than or equal to the third reference angle corresponding to the left side. For example, the electronic device (200) can determine the upper right as the direction corresponding to the third event based on the fact that the upward tilt angle is greater than or equal to the first reference angle corresponding to the upper side and the rightward tilt angle is greater than or equal to the fourth reference angle corresponding to the right side. For example, the electronic device (200) can determine the lower left as the direction corresponding to the third event based on the fact that the downward tilt angle is greater than or equal to the second reference angle corresponding to the lower side and the leftward tilt angle is greater than or equal to the third reference angle corresponding to the left side. For example, the electronic device (200) can determine the lower right as the direction corresponding to the third event based on the fact that the downward tilt angle is greater than or equal to the second reference angle corresponding to the lower side and the rightward tilt angle is greater than or equal to the fourth reference angle corresponding to the right side.
[0109] In operation 905, according to one embodiment, the electronic device (200) (e.g., the processor (120)) may display at least one icon corresponding to at least one port among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) of the electronic device (200) based on the direction corresponding to the third event. The electronic device (200) may display at least one icon corresponding to the camera (609) based on the direction corresponding to the third event. For example, as shown in FIG. 15 described below, the electronic device (200) may display at least one icon (621; 622; 623; 624; 625; 626; 641; 642; 643; 644; 645; 646; 663; 664; 666) corresponding to at least one port (601; 602; 603; 604; 605; 606) corresponding to the upper side among the plurality of ports (601; 602; 603; 604; 605; 606) based on identifying the upper side as the direction corresponding to the third event. For example, as shown in FIG. 14 described below, the electronic device (200) determines, based on confirming the upper and lower sides as directions corresponding to the third event, at least one icon (621; 622; 623; 624; 625; 626; 627; 628; 631; 632; 633; 641; 642; 643;) corresponding to at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) corresponding to the upper and lower sides among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). 644; 645; 646; 647; 648; 651; 652; 653; 663; 664; 666) can be displayed.For example, as illustrated in FIG. 13 described below, the electronic device (200) may display at least one icon (629; 649; 669) corresponding to the camera (609) based on identifying the left side as the direction corresponding to the third event. The electronic device (200) may not display an icon corresponding to a port based on the absence of a port corresponding to the left side identified as the direction corresponding to the third event.
[0110] Fig. 10 is a flowchart of a method of operating an electronic device according to one embodiment. Fig. 10 can be explained with reference to the previously described embodiment.
[0111] At least some of the operations of FIG. 10 may be omitted. The order of the operations of FIG. 10 may be changed. Operations other than those of FIG. 10 may be performed before, during, or after the operations of FIG. 10.
[0112] Referring to FIG. 10, in operation 1001, according to one embodiment, the electronic device (200) (e.g., processor (120)) may identify a fourth event corresponding to touch detection of the sides (211, 212, 213, 214, 215, 216). The electronic device (200) may identify the fourth event corresponding to touch detection of the sides as at least one event of operation 501 of FIG. 5.
[0113] In operation 1003, according to one embodiment, the electronic device (200) (e.g., the processor (120)) can determine a direction corresponding to the fourth event based on determining a fourth event corresponding to touch detection of the sides (211, 212, 213, 214, 215, 216). According to one embodiment, “direction” may include “position.” For example, “direction” may include upper, lower, left, right, upper left, lower left, upper right, and lower right. The direction may be determined relatively based on the arrangement direction of the electronic device (200). For example, when the electronic device (200) is arranged horizontally as in FIG. 6, the upper side of the electronic device (200) may correspond to the first side (211) and the second side (212), but when the electronic device (200) is arranged vertically as in FIG. 19, which will be described later, the upper side of the electronic device (200) may correspond to the sixth side (216). The electronic device (200) may identify a direction corresponding to an event in order to determine a port for displaying port information based on an event. For example, based on a touch detection on the right side of the housing (e.g., 201; 202), the electronic device (200) may identify the right side as the direction corresponding to the fourth event. For example, based on a touch detection on the left side of the housing (e.g., 201; 202), the electronic device (200) may identify the left side as the direction corresponding to the fourth event. For example, based on the touch detection on the lower side of the housing (e.g., 201; 202), the electronic device (200) can identify the lower side as the direction corresponding to the fourth event. For example, based on the touch detection on the upper side of the housing (e.g., 201; 202), the electronic device (200) can identify the upper side as the direction corresponding to the fourth event. The direction of the actual touch and the direction identified in response to the touch may correspond one to one or two to one.For example, based on touch detection on the left or right side of the housing (e.g., 201; 202), the electronic device (200) can identify left and right as the direction corresponding to the fourth event. For example, based on touch detection on the upper or lower side of the housing (e.g., 201; 202), the electronic device (200) can identify upper and lower as the direction corresponding to the fourth event. For example, based on touch detection on the upper and right sides of the housing (e.g., 201; 202), the electronic device (200) can identify upper right as the direction corresponding to the fourth event. For example, based on touch detection on the upper and left sides of the housing (e.g., 201; 202), the electronic device (200) can identify upper left as the direction corresponding to the fourth event. For example, based on touch detection on the lower and right sides of the housing (e.g., 201; 202), the electronic device (200) can identify the lower right side as the direction corresponding to the fourth event. For example, based on touch detection on the lower and left sides of the housing (e.g., 201; 202), the electronic device (200) can identify the lower left side as the direction corresponding to the fourth event. For example, based on touch detection on the upper right side of the housing (e.g., the first side (211) when the electronic device (200) is vertically arranged), the electronic device (200) can identify the upper right side as the direction corresponding to the fourth event. For example, based on a touch detection on the upper left side (e.g., the fifth side (215) when the electronic device (200) is vertically arranged) of the housing (e.g., 201; 202), the electronic device (200) can identify the upper left side as the direction corresponding to the fourth event. For example, based on a touch detection on the lower right side (e.g., the second side (212) when the electronic device (200) is vertically arranged) of the housing (e.g., 201; 202), the electronic device (200) can identify the lower right side as the direction corresponding to the fourth event.For example, based on a touch detection on a lower left side (e.g., a fourth side (214) when the electronic device (200) is vertically arranged) of a housing (e.g., 201; 202), the electronic device (200) can identify the lower left side as a direction corresponding to the fourth event. According to one embodiment, the electronic device (200) (e.g., the processor (120)) can identify the direction corresponding to the fourth event based on a reference range. The electronic device (200) can identify at least one touch location of the fourth event based on identifying the fourth event corresponding to a touch detection on the sides (211, 212, 213, 214, 215, 216). The at least one touch location can include an upper side, a lower side, a left side, an upper left side, a lower left side, an upper right side, and a lower right side. The electronic device (200) can identify at least one touch range corresponding to at least one touch location. The at least one touch range may include a touch range corresponding to the upper side, a touch range corresponding to the lower side, a touch range corresponding to the left side, a touch range corresponding to the right side, a touch range corresponding to the upper left side, a touch range corresponding to the lower left side, a touch range corresponding to the upper right side, and a touch range corresponding to the lower right side. The electronic device (200) can compare the at least one touch range with at least one reference range. The at least one reference range may include a reference range corresponding to the upper side, a reference range corresponding to the lower side, a reference range corresponding to the left side, a reference range corresponding to the right side, a reference range corresponding to the upper left side, a reference range corresponding to the lower left side, a reference range corresponding to the upper right side, and a reference range corresponding to the lower right side. Each reference range may be the same, different, or only some of them may be the same. The electronic device (200) can identify a direction corresponding to the fourth event by comparing the at least one touch range with the at least one reference range.For example, the electronic device (200) can determine the upper side as the direction corresponding to the fourth event based on the fact that the touch range corresponding to the upper side is greater than or equal to the reference range corresponding to the upper side. For example, the electronic device (200) can determine the lower side as the direction corresponding to the fourth event based on the fact that the touch range corresponding to the lower side is greater than or equal to the reference range corresponding to the lower side. For example, the electronic device (200) can determine the left side as the direction corresponding to the fourth event based on the fact that the touch range corresponding to the left side is greater than or equal to the reference range corresponding to the left side. For example, the electronic device (200) can determine the right side as the direction corresponding to the fourth event based on the fact that the touch range corresponding to the right side is greater than or equal to the reference range corresponding to the right side. For example, the electronic device (200) can determine the upper left side as the direction corresponding to the fourth event based on the fact that the touch range corresponding to the upper side is greater than or equal to the reference range corresponding to the upper side and the touch range corresponding to the left side is greater than or equal to the reference range corresponding to the left side. For example, the electronic device (200) can determine the upper right as the direction corresponding to the fourth event based on the fact that the touch range corresponding to the upper side is greater than or equal to the reference range corresponding to the upper side and the touch range corresponding to the right side is greater than or equal to the reference range corresponding to the right side. For example, the electronic device (200) can determine the lower left as the direction corresponding to the fourth event based on the fact that the touch range corresponding to the lower side is greater than or equal to the reference range corresponding to the lower side and the touch range corresponding to the left side is greater than or equal to the reference range corresponding to the left side. For example, the electronic device (200) can determine the lower right as the direction corresponding to the fourth event based on the fact that the touch range corresponding to the lower side is greater than or equal to the reference range corresponding to the lower side and the touch range corresponding to the right side is greater than or equal to the reference range corresponding to the right side.For example, the electronic device (200) can determine the upper left side as the direction corresponding to the fourth event based on the fact that the touch range corresponding to the upper left side is greater than or equal to the reference range corresponding to the upper left side. For example, the electronic device (200) can determine the upper right side as the direction corresponding to the fourth event based on the fact that the touch range corresponding to the upper right side is greater than or equal to the reference range corresponding to the upper right side. For example, the electronic device (200) can determine the lower left side as the direction corresponding to the fourth event based on the fact that the touch range corresponding to the lower left side is greater than or equal to the reference range corresponding to the lower left side. For example, the electronic device (200) can determine the lower right side as the direction corresponding to the fourth event based on the fact that the touch range corresponding to the lower right side is greater than or equal to the reference range corresponding to the lower right side.
[0114] In operation 1005, according to one embodiment, the electronic device (200) (e.g., the processor (120)) may display at least one icon corresponding to at least one port among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) of the electronic device (200) based on the direction corresponding to the fourth event. The electronic device (200) may display at least one icon corresponding to the camera (609) based on the direction corresponding to the fourth event. For example, as shown in FIG. 15 described below, the electronic device (200) may display at least one icon (621; 622; 623; 624; 625; 626; 641; 642; 643; 644; 645; 646; 663; 664; 666) corresponding to at least one port (601; 602; 603; 604; 605; 606) corresponding to the upper side among the plurality of ports (601; 602; 603; 604; 605; 606) based on identifying the upper side as the direction corresponding to the fourth event. For example, as shown in FIG. 14 described below, the electronic device (200) determines, based on confirming the upper and lower sides as directions corresponding to the fourth event, at least one icon (621; 622; 623; 624; 625; 626; 627; 628; 631; 632; 633; 641; 642; 643;) corresponding to at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) corresponding to the upper and lower sides among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). 644; 645; 646; 647; 648; 651; 652; 653; 663; 664; 666) can be displayed.For example, as illustrated in FIG. 13 described below, the electronic device (200) may display at least one icon (629; 649; 669) corresponding to the camera (609) based on identifying the left side as the direction corresponding to the fourth event. The electronic device (200) may not display an icon corresponding to a port based on the absence of a port corresponding to the left side identified as the direction corresponding to the fourth event.
[0115] Fig. 11 is a flowchart of a method of operating an electronic device according to one embodiment. Fig. 11 can be explained with reference to the previously described embodiment.
[0116] At least some of the operations of FIG. 11 may be omitted. The order of the operations of FIG. 11 may be changed. Operations other than those of FIG. 11 may be performed before, during, or after the operations of FIG. 11.
[0117] Referring to FIG. 11, in operation 1101, according to one embodiment, the electronic device (200) (e.g., the processor (120)) may identify a fifth event corresponding to touch detection of a border of a display (e.g., a foldable display (230)). The electronic device (200) may identify a fifth event corresponding to touch detection of a border of a display (e.g., a foldable display (230)) as at least one event of operation 501 of FIG. 5.
[0118] In operation 1103, according to one embodiment, the electronic device (200) (e.g., the processor (120)) may determine a direction corresponding to the fifth event based on determining a fifth event corresponding to a touch detection of the border of the display (e.g., the foldable display (230)). According to one embodiment, the “direction” may include a “position.” For example, the “direction” may include upper, lower, left, right, upper left, lower left, upper right, and lower right. The direction may be determined relatively based on the arrangement direction of the electronic device (200). For example, when the electronic device (200) is arranged horizontally as in FIG. 6, the upper side of the electronic device (200) may correspond to the first side (211) and the second side (212), but when the electronic device (200) is arranged vertically as in FIG. 19, which will be described later, the upper side of the electronic device (200) may correspond to the sixth side (216). The electronic device (200) may identify a direction corresponding to an event in order to determine a port for displaying port information based on an event. For example, based on a touch detection of a right edge of a display (e.g., a foldable display (230)), the electronic device (200) may identify the right side as the direction corresponding to the fifth event. For example, based on a touch detection of a left edge of a display (e.g., a foldable display (230)), the electronic device (200) may identify the left side as the direction corresponding to the fifth event. For example, based on the touch detection of the lower edge of the display (e.g., the foldable display (230)), the electronic device (200) can identify the lower side as the direction corresponding to the fifth event. For example, based on the touch detection of the upper edge of the display (e.g., the foldable display (230)), the electronic device can identify the upper side as the direction corresponding to the fourth event. The direction of the actual touch and the direction identified in response to the touch may correspond one to one or two to one.For example, based on touch detection of the left edge or the right edge of the display (e.g., the foldable display (230)), the electronic device (200) can identify the left and right sides as directions corresponding to the fifth event. For example, based on touch detection of the upper edge or the lower edge of the display (e.g., the foldable display (230)), the electronic device (200) can identify the upper and lower sides as directions corresponding to the fifth event. For example, based on touch detection of the upper edge and the right edge of the display (e.g., the foldable display (230)), the electronic device (200) can identify the upper right side as directions corresponding to the fifth event. For example, based on touch detection of the upper edge and the left edge of the display (e.g., the foldable display (230)), the electronic device (200) can identify the upper left side as directions corresponding to the fifth event. For example, based on touch detection of the lower edge and the right edge of the display (e.g., the foldable display (230)), the electronic device (200) can identify the lower right side as the direction corresponding to the fifth event. For example, based on touch detection of the lower edge and the left edge of the display (e.g., the foldable display (230)), the electronic device (200) can identify the lower left side as the direction corresponding to the fifth event. For example, based on touch detection of the upper right edge of the display (e.g., the edge corresponding to the first side (211) when the electronic device (200) is vertically arranged) (e.g., the foldable display (230)), the electronic device (200) can identify the upper right side as the direction corresponding to the fifth event. For example, based on a touch detection of the upper left edge of a display (e.g., a foldable display (230)) (e.g., the edge corresponding to the fifth side (215) when the electronic device (200) is vertically arranged), the electronic device (200) can identify the upper left edge as the direction corresponding to the fifth event.For example, based on a touch detection of a lower right edge (e.g., a edge corresponding to the second side (212) when the electronic device (200) is vertically arranged) of a display (e.g., a foldable display (230)), the electronic device (200) can identify the lower right as the direction corresponding to the fifth event. For example, based on a touch detection of a lower left edge (e.g., a edge corresponding to the fourth side (214) when the electronic device (200) is vertically arranged) of a display (e.g., a foldable display (230)), the electronic device (200) can identify the lower left as the direction corresponding to the fifth event. According to one embodiment, the electronic device (200) (e.g., the processor (120)) can identify the direction corresponding to the fifth event based on a reference range. The electronic device (200) can identify at least one touch location of the fifth event based on identifying a fifth event corresponding to touch detection of the border of the display (e.g., the foldable display (230)). The at least one touch location can include an upper side, a lower side, a left side, a right side, an upper left side, a lower left side, an upper right side, and a lower right side. The electronic device (200) can identify at least one touch range corresponding to the at least one touch location. The at least one touch range can include a touch range corresponding to the upper side, a touch range corresponding to the lower side, a touch range corresponding to the left side, a touch range corresponding to the right side, a touch range corresponding to the upper left side, a touch range corresponding to the lower left side, a touch range corresponding to the upper right side, and a touch range corresponding to the lower right side. The electronic device (200) can compare at least one touch range with at least one reference range. At least one reference range may include a reference range corresponding to the upper side, a reference range corresponding to the lower side, a reference range corresponding to the left side, a reference range corresponding to the right side, a reference range corresponding to the upper left side, a reference range corresponding to the lower left side, a reference range corresponding to the upper right side, and a reference range corresponding to the lower right side.Each reference range may be the same, may be different, or may only be partially the same. The electronic device (200) can determine the direction corresponding to the fifth event by comparing at least one touch range with at least one reference range. For example, the electronic device (200) can determine the upper side as the direction corresponding to the fifth event based on the touch range corresponding to the upper side being greater than or equal to the reference range corresponding to the upper side. For example, the electronic device (200) can determine the lower side as the direction corresponding to the fifth event based on the touch range corresponding to the lower side being greater than or equal to the reference range corresponding to the lower side. For example, the electronic device (200) can determine the left side as the direction corresponding to the fifth event based on the touch range corresponding to the left side being greater than or equal to the reference range corresponding to the left side. For example, the electronic device (200) can determine the right side as the direction corresponding to the fifth event based on the touch range corresponding to the right side being greater than or equal to the reference range corresponding to the right side. For example, the electronic device (200) can determine the upper left as the direction corresponding to the fifth event based on the fact that the touch range corresponding to the upper side is greater than or equal to the reference range corresponding to the upper side and the touch range corresponding to the left is greater than or equal to the reference range corresponding to the left. For example, the electronic device (200) can determine the upper right as the direction corresponding to the fifth event based on the fact that the touch range corresponding to the upper side is greater than or equal to the reference range corresponding to the upper side and the touch range corresponding to the right is greater than or equal to the reference range corresponding to the right. For example, the electronic device (200) can determine the lower left as the direction corresponding to the fifth event based on the fact that the touch range corresponding to the lower side is greater than or equal to the reference range corresponding to the lower side and the touch range corresponding to the left is greater than or equal to the reference range corresponding to the left.For example, the electronic device (200) can determine the lower right as the direction corresponding to the fifth event based on the fact that the touch range corresponding to the lower side is greater than or equal to the reference range corresponding to the lower side and the touch range corresponding to the right side is greater than or equal to the reference range corresponding to the right side. For example, the electronic device (200) can determine the upper left as the direction corresponding to the fifth event based on the fact that the touch range corresponding to the upper left side is greater than or equal to the reference range corresponding to the upper left side. For example, the electronic device (200) can determine the upper right as the direction corresponding to the fifth event based on the fact that the touch range corresponding to the upper right side is greater than or equal to the reference range corresponding to the upper right side. For example, the electronic device (200) can determine the lower left as the direction corresponding to the fifth event based on the fact that the touch range corresponding to the lower left side is greater than or equal to the reference range corresponding to the lower left side. For example, the electronic device (200) can determine the lower right side as the direction corresponding to the fifth event based on the fact that the touch range corresponding to the lower right side is greater than or equal to the reference range corresponding to the lower right side.
[0119] In operation 1105, according to one embodiment, the electronic device (200) (e.g., the processor (120)) may display at least one icon corresponding to at least one port among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) of the electronic device (200) based on the direction corresponding to the fifth event. The electronic device (200) may display at least one icon corresponding to the camera (609) based on the direction corresponding to the fifth event. For example, as shown in FIG. 15 described below, the electronic device (200) may display at least one icon (621; 622; 623; 624; 625; 626; 641; 642; 643; 644; 645; 646; 663; 664; 666) corresponding to at least one port (601; 602; 603; 604; 605; 606) corresponding to the upper side among a plurality of ports (601; 602; 603; 604; 605; 606) based on identifying the upper side as the direction corresponding to the fifth event. For example, as shown in FIG. 14 described below, the electronic device (200) determines, based on confirming the upper and lower sides as directions corresponding to the fifth event, at least one icon (621; 622; 623; 624; 625; 626; 627; 628; 631; 632; 633; 641; 642; 643;) corresponding to at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) corresponding to the upper and lower sides among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). 644; 645; 646; 647; 648; 651; 652; 653; 663; 664; 666) can be displayed.For example, as illustrated in FIG. 13 described below, the electronic device (200) may display at least one icon (629; 649; 669) corresponding to the camera (609) based on identifying the left side as the direction corresponding to the fifth event. The electronic device (200) may not display an icon corresponding to a port based on the absence of a port corresponding to the left side identified as the direction corresponding to the fifth event.
[0120] Fig. 12 is a flowchart of a method of operating an electronic device according to one embodiment. Fig. 12 can be explained with reference to the previously described embodiment.
[0121] At least some of the operations of FIG. 12 may be omitted. The order of the operations of FIG. 12 may be changed. Operations other than those of FIG. 12 may be performed before, during, or after the operations of FIG. 12.
[0122] Referring to FIG. 12, in operation 1201, according to one embodiment, the electronic device (200) (e.g., processor (120)) may identify a sixth event related to the connection of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). The electronic device (200) may identify a sixth event corresponding to a connection state (e.g., connection or release) of at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) as at least one event of operation 501 of FIG. 5.
[0123] In operation 1205, according to one embodiment, the electronic device (200) (e.g., processor (120)) may display at least one icon corresponding to at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) based on a connection state (e.g., connection or disconnection) of at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). For example, the electronic device (200) may display at least one icon (e.g., 643; 644; 646 of FIG. 6) indicating that an external device is connected to at least one port (e.g., 603; 604; 606 of FIG. 6). For example, the electronic device (200) may display at least one icon (e.g., 663; 664; 666 of FIG. 6) indicating information related to an external device connected to at least one port (e.g., 603; 604; 606 of FIG. 6). For example, the electronic device (200) may display at least one icon (e.g., 641; 642; 645; 647; 648; 651; 652; 653 of FIG. 6) indicating that no external device is connected to at least one port (e.g., 601; 602; 605; 607; 608; 611; 612; 613 of FIG. 6).
[0124] FIG. 13 is a diagram illustrating the operation of an electronic device according to one embodiment. FIG. 14 is a diagram illustrating the operation of an electronic device according to one embodiment. FIG. 15 is a diagram illustrating the operation of an electronic device according to one embodiment.
[0125] FIG. 13 illustrates a case where the left side of the electronic device (200) is selected based on at least one event when the electronic device (200) is placed horizontally.
[0126] FIG. 14 illustrates a case where the upper and lower sides of the electronic device (200) are selected based on at least one event when the electronic device (200) is placed horizontally.
[0127] FIG. 15 illustrates a case where the upper side of the electronic device (200) is selected based on at least one event when the electronic device (200) is placed horizontally.
[0128] FIG. 16 is a flowchart of a method of operating an electronic device according to one embodiment. FIG. 16 may be described with reference to previously described embodiments, FIGS. 17, 18, and 19. FIG. 17 is a diagram illustrating the operation of an electronic device according to one embodiment. FIG. 18 is a diagram illustrating the operation of an electronic device according to one embodiment. FIG. 19 is a diagram illustrating the operation of an electronic device according to one embodiment.
[0129] Referring to FIG. 16, it is possible to understand the process in which the same event is processed differently depending on the folding state of the electronic device (200).
[0130] At least some of the operations of FIG. 16 may be omitted. The order of the operations of FIG. 16 may be changed. Operations other than those of FIG. 16 may be performed before, during, or after the operations of FIG. 16.
[0131] Referring to FIG. 16, in operation 1601, according to one embodiment, the electronic device (200) (e.g., processor (120)) may identify at least one event. The at least one event may be at least one of a first event, a second event, a third event, a fourth event, a fifth event, or a sixth event. The first event may correspond to a shortcut key input. The second event may correspond to a gesture input. The third event may correspond to tilt detection. The fourth event may correspond to a touch detection on a side of the housing (e.g., a side (211, 215, 216) of the first housing (201) or a side (212, 213, 214) of the second housing (202)). The fifth event may correspond to a touch detection on a border of a display (e.g., a foldable display (230)). The sixth event may correspond to a connection state (e.g., connection or disconnection) of at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). The 1601 operation may be identical to or similar to the 501 operation of FIG. 5. In the description of the 1601 operation, any part that overlaps with the description of the 501 operation of FIG. 5 is omitted.
[0132] In operation 1603, according to one embodiment, the electronic device (200) (e.g., the processor (120)) may check the folding state of the electronic device (200). For example, the folding state of the electronic device (200) may include an unfolded state, a folded state, or a partially unfolded (or partially folded) intermediate state of the electronic device (200). Operation 1603 may be performed after operation 1601 is performed, or may be performed before operation 1601 is performed.
[0133] In operation 1605, according to one embodiment, the electronic device (200) (e.g., the processor (120)) may determine a direction (e.g., a direction or position of a touched edge) corresponding to at least one event as a first direction based on the folding state of the electronic device (200) being a first state (e.g., an unfolded state). For example, the direction corresponding to at least one event may include a position corresponding to at least one event. In operation 1605, the first direction may be determined based on at least one event. The manner in which the direction is determined in operation 1605 may be understood with reference to the embodiments of FIGS. 9, 10, and 11.
[0134] In operation 1607, according to one embodiment, the electronic device (200) (e.g., the processor (120)) may determine a direction corresponding to at least one event as a second direction based on the folding state of the electronic device (200) being a second state (e.g., an intermediate state). In operation 1607, the second direction may be determined based on at least one event and the second state (e.g., an intermediate state). The second direction of operation 1607 may be the same as or different from the first direction of operation 1605. The manner in which the direction is determined in operation 1607 may be understood with reference to the embodiments of FIGS. 9, 10, and 11.
[0135] The operations 1605 and 1607 are described as follows. According to one embodiment, when the electronic device (200) is placed horizontally in an unfolded state in a folding state, the electronic device (200) can determine a direction corresponding to at least one event based on at least one event. According to one embodiment, when the electronic device (200) is placed horizontally in an intermediate state in a folding state, the electronic device (200) can determine a direction corresponding to at least one event based on the folding state and at least one event. According to one embodiment, when the electronic device (200) is placed vertically in an unfolded state in a folding state, the electronic device (200) can determine a direction corresponding to at least one event based on at least one event. According to one embodiment, when the folding state of the electronic device (200) is in an intermediate state and the electronic device (200) is vertically arranged, the electronic device (200) can determine a direction corresponding to at least one event based on the folding state and at least one event. For example, when the electronic device (200) is placed vertically and the folding state of the electronic device (200) is in an intermediate state, when a touch is detected on the first side (211) (or when a touch is detected on the border (e.g., the upper right border) of the display (e.g., the foldable display (230)) corresponding to the first side (211), an icon corresponding to a port (e.g., 601, 602, 603, 604) placed on the upper right side may be displayed, as in FIG. 17, and when a touch is detected on the second side (212) (or when a touch is detected on the border (e.g., the lower right border) of the display (e.g., the foldable display (230)) corresponding to the second side (212), an icon corresponding to a port (e.g., 605, 606) placed on the lower right side may be displayed, as in FIG. 18.For example, when the electronic device (200) is placed vertically and the folded state of the electronic device (200) is unfolded, as shown in FIG. 19, when a touch of the first side (211) (or a touch of the border (e.g., the upper right border) of the display (e.g., the foldable display (230)) corresponding to the first side (211)) is detected or a touch of the second side (212) (or a touch of the border (e.g., the lower right border) of the display (e.g., the foldable display (230)) corresponding to the second side (212)) is detected, an icon corresponding to a port (e.g., 601, 602, 603, 604, 605, 606)) placed on the right side may be displayed. The remaining cases can be understood similarly.
[0136] Fig. 20 is a flowchart of a method of operating an electronic device according to one embodiment. Fig. 20 can be explained with reference to the previously described embodiment.
[0137] With reference to FIG. 20, one can understand the update of the reference value (e.g., the reference angle of FIG. 9, or the reference range of FIG. 10 or FIG. 11).
[0138] At least some of the operations of FIG. 20 may be omitted. The order of the operations of FIG. 20 may be changed. Operations other than those of FIG. 20 may be performed before, during, or after the operations of FIG. 20.
[0139] Referring to FIG. 20, in operation 2001, according to one embodiment, the electronic device (200) (e.g., processor (120)) may identify a first event at a first point in time. The first event of operation 2001 may be one of an event corresponding to tilt detection of FIG. 9, an event corresponding to touch detection of the sides (211, 212, 213, 214, 215, 216) of FIG. 10, or an event corresponding to touch detection of the border of a display (e.g., foldable display (230)).
[0140] In operation 2003, according to one embodiment, the electronic device (200) (e.g., processor (120)) may identify a second event related to connection of a port at a second point in time. The second event of operation 2003 may be an event indicating that an external device is connected to at least one port (e.g., 603; 604; 606) among a plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) of the electronic device (200).
[0141] In operation 2005, according to one embodiment, the electronic device (200) (e.g., processor (120)) may determine whether the second point in time of operation 2003 is within a reference time from the first point in time of operation 2001. The electronic device (200) may perform operation 2007 based on whether the second event is confirmed within a reference time from the time at which the first event is confirmed.
[0142] In operation 2007, according to one embodiment, the electronic device (200) (e.g., processor (120)) may check whether the direction corresponding to the first event of operation 2001 matches the direction corresponding to the second event of operation 2003. According to one embodiment, “direction” may include “position.” The direction corresponding to the first event of operation 2001 may be understood with reference to the embodiments of checking the direction corresponding to the event in FIGS. 9, 10, and 11. The direction corresponding to the second event of operation 2003 may be the direction of a port (e.g., 603; 604; 606) connected within a reference time from the time of checking the first event of operation 2001. For example, when the electronic device (200) is placed vertically, if a touch detection is confirmed at the lower right side (e.g., the second side (212)) at a first point in time, and an external device is connected to a port (e.g., the sixth port (606)) placed at the lower right side (e.g., the second side (212)) within a reference time from the first point in time, the electronic device (200) can confirm that the directions of the 2007 operations match. For example, when the electronic device (200) is placed vertically, if a touch detection is confirmed at the lower right side (e.g., the second side (212)) at a first point in time, and an external device is connected to a port (e.g., the seventh port (607)) placed at the lower left side (e.g., the fourth side (214)) within a reference time from the first point in time, the electronic device (200) can confirm that the directions of the 2007 operations do not match.
[0143] In operation 2009, according to one embodiment, the electronic device (200) (e.g., processor (120)) may update a reference value corresponding to a first event of operation 2001 based on confirming a match of the directions of operation 2007. For example, if the first event of operation 2001 is an event corresponding to tilt detection, the electronic device (200) may update a reference angle related to tilt detection to a tilt angle corresponding to operation 2001. For example, if the first event of operation 2001 is an event corresponding to touch detection of the sides (211, 212, 213, 214, 215, 216), the electronic device (200) may update a reference range related to touch detection of the sides (211, 212, 213, 214, 215, 216) to a touch range corresponding to operation 2001. For example, if the first event of the 2001 operation is an event corresponding to touch detection of the border of the display (e.g., foldable display (230)), the electronic device (200) can update the reference range related to touch detection of the border of the display (e.g., foldable display (230)) to the touch range corresponding to the 2001 operation.
[0144] Fig. 21 is a flowchart of a method of operating an electronic device according to one embodiment. Fig. 21 can be explained with reference to the previously described embodiment.
[0145] At least some of the operations of FIG. 21 may be omitted. The order of the operations of FIG. 21 may be changed. Operations other than those of FIG. 21 may be performed before, during, or after the operations of FIG. 21.
[0146] Referring to FIG. 21, in operation 2101, according to one embodiment, the electronic device (200) (e.g., processor (120)) may check multiple events. The multiple events may include at least two events from among an event corresponding to a shortcut key input, an event corresponding to a gesture input, an event corresponding to tilt detection, an event corresponding to touch detection of a side (211, 212, 213, 214, 215, 216), or an event corresponding to touch detection of a border of a display (e.g., foldable display (230)). The electronic device (200) may check multiple events simultaneously or check multiple events within a specified time.
[0147] In operation 2103, according to one embodiment, the electronic device (200) (e.g., the processor (120)) may identify one event from among a plurality of events based on priorities. The electronic device (200) may perform a specific operation based on one event selected based on a specified priority. For example, when the electronic device (200) identifies a first event and a second event simultaneously or within a specified time, for example, if the priority of the second event is higher than that of the first event, the electronic device (200) may display port information (or an icon corresponding to the port information) based on the second event. Embodiments of displaying port information (or an icon corresponding to the port information) may be understood with reference to the embodiments described above.
[0148] Fig. 22 is a flowchart of a method of operating an electronic device according to one embodiment. Fig. 22 can be explained with reference to the previously described embodiment.
[0149] At least some of the operations of FIG. 22 may be omitted. The order of the operations of FIG. 22 may be changed. Operations other than those of FIG. 22 may be performed before, during, or after the operations of FIG. 22.
[0150] Referring to FIG. 22, in operation 2201, according to one embodiment, the electronic device (200) (e.g., processor (120)) may obtain information about a plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). According to one embodiment, the electronic device (200) may obtain information about the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) from a server (e.g., server (108) of FIG. 1) through a communication module (e.g., communication module (190)). The above information may correspond to multiple ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). For example, the information corresponding to multiple ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) may include a port ID, a port type, a port name, a side on which the port is arranged (211, 212, 213, 214, 215, 216), or a detailed location of the port on the side on which the port is arranged (211, 212, 213, 214, 215, 216). There is no limitation on the time at which the electronic device (200) obtains information from a server (e.g., server (108) of FIG. 1). The electronic device (200) can update information corresponding to a plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) by comparing information obtained from the server (e.g., server (108) of FIG. 1) with information stored in a memory (e.g., memory (130)). According to one embodiment, the electronic device (200) can obtain (e.g., confirm) information about a plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) stored in a memory (e.g., memory (130)).For example, the electronic device (200) may store information about a plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) obtained from a server (e.g., server (108) of FIG. 1) in a memory (e.g., memory (130)), or may include a memory (e.g., memory (130)) that stores information about a plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) regardless of the server (e.g., server (108) of FIG. 1).
[0151] Fig. 23 is a flowchart of a method of operating an electronic device according to one embodiment. Fig. 23 can be explained with reference to the previously described embodiment.
[0152] At least some of the operations of FIG. 23 may be omitted. The order of the operations of FIG. 23 may be changed. Operations other than those of FIG. 23 may be performed before, during, or after the operations of FIG. 23.
[0153] Referring to FIG. 23, in operation 2301, according to one embodiment, the electronic device (200) (e.g., processor (120)) may check a condition (e.g., occurrence of an event of FIG. 7, FIG. 8, FIG. 9, FIG. 10, and / or FIG. 11) to indicate the location of a port (e.g., (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613)).
[0154] In operation 2303, according to one embodiment, the electronic device (200) (e.g., processor (120)) may perform operations 2305, 2307, 2309, and 2311 based on the determination that the condition confirmed by operation 2301 is a condition (e.g., occurrence of an event of FIG. 7 and / or FIG. 8) for indicating the location of all ports (e.g., (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613)). In operation 2303, according to one embodiment, the electronic device (200) (e.g., processor (120)) may perform operations 2313, 2315, 2317, and 2319 based on confirmation that the condition confirmed by operation 2301 is not a condition (e.g., occurrence of an event of FIG. 7 and / or FIG. 8) for indicating the location of all ports (e.g., (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613)), and / or confirmation of the occurrence of an event of FIG. 9, FIG. 10, and / or FIG. 11).
[0155] In operation 2305, according to one embodiment, the electronic device (200) (e.g., processor (120)) can check the location information of all ports (e.g., (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613)). For example, the electronic device (200) can check the location information of all ports stored in a memory (e.g., memory (130)). For example, the electronic device (200) can obtain the location information of all ports from a server (e.g., server (108)).
[0156] In operation 2307, according to one embodiment, the electronic device (200) (e.g., processor (120)) can check connection information (e.g., connection or release) of all ports (e.g., (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613)).
[0157] In operation 2309, according to one embodiment, the electronic device (200) (e.g., processor (120)) can check additional information of all ports (e.g., (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613)). For example, the electronic device (200) can check additional information of all ports stored in a memory (e.g., memory (130)). For example, the electronic device (200) can obtain additional information of all ports from a server (e.g., server (108)).
[0158] In operation 2311, according to one embodiment, the electronic device (200) (e.g., processor (120)) may display icons (e.g., icons corresponding to location information, connection information, and / or additional information) associated with all ports (e.g., (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613)).
[0159] In operation 2313, according to one embodiment, the electronic device (200) (e.g., processor (120)) may check the location information of ports (e.g., (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613)) located on a side to be displayed (e.g., a side in a direction (and / or position) corresponding to an event). For example, the electronic device (200) may check the location information of the ports located on a side to be displayed (e.g., a side in a direction (and / or position) corresponding to an event) stored in a memory (e.g., memory (130)). For example, the electronic device (200) may obtain the location information of the ports located on a side to be displayed (e.g., a side in a direction (and / or position) corresponding to an event) from a server (e.g., server (108)).
[0160] In operation 2307, according to one embodiment, the electronic device (200) (e.g., processor (120)) can check connection information (e.g., connection or release) of a port (e.g., (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613)) located on a side to be displayed (e.g., a side of a direction (and / or position) corresponding to an event).
[0161] In operation 2309, according to one embodiment, the electronic device (200) (e.g., processor (120)) may check additional information of ports (e.g., (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613)) located on a side to be displayed (e.g., a side in a direction (and / or position) corresponding to an event). For example, the electronic device (200) may check additional information of ports located on a side to be displayed (e.g., a side in a direction (and / or position) corresponding to an event) stored in a memory (e.g., memory (130)). For example, the electronic device (200) may obtain additional information of ports located on a side to be displayed (e.g., a side in a direction (and / or position) corresponding to an event) from a server (e.g., server (108)).
[0162] In operation 2311, according to one embodiment, the electronic device (200) (e.g., processor (120)) may display icons (e.g., icons corresponding to location information, connection information, and / or additional information) associated with ports (e.g., (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613)) located on a side to be displayed (e.g., a side in a direction (and / or position) corresponding to an event).
[0163] FIG. 24 is a drawing illustrating an electronic device according to one embodiment.
[0164] As described above, according to one embodiment, the electronic device (2400) of FIG. 24 may be a non-folding device. The remaining embodiments, except for the folding-related embodiments of the electronic device (200) of FIG. 2, may be applied to the electronic device (2400) of FIG. 24. For example, the embodiments of FIGS. 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 21, 22, and 23 may also be applied to the electronic device (2400) of FIG. 24.
[0165] In one embodiment, referring to FIG. 24, the electronic device (200) may include a housing (2401; 2402) and a display module (160) (e.g., a display (2430)) disposed within a space formed by the housing (2401; 2402). The housing (2401; 2402) may include a first region (2401) and a second region (2402). The display (2430) may include a plurality of regions (2431; 2432; 2433; 2434). The surface on which the display (2430) is disposed (or the surface on which the display (2430) is visible from the outside of the electronic device (2400)) may be defined as the front surface of the electronic device (2400). The opposite side of the front surface can be defined as the back surface (2421; 2422; 2423; 2424) of the electronic device (2400). The surface surrounding the space between the front and back surfaces (2421; 2422; 2423; 2424) can be defined as the side surfaces (2411; 2412; 2413; 2414; 2415; 2416) of the electronic device (2400).
[0166] According to one embodiment, at least a portion of the housing (2401; 2402) may be formed of a metallic or non-metallic material having a rigidity of a selected size to support the display (2430). At least a portion formed of the metallic material may provide a ground plane of the electronic device (2400) and may be electrically connected to a ground line formed on a printed circuit board.
[0167] According to one embodiment, one or more components or sensors may be positioned or visually exposed on the rear surface (2421; 2422; 2423; 2424) of the electronic device (2400). For example, the sensors exposed through the rear surface (2421; 2422; 2423; 2424) may include a proximity sensor or a rear camera.
[0168] In one embodiment, the display (2430) may be positioned in a space formed by the housing (2401; 2402). For example, the display (2430) may be seated in a recess formed by the housing (2401; 2402) and may constitute most of the front surface of the electronic device (2400).
[0169] According to one embodiment, the front of the electronic device (2400) may include a display (2430) and a portion of a housing (2401; 2402) adjacent to the display (2430).
[0170] According to one embodiment, the display (2430) may include four regions (e.g., a first region (2431), a second region (2432), a third region (2433), and a fourth region (2434)) based on a first axis (A-A') and a second axis (B-B'). Depending on the rotation of the electronic device (2400), the positions of the multiple regions (2431; 2432; 2433; 2434) of the display (2430), i.e., left, right, upper, lower, upper left, lower left, upper right, and lower right, may be defined differently.
[0171] Meanwhile, the division of regions of the display (2430) illustrated in FIG. 24 is exemplary, and the display (2430) may be divided into multiple regions (e.g., 6 or more or 4 or less) depending on its structure or function. In addition, the multiple regions (2431; 2432; 2433; 2434) of the display (2430) are regions logically distinguished for convenience of explanation, and may not be regions separated by hardware.
[0172] According to one embodiment, the sides (2411; 2412; 2413; 2414; 2415; 2416) of the electronic device (2400) may include a first side (2411), a second side (2412), a third side (2413), a fourth side (2414), a fifth side (2415), and a sixth side (2416). The first side (2411) and the second side (2412) may form one side. The first side (2411) and the second side (2412) may be distinguished based on the first axis (A-A'). The fourth side (2414) and the fifth side (2415) may form one side. The fourth side (2414) and the fifth side (2415) can be distinguished based on the first axis (A-A'). The third side (2413) can be a single side that is not distinguished. The sixth side (2416) can be a single side that is not distinguished.
[0173] The electronic device (2400) of FIG. 24 may be understood to be identical to the electronic device (200) of FIG. 2, except that it is not foldable. For example, the electronic device (240) of FIG. 24 may display at least one icon corresponding to at least one port among a plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) based on at least one event (e.g., at least one event corresponding to a shortcut key input, an event corresponding to a gesture input, an event corresponding to tilt detection, an event corresponding to touch detection of the sides (2411, 2412, 2413, 2414, 2415, 2416), or an event corresponding to touch detection of the border of the display (e.g., the display (2430))). Therefore, a duplicate description will be omitted.
[0174] Those skilled in the art will appreciate that the embodiments described herein may be applied interchangeably, within the scope of their applicability. For example, those skilled in the art will appreciate that at least some operations of one embodiment described herein may be omitted and applied, or at least some operations of one embodiment may be applied in conjunction with at least some operations of another embodiment.
[0175] According to one embodiment, an electronic device (101; 200) comprises: a first housing (201) including a first side and a second side facing in a direction opposite to a direction in which the first side faces; a second housing (202) including a third side and a fourth side facing in a direction opposite to a direction in which the third side faces; a hinge (400) disposed between the first housing (201) and the second housing (202) and configured to change a folding state of the electronic device (101; 200); a foldable display (160; 230) disposed on the first side and the third side; a plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611;) disposed on a side of the first housing (201) or a side of the second housing (202); 612; 613), and a processor (120). The processor (120) may be configured to check the folding state. The processor (120) may be configured to check at least one event. The processor (120) may be configured to display at least one icon corresponding to at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) on at least one area (231; 232; 233; 234; 235) of the foldable display (160; 230) based on the folding state and the at least one event. The at least one area (231; 232; 233; 234; 235) may correspond to a position of the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613).
[0176] According to one embodiment, the processor (120) may be configured to control the foldable display (160; 230) to display all of the plurality of icons corresponding to the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) based on identifying at least one of a first event corresponding to a shortcut key input or a second event corresponding to a gesture input.
[0177] According to one embodiment, the processor (120) may be configured to determine a direction corresponding to at least one of the third event, the fourth event, or the fifth event based on determining at least one of a third event corresponding to tilt detection, a fourth event corresponding to touch detection of the side of the first housing (201) or the side of the second housing (202), or a fifth event corresponding to touch detection of the edge of the foldable display (160; 230). The processor (120) may be configured to control the foldable display (160; 230) to display at least one icon corresponding to at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) corresponding to the direction among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613).
[0178] According to one embodiment, the processor (120) may be configured to identify a first direction as the direction based on the folding state being a first state. The first direction may correspond to the at least one event. The processor (120) may be configured to identify a second direction as the direction based on the folding state being a second state. The second direction may correspond to the at least one event and the second state.
[0179] According to one embodiment, the processor (120) may be configured to, based on the identification of the third event, identify at least one tilt angle of the electronic device (101; 200) corresponding to the third event. The processor (120) may be configured to identify the direction by comparing the at least one tilt angle with at least one reference angle.
[0180] According to one embodiment, the processor (120) may be configured to identify at least one first touch location corresponding to the fourth event based on the identification of the fourth event. The processor (120) may be configured to identify the direction based on the at least one first touch location.
[0181] According to one embodiment, the processor (120) may be configured to identify at least one first touch range corresponding to the at least one first touch location. The processor (120) may be configured to identify the direction by comparing the at least one first touch range with at least one first reference range.
[0182] According to one embodiment, the processor (120) may be configured to, based on the identification of the fifth event, identify at least one second touch location corresponding to the fifth event. The processor (120) may be configured to identify the direction based on the at least one second touch location.
[0183] According to one embodiment, the processor (120) may be configured to identify at least one second touch range corresponding to the at least one second touch location. The processor (120) may be configured to identify the direction by comparing the at least one second touch range with at least one second reference range.
[0184] According to one embodiment, the processor (120) may be configured to identify a sixth event related to a connection of the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). The processor (120) may be configured to display the at least one icon based on the sixth event.
[0185] According to one embodiment, the processor (120) may be configured to update at least one reference value corresponding to the at least one event based on the at least one event and the sixth event. The processor (120) may be configured to display the at least one icon based on the updated at least one reference value.
[0186] According to one embodiment, the processor (120) may be configured to update the at least one reference value corresponding to the at least one event based on the occurrence of the sixth event within a reference time from the time when the at least one event occurs and the direction corresponding to the at least one event matches the direction corresponding to the sixth event.
[0187] According to one embodiment, the processor (120) may be configured to identify one of the at least one event based on a specified priority. The processor (120) may be configured to display at least one icon corresponding to the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) based on the identified one event based on the specified priority.
[0188] According to one embodiment, the electronic device (101; 200) may include a communication module (190). The processor (120) may be configured to obtain information about the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) from the server (108) through the communication module (190). The information may correspond to the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613).
[0189] According to one embodiment, a method of operating an electronic device (101; 200) may include an operation of checking a folding state of the electronic device (101; 200). The method may include an operation of checking at least one event. The method may include an operation of displaying at least one icon corresponding to at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) among a plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) arranged on a side of a housing (201; 202) of the electronic device (101; 200) on at least one area (231; 232; 233; 234; 235) of a foldable display (160; 230) of the electronic device (101; 200), based on the folding state and the at least one event. The at least one area (231; 232; 233; 234; 235) may correspond to a position of the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613).
[0190] According to one embodiment, the act of displaying the at least one icon may include an act of displaying all of the plurality of icons corresponding to the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) based on identifying at least one of a first event corresponding to a shortcut key input or a second event corresponding to a gesture input.
[0191] According to one embodiment, the act of displaying the at least one icon may include an act of identifying a direction corresponding to at least one of the third event, the fourth event, or the fifth event, based on identifying at least one of a third event corresponding to tilt detection, a fourth event corresponding to touch detection of the side of the first housing (201) or the side of the second housing (202), or a fifth event corresponding to touch detection of a border of the foldable display (160; 230). The operation of displaying at least one icon may include an operation of displaying at least one icon corresponding to at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) corresponding to the direction among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613).
[0192] In one embodiment, the operation of confirming the direction may include an operation of confirming a first direction as the direction based on the folding state being a first state. The first direction may correspond to the at least one event. The operation of confirming the direction may include an operation of confirming a second direction as the direction based on the folding state being a second state. The second direction may correspond to the at least one event and the second state.
[0193] According to one embodiment, the operation of confirming the direction may include an operation of confirming at least one tilt angle of the electronic device (101; 200) corresponding to the third event based on confirming the third event. The operation of confirming the direction may include an operation of confirming the direction by comparing the at least one tilt angle with at least one reference angle.
[0194] In one embodiment, the operation of confirming the direction may include an operation of confirming at least one first touch location corresponding to the fourth event based on confirming the fourth event. The operation of confirming the direction may include an operation of confirming the direction based on the at least one first touch location.
[0195] According to one embodiment, the operation of determining the direction may include an operation of determining at least one first touch range corresponding to the at least one first touch location. The operation of determining the direction may include an operation of determining the direction by comparing the at least one first touch range with at least one first reference range.
[0196] In one embodiment, the operation of confirming the direction may include an operation of confirming at least one second touch location corresponding to the fifth event based on confirming the fifth event. The operation of confirming the direction may include an operation of confirming the direction based on the at least one second touch location.
[0197] According to one embodiment, the operation of determining the direction may include an operation of determining at least one second touch range corresponding to the at least one second touch location. The operation of determining the direction may include an operation of determining the direction by comparing the at least one second touch range with at least one second reference range.
[0198] In one embodiment, the act of displaying the at least one icon may include an act of identifying a sixth event related to a connection of the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). The act of displaying the at least one icon may include an act of displaying the at least one icon based on the sixth event.
[0199] According to one embodiment, the operation of displaying the at least one icon may include an operation of updating at least one reference value corresponding to the at least one event based on the at least one event and the sixth event. The operation of displaying the at least one icon may include an operation of displaying the at least one icon based on the updated at least one reference value.
[0200] According to one embodiment, the operation of updating the at least one reference value may include an operation of updating the at least one reference value corresponding to the at least one event based on the occurrence of the sixth event within a reference time from the occurrence of the at least one event and the direction corresponding to the at least one event matching the direction corresponding to the sixth event.
[0201] According to one embodiment, the operation of displaying the at least one icon may include an operation of identifying one of the at least one event based on a specified priority. The operation of displaying the at least one icon may include an operation of displaying the at least one icon corresponding to the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) based on the identified one event based on the specified priority.
[0202] According to one embodiment, the electronic device (101; 200) may include a communication module (190). The method may include an operation of obtaining information about the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) from a server (108) through the communication module (190). The information may correspond to the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613).
[0203] According to one embodiment, a computer-readable recording medium storing instructions configured to cause a processor (120) of an electronic device (101; 200) to perform at least one operation may include an operation of checking a folding state of the electronic device (101; 200). The at least one operation may include an operation of checking at least one event. The at least one operation may include an operation of displaying at least one icon corresponding to at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) among a plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) arranged on a side of a housing (201; 202) of the electronic device (101; 200) on at least one area (231; 232; 233; 234; 235) of a foldable display (160; 230) of the electronic device (101; 200), based on the folding state and the at least one event. The at least one area (231; 232; 233; 234; 235) may correspond to a position of the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613).
[0204] According to one embodiment, the act of displaying the at least one icon may include an act of displaying all of the plurality of icons corresponding to the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) based on identifying at least one of a first event corresponding to a shortcut key input or a second event corresponding to a gesture input.
[0205] According to one embodiment, the act of displaying the at least one icon may include an act of identifying a direction corresponding to at least one of the third event, the fourth event, or the fifth event, based on identifying at least one of a third event corresponding to tilt detection, a fourth event corresponding to touch detection of the side of the first housing (201) or the side of the second housing (202), or a fifth event corresponding to touch detection of a border of the foldable display (160; 230). The operation of displaying at least one icon may include an operation of displaying at least one icon corresponding to at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) corresponding to the direction among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613).
[0206] In one embodiment, the operation of confirming the direction may include an operation of confirming a first direction as the direction based on the folding state being a first state. The first direction may correspond to the at least one event. The operation of confirming the direction may include an operation of confirming a second direction as the direction based on the folding state being a second state. The second direction may correspond to the at least one event and the second state.
[0207] According to one embodiment, the operation of confirming the direction may include an operation of confirming at least one tilt angle of the electronic device (101; 200) corresponding to the third event based on confirming the third event. The operation of confirming the direction may include an operation of confirming the direction by comparing the at least one tilt angle with at least one reference angle.
[0208] In one embodiment, the operation of confirming the direction may include an operation of confirming at least one first touch location corresponding to the fourth event based on confirming the fourth event. The operation of confirming the direction may include an operation of confirming the direction based on the at least one first touch location.
[0209] According to one embodiment, the operation of determining the direction may include an operation of determining at least one first touch range corresponding to the at least one first touch location. The operation of determining the direction may include an operation of determining the direction by comparing the at least one first touch range with at least one first reference range.
[0210] In one embodiment, the operation of confirming the direction may include an operation of confirming at least one second touch location corresponding to the fifth event based on confirming the fifth event. The operation of confirming the direction may include an operation of confirming the direction based on the at least one second touch location.
[0211] According to one embodiment, the operation of determining the direction may include an operation of determining at least one second touch range corresponding to the at least one second touch location. The operation of determining the direction may include an operation of determining the direction by comparing the at least one second touch range with at least one second reference range.
[0212] In one embodiment, the act of displaying the at least one icon may include an act of identifying a sixth event related to a connection of the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). The act of displaying the at least one icon may include an act of displaying the at least one icon based on the sixth event.
[0213] According to one embodiment, the operation of displaying the at least one icon may include an operation of updating at least one reference value corresponding to the at least one event based on the at least one event and the sixth event. The operation of displaying the at least one icon may include an operation of displaying the at least one icon based on the updated at least one reference value.
[0214] According to one embodiment, the operation of updating the at least one reference value may include an operation of updating the at least one reference value corresponding to the at least one event based on the occurrence of the sixth event within a reference time from the occurrence of the at least one event and the direction corresponding to the at least one event matching the direction corresponding to the sixth event.
[0215] According to one embodiment, the operation of displaying the at least one icon may include an operation of identifying one of the at least one event based on a specified priority. The operation of displaying the at least one icon may include an operation of displaying the at least one icon corresponding to the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) based on the identified one event based on the specified priority.
[0216] According to one embodiment, the electronic device (101; 200) may include a communication module (190). The at least one operation may include an operation of obtaining information about the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) from a server (108) through the communication module (190). The information may correspond to the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613).
[0217] According to one embodiment, an electronic device (101; 2400) may include a housing (2401; 2402), at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) disposed on a side of the housing (2401; 2402), a display (2430) disposed on a front of the housing (2401; 2402), and a processor (120). The processor (120) may be configured to identify at least one event from among a first event corresponding to a shortcut key input, a second event corresponding to a gesture input, a third event corresponding to a tilt detection, a fourth event corresponding to a touch detection on the side of the housing (2401; 2402), or a fifth event corresponding to a touch detection on a border of the display (2430). The processor (120) may be configured to display, based on the at least one event, at least one icon corresponding to at least one of the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) in at least one area of the display (2430) corresponding to the location of the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613).
[0218] According to one embodiment, the electronic device (101; 2400) (e.g., processor (120)) may be configured to control the display (160; 2430) to display all of the plurality of icons corresponding to the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) based on identifying at least one of a first event corresponding to a shortcut key input or a second event corresponding to a gesture input.
[0219] According to one embodiment, the electronic device (101; 2400) (e.g., processor (120)) may be configured to determine a direction corresponding to at least one of the third event, the fourth event, or the fifth event based on determining at least one of a third event corresponding to tilt detection, a fourth event corresponding to touch detection of the side of the housing (2401; 2402), or a fifth event corresponding to touch detection of the border of the display (160; 2430). The electronic device (101; 2400) (e.g., processor (120)) may be configured to control the display (160; 2430) to display at least one icon corresponding to at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) corresponding to the direction among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613).
[0220] According to one embodiment, the electronic device (101; 2400) (e.g., processor (120)) may be configured to, based on the identification of the third event, identify at least one tilt angle of the electronic device (101; 2400) corresponding to the third event. The electronic device (101; 2400) (e.g., processor (120)) may be configured to identify the direction by comparing the at least one tilt angle with at least one reference angle.
[0221] According to one embodiment, the electronic device (101; 2400) (e.g., processor (120)) may be configured to identify at least one first touch location corresponding to the fourth event based on identifying the fourth event. The electronic device (101; 2400) (e.g., processor (120)) may be configured to identify the direction based on the at least one first touch location.
[0222] According to one embodiment, the electronic device (101; 2400) (e.g., processor (120)) may be configured to identify at least one first touch range corresponding to the at least one first touch location. The electronic device (101; 2400) (e.g., processor (120)) may be configured to identify the direction by comparing the at least one first touch range with at least one first reference range.
[0223] According to one embodiment, the electronic device (101; 2400) (e.g., processor (120)) may be configured to, based on the identification of the fifth event, identify at least one second touch location corresponding to the fifth event. The electronic device (101; 2400) (e.g., processor (120)) may be configured to identify the direction based on the at least one second touch location.
[0224] According to one embodiment, the electronic device (101; 2400) (e.g., processor (120)) may be configured to identify at least one second touch range corresponding to the at least one second touch location. The electronic device (101; 2400) (e.g., processor (120)) may be configured to identify the direction by comparing the at least one second touch range with at least one second reference range.
[0225] According to one embodiment, the electronic device (101; 2400) (e.g., processor (120)) may be configured to identify a sixth event related to a connection of the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). The electronic device (101; 2400) (e.g., processor (120)) may be configured to display the at least one icon based on the sixth event.
[0226] According to one embodiment, the electronic device (101; 2400) (e.g., processor (120)) may be configured to update at least one reference value corresponding to the at least one event based on the at least one event and the sixth event. The electronic device (101; 2400) (e.g., processor (120)) may be configured to display the at least one icon based on the updated at least one reference value.
[0227] According to one embodiment, the electronic device (101; 2400) (e.g., processor (120)) may be configured to update the at least one reference value corresponding to the at least one event based on the occurrence of the sixth event within a reference time from the time at which the at least one event occurs and the direction corresponding to the at least one event matches the direction corresponding to the sixth event.
[0228] According to one embodiment, the electronic device (101; 2400) (e.g., processor (120)) may be configured to identify one of the at least one event based on a specified priority. The electronic device (101; 2400) (e.g., processor (120)) may be configured to display the at least one icon corresponding to the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) based on the identified one event based on the specified priority.
[0229] According to one embodiment, the electronic device (101; 2400) may include a communication module (190). The electronic device (101; 2400) (e.g., processor (120)) may be configured to obtain information about the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) from the server (108) through the communication module (190). The information may correspond to the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613).
[0230] According to one embodiment, a method of operating an electronic device (101; 2400) may include an operation of confirming at least one event among a first event corresponding to a shortcut key input, a second event corresponding to a gesture input, a third event corresponding to tilt detection, a fourth event corresponding to a touch detection on a side of a housing (2401; 2402) of the electronic device (101; 2400), or a fifth event corresponding to a touch detection on a border of a display (2430) of the electronic device (101; 2400). The method may include, based on the at least one event, an operation of displaying at least one icon corresponding to at least one of the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) in at least one area of the display (2430) corresponding to a location of at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) of the electronic device (101; 2400).
[0231] According to one embodiment, the act of displaying the at least one icon may include an act of displaying all of the plurality of icons corresponding to the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) based on identifying at least one of a first event corresponding to a shortcut key input or a second event corresponding to a gesture input.
[0232] According to one embodiment, the act of displaying the at least one icon may include an act of identifying a direction corresponding to at least one of the third event, the fourth event, or the fifth event, based on identifying at least one of a third event corresponding to tilt detection, a fourth event corresponding to touch detection of the side of the housing (2401; 2402), or a fifth event corresponding to touch detection of a border of the display (160; 2430). The operation of displaying at least one icon may include an operation of displaying at least one icon corresponding to at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) corresponding to the direction among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613).
[0233] According to one embodiment, the operation of confirming the direction may include an operation of confirming at least one tilt angle of the electronic device (101; 2400) corresponding to the third event based on confirming the third event. The operation of confirming the direction may include an operation of confirming the direction by comparing the at least one tilt angle with at least one reference angle.
[0234] In one embodiment, the operation of confirming the direction may include an operation of confirming at least one first touch location corresponding to the fourth event based on confirming the fourth event. The operation of confirming the direction may include an operation of confirming the direction based on the at least one first touch location.
[0235] According to one embodiment, the operation of determining the direction may include an operation of determining at least one first touch range corresponding to the at least one first touch location. The operation of determining the direction may include an operation of determining the direction by comparing the at least one first touch range with at least one first reference range.
[0236] In one embodiment, the operation of confirming the direction may include an operation of confirming at least one second touch location corresponding to the fifth event based on confirming the fifth event. The operation of confirming the direction may include an operation of confirming the direction based on the at least one second touch location.
[0237] According to one embodiment, the operation of determining the direction may include an operation of determining at least one second touch range corresponding to the at least one second touch location. The operation of determining the direction may include an operation of determining the direction by comparing the at least one second touch range with at least one second reference range.
[0238] In one embodiment, the act of displaying the at least one icon may include an act of identifying a sixth event related to a connection of the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). The act of displaying the at least one icon may include an act of displaying the at least one icon based on the sixth event.
[0239] According to one embodiment, the operation of displaying the at least one icon may include an operation of updating at least one reference value corresponding to the at least one event based on the at least one event and the sixth event. The operation of displaying the at least one icon may include an operation of displaying the at least one icon based on the updated at least one reference value.
[0240] According to one embodiment, the operation of updating the at least one reference value may include an operation of updating the at least one reference value corresponding to the at least one event based on the occurrence of the sixth event within a reference time from the occurrence of the at least one event and the direction corresponding to the at least one event matching the direction corresponding to the sixth event.
[0241] According to one embodiment, the operation of displaying the at least one icon may include an operation of identifying one of the at least one event based on a specified priority. The operation of displaying the at least one icon may include an operation of displaying the at least one icon corresponding to the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) based on the identified one event based on the specified priority.
[0242] According to one embodiment, the electronic device (101; 2400) may include a communication module (190). The method may include an operation of obtaining information about the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) from a server (108) through the communication module (190). The information may correspond to the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613).
[0243] According to one embodiment, a computer-readable recording medium storing instructions set to cause a processor (120) of an electronic device (101; 2400) to perform at least one operation may include an operation of confirming at least one event from among a first event corresponding to a shortcut key input, a second event corresponding to a gesture input, a third event corresponding to a tilt detection, a fourth event corresponding to a touch detection of a side of a housing (2401; 2402) of the electronic device (101; 2400), or a fifth event corresponding to a touch detection of a border of a display (2430) of the electronic device (101; 2400). The method may include, based on the at least one event, an operation of displaying at least one icon corresponding to at least one of the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) in at least one area of the display (2430) corresponding to a location of at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) of the electronic device (101; 2400).
[0244] According to one embodiment, the act of displaying the at least one icon may include an act of displaying all of the plurality of icons corresponding to the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) based on identifying at least one of a first event corresponding to a shortcut key input or a second event corresponding to a gesture input.
[0245] According to one embodiment, the act of displaying the at least one icon may include an act of identifying a direction corresponding to at least one of the third event, the fourth event, or the fifth event, based on identifying at least one of a third event corresponding to tilt detection, a fourth event corresponding to touch detection of the side of the housing (2401; 2402), or a fifth event corresponding to touch detection of a border of the display (160; 2430). The operation of displaying at least one icon may include an operation of displaying at least one icon corresponding to at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) corresponding to the direction among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613).
[0246] According to one embodiment, the operation of confirming the direction may include an operation of confirming at least one tilt angle of the electronic device (101; 2400) corresponding to the third event based on confirming the third event. The operation of confirming the direction may include an operation of confirming the direction by comparing the at least one tilt angle with at least one reference angle.
[0247] In one embodiment, the operation of confirming the direction may include an operation of confirming at least one first touch location corresponding to the fourth event based on confirming the fourth event. The operation of confirming the direction may include an operation of confirming the direction based on the at least one first touch location.
[0248] According to one embodiment, the operation of determining the direction may include an operation of determining at least one first touch range corresponding to the at least one first touch location. The operation of determining the direction may include an operation of determining the direction by comparing the at least one first touch range with at least one first reference range.
[0249] In one embodiment, the operation of confirming the direction may include an operation of confirming at least one second touch location corresponding to the fifth event based on confirming the fifth event. The operation of confirming the direction may include an operation of confirming the direction based on the at least one second touch location.
[0250] According to one embodiment, the operation of determining the direction may include an operation of determining at least one second touch range corresponding to the at least one second touch location. The operation of determining the direction may include an operation of determining the direction by comparing the at least one second touch range with at least one second reference range.
[0251] In one embodiment, the act of displaying the at least one icon may include an act of identifying a sixth event related to a connection of the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). The act of displaying the at least one icon may include an act of displaying the at least one icon based on the sixth event.
[0252] According to one embodiment, the operation of displaying the at least one icon may include an operation of updating at least one reference value corresponding to the at least one event based on the at least one event and the sixth event. The operation of displaying the at least one icon may include an operation of displaying the at least one icon based on the updated at least one reference value.
[0253] According to one embodiment, the operation of updating the at least one reference value may include an operation of updating the at least one reference value corresponding to the at least one event based on the occurrence of the sixth event within a reference time from the occurrence of the at least one event and the direction corresponding to the at least one event matching the direction corresponding to the sixth event.
[0254] According to one embodiment, the operation of displaying the at least one icon may include an operation of identifying one of the at least one event based on a specified priority. The operation of displaying the at least one icon may include an operation of displaying the at least one icon corresponding to the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) based on the identified one event based on the specified priority.
[0255] According to one embodiment, the electronic device (101; 2400) may include a communication module (190). The method may include an operation of obtaining information about the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) from a server (108) through the communication module (190). The information may correspond to the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613).
[0256] Based on the above-described embodiments, the electronic device (101; 200; 2400) can improve the usability of the electronic device (101; 200; 2400) by guiding the user to the locations of the ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) arranged in the electronic device (101; 200; 2400). Based on the above-described embodiments, the electronic device (101; 200; 2400) can reduce power consumption of the electronic device (101; 200; 2400) by guiding the user to the position of a port in a direction corresponding to at least one event among the ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) arranged in the electronic device (101; 200; 2400).
[0257] The embodiments of this document and the terminology used herein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish the corresponding component from other corresponding components and do not limit the corresponding components in any other respect (e.g., importance or order). When a (e.g., first) component is referred to as "coupled" or "connected" to another (e.g., second) component, with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or via a third component. In embodiments, each of the above-described components may include singular or plural entities, and some of the plural entities may be separately disposed in other components. In embodiments, one or more of the aforementioned components or operations may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components may be integrated into a single component.In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to embodiments, the operations performed by the component may be performed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be performed in a different order, omitted, or one or more other operations may be added.
Claims
1. In an electronic device (101; 200), A first housing (201) including a first side and a second side facing in a direction opposite to the direction in which the first side faces; A second housing (202) including a third side and a fourth side facing in a direction opposite to the direction in which the third side faces; A hinge (400) arranged between the first housing (201) and the second housing (202) and configured to change the folding state of the electronic device (101; 200); A foldable display (160; 230) disposed on the first side and the third side; A plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) arranged on the side of the first housing (201) or the side of the second housing (202); and Contains a processor (120), The above processor (120) Check the above folding status, Check at least one event, Based on the above folding state and the at least one event, at least one icon corresponding to at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) is configured to be displayed on at least one area (231; 232; 233; 234; 235) of the foldable display (160; 230), The at least one region (231; 232; 233; 234; 235) corresponds to a position of the at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). Electronic devices (101; 200).
2. In paragraph 1, The above processor (120) A foldable display (160; 230) configured to control the plurality of icons corresponding to the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) to all be displayed based on at least one of a first event corresponding to a shortcut key input or a second event corresponding to a gesture input. Electronic devices (101; 200).
3. In paragraph 1 or 2, The above processor (120) Based on identifying at least one of a third event corresponding to tilt detection, a fourth event corresponding to touch detection of the side of the first housing (201) or the side of the second housing (202), or a fifth event corresponding to touch detection of the edge of the foldable display (160; 230), identifying a direction corresponding to at least one of the third event, the fourth event, or the fifth event, The foldable display (160; 230) is configured to control the display to display at least one icon corresponding to at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) corresponding to the direction among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). Electronic devices (101; 200).
4. In any one of paragraphs 1 to 3, The above processor (120) Based on the above folding state being the first state, the first direction is confirmed as the first direction, and the first direction corresponds to the at least one event, Based on the above folding state being the second state, the second direction is identified as the second direction, and the second direction corresponds to the at least one event and the second state. Electronic devices (101; 200).
5. In any one of paragraphs 1 to 4, The above processor (120) Based on the verification of the third event, at least one tilt angle of the electronic device (101; 200) corresponding to the third event is verified, configured to determine the direction by comparing at least one tilt angle with at least one reference angle; Electronic devices (101; 200).
6. In any one of paragraphs 1 to 5, The above processor (120) Based on the verification of the fourth event, at least one first touch location corresponding to the fourth event is verified, configured to determine the direction based on at least one of the first touch locations; Electronic devices (101; 200).
7. In any one of paragraphs 1 to 6, The above processor (120) Identify at least one first touch range corresponding to at least one first touch location, configured to determine the direction by comparing at least one first touch range with at least one first reference range; Electronic devices (101; 200).
8. In any one of paragraphs 1 to 7, The above processor (120) Based on the verification of the fifth event, at least one second touch location corresponding to the fifth event is verified, configured to determine the direction based on at least one of the second touch locations; Electronic devices (101; 200).
9. In any one of paragraphs 1 to 8, The above processor (120) Identifying at least one second touch range corresponding to at least one second touch location, configured to determine the direction by comparing at least one second touch range with at least one second reference range; Electronic devices (101; 200).
10. In any one of paragraphs 1 to 9, The above processor (120) Identify a sixth event related to a connection of at least one of the above ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613), Based on the above sixth event, configured to display at least one icon, Electronic devices (101; 200).
11. In any one of paragraphs 1 to 10, The above processor (120) Based on the at least one event and the sixth event, updating at least one reference value corresponding to the at least one event, configured to display at least one icon based on at least one of the updated criteria, Electronic devices (101; 200).
12. In any one of paragraphs 1 to 11, The above processor (120) The sixth event occurs within a reference time from the time at which the at least one event occurs, and the direction corresponding to the at least one event matches the direction corresponding to the sixth event, and the at least one reference value corresponding to the at least one event is configured to be updated. Electronic devices (101; 200).
13. In any one of paragraphs 1 to 12, The above processor (120) Based on the specified priority, identify one of the above at least one event, Based on said one event identified based on said specified priority, configured to display said at least one icon corresponding to said at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). Electronic devices (101; 200).
14. In any one of paragraphs 1 to 13, Further comprising a communication module (190), The above processor (120) It is configured to acquire information about the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) through the communication module (190) from the server (108), and the information corresponds to the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). Electronic devices (101; 200).
15. In the operating method of an electronic device (101; 200), An operation for checking the folding state of the above electronic device (101; 200), An action that verifies at least one event, and An operation of displaying at least one icon corresponding to at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) among a plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) arranged on a side of a housing (201; 202) of the electronic device (101; 200) on at least one area (231; 232; 233; 234; 235) of a foldable display (160; 230) of the electronic device (101; 200), and 233; 234; 235) corresponds to the position of at least one port (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613) among the plurality of ports (601; 602; 603; 604; 605; 606; 607; 608; 611; 612; 613). method.
Citation Information
Patent Citations
Method and apparatus for peripheral connection
KR101908947B1
Mobile terminal and method of providing graphical user interface therein
KR1020100115226A
Mobile terminal and control method thereof
KR1020140110626A
Method for displaying visual effect of a portable terminal and fortable terminal therefor
KR1020140143685A
Server operating reptile trading platform and method for operating the same
KR102139316B1