Interaction method and device of electronic equipment, electronic equipment and storage medium
By displaying the preset working interface on the electronic device and detecting touch operations, the synchronization problem of mouse control function during use of external keyboards is solved, and high-precision cursor control and excellent user experience are achieved.
Patent Information
- Application Number
- CN202311616046.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-29
- Publication Date
- 2025-05-30
AI Technical Summary
When using an external keyboard, it is difficult for electronic devices to implement mouse control functions simultaneously, resulting in insufficient precision and coordination of touch operations and poor user experience.
By responding to the connection with the external keyboard, a preset working interface is displayed, including the touchpad area and the cursor operation area, a touch operation is detected and the corresponding operation is performed on the cursor is realized, and the cursor is finely controlled.
When connecting external keyboards, cursor control functions can be implemented simultaneously, improving operational precision and coordination with external keyboards, and improving user experience.
Smart Images

Figure CN120066338A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electronic devices, and in particular, to an interaction method, apparatus, electronic device, and storage medium for an electronic device. Background Art
[0002] In recent years, with the rapid development of technologies related to electronic devices, the functions of electronic devices have been increasing day by day, and various different tasks can be processed through electronic devices. During the daily use of electronic devices, to meet the requirements and efficiency of tasks such as text editing, an electronic device is usually connected to an external keyboard to improve the convenience of text input.
[0003] However, when using an external keyboard with the interaction method of related technologies, it is difficult to synchronously implement the function of mouse control only by connecting the external keyboard, and there are problems such as insufficient fineness and coordination of touch operations, resulting in poor user experience. Summary of the Invention
[0004] To overcome the problems existing in related technologies, the present disclosure provides an interaction method, apparatus, electronic device, and storage medium for an electronic device.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an interaction method for an electronic device, where the electronic device includes a touch display screen, and the interaction method of the electronic device includes:
[0006] In response to establishing a connection with an external keyboard, a preset working interface is displayed, the preset working interface includes a touchpad area and a cursor operation area, and a cursor is displayed in the cursor operation area;
[0007] In response to a touch operation detected in the touchpad area, a corresponding cursor operation is performed on the cursor.
[0008] In some embodiments of the present disclosure, the touch display screen includes a first split screen and a second split screen that can be relatively folded, at least part of the cursor operation area is located in the first split screen, and the touchpad area is located in the second split screen.
[0009] In some embodiments of the present disclosure, the step of, in response to establishing a connection with an external keyboard, displaying a preset working interface includes:
[0010] In response to establishing a connection with an external keyboard, the posture of the electronic device is determined;
[0011] When the posture of the electronic device is in an unfolded state, a mode opening prompt is issued;
[0012] In response to a confirmation operation by the user, entering a preset working mode, and in the preset working mode, the preset working interface is displayed.
[0013] In some embodiments of the present disclosure, the confirmation operation includes:
[0014] A confirmation operation on the mode activation control; and / or,
[0015] Bending the electronic device within a first preset angle range.
[0016] In some embodiments of the present disclosure, the step of displaying a preset working interface in response to establishing a connection with an external keyboard further includes:
[0017] When the posture of the electronic device is in a bent state and the bending angle is within a second preset range, entering the preset working mode.
[0018] In some embodiments of the present disclosure, the interaction method of the electronic device further includes:
[0019] In the preset working mode, in response to the electronic device being folded in half, switching to the standby mode; and / or,
[0020] After the preset working mode is switched to the standby mode, in response to the electronic device being switched from the folded state to the bent state and the bending angle being within a third preset range, or in response to the electronic device being switched from the folded state to the unfolded state, if the external keyboard remains connected to the electronic device, entering the preset working mode.
[0021] In some embodiments of the present disclosure, the cursor operation area includes a preview area and a display area. The display area is used to display the display screen of the current application, and the preview area is used to display relevant information of at least one preset application.
[0022] In some embodiments of the present disclosure, the preview area and the touchpad area are located in the second split screen of the touch display screen, and the display area is located in the first split screen of the touch display screen.
[0023] In some embodiments of the present disclosure, the preview area includes an icon bar and a preview window. The preview window is used to display a thumbnail image of one of the preset applications, and the icon bar includes start icon controls for each of the preset applications.
[0024] In some embodiments of the present disclosure, the interaction method of the electronic device further includes:
[0025] In response to a click operation of the cursor on the start icon control or a touch click operation of the user on the start icon control, displaying a thumbnail image of the preset application corresponding to the clicked start icon control in the preview window; and / or,
[0026] In response to receiving the notification message of the preset application, display the notification message in the preview window.
[0027] In some embodiments of the present disclosure, when the icon bar and the preview window are simultaneously displayed in the preview area, the interaction method of the electronic device further includes:
[0028] When no click operation on the start icon control is detected within the first preset time, hide the preview window and expand the touchpad area from the original size to cover the area where the original preview window is located;
[0029] When the preview window is in the hidden state, the interaction method of the electronic device further includes:
[0030] In response to the cursor clicking the start icon control, or the user clicking the start icon control by touch, or receiving the notification message of the preset application, restore the display of the preview window and restore the touchpad area to the original size, and display the thumbnail of the preset application corresponding to the clicked start icon control in the preview window or display the received notification message in the preview window.
[0031] In some embodiments of the present disclosure, the interaction method of the electronic device further includes:
[0032] In response to the cursor dragging the start icon control to the display area or the user dragging the start icon control to the display area by touch, update the preset application corresponding to the start icon control to the current application, and display the display screen of the original current application in the preview area.
[0033] In some embodiments of the present disclosure, the interaction method of the electronic device further includes:
[0034] In response to the cursor dragging the preview area to the touchpad area or the user dragging the preview area to the touchpad area by touch, swap the display positions of the preview area and the touchpad area.
[0035] In some embodiments of the present disclosure, the interaction method of the electronic device further includes:
[0036] In response to disconnecting from the external keyboard, issue an exit prompt that lasts for a second preset time;
[0037] Based on the user's selection result of the exit prompt within the second preset time, determine whether to exit the preset working interface.
[0038] In some embodiments of the present disclosure, the interaction method of the electronic device further includes:
[0039] In response to a touch operation detected in the cursor operation area, perform a corresponding interface operation.
[0040] In some embodiments of the present disclosure, the cursor operation includes any one or a combination of multiple operations of clicking, swiping, zooming, and dragging.
[0041] According to a second aspect of the embodiments of the present disclosure, there is provided an interaction device for an electronic device. The electronic device includes a touch display screen, and the interaction device of the electronic device includes:
[0042] A display module, configured to display a preset working interface in response to establishing a connection with an external keyboard. The preset working interface includes a touchpad area and a cursor operation area, and a cursor is displayed in the cursor operation area;
[0043] An execution module, configured to perform a corresponding cursor operation on the cursor in response to a touch operation detected in the touchpad area.
[0044] According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including:
[0045] A processor;
[0046] A memory for storing instructions executable by the processor;
[0047] Wherein, the processor is configured to execute the interaction method of the electronic device described in the first aspect.
[0048] According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the interaction method of the electronic device described in the first aspect.
[0049] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: In response to establishing a connection with an external keyboard, the electronic device displays a preset working interface, and can perform a corresponding cursor operation on the cursor displayed in the cursor operation area in response to a touch operation detected in the touchpad area. By displaying the preset working interface, the touch operation of the user in the touchpad area can be converted into a corresponding cursor operation, so that the electronic device can synchronously implement the cursor control function when connected to the external keyboard, ensuring the operation fineness and the coordination with the external keyboard, and improving the user experience.
[0050] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The accompanying drawings here are incorporated into the description and form a part of this description, showing embodiments in accordance with the present invention, and are used together with the description to explain the principles of the present invention.
[0052] Figure 1 It is a flowchart of an interaction method of an electronic device shown according to an exemplary embodiment.
[0053] Figure 2 It is a schematic diagram of a touch display screen and a preset working interface shown according to an exemplary embodiment.
[0054] Figure 3 It is a flowchart of displaying a preset working interface in response to establishing a connection with an external keyboard shown according to an exemplary embodiment.
[0055] Figure 4 It is a schematic diagram of a preset working interface shown according to another exemplary embodiment.
[0056] Figure 5 It is a schematic diagram of a preset working interface shown according to another exemplary embodiment.
[0057] Figure 6 It is a flowchart of an interaction method of an electronic device shown according to another exemplary embodiment.
[0058] Figure 7 It is a flowchart of an interaction method of an electronic device shown according to another exemplary embodiment.
[0059] Figure 8 It is a block diagram of an interaction device of an electronic device shown according to an exemplary embodiment.
[0060] Figure 9 It is a block diagram of an electronic device shown according to an exemplary embodiment.
[0061] In the figure:
[0062] 11 - First split screen; 12 - Second split screen; 20 - Touchpad area; 30 - Cursor operation area; 40 - Display area; 50 - Preview area; 51 - Icon bar; 52 - Preview window; 53 - Launch icon control; 60 - Display module; 70 - Execution module; 101 - Processing component; 102 - Memory; 103 - Power component; 104 - Multimedia component; 105 - Audio component; 106 - Input / output interface; 107 - Sensor component; 108 - Communication component; 109 - Processor. Detailed implementation manners
[0063] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0064] In recent years, with the rapid development of related technologies of electronic devices such as mobile phones and tablet computers, more and more functions of electronic devices have emerged in people's vision, and users can complete various tasks such as viewing or editing documents, emails, calendars, etc. through electronic devices. Nowadays, electronic devices with touch display screens generally adopt virtual keyboards controlled by touch operations, and the office efficiency is relatively low when dealing with tasks that require a large amount of keyboard input.
[0065] To solve the above problems, usually an electronic device is connected to an external keyboard, and the required keyboard input is completed through the external keyboard to meet the needs and efficiency of tasks such as text editing. However, when such an electronic device is connected to an external keyboard, due to problems such as the number of interfaces and compatibility, it is unable to connect or is not convenient to connect other hardware devices such as an external mouse or a touchpad, making it difficult to synchronously implement the function of mouse control, unable to achieve the control effect of keyboard and mouse coordination, and the fineness of touch operations and the coordination with the external keyboard are insufficient, resulting in a poor user experience.
[0066] Based on this, the exemplary embodiments of the present disclosure provide an interaction method for an electronic device. In response to establishing a connection with an external keyboard, the electronic device displays a preset working interface and can perform corresponding cursor operations on the cursor displayed in the cursor operation area in response to a touch operation detected in the touchpad area. By displaying the preset working interface, the touch operation of the user in the touchpad area can be converted into a corresponding cursor operation, so that the electronic device can synchronously implement the function of cursor control when connected to an external keyboard, ensuring the fineness of the operation and the coordination with the external keyboard, and improving the user experience.
[0067] In an exemplary embodiment, an interaction method for an electronic device is provided. The electronic device can be, for example, a device including a touch display screen such as a mobile phone or a tablet computer, and the user can perform various touch operations on the touch display screen to control the electronic device. Referring to Figure 1 as shown, the interaction method of the electronic device includes:
[0068] S100. In response to establishing a connection with an external keyboard, display a preset working interface, where the preset working interface includes a touchpad area and a cursor operation area, and a cursor is displayed in the cursor operation area.
[0069] In step S100, the connection between the external keyboard and the electronic device can be, for example, a wireless connection via Bluetooth or the like or a wired connection via a connection structure such as a data cable. Exemplarily, when the electronic device establishes a connection with the external device, the external device sends connection information to the electronic device, and the connection information includes flag bit information indicating that the external device is an external keyboard. At this time, the electronic device can detect that a connection has been established with the external keyboard.
[0070] After detecting the establishment of a connection with the external keyboard, the electronic device adjusts its display screen to display a Figure 2 preset working interface as shown. The preset working interface includes a touchpad area 20 and a cursor operation area 30. Exemplarily, the touchpad area 20 can be, for example, an area with a fixed background color and can display the trajectory of the user's touch operation within this area. The cursor operation area 30 is the area of the display screen other than the touchpad area 20, and a cursor that can move within the cursor operation area 30 is displayed in the cursor operation area 30. For example, it is a Figure 2 dot within the cursor operation area 30 as shown. The size, shape, and color of the cursor can be set according to user needs.
[0071] S200. In response to the touch operation detected in the touchpad area, perform a corresponding cursor operation on the cursor.
[0072] In step S200, after the electronic device displays the preset working interface, it can detect the user's touch operation within the touchpad area 20 and, according to the touch operation detected in the touchpad area 20, perform a corresponding cursor operation on the cursor. Exemplarily, after the electronic device displays the preset working interface, if the user performs a touch operation of sliding in a fixed direction within the touchpad area 20, at this time, the electronic device controls the cursor to perform a cursor operation of sliding in the fixed direction within the cursor operation area 30, so that the cursor can move in the fixed direction. If the user performs a click touch operation within the touchpad area 20, at this time, the electronic device controls the cursor to perform a click cursor operation within the cursor operation area 30, so that the cursor can click on the control corresponding to its position.
[0073] Different from the user directly performing a touch operation on the entire touch display screen to control the electronic device, by displaying the preset working interface, the display interface of the electronic device is re-planned, and the cursor can be used as a reference for the touch operation trajectory to achieve fine operations on the cursor operation area 30, such as text selection, control clicking, etc., so that the user can have a better usage experience when connecting the external keyboard.
[0074] In this embodiment, in response to establishing a connection with an external keyboard, the electronic device displays a preset working interface and can, in response to a touch operation detected in the touchpad area 20, perform a corresponding cursor operation on the cursor displayed in the cursor operation area 30. By displaying the preset working interface, the touch operation of the user within the touchpad area 20 can be converted into a corresponding cursor operation, enabling the electronic device to synchronously implement the cursor control function when connected to the external keyboard, ensuring the operation fineness and coordination with the external keyboard, and enhancing the user experience.
[0075] In some embodiments, as shown in Figure 2 the touch display screen includes a first sub-screen 11 and a second sub-screen 12 that can be relatively folded, and at least part of the cursor operation area 30 is located in the first sub-screen 11, and the touchpad area 20 is located in the second sub-screen 12.
[0076] The electronic device is a foldable electronic device. The touch display screen of the electronic device includes a first sub-screen 11 and a second sub-screen 12 that can be relatively folded. Exemplarily, the first sub-screen 11 and the second sub-screen 12 have the same shape and size, and the first sub-screen 11 and the second sub-screen 12 can rotate around a rotation axis to be relatively folded and unfolded. The first sub-screen 11 and the second sub-screen 12 can each display different pictures. At least part of the cursor operation area 30 is located in the first sub-screen 11, that is, at least part of the area of the cursor operation area 30 is located in the first sub-screen 11, and the touchpad area 20 is located in the second sub-screen 12, so that at least part of the area of the cursor operation area 30 and the touchpad area 20 are located in different sub-screens.
[0077] Exemplarily, a part of the cursor operation area 30 is located in the first sub-screen 11, so that the entire first sub-screen 11 is the cursor operation area 30, and another part of the cursor operation area 30 is located in the second sub-screen 12, so that the second sub-screen 12 is composed of the touchpad area 20 and a part of the cursor operation area 30. It should be noted that the first sub-screen 11 and the second sub-screen 12 can be completely equivalent, that is, at least part of the area of the cursor operation area 30 can also be located in the second sub-screen 12, and the touchpad area 20 is located in the first sub-screen 11.
[0078] In this embodiment, the touch display screen includes a first sub-screen 11 and a second sub-screen 12 that can be relatively folded, such that the electronic device is a foldable electronic device, capable of changing the bending angle between the first sub-screen 11 and the second sub-screen 12 so that the electronic device is applicable to different usage scenarios. The cursor operation area 30 is at least partially located on the first sub-screen 11, and the touchpad area 20 is located on the second sub-screen 12, achieving split-screen display, and enabling at least some areas of the cursor operation area 30 and the touchpad area 20 to be located in different sub-screens, capable of more clearly and intuitively dividing the touchpad area 20 and the cursor operation area 30, and enabling the cursor operation area 30 in the first sub-screen 11 to be presented to the user at an optimal angle by folding the first sub-screen 11, improving the user experience.
[0079] Reference Figure 3 As shown, in response to establishing a connection with an external keyboard, a preset working interface is displayed, which may include:
[0080] S110. In response to establishing a connection with an external keyboard, determine the posture of the electronic device.
[0081] In step S110, after the electronic device detects the establishment of a connection with the external keyboard, it first determines the posture of the electronic device at this time. Exemplarily, for example, it can detect whether the posture of the electronic device at this time is in an unfolded state or a bent state through the sensors of the electronic device.
[0082] S120. When the posture of the electronic device is in an unfolded state, issue a mode activation prompt.
[0083] In step S120, when the posture of the electronic device is in an unfolded state, the bending angle between the first sub-screen 11 and the second sub-screen 12 of the electronic device can be, for example, 180°, indicating that the electronic device is in a large-screen usage state where both the first sub-screen 11 and the second sub-screen 12 are displaying images. At this time, the electronic device issues a mode activation prompt to prompt the entry into the preset working mode. The mode activation prompt can be popped up in the form of a dialog box, for example.
[0084] S130. In response to the user's confirmation operation, enter the preset working mode, and in the preset working mode, display the preset working interface.
[0085] In step S130, the user can confirm the mode activation prompt issued by the electronic device. When the electronic device recognizes and detects the user's confirmation operation, it enters the preset working mode, enabling the electronic device to display the preset working interface in the preset working mode, and capable of performing corresponding cursor operations on the cursor in response to the touch operations detected in the touchpad area.
[0086] Exemplarily, in response to the electronic device establishing a connection with an external keyboard, the electronic device detects its current posture through a sensor. When the posture of the electronic device is in an unfolded state, that is, the bending angle between the first split screen 11 and the second split screen 12 is 180°, a dialog box for prompting the opening of the mode is popped up, asking the user "whether to open the preset working mode", and providing two control options of "Yes" and "No" to the user. When the user selects the "Yes" opening control option to complete the confirmation operation, the electronic device enters the preset working mode and displays the preset working interface as shown in Figure 2 the following figure.
[0087] In this embodiment, in response to establishing a connection with an external keyboard, first, the posture of the electronic device is determined, and a mode opening prompt is issued when the posture of the electronic device is in an unfolded state. After the user makes a confirmation operation, it can enter the preset working mode to display the preset working interface, realizing the display of the preset working interface when connecting to an external keyboard. By determining the posture of the electronic device, it can be confirmed whether the electronic device is in a state of using a large screen, making the state of using a large screen another prerequisite for displaying the preset working interface, further reasonably limiting the usage scenario of the preset working mode. By issuing a mode opening prompt, the confirmation before entering the preset working mode is realized. The user can choose whether to make a confirmation operation according to actual needs, avoiding the inconvenience caused by forcibly entering the preset working mode after the trigger condition, and improving the user experience.
[0088] In some embodiments, the confirmation operation includes a confirmation operation on the mode opening control, or the confirmation operation includes bending the electronic device to within a first preset angle range. Alternatively, the confirmation operation includes a confirmation operation on the mode opening control and bending the electronic device to within a first preset angle range.
[0089] The user's confirmation operation can be a confirmation operation on the mode opening control in the mode opening prompt. That is, when the electronic device issues a mode opening prompt of "whether to open the preset working mode", the user can complete the confirmation operation by selecting the "Yes" opening control option. The user's confirmation operation can also be bending the electronic device from the unfolded state to within a first preset angle range after receiving the mode opening prompt. The first preset angle range can be, for example, 120° to 150°, so that the touch display screen of the electronic device is in a bent state and hovers at a fixed angle, and it can be considered that the user has made a confirmation operation.
[0090] In this embodiment, the confirmation operation of the user on the mode activation control and the operation of the user bending the electronic device within the first preset angle range are regarded as the confirmation operation of the user on the mode activation prompt, realizing the confirmation before entering the preset working mode. The user can complete the confirmation operation of the mode activation prompt in different ways, and can choose whether to make the confirmation operation according to actual needs, avoiding the inconvenience caused by forcibly entering the preset working mode after the trigger condition, and improving the user experience.
[0091] In response to establishing a connection with an external keyboard, a preset working interface is displayed. It may further include: when the posture of the electronic device is in a bent state and the bending angle is within the second preset range, entering the preset working mode.
[0092] After the electronic device detects the establishment of a connection with an external keyboard, if it detects through sensors or other means that the posture of the electronic device is in a bent state and the bending angle is within the second preset range, it can directly control the electronic device to enter the preset working mode without issuing a mode activation prompt, and display the preset working interface in the preset working mode. The second preset range can be the same as the first preset range, for example, the second preset range can be from 120° to 150°.
[0093] Exemplarily, when the posture of the electronic device is in a bent state and hovering at a fixed angle when establishing a connection with an external keyboard, and the bending angle is within the second preset range, the electronic device no longer executes the step of issuing a mode activation prompt and no longer needs to respond to the confirmation operation of the user, and directly enters the preset working mode to display the preset working interface.
[0094] In this embodiment, when the posture of the electronic device is in a bent state and the bending angle is within the second preset range, it enters the preset working mode and displays the preset working interface in the preset working mode, realizing the display of the preset working interface when connecting to an external keyboard. The user can directly enter the preset working mode to display the preset working interface by bending the electronic device within the second preset range when establishing a connection with the external keyboard, simplifying the confirmation process of entering the preset working mode, and ensuring that the bending angle of the electronic device when entering the preset working mode is applicable to the preset working mode.
[0095] In some embodiments, the interaction method of the electronic device further includes: in the preset working mode, in response to the electronic device being folded in half, switching to the standby mode.
[0096] After the electronic device enters the preset working mode, the posture of the electronic device can be in an unfolded state or a bent state at this time. If the user folds the electronic device in half, so that the first split screen 11 and the second split screen 12 are close to each other to the shortest distance, and the bending angle of the electronic device is minimized, it means that the user no longer wants to use the first split screen 11 and the second split screen 12 for screen display at this time. The electronic device switches to the standby mode, and in the standby mode, both the first split screen 11 and the second split screen 12 are turned off and no longer display the preset working interface.
[0097] In this embodiment, the electronic device can respond to its folding action to switch from the preset working mode to the standby mode, enabling the user to exit the preset working mode and enter the standby mode by folding the electronic device, realizing the switch between the preset working mode and the standby mode. In the standby mode, both the first split screen 11 and the second split screen 12 are in the state of turning off the screen and standby, and can exit the preset working mode when the electronic device is in a posture not suitable for the preset working mode, avoiding power consumption waste caused by maintaining the preset working mode in non-necessary situations.
[0098] In some other embodiments, the interaction method of the electronic device further includes: after switching from the preset working mode to the standby mode, in response to the electronic device switching from the folded state to the bent state and the bending angle being within the third preset range, or in response to the electronic device switching from the folded state to the unfolded state, if the external keyboard is connected to the electronic device, enter the preset working mode.
[0099] After the electronic device switches from the preset working mode to the standby mode, if the electronic device does not disconnect from the external keyboard, it can enter the preset working mode again when it is detected that the electronic device switches from the folded state to the bent state and the bending angle is within the third preset range, or when it is detected that the electronic device switches from the folded state to the unfolded state, that is, when the user wants to use the first split screen 11 and the second split screen 12 again to display the preset working interface while the electronic device is connected to the external keyboard. The first split screen 11 and the second split screen 12 light up again and display the preset working interface.
[0100] In this embodiment, after the electronic device switches from the preset working mode to the standby mode, it can respond to the change of posture and enter the preset working mode again on the premise of maintaining the connection with the external keyboard, enabling the user to temporarily exit and re-enter the preset working mode by changing the posture of the electronic device. When the electronic device enters the preset working mode from the standby mode, it can retain the preset display interface of the preset working mode before entering the standby mode, without the need to confirm and debug the preset working mode again, making the preset working mode have a certain consistency and continuity during the mutual switching process with the standby mode.
[0101] In some embodiments, the cursor operation area 30 includes a preview area 50 and a display area 40. The display area 40 is used to display the display screen of the current application, and the preview area 50 is used to display relevant information of at least one preset application.
[0102] As shown in the reference Figure 2 The cursor operation area 30 includes a preview area 50 and a display area 40. For example, the preview area 50 and the display area 40 can be located in different split screens. The display area 40 can display the display screen of the current application. When the user opens and uses a certain application, the display area 40 can display the real-time display screen of the application to present the usage situation of the current application to the user.
[0103] The preview area 50 can display relevant information of the preset application. The preset application can be one or more. For example, the preset application can be an application preset by the user according to needs, or it can also be an application judged by the system to have the most recent usage time or the highest usage frequency. The relevant information of the preset application can include, for example, real-time push messages or relevant display screens of the preset application. The user can view and preview the relevant information of the preset application through the preview area 50.
[0104] In this embodiment, by further dividing the cursor operation area 30 into a preview area 50 and a display area 40, the display screen of the current application and the relevant information of at least one preset application can be respectively displayed through the display area 40 and the preview area 50, realizing the diversification of the functions of the cursor operation area 30. The current application and the preset application can be presented to the user at the same time, improving the ability of the electronic device to synchronously process multiple work tasks.
[0105] In some embodiments, the preview area 50 and the touchpad area 20 are located in the second split screen 12 of the touch display screen, and the display area 40 is located in the first split screen 11 of the touch display screen.
[0106] As mentioned above, the cursor operation area 30 is at least located in the first split screen 11, and the touchpad area 20 is located in the second split screen 12. As shown in the reference Figure 2 The display area 40 of the cursor operation area 30 is located in the first split screen 11. As a part of the cursor operation area 30 located in the first split screen 11, the preview area 50 of the cursor operation area 30 and the touchpad area 20 are jointly located in the second split screen 12 as another part of the cursor operation area 30 located in the second split screen 12.
[0107] Exemplarily, the display area 40 may, for example, occupy the entire first split screen 11, such that the first split screen 11 can completely display the display screen of the current application, and the preview area 50 and the touchpad area 20 are oppositely arranged in the second split screen 12 along the rotation axis direction. The relative sizes of the preview area 50 and the touchpad area 20 can be adjusted according to user requirements or actual usage scenarios.
[0108] In this embodiment, by separately arranging the display area 40 that requires a larger display range in the first split screen 11, and jointly arranging the preview area 50 and the touchpad area 20 that do not require a larger display range in the second split screen 12, a reasonable planning of the touch display screen area is achieved, such that the first split screen 11 can completely display the display screen of the current application, and the second split screen 12 can simultaneously provide the functions of a touchpad and preview, improving the user experience.
[0109] In some embodiments, the preview area 50 includes an icon bar 51 and a preview window 52. The preview window 52 is used to display a thumbnail image of a preset application, and the icon bar 51 includes start icon controls 53 for each preset application.
[0110] Refer to Figure 2 As shown, the preview area 50 includes an icon bar 51 and a preview window 52 that are oppositely arranged along the rotation axis direction. The preview window 52 can display a thumbnail image of a preset application, and the display of the display screen related to the preset application can be realized through the preview window 52. The icon bar 51 includes start icon controls 53 for each preset application, and operations such as previewing or starting the preset application can be realized by clicking on the start icon control 53 with a cursor.
[0111] In this embodiment, by arranging the icon bar 51 and the preview window 52 in the preview area 50, operations related to the start icon control 53 corresponding to the preset application in the icon bar 51 can be performed with a cursor to control the preset application, and a thumbnail image of a preset application can be displayed through the preview window 52 to preview the preset application, such that the preview area 50 has the function of displaying information related to the preset application, improving the user experience.
[0112] In some embodiments, the interaction method of the electronic device further includes: in response to a click operation of the cursor on the start icon control 53 or a touch click operation of the user on the start icon control 53, displaying a thumbnail image of the preset application corresponding to the clicked start icon control 53 in the preview window 52.
[0113] When the user makes a cursor click operation on the startup icon control 53 in the icon bar 51 through a touch operation within the touchpad area 20, or when the user directly performs a touch click operation on the startup icon control 53 in the cursor bar, it represents that the user wants to obtain the relevant information of the preset application corresponding to the startup icon control 53. The thumbnail image of the preset application can be displayed through the preview window 52 to implement the display of the relevant information of the preset application selected by the user.
[0114] In this embodiment, the preview window 52 can respond to the click operation of the cursor on the startup icon control 53 or the touch click operation of the user on the startup icon control 53, and display the thumbnail image of the preset application corresponding to the clicked startup icon control 53, so that the user can confirm and select the preset application by controlling the cursor through a touch operation within the touchpad area 20 or directly performing a touch click operation on the startup icon control 53, and display the thumbnail image of the selected preset application through the preview window 52, making the display of the relevant information of the preset application proactive and selective, and improving the user experience.
[0115] In some other embodiments, the interaction method of the electronic device further includes: in response to receiving a notification message of a preset application, displaying the notification message in the preview window 52.
[0116] After receiving the notification message, that is, the real-time message pushed by the background, the preset application can display the notification message through the preview window 52. The display of the notification message can continue until other notification messages appear or a thumbnail image needs to be displayed. The display of the notification message can also be set with a fixed preset duration, and after reaching the preset duration, the preview window 52 will no longer display the notification message.
[0117] In this embodiment, the preview window 52 can display the notification message in response to receiving the notification message of the preset application, realizing the real-time presentation of the notification message of the preset application, being able to avoid missing the notification messages of each preset application when using the current application, effectively preventing the user from missing the key information that may exist in the notification message, and improving the user experience.
[0118] In some embodiments, when the icon bar 51 and the preview window 52 are simultaneously displayed in the preview area 50, the interaction method of the electronic device further includes: when no click operation on the startup icon control 53 is detected within the first preset time, hiding the preview window 52 and expanding the touchpad area 20 from the original size to cover the area where the original preview window 52 is located.
[0119] If no click operation on the start icon control 53 is detected within the first preset time, that is, within the first preset time, the user does not perform a click operation on the start icon control 53 in the icon bar 51 by means of a touch operation within the touchpad area 20, nor directly perform a touch click operation on the start icon control 53 in the cursor bar, it means that the user does not want to obtain relevant information of the preset application within the first preset time. The first preset time can be, for example, 60S. At this time, the electronic device is controlled to hide the preview window 52, resulting in a preset working interface as shown in Figure 4 such that the preview area 50 only includes the icon bar 51, thereby reducing the coverage area of the preview area 50, and the area where the original preview window 52 was located before hiding is covered by the touchpad area 20 with an expanded size. The overall range of the touchpad area 20 and the preview area 50 before and after hiding the preview window 52 still occupies the second split screen 12.
[0120] In this embodiment, when no click operation on the start icon control 53 is detected within the first preset time, by hiding the preview window 52 and expanding the touchpad area 20 from the original size to cover the area where the original preview window 52 was located, it is possible to reduce the area range occupied by the preview area 50 when the user does not want to obtain relevant information of the preset application and expand the size of the touchpad area 20. Make full use of the space in the second split screen 12, facilitate the user to perform touch operations within the touchpad area 20, make the preset working interface have the diversity to adapt to different application scenarios, and improve the user experience.
[0121] In some embodiments, when the preview window 52 is in the hidden state, the interaction method of the electronic device further includes: in response to the cursor clicking on the start icon control 53, or the user clicking on the start icon control 53 by touch, or receiving a notification message of the preset application, restoring the display of the preview window 52 and restoring the touchpad area 20 to the original size, and displaying a thumbnail image of the preset application corresponding to the clicked start icon control 53 in the preview window 52 or displaying the received notification message in the preview window 52.
[0122] As shown in Figure 4 in the case where the preview window 52 is in the hidden state, when the user performs a click operation on the start icon control 53 in the icon bar 51 by means of a touch operation within the touchpad area 20, or the user directly performs a touch click operation on the start icon control 53 in the cursor bar, or receives a notification message of the preset application, restore the display of the preview window 52 and restore the touchpad area 20 to the original size again, resulting in a display as shown in Figure 2The preset working interface shown makes the preview area 50 include an icon bar 51 and a preview window 52. The preview area 50 and the touchpad area 20 are both restored to their corresponding original sizes, and the thumbnail images or notification messages of the preset application can continue to be displayed through the preview window 52.
[0123] In this embodiment, when the preview window 52 is in a hidden state, the user can display the hidden preview window 52 by clicking on the startup icon control 53 or receiving a notification message of the preset application. When the user wants to obtain relevant information about the preset application, the original sizes corresponding to the preview area 50 and the touchpad area 20 can be restored, and the thumbnail images or notification messages of the preset application can be displayed again through the preview window 52, making the preset working interface diverse and applicable to different application scenarios and enhancing the user experience.
[0124] In some embodiments, the interaction method of the electronic device further includes: in response to the cursor dragging the startup icon control 53 to the display area 40 or the user dragging the startup icon control 53 to the display area 40 by a touch method, updating the preset application corresponding to the startup icon control 53 to the current application, and displaying the display screen of the original current application in the preview area 50.
[0125] When the user makes the cursor drag the startup icon control 53 to the display area 40 through a touch operation within the touchpad area 20, or when the user directly performs a touch operation of dragging the startup icon control 53 to the display area 40, the preset application corresponding to the dragged startup icon control 53 is updated to the new current application, so that the display area 40 can display the display screen of the preset application, and the display screen of the original current application is displayed in the preview area 50, completing the swapping of the preset application and the original current application.
[0126] In this embodiment, the user can drag the startup icon control 53 to the display area 40 by controlling the cursor or directly by touch, so that the preset application corresponding to the dragged startup icon control 53 can be updated to the new current application. The preset application is largely displayed through the display area 40, and the original current application is displayed through the preview window 52 of the preview area 50, realizing the swapping of the preset application and the current application. The user can select different preset applications for work processing by swapping the preset application and the original current application, and can retain the display of the display screen of the original current application, thereby improving the office efficiency of the user when displaying the preset working interface.
[0127] In some embodiments, the interaction method of the electronic device further includes: in response to the cursor dragging the preview area 50 to the touchpad area 20 or the user dragging the preview area 50 to the touchpad area 20 by a touch method, swapping the display positions of the preview area 50 and the touchpad area 20.
[0128] As described above, the relative display positions of the preview area 50 and the touchpad area 20 can be set according to user needs. When displaying the preset working interface, when the user makes a touch operation within the touchpad area 20 to drag the cursor to the preview area 50, or when the user directly performs a touch operation to drag the preview area 50 to the touchpad area 20, the display positions of the preview area 50 and the touchpad area 20 are swapped.
[0129] Exemplarily, in the preset working interface as Figure 2 shown, in response to the cursor dragging the preview area 50 to the touchpad area 20 or the user dragging the preview area 50 to the touchpad area 20 by touch, the display positions of the preview area 50 and the touchpad area 20 are swapped, obtaining the preset working interface as Figure 5 shown.
[0130] In this embodiment, the electronic device can, when displaying the preset working interface, in response to the cursor dragging the preview area 50 to the touchpad area 20 or the user dragging the preview area 50 to the touchpad area 20 by touch, swap the display positions of the preview area 50 and the touchpad area 20, realizing the adjustment and setting of the relative display positions of the preview area 50 and the touchpad area 20. It can quickly adjust the positions of the preview area 50 and the touchpad area 20 according to factors such as the user's dominant hand or operation habits when displaying the preset working interface, improving the user experience.
[0131] In some embodiments, as shown in Figure 6 , the interaction method of the electronic device further includes:
[0132] S310. In response to disconnecting from the external keyboard, issue an exit prompt that lasts for a second preset time.
[0133] In step S310, when it is detected that the electronic device is disconnected from the external keyboard, an exit prompt with a duration of the second preset time is issued to prompt for exiting the preset working interface. The exit prompt can be popped up in the form of a dialog box, for example, and the second preset time can be 10S, for example.
[0134] S320. Based on the user's selection result of the exit prompt within the second preset time, determine whether to exit the preset working interface.
[0135] In step S320, the user can select the exit prompt issued by the electronic device, and the electronic device can, according to the user's selection result of the exit prompt within the second preset time, perform the operation of exiting the preset working interface or maintaining the preset working interface correspondingly.
[0136] Exemplarily, when the electronic device detects that it is disconnected from an external keyboard, a dialog box for exiting prompt pops up, asking the user whether to exit the preset working interface, and providing the user with two control options of "Yes" and "No", and at the same time, a countdown for the duration of the exit prompt is carried out in the dialog box. If the user selects the "Yes" control option within the second preset time, or does not make a selection within the second preset time, the electronic device exits the preset working interface. If the user selects the "No" control option within the second preset time, the electronic device maintains the preset working interface.
[0137] In this embodiment, the electronic device can respond to the disconnection from the external keyboard by issuing an exit prompt for the second preset time, and determine whether to exit the preset working interface according to the user's selection result of the exit prompt within the second preset time, and can realize the exit of the preset working interface when disconnected from the external keyboard. Setting the duration of the exit prompt to the second preset time can provide a certain buffer waiting time for automatically exiting the preset working interface, and avoid the current ongoing work from being unable to be completed due to too fast exit from the preset working interface.
[0138] In some embodiments, the interaction method of the electronic device further includes: performing corresponding interface operations in response to touch operations detected in the cursor operation area 30.
[0139] After the electronic device displays the preset working interface, the electronic device can not only perform corresponding cursor operations on the cursor according to the touch operations detected in the touchpad area 20 to control the electronic device, but also directly perform corresponding interface operations according to the touch operations detected in the cursor operation area 30, so that the user can control the electronic device by performing touch operations in the touchpad area 20 to control the cursor to perform cursor operations, or by performing touch operations in the cursor operation area 30 to make the electronic device directly perform corresponding interface operations. It can be understood that the above-mentioned touch click operations on the start icon control 53 by the user, such as dragging the start icon control 53 to the display area 40 by touch, are all interface operations performed corresponding to the touch operations detected in the cursor operation area 30.
[0140] In this embodiment, the electronic device can perform corresponding interface operations in response to the touch operations detected in the cursor operation area 30, so that the user can also control the electronic device by performing touch operations in the cursor operation area 30 to make the electronic device directly perform corresponding interface operations. The user can maintain the control of the electronic device when the touchpad control method fails, improving the stability of the interaction between the user and the electronic device.
[0141] In some embodiments, the cursor operations include any one or a combination of multiple operations of clicking, swiping, zooming, and dragging.
[0142] Exemplarily, when the user performs touch operations such as finger tapping, finger swiping, reverse two-finger swiping, and swiping after finger tapping in the touchpad area 20, corresponding cursor operations such as click operation, swipe operation, zoom operation, and drag operation are performed on the cursor.
[0143] In this embodiment, the user can perform various different cursor operations to enable the electronic device to synchronously implement the cursor control function when connected to an external keyboard, ensuring the operation fineness and coordination with the external keyboard, and improving the user experience.
[0144] In an exemplary embodiment, an interaction method of an electronic device is provided. The electronic device includes a touch display screen, and the touch display screen includes a first split screen 11 and a second split screen 12 that can be relatively folded. Refer to Figure 7 As shown, the interaction method of the electronic device includes:
[0145] S1. In response to establishing a connection with an external keyboard, determine the posture of the electronic device. If it is in the unfolded state, execute S2; if it is in the bent state, execute S4;
[0146] S2. Issue a mode opening prompt;
[0147] S3. In response to a confirmation operation on the mode opening control; and / or, in response to bending the electronic device to within a first preset angle range, enter a preset working mode;
[0148] S4. In response to the bending angle of the electronic device being within a second preset range, enter a preset working mode;
[0149] S5. Display a preset working interface, which includes a touchpad area and a cursor operation area. A cursor is displayed in the cursor operation area, and the cursor operation area includes a preview area and a display area. The preview area includes an icon bar and a preview window;
[0150] S61. In response to the electronic device being folded in half, switch to the standby mode;
[0151] S62. In response to the electronic device switching from the folded state to the bent state and the bending angle being within a third preset range, or in response to the electronic device switching from the folded state to the unfolded state, if the external keyboard remains connected to the electronic device, enter the preset working mode;
[0152] S63. In response to a click operation of the cursor on the startup icon control or a touch click operation of the user on the startup icon control, display a thumbnail of a preset application corresponding to the clicked startup icon control in the preview window;
[0153] S64. In response to receiving a notification message of a preset application, display the notification message in the preview window;
[0154] S65. When the icon bar and the preview window are simultaneously displayed in the preview area, if a click operation on the start icon control is not detected within the first preset time, hide the preview window and expand the touchpad area from the original size to cover the area where the original preview window is located;
[0155] S66. When the preview window is in the hidden state, in response to the cursor clicking the start icon control or the user clicking the start icon control by touch or receiving a notification message of a preset application, restore the display of the preview window and restore the touchpad area to the original size, and display a thumbnail of the preset application corresponding to the clicked start icon control in the preview window or display the received notification message in the preview window;
[0156] S67. In response to the cursor dragging the start icon control to the display area or the user dragging the start icon control to the display area by touch, update the preset application corresponding to the start icon control to the current application, and display the display screen of the original current application in the preview area;
[0157] S68. In response to the cursor dragging the preview area to the touchpad area or the user dragging the preview area to the touchpad area by touch, swap the display positions of the preview area and the touchpad area;
[0158] S69. In response to disconnecting from the external keyboard, issue an exit prompt that lasts for a second preset time;
[0159] S70. Based on the user's selection result of the exit prompt within the second preset time, determine whether to exit the preset working interface.
[0160] In this embodiment, in response to establishing a connection with an external keyboard, the electronic device enters a preset working mode and displays a preset working interface. In the preset working mode, in response to a touch operation detected in the touchpad area 20, a corresponding cursor operation is performed on the cursor displayed in the cursor operation area 30. By entering the preset working mode and displaying the preset working interface, the touch operation of the user within the touchpad area 20 can be converted into a corresponding cursor operation, enabling the electronic device to synchronously implement the cursor control function when connected to an external keyboard, and realizing multiple different functions through different cursor operations, ensuring the operation fineness and the coordination with the external keyboard, and improving the user experience.
[0161] In an exemplary embodiment, an interaction device of an electronic device is provided. Refer to Figure 8As shown, the interaction device of the electronic device includes a display module 60 and an execution module 70. The display module 60 is configured to display a preset working interface in response to establishing a connection with an external keyboard. The preset working interface includes a touchpad area 20 and a cursor operation area 30, and a cursor is displayed in the cursor operation area 30. The execution module 70 is configured to perform corresponding cursor operations on the cursor in response to a touch operation detected in the touchpad area 20.
[0162] In this embodiment, by the display module 60 responding to the establishment of a connection with an external keyboard, the electronic device displays a preset working interface, and can perform corresponding cursor operations on the cursor displayed in the cursor operation area 30 by the execution module 70 in response to a touch operation detected in the touchpad area 20. By displaying the preset working interface, the touch operation of the user within the touchpad area 20 can be converted into corresponding cursor operations, enabling the electronic device to synchronously implement the function of cursor control when connected to an external keyboard, ensuring the precision of the operation and the coordination with the external keyboard, and improving the user experience.
[0163] In one embodiment, the touch display screen includes a first sub-screen 11 and a second sub-screen 12 that can be relatively folded. At least part of the cursor operation area 30 is located in the first sub-screen 11, and the touchpad area 20 is located in the second sub-screen 12.
[0164] In one embodiment, the display module 60 is further configured to: determine the posture of the electronic device in response to establishing a connection with an external keyboard; when the posture of the electronic device is in an unfolded state, issue a mode opening prompt; in response to the user's confirmation operation, enter a preset working mode, and in the preset working mode, display a preset working interface.
[0165] In one embodiment, the confirmation operation includes: a confirmation operation on a mode opening control; and / or, bending the electronic device to within a first preset angle range.
[0166] In one embodiment, the display module 60 is further configured to: enter a preset working mode when the posture of the electronic device is in a bent state and the bending angle is within a second preset range.
[0167] In one embodiment, the display module 60 is further configured to: in the preset working mode, switch to the standby mode in response to the electronic device being folded in half; and / or, after the preset working mode is switched to the standby mode, in response to the electronic device being switched from the folded state to the bent state and the bending angle being within a third preset range, or in response to the electronic device being switched from the folded state to the unfolded state, if the external keyboard remains connected to the electronic device, enter the preset working mode.
[0168] In one embodiment, the display module 60 is further configured to: in response to disconnecting from an external keyboard, issue an exit prompt that lasts for a second preset time; and determine whether to exit the preset working interface based on the user's selection result of the exit prompt within the second preset time.
[0169] In one embodiment, the cursor operation area 30 includes a preview area 50 and a display area 40. The display area 40 is configured to display the display screen of the current application, and the preview area 50 is configured to display relevant information of at least one preset application.
[0170] In one embodiment, the preview area 50 and the touchpad area 20 are located in the second split screen 12 of the touch display screen, and the display area 40 is located in the first split screen 11 of the touch display screen.
[0171] In one embodiment, the preview area 50 includes an icon bar 51 and a preview window 52. The preview window 52 is configured to display a thumbnail image of a preset application, and the icon bar 51 includes start icon controls 53 of the respective preset applications.
[0172] In one embodiment, the execution module 70 is further configured to: in response to a click operation of the cursor on the start icon control 53 or a touch click operation of the user on the start icon control 53, display a thumbnail image of the preset application corresponding to the clicked start icon control 53 in the preview window 52; and / or, in response to receiving a notification message of a preset application, display the notification message in the preview window 52.
[0173] In one embodiment, when the icon bar 51 and the preview window 52 are simultaneously displayed in the preview area 50, the execution module 70 is further configured to: when no click operation on the start icon control 53 is detected within a first preset time, hide the preview window 52 and expand the touchpad area 20 from the original size to cover the area where the original preview window 52 is located.
[0174] In one embodiment, when the preview window 52 is in a hidden state, the execution module 70 is further configured to: in response to the cursor clicking on the start icon control 53, or the user clicking on the start icon control 53 by touch, or receiving a notification message of a preset application, restore the display of the preview window 52 and restore the touchpad area 20 to the original size, and display a thumbnail image of the preset application corresponding to the clicked start icon control 53 in the preview window 52 or display the received notification message in the preview window 52.
[0175] In one embodiment, the execution module 70 is further configured to: in response to the cursor dragging the start icon control 53 to the display area 40 or the user dragging the start icon control 53 to the display area 40 by touch, update the preset application corresponding to the start icon control 53 to the current application, and display the display screen of the original current application in the preview area 50.
[0176] In one embodiment, the execution module 70 is further configured to: in response to the cursor dragging the preview area 50 to the touchpad area 20 or the user dragging the preview area 50 to the touchpad area 20 by a touch operation, swap the display positions of the preview area 50 and the touchpad area 20.
[0177] In one embodiment, the execution module 70 is further configured to: in response to a touch operation detected by the cursor operation area 30, perform a corresponding interface operation.
[0178] In one embodiment, the cursor operation includes any one or a combination of multiple operations such as clicking, sliding, zooming, and dragging.
[0179] In an exemplary embodiment, an electronic device is provided. The electronic device may be, for example, a device such as a mobile phone or a tablet computer including a touch display screen.
[0180] Reference Figure 9 As shown, the electronic device may include one or more of the following components: a processing component 101, a memory 102, a power component 103, a multimedia component 104, an audio component 105, an input / output (I / O) interface 106, a sensor component 107, and a communication component 108.
[0181] The processing component 101 generally controls the overall operation of the electronic device, such as operations associated with display, telephone call, data communication, camera operation, and recording operation. The processing component 101 may include one or more processors 109 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 101 may include one or more modules to facilitate the interaction between the processing component 101 and other components. For example, the processing component 101 may include a multimedia module to facilitate the interaction between the multimedia component 104 and the processing component 101.
[0182] The memory 102 is configured to store various types of data to support the operation of the electronic device. Examples of these data include instructions for any application or method operating on the electronic device, contact data, phone book data, messages, pictures, videos, etc. The memory 102 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disc.
[0183] The power component 103 provides power for various components of the electronic device. The power component 103 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device.
[0184] The multimedia component 104 includes a screen that provides an output interface between the electronic device and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of the touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operations. In some embodiments, the multimedia component 104 includes a front camera and / or a rear camera. When the electronic device is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
[0185] The audio component 105 is configured to output and / or input audio signals. For example, the audio component 105 includes a microphone (MIC) that is configured to receive external audio signals when the electronic device is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 102 or transmitted via the communication component 108. In some embodiments, the audio component 105 further includes a speaker for outputting audio signals.
[0186] The I / O interface 106 provides an interface between the processing component 101 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include, but are not limited to: a home button, a volume button, a power button, and a lock button.
[0187] The sensor assembly 107 includes one or more sensors for providing a status assessment of various aspects of the electronic device. For example, the sensor assembly 107 can detect the on / off state of the electronic device, the relative positioning of components, such as the display and keypad of the electronic device, the sensor assembly 107 can also detect a change in the position of the electronic device or a component of the electronic device, the presence or absence of user contact with the electronic device, the orientation or acceleration / deceleration of the electronic device, and the temperature change of the electronic device. The sensor assembly 107 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 107 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 107 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0188] The communication component 108 is configured to facilitate communication between the electronic device and other devices in a wired or wireless manner. The device can access a wireless network based on communication standards, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 108 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 108 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0189] In an exemplary embodiment, the electronic device can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described interactive method applied to the electronic device.
[0190] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as the memory 102 including instructions, and the above instructions can be executed by the processor 109 of the electronic device to complete the above-described interactive method applied to the electronic device. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc. When the instructions in the storage medium are executed by the processor 109 of the electronic device, the electronic device is enabled to execute the interactive method shown in the above embodiments.
[0191] Other embodiments of the present invention will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following the general principles of the invention and including known common general knowledge or conventional technical means in the technical field not disclosed in this disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the invention are pointed out by the following claims.
[0192] It should be understood that the present invention is not limited to the exact structures already described and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.
Claims
1. An interaction method for an electronic device, characterized in that, the electronic device includes a touch display screen, and the interaction method of the electronic device includes: responding to establishing a connection with an external keyboard, displaying a preset working interface, the preset working interface includes a touchpad area and a cursor operation area, and a cursor is displayed in the cursor operation area; responding to a touch operation detected in the touchpad area, performing a corresponding cursor operation on the cursor.
2. The interaction method for an electronic device according to claim 1, characterized in that, the touch display screen includes a first sub-screen and a second sub-screen that can be relatively folded, at least part of the cursor operation area is located in the first sub-screen, and the touchpad area is located in the second sub-screen.
3. The interaction method for an electronic device according to claim 2, characterized in that, the responding to establishing a connection with an external keyboard and displaying a preset working interface includes: responding to establishing a connection with an external keyboard, determining the posture of the electronic device; when the posture of the electronic device is in an unfolded state, sending a mode opening prompt; responding to a confirmation operation of the user, entering a preset working mode, and in the preset working mode, displaying the preset working interface.
4. The interaction method for an electronic device according to claim 3, characterized in that, the confirmation operation includes: a confirmation operation on a mode opening control; and / or, bending the electronic device to within a first preset angle range.
5. The interaction method for an electronic device according to claim 3, characterized in that, the responding to establishing a connection with an external keyboard and displaying a preset working interface further includes: when the posture of the electronic device is in a bent state and the bending angle is within a second preset range, entering the preset working mode.
6. The interaction method for an electronic device according to claim 3, characterized in that, the interaction method of the electronic device further includes: in the preset working mode, responding to the electronic device being folded in half, switching to the standby mode; and / or, after switching from the preset working mode to the standby mode, responding to the electronic device switching from a folded state to a bent state and the bending angle being within a third preset range, or responding to the electronic device switching from a folded state to an unfolded state, if the external keyboard remains connected to the electronic device, entering the preset working mode.
7. The interaction method for an electronic device according to any one of claims 1-6, characterized in that, the cursor operation area includes a preview area and a display area, the display area is used to display the display screen of the current application, and the preview area is used to display relevant information of at least one preset application.
8. The interaction method for an electronic device according to claim 7, characterized in that, the preview area and the touchpad area are located in the second sub-screen of the touch display screen, and the display area is located in the first sub-screen of the touch display screen.
9. The interaction method for an electronic device according to claim 7, characterized in that, The preview area includes an icon bar and a preview window. The preview window is used to display a thumbnail of one of the preset applications, and the icon bar includes start icon controls for each of the preset applications.
10. The interaction method of the electronic device according to claim 9, wherein, the interaction method of the electronic device further includes: In response to a click operation of the cursor on the start icon control or a touch click operation of the user on the start icon control, display a thumbnail of the preset application corresponding to the clicked start icon control in the preview window; and / or, In response to receiving a notification message of the preset application, display the notification message in the preview window.
11. The interaction method of the electronic device according to claim 9, wherein, when the icon bar and the preview window are simultaneously displayed in the preview area, the interaction method of the electronic device further includes: When no click operation on the start icon control is detected within a first preset time, hide the preview window and expand the touchpad area from the original size to cover the area where the original preview window is located; When the preview window is in a hidden state, the interaction method of the electronic device further includes: In response to the cursor clicking the start icon control, or the user clicking the start icon control by touch, or receiving a notification message of the preset application, restore the display of the preview window and restore the touchpad area to the original size, and display a thumbnail of the preset application corresponding to the clicked start icon control in the preview window or display the received notification message in the preview window.
12. The interaction method of the electronic device according to claim 9, wherein, the interaction method of the electronic device further includes: In response to the cursor dragging the start icon control to the display area or the user dragging the start icon control to the display area by touch, update the preset application corresponding to the start icon control to the current application, and display the display screen of the original current application in the preview area.
13. The interaction method of the electronic device according to claim 7, wherein, the interaction method of the electronic device further includes: In response to the cursor dragging the preview area to the touchpad area or the user dragging the preview area to the touchpad area by touch, swap the display positions of the preview area and the touchpad area.
14. The interaction method of the electronic device according to any one of claims 1-6, wherein, the interaction method of the electronic device further includes: In response to disconnecting from the external keyboard, issue an exit prompt that lasts for a second preset time; Based on the user's selection result of the exit prompt within the second preset time, determine whether to exit the preset working interface.
15. The interaction method of the electronic device according to any one of claims 1-6, wherein, the interaction method of the electronic device further includes: In response to a touch operation detected in the cursor operation area, perform a corresponding interface operation.
16. The interaction method of an electronic device according to any one of claims 1-6, wherein, the cursor operation includes any one or a combination of multiple operations among clicking, swiping, zooming, and dragging.
17. An interaction device of an electronic device, wherein, the electronic device includes a touch display screen, and the interaction device of the electronic device includes: a display module, configured to display a preset working interface in response to establishing a connection with an external keyboard, the preset working interface including a touchpad area and a cursor operation area, and a cursor is displayed in the cursor operation area; an execution module, configured to execute a corresponding cursor operation on the cursor in response to a touch operation detected in the touchpad area.
18. An electronic device, wherein, the electronic device includes: a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to execute the interaction method of the electronic device according to any one of claims 1-16.
19. A non-transitory computer-readable storage medium, wherein, when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the interaction method of the electronic device according to any one of claims 1-16.