Touch screen control method and related equipment
By displaying control buttons on the touch screen of an electronic device and sliding the moving cursor, the problem of not being able to touch the remote buttons of the screen during one-hand operation is solved, and full-screen operation and efficient one-hand mode experience is achieved.
Patent Information
- Application Number
- CN202311272179.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2025-04-04
AI Technical Summary
When holding larger electronic devices with one hand, it is difficult for users to operate buttons located at the far end of the screen through the touch screen, resulting in some functions being unusable, and the screen utilization rate in one-hand mode is low and not beautiful.
By displaying control buttons on the touch screen and moving the cursor to reach any position in the screen by sliding the operation, simulating clicking operations, the problem of users not being able to touch the remote buttons is solved, and the screen utilization and user experience are improved.
It realizes effective operation of full screen in one-hand mode, improves user experience and screen utilization, and avoids the problem of limited functions in one-hand mode.
Smart Images

Figure CN119759219A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a touch screen control method and related equipment. Background Art
[0002] The electronic device may be configured with a touch screen, and the user may manipulate the display interface of the electronic device by touching the touch screen.
[0003] In some scenarios, users may need to hold an electronic device with one hand; for electronic devices with larger touch screens, such as candy-bar phones, tablet phones, and foldable screen phones, the user's one-handed operation experience is poor. For example, when a user stands and uses a mobile phone while riding a bus or subway, during one-handed operation, the user's finger may not be able to reach a distant touch screen area, such as the upper left corner of the touch screen, resulting in the user being unable to use some functions of the electronic device.
[0004] In a possible implementation, the electronic device can provide a one-handed mode; in the one-handed mode, the electronic device can reduce the display screen and the touch area so that the user's thumb can touch any position in the display screen in the touch area. However, in this one-handed mode, part of the display area is sacrificed, the utilization rate of the touch screen is low, and it is not beautiful. Summary of the invention
[0005] The embodiments of the present application provide a touch screen control method and related equipment, which are applied to the field of terminal technology and can provide users with a method for performing touch operations in the full screen in one-handed mode, thereby improving the screen utilization in the one-handed mode and improving the user experience in the one-handed mode.
[0006] In the first aspect, the embodiment of the present application proposes a touch screen control method, which is applied to an electronic device including a touch screen, the method comprising: the electronic device displays a first interface; the first interface includes a first button; when the electronic device receives a first sliding operation for the first button in the first interface, the electronic device displays a dynamic effect of the first button moving along with the sliding position of the first sliding operation, and the electronic device displays a dynamic effect of the cursor moving along with the movement of the first button; wherein, in any time period, the moving distance of the first button is less than the moving distance of the cursor, and the moving distance of the first button is positively correlated with the moving distance of the cursor; when the first sliding operation ends, the electronic device displays a second button and a cursor, and the cursor is located at the first target button; when the first click operation for the second button is received, the electronic device displays a second interface; the second interface is the interface that can be jumped to when the first target button is clicked. In this way, in the one-handed mode, the electronic device can move the cursor position by controlling the control button of the display state in the touch screen, and simulate the operation of clicking the button at the position of the cursor by clicking the confirmation button, so as to solve the problem that the user cannot touch the button in the upper left corner area of the touch screen when operating the electronic device with one hand, thereby improving the user's use experience.
[0007] In a possible implementation, before receiving the first sliding operation, in the first interface, the first button is located at the first position; when the first sliding operation ends, the electronic device still displays the first button, and the first button is located at the first position. In this way, the position of the first button does not change before and after the sliding operation, and the user does not need to readjust the first button to a position where the thumb can operate comfortably every time the first button is used, thereby improving the user experience.
[0008] In a possible implementation, it also includes: the electronic device displays a third interface, the third interface includes a first button; the first button is located at a first position; when the electronic device receives a second sliding operation for the first button in the third interface, the electronic device displays an animation of the first button moving along with the sliding position of the second sliding operation, and the electronic device displays an animation of the cursor moving from the first position along with the movement of the first button; wherein, within any time period, the moving distance of the first button is less than the moving distance of the cursor; when the second sliding operation ends, the electronic device displays the first button, the second button and the cursor, and the cursor is located at the second position; when the electronic device receives a third sliding operation for the first button in the third interface, the electronic device displays an animation of the first button moving along with the sliding position of the third sliding operation, and the electronic device displays an animation of the cursor moving from the second position along with the movement of the first button; wherein, within any time period, the moving distance of the first button is less than the moving distance of the cursor; when the third sliding operation ends, the electronic device displays the second button and the cursor, and the cursor is located at the second target button. In this way, in one-hand mode, when the button where the cursor is located is not the target button that the user needs to click, the user can adjust the cursor to the target button through multiple sliding operations, thereby reducing the scenario of accidentally triggering non-target buttons and jumping to the wrong interface, and improving the flexibility and accuracy of the touch screen control method.
[0009] In a possible implementation, it also includes: the electronic device displays a fourth interface, the fourth interface includes a first button, and the first button is located at a first position; when the electronic device receives a fourth sliding operation for the first button in the fourth interface, the electronic device displays an animation of the first button moving along with the sliding position of the fourth sliding operation, and the electronic device displays an animation of the cursor moving from the first position along with the movement of the first button; wherein, within any time period, the moving distance of the first button is less than the moving distance of the cursor; when the fourth sliding operation ends, the electronic device displays the first button, the second button and the cursor, and the cursor is located at a third position; when the electronic device receives a fifth sliding operation for the first button in the fourth interface, the electronic device displays an animation of the first button moving along with the sliding position of the fifth sliding operation, and the electronic device displays an animation of the cursor moving from the first position along with the movement of the first button; wherein, within any time period, the moving distance of the first button is less than the moving distance of the cursor; when the fifth sliding operation ends, the electronic device displays the second button and the cursor, and the cursor is located at the third target button. In this way, in one-hand mode, when the button where the cursor is located is not the target button that the user needs to click, the user can adjust the cursor to the target button through multiple sliding operations, thereby reducing the scenario of accidentally triggering non-target buttons and jumping to the wrong interface, and improving the flexibility and accuracy of the touch screen control method.
[0010] In a possible implementation, it also includes: the electronic device displays a fifth interface; the fifth interface includes a first button; when the electronic device receives a sixth sliding operation for the first button in the fifth interface, the electronic device displays a dynamic effect of the first button moving along with the sliding position of the sixth sliding operation, and the electronic device displays a dynamic effect of the cursor moving along with the movement of the first button; wherein, within any time period, the moving distance of the first button is less than the moving distance of the cursor; when the sixth sliding operation ends, the electronic device displays the first button, the second button and the cursor; when the electronic device receives a second click operation at a fourth position, the electronic device cancels the display of the second button and the cursor; the fourth position is any position in the fifth interface excluding the first button and the second button. In this way, in the one-handed mode, when the button at the cursor position is not the target button that the user needs to click, the user can cancel the click operation by clicking a blank area, thereby improving the flexibility and accuracy of the touch screen control method.
[0011] In a possible implementation, after the electronic device displays the second interface, it also includes: when the electronic device receives the seventh sliding operation in the second interface, the electronic device displays the dynamic effect of the content in the second interface moving along with the moving position of the seventh sliding operation; the seventh sliding operation does not act on the first button; or, when the electronic device receives the eighth sliding operation in the second interface, the electronic device displays the sixth interface. In this way, in the one-handed mode, the click operation on the button in the full screen and / or the sliding operation on the full-screen page can be realized, so that the functions of the electronic device can be used normally in the one-handed mode without sacrificing the screen display area, thereby improving the user experience.
[0012] In a possible implementation, the first interface also includes a third button, and further includes: when the electronic device receives the ninth sliding operation for the third button in the first interface, the electronic device displays the dynamic effect of the first button moving along with the sliding position of the ninth sliding operation; when the ninth sliding operation ends, the electronic device displays the first button; wherein the first button is located at the position where the ninth sliding operation ends. In this way, in the one-handed mode, the user can set the position of the control button according to their own needs. For example, when the user holds the electronic device with the left hand, the control button can be located at the left edge of the touch screen; when the user holds the electronic device with the right hand, the control button can be located at the right edge of the touch screen; and it is convenient for the user to operate.
[0013] In a possible implementation, the horizontal movement distance of the cursor is m times the horizontal movement distance of the first button, and the vertical movement distance of the cursor is n times the vertical movement distance of the first button; the value of m is greater than 1, and the value of n is greater than 1. In this way, the electronic device can move the cursor to a position that cannot be reached by the thumb through a one-handed sliding operation, thereby realizing full-screen operation in one-handed mode.
[0014] In a possible implementation, the electronic device further includes: displaying a seventh interface, the seventh interface including a slide bar and a fourth button; when the electronic device receives a tenth slide operation on the fourth button, the electronic device updates the value of n and / or m according to the position of the fourth button on the slide bar. In this way, the user can customize the ratio of the first button movement distance and the cursor movement distance, making the operation in the one-handed mode more flexible.
[0015] In a possible implementation, before the electronic device displays the first interface, it also includes: the electronic device displays the eighth interface; the eighth interface includes the fifth button; the state of the fifth button is off; when the electronic device receives the third click operation for turning on the fifth button, the electronic device sets the state of the fifth button to the on state; wherein, when the fifth button is in the on state, the electronic device displays the first button. In this way, the user can turn on and off the one-handed mode according to their own needs, thereby improving the user's experience.
[0016] In a possible implementation, after the electronic device displays the second interface, it further includes: the electronic device displays the eighth interface; the eighth interface includes the fifth button; the state of the fifth button is turned on; when the electronic device receives the fourth click operation for turning off the fifth button, the electronic device sets the state of the fifth button to the off state; wherein, when the fifth button is in the off state, the electronic device cancels the display of the first button. In this way, the user can turn on and off the one-handed mode according to their own needs, thereby improving the user experience.
[0017] In a possible implementation, the second interface also includes a third button, and after the electronic device displays the second interface, it also includes: when the electronic device receives the eleventh sliding operation on the third button in the second interface, the electronic device displays the sixth button; and the electronic device displays the dynamic effect of the first button moving to the sixth button as the sliding position of the eleventh sliding operation is moved; when the eleventh sliding operation ends, the electronic device cancels the display of the first button. In this way, a more convenient way to exit the one-handed mode can be provided, simplifying user operations.
[0018] In a possible implementation, the size of any interface from the first interface to the eighth interface is the same as the size of the touch screen. In this way, in the one-handed mode, the electronic device can display in full screen without sacrificing the display area of the electronic device, thereby improving the user experience.
[0019] In a second aspect, an embodiment of the present application provides a terminal device, which may also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device may be a mobile phone, a smart TV, a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc.
[0020] The terminal device comprises: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the terminal device executes the method of the first aspect.
[0021] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the method of the first aspect is implemented.
[0022] In a fourth aspect, an embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the method of the first aspect.
[0023] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor, the processor being used to call a computer program in a memory to execute the method described in the first aspect.
[0024] It should be understood that the second to fifth aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 This is a schematic diagram of the interface of the one-handed mode in a possible implementation;
[0026] Figure 2A schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of the present application;
[0027] Figure 3 A schematic diagram of an interface for entering a one-handed mode provided in an embodiment of the present application;
[0028] Figure 4 A schematic diagram of an interface showing the initial position of a cursor provided in an embodiment of the present application;
[0029] Figure 5 A schematic diagram of an interface for click operation in one-handed mode provided in an embodiment of the present application;
[0030] Fig. 6A A schematic diagram of another interface for click operation in one-handed mode provided in an embodiment of the present application;
[0031] Figure 6B A schematic diagram of another interface for click operation in one-handed mode provided in an embodiment of the present application;
[0032] Figure 7 A schematic diagram of an interface for canceling a click operation provided in an embodiment of the present application;
[0033] Figure 8 A schematic diagram of an interface for click operation and slide operation in one-handed mode provided in an embodiment of the present application;
[0034] Fig. 9 A schematic diagram of an interface for adjusting the position of a control button provided in an embodiment of the present application;
[0035] Fig.10 A mapping relationship diagram between the movement trajectory of the control button and the movement trajectory of the cursor in the embodiment of the present application;
[0036] Fig.11 A schematic diagram of an interface for adjusting cursor sensitivity provided in an embodiment of the present application;
[0037] Fig.12 Schematic diagram of two interfaces for exiting the one-handed mode provided in the embodiments of the present application;
[0038] Fig.13 A schematic diagram of a flow chart of a touch screen control method provided in an embodiment of the present application;
[0039] Fig.14 A schematic diagram of the structure of a touch screen control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0041] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0042] It should be noted that the "at..." in the embodiment of the present application can be the instant when a certain situation occurs, or a period of time after a certain situation occurs, and the embodiment of the present application does not specifically limit this. In addition, the display interface provided in the embodiment of the present application is only an example, and the display interface can also include more or less content.
[0043] In some scenarios, users may need to hold an electronic device with one hand; for electronic devices with larger touch screens, such as candy-bar phones, tablet phones, and foldable screen phones, the user's one-handed operation experience is poor. For example, when a user stands and uses a mobile phone while riding a bus or subway, during one-handed operation, the user's finger may not be able to reach a distant touch screen area, such as the upper left corner of the touch screen, resulting in the user being unable to use some functions of the electronic device.
[0044] Figure 1 The interface shown in a in the figure shows the user interface during normal use; Figure 1 The interface a in the figure may be an interface displayed by the electronic device when the one-handed mode is not turned on, for example, Figure 1The interface shown in a in the figure is the desktop, and the electronic device can display the desktop in full screen. When the user holds the electronic device with one hand, the user's finger can easily operate in area 101, and area 101 can be an area that the user's thumb can reach; in actual scenarios, it is difficult for the user's finger to reach the controls at the upper left corner of the touch screen; for example, in area 102, the electronic device displays a time control 103, and when the user wants to quickly enter the time setting interface by clicking the time control 103, it is difficult for the user to complete the triggering operation of clicking the time control 103 with one hand.
[0045] In a possible implementation, the electronic device may provide a one-handed mode. For example, Figure 1 Also shown are two possible interface diagrams of the one-handed mode in implementation; Figure 1 As shown:
[0046] After the electronic device enters the one-handed mode, the electronic device can display Figure 1 In the interface shown in b, the electronic device may include a display area 104 and a blank area 105, the display area 104 displays the desktop, and the desktop in the display area 105 may be a Figure 1 The desktop interface shown in a is reduced; the blank area 105 does not display content. In this mode, the icons, fonts and other contents in the interface will be reduced in proportion, which is not very friendly to users with poor eyesight and affects the user experience.
[0047] After the electronic device enters the one-handed mode, the electronic device can also display Figure 1 In the interface shown in c, the electronic device may include a display area 106 and a blank area 107, the display area 106 displays part of the desktop, and the desktop in the display area 106 may be Figure 1 The content of the desktop interface shown in a is captured by intercepting part of the content, for example, the content of the upper half of the touch screen is captured; the blank area 105 does not display content. In this mode, the electronic device can only display part of the content, for example, Figure 1 In the interface shown in c, the electronic device does not display icons such as text messages, browsers, and phone calls; when the user needs to make a call, the electronic device needs to exit the one-handed mode. Figure 1 The user operation is cumbersome to complete the activity of making a call in the interface shown in a.
[0048] In the above two one-handed modes, the electronic device can reduce the display screen and the touch area so that the user's thumb can touch any position in the display screen in the touch area. However, in both of these two one-handed modes, part of the display area is sacrificed, the utilization rate of the touch screen is low, and it is not beautiful.
[0049] In view of this, an embodiment of the present application provides a touch screen control method, after the electronic device enters the one-hand mode, the electronic device can be displayed in full screen, and the electronic device also displays a cursor; the cursor is controlled to move in the full-screen area through a sliding operation, and the cursor is moved to the position of the target button, wherein the finger sliding distance and the cursor moving distance have a mapping relationship, and the finger sliding distance is smaller than the cursor moving distance; then the target button is clicked by the cursor, so that the electronic device displays the interface after clicking the target button; in this way, the electronic device simulates the user's clicking operation in the electronic device by controlling the movement and clicking of the cursor; and the finger sliding distance is smaller than the cursor moving distance, so that the electronic device can move the cursor to a position that the thumb cannot reach through a one-hand sliding operation; thereby realizing full-screen operation in one-hand mode and improving the user experience.
[0050] In the embodiments of the present application, the electronic device may also be referred to as a terminal device, a terminal, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), etc. The terminal device may be a mobile phone, a smart TV, a wearable device, a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc.
[0051] Among them, wearable devices can also be called wearable smart devices, which are a general term for the intelligent design and development of wearable devices for daily wear using wearable technology, such as glasses, gloves, watches, clothing and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also realize powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and independent of smartphones to achieve complete or partial functions, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.
[0052] In addition, in the embodiments of the present application, the electronic device may also be an electronic device in the Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network of human-machine interconnection and object-to-object interconnection. The embodiments of the present application do not limit the specific technology and specific device form used by the electronic device.
[0053] In an embodiment of the present application, the electronic device may include a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also called main memory). The operating system may be any one or more computer operating systems that implement business processing through processes, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software.
[0054] In order to better understand the embodiments of the present application, the structure of the electronic device in the embodiments of the present application is introduced below:
[0055] Figure 2The structure diagram of the electronic device 100 is shown. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a subscriber identification module (SIM) card interface 195, and an embedded secure element (eSE) 196. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0056] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0057] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural-network processing unit (neural-network processing unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. In the embodiment of the present application, the processor 110 is used to execute the steps of information processing in the touch screen control method.
[0058] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0059] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0060] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions.
[0061] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
[0062] In the embodiment of the present application, the electronic device can use the display screen 194 in combination with the pressure sensor 180A and / or the touch sensor 180K as a touch screen. For example, the display screen 194 can display the control button and the confirmation button in the one-handed mode, the display screen 194 can display the dynamic effect of the control button moving with the movement of the touch operation, and the display screen can also display the dynamic effect of the cursor moving with the movement of the control button. The pressure sensor 180A and / or the touch sensor 180K can be used to sense the triggering operation of the touch object and report the touch event. The touch operation can be, for example, a click operation on the confirmation button, a sliding operation on the control button, etc.
[0063] Combine the following Figure 3-Figure 12 The application scenario of the touch screen control method provided in the embodiment of the present application is described. Figure 3 A schematic diagram of an interface for entering the one-handed mode is shown, such as Figure 3 As shown:
[0064] The electronic device can enable the one-handed mode function through the settings application; for example, the one-handed mode switch button can be set in the auxiliary function of the settings application, and the electronic device can display the following Figure 3 The auxiliary function interface shown in a in Figure 3 In the interface shown in a, the electronic device can display an accessibility button, a shortcut gesture button, a floating ball button and a one-handed mode button 301.
[0065] When the electronic device receives a trigger operation for the one-handed mode button 301, the electronic device enters the one-handed mode setting interface, for example Figure 3 The interface shown in b. Figure 3In the interface shown in b, the electronic device can display a full-screen mode switch button 302 and a small-screen mode switch button 303. When the full-screen mode switch button is turned on, the electronic device can simulate the click operation of the touch object at different positions on the touch screen through the movement and click process of the cursor. The touch object includes the user's finger. The application process will be described later, so no further explanation is given here. When the small-screen mode switch button is turned on, the electronic device can display content in some areas of the touch screen, and not display content in some areas, such as Figure 1 As shown in the b interface or as Figure 1 When both switch buttons are in the off state, the electronic device does not turn on the one-handed mode.
[0066] It is understandable that the embodiment of the present application can provide a variety of one-handed mode display modes for the user to choose. In the embodiment of the present application, the switch button 303 of the small screen mode and the switch button 302 of the full screen mode can be mutually exclusive, and one of the two switch buttons can be in the on state. The embodiment of the present application takes the provision of two one-handed modes as an example to illustrate the use process of the touch screen control method of the embodiment of the present application. The embodiment of the present application can also only provide a one-handed mode in the full screen mode, and the embodiment of the present application does not limit this.
[0067] When the switch button 302 of the full-screen mode is in the on state, the electronic device may display a schematic diagram of the one-handed mode in the full-screen mode; for example, Figure 3 In the interface shown in b in FIG. 1 , the electronic device displays schematic diagrams 304, 305, and 306. Schematic diagrams can be used to intuitively prompt the user the operation process of the one-handed mode; for example, schematic diagram 304 indicates that the control button is called out by swiping left, schematic diagram 305 indicates that the cursor is moved by moving the control button, and schematic diagram 306 indicates that the click operation at the cursor is realized by clicking the confirmation button. The electronic device can also display prompt text, which is used to prompt the user how to use the one-handed mode in the full-screen mode.
[0068] After the electronic device turns on the one-handed mode of the full-screen mode, the electronic device can exit Figure 3 b in the figure to enter other interfaces. The following introduces two display modes after entering the one-handed mode.
[0069] In one display mode, other interfaces can be Figure 3 c interface in the electronic device. Figure 3 After the c interface is opened, the electronic device can display the desktop and the control button 307 of the display state, wherein the control button 307 of the display state is suspended on the upper layer of the desktop, and the control button 307 of the display state can be used to control the movement of the cursor. The electronic device can use the one-handed mode based on the control button 307 of the display state.
[0070] If the electronic device does not receive a trigger operation for the control button 307 of the display state within a preset time, the electronic device may enter Figure 3 The interface shown in d; Figure 3 In the interface shown in d, the electronic device can display a control button 308 in a hidden state at the border of the touch screen, and the control button 308 in the hidden state can be used to call out the control button 307 in a displayed state.
[0071] When the electronic device displays the control button 308 of the display state, the electronic device can provide two initial positions of the cursor. Specifically:
[0072] 1) If Figure 4 As shown in the interface a in FIG, the electronic device displays the control button 401 of the display state, and the electronic device does not display the cursor. The initial position of the cursor may coincide with the control button 401 of the display state, and when the electronic device does not receive a triggering operation to move the control button 401 of the display state, the electronic device does not display the cursor.
[0073] like Figure 4 As shown in the interface b in FIG. 1 , when the electronic device receives a trigger operation of moving the control button 401 of the display state, the electronic device calls out a cursor 402 from the position of the control button 401 of the display state, and the moving direction of the cursor 402 is consistent with the moving direction of the touch object on the touch screen, and the moving distance of the cursor 402 is greater than the moving distance of the touch object on the touch screen. For example, the finger controls the control button 401 of the display state to move to the upper left, and accordingly, the cursor 402 also moves to the upper left.
[0074] Or, 2) Figure 4 As shown in the c interface in FIG. 1 , the electronic device displays a control button 401 of the display state, and the electronic device displays a cursor 402. The initial position of the cursor 402 can be displayed in any area of the touch screen. The initial position of the cursor 402 can be any fixed position set by a custom setting, or it can be a non-fixed position. This embodiment of the application does not limit this.
[0075] In another display mode, other interfaces can be Figure 3 In the d interface. Figure 3 In the interface shown in d, the electronic device can display a control button 308 in a hidden state at the border of the touch screen.
[0076] It is understandable that after the electronic device turns on the one-handed mode, the user may not need to touch the buttons at the far end of the touch screen temporarily. To avoid affecting the buttons covered under the control button 307 of the display state, the electronic device exits the one-handed mode. Figure 3After the interface shown in b is displayed, the control button 308 in the hidden state can be displayed first; when the user needs to touch the button at the far end of the touch screen, the control button 307 in the displayed state is called out.
[0077] It should be noted that in the embodiment of the present application, the touch object can be a user's finger and a stylus. Since the touch screen control method in the embodiment of the present application is applicable to the one-hand mode, the touch object can be a user's finger; however, this applicable scenario does not limit the embodiment of the present application. When the touch object is a stylus, the electronic device can also use the touch screen control method in the embodiment of the present application.
[0078] The above embodiments are combined Figure 3 and Figure 4 The method of entering the one-handed mode in the embodiment of the present application is described below. Figure 5 The use of the one-handed mode in the touch screen control method of the embodiment of the present application is described as follows: Figure 5 As shown:
[0079] When the electronic device starts the one-handed mode, the control buttons can be hidden, for example, Figure 5 In the interface shown in a of FIG. 1 , a hidden control button 501 is displayed at the edge of the touch screen of the electronic device. When the user wants to use the function of the one-handed mode, the electronic device can be controlled to call out the displayed control button; for example, when the electronic device receives a trigger operation for the hidden control button 501, the electronic device switches the hidden control button 501 to the displayed control button 502.
[0080] The triggering operation for the hidden control button 501 is related to the position of the hidden control button 501; for example, when the hidden control button 501 is located at the right edge of the touch screen, the triggering operation for the hidden control button 501 can be a left swipe operation, such as Figure 5 As shown in interface a in ; for another example, when the control button 501 in the hidden state is located at the left edge of the touch screen, the trigger operation for the control button 501 in the hidden state can be a right swipe operation; the trigger operation when the control button 501 in the hidden state is located at the upper / lower edge of the touch screen is similar to the above description and will not be repeated.
[0081] exist Figure 5 In the interface shown in b, the electronic device displays a display state control button 502. The position of the display state control button 502 may be an initial position, and the position of the cursor may coincide with the position of the display state control button 502; for example, the initial position is position 1.
[0082] The electronic device can control the cursor movement through the control button 502 of the display state. Figure 5 In the interface shown in c, the user clicks the display state control button 502 and drags the display state control button 502 to move upward; accordingly, when the electronic device receives the above operation, the display state control button 502 on the touch screen can move with the touch object, and the moving distance of the display state control button 502 can represent the moving distance of the touch object on the touch screen. For example, Figure 5 In the interface shown in c, the control button 502 of the display state is at position 2; the touch object moves from position 1 to position 2, and the control button 502 of the display state also moves from position 1 to position 2. At the same time, the cursor 503 in the electronic device also moves accordingly.
[0083] Specifically, the cursor 503 moves from position 1 to position 3; wherein, there is a mapping relationship between the moving distance of the cursor 503 and the moving distance of the control button 502 in the display state, the difference between the horizontal coordinate of position 1 and the horizontal coordinate of position 3 is equal to m times the difference between the horizontal coordinate of position 1 and the horizontal coordinate of position 2, and the difference between the vertical coordinate of position 1 and the vertical coordinate of position 3 is equal to n times the difference between the vertical coordinate of position 1 and the vertical coordinate of position 2.
[0084] For example, the coordinates of position 1 are (x 1 ,y 1 ), the coordinates of position 2 are (x 2 ,y 2 ) and the coordinates of position 3 are (x 3 ,y 3 ), where x 2 =x 1 +Δx;x 3 =x 1 +m×Δx;y 2 =y 1 +Δy;y 3 =y 1 +n×Δy.
[0085] Wherein, (Δx, Δy) is the moving distance of the touch object, and the values of m and n can be set by user. It can be understood that in the embodiment of the present application, the electronic device needs to control the cursor to a position that the thumb cannot reach through a sliding operation within the reach of the thumb, so in general, the moving distance of the cursor is greater than the moving distance of the touch object, and the values of m and n can be greater than 1.
[0086] The electronic device controls the position of the cursor 503 by moving the control button 502 of the display state, for example, Figure 5 In the interface shown in c, the cursor 503 is located at position 3, and the message button of user A in the message list is displayed at position 3.
[0087] When the electronic device detects that the touch object leaves the touch screen, the electronic device displays Figure 5 In the interface shown in d, the touch object leaves the touch screen to perform a lifting action for the user's finger. Figure 5 In the interface shown in d in FIG. 1 , the electronic device includes a display state control button 502, a cursor 503, and a confirmation button 504. The display state control button 502 is located at an initial position, for example, position 1; the cursor 503 is located at position 3, and the confirmation button 504 is used to confirm the click operation on the button at the position of the cursor 503. In some embodiments, when the touch object drags the display state control button 502 on the touch screen, the display state control button 502 can be moved, such as Figure 5 When the touch object leaves the touch screen, the control button 502 of the display state will be restored to the initial position, such as Figure 5 As shown in the d interface.
[0088] exist Figure 5 In the interface d in FIG. 1 , when the electronic device receives a trigger operation for the confirmation button 504, the electronic device may perform a trigger operation on the button at the location of the cursor 503, and the electronic device enters an interface after the button at the location of the cursor 503 responds. Figure 5 In the interface shown in d in FIG. 1 , the electronic device receives a trigger operation for the confirmation button 504. In response to the operation, the electronic device enters the following Figure 5 The interface shown in e in FIG. It can be understood that the button at the position of the cursor 503 can be a message button of user A in the message list. In the embodiment of the present application, the electronic device can trigger the message button of user A based on the click operation of the confirmation button 504; different from the possible implementation, the electronic device can trigger by clicking the message button of user A.
[0089] It should be noted that the confirmation button 504 and the control button can be set at any position, but in order to facilitate the user's one-handed operation, the confirmation button 504 and the control button can be set in an area that is easily touched by the thumb, for example, Figure 1 The area 101 in the interface shown in a in FIG. This embodiment of the application does not limit this.
[0090] In this way, in one-hand mode, the electronic device can move the cursor position by controlling the control button of the display status on the touch screen, and simulate the operation of clicking the button at the cursor position by clicking the confirmation button, thereby solving the problem that the user cannot touch the buttons in the upper left corner area of the touch screen when operating the electronic device with one hand, thereby improving the user experience.
[0091] The above embodiment illustrates an applicable scenario of a touch screen control method. Sometimes, when the touch object leaves the touch screen, the cursor position is not the position expected by the user. At this time, the user can continue to adjust the cursor position by moving the control button in the display state for the second time, so that the cursor finally stays at the position of the target button. Fig. 6A and Figure 6B The usage process is illustrated in two scenarios.
[0092] The first scenario can be Fig. 6A As shown:
[0093] The electronic device can control the cursor movement through the control button 601 of the display state. Fig. 6A In the interface shown in a, the user clicks the display state control button 601 and drags the display state control button 601 to move upward; accordingly, when the electronic device receives the above operation, the display state control button 601 on the touch screen can move with the touch object, and the moving distance of the display state control button 601 can represent the moving distance of the touch object on the touch screen. For example, Fig. 6A In the interface shown in a, the control button 601 of the display state is at position 2; the touch object moves from position 1 to position 2, and the control button 601 of the display state also moves from position 1 to position 2. At the same time, the cursor 602 in the electronic device also moves accordingly; the cursor 602 moves from position 1 to position 3.
[0094] When the electronic device detects that the touch object leaves the touch screen, the electronic device displays Fig. 6A The interface shown in b. Fig. 6A In the interface shown in b in FIG. 1 , the electronic device includes a display status control button 601, a cursor 602, and a confirmation button 603. The display status control button 601 is located at an initial position, for example, position 1; the cursor 602 is located at position 3. Position 3 corresponds to a subscription number message button in the message list, and the subscription number message button is not a target button.
[0095] exist Fig. 6A In the interface shown in b in FIG. 1 , the user can enter the interface triggered by clicking the subscription account message button by pressing the confirmation button 603. However, in some scenarios, the user may not want to browse the subscription account messages, or when the cursor 602 is at position 3, the user accidentally lifts his finger. In this case, the user can click and slide the control button 601 of the display status to continue to control the cursor 602 to adjust the position. For example, in Fig. 6AIn the interface shown in c in FIG. 1 , the electronic device receives a click operation on the display status control button 601, and the display status control button 601 and the cursor 602 are displayed in the electronic device, and the confirmation button 603 is not displayed. Among them, the display status control button 601 is still at position 1, and the cursor 602 is still at position 3.
[0096] When a sliding operation on the control button 601 of the display state is detected, such as an upward sliding operation, the electronic device controls the control button 601 and the cursor 602 of the display state to move upwards, such as Fig. 6A As shown in d in the figure; wherein, the moving distance of the cursor 602 is greater than the moving distance of the control button 601 in the display state.
[0097] Specifically, Fig. 6A In the interface shown in d, the touch object moves from position 1 to position 4, the control button 601 showing the status moves from position 1 to position 4, and the cursor 602 moves from position 3 to position 5; the difference between the horizontal coordinate of position 1 and the horizontal coordinate of position 4 is equal to m times the difference between the horizontal coordinate of position 3 and the horizontal coordinate of position 5, and the difference between the vertical coordinate of position 1 and the vertical coordinate of position 4 is equal to n times the difference between the vertical coordinate of position 3 and the vertical coordinate of position 5.
[0098] When the electronic device detects that the touch object leaves the touch screen again, the electronic device displays Fig. 6A The interface shown in e. Fig. 6A In the interface shown in e in FIG. 1 , the electronic device includes a display status control button 601, a cursor 602, and a confirmation button 603. The display status control button 601 is located at position 1, and the cursor 602 is located at position 5. Position 5 corresponds to the message button of user A in the message list, and the message button of user A can be the target button.
[0099] When the electronic device receives a trigger operation for the confirmation button 603, the electronic device may perform a trigger operation on the button at the location of the cursor 602, and the electronic device enters an interface after the button at the location of the cursor 602 responds. Fig. 6A In the interface shown in FIG. 6 , the electronic device receives a trigger operation for the confirmation button 603. In response to the operation, the electronic device enters the following Fig. 6A It can be understood that the button at the position of the cursor 602 can be a message button of user A in the message list.
[0100] The second scenario can be Figure 6B As shown:
[0101] The electronic device can control the cursor movement through the control button 601 of the display state. Figure 6BIn the interface shown in a, the user clicks the display state control button 601 and drags the display state control button 601 to move upward; accordingly, when the electronic device receives the above operation, the display state control button 601 on the touch screen can move with the touch object, and the moving distance of the display state control button 601 can represent the moving distance of the touch object on the touch screen. For example, Figure 6B In the interface shown in a, the control button 601 of the display state is at position 2; the touch object moves from position 1 to position 2, and the control button 601 of the display state also moves from position 1 to position 2. At the same time, the cursor 602 in the electronic device also moves accordingly; the cursor 602 moves from position 1 to position 3.
[0102] When the electronic device detects that the touch object leaves the touch screen, the electronic device displays Figure 6B The interface shown in b. Figure 6B In the interface shown in b in FIG. 1 , the electronic device includes a display status control button 601, a cursor 602, and a confirmation button 603. The display status control button 601 is located at an initial position, for example, position 1; the cursor 602 is located at position 3. Position 3 corresponds to a subscription number message button in the message list, and the subscription number message button is not a target button.
[0103] exist Figure 6B In the interface shown in b in FIG. 1 , the user can enter the interface triggered by clicking the subscription account message button by pressing the confirmation button 603. However, in some scenarios, the user may not want to browse the subscription account messages, or when the cursor 602 is at position 3, the user accidentally lifts his finger. In this case, the user can click and slide the control button 601 of the display status to continue to control the cursor 602 to adjust the position. For example, in Figure 6B In the interface shown in c in FIG. 1 , the electronic device receives a click operation on the display state control button 601, and the display state control button 601 is displayed in the electronic device, and the cursor 602 and the confirmation button 603 are not displayed. Among them, the display state control button 601 is still located at position 1, and the cursor 602 can be located at position 1.
[0104] When the electronic device detects a sliding operation on the control button 601 of the display state, such as an upward sliding operation, the electronic device controls the control button 601 and the cursor 602 of the display state to move upwards, respectively. Figure 6B As shown in d in the figure; wherein, the moving distance of the cursor 602 is greater than the moving distance of the control button 601 in the display state.
[0105] Specifically, Figure 6BIn the interface shown in d, the touch object moves from position 1 to position 4, the control button 601 showing the status moves from position 1 to position 4, and the cursor 602 moves from position 1 to position 5; the difference between the horizontal coordinate of position 1 and the horizontal coordinate of position 4 is equal to m times the difference between the horizontal coordinate of position 1 and the horizontal coordinate of position 5, and the difference between the vertical coordinate of position 1 and the vertical coordinate of position 4 is equal to n times the difference between the vertical coordinate of position 1 and the vertical coordinate of position 5.
[0106] When the electronic device detects that the touch object leaves the touch screen again, the electronic device displays Figure 6B The interface shown in e. Figure 6B In the interface shown in e in FIG. 1 , the electronic device includes a display status control button 601, a cursor 602, and a confirmation button 603. The display status control button 601 is located at position 1, and the cursor 602 is located at position 5. Position 5 corresponds to the message button of user A in the message list, and the message button of user A can be the target button.
[0107] When the electronic device receives a trigger operation for the confirmation button 603, the electronic device may perform a trigger operation on the button at the location of the cursor 602, and the electronic device enters an interface after the button at the location of the cursor 602 responds. Figure 6B In the interface shown in FIG. 6 , the electronic device receives a trigger operation for the confirmation button 603. In response to the operation, the electronic device enters the following Figure 6B It can be understood that the button at the position of the cursor 602 can be a message button of user A in the message list.
[0108] In this way, in one-handed mode, when the button where the cursor is located is not the target button that the user needs to click, the user can adjust the cursor position again based on the above usage scenario until the cursor is located at the target button, thereby reducing the scenario of mistakenly triggering non-target buttons to jump to the wrong interface, and improving the flexibility and accuracy of the touch screen control method.
[0109] The above embodiment introduces a method for adjusting the cursor when the cursor is not located at the target button. It can be understood that in the embodiment of the present application, the electronic device can also cancel the click operation and re-execute the following operation: Figure 5 Follow the operation flow in order to make the cursor reach the target button. Figure 7 A method of canceling a click operation is shown, such as Figure 7 As shown:
[0110] The electronic device can control the cursor movement through the control button 701 of the display state. Figure 7In the interface shown in a, the user clicks the display state control button 701 and drags the display state control button 701 to move upward; accordingly, when the electronic device receives the above operation, the display state control button 701 on the touch screen can move with the touch object, and the moving distance of the display state control button 701 can represent the moving distance of the touch object on the touch screen. For example, Figure 7 In the interface shown in a, the control button 701 of the display state is at position 2; the touch object moves from position 1 to position 2, and the control button 701 of the display state also moves from position 1 to position 2. At the same time, the cursor 702 in the electronic device also moves accordingly; the cursor 702 moves from position 1 to position 3.
[0111] When the electronic device detects that the touch object leaves the touch screen, the electronic device displays Figure 7 The interface shown in b. Figure 7 In the interface shown in b in FIG. 1 , the electronic device includes a display status control button 701, a cursor 702, and a confirmation button 703. The display status control button 701 is located at an initial position, for example, position 1; the cursor 702 is located at position 3. Position 3 corresponds to a subscription number message button in the message list, and the subscription number message button is not a target button.
[0112] exist Figure 7 In the interface shown in b in FIG. 1 , the electronic device can cancel the click operation by clicking on the blank area; the blank area is the position of the touch screen that does not include the control button 701 and the confirmation button 703 that display the status. For example, when the electronic device receives a click operation in the blank area, the electronic device displays the following Figure 7 The interface shown in c. Figure 7 In the interface shown in c, the electronic device displays a control button 701 for display status, and the electronic device does not display a cursor and a confirmation button.
[0113] Afterwards, the electronic device may perform the following steps: Figure 5 The operation process in the embodiment of the present application is not repeated here to complete the click operation on the target button.
[0114] The above embodiments illustrate the use scenarios of the click operation in the embodiments of the present application. It is understandable that the electronic device can also control the page based on the sliding operation to achieve display effects such as page turning and scrolling. Figure 8 The application scenario of the touch screen control method in the embodiment of the present application is described.
[0115] Electronic devices can display Figure 8 In the interface shown in a, when the user holds the electronic device with one hand and wants to browse the circle of friends, the electronic device can use the clicking method provided in the embodiment of the present application to enter the circle of friends interface.
[0116] For example, the electronic device can control the cursor movement 802 through the control button 801 of the display state. Figure 8 In the interface shown in a, the user clicks the display status control button 801 and drags the display status control button 801 to move upward; accordingly, when the electronic device receives the above operation, the display status control button 801 in the touch screen can move with the touch object. Figure 8 In the interface shown in a, the control button 801 in the display state is at position 2; the touch object moves from position 1 to position 2, and the control button 801 in the display state also moves from position 1 to position 2, and position 1 may be the initial position of the control button 801 in the display state. At the same time, the cursor 802 in the electronic device also moves accordingly; the cursor 802 moves from position 1 to position 3. Position 3 corresponds to the friend circle button.
[0117] When the electronic device detects that the touch object leaves the touch screen, the electronic device displays Figure 8 The interface shown in b. Figure 8 In the interface shown in b, the electronic device includes a control button 801 for display status, a cursor 802, and a confirmation button 803. The control button 801 for display status is located at an initial position, for example, position 1; and the cursor 802 is located at position 3.
[0118] When the electronic device receives a trigger operation for the confirmation button 803, the electronic device may perform a trigger operation on the button at the location of the cursor 802, and the electronic device enters an interface after the button at the location of the cursor 802 responds. Figure 8 In the interface shown in b, the electronic device receives a trigger operation for the confirmation button 803, and in response to the operation, the electronic device enters the Figure 8 The interface shown in c.
[0119] In the area not involving the display status control button 801, the electronic device can achieve the effect of sliding up and down, turning pages left and right based on the sliding operation. Figure 8 In the interface shown in c in FIG. 1 , when the electronic device receives the upward sliding operation, the electronic device can enter the following Figure 8 The interface shown in d in the figure. Figure 8 The content in the interface shown in d is relative to Figure 8 The content in the interface shown in c has been moved upward.
[0120] It should be noted that the embodiment of the present application takes the control button in the display state as an example to illustrate the state of the control button during the sliding operation. During the sliding operation, the state of the control button can also be a hidden state. The embodiment of the present application does not limit this.
[0121] In the embodiment of the present application, taking the swipe operation as an example, a scenario of changing the displayed content in the interface through a swipe operation is illustrated; the swipe operation may also be a swipe operation for switching to a new interface, for example, a right swipe operation to return to the previous level, an up swipe operation to return to the desktop, etc., which will not be listed one by one in the embodiment of the present application.
[0122] In this way, in one-handed mode, the user can click on the buttons in the full screen and / or slide the full-screen page in area 101, so that the functions of the electronic device can be used normally in one-handed mode without sacrificing the screen display area, thereby improving the user experience.
[0123] In the embodiment of the present application, the electronic device can adjust the position of the control button. For example, when the user holds the electronic device with the left hand, the control button can be set close to the left edge of the touch screen; when the user holds the electronic device with the right hand, the control button can be set close to the right edge of the touch screen. Fig. 9 Explain how to adjust the position of the control button, such as Fig. 9 As shown:
[0124] The electronic device is also provided with a button for adjusting the position of the control button. Fig. 9 In the interface shown in a of FIG. 1 , the button for adjusting the position of the control button may correspond to the position adjustment button 902. In some embodiments, the position adjustment button 902 may be set in a certain area outside the outer edge of the control button 901. For example, Fig. 9 In the interface shown in a, the area in the dotted rectangle excluding the control button 901 in the displayed state is the position adjustment button 902. In actual application scenarios, the user can move the cursor to the target button by dragging the middle of the control button 901 in the displayed state; the user can also adjust the display position of the control button by dragging the edge of the control button 901 in the displayed state.
[0125] In the embodiment of the present application, the outer contour of the position adjustment button 902 can be as follows: Fig. 9 The rectangle shown in a in the figure may also be a circle or other shapes, and this embodiment of the present application does not limit this.
[0126] For example, when the electronic device receives a sliding operation on the position adjustment button 902, the electronic device may adjust the position of the control button 901 of the display state, such as Fig. 9 When the electronic device does not receive a trigger operation for the control button 901 in the display state within a preset time, the electronic device switches the control button 901 in the display state to the control button 903 in the hidden state.
[0127] It can be understood that when the position of the control button 901 in the displayed state changes, the control button 903 in the hidden state also changes accordingly; for example, the control button 903 in the hidden state is located at the left edge, and the Y value of the coordinates of the control button 903 in the hidden state can be the same as the Y value of the coordinates of the control button 901 in the displayed state.
[0128] In the embodiment of the present application, the area where the control button 901 in the display state is located is close to the position adjustment button 902; in order to avoid misoperation, the electronic device can measure the touch area between the touch object and the touch screen in the area where the control button 901 in the display state is located. When the touch area exceeds the area threshold, the electronic device can execute the operation process of controlling the cursor position through the control button 901 in the display state; when the touch area does not exceed the area threshold, the electronic device can execute the operation process of adjusting the position of the control button 901 in the display state.
[0129] In the embodiment of the present application, the transparency of the control button 901 in the display state and the control button 903 in the hidden state can be customized. For example, the control button can be in a semi-transparent state to reduce the obstruction of the content under the control button, making it easier for users to view the content under the control button. At the same time, when the user sees through the control button that the control button obscures the target button, the position of the control button can be adjusted through the position adjustment button 902. It is understandable that the transparency of the control button should not be too low; when the transparency of the control button is low, the division between the position adjustment button 902 and the control button 901 in the display state is not obvious, which may affect the user's operation.
[0130] In this way, in one-handed mode, the user can set the position of the control button according to his or her own needs. For example, when the user holds the electronic device in his or her left hand, the control button can be located on the left edge of the touch screen; when the user holds the electronic device in his or her right hand, the control button can be located on the right edge of the touch screen; which is convenient for user operation.
[0131] In the embodiment of the present application, the moving distance of the cursor and the moving distance of the touch object have a mapping relationship. Figure 5 , Fig. 6A and Figure 6B In the embodiment of , the mapping relationship between the two is briefly introduced. It can be understood that in the actual operation process, the movement trajectory of the cursor may not be a straight line; the position of the cursor is obtained according to the position of the touch object collected in real time by the touch sensor.
[0132] Specifically, Fig.10 As shown:
[0133] The electronic device receives an operation in which a user presses a control button of a display state and drags the control button of the display state to move; the movement track of the control button of the display state can be as follows Fig.10As shown in Figure a of FIG. 1 , the control button in the display state moves from point A through point B and point C to point D. Accordingly, in response to the above operation, the electronic device controls the cursor to move, and the movement trajectory of the cursor can be as follows: Fig.10 As shown in Figure b, the cursor moves from point A' through point B' and point C' to point D'. There is a mapping relationship between the moving track of the control button in the display state and the moving track of the cursor.
[0134] In a possible implementation, point A and point A' may be the same point, that is, the control button and the cursor in the display state are both located at the initial position; the coordinates of point B' are calculated based on the coordinates of point A, point B, point A' and the values of m and n. The coordinates of point A are (x A ,y A ), the coordinates of point B are (x B ,y B ), the coordinates of point A' are (x A′ ,y A′ ), coordinates of point B' (x B′ ,y B′ ) can be equal to (m×x B -m×x A +x A′ , n×y B -n×y A +y A′ ).
[0135] Similarly, the coordinates of point C' are calculated based on the coordinates of point B, point C, point B', and the values of m and n. The coordinates of point B are (x B ,y B ), the coordinates of point C are (x C ,y C ), the coordinates of point B' are (x B′ ,y B′ ), coordinates of point C' (x C′ ,y C′ ) can be equal to (m×x C -m×x B +x B′ , n×y C -n×y B +y B′ ).
[0136] The frequency at which the electronic device calculates the coordinates may be the same as the touch sampling rate of the screen, thereby calculating the cursor position.
[0137] Optionally, users can customize the values of m and n. Fig.11 A method for adjusting the sensitivity of a control button is shown, such as Fig.11 As shown:
[0138] The electronic device may display a one-handed mode setting interface, for example, Fig.11 Interface shown in a; when the switch button 1101 in full-screen mode is on, the electronic device can also display a sensitivity setting button 1102; the sensitivity setting button 1102 can be used to adjust the mapping relationship between the movement trajectory of the cursor and the movement trajectory of the control button in the display state.
[0139] When the electronic device receives a trigger operation for the sensitivity setting button 1102, the electronic device enters the following state: Fig.11 The interface shown in b. Fig.11 The interface shown in b in hereinafter includes a horizontal sensitivity button 1103 and a vertical sensitivity button 1104; wherein the horizontal sensitivity button 1103 can be used to adjust the mapping relationship between the horizontal movement trajectory of the cursor and the horizontal movement trajectory of the control button in the display state, for example, the horizontal sensitivity value is m; the vertical sensitivity button 1104 can be used to adjust the mapping relationship between the vertical movement trajectory of the cursor and the vertical movement trajectory of the control button in the display state, for example, the vertical sensitivity value is n.
[0140] It should be noted that the embodiment of the present application uses the lateral sensitivity m and the longitudinal sensitivity n as examples to illustrate the sensitivity adjustment method. In actual use, the lateral sensitivity m and the longitudinal sensitivity n can be the same value, for example, Fig.11 As shown in Figure c, the electronic device displays a sensitivity button 1105. Among them, the sensitivity value = the horizontal sensitivity value = the vertical sensitivity value = n; the electronic device can adjust the mapping relationship between the moving track of the cursor and the moving track of the control button in the display state by adjusting the sensitivity button 1105.
[0141] Combine the following Fig.12 Here are two ways to turn off one-handed mode: Fig.12 As shown:
[0142] Method 1: The electronic device can turn off the one-handed mode in the one-handed mode setting interface. Fig.12 In the interface shown in a, the electronic device displays a full-screen mode switch button 1202 in an on state and a control button 1201 in a hidden state; when the electronic device receives a trigger operation for the full-screen mode switch button 1202, the electronic device enters Fig.12 The electronic device switches the full-screen mode switch button 1202 from the on state to the off state, and at the same time, the electronic device no longer displays the control button, such as Fig.12 As shown in Figure b.
[0143] Method 2: The electronic device can turn off the one-handed mode based on the delete button. Fig.12In the interface shown in Figure c, when the electronic device receives a trigger operation for the position adjustment button 1203, the electronic device may display a delete button 1204. The electronic device may detect that the touch object has not left the touch screen, and the position adjustment button 1203 is dragged to move, such as Fig.12 When the position adjustment button 1203 overlaps with the delete button 1204, the electronic device turns off the one-handed mode, and the electronic device no longer displays the control button for the display status, such as Fig.12 As shown in the e interface.
[0144] Based on the above embodiments, the present application provides a touch screen control method. Fig.13 A schematic diagram of a flow chart of a touch screen control method provided in an embodiment of the present application.
[0145] like Fig.13 As shown, the touch screen control method can be applied to an electronic device including a touch screen, and the method includes the following steps:
[0146] S1301. The electronic device displays a first interface; the first interface includes a first button.
[0147] Among them, the first interface may correspond to Figure 5 In the interface shown in b, the first button may be a control button 502 for displaying the status.
[0148] S1302. When the electronic device receives a first sliding operation on a first button in a first interface, the electronic device displays an animation of the first button moving along with the sliding position of the first sliding operation, and the electronic device displays an animation of the cursor moving along with the movement of the first button; wherein, within any time period, the moving distance of the first button is less than the moving distance of the cursor, and the moving distance of the first button is positively correlated with the moving distance of the cursor.
[0149] Among them, the first sliding operation may correspond to Figure 5 The sliding operation of the touch object in the interface shown in c in FIG. 1 ; the touch object moves from position 1 to position 2; the control button 502 displaying the status also moves from position 1 (initial position) to position 2, and the cursor 503 moves from position 1 to position 3; the distance from position 1 to position 2 is smaller than the distance from position 1 to position 3, and the distance from position 1 to position 2 is positively correlated with the distance from position 1 to position 3.
[0150] S1303: When the first sliding operation ends, the electronic device displays a second button and a cursor, and the cursor is located at the first target button.
[0151] The first sliding operation ends and the user can perform a lifting operation to make the touch object leave the touch screen; the second button can correspond to Figure 5In the interface shown in d, the first target button may correspond to Figure 5 d in the interface shown in FIG. 5 shows a message button of user A. Cursor 503 overlaps with the message button of user A.
[0152] S1304: When receiving the first click operation on the second button, the electronic device displays a second interface; the second interface is the interface that can be jumped to when the first target button is clicked.
[0153] The first click operation may correspond to Figure 5 The operation of clicking the confirmation button 504 in the interface shown in d in the figure, the second interface may correspond to Figure 5 The interface shown in e.
[0154] In this way, in one-hand mode, the electronic device can move the cursor position by controlling the control button of the display status on the touch screen, and simulate the operation of clicking the button at the cursor position by clicking the confirmation button, thereby solving the problem that the user cannot touch the buttons in the upper left corner area of the touch screen when operating the electronic device with one hand, thereby improving the user experience.
[0155] Optionally, before receiving the first sliding operation, in the first interface, the first button is located at the first position; when the first sliding operation ends, the electronic device still displays the first button, and the first button is located at the first position.
[0156] It is understandable that when the control button in the display state is dragged, the control button in the display state may move from the initial position along with the touch object; when the touch object leaves the control button in the display state, the control button in the display state returns to the initial position.
[0157] Optionally, also include:
[0158] (1) The electronic device displays a third interface, and the third interface includes a first button; the first button is located at a first position.
[0159] Among them, the third interface can correspond to Fig. 6A In the interface shown in a, the first button may correspond to the control button 601 in the display state, and the first position may be the initial position of the control button 601 in the display state, for example, the position of the dotted circle.
[0160] (2) When the electronic device receives a second sliding operation on the first button in the third interface, the electronic device displays an animation of the first button moving along with the sliding position of the second sliding operation, and the electronic device displays an animation of the cursor moving from the first position along with the movement of the first button; wherein, within any time period, the movement distance of the first button is less than the movement distance of the cursor.
[0161] The second sliding operation may correspond to the touch object being Fig. 6A The sliding operation in the interface shown in a; the control button 601 showing the status moves from position 1 (first position) to position 2, and the cursor 602 moves from position 1 to position 3 (second position).
[0162] (3) When the second sliding operation ends, the electronic device displays the first button, the second button, and the cursor, and the cursor is located at the second position.
[0163] When the second sliding operation is completed, the electronic device displays Fig. 6A In the interface shown in b, the cursor 602 is located at the second position.
[0164] (4) When the electronic device receives a third sliding operation on the first button in the third interface, the electronic device displays an animation of the first button moving along with the sliding position of the third sliding operation, and the electronic device displays an animation of the cursor moving from the second position along with the movement of the first button; wherein, within any time period, the movement distance of the first button is less than the movement distance of the cursor.
[0165] Among them, the third sliding operation may correspond to Fig. 6A The sliding operation in the interface shown in d in FIG. 6 shows that the control button 601 in the display state moves from position 1 to position 4, and the cursor 602 moves from position 3 (the second position) to position 5 (the second target button). The two cursor movement processes are continuous.
[0166] (5) When the third sliding operation ends, the electronic device displays a second button and a cursor, and the cursor is located at the second target button.
[0167] The second target button can be Fig. 6A The message button of user A in the interface shown in e.
[0168] Optionally, it also includes: (1) the electronic device displays a fourth interface, the fourth interface includes a first button, and the first button is located at a first position.
[0169] Among them, the fourth interface may correspond to Figure 6B In the interface shown in a, the first button may correspond to the control button 601 in the display state, and the first position may be the initial position of the control button 601 in the display state, for example, the position of the dotted circle.
[0170] (2) When the electronic device receives a fourth sliding operation on the first button in the fourth interface, the electronic device displays an animation of the first button moving along with the sliding position of the fourth sliding operation, and the electronic device displays an animation of the cursor moving from the first position along with the movement of the first button; wherein, within any time period, the movement distance of the first button is less than the movement distance of the cursor.
[0171] The fourth sliding operation may correspond to the touch object being Figure 6B The sliding operation in the interface shown in a in FIG. 1 ; the control button 601 showing the status moves from position 1 (first position) to position 2, and the cursor 602 moves from position 1 to position 3 (third position).
[0172] (3) When the fourth sliding operation ends, the electronic device displays the first button, the second button, and the cursor, and the cursor is located at the third position.
[0173] When the fourth sliding operation is completed, the electronic device displays Figure 6B In the interface shown in b, the cursor 602 is located at the third position.
[0174] (4) When the electronic device receives the fifth sliding operation on the first button in the fourth interface, the electronic device displays an animation of the first button moving along with the sliding position of the fifth sliding operation, and the electronic device displays an animation of the cursor moving from the first position along with the movement of the first button; wherein, within any time period, the moving distance of the first button is less than the moving distance of the cursor.
[0175] Among them, the fifth sliding operation may correspond to Figure 6B The sliding operation in the interface shown in d in FIG. 6 shows that the control button 601 moves from position 1 to position 4, and the cursor 602 moves from position 1 (the first position) to position 5 (the third target button). The two cursor movement processes are discontinuous.
[0176] (5) When the fifth sliding operation ends, the electronic device displays the second button and the cursor, and the cursor is located at the third target button.
[0177] The third target button can be Figure 6B The message button of user A in the interface shown in e.
[0178] Optionally, also include:
[0179] (1) The electronic device displays a fifth interface; the fifth interface includes a first button.
[0180] Among them, the fifth interface can correspond to Figure 7 In the interface shown in a, the first button may correspond to the control button 701 of the display status.
[0181] (2) When the electronic device receives the sixth sliding operation on the first button in the fifth interface, the electronic device displays an animation of the first button moving along with the sliding position of the sixth sliding operation, and the electronic device displays an animation of the cursor moving along with the movement of the first button; wherein, within any time period, the moving distance of the first button is less than the moving distance of the cursor.
[0182] The sixth sliding operation may correspond to Figure 7 The sliding operation in the interface shown in a.
[0183] (3) When the sixth sliding operation ends, the electronic device displays the first button, the second button, and the cursor.
[0184] When the sixth sliding operation ends, the electronic device displays Figure 7 In the interface shown in b, the second button may correspond to the confirmation button 703.
[0185] (4) When the electronic device receives the second click operation at the fourth position, the electronic device cancels display of the second button and the cursor; the fourth position is any position in the fifth interface except the first button and the second button.
[0186] The second click operation may correspond to Figure 7 The fourth position can be Figure 7 In the interface shown in b, any area other than the confirmation button 703 and the control button 701 that displays the status.
[0187] Optionally, after the electronic device displays the second interface, the method further includes:
[0188] (1) When the electronic device receives the seventh sliding operation in the second interface, the electronic device displays a dynamic effect of the content in the second interface moving along with the moving position of the seventh sliding operation; the seventh sliding operation does not act on the first button.
[0189] The second interface may correspond to Figure 8 In the interface shown in c, the seventh sliding operation may correspond to Figure 8 The operation of sliding upwards in the interface shown in c.
[0190] (2) Alternatively, when the electronic device receives the eighth sliding operation in the second interface, the electronic device displays the sixth interface.
[0191] The eighth sliding operation may correspond to an operation of updating the interface of the touch object on the touch screen, for example, a left-right sliding operation. The eighth sliding operation may be used to switch interfaces, return to the previous interface, etc.
[0192] Optionally, the first interface also includes a third button, and further includes:
[0193] (1) When the electronic device receives a ninth sliding operation on the third button in the first interface, the electronic device displays a motion effect of the first button moving along with the sliding position of the ninth sliding operation.
[0194] The first interface may correspond to Fig. 9In the interface shown in a, the third button corresponds to the position adjustment button 902, and the ninth sliding operation may correspond to Fig. 9 The sliding operation in the interface shown in b.
[0195] (2) When the ninth sliding operation ends, the electronic device displays a first button; wherein the first button is located at the position where the ninth sliding operation ends.
[0196] The first button may correspond to Fig. 9 In the interface shown in b, the initial position of the first button of the display status control button 901 is changed.
[0197] Optionally, the cursor moves in the horizontal direction m times the distance the first button moves in the horizontal direction, and the cursor moves in the vertical direction n times the distance the first button moves in the vertical direction; the value of m is greater than 1, and the value of n is greater than 1.
[0198] Optionally, it also includes: the electronic device displays a seventh interface, the seventh interface includes a sliding bar and a fourth button; when the electronic device receives the tenth sliding operation on the fourth button, the electronic device updates the value of n and / or m according to the position of the fourth button on the sliding bar.
[0199] The seventh interface can be Fig.11 The interface shown in b or Fig.11 The interface shown in c in the figure; when the seventh interface is Fig.11 When the interface is shown in b in FIG. 1 , the fourth button includes a horizontal sensitivity button 1103 and a vertical sensitivity button 1104; the value of m is different from the value of n. When the seventh interface is Fig.11 In the interface shown in c, the fourth button is the sensitivity button 1105, and the value of m is the same as the value of n.
[0200] Optionally, before the electronic device displays the first interface, it also includes: the electronic device displays an eighth interface; the eighth interface includes a fifth button; the state of the fifth button is an off state; when the electronic device receives a third click operation for turning on the fifth button, the electronic device sets the state of the fifth button to an on state; wherein, when the fifth button is in the on state, the electronic device displays the first button.
[0201] Among them, the eighth interface can correspond to Figure 3 In the interface shown in b, the fifth button can be the switch button 302 of the full screen mode. The third click operation can be Figure 3 FIG. 1 is a diagram showing a click operation of the switch button 302 for the full screen mode in the interface shown in FIG.
[0202] Optionally, after the electronic device displays the second interface, it also includes: the electronic device displays an eighth interface; the eighth interface includes a fifth button; the state of the fifth button is on; when the electronic device receives a fourth click operation for turning off the fifth button, the electronic device sets the state of the fifth button to an off state; wherein, when the fifth button is in the off state, the electronic device cancels display of the first button.
[0203] Among them, the eighth interface can correspond to Fig.12 In the interface shown in a in FIG. 1 , the fifth button may be a full screen mode switch button 1202. The fourth click operation may be Fig.12 In the interface shown in a, a click operation is performed on the switch button 1202 for the full screen mode.
[0204] Optionally, the second interface also includes a third button, and after the electronic device displays the second interface, it also includes: when the electronic device receives the eleventh sliding operation on the third button in the second interface, the electronic device displays the sixth button; and the electronic device displays the animation of the first button moving to the sixth button as the sliding position of the eleventh sliding operation is completed; when the eleventh sliding operation ends, the electronic device cancels the display of the first button.
[0205] Among them, the second interface can correspond to Fig.12 In the interface shown in c, the third button is the position adjustment button 1203; the eleventh operation may correspond to Fig.12 Drag the position adjustment button 1203 in the interface shown in c to Fig.12 The sixth button may be the delete button 1204 .
[0206] Optionally, the size of any interface among the first to eighth interfaces is the same as the size of the touch screen. The electronic device can maintain full-screen display in the one-handed mode.
[0207] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0208] The touch screen control method of the embodiment of the present application has been described above, and the device for executing the touch screen control method provided by the embodiment of the present application is described below. Those skilled in the art can understand that the method and the device can be combined and referenced with each other, and the relevant device provided by the embodiment of the present application can execute the steps in the touch screen control method.
[0209] like Fig.14 As shown, the touch screen control device 1400 can be used in a communication device, a circuit, a hardware component or a chip, and the touch screen control device includes: a display unit 1401 and a processing unit 1402. The display unit 1401 is used to support the display step performed by the touch screen control device 1400; the processing unit 1402 is used to support the touch screen control device 1400 to perform the information processing step.
[0210] In a possible implementation, the touch screen control device 1400 may also include a communication unit 1403. Specifically, the communication unit is used to support the touch screen control device 1400 to execute the steps of sending and receiving data. The communication unit 1403 may be an input or output interface, a pin or a circuit.
[0211] In a possible embodiment, the touch screen control device may further include: a storage unit 1404. The processing unit 1402 and the storage unit 1404 are connected via a line. The storage unit 1404 may include one or more memories, and the memory may be a device used to store programs or data in one or more devices or circuits. The storage unit 1404 may exist independently and be connected to the processing unit 1402 of the touch screen control device via a communication line. The storage unit 1404 may also be integrated with the processing unit 1402.
[0212] The storage unit 1404 may store computer-executable instructions of the method in the terminal device so that the processing unit 1402 executes the method in the above embodiment. The storage unit 1404 may be a register, a cache, or a RAM, etc. The storage unit 1404 may be integrated with the processing unit 1402. The storage unit 1404 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, and the storage unit 1404 may be independent of the processing unit 1402.
[0213] The touch screen control method provided in the embodiment of the present application can be applied to electronic devices with communication functions. The electronic devices include terminal devices, and the specific device form of the terminal devices can refer to the above related descriptions, which will not be repeated here.
[0214] An embodiment of the present application provides a terminal device, which includes: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the terminal device executes the above method.
[0215] The embodiment of the present application provides a chip. The chip includes a processor, and the processor is used to call a computer program in a memory to execute the technical solution in the above embodiment. Its implementation principle and technical effect are similar to those of the above related embodiments, and will not be repeated here.
[0216] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. The above method is implemented when the computer program is executed by the processor. The method described in the above embodiment can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the function can be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium that can be accessed by a computer.
[0217] In one possible implementation, a computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disk storage, disk storage or other magnetic storage devices, or any other medium that is intended to carry or store the required program code in the form of instructions or data structures and can be accessed by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technology (such as infrared, radio and microwave) is used to transmit software from a website, server or other remote source, the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave are included in the definition of medium. Disks and optical disks as used herein include optical disks, laser disks, optical disks, digital versatile disks (DVD), floppy disks and Blu-ray disks, where disks usually reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included in the scope of computer-readable media.
[0218] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the above method.
[0219] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0220] The above specific implementation methods further illustrate the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the scope of protection of the present invention.
Claims
1. A touch screen control method, characterized in that: Applied to an electronic device including a touch screen, the method comprises: The electronic device displays a first interface; the first interface includes a first button; When the electronic device receives a first sliding operation on the first button in the first interface, the electronic device displays a dynamic effect of the first button moving along with the sliding position of the first sliding operation, and the electronic device displays a dynamic effect of the cursor moving along with the movement of the first button; wherein, within any time period, the moving distance of the first button is less than the moving distance of the cursor, and the moving distance of the first button is positively correlated with the moving distance of the cursor; When the first sliding operation ends, the electronic device displays a second button and the cursor, and the cursor is located at the first target button; When receiving a first click operation on the second button, the electronic device displays a second interface; the second interface is an interface that can be jumped to when the first target button is clicked.
2. The method according to claim 1, characterized in that Before receiving the first sliding operation, in the first interface, the first button is located at a first position; When the first sliding operation ends, the electronic device still displays the first button, and the first button is located at a first position.
3. The method according to claim 1 or 2, characterized in that: Also includes: The electronic device displays a third interface, where the third interface includes the first button; The first button is located at a first position; When the electronic device receives a second sliding operation on the first button in the third interface, the electronic device displays a dynamic effect of the first button moving along with the sliding position of the second sliding operation, and the electronic device displays a dynamic effect of the cursor moving from the first position along with the movement of the first button; wherein, within any time period, the moving distance of the first button is less than the moving distance of the cursor; When the second sliding operation ends, the electronic device displays the first button, the second button, and the cursor, and the cursor is located at a second position; When the electronic device receives a third sliding operation on the first button in the third interface, the electronic device displays a dynamic effect of the first button moving along with the sliding position of the third sliding operation, and the electronic device displays a dynamic effect of the cursor moving from the second position along with the movement of the first button; wherein, within any time period, the moving distance of the first button is less than the moving distance of the cursor; When the third sliding operation ends, the electronic device displays the second button and the cursor, and the cursor is located at the second target button.
4. The method according to claim 1 or 2, characterized in that: Also includes: The electronic device displays a fourth interface, the fourth interface includes the first button, and the first button is located at a first position; When the electronic device receives a fourth sliding operation on the first button in the fourth interface, the electronic device displays a dynamic effect of the first button moving along with the sliding position of the fourth sliding operation, and the electronic device displays a dynamic effect of the cursor moving from the first position along with the movement of the first button; wherein, within any time period, the moving distance of the first button is less than the moving distance of the cursor; When the fourth sliding operation ends, the electronic device displays the first button, the second button and the cursor, and the cursor is located at a third position; When the electronic device receives a fifth sliding operation on the first button in the fourth interface, the electronic device displays a dynamic effect of the first button moving along with the sliding position of the fifth sliding operation, and the electronic device displays a dynamic effect of the cursor moving from the first position along with the movement of the first button; wherein, within any time period, the moving distance of the first button is less than the moving distance of the cursor; When the fifth sliding operation ends, the electronic device displays the second button and the cursor, and the cursor is located at the third target button.
5. The method according to any one of claims 1 to 4, characterized in that Also includes: The electronic device displays a fifth interface; the fifth interface includes the first button; When the electronic device receives a sixth sliding operation on the first button in the fifth interface, the electronic device displays a dynamic effect of the first button moving along with the sliding position of the sixth sliding operation, and the electronic device displays a dynamic effect of the cursor moving along with the movement of the first button; wherein, within any time period, the moving distance of the first button is less than the moving distance of the cursor; When the sixth sliding operation ends, the electronic device displays the first button, the second button and the cursor; When the electronic device receives a second click operation at a fourth position, the electronic device cancels display of the second button and the cursor; the fourth position is any position in the fifth interface excluding the first button and the second button.
6. The method according to any one of claims 1 to 5, characterized in that After the electronic device displays the second interface, the method further includes: When the electronic device receives the seventh sliding operation in the second interface, the electronic device displays a dynamic effect of the content in the second interface moving along with the moving position of the seventh sliding operation; the seventh sliding operation does not act on the first button; Alternatively, when the electronic device receives the eighth sliding operation in the second interface, the electronic device displays the sixth interface.
7. The method according to any one of claims 1 to 6, characterized in that The first interface also includes a third button, and further includes: When the electronic device receives a ninth sliding operation on the third button in the first interface, the electronic device displays a dynamic effect of the first button moving along with the sliding position of the ninth sliding operation; When the ninth sliding operation ends, the electronic device displays the first button; wherein the first button is located at the position where the ninth sliding operation ends.
8. The method according to any one of claims 1 to 7, characterized in that The horizontal movement distance of the cursor is m times the horizontal movement distance of the first button, and the vertical movement distance of the cursor is n times the vertical movement distance of the first button; the value of m is greater than 1, and the value of n is greater than 1.
9. The method according to any one of claims 1 to 8, characterized in that Also includes: The electronic device displays a seventh interface, wherein the seventh interface includes a slide bar and a fourth button; When the electronic device receives the tenth sliding operation on the fourth button, the electronic device updates the value of n and / or m according to the position of the fourth button on the slide bar.
10. The method according to any one of claims 1 to 9, characterized in that Before the electronic device displays the first interface, the method further includes: The electronic device displays an eighth interface; the eighth interface includes a fifth button; the fifth button is in an off state; When the electronic device receives a third click operation for turning on the fifth button, the electronic device sets the state of the fifth button to an on state; wherein, when the fifth button is in the on state, the electronic device displays the first button.
11. The method according to any one of claims 1 to 10, characterized in that After the electronic device displays the second interface, the method further includes: The electronic device displays an eighth interface; the eighth interface includes a fifth button; the fifth button is in an on state; When the electronic device receives a fourth click operation for closing the fifth button, the electronic device sets the state of the fifth button to a closed state; wherein, when the fifth button is in the closed state, the electronic device cancels display of the first button.
12. The method according to any one of claims 1 to 11, characterized in that The second interface also includes a third button, and after the electronic device displays the second interface, further includes: When the electronic device receives an eleventh sliding operation on the third button in the second interface, the electronic device displays a sixth button; and the electronic device displays a dynamic effect of the first button moving to the sixth button as the sliding position of the eleventh sliding operation moves; When the eleventh sliding operation ends, the electronic device cancels display of the first button.
13. The method according to any one of claims 1 to 12, characterized in that The size of any interface among the first to eighth interfaces is the same as the size of the touch screen.
14. A terminal device, characterized in that: include: Processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the terminal device executes the method according to any one of claims 1 to 13.
15. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 13 is implemented.
16. A computer program product, characterized in that The method comprises a computer program, which, when being executed, enables a computer to execute the method according to any one of claims 1 to 13.