Electronic device for controlling screen including virtual keypad and method for controlling the same
By displaying the transparency changes and guidance messages of the virtual keypad on the flexible display of the electronic device, combined with the technology of moving the second housing, the problem of overlapping of the virtual keypad and the text input field is solved, and the user recognition ability and device usability are improved.
Patent Information
- Application Number
- CN202380025555.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-03-21
- Filing Date
- 2023-03-03
- Publication Date
- 2024-10-22
AI Technical Summary
In a resizable electronic device with a display, the virtual keypad and the text input field may overlap when the device is in a collapsed state, making it difficult for the user to recognize what is being typed and reducing the usability of the device.
By displaying transparency changes and guidance messages of the virtual keypad on the flexible display, the user is allowed to identify characters where the virtual keypad overlaps with the text input field, and adjust the screen to avoid overlap by moving the second housing.
When the electronic device is closed, the user can easily identify the content of the overlapping text input field of the virtual keypad without displaying all characters, which improves the user experience and usability of the device.
Smart Images

Figure CN118829962A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to an electronic device for controlling a screen including a virtual keypad and a method for controlling the same. Background Art
[0002] More and more services and additional functions are being provided through electronic devices (e.g., smart phones or other portable electronic devices). In order to meet the needs of various users and improve the efficiency of using electronic devices, communication service operators or device manufacturers are competing to develop electronic devices with differentiated and diversified functions. Therefore, various functions provided by electronic devices are evolving more and more. Summary of the invention
[0003] Technical issues
[0004] In an electronic device with an exposed area of a display that can be resized (e.g., an electronic device including a flexible display), a virtual keypad can overlap with a text input field according to the size adjustment of the exposed area of the display, making it difficult to identify what the user is currently typing (e.g., text). For example, in an extended state of the electronic device (e.g., a fully open state), the text input field does not overlap with the virtual keypad, so that the user can easily identify the text being typed into the text input field. However, in a contracted state of the electronic device (e.g., a fully closed state), the text input field may overlap with the virtual keypad, making it difficult for the user to identify the text being typed into the text input field. To this end, the user may be required to perform additional scrolling on the screen to identify the text being typed, or scrolling on the screen may be impossible depending on the layout. In this case, the usability of the electronic device with an exposed area of a display that can be resized may be significantly reduced.
[0005] According to an embodiment of the present disclosure, an electronic device can be provided. When a virtual keypad overlaps a text input field when the electronic device including a flexible display is in a closed state, the electronic device controls a screen to allow a user to easily identify characters that overlap with the virtual keypad but are not displayed to the user.
[0006] According to an embodiment of the present disclosure, a method for controlling an electronic device can be provided to control a screen to allow a user to easily identify characters that overlap with the virtual keypad but are not displayed to the user when a virtual keypad overlaps with a text input field when the electronic device including a flexible display is in a closed state.
[0007] Technical Solutions
[0008] An electronic device according to an embodiment of the present disclosure may include: a first housing, a second housing, at least one processor, and a flexible display, wherein the second housing is configured to be movable relative to the first housing and overlap at least a portion of the first housing, the at least one processor is configured in the second housing, and the flexible display is at least partially mounted on the surface of the second housing and at least partially exposed to the outside of the electronic device. The flexible display may be at least partially inserted into the first housing based on the second housing moving relative to the first housing in a first direction, and may be pulled out of the first housing based on the second housing moving relative to the first housing in a second direction. The at least one processor may be configured to display a first screen including at least one text input field on the flexible display in a state where at least a portion of the second housing is inserted into the first housing, obtain a first user input to the at least one text input field, display a second screen including at least one virtual keypad on the flexible display based on obtaining the first user input, the at least one virtual keypad overlaps at least a portion of the at least one text input field, based on the at least one virtual keypad overlaps at least a portion of the at least one text input field, a third screen different from the second screen on the flexible display, detecting the movement of the second housing in the second direction in a state where the third screen is displayed, and displaying a fourth screen including at least one virtual keypad on the flexible display based on detecting the movement of the second housing in the second direction. The at least one virtual keypad displayed on the fourth screen may not overlap with the at least one text input field.
[0009] According to an embodiment of the present disclosure, a method for controlling an electronic device may include: in a state where at least a portion of a second housing is inserted into a first housing, displaying a first screen including at least one text input field on a flexible display, obtaining a first user input to the at least one text input field, based on obtaining the first user input, displaying a second screen including at least one virtual keypad on the flexible display, the at least one virtual keypad overlapping at least a portion of the at least one text input field, displaying a third screen different from the second screen on the flexible display based on the at least one virtual keypad overlapping at least a portion of the at least one text input field, detecting movement of the second housing in a second direction in a state where the third screen is displayed, and displaying a fourth screen including the at least one virtual keypad on the flexible display based on detecting movement of the second housing in the second direction. The at least one virtual keypad displayed on the fourth screen may not overlap with the at least one text input field.
[0010] Beneficial effects
[0011] According to an embodiment of the present disclosure, an electronic device can be provided, which, when an electronic device including a flexible display is in a closed state, when a virtual keypad overlaps a text input field, controls a screen to allow a user to easily identify characters that overlap with the virtual keypad but are not displayed to the user.
[0012] The effects set forth herein are not limited thereto, and it is clear to those of ordinary skill in the art that various effects may be disclosed herein. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] FIG. 1a is a view showing a closed state of an electronic device according to various embodiments of the present disclosure;
[0014] FIG. 1b is a view showing an opened state of the electronic device of FIG. 1a;
[0015] FIG. 1c is a view showing a rear surface of the electronic device of FIG. 1a;
[0016] 2 is a view showing an example in which a text input field overlaps (eg, is blocked) with a virtual keypad when a portable device according to the prior art is switched from an open state to a closed state;
[0017] 3 is a view illustrating an example function or operation of controlling a screen including a virtual keypad by an electronic device to allow a user to recognize at least one character typed into a text input field overlapping the virtual keypad according to an embodiment of the present disclosure;
[0018] 4 is a diagram illustrating an example function or operation of receiving a user input through a text input field according to an embodiment of the present disclosure;
[0019] 5a, 5b, and 5c are views illustrating an example third screen including a virtual keypad whose transparency is changed by a user's input according to an embodiment of the present disclosure;
[0020] 6a and 6b are views illustrating an example third screen including a preview pop-up window according to an embodiment of the present disclosure;
[0021] 7a and 7b are views illustrating a third screen including a guide message for guiding scrolling of a screen overlapping a virtual keypad according to a user input according to an embodiment of the present disclosure;
[0022] 8a and 8b are views showing an example third screen including an indicator and an extended guide message indicating that the second housing (eg, the first structure) should be moved to show at least one text input field overlapping at least one keypad;
[0023] FIG8c is a view illustrating an example function or operation according to an embodiment of the present disclosure, wherein when the electronic device becomes an open state as the second housing moves, a text input field overlapping with a virtual keypad is illustrated; and
[0024] FIG. 9 is a block diagram illustrating an electronic device in a network environment according to various embodiments of the present disclosure. DETAILED DESCRIPTION
[0025] Fig. 1a is a view showing a closed state of an electronic device 101 according to various embodiments of the present disclosure. Fig. 1b is a view showing an open state of the electronic device 101 of Fig. 1a. Fig. 1c is a view showing a rear surface of the electronic device 101 of Fig. 1a.
[0026] FIG. 1 a shows a closed state of the first structure 110 relative to the second structure 120 , and FIG. 1 b shows an open state of the first structure 110 relative to the second structure 120 .
[0027] 1a, 1b, and 1c, the electronic device 101 may include a first structure 110 (e.g., a first housing) and a second structure 120 (e.g., a second housing), the second structure 120 being provided to be movable from the first structure 110. According to an embodiment of the present disclosure, the first structure 110 may move back and forth on the second structure 120 by a predetermined distance d1 in the direction shown. According to an embodiment of the present disclosure, a main circuit board on which electrical components such as an application processor (AP) and a communication processor (CP) are mounted may be provided in the second housing 110. According to an embodiment of the present disclosure, a driving module (e.g., a motor), a speaker, a sim socket, and / or a sub-circuit board electrically connected to the main circuit board may be provided in the second structure 120. According to an embodiment of the present disclosure, a rack may be provided in the second structure 120 and guide the sliding of the first structure 110 and the display 112. According to an embodiment of the present disclosure, the rack may be fixedly provided on one surface of the second structure 120, and guide the gear connected to the driving module to move in the sliding direction while rotating. According to another embodiment of the present disclosure, the rack may be provided in the first structure 110, and the driving module may be provided in the second structure 120. According to an embodiment of the present disclosure, the first plate 111 of the first structure 110 may include a first surface 111a and a second surface 111b facing a direction opposite to the first surface 111a. According to an embodiment of the present disclosure, the second structure 120 may include a second plate 121, a first side wall 121a extending from the second plate 121, a second side wall 121b extending from the first side wall 121a and the second plate 121, a third side wall 121c extending from the first side wall 121a and the second plate 121 and parallel to the second side wall 121b, or a second rear plate 180 (e.g., rear window). According to an embodiment, the second plate 121, the first side wall 121a, the second side wall 121b, and the third side wall 121c may form a groove 220a to have an open side receiving at least a portion of the first structure 110. For example, the second structure 120 may be coupled to surround a portion of the first structure 110. The first structure 110 can be relative to the second structure 120 along the arrow linear reciprocating motion in the direction of the display 112. According to an embodiment of the present disclosure, the second side wall 121b or the third side wall 121c may be omitted. According to an embodiment of the present disclosure, the second plate 121, the first side wall 121a, the second side wall 121b or the third side wall 121c may be formed integrally with each other. According to an embodiment of the present disclosure, the second plate 121, the first side wall 121a, the second side wall 121b or the third side wall 121c may be formed separately and joined together. According to an embodiment, the second rear plate 180 may cover at least a portion of the display 112. According to an embodiment of the present disclosure, the size of the display screen displayed on the front surface may be changed by raising and lowering the second rear plate 180 in the vertical direction. According to an embodiment of the present disclosure, the first structure 110 may be raised in a first direction (e.g., arrow) parallel to the second plate 121 and the second side wall 121b. The first structure 110 is movable to an open state and a closed state relative to the second structure 120 in a direction of the first side wall 121a, so that the first structure 110 is placed at a first distance from the first side wall 121a in the closed state, and is placed at a second distance from the first side wall 121a greater than the first distance in the open state. According to an embodiment of the present disclosure, the electronic device 101 may include at least one or more of the display 112, audio modules 113 and 123, camera modules 115 and 135, an indicator 116 (e.g., a light emitting diode (LED) device), sensor modules 114 and 134, a key input device 127, or connector holes 131 and 132. According to an embodiment of the present disclosure, the display 112 may include a flat portion 112a and a bendable portion, the flat portion 112a intersecting and extending with at least a portion of the first surface 111a and being disposed on the first surface 111a, and the bendable portion extending from the flat portion 112a to a space between the first side wall 121a and the first structure 110 in the closed state. According to an embodiment of the present disclosure, when viewed from above the first plate 111, the bendable portion may be configured to be at least partially moved by a predetermined marking area EA to the flat portion 112a when the first structure 110 moves from a closed state to an open state, so as to form a substantially flat surface between the flat portion 112a and the first sidewall 121a. The display 112 may be configured to be coupled or adjacent to a touch detection circuit, a pressure sensor capable of measuring the intensity (pressure) of a touch, and / or a digitizer for detecting a magnetic field type stylus. For example, the display 112 may include a flexible touch screen display layer.
[0028] According to an embodiment of the present disclosure, the audio modules 113, 123, and 125 may include speaker holes 113 and 123 and a microphone hole 125. The speaker holes 113 and 123 may include a receiver hole 113 or an external speaker hole 123. The microphone hole 125 may have a microphone inside to obtain external sound. According to an embodiment, there may be a plurality of microphones to be able to detect the direction of the sound. According to an embodiment, the speaker holes 113 and 123 and the microphone hole 125 may be implemented as a single hole, or a speaker (e.g., a piezoelectric speaker) may be included without the speaker holes 113 and 123. According to an embodiment, the receiver hole 113 may be provided in the first structure 110, and the external speaker hole 123 or the microphone hole 125 may be provided in the second structure 120. According to an embodiment, the external speaker hole 123 may be provided on the second surface 111b of the first plate 111 or on the side surface of the first structure 110. According to an embodiment, the microphone hole 125 may be provided on the side surface of the first structure 110.
[0029] According to an embodiment of the present disclosure, the sensor modules 114 and 134 may generate an electrical signal or a data value corresponding to an internal operating state or an external environmental state of the electronic device 101. The sensor modules 114 and 134 may include a first sensor module 114 (e.g., a proximity sensor) disposed on, for example, the first surface 111a of the first board 111 and / or a second sensor module (e.g., a fingerprint sensor) disposed on the second surface 111b of the first board 111 (not shown) and / or a third sensor module 134 (e.g., a heart rate monitor (HRM) sensor). The electronic device 101 may include a sensor module not shown, for example, at least one of a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illumination sensor.
[0030] According to an embodiment of the present disclosure, the camera modules 115 and 135 include a first camera device 115 disposed on the first surface 111a of the first board 111 and a second camera device 135 disposed on the second surface 111b. The first camera device 115 or the second camera device 135 may include one or more lenses, an image sensor and / or an image signal processor. According to an embodiment, the second camera device 135 may be disposed on one surface of the second structure 120.
[0031] According to an embodiment of the present disclosure, the key input device 127 may be disposed on the second side wall 121b or the third side wall 121c of the second structure 120. The electronic device 101 may include a key input device (not shown), such as a home key button or a touch pad disposed around the home key button. According to another embodiment, at least a portion of the key input device 127 may be located on an area of the first structure 110.
[0032] According to an embodiment of the present disclosure, the indicator 116 may be provided on the first surface 111a of the first board 111. The indicator 116 may provide, for example, status information about the electronic device 101 in the form of light, and may include an LED.
[0033] According to an embodiment of the present disclosure, the connector holes 131 and 132 may include, for example, a first connector hole 131 for receiving a connector (for example, a universal serial bus (USB) connector) for sending power and / or data to or receiving power and / or data from an external electronic device, and / or a second connector hole 132 (for example, a headphone jack) 132, the first connector hole 131 for receiving a connector for sending an audio signal to or receiving an audio signal from an external electronic device. According to an embodiment, the first connector hole 131 or the second connector hole 132 may be disposed on the first side wall 121a of the second structure 120. According to an embodiment, the first connector hole 131 or the second connector hole 132 may be formed on the side wall of the first structure 110.
[0034] 2 is a view showing an example in which a text input field 210 is overlapped (eg, blocked) with a virtual keypad 220 when a portable device 201 according to the related art is switched from an open state to a closed state.
[0035] Referring to FIG. 2 , a portable device 201 according to the prior art may be switched from an open state to a closed state according to a display contraction event to reduce the area of the exposed flexible display. In this case, as shown in FIG. 2 , when the portable device 201 according to the prior art is switched to a closed state, the text input field 210 for displaying in the open state may overlap with the virtual keypad 220 and not be displayed. In this case, it may be difficult for the user to recognize characters typed into the text input field 210.
[0036] 3 is a view showing an example function or operation of controlling a screen including a virtual keypad 220 by the electronic device 101 to allow a user to recognize at least one character typed into a text input field 210 overlapping the virtual keypad 220 according to an embodiment of the present disclosure. FIG4 is a view showing an example function or operation of receiving a user input through a text input field according to an embodiment of the present disclosure.
[0037] 3 , in operation 310, the electronic device 101 (e.g., the processor 920) according to an embodiment of the present disclosure may display a first screen 410 including at least one text input field 210 on a flexible display (e.g., the display 112) in a state where at least a portion of the second housing (e.g., the first structure 110) is inserted into the first housing (e.g., the second structure 120). As shown in FIG. 4 , the electronic device 101 according to an embodiment of the present disclosure may display a first screen 410 including at least one text input field (e.g., the first text input field 412, the second text input field 414, and the third text input field 416) on a flexible display (e.g., the display 112) in a closed state (e.g., a fully closed state) of the electronic device 101. The first screen 410 according to an embodiment of the present disclosure may include, for example, a specific application (e.g., Samsung Account TM According to an embodiment of the present disclosure, at least one character may be entered into at least one text input field (e.g., first text input field 412, second text input field 414, and third text input field 416). For example, as shown in FIG. 4 , user identification information may be entered into first text input field 412, password information may be entered into second text input field 414, and an email address may be entered into third text input field 416.
[0038] In operation 320, the electronic device 101 (e.g., the processor 920) according to an embodiment of the present disclosure may obtain a first user input to at least one text input field (e.g., the first text input field 412, the second text input field 414, and the third text input field 416). As shown in FIG. 4 , the electronic device 101 according to an embodiment of the present disclosure may obtain a user touch input to a specific text input field (e.g., the third text input field 416).
[0039] In operation 330, the electronic device 101 (e.g., the processor 920) according to an embodiment of the present disclosure may display a second screen 510 including at least one virtual keypad 220 on a flexible display (e.g., the display 112) based on obtaining a first user input. As shown in FIG. 5a, the electronic device 101 according to an embodiment of the present disclosure may display a second screen 510 including at least one virtual keypad 220 overlapping at least a portion of the first screen 410 on a flexible display (e.g., the display 112). In the second screen 510 according to an embodiment of the present disclosure, depending on the display of the at least one virtual keypad 220, at least one text input field (e.g., the third text input field) may not be shown.
[0040] In operation 340, the electronic device 101 (e.g., the processor 920) according to an embodiment of the present disclosure may display a third screen 520 different from the second screen 510 on the flexible display (e.g., the display 112) based on the overlap of at least one virtual keypad 220 with at least a portion of at least one text input field (e.g., the third text input field 416). In order to perform operation 340, the electronic device 101 according to an embodiment of the present disclosure may determine whether the at least one virtual keypad 220 overlaps with at least a portion of the at least one text input field (e.g., the third text input field 416). The electronic device 101 according to an embodiment of the present disclosure may identify a position where a text input field is displayed in a currently displayed image, and may determine whether the at least one virtual keypad 220 overlaps with at least a portion of the at least one text input field (e.g., the third text input field 416) by comparing a size (e.g., height) of the virtual keypad 220 with the identified position. The electronic device 101 according to an embodiment of the present disclosure may determine that when at least one virtual keypad 220 overlaps more than a predetermined ratio (e.g., 80%) of the size (e.g., height) of at least one text input field (e.g., the first text input field 412, the second text input field 414, or the third text input field 416) is when at least one virtual keypad 220 overlaps at least one text input field (e.g., the third text input field 416). The electronic device 101 according to an embodiment of the present disclosure may determine whether at least one virtual keypad 220 overlaps at least a portion of at least one text input field (e.g., the third text input field 416) by analyzing an image on which at least one virtual keypad 220 is displayed after displaying the at least one virtual keypad 220 (e.g., identifying whether pixels overlap each other). The electronic device 101 according to an embodiment of the present disclosure may determine whether at least one virtual keypad 220 overlaps at least a portion of at least one text input field (e.g., the third text input field 416) before displaying the at least one virtual keypad 220. In this case, when it is expected that at least one virtual keypad 220 does not overlap with at least one text input field (e.g., the first text input field 412), the third screen according to an embodiment of the present disclosure may not be displayed. Hereinafter, various embodiments of the third screen displayed when at least one virtual keypad 220 overlaps with at least a portion of at least one text input field (e.g., the third text input field 416) are described.
[0041] 5a to 5c are views showing an example third screen 520 including a virtual keypad 220 according to an embodiment of the present disclosure, the transparency of the virtual keypad 220 being changed by a user's input. Referring to FIG. 5a, the electronic device 101 according to an embodiment of the present disclosure may obtain a text input request from a user through the virtual keypad 220 in a state where at least one virtual keypad 220 overlaps at least a portion of at least one text input field (e.g., the third text input field 416). When a text input request (e.g., a touch input) is received from the user through the virtual keypad 220, the electronic device 101 according to an embodiment of the present disclosure may set the transparency of the virtual keypad 220 to 100% (e.g., opaque) and display the virtual keypad 220. As shown in FIG. 5b, the electronic device 101 according to an embodiment of the present disclosure may change the transparency of at least one virtual keypad 220 to 40% (e.g., semi-transparent) after a predetermined time (e.g., 3 seconds) has passed after receiving the text input request from the user, and may display the virtual keypad 220. In this case, the user can recognize at least one character that the user himself types into the text input field (e.g., the third text input field 416) through at least one semi-transparently displayed virtual keypad 220. The electronic device 101 according to an embodiment of the present disclosure may change the transparency of at least one virtual keypad 220 to 40% (e.g., semi-transparent) and display the virtual keypad 220, and then, if the user input to the at least one virtual keypad 220 is detected again, the transparency of the at least one virtual keypad 220 is changed to 100% and the virtual keypad 220 is displayed. The third screen 520 according to an embodiment of the present disclosure may include at least one virtual keypad 220 whose transparency has been changed, allowing the user to recognize at least one character obscured by the at least one virtual keypad 220. Therefore, an electronic device 101 may be provided that controls the screen to allow the user to easily recognize characters that overlap with at least one virtual keypad 220 and are not shown to the user.
[0042] 6a and 6b are views showing an example third screen 520 including a preview pop-up window 610 according to an embodiment of the present disclosure. Referring to FIG. 6a and FIG. 6b, the electronic device 101 according to an embodiment of the present disclosure may receive a text input request from a user through at least one virtual keypad 220 in a state where at least one text input field (e.g., the third text input field 416) overlaps with at least one virtual keypad 220. As shown in FIG. 6a, the electronic device 101 according to an embodiment of the present disclosure may display a preview pop-up window 610 including characters typed by the user at the upper end of at least one virtual keypad 220. When the electronic device 101 is switched to the open state, the preview pop-up window 610 according to an embodiment of the present disclosure may no longer be displayed, so that at least one text input field (e.g., the third text input field 416) blocked by at least one virtual keypad 220 is fully or partially (e.g., 80% or more of the height of at least one text input field (e.g., the third text input field 416)) is shown. The preview pop-up window 610 according to an embodiment of the present disclosure may be displayed according to a predetermined transparency (e.g., semi-transparent). The preview pop-up window 610 according to an embodiment of the present disclosure may be displayed to be visually distinguished by a color different from the color of the at least one virtual keypad 220. FIG. 6a shows a state in which the electronic device 101 receives a character string "samsu" from a user according to an embodiment of the present disclosure, and FIG. 6b shows an example in which the electronic device 101 receives a character string "samsung@samsung.com" from a user according to an embodiment of the present disclosure. The third screen 520 according to an embodiment of the present disclosure may include a preview pop-up window 610 including at least one character typed by a user, allowing the user to recognize at least one character obscured by the at least one virtual keypad 220. Therefore, an electronic device 101 may be provided that controls a screen to allow the user to easily recognize characters that overlap with the at least one virtual keypad 220 and are not displayed to the user.
[0043] FIG. 7a and FIG. 7b are views showing a third screen 520 including a guide message 710 according to an embodiment of the present disclosure, the guide message 710 being used to guide scrolling of a screen (e.g., the first screen 410) overlapping with a virtual keypad 220 according to a user input. As shown in FIG. 7a, the guide message 710 according to an embodiment of the present disclosure may include a message indicating that it is possible to scroll up / down on a screen (e.g., the first screen 410) overlapping with at least one virtual keypad 220. The guide message 710 according to an embodiment of the present disclosure may be displayed overlappingly on at least one virtual keypad 220. In this case, at least one virtual keypad 220 according to an embodiment of the present disclosure may be displayed darker than a preset brightness or a brightness set by a user, or displayed as semi-transparent. However, at least one virtual keypad 220 according to an embodiment of the present disclosure may be displayed according to a brightness set by a user or a preset brightness, or displayed as opaque. As shown in FIG. 7a, the guide message 710 according to an embodiment of the present disclosure may include a message indicating that it is possible to scroll up / down on a screen (e.g., the first screen 410) overlapping with at least one virtual keypad 220. When a drag input 712 in the upper or lower direction is received after long touching at least one key (e.g., the switch key 222) of at least one virtual keypad 220, the electronic device 101 according to an embodiment of the present disclosure may scroll the screen (e.g., the first screen 410) overlapping with the at least one virtual keypad 220 according to the drag input of the user. FIG. 7b shows a screen in which the screen (e.g., the first screen 410) overlapping with the at least one virtual keypad 220 is scrolled according to the drag input of the user. When the user's character typing is terminated in the state of scrolling the screen (e.g., when the at least one virtual keypad 220 is no longer displayed), the electronic device 101 according to an embodiment of the present disclosure may display the screen before scrolling back. When the screen is scrolled according to the drag input 712, the guide message 710 according to an embodiment of the present disclosure may no longer be displayed, so that at least one text input field (e.g., the third text input field 416) overlapping with the at least one virtual keypad 220 is rendered to be shown. However, according to another embodiment of the present disclosure, even when at least one text input field (e.g., the third text input field 416) overlapping at least one virtual keypad 220 is rendered to be shown as the screen is scrolled according to the drag input 712, the guide message 710 may remain displayed. The third screen 520 according to an embodiment of the present disclosure may include a guide message 710 indicating that screen scrolling is possible, and the electronic device 101 may scroll the screen (e.g., the first screen 410) overlapping at least one virtual keypad 220 according to the drag input entered by the user. Therefore, an electronic device 101 may be provided that controls the screen to allow the user to easily recognize characters that overlap with at least one virtual keypad 220 and are not displayed to the user.Although FIGS. 7 a and 7 b illustrate that a portion of the virtual keypad 220 is obscured by the guide message 710 , a portion of the virtual keypad 220 according to an embodiment of the present disclosure may be displayed to overlap with the guide message 710 without being obscured by the guide message 710 .
[0044] 8a and 8b are views showing an example third screen 820 including an indicator 820 and an extension guide message 810, the extension guide message 810 indicating that the second shell (e.g., the first structure 110) should be moved to show at least one text input field (e.g., the third text input field 416) overlapping with at least one virtual keypad 220. FIG. 8c is a view showing an example function or operation according to an embodiment of the present disclosure, wherein when the electronic device becomes an open state as the second shell moves, the text input field overlapping with the virtual keypad is shown. Referring to FIG. 8a, when at least one text input field (e.g., the third text input field 416) overlaps with at least one virtual keypad 220, the electronic device 101 according to an embodiment of the present disclosure may display an extension guide message 810 indicating that the second shell (e.g., the first structure 110) should be moved so that at least one text input field (e.g., the third text input field 416) overlapping with at least one virtual keypad 220 is shown, as shown in FIG. 8a. When the user detects a selection input (e.g., a selection input of "extend") to the extension guide message 810, the electronic device 101 according to an embodiment of the present disclosure may fully or partially extend the electronic device 101 (e.g., so that at least the text input field blocked by at least one virtual keypad 220 is shown), as shown in FIG8c. When the electronic device 101 is partially extended, the electronic device 101 according to an embodiment of the present disclosure may calculate an extension length to show the text input field blocked by at least one virtual keypad 220, and control the driving module to extend the electronic device 101 as much as the calculated length. The electronic device 101 according to an embodiment of the present disclosure may calculate the length to be extended by analyzing the currently displayed image (e.g., calculating the distance at which the virtual keypad does not overlap with the text input field blocked by the virtual keypad 220 based on the pixel size). The electronic device 101 according to an embodiment of the present disclosure may identify the extension length based on the number of rotations of the driving module, or may identify the extension length of the flexible display using sensing data based on various elements (e.g., conductive elements) capable of sensing the extension length. When at least one text input field (e.g., the third text input field 416) overlaps with at least one virtual keypad 220, the electronic device 101 according to an embodiment of the present disclosure may display an indicator 820, which indicates that the second shell (e.g., the first structure 110) should be moved so that at least one text input field (e.g., the third text input field 416) overlapping with at least one virtual keypad 220 is shown, as shown in FIG8a. When the user detects a selection input to the indicator 820, the electronic device 101 according to an embodiment of the present disclosure may fully or partially extend the electronic device 101 (e.g., to show at least a portion of the text input field (e.g., 80% of the text input field) blocked by at least one virtual keypad 220), as shown in FIG8c.The indicator 820 according to an embodiment of the present disclosure may be displayed for a predetermined time (e.g., 5 seconds). The third screen 520 according to an embodiment of the present disclosure may include an extended guide message 810 and / or an indicator 820, and the state of the electronic device 101 may be changed according to the extended guide message 810 and / or the indicator 820, thereby allowing the user to recognize at least one character blocked by at least one virtual keypad 220. Therefore, an electronic device 101 may be provided that controls a screen to allow the user to easily recognize characters that overlap with at least one virtual keypad 220 and are not displayed to the user.
[0045] In operation 350, the electronic device 101 according to an embodiment of the present disclosure may detect movement of the second shell in the second direction in a state where the third screen 520 is displayed. According to an embodiment of the present disclosure, the second shell may be moved in the second direction by an automatic method (e.g., in a manner in which the driving module is controlled by the processor 920) or a manual method (e.g., in a manner in which the second shell is moved by an external force from a user).
[0046] In operation 360, the electronic device 101 according to an embodiment of the present disclosure may display a fourth screen 830 including at least one virtual keypad on a flexible display (e.g., display 112) based on detecting the movement of the second housing in the second direction. The fourth screen 820 according to an embodiment of the present disclosure may include a screen in which at least one text input field (e.g., the third text input field 416) is not blocked by the virtual keypad 220.
[0047] When it is identified that at least one text input field (e.g., the third text input field 416) is obscured due to the display of the virtual keypad 220, the electronic device 101 according to an embodiment of the present disclosure may be fully or partially extended (e.g., so that at least a portion of the text input field obscured by at least one virtual keypad 220 (e.g., 80% of the text input field) is shown).
[0048] 9 is a block diagram illustrating an electronic device 901 in a network environment 900 according to various embodiments. Referring to FIG. 9 , the electronic device 901 in the network environment 900 may communicate with the electronic device 902 via a first network 998 (e.g., a short-range wireless communication network), or communicate with at least one of the electronic device 904 or the server 908 via a second network 999 (e.g., a long-range wireless communication network). According to an embodiment, the electronic device 901 may communicate with the electronic device 904 via the server 908. According to an embodiment, the electronic device 901 may include a processor 920, a memory 930, an input module 950, a sound output module 955, a display module 960, an audio module 970, a sensor module 976, an interface 977, a connection terminal 978, a haptic module 979, a camera module 980, a power management module 988, a battery 989, a communication module 990, a user identification module (SIM) 996, or an antenna module 997. In some embodiments, at least one of the above components (e.g., the connection terminal 978) may be omitted from the electronic device 901, or one or more other components may be added to the electronic device 901. In some embodiments, some of the above components (e.g., the sensor module 976, the camera module 980, or the antenna module 997) may be implemented as a single integrated component (e.g., the display module 960).
[0049] The processor 920 may run, for example, software (e.g., program 940) to control at least one other component (e.g., hardware component or software component) of the electronic device 901 connected to the processor 920, and may perform various data processing or calculations. According to one embodiment, as at least part of the data processing or calculation, the processor 920 may store a command or data received from another component (e.g., sensor module 976 or communication module 990) in the volatile memory 932, process the command or data stored in the volatile memory 932, and store the result data in the non-volatile memory 934. According to an embodiment, the processor 920 may include a main processor 921 (e.g., a central processing unit (CPU) or an application processor (AP)) or an auxiliary processor 923 (e.g., a graphics processing unit (GPU), a neural processing unit (NPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is independent of or combined with the main processor 921 in operation. For example, when the electronic device 901 includes a main processor 921 and an auxiliary processor 923, the auxiliary processor 923 may be adapted to consume less power than the main processor 921, or may be adapted to be dedicated to a specific function. The auxiliary processor 923 may be implemented as a separate part from the main processor 921, or as part of the main processor 921.
[0050] When the main processor 921 is in an inactive (e.g., sleep) state, the auxiliary processor 923 (rather than the main processor 921) may control at least some of the functions or states related to at least one component among the components of the electronic device 901 (e.g., the display module 960, the sensor module 976, or the communication module 990), or when the main processor 921 is in an active state (e.g., running an application), the auxiliary processor 923 may control at least some of the functions or states related to at least one component among the components of the electronic device 901 (e.g., the display module 960, the sensor module 976, or the communication module 990) together with the main processor 921. According to an embodiment, the auxiliary processor 923 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., a camera module 980 or a communication module 990) that is functionally related to the auxiliary processor 923. According to an embodiment, the auxiliary processor 923 (e.g., a neural processing unit) may include a hardware structure dedicated to artificial intelligence model processing. The artificial intelligence model may be generated through machine learning. For example, such learning may be performed by the electronic device 901 where the artificial intelligence is executed or via a separate server (e.g., server 908). The learning algorithm may include, but is not limited to, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, for example. The artificial intelligence model may include multiple artificial neural network layers. The artificial neural network may be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), or a deep Q network or a combination of two or more thereof, but is not limited thereto. Additionally or optionally, the artificial intelligence model may include a software structure in addition to a hardware structure.
[0051] The memory 930 may store various data used by at least one component of the electronic device 901 (e.g., the processor 920 or the sensor module 976). The various data may include, for example, software (e.g., program 940) and input data or output data for commands related thereto. The memory 930 may include a volatile memory 932 or a non-volatile memory 934.
[0052] The program 940 may be stored as software in the memory 930 , and may include, for example, an operating system (OS) 942 , middleware 944 , or an application 946 .
[0053] The input module 950 may receive commands or data to be used by other components (e.g., the processor 920) of the electronic device 901 from outside the electronic device 901 (e.g., a user). The input module 950 may include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus).
[0054] The sound output module 955 can output sound signals to the outside of the electronic device 901. The sound output module 955 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as playing multimedia or playing records. The receiver can be used to receive incoming calls. Depending on the embodiment, the receiver can be implemented as being separated from the speaker, or as part of the speaker.
[0055] The display module 960 may visually provide information to the outside of the electronic device 901 (e.g., a user). The display module 960 may include, for example, a display, a holographic device, or a projector, and a control circuit for controlling a corresponding one of the display, the holographic device, and the projector. According to an embodiment, the display module 960 may include a touch sensor adapted to detect a touch or a pressure sensor adapted to measure the strength of a force caused by a touch.
[0056] The audio module 970 may convert sound into an electrical signal, or vice versa. According to an embodiment, the audio module 970 may obtain sound via the input module 950, or output sound via the sound output module 955 or an earphone of an external electronic device (e.g., electronic device 902) directly (e.g., wired) or wirelessly connected to the electronic device 901.
[0057] The sensor module 976 may detect an operating state (e.g., power or temperature) of the electronic device 901 or an environmental state (e.g., a state of a user) outside the electronic device 901, and then generate an electrical signal or data value corresponding to the detected state. According to an embodiment, the sensor module 976 may include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illumination sensor.
[0058] The interface 977 may support one or more specific protocols to be used to connect the electronic device 901 directly (e.g., wired) or wirelessly to an external electronic device (e.g., the electronic device 902). Depending on the embodiment, the interface 977 may include, for example, a high-definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.
[0059] The connection end 978 may include a connector, wherein the electronic device 901 can be physically connected to an external electronic device (e.g., the electronic device 902) via the connector. According to an embodiment, the connection end 978 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0060] The haptic module 979 may convert the electrical signal into mechanical stimulation (eg, vibration or motion) or electrical stimulation that can be recognized by the user via his sense of touch or kinesthetic sense. According to an embodiment, the haptic module 979 may include, for example, a motor, a piezoelectric element, or an electrical stimulator.
[0061] The camera module 980 may capture a still image or a moving image. According to an embodiment, the camera module 980 may include one or more lenses, an image sensor, an image signal processor, or a flash.
[0062] The power management module 988 may manage power supply to the electronic device 901. According to an embodiment, the power management module 988 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
[0063] The battery 989 may power at least one component of the electronic device 901. According to an embodiment, the battery 989 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0064] The communication module 990 may support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 901 and an external electronic device (e.g., electronic device 902, electronic device 904, or server 908), and perform communication via the established communication channel. The communication module 990 may include one or more communication processors capable of operating independently from the processor 920 (e.g., an application processor (AP)) and supporting direct (e.g., wired) communication or wireless communication. According to an embodiment, the communication module 990 may include a wireless communication module 992 (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 994 (e.g., a local area network (LAN) communication module or a power line communication (PLC) module). A corresponding one of these communication modules can communicate with an external electronic device via a first network 998 (e.g., a short-range communication network such as Bluetooth, Wireless Fidelity (Wi-Fi) Direct, or Infrared Data Association (IrDA)) or a second network 999 (e.g., a long-range communication network such as a traditional cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN))). These various types of communication modules can be implemented as a single component (e.g., a single chip), or these various types of communication modules can be implemented as multiple components separated from each other (e.g., multiple chips). The wireless communication module 992 can identify and authenticate the electronic device 901 in a communication network (such as the first network 998 or the second network 999) using user information (e.g., an International Mobile Subscriber Identity (IMSI)) stored in the user identification module 996.
[0065] The wireless communication module 992 can support 5G networks after 4G networks and next-generation communication technologies (e.g., new radio (NR) access technologies). NR access technologies can support enhanced mobile broadband (eMBB), massive machine type communications (mMTC), or ultra-reliable low-latency communications (URLLC). The wireless communication module 992 can support high-frequency bands (e.g., millimeter wave bands) to achieve, for example, high data transmission rates. The wireless communication module 992 can support various technologies for ensuring performance on high-frequency bands, such as, for example, beamforming, massive multiple-input multiple-output (massive MIMO), full-dimensional MIMO (FD-MIMO), array antennas, analog beamforming, or massive antennas. The wireless communication module 992 can support various requirements specified in the electronic device 901, an external electronic device (e.g., an electronic device 904), or a network system (e.g., a second network 999). According to an embodiment, the wireless communication module 992 may support a peak data rate for implementing eMBB (e.g., 20 Gbps or greater), loss coverage for implementing mMTC (e.g., 164 dB or less), or U-plane delay for implementing URLLC (e.g., 0.5 ms or less for each of the downlink (DL) and uplink (UL), or 1 ms or less for a round trip).
[0066] The antenna module 997 may transmit or receive a signal or power to or from the outside of the electronic device 901 (e.g., an external electronic device). According to an embodiment, the antenna module 997 may include an antenna including a radiating element formed of a conductive material or a conductive pattern formed in or on a substrate (e.g., a printed circuit board (PCB)). According to an embodiment, the antenna module 997 may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication scheme used in a communication network (such as the first network 998 or the second network 999) may be selected from the plurality of antennas by, for example, the communication module 990 (e.g., the wireless communication module 992). A signal or power may then be transmitted or received between the communication module 990 and the external electronic device via the selected at least one antenna. According to an embodiment, another component (e.g., a radio frequency integrated circuit (RFIC)) other than the radiating element may be additionally formed as part of the antenna module 997.
[0067] According to various embodiments, the antenna module 997 may form a millimeter wave antenna module. According to an embodiment, the millimeter wave antenna module may include a printed circuit board, a radio frequency integrated circuit (RFIC), and a plurality of antennas (e.g., array antennas), wherein the RFIC is disposed on a first surface (e.g., bottom surface) of the printed circuit board, or adjacent to the first surface and capable of supporting a designated high frequency band (e.g., millimeter wave band), and the plurality of antennas are disposed on a second surface (e.g., top surface or side surface) of the printed circuit board, or adjacent to the second surface and capable of transmitting or receiving signals of the designated high frequency band.
[0068] At least some of the above components may be connected to each other via an inter-peripheral communication scheme (e.g., a bus, a general purpose input output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)) and communicatively transfer signals (e.g., commands or data) therebetween.
[0069] According to an embodiment, a command or data may be sent or received between the electronic device 901 and the external electronic device 904 via a server 908 connected to the second network 999. Each of the electronic device 902 or the electronic device 904 may be a device of the same type as the electronic device 901, or a device of a different type from the electronic device 901. According to an embodiment, all or some operations to be run on the electronic device 901 may be run on one or more of the external electronic device 902, the external electronic device 904, or the server 908. For example, if the electronic device 901 should automatically perform a function or service or should perform a function or service in response to a request from a user or another device, the electronic device 901 may request the one or more external electronic devices to perform at least part of the function or service instead of running the function or service, or the electronic device 901 may request the one or more external electronic devices to perform at least part of the function or service in addition to running the function or service. The one or more external electronic devices that receive the request may perform the requested at least part of the function or service, or perform another function or another service related to the request, and transmit the result of the execution to the electronic device 901. The electronic device 901 may provide the result as at least a partial reply to the request when the result is further processed or when the result is not further processed. To this end, cloud computing technology, distributed computing technology, mobile edge computing (MEC) technology, or client-server computing technology, for example, may be used. The electronic device 901 may use, for example, distributed computing or mobile edge computing to provide ultra-low latency services. In another embodiment, the external electronic device 904 may include an Internet of Things (IoT) device. The server 908 may be an intelligent server using machine learning and / or neural networks. According to an embodiment, the external electronic device 904 or the server 908 may be included in the second network 999. The electronic device 901 may be applied to intelligent services (e.g., smart homes, smart cities, smart cars, or health care) based on 5G communication technology or IoT-related technologies.
[0070] The electronic device according to various embodiments may be one of various types of electronic devices. The electronic device may include, for example, a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a household appliance. According to an embodiment of the present disclosure, the electronic device is not limited to those electronic devices described above.
[0071] It should be understood that the various embodiments of the present disclosure and the terms used therein are not intended to limit the technical features set forth herein to specific embodiments, but include various changes, equivalent forms or alternative forms for the corresponding embodiments. For the description of the accompanying drawings, similar reference numerals may be used to refer to similar or related elements. It will be understood that the nouns in the singular form corresponding to the term may include one or more things unless the relevant context clearly indicates otherwise. As used herein, each of the phrases such as "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C" and "at least one of A, B or C" may include any one or all possible combinations of the items listed together with the corresponding one of the multiple phrases. As used herein, terms such as "1st" and "2nd" or "first" and "second" may be used to simply distinguish the corresponding component from another component, and do not limit the component in other aspects (e.g., importance or order). It will be understood that if an element (e.g., a first element) is referred to as being “coupled with another element (e.g., the second element)”, “coupled to another element (e.g., the second element)”, “connected with another element (e.g., the second element)”, or “connected to another element (e.g., the second element)” with or without the terms “operably” or “communicatively” being used, it means that the element may be directly (e.g., wired) connected to the other element, wirelessly connected to the other element, or connected to the other element via a third element.
[0072] As used in connection with various embodiments of the present disclosure, the term "module" may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with other terms (e.g., "logic," "logic block," "portion," or "circuit"). A module may be a single integrated component adapted to perform one or more functions or a minimum unit or portion of the single integrated component. For example, according to an embodiment, a module may be implemented in the form of an application specific integrated circuit (ASIC).
[0073] The various embodiments described herein may be implemented as software (e.g., program 940) including one or more instructions stored in a storage medium (e.g., internal memory 936 or external memory 938) that can be read by a machine (e.g., electronic device 901). For example, under the control of a processor, a processor (e.g., processor 920) of the machine (e.g., electronic device 901) may call at least one of the one or more instructions stored in the storage medium and execute the at least one instruction with or without the use of one or more other components. This enables the machine to operate to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be run by an interpreter. A machine-readable storage medium may be provided in the form of a non-transitory storage medium. Among them, the term "non-transitory" only means that the storage medium is a tangible device and does not include signals (e.g., electromagnetic waves), but the term does not distinguish between data being semi-permanently stored in the storage medium and data being temporarily stored in the storage medium.
[0074] According to an embodiment, the method according to various embodiments of the present disclosure may be included and provided in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be released in the form of a machine-readable storage medium (e.g., a compact disk read-only memory (CD-ROM)), or may be downloaded via an application store (e.g., Play Store TM ) the computer program product may be published (e.g., downloaded or uploaded) online, or the computer program product may be distributed (e.g., downloaded or uploaded) directly between two user devices (e.g., smart phones). If published online, at least part of the computer program product may be temporarily generated, or at least part of the computer program product may be at least temporarily stored in a machine-readable storage medium (such as a memory of a manufacturer's server, a server of an application store, or a forwarding server).
[0075] According to various embodiments, each of the above-mentioned components (e.g., a module or a program) may include a single entity or multiple entities, and some of the multiple entities may be separately arranged in different components. According to various embodiments, one or more of the above-mentioned components may be omitted, or one or more other components may be added. Alternatively or additionally, multiple components (e.g., a module or a program) may be integrated into a single component. In this case, according to various embodiments, the integrated component may still perform the one or more functions of each of the multiple components in the same or similar manner as a corresponding one of the multiple components performing one or more functions before integration. According to various embodiments, the operations performed by a module, a program or another component may be performed sequentially, in parallel, repeatedly or in a heuristic manner, or one or more of the operations may be run or omitted in a different order, or one or more other operations may be added.
Claims
1. An electronic device, include: a first shell; a second housing, arranged to be movable relative to the first housing and overlapping at least a portion of the first housing; at least one motor drive configured to move the first housing or the second housing; at least one processor, disposed inside the first housing or the second housing; as well as a flexible display at least partially mounted on a surface of the second housing and at least partially exposed to the outside of the electronic device, wherein a portion of the flexible display is inserted into or pulled out of the first housing according to driving of the motor driver, and wherein the at least one processor is configured to: In a state where at least a portion of the second housing is inserted into the first housing, displaying a first screen including at least one text input field on the flexible display; obtaining a first user input to the at least one text input field; Based on obtaining the first user input, displaying a second screen including at least one virtual keypad on the flexible display, the at least one virtual keypad overlapping at least a portion of the at least one text input field; and Based on the at least one virtual keypad overlapping the at least a portion of the at least one text input field, a third screen different from the second screen is displayed on the flexible display.
2. The electronic device according to claim 1, in, The third screen includes a screen for changing transparency of the at least one virtual keypad according to a second user input to the at least one virtual keypad.
3. The electronic device according to claim 2, in, The at least one processor is further configured to change the transparency back to a transparency before the change if the second user input is released.
4. The electronic device according to claim 1, in, The third screen includes a preview window including at least one character to be typed into the at least one text input field according to a third user input to the at least one virtual keypad.
5. The electronic device according to claim 1, in, The third screen includes a guide message indicating that a screen including the at least one text input field overlapped with the at least one virtual keypad is scrollable according to a user input to at least one object included in the at least one keypad.
6. The electronic device according to claim 5, in, The at least one processor is further configured to scroll the screen including the at least one text input field overlapping the at least one virtual keypad based on the user input to the at least one object.
7. The electronic device according to claim 1, in, The third screen includes an extension guide message indicating that the second housing should be moved in the second direction so that the at least one text input field overlapping the at least one keypad is shown.
8. The electronic device according to claim 7, in, The at least one processor is further configured to control the motor driver to move the second housing in the second direction according to a third user input to the extension guide message.
9. The electronic device according to claim 1, in, The third screen includes an indicator indicating that the second housing should be moved in the second direction so that the at least one text input field is shown overlapping the at least one keypad.
10. The electronic device according to claim 9, in, The at least one processor is further configured to, upon receiving a fourth user input to the indicator, control the driving module to move the second housing in the second direction according to a pre-designated distance or a maximum distance that the second housing can move.
11. A method for controlling an electronic device, the electronic device comprising a first shell, a second shell, at least one motor driver, at least one processor and a flexible display, the second shell being arranged to be movable relative to the first shell and overlapping with at least a portion of the first shell, the at least one motor driver being configured to move the first shell or the second shell, the at least one processor being arranged inside the second shell, the flexible display being at least partially mounted on a surface of the second shell and at least partially exposed to the outside of the electronic device, the flexible display being at least partially inserted into the first shell based on the second shell moving relative to the first shell in a first direction, and being pulled out of the first shell based on the second shell moving relative to the first shell in a direction, the method include: In a state where at least a portion of the second housing is inserted into the first housing, displaying a first screen including at least one text input field on the flexible display; obtaining a first user input to the at least one text input field; Based on obtaining the first user input, displaying a second screen including at least one virtual keypad on the flexible display, the at least one virtual keypad overlapping at least a portion of the at least one text input field; displaying, on the flexible display, a third screen different from the second screen based on the at least one virtual keypad overlapping the at least one portion of the at least one text input field; In a state where the third screen is displayed, detecting movement of the second housing in the second direction; as well as Based on detecting the movement of the second shell in the second direction, displaying a fourth screen including the at least one virtual keypad on the flexible display, wherein the at least one virtual keypad displayed on the fourth screen does not overlap with the at least one text input field.
12. The method according to claim 11, in, The third screen includes a screen for changing transparency of the at least one virtual keypad according to a second user input to the at least one virtual keypad.
13. The method according to claim 12, further comprising: include: If the second user input is released, the transparency is changed back to the transparency before the change.
14. The method according to claim 11, in, The third screen includes a preview window including at least one character to be typed into the at least one text input field according to a third user input to the at least one virtual keypad.
15. The method according to claim 11, in, The third screen includes a guide message indicating that a screen including the at least one text input field overlapped with the at least one virtual keypad is scrollable according to a user input to at least one object included in the at least one keypad.
