Quick operating methods for the device, electronic equipment and readable storage media
By supporting dual-touch operation of buttons or swipe operation after dual-touch operation on electronic devices, combined with animation display, the problem of cumbersome and time-consuming operation of electronic devices is solved, and a fast and convenient operating experience and one-handed operation capability are achieved.
Patent Information
- Application Number
- CN202411284275.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2044-09-12
AI Technical Summary
The operation of existing electronic devices is cumbersome and time-consuming, which affects the user experience.
By enabling two-touch operation of buttons or two-touch followed by swipe operation on electronic devices, combined with animated effects, applications or functions can be quickly triggered, supporting one-handed operation.
It provides a faster and more convenient device operation experience, improves user operation efficiency and immersive touch experience, and reduces the risk of misoperation.
Smart Images

Figure CN119415004B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and in particular to a quick operation method for a device, an electronic device, and a readable storage medium. Background Technology
[0002] With the increasing intelligence of electronic devices, they can meet daily life and work needs through various installed applications and functions. Currently, when users want to operate an application or function, they often need to unlock the electronic device, find the entry point for the application or function, and then enter the interface to perform relevant operations, such as opening a specific application or function. This process is cumbersome and time-consuming for users, negatively impacting the user experience. Summary of the Invention
[0003] This application provides a quick operation method for a device, an electronic device, and a readable storage medium, which can solve the problem of cumbersome and time-consuming operation when operating the device, and provide a faster and more convenient device operation experience.
[0004] To achieve the above objectives, this application adopts the following technical solution:
[0005] In a first aspect, a quick operation method for a device is provided, which can be applied to an electronic device including buttons. The method includes: the electronic device receiving a first touch operation by a user on a button; the electronic device displaying a first dynamic effect accompanying the first touch operation, the first dynamic effect including: the operation indicator object translating from a first position on the display screen of the electronic device to a second position on the display screen and then moving back to the first position; the electronic device receiving a second touch operation by the user on a button; the electronic device displaying a second dynamic effect accompanying the second touch operation, the second dynamic effect being the same as or different from the first dynamic effect; in response to the first touch operation and the second touch operation, the electronic device performing an action corresponding to the two touch operations, the action corresponding to the two touch operations including at least one of the following: opening an application, opening an application function, opening an application card, opening an application mini-program, switching a function state, and displaying a quick access list, the quick access list including multiple quick accesses.
[0006] The solution provided in the first aspect allows electronic devices to support simpler and more convenient user operations via dual-touch operations on buttons, including but not limited to at least one of the following: opening an application, opening an application function, opening an application card, opening an application mini-program, and switching function states. This not only solves the problem of cumbersome and time-consuming conventional device operations for users, but also provides a faster and more convenient device operation experience because the dual-touch operation or the swipe operation after dual-touch is concentrated on the button, allowing for one-handed operation. Furthermore, the electronic device can provide a more immersive touch operation experience by displaying animations corresponding to the empty window operations.
[0007] As an example, the second motion effect differs from the first motion effect. For instance, the second motion effect may include the operation indicator object translating from a first position on the display screen of the electronic device to a second position on the display screen and then moving back to the first position. Compared to the first motion effect, the operation indicator object in the second motion effect may have one or more of the following differences: different thickness, different color, or different shape. Alternatively, the second motion effect may include the operation indicator object (such as a light bar) translating from a third position on the display screen to a fourth position on the display screen and then moving back to the third position, where the third position is different from the first position and / or the fourth position is different from the second position. Or, the second motion effect may include other types of motion effects without specific limitations.
[0008] As an example, the operation indicator object may include, but is not limited to, a light bar.
[0009] As an example, the aforementioned buttons may include: power button, volume buttons, or physical shortcut keys.
[0010] As an example, the time interval between the first touch operation and the second touch operation is relatively short, such as less than the first preset duration threshold.
[0011] As one possible implementation, the action corresponding to the aforementioned two-touch operation is to display a shortcut list. The method further includes: in response to the user's first swipe operation on the button, the electronic device opens the first task corresponding to the first shortcut entry in the shortcut list. In this way, the electronic device can support users in bringing up a shortcut list through a simpler and more convenient two-touch operation on the button, allowing users to select the desired application, application function, application card, or application mini-program, providing users with a faster and more convenient device operation experience.
[0012] As one possible implementation, the first sliding operation described above is a sliding operation in which the finger does not leave the button after completing the second touch operation; or, the first sliding operation is a sliding operation performed by leaving the button after completing the second touch operation and then touching the button again. In this way, since the touch operation range for the button is concentrated on the button, it can be completed with one hand, thus providing users with a faster and more convenient device operation experience.
[0013] As one possible implementation, the action corresponding to the aforementioned two-touch operation is to display a list of shortcut entries. The method further includes: in response to a long press operation where the user's finger remains on the button after completing the second touch, the electronic device opens the first task corresponding to the first shortcut entry in the shortcut entry list. This further provides users with a fast and convenient device operation experience that can be completed with one hand.
[0014] As one possible implementation, the action corresponding to the aforementioned two-touch operation is to display a list of shortcut entries. The method further includes: in response to a second swipe operation by the user on the button, the electronic device opens the second task corresponding to the second shortcut entry, where the second shortcut entry is the next shortcut entry in the shortcut entry list after the first shortcut entry. This allows users to switch and select target entries through simpler and more convenient operations, providing a smoother device operation experience.
[0015] As one possible implementation, the action corresponding to the above-mentioned two-touch operation includes opening a target object, which includes at least one of the following: an application, an application function, an application card, or an application mini-program. The method further includes displaying an icon of the target object on the electronic device after the user lifts their hand after completing the first touch operation. This can improve the user's awareness of the two-touch operation, remind the user of the target object corresponding to the two-touch operation, and guide the user to continue performing the next touch operation, thereby improving the fault tolerance of the two-touch operation and solving the problem of potential user misoperation.
[0016] As one possible implementation, before receiving the user's first touch on the button, the electronic device displays a notification bar. The action corresponding to the two-touch operation includes opening at least one of the following corresponding to the notification in the notification bar: application, application function, application card, and application mini-program. In this way, in notification scenarios, users can be provided with a quick and convenient experience to open communication-related details.
[0017] As an example, the aforementioned notification bar may include, but is not limited to, a message notification bar or a live notification box.
[0018] As one possible implementation, the aforementioned two-touch operation corresponds to switching the functional state of an application. The method further includes: after the user releases their hand after completing the first touch operation, the electronic device displays the first functional state of the application; the electronic device then executes the action corresponding to the two-touch operation, including: after the user releases their hand after completing the second touch operation, switching the first functional state to the second functional state. This allows users to quickly trigger the switching of functional states in the electronic device through simpler and more convenient two-touch operations on buttons, providing a faster and more convenient device operation experience. Furthermore, displaying the functional state can improve users' understanding of two-touch operations and guide them to continue with the next touch operation, improving the fault tolerance of two-touch operations and resolving potential user misoperation issues.
[0019] Secondly, a method for quick operation of a device is provided. This method can be applied to an electronic device including buttons. The method includes: the electronic device receiving a user's operation on the buttons, the operation including any one of the following: a two-touch operation, a swipe operation, or a long press operation; in response to the operation, the electronic device performing an action corresponding to the operation, the action corresponding to the operation including at least one of the following: opening an application, opening an application function, opening an application card, opening an application mini-program, switching function states, and displaying a list of quick access points, the list of quick access points including one or more quick access points.
[0020] The solution provided in the second aspect above allows electronic devices to support users in triggering operations through simpler and more convenient double-touch, swipe, and long-press actions on buttons. These operations include, but are not limited to, at least one of the following: opening an application, opening an application function, opening an application card, opening an application mini-program, and switching function states. This not only solves the problem of cumbersome and time-consuming conventional device operations for users, but also provides a faster and more convenient device operation experience because the operation range for double-touch, swipe, and long-press actions is concentrated on the buttons themselves, allowing for one-handed operation.
[0021] As an example, the operation indicator object may include, but is not limited to, a light bar.
[0022] As an example, the aforementioned buttons may include: power button, volume buttons, or physical shortcut keys.
[0023] As one possible implementation, the above operation is a two-touch operation, which includes a first touch operation and a second touch operation. The method further includes: the electronic device displaying a first animation effect accompanying the first touch operation; the first animation effect including: the operation indicator object translating from a first position on the electronic device's display screen to a second position on the display screen and then moving back to the first position; and the electronic device displaying a second animation effect accompanying the second touch operation. In this way, the electronic device can provide users with a more immersive touch operation experience by displaying animation effects corresponding to window-based operations.
[0024] As an example, the second motion effect differs from the first motion effect. For instance, the second motion effect may include the operation indicator object translating from a first position on the display screen of the electronic device to a second position on the display screen and then moving back to the first position. Compared to the first motion effect, the operation indicator object in the second motion effect may have one or more of the following differences: different thickness, different color, or different shape. Alternatively, the second motion effect may include the operation indicator object (such as a light bar) translating from a third position on the display screen to a fourth position on the display screen and then moving back to the third position, where the third position is different from the first position and / or the fourth position is different from the second position. Or, the second motion effect may include other types of motion effects without specific limitations.
[0025] As an example, the time interval between the first touch operation and the second touch operation is relatively short, such as less than the first preset duration threshold.
[0026] As one possible implementation, the action corresponding to the aforementioned two-touch operation is to display a shortcut list. The method further includes: in response to the user's first swipe operation on the button, the electronic device opens the first task corresponding to the first shortcut entry in the shortcut list. In this way, the electronic device can support users in bringing up a shortcut list through a simpler and more convenient two-touch operation on the button, allowing users to select the desired application, application function, application card, or application mini-program, providing users with a faster and more convenient device operation experience.
[0027] As one possible implementation, the first sliding operation described above is a sliding operation in which the finger does not leave the button after completing the second touch operation; or, the first sliding operation is a sliding operation performed by leaving the button after completing the second touch operation and then touching the button again. In this way, since the touch operation range for the button is concentrated on the button, it can be completed with one hand, thus providing users with a faster and more convenient device operation experience.
[0028] As one possible implementation, the action corresponding to the aforementioned two-touch operation is to display a list of shortcut entries. The method further includes: in response to a long press operation where the user's finger remains on the button after completing the second touch, the electronic device opens the first task corresponding to the first shortcut entry in the shortcut entry list. This further provides users with a fast and convenient device operation experience that can be completed with one hand.
[0029] As one possible implementation, the action corresponding to the aforementioned two-touch operation is to display a list of shortcut entries. The method further includes: in response to a second swipe operation by the user on the button, the electronic device opens the second task corresponding to the second shortcut entry, where the second shortcut entry is the next shortcut entry in the shortcut entry list after the first shortcut entry. This allows users to switch and select target entries through simpler and more convenient operations, providing a smoother device operation experience.
[0030] As one possible implementation, the action corresponding to the above-mentioned two-touch operation includes opening a target object, which includes at least one of the following: an application, an application function, an application card, or an application mini-program. The method further includes displaying an icon of the target object on the electronic device after the user lifts their hand after completing the first touch operation. This can improve the user's awareness of the two-touch operation, remind the user of the target object corresponding to the two-touch operation, and guide the user to continue performing the next touch operation, thereby improving the fault tolerance of the two-touch operation and solving the problem of potential user misoperation.
[0031] As one possible implementation, before receiving user input to the buttons, the electronic device displays a notification bar. The user's button input corresponds to an action that includes opening at least one of the following: an application, an application function, an application card, or an application mini-program. This allows users to quickly and conveniently access communication-related details in notification scenarios.
[0032] As an example, the aforementioned notification bar may include, but is not limited to, a message notification bar or a live notification box.
[0033] As one possible implementation, the aforementioned two-touch operation corresponds to switching the functional state of an application. The method further includes: after the user releases their hand after completing the first touch operation, the electronic device displays the first functional state of the application; the electronic device then executes the action corresponding to the two-touch operation, including: after the user releases their hand after completing the second touch operation, switching the first functional state to the second functional state. This allows users to quickly trigger the switching of functional states in the electronic device through simpler and more convenient two-touch operations on buttons, providing a faster and more convenient device operation experience. Furthermore, displaying the functional state can improve users' understanding of two-touch operations and guide them to continue with the next touch operation, improving the fault tolerance of two-touch operations and resolving potential user misoperation issues.
[0034] Thirdly, an electronic device is provided, comprising: a touch sensor for receiving touch operations by a user; a memory for storing one or more programs; and a processor for executing the one or more programs, such that the electronic device implements the method as described in any possible implementation of the first or second aspect.
[0035] Fourthly, a readable storage medium is provided, on which program instructions are stored, which, when executed by a device, can implement the methods as described in any possible implementation of the first or second aspect.
[0036] Fifthly, a program product containing instructions is provided, which, when run on a device, enables the device to perform methods as described in any possible implementation of the first or second aspect.
[0037] Sixthly, a chip system is provided, comprising processing circuitry and a storage medium storing program instructions; when executed by the processing circuitry, the program instructions can implement the methods described in any possible implementation of the first or second aspect. The chip system may be composed of chips or may include chips and other discrete devices. Attached Figure Description
[0038] Figure 1 This is a schematic diagram of a typical equipment operation process;
[0039] Figure 2 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application;
[0040] Figure 3 A schematic diagram of the software structure of an electronic device provided in an embodiment of this application;
[0041] Figure 4 The quick operation method flow of the device provided in the embodiments of this application Figure 1 ;
[0042] Figure 5 This application provides a schematic diagram of a two-touch operation.
[0043] Figure 6 This application provides a schematic diagram of the process of opening an application using two-touch operation in an embodiment of the present application. Figure 1 ;
[0044] Figure 7 A schematic diagram of the process of opening the application function by two-touch operation provided in the embodiments of this application. Figure 1 ;
[0045] Figure 8A This application provides a schematic diagram of the process of opening an application card using dual-touch operation in an embodiment of the present application. Figure 1 ;
[0046] Figure 8B This application provides a schematic diagram of the process of opening an application card using dual-touch operation in an embodiment of the present application. Figure 2 ;
[0047] Figure 9 This application provides a schematic diagram of the process of opening an application mini-program using two-touch operation in an embodiment of the present application. Figure 1 ;
[0048] Figure 10 A schematic diagram of the process for switching the function state using dual-touch operation provided in the embodiments of this application. Figure 1 ;
[0049] Figure 11 This application provides a schematic diagram illustrating the process of opening a shortcut list and opening a target object through the shortcut list in an embodiment of the present application.
[0050] Figure 12A This application provides a schematic diagram illustrating the process of switching target objects in a shortcut list.
[0051] Figure 12B This is a schematic diagram illustrating another form of quick access list display provided in an embodiment of this application;
[0052] Figure 13 The quick operation method flow of the device provided in the embodiments of this application Figure 2 ;
[0053] Figure 14A This is a schematic diagram of a first motion effect process provided in an embodiment of this application;
[0054] Figure 14B This application provides a schematic diagram of the process of opening an application using two-touch operation in an embodiment of the present application. Figure 2 ;
[0055] Figure 14CA schematic diagram of the process of opening the application function by two-touch operation provided in the embodiments of this application. Figure 2 ;
[0056] Figure 14D This application provides a schematic diagram of the process of opening an application card using dual-touch operation in an embodiment of the present application. Figure 3 ;
[0057] Figure 14E This application provides a schematic diagram of the process of opening an application mini-program using two-touch operation in an embodiment of the present application. Figure 2 ;
[0058] Figure 14F A schematic diagram of the process for switching the function state using dual-touch operation provided in the embodiments of this application. Figure 2 ;
[0059] Figure 14G This application provides a schematic diagram illustrating a process for opening a shortcut list using a two-touch operation, as shown in the embodiments of this application.
[0060] Figure 15 The quick operation method flow of the device provided in the embodiments of this application Figure 3 ;
[0061] Figure 16 This application provides a schematic diagram of the process of opening an application using two-touch operation in an embodiment of the present application. Figure 3 ;
[0062] Figure 17 A schematic diagram of the process of opening the application function by two-touch operation provided in the embodiments of this application. Figure 3 ;
[0063] Figure 18 This application provides a schematic diagram of the process of opening an application card using dual-touch operation in an embodiment of the present application. Figure 4 ;
[0064] Figure 19 This application provides a schematic diagram of the process of opening an application mini-program using two-touch operation in an embodiment of the present application. Figure 3 ;
[0065] Figure 20 A schematic diagram of the process for switching the function state using dual-touch operation provided in the embodiments of this application. Figure 3 ;
[0066] Figure 21 The quick operation method flow of the device provided in the embodiments of this application Figure 4 ;
[0067] Figure 22 This application provides a schematic diagram of the process of opening an application using two-touch operation in an embodiment of the present application. Figure 4 ;
[0068] Figure 23A schematic diagram of the process of opening the application function by two-touch operation provided in the embodiments of this application. Figure 4 ;
[0069] Figure 24A This application provides a schematic diagram of the process of opening an application card using dual-touch operation in an embodiment of the present application. Figure 5 ;
[0070] Figure 24B This application provides a schematic diagram of the process of opening an application card using dual-touch operation in an embodiment of the present application. Figure 6 ;
[0071] Figure 25 This application provides a schematic diagram of the process of opening an application mini-program using two-touch operation in an embodiment of the present application. Figure 4 ;
[0072] Figure 26A A schematic diagram of the process for switching the function state using dual-touch operation provided in the embodiments of this application. Figure 4 ;
[0073] Figure 26B A schematic diagram of the process for switching the function state using dual-touch operation provided in the embodiments of this application. Figure 5 . Detailed Implementation
[0074] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; "and / or" in this text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0075] In the following text, the terms "first," "second," etc., are used only to distinguish different descriptive objects and do not limit the position, order, priority, quantity, or content of the described objects. For example, if the described object is a "field," then the ordinal numbers before "field" in "first field" and "second field" do not limit the position or order of the "fields." "First" and "second" do not limit whether the "fields" they modify are in the same message, nor do they restrict the order of "first field" and "second field." Similarly, if the described object is a "level," then the ordinal numbers before "level" in "first level" and "second level" do not limit the priority of the "levels." Furthermore, the quantity of described objects is not limited by ordinal numbers and can be one or more; for example, in "first device," the number of "devices" can be one or more. In addition, objects modified by different prefixes can be the same or different. For example, if the described object is "device," then "first device" and "second device" can be devices of the same type or different types. Similarly, if the described object is "information," then "first information" and "second information" can be information with the same content or information with different content. In summary, the use of ordinal numbers and other prefixes used to distinguish the described objects in the embodiments of this application does not constitute a limitation on the described objects. The description of the described objects is given in the claims or the context of the embodiments, and the use of such prefixes should not constitute an unnecessary limitation.
[0076] Furthermore, in the embodiments of this application, "connection" can be a direct connection or an indirect connection; in addition, it can refer to an electrical connection or a communication connection; for example, the connection of two electrical components A and B can refer to A and B being directly connected, or it can refer to A and B being indirectly connected through other electrical components or connection media, or it can refer to A and B being indirectly connected through other communication devices or communication media, as long as it enables communication between A and B.
[0077] As described in the background section, conventional equipment operation is cumbersome and time-consuming for users.
[0078] To address the aforementioned problems in device operation, in some embodiments, the electronic device may include physical shortcut keys, such as... Figure 1 The side shortcut key 100, etc., is used by the user to trigger the display of a shortcut entry interface on the electronic device with a single click. This interface includes multiple shortcuts related to applications or functions, allowing users to easily access these applications or functions through touch operations. However, triggering the display of shortcut entries on the electronic device via a physical shortcut key requires the user to first press the physical shortcut key and then perform a touch operation on the shortcut entry. Figure 1As shown, the user's interaction with the electronic device includes: pressing (such as short press, long press, etc.) the side shortcut key 100 → clicking the shortcut entry control on the display screen (such as the shortcut entry control of application 1). The operation path in this device operation process is relatively long and usually requires the cooperation of both hands to complete, which is inconvenient for users. In addition, there is no responsive feedback in the operation process, so the user experience needs to be improved.
[0079] To provide users with a faster and more convenient device operation experience, this application provides a method for quick device operation. In this method, the electronic device allows users to quickly trigger operations on the device through simpler and more convenient touch operations on buttons (such as the power button). For example, the electronic device can quickly trigger operations in response to a user's double-touch operation on the power button, or a double-touch followed by a slide operation on the power button. These operations include, but are not limited to, at least one of the following: opening an application, opening an application function, opening an application card, opening an application mini-program, switching function states, etc. Thus, since the touch operation range for buttons is concentrated on the buttons themselves, it can be completed with one hand, providing users with a faster and more convenient device operation experience.
[0080] The two-touch operation for the button includes a first touch operation and a second touch operation for the button, and the time interval between the first touch operation and the second touch operation is small, for example, less than a first preset duration threshold; the two-touch sliding operation for the power button includes a first touch operation, a second touch operation and a sliding operation for the button, and the time interval between the first touch operation and the second touch operation is small, for example, less than a first preset duration threshold, and the time interval between the sliding operation and the second touch operation is small, for example, less than a second preset duration threshold.
[0081] In some embodiments, two-touch operation can also be called "double-click operation". The following embodiments of this application use "two-touch operation" as an example for description.
[0082] In some embodiments, the electronic device may also display corresponding display animations following the user's touch operation on the button, such as the bouncing effect of operation indicators like light bars, providing the user with a more immersive and responsive operating experience.
[0083] In some embodiments, the electronic device may also display corresponding prompts during the user's touch operation on the button, such as displaying the icon of the application to be opened, the function icon of the application to be opened, the card icon of the application to be opened, the mini-program icon of the application to be opened, the current function status, etc. Prompts can improve the fault tolerance of touch operation on the button and solve the problem of user misoperation.
[0084] The electronic devices described in this application embodiment may include, but are not limited to, smartphones, netbooks, tablets, smart drawing tablets, handwriting tablets, smartwatches, smart bracelets, phone watches, smart glasses, smart cameras, PDAs, in-vehicle computers, personal computers (PCs), personal digital assistants (PDAs), portable multimedia players (PMPs), augmented reality (AR) / virtual reality (VR) devices, smart switches, and smart central control screens. Alternatively, the electronic devices may also be other types or structures of devices with touchscreens, which are not limited in this application embodiment.
[0085] As an example, please refer to Figure 2 , Figure 2 A schematic diagram of the hardware structure of an electronic device according to an embodiment of this application is shown. Figure 2 As shown, the electronic device may include a processor 210, a memory 220, a display screen 230, a sensor module 240, and buttons 250.
[0086] Processor 210 may include one or more processing units.
[0087] In some embodiments, the processor 210 may also include a memory for storing instructions and data. For example, the memory in the processor 210 may be a cache memory. This memory can store instructions or data that the processor 210 has just used or that are used repeatedly. If the processor 210 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.
[0088] In some embodiments, processor 210 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a flight controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU), etc. The different processing units may be independent devices or integrated into one or more processors.
[0089] In some embodiments, the processor 210 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0090] The memory 220 may include an external memory interface and / or internal memory.
[0091] The external memory interface can be used to connect external memory cards, such as Micro SD cards, to expand the storage capacity of electronic devices. The external memory card communicates with the processor 210 through the external memory interface to perform data storage functions.
[0092] Internal memory can be used to store computer executable program code. Exemplarily, computer programs may include operating system programs and application programs. The executable program code includes instructions. Processor 210 executes various functional applications and data processing of the electronic device by running instructions stored in the internal memory. The internal memory may include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function, etc. The data storage area may store data created during the use of the electronic device, etc. Furthermore, the internal memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 210 executes various functional applications and data processing of the electronic device by running instructions stored in the internal memory and / or instructions stored in memory disposed within the processor.
[0093] Display screen 230 includes a display panel. As an example, the display panel may be a low-temperature poly-silicon (LTPS) display, a low-temperature polycrystalline oxide (LTPO) display, a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) display, a flexible light-emitting diode (FLED), a Miniled LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc.
[0094] In some embodiments of this application, the electronic device implements display functions through a GPU, a display screen 230, and an access point (AP). The GPU is a microprocessor for image processing, connected to the display screen 230 and the AP. The GPU is used to perform mathematical and geometric calculations for drawing, rendering, or compositing graphics. The processor 210 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0095] In some embodiments of this application, the electronic device can perform related processing of the displayed content through an AP, GPU, etc., and display the displayed content through a display screen 230. Exemplarily, the displayed content may include, but is not limited to, one or more of the following: a quick access list, a message notification box, an application interface, an application function interface, an application card interface, an application mini-program interface, animation effects, icons of target objects, etc.
[0096] In this embodiment, the sensor module 240 may be disposed on the button 250, and the sensor module 240 may include, but is not limited to, one or more of the following: touch sensor 240A, pressure sensor 240B.
[0097] Touch sensor 240A, also known as a "touch panel," can be located on button 250. Touch sensor 240A is used to detect touch operations applied to or near it. The touch sensor can transmit raw information, such as touch location, touch pressure, touch area, and touch duration, to the processor for subsequent operation information acquisition, input event generation, and processing. In some embodiments, the processor can provide visual output related to the touch operation via display screen 230.
[0098] Pressure sensor 240B is used to sense pressure signals and convert them into electrical signals. Pressure sensor 240B can be installed on button 250. There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may consist of at least two parallel plates with conductive material. When force is applied to the pressure sensor, the capacitance between the electrodes changes. The electronic device determines the pressure intensity based on the change in capacitance. When a touch operation is applied to the display screen 230, the electronic device can detect the touch force through the pressure sensor. The electronic device can also calculate the touch position based on the detection signal from pressure sensor 240B.
[0099] In some embodiments of this application, the sensor module 240 may further include a fingerprint sensor 240C.
[0100] The fingerprint sensor 240C is used to collect fingerprints. The fingerprint sensor 240C can be located on the button 250. Electronic devices can utilize the collected fingerprint characteristics to achieve fingerprint unlocking, app access lock, fingerprint photography, fingerprint answering of calls, etc.
[0101] Buttons 250 include power buttons, volume buttons, etc. Buttons 250 can be mechanical buttons or touch buttons. Electronic devices can receive button inputs and generate key signal inputs related to user settings and function control of the electronic device.
[0102] In some embodiments of this application, the electronic device can illuminate the display screen when the user presses button 250.
[0103] In some embodiments of this application, when a user presses button 250, the electronic device can illuminate the display screen and simultaneously collect a fingerprint via the fingerprint sensor 240C on button 250. The electronic device unlocks after successful fingerprint verification. In these embodiments, touch sensor 240A and / or pressure sensor 240B can be used to detect user touch operations, such as a double-touch operation on button 250 or a double-touch followed by a swipe operation on button 250. The touch operation information is collected and sent to the processor for processing, analysis, and response to the touch operation.
[0104] In some embodiments, the sensor module 240 may further include one or more of the following: a temperature sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an accelerometer, a distance sensor, a proximity sensor, an ambient light sensor, a bone conduction sensor, etc.
[0105] It is understood that this application Figure 2 The illustrated structure does not constitute a specific limitation on the electronic device. In other embodiments of this application, the electronic device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0106] For example, in some embodiments, the electronic device may further include one or more of the following modules: a universal serial bus (USB) interface, a charging management module, a power management module, a battery, an antenna, a mobile communication module, a wireless communication module, a modem processor, a baseband processor, an audio module, a speaker, a receiver, a microphone, a headphone jack, a motor, an indicator, a camera, etc. For a description of each module, please refer to conventional techniques; this application does not limit the scope of the embodiments.
[0107] As an example, please refer to Figure 3 , Figure 3 This diagram illustrates the software structure of an electronic device according to an embodiment of this application. Figure 3 As shown, the software architecture of an electronic device can include, from top to bottom, an application layer, a framework layer (FWK), and a kernel layer.
[0108] The application layer can include a series of applications and / or application functions, such as Figure 3 The application layer includes payment, instant messaging, calling, music, recording, camera, and other applications. Of course, the application layer can also include, but is not limited to, other applications such as email, gallery, calendar, maps, navigation, Bluetooth, etc.
[0109] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. For example... Figure 3 As shown, the framework layer can provide Window Manager Service (WMS), Activity Management Service (AMS), Input Flinger Service, and Surface Flinger graphics rendering process. Among them, the Window Manager Service is used to provide window management, such as window creation, window startup, window deletion, window movement, and management of window position / size / style, etc.
[0110] In this embodiment, the window management service can also be used to manage window information. This window information may include, but is not limited to, window identifier, window hierarchy, identifier of the interface displayed in the window, and the virtual screen object corresponding to the window. For example, the virtual screen object corresponding to the window is the displayId of the virtual screen where the window resides; for instance, displayId can be an int type parameter.
[0111] The Activity Management Service (AMS) is responsible for managing Activities, including the startup, switching, and scheduling of components within the system, as well as the management and scheduling of applications. Specifically, AMS defines data classes for storing processes, activities, and tasks. The data class for processes can include process file information, process memory state information, and the activities and services contained within the process. Activity information can be stored in the ActivityStack. The ActivityStack is used for unified scheduling of application Activities. Specifically, the ActivityStack can store information about all currently running Activities. The ActivityStack can also store information about historically run Activities.
[0112] In this embodiment of the application, the device's AMS can schedule the Activity corresponding to the target window to respond to the user's touch operation according to the instructions of the WMS.
[0113] Input composition services are used to collect, analyze, process, and distribute user action information and input events. For example, an input composition service may include two classes: InputReader and InputDispatcher. InputReader converts action information into specific input events; InputDispatcher reports these input events. For instance, InputDispatcher can send input events to the window management service via a dedicated channel. Upon receiving an input event, the window management service can determine the target window corresponding to the input event, such as a shortcut window, and then report the input event to the target application or target application function in the application layer, such as a shortcut function, so that the shortcut function can respond to the input event.
[0114] The graphics rendering process is used to synthesize graphics display data from multiple sources to obtain the final display interface. For example, suppose the layers to be synthesized in the buffer include the status bar, navigation bar, wallpaper, and launcher icon layers. The drawing of the status bar, navigation bar, wallpaper, and launcher icon layers is performed separately and then cached in the buffer. The graphics rendering process is mainly used to retrieve these multiple layers from the buffer, synthesize them, and then send them for display.
[0115] In this embodiment of the application, the graphics drawing process can be used to draw the display content, which may include, but is not limited to, one or more of the following: a quick access list, a message notification box, an application interface, an application function interface, an application card interface, an application mini-program interface, animation effects, icons of target objects, etc.
[0116] Of course, the framework layer can also be used to provide other management services, such as package management, content service provision, telephony management, resource management, notification management, location management, and a view system. Package management is responsible for managing applications within the system. Content service provision allows an application to access data from another application (such as a contacts database) or share its own data with other applications. Resource management provides access to non-code resources, such as one or more local strings, icons, images, graphics, video files, or layout files. Notification management provides the ability to display custom notifications in the status bar, which can convey informational messages and disappear automatically after a short pause without user interaction. Location management provides services related to handling geographic location. The view system is used to build the application's display interface. The view system includes visual controls such as TextBox controls, List controls, Grid controls, Button controls, and embeddable web browser controls.
[0117] The kernel layer is the layer between hardware and software. The kernel layer can contain display drivers, sensor drivers, microphone drivers, camera drivers, etc.
[0118] In this embodiment, the sensor driver can detect the user's touch operation on the button 250 using sensors (such as touch sensor 240A and / or pressure sensor 240B) located on the button 250 to obtain operation information. Exemplarily, in some embodiments of this application, the touch operation received by the device may include, but is not limited to, two-touch operations, one-touch operations, swipe operations, long-press operations, etc. This embodiment does not impose specific limitations.
[0119] In some embodiments of this application, the sensor driver can collect fingerprints via the fingerprint sensor 240C disposed on the button 250 when the user performs a touch operation on the button 250.
[0120] Hardware includes such as Figure 3 The sensor module, display screen, microphone, camera, etc. are shown.
[0121] Of course, the embodiments of this application do not limit the specific hardware included in the device. For example, the device may also include one or more other hardware such as a communication module. Correspondingly, the kernel layer of the device may also include one or more other drivers.
[0122] It should be noted that, Figure 3This is merely an example of a device's software architecture diagram, simply listing the layers and software modules relevant to the solution in this application. In practical applications, the device's operating system may include other layers, and each layer may include other software modules for implementing one or more functions or services. This application does not specifically limit this aspect. Furthermore, this application does not limit the specific layer where each software module resides.
[0123] As an example, please refer to Figure 4 (a) in the middle Figure 4 (a) shows a flowchart of a quick operation method for a device provided in an embodiment of this application. Figure 4 As shown in (a) of this application, the quick operation method of the device provided in this embodiment can be implemented based on the following S401A-S402A:
[0124] S401A: Electronic device receives user input to buttons.
[0125] As an example, user actions on the buttons may include, but are not limited to, any of the following: double-touch operation, swipe operation, long press operation.
[0126] Among them, a user's double-touch operation on a button is such as a user clicking the button twice consecutively. For example, a user's double-touch operation on a button includes... Figure 5 The user's first touch operation and second touch operation on the button are shown. The time interval between the first touch operation and the second touch operation is small, for example, less than a first preset duration threshold.
[0127] As an example, the value range of the first preset duration threshold can be 300ms-1000ms. For example, the first preset duration threshold can be 500ms. This application embodiment does not limit the value of the first preset duration threshold.
[0128] In this embodiment of the application, one or more sensors are provided on the buttons of the electronic device, including but not limited to touch sensors and / or pressure sensors. The electronic device can detect the user's touch operation, such as the user's double touch operation on the button, through one or more sensors provided on the button.
[0129] As an example, the buttons on an electronic device may include, but are not limited to, one or more of the following: a power button, volume buttons (such as volume up ("+") and volume down ("-"), or physical shortcut keys, etc., without limitation. For example, the electronic device can detect the user's touch operation, such as a double-touch operation of the button, through one or more sensors on the physical shortcut key, and quickly trigger an operation on the electronic device based on the double-touch operation. Alternatively, the electronic device can reuse existing power buttons, volume buttons, etc., and detect the user's touch operation, such as a double-touch operation of the button, through one or more sensors on the button, and quickly trigger an operation on the electronic device based on the double-touch operation. The specific type, structure, and function of the button used to accept the user's double-touch operation are not limited in the embodiments of this application.
[0130] In some embodiments, a user can perform a two-touch operation on a button (such as a power button, volume button, or physical shortcut key) to trigger the electronic device to perform the action corresponding to the two-touch operation.
[0131] In some embodiments, a user can perform a two-touch operation on multiple buttons to trigger the electronic device to perform the corresponding action. For example, a user can simultaneously perform a two-touch operation on the volume down ("-") button and the power button to trigger the electronic device to perform the corresponding action. By performing two-touch operations on multiple buttons, the functionality of button touch control can be further expanded, and the risk of accidental touches can be reduced.
[0132] S402A: In response to a user's operation on a button, the electronic device performs an action corresponding to the operation, which includes at least one of the following: opening an application, opening an application function, opening an application card, opening an application mini-program, or switching a function state.
[0133] As an example, electronic devices maintain a correspondence between different touch operations and operation commands. The electronic device can determine the operation command corresponding to the operation based on the correspondence and execute the corresponding action based on the determined operation command.
[0134] In some embodiments, the correspondence between touch operations and operation commands can be generated based on user-defined shortcut functions, default settings of the electronic device system, or automatic generation by the electronic device according to user habits. For example, the target of the operation command corresponding to a two-touch operation can be determined based on at least one of the following: recently used applications / application functions / application cards / app mini-programs, or the most frequently used applications / application functions / application cards / app mini-programs. The basis and process for obtaining the correspondence between touch operations and operation commands are not limited in the embodiments of this application.
[0135] In some embodiments, the electronic device may also respond to the user's operation of the key and display a list of shortcuts, from which the user can select the application, application function, application card or application applet that they want to open.
[0136] As an example, please refer to Figure 4 (b) Figure 4 (b) shows a flowchart of a quick operation method for another device provided in an embodiment of this application. Figure 4 As shown in (b) of this application, the quick operation method of the device provided in this embodiment can be implemented based on the following S401B-S404B:
[0137] S401B: Electronic device receives user input to buttons.
[0138] For more information on S401B, please refer to the description of S401A above; it will not be repeated here.
[0139] S402B: In response to user button operation, the electronic device displays a list of shortcuts, which includes one or more shortcuts.
[0140] As an example, any shortcut in the shortcut list can be any of the following: a shortcut to the application, a shortcut to an application function, a shortcut to an application card, or a shortcut to an application mini-program. The shortcut list is used to allow users to access the pages of applications, application functions, application cards, or application mini-programs more quickly and conveniently.
[0141] As an example, shortcuts for applications include application icons for launching applications; shortcuts for application functions include function icons for launching application functions; shortcuts for application cards include card icons for launching application cards; shortcuts for application mini-programs include mini-program icons for launching application mini-programs; and application function status toggles include toggles for switching the status of application functions. This application does not specifically limit the types of shortcuts.
[0142] In some embodiments, the shortcuts included in the shortcut list may be determined based on user-defined shortcut functions, default settings of the electronic device system, or automatic determination by the electronic device according to user habits. For example, they may be determined based on at least one of the following: recently used applications / application functions / application cards / app mini-programs, or the user's most frequently used applications / application functions / application cards / app mini-programs. This application does not limit the basis and process for determining the shortcuts included in the shortcut list.
[0143] In some embodiments, the quick access list includes multiple quick access points, which may be arranged according to one or more of the following principles: from most frequent to least frequent use by the user, from most recent to oldest time since the user's last use, according to the user's custom order, according to the default order of the electronic device system, or according to other principles. This application embodiment does not limit the arrangement.
[0144] S403B: In response to the user's first swipe operation on the button, the electronic device opens the first task corresponding to the first shortcut entry.
[0145] In some embodiments, the time interval between the first sliding operation and the second touch operation is small, for example, less than a second preset duration threshold.
[0146] As an example, the value range of the second preset duration threshold can be 0ms-1000ms. For example, the second preset duration threshold can be 500ms. This application embodiment does not limit the value of the second preset duration threshold.
[0147] In some embodiments, the first sliding operation and the second touch operation are continuous operations, such as the first sliding operation being a sliding operation in which the finger does not leave the button after the second touch operation is completed; in other embodiments, the first sliding operation and the second touch operation are discontinuous operations, such as the first sliding operation being a sliding operation performed by touching the button again after the finger leaves the button after the second touch operation is completed.
[0148] As an example, a user's first swipe operation on the button may include, but is not limited to, any of the following operations performed by the user on the button: swiping down, swiping up, swiping left (which can be understood as swiping towards the display screen), or swiping right (which can be understood as swiping towards the back cover of the phone).
[0149] In some embodiments, the shortcut list includes multiple shortcuts, and the first shortcut is the first shortcut in the shortcut list.
[0150] In some embodiments, when the electronic device displays a list of shortcut entries in response to a user's double-touch operation on a button, the electronic device may also open the first task corresponding to the first shortcut entry in response to a long press operation where the user's finger does not leave the button after completing the double-touch operation.
[0151] based on Figure 4 (a) or Figure 4The device shortcut operation method shown in (b) allows users to quickly trigger operations on the electronic device through simpler and more convenient double-touch or double-touch followed by a swipe operation on the buttons. These operations include, but are not limited to, at least one of the following: opening an application, opening an application function, opening an application card, opening an application mini-program, switching function states, etc. This not only solves the problem of cumbersome and time-consuming conventional device operation for users, but also provides a faster and more convenient device operation experience because the double-touch or double-touch followed by a swipe operation is concentrated on the buttons and can be completed with one hand. For example, Figure 4 (a) or Figure 4 Compared to scheme (b) in the middle Figure 1 As shown, the operation path is relatively long and requires both hands to complete, which greatly improves the user experience compared to the inconvenient operation process. Additionally... Figure 4 (a) or Figure 4 Compared to scheme (b) in the middle Figure 1 The process of pulling up the quick access interface by long-pressing, as shown, can also avoid the problem of operation failure due to insufficient long-press time.
[0152] In some embodiments, such as Figure 4 As shown in S404B in (b), the electronic device can also support users to switch quick access points by swiping again.
[0153] S404B: In response to a user's second swipe operation on a button, the electronic device opens the second task corresponding to the second shortcut entry, which is the next shortcut entry after the first shortcut entry in the shortcut entry list.
[0154] As an example, the second sliding operation is a sliding operation performed when the finger leaves the button after the first sliding operation is completed and then touches the button again.
[0155] In some embodiments, the time interval between the second sliding operation and the first sliding operation is small, for example, less than a third preset duration threshold.
[0156] As an example, the value range of the third preset duration threshold can be 0ms-1000ms. For example, the third preset duration threshold can be 500ms. This application embodiment does not limit the value of the third preset duration threshold.
[0157] As an example, a user's second swipe operation on the button may include, but is not limited to, any of the following operations performed by the user on the button: swiping down, swiping up, swiping left, or swiping right.
[0158] In some embodiments, when the electronic device displays a list of shortcut entries in response to a user's double-touch operation on a button, the electronic device may also open a first task corresponding to the first shortcut entry in response to a long-press operation where the user's finger remains on the button after completing the double-touch operation. Furthermore, the electronic device may open a second task corresponding to a second shortcut entry in response to a swipe operation performed by the user after releasing the button from the long-press operation and then touching the button again. The second shortcut entry is the next shortcut entry after the first shortcut entry in the shortcut entry list.
[0159] Thus, based on Figure 4 The device shortcut operation method shown in (b) allows the electronic device to improve user operation efficiency and provide users with a high degree of freedom in quick selection by displaying a list of shortcut entries; and supports users to switch and select target entries through one or more simple and convenient swipe operations, so as to provide a smoother device operation experience.
[0160] The following will use scenarios 1-2 as examples, with the triggering operation being a two-touch operation, to illustrate... Figure 4 The quick operation method of the device shown will be introduced in detail.
[0161] Scenario 1: A scenario where two-touch operation is used to manipulate the target object.
[0162] For example, the scenarios in which two-touch operation targets an object can include, but are not limited to, any of the following: opening an application with two-touch operation, opening an application function with two-touch operation, opening an application card with two-touch operation, opening an application mini-program with two-touch operation, and switching function states with two-touch operation.
[0163] As an example, please refer to Figure 7 , Figure 7 This diagram illustrates a process for opening an application function using a two-touch operation. Figure 7 As shown, in response to a user's double-touch operation 701 on a button, the electronic device can perform the action corresponding to the double-touch operation 701, such as opening the camera and jumping to the shooting page 702.
[0164] In some embodiments, before receiving a user's double-touch operation on a button, the electronic device may receive communication and display a notification bar, such as, but not limited to, a message notification bar, a live notification box, etc. In this case, the target object of the double-touch operation may include at least one of the following corresponding to the notification: application, application function, application card, application applet.
[0165] As an example, please refer to Figure 6 , Figure 6 This diagram illustrates a process of opening an application using a two-touch operation. Figure 6As shown, when an electronic device receives a message from friend A in instant messaging application W, the electronic device can display... Figure 6 The message notification box 601 is shown. In response to the user's double-touch operation 602 on the button, the electronic device can perform the action corresponding to the double-touch operation 602, such as opening the instant messaging application W corresponding to the message notification and jumping to the chat page 603 with friend A.
[0166] Figure 6 Taking the example of opening the application page corresponding to the message notification box by two-touch operation when the electronic device displays the message notification box, in actual applications, the electronic device may also determine the target object corresponding to the two-touch operation based on one or more of the following: user's custom settings, electronic device system default settings, or user usage habits (such as historical usage frequency). This application embodiment does not limit this.
[0167] As an example, please refer to Figure 8A , Figure 8A The diagram illustrates two different two-touch operation methods for opening application cards. For example... Figure 8A As shown in (a), in response to a user's double-touch operation 801 on a button, the electronic device can perform the action corresponding to the double-touch operation 801, such as turning on the recorder and displaying the recording card page 802.
[0168] For example Figure 8A As shown in (b), when the electronic device has a live notification, the electronic device can display a live notification box 803. In response to the user's double-touch operation 804 on the button, the electronic device can perform the action corresponding to the double-touch operation 804, such as opening the live function and displaying the live function card 805. Figure 6 and Figure 8A Taking a two-touch operation as an example, in some embodiments, when an electronic device displays a message notification box or a live notification box, the user can also open the application corresponding to the notification or open the live function through other forms of operation such as sliding operation, long press operation, etc. Sliding operation, such as sliding down operation, sliding up operation, sliding left operation, sliding right operation, etc., is not limited.
[0169] The Live notification box 803 can also be called a Live capsule, Live notification, etc. Its location can be as follows: Figure 8A As shown, it can also be located in the top status bar, or in other parts of the screen, and can be fixed or movable. The size of the Live notification box 803 is usually smaller than the Live feature card 805.
[0170] For example, such as Figure 8BAs shown, when an electronic device receives a live notification, the electronic device can display a live notification box 803. In response to the user's swipe-down operation 806 on the button, the electronic device can perform the action corresponding to the swipe-down operation 806, such as opening the live function corresponding to the live notification and displaying the live function card 805.
[0171] As an example, please refer to Figure 9 , Figure 9 This diagram illustrates a process of opening an application mini-program using a two-touch operation. Figure 9 As shown, in response to a user's double-touch operation 901 on a button, the electronic device can perform the action corresponding to the double-touch operation 901, such as opening a transportation payment mini-program and displaying a payment QR code page 902.
[0172] As an example, please refer to Figure 10 , Figure 10 A schematic diagram illustrating a two-touch operation for switching function states is shown. Figure 10 As shown, in response to a user's double-touch operation 1001 on a button, the electronic device can execute the action corresponding to the double-touch operation 1001, such as opening a background sound mode function task and switching the sound mode from silent mode to ring mode. In some embodiments, such as Figure 10 As shown, the electronic device can also display the switched sound mode icon 1002 in the display area near the button.
[0173] Scenario 2: Opening the shortcut list with a two-touch operation
[0174] The quick access list includes one or more quick access points.
[0175] As an example, any shortcut in the shortcut list can be any of the following: a shortcut to the application, a shortcut to an application function, a shortcut to an application card, or a shortcut to an application mini-program. The shortcut list is used to allow users to access the pages of applications, application functions, application cards, or application mini-programs more quickly and conveniently.
[0176] As an example, please refer to Figure 11 , Figure 11 This diagram illustrates a process of opening a shortcut list and then opening a target object through that list. Figure 11 As shown, in response to a user's double-touch operation 1101 on a button, the electronic device can perform the action corresponding to the double-touch operation 1101, such as displaying a shortcut entry list 1102. The shortcut entry list 1102 includes entry points for multiple target objects, which may include, but are not limited to, one or more of the following: applications, application functions, application cards, and application mini-programs.
[0177] In some embodiments, such as Figure 11 As shown, when the electronic device displays the shortcut list 1102, in response to the user's swipe-down operation 1103 on the button, the electronic device opens the first target object in the shortcut list 1102, such as opening the camera, and displays the shooting page 1104. In some other embodiments, when the electronic device displays the shortcut list 1102, the first target object is opened by default without further user operation; if the user's swipe-down operation on the button is detected, the device switches to the second target object, such as a video application, and opens the second target object. In this implementation, the target object can be opened some time after no user operation is detected.
[0178] In some embodiments, such as Figure 12A As shown, when the electronic device displays the shortcut entry list 1102 in response to the user's double-touch operation on the button 1101, in response to the user's two consecutive swipe-down operation on the button 1105, the electronic device opens the second target object in the shortcut entry list 1102, such as opening a video application, and displays the video page 1106.
[0179] Figure 11 and Figure 12A This only shows one display format for the shortcut list. In actual applications, the shortcut list may also be displayed in other formats, such as, but not limited to, others. Figure 12B The presentation shown is not limited to any particular form in this application.
[0180] like Figures 6-12A As the example shown illustrates, electronic devices can support users in quickly triggering operations on target objects (such as applications, application functions, application cards, application applets, or function statuses) on the electronic device through simpler and more convenient double-touch operations on buttons or double-touch followed by a swipe. Compared to... Figure 1 As shown, the operation path is relatively long and requires the use of both hands to complete. This inconvenient operation process can be completed with one hand, and it also avoids the problem of operation failure due to insufficient long press time. Therefore, the user experience is greatly improved.
[0181] In some embodiments, the electronic device may also display corresponding display animations following the user's touch operation on the button, such as the bouncing effect of operation indicators like light bars, to provide the user with a more immersive touch operation experience.
[0182] As an example, please refer to Figure 13 (a) in the middle Figure 13 (a) shows a flowchart of a quick operation method for another device provided in an embodiment of this application. Figure 13As shown in (a) above, taking a two-touch triggering operation as an example, the quick operation method of the device provided in this application embodiment can be implemented based on the following S1301A-S1303A:
[0183] S1301A: Upon the user's first touch operation of the button, the electronic device presents a first dynamic effect, which includes: the operation indicator object is translated from a first position on the display screen to a second position on the display screen and then moves back to the first position.
[0184] As an example, the distance between the first position and the button is greater than the distance between the second position and the button, and the distance between the first position and the second position is less than a first distance threshold.
[0185] As an example, the distance between the first position and the button is less than the second distance threshold.
[0186] As an example, the operation indicator object includes a light bar.
[0187] For example, please refer to Figure 14A , Figure 14A A schematic diagram of a first motion effect process provided in an embodiment of this application is shown. Figure 14A As shown, with the user's first touch of the button, the electronic device displays a dynamic effect of a light bar moving from a first position 1401 to a second position 1402 on the display screen and then back to the first position 1401. For example, the first touch operation includes the process of the user touching the button (down) and the process of the user removing the button (up); during the process of the user touching the button (down), the electronic device displays a dynamic effect of a light bar moving from the first position 1401 to the second position 1402 on the display screen; during the process of the user removing the button (up), the electronic device displays a dynamic effect of the light bar moving from the second position 1402 back to the first position 1401. In this way, by displaying the effect of the light bar bouncing during a double-touch operation, a more immersive and responsive operating experience can be provided to the user.
[0188] As an example, the range of the first distance threshold can be 2 millimeters (mm) to 5 millimeters (mm). For example, the first distance threshold can be 3ms. The embodiments of this application do not limit the value of the first distance threshold.
[0189] As an example, the range of the second distance threshold can be 0 mm to 4 mm. For example, the second distance threshold can be 2 ms. The embodiments of this application do not limit the value of the second distance threshold.
[0190] S1302A: The electronic device presents a second dynamic effect upon the user's second touch operation of the button.
[0191] The time interval between the first touch operation and the second touch operation is relatively small, for example, less than the first preset duration threshold.
[0192] For information on the second touch operation of the button, please refer to the explanation of the first touch operation above.
[0193] In some embodiments, the second motion effect is the same as the first motion effect. For example, the electronic device may display the first motion effect again when the user makes a second touch operation on the button. For a related description of the electronic device displaying the first motion effect, please refer to the description of S1301A above, which will not be repeated here.
[0194] In some embodiments, the second motion effect differs from the first motion effect. For example, compared to the first motion effect, the operation indicator object in the second motion effect that moves from a first position on the display screen to a second position on the display screen and then back to the first position may have one or more of the following differences: different thickness, different color, different shape, and / or, the second motion effect may include the operation indicator object (such as a light bar) moving from a third position on the display screen to a fourth position on the display screen and then back to the third position (wherein, the third position is different from the first position and / or the fourth position is different from the second position); or, the second motion effect may include other types of motion effects, without specific limitation.
[0195] S1303A: In response to the first touch operation and the second touch operation, the electronic device performs the action corresponding to the dual touch operation, which includes at least one of the following: opening an application, opening an application function, opening an application card, opening an application mini-program, and switching function states.
[0196] For more information about S1303A, please refer to the description of S402A above; it will not be repeated here.
[0197] As an example, please refer to Figure 13 (b) Figure 13 (b) shows a flowchart of a quick operation method for another device provided in an embodiment of this application. Figure 13 As shown in (b) above, taking a two-touch triggering operation as an example, the quick operation method of the device provided in this application embodiment can be implemented based on the following S1301B-S1304B:
[0198] S1301B: Upon the user's first touch operation of the button, the electronic device presents a first dynamic effect, which includes: the operation indicator object is translated from a first position on the display screen to a second position on the display screen and then moves back to the first position.
[0199] For more information on S1301B, please refer to the description of S1301A above; it will not be repeated here.
[0200] S1302B: The electronic device presents a second motion effect upon the user's second touch operation of the button.
[0201] For more information on S1302B, please refer to the description of S1302A above; it will not be repeated here.
[0202] S1303B: In response to a first touch operation and a second touch operation, the electronic device displays a list of shortcut entries, which includes one or more shortcut entries.
[0203] For more information on S1303B, please refer to the description of S402B above; it will not be repeated here.
[0204] S1304B: In response to the user's first swipe operation on the button, the electronic device opens the first task corresponding to the first shortcut entry.
[0205] For more information on S1304B, please refer to the description of S403B above; it will not be repeated here.
[0206] In some embodiments, such as Figure 13 As shown in S1305B in (b) of the above, it may also include:
[0207] S1305B: In response to a user's second swipe operation on a button, the electronic device opens the second task corresponding to the second shortcut entry, which is the next shortcut entry after the first shortcut entry in the shortcut entry list.
[0208] For more information on S1305B, please refer to the description of S404B above; it will not be repeated here.
[0209] As an example, the operation indicator object includes a light bar.
[0210] As an example, such as Figure 14B As shown, with the user's first touch operation 1401B on the button, the electronic device displays a first motion effect where a light bar moves from a first position on the display screen to a second position and then back to the first position; then, with the user's second touch operation 1402B on the button, the electronic device displays a second motion effect where a light bar moves from a first position on the display screen to a second position and then back to the first position; when the second touch operation 1402B is completed, the electronic device performs the action corresponding to the double touch operation, such as opening the instant messaging application W and jumping to the chat page with friend A 1403B.
[0211] As an example, such as Figure 14CAs shown, with the user's first touch operation 1401C on the button, the electronic device displays a first motion effect where the light bar moves from a first position on the display screen to a second position and then back to the first position; then, with the user's second touch operation 1402C on the button, the electronic device displays a second motion effect where the light bar moves from a first position on the display screen to a second position and then back to the first position; when the second touch operation 1402C is completed, the electronic device performs the action corresponding to the double touch operation, such as opening the camera and jumping to the shooting page 1403C.
[0212] As an example, such as Figure 14D As shown, with the user's first touch operation 1401D on the button, the electronic device displays a first motion effect where the light bar moves from a first position on the display screen to a second position and then back to the first position; then, with the user's second touch operation 1402D on the button, the electronic device displays a second motion effect where the light bar moves from a first position on the display screen to a second position and then back to the first position; when the second touch operation 1402D is completed, the electronic device performs the action corresponding to the double touch operation, such as turning on the recorder and displaying the recording card page 1403D.
[0213] As an example, such as Figure 14E As shown, with the user's first touch operation 1401E on the button, the electronic device displays a first motion effect where the light bar moves from a first position on the display screen to a second position and then back to the first position; then, with the user's second touch operation 1402E on the button, the electronic device displays a second motion effect where the light bar moves from a first position on the display screen to a second position and then back to the first position; when the second touch operation 1402E is completed, the electronic device performs the action corresponding to the double touch operation, such as opening the transportation payment mini-program and displaying the payment QR code page 1403E.
[0214] As an example, such as Figure 14F As shown, with the user's first touch operation 1401F on the button, the electronic device displays a first motion effect where the light bar moves from a first position on the display screen to a second position and then back to the first position; then, with the user's second touch operation 1402F on the button, the electronic device displays a second motion effect where the light bar moves from a first position on the display screen to a second position and then back to the first position; when the second touch operation 1402F is completed, the electronic device performs the action corresponding to the double touch operation, such as opening the sound mode function task in the background and switching the sound mode from silent mode to ring mode, and displaying the switched sound mode indicator 1403F.
[0215] As an example, such as Figure 14GAs shown, with the user's first touch operation 1401G on the button, the electronic device displays a first motion effect where the light bar moves from a first position on the display screen to a second position and then back to the first position; then, with the user's second touch operation 1402G on the button, the electronic device displays a second motion effect where the light bar moves from a first position on the display screen to a second position and then back to the first position; when the second touch operation 1402G is completed, the electronic device performs the action corresponding to the double touch operation, such as displaying the shortcut entry list 1403G.
[0216] from Figures 14B-14G It can be seen that, based on Figure 13 (a) or Figure 13 The device shortcut operation method shown in (b) not only allows users to quickly trigger operations on target objects (such as applications, application functions, application cards, application applets, or function statuses) on the electronic device through simpler and more convenient double-touch operations on buttons or double-touch and then swipe operations, providing users with a faster and more convenient device operation experience, but also displays corresponding bouncing effects following the user's touch operation on the buttons, providing users with a more immersive touch operation experience.
[0217] In some embodiments, the electronic device may also display an icon of the target object after the user completes the first touch operation, in order to improve the user's awareness of the two-touch operation, remind the user of the target object corresponding to the two-touch operation, and guide the user to continue to perform the next touch operation, thereby improving the fault tolerance of the two-touch operation and solving the problem of possible user misoperation.
[0218] As an example, please refer to Figure 15 (a) in the middle Figure 15 (a) shows a flowchart of a quick operation method for another device provided in an embodiment of this application. Figure 15 As shown in (a) above, taking a two-touch triggering operation as an example, the quick operation method of the device provided in this application embodiment can be implemented based on the following S1501A-S1502A:
[0219] S1501A: Upon receiving the user's first touch operation on the button, the electronic device displays an icon of the target object.
[0220] The target object may include, but is not limited to, any of the following: application, application function, application card or application mini-program.
[0221] As an example, upon receiving a user's first touch on a button, the electronic device can display an icon of the target object, such as an application icon, an application function icon, an application card icon, or an application applet icon, in the display area near the button. The display area near the button includes the area within a third distance threshold (e.g., 2mm-6mm).
[0222] S1502A: When the electronic device receives a second touch operation from the user on the button, it opens the target object corresponding to the two-touch operation and displays the target object page.
[0223] As an example, such as Figure 16 As shown, when an electronic device receives a message from friend A in instant messaging application W, the electronic device can display... Figure 16 The message notification box 1601 is shown. In response to the user's first touch operation on the button 1602, the electronic device can display the icon of the instant messaging application W corresponding to the double touch operation 1603; in response to the user's second touch operation on the button 1604, the electronic device can perform the action corresponding to the double touch operation, such as opening the instant messaging application W and jumping to the chat page with friend A 1605.
[0224] As an example, such as Figure 17 As shown, in response to the user's first touch operation 1701 on the button, the electronic device can display the camera icon 1702 corresponding to the double touch operation; in response to the user's second touch operation 1703 on the button, the electronic device can perform the action corresponding to the double touch operation, such as opening the camera and jumping to the shooting page 1704.
[0225] As an example, such as Figure 18 As shown, in response to the user's first touch operation 1801 on the button, the electronic device can display the recorder icon 1802 corresponding to the double touch operation; in response to the user's second touch operation 1803 on the button, the electronic device can perform the action corresponding to the double touch operation, such as turning on the recorder and displaying the recording card page 1804.
[0226] As an example, such as Figure 19 As shown, in response to the user's first touch operation 1901 on the button, the electronic device can display the icon 1902 of the transportation payment mini-program corresponding to the double touch operation; in response to the user's second touch operation 1903 on the button, the electronic device can perform the action corresponding to the double touch operation, such as opening the transportation payment mini-program and displaying the payment QR code page 1904.
[0227] As another example, please refer to Figure 15 (b) Figure 15 (b) shows a flowchart of a quick operation method for another device provided in an embodiment of this application. Figure 15As shown in (b) above, taking a two-touch operation as an example, the quick operation method of the device provided in this application embodiment can be implemented based on the following S1501B-S1502B:
[0228] S1501B: When the electronic device receives the user's first touch operation on the button, the electronic device displays first information, which represents the first functional state of the application function corresponding to the double-touch operation.
[0229] The application function corresponding to the dual-touch operation can be any application function in the electronic device, such as, but not limited to, sound mode function, display mode function, battery working mode function, etc., without limitation.
[0230] Taking the sound mode function corresponding to dual-touch operation as an example, the first function state can include, but is not limited to, silent mode, vibration mode, ringing mode, etc.
[0231] S1502B: When the electronic device receives a second touch operation from the user on the button, it switches the first function state to the second function state and displays second information, which represents the second function state of the application function corresponding to the double touch operation.
[0232] The second functional state is different from the first functional state.
[0233] Taking the application function corresponding to dual-touch operation as the sound mode function, the first function state is silent mode, and the second function state can include, but is not limited to, vibration mode, ringing mode, etc.
[0234] As an example, such as Figure 20 As shown, in response to the user's first touch operation 2001 on the button, the electronic device can display the current sound mode identifier 2002 of the sound mode function corresponding to the two-touch operation; in response to the user's second touch operation 2003 on the button, the electronic device can perform the action corresponding to the two-touch operation, such as opening the sound mode function task in the background and switching the sound mode from silent mode to ring mode, and displaying the switched sound mode identifier 2004.
[0235] from Figures 16-20 It can be seen that, based on Figure 15 (a) or Figure 15The device shortcut operation method shown in (b) not only allows users to quickly trigger operations on target objects (such as applications, application functions, application cards, application applets, or function statuses) on the electronic device through simpler and more convenient double-touch operations on buttons or double-touch and then swipe operations, providing users with a faster and more convenient device operation experience, but also improves users' awareness of double-touch operations by displaying the icon of the target object, reminding users of the target object corresponding to the double-touch operation, and guiding users to continue to perform the next touch operation, thereby improving the fault tolerance of double-touch operations and solving the problem of possible user misoperation.
[0236] In some embodiments, the electronic device can also display corresponding display animations following the user's touch operation on the button, such as the bouncing effect of the operation indicator object, such as the display of a light bar, to provide the user with a more immersive touch operation experience. After the user completes the first touch operation, the icon of the target object is displayed to improve the user's awareness of the two-touch operation, remind the user of the target object corresponding to the two-touch operation, and guide the user to continue to perform the next touch operation, thereby improving the fault tolerance of the two-touch operation and solving the problem of possible user misoperation.
[0237] As an example, please refer to Figure 21 (a) in the middle Figure 21 (a) shows a flowchart of a quick operation method for another device provided in an embodiment of this application. Figure 21 As shown in (a), taking a two-touch triggering operation as an example, the quick operation method of the device provided in this application embodiment can be implemented based on the following S2101A-S2104A:
[0238] S2101A: Upon the user's first touch operation of the button, the electronic device presents a first dynamic effect, which includes: the operation indicator object is translated from a first position on the display screen to a second position on the display screen and then moves back to the first position.
[0239] S2102A: When the first touch operation is completed, the electronic device displays an icon of the target object.
[0240] For example, upon completion of the first touch operation, such as when the user lifts their hand after completing the first touch operation, the electronic device no longer displays the operation indicator. Taking the operation indicator as an example, the light bar may leave when it bounces back to the first position; or the light bar may leave after a preset time (such as 350ms) after the first touch operation is completed, without limitation.
[0241] In some embodiments, upon completion of the first touch operation, such as after the user lifts their hand after completing the first touch operation, the electronic device may also display first guidance content to guide the user to perform certain operations. Exemplarily, the guidance content may include, but is not limited to, one or more of the following: pause of the operation indicator object (such as a light bar), change of the color of the operation indicator object, change of the shape of the operation indicator object, flashing of the operation indicator object, etc., without specific limitations.
[0242] S2103A: The electronic device presents a second dynamic effect upon the user's second touch operation of the button.
[0243] S2104A: When the second touch operation is completed, the electronic device opens the target object corresponding to the two-touch operation and displays the target object page.
[0244] For example, when the second touch operation is completed, such as when the user lifts their hand after completing the second touch operation, the electronic device opens the target object corresponding to the two touch operations and displays the target object page.
[0245] For information on S2101A and S2103A, please refer to the descriptions of S1301A and S1302A above; for information on S2102A and S2104A, please refer to the descriptions of S1501A and S1502A above, and will not be repeated here.
[0246] As an example, the operation indicator object includes a light bar.
[0247] As an example, such as Figure 22 As shown, when an electronic device receives a message from friend A in instant messaging application W, the electronic device can display... Figure 22 The message notification box 2201 is shown. Upon the user's first touch operation 2202 on the button, the electronic device displays a light bar that moves from a first position on the display screen to a second position and then back to the first position. When the first touch operation 2202 is completed, the electronic device stops displaying the light bar and displays the icon 2203 of the instant messaging application W corresponding to the two-touch operation. Then, upon the user's second touch operation 2204 on the button, the electronic device displays a second light bar that moves from a first position on the display screen to a second position and then back to the first position. When the second touch operation 2204 is completed, the electronic device performs the action corresponding to the two-touch operation, such as opening the instant messaging application W and jumping to the chat page with friend A 2205.
[0248] As an example, such as Figure 23As shown, with the user's first touch operation 2301 on the button, the electronic device displays a first motion effect where a light bar moves from a first position on the display screen to a second position and then back to the first position; when the first touch operation 2301 is completed, the electronic device no longer displays the light bar, but displays the camera icon 2302 corresponding to the double touch operation; then, with the user's second touch operation 2303 on the button, the electronic device displays a second motion effect where the light bar moves from a first position on the display screen to a second position and then back to the first position; when the second touch operation 2303 is completed, the electronic device performs the action corresponding to the double touch operation, such as opening the camera and jumping to the shooting page 2304.
[0249] As an example, such as Figure 24A As shown, with the user's first touch operation 2401 on the button, the electronic device displays a light bar that moves from a first position on the display screen to a second position and then back to the first position. When the first touch operation 2401 is completed, the electronic device no longer displays the light bar and displays the recorder icon 2402 corresponding to the double touch operation. Then, with the user's second touch operation 2403 on the button, the electronic device displays a second light bar that moves from a first position on the display screen to a second position and then back to the first position. When the second touch operation 2403 is completed, the electronic device can perform the action corresponding to the double touch operation, such as turning on the recorder and displaying the recording card page 2404.
[0250] As an example, such as Figure 24B As shown, when the electronic device receives a live notification, it displays a live notification box 2405. Accompanied by the user's first touch operation 2401 on the button, the electronic device displays a first animation effect where a light bar moves from a first position on the display screen to a second position and then back to the first position. When the first touch operation 2401 is completed, the electronic device no longer displays the light bar. Then, accompanied by the user's second touch operation 2403 on the button, the electronic device displays a second animation effect where the light bar moves from the first position on the display screen to a second position and then back to the first position. When the second touch operation 2403 is completed, the electronic device can perform the action corresponding to the two-touch operation, such as opening the live function and displaying the live function card 2406.
[0251] As an example, such as Figure 25As shown, with the user's first touch operation 2501 on the button, the electronic device displays a light bar that moves from a first position on the display screen to a second position and then back to the first position. When the first touch operation 2501 is completed, the electronic device no longer displays the light bar and displays the icon 2502 of the transportation payment mini-program corresponding to the double touch operation. Then, with the user's second touch operation 2503 on the button, the electronic device displays a second light bar that moves from a first position on the display screen to a second position and then back to the first position. When the second touch operation 2503 is completed, the electronic device can perform the action corresponding to the double touch operation, such as opening the transportation payment mini-program and displaying the payment QR code page 2504.
[0252] As an example, please refer to Figure 21 (b) Figure 21 (b) shows a flowchart of a quick operation method for another device provided in an embodiment of this application. Figure 21 As shown in (b) above, taking a two-touch triggering operation as an example, the quick operation method of the device provided in this application embodiment can be implemented based on the following S2101B-S2104B:
[0253] S2101B: Upon the user's first touch operation of the button, the electronic device presents a first dynamic effect, which includes: the operation indicator object is translated from a first position on the display screen to a second position on the display screen and then moves back to the first position.
[0254] S2102B: When the first touch operation is completed, the electronic device displays first information, which represents the first functional state of the application function corresponding to the two-touch operation.
[0255] S2103B: The electronic device presents a second motion effect upon the user's second touch operation of the button.
[0256] S2104B: When the second touch operation is completed, the electronic device switches the first function state to the second function state and displays second information, which represents the second function state of the application function corresponding to the two-touch operation.
[0257] For details regarding S2101B and S2103B, please refer to the explanations of S1301B and S1302B above; for details regarding S2102B and S2104B, please refer to the explanations of S1501B and S1502B above, which will not be repeated here.
[0258] As an example, the operation indicator object includes a light bar.
[0259] As an example, such as Figure 26AAs shown, with the user's first touch operation 2601 on the button, the electronic device displays a light bar that moves from a first position on the display screen to a second position and then back to the first position. When the first touch operation 2601 is completed, the electronic device no longer displays the light bar, but displays the current sound mode indicator 2602 corresponding to the sound mode function of the two-touch operation. Then, with the user's second touch operation 2603 on the button, the electronic device displays a second light bar that moves from a first position on the display screen to a second position and then back to the first position. When the second touch operation 2603 is completed, the electronic device can perform the action corresponding to the two-touch operation, such as opening the sound mode function task in the background and switching the sound mode from silent mode to ring mode, and displaying the switched sound mode indicator 2604.
[0260] In some embodiments, if the two-touch operation is a rapid two-touch operation, such as a short time interval between the first and second touch operations, for example less than a fourth preset duration threshold, the electronic device may also not display the first motion effect of the light bar translating from a first position on the display screen to a second position on the display screen and then returning to the first position during the user's first touch operation. The fourth preset duration threshold is less than a second preset duration threshold.
[0261] As an example, such as Figure 26B As shown, with the user's first touch operation 2601 on the button, the electronic device displays a light bar that moves from a first position on the display screen to a second position and then back to the first position. Upon completion of the first touch operation 2601, the electronic device stops displaying the light bar and instead displays the current sound mode indicator 2602 for the sound mode function corresponding to the two-touch operation. Then, with the user's second touch operation 2603 on the button, the electronic device performs the action corresponding to the two-touch operation, such as opening the sound mode function task in the background and switching the sound mode from silent mode to ring mode, and displays the switched sound mode indicator 2604. The time interval between the second touch operation 2603 and the first touch operation 2601 is relatively short, for example, less than a fourth preset duration threshold.
[0262] Figure 26A and Figure 26B The example of switching the sound mode from silent mode to ringing mode in response to a two-touch operation is just one example. In actual applications, the sound mode can also be switched from silent mode to vibration mode in response to a two-touch operation, without any specific limitation.
[0263] from Figures 22-26B It can be seen that, based on Figure 21 (a) or Figure 21The device shortcut operation method shown in (b) not only allows users to quickly trigger operations on target objects (such as applications, application functions, application cards, application applets, or function statuses) on the electronic device through simpler and more convenient double-touch operations on buttons or double-touch followed by swiping, providing users with a faster and more convenient device operation experience, but also displays corresponding bouncing effects following the user's touch operation on the buttons, providing users with a more immersive touch operation experience, and improves users' awareness of double-touch operations by displaying the icon of the target object, reminding users of the target object corresponding to the double-touch operation, and guiding users to continue to perform the next touch operation, improving the fault tolerance of double-touch operations and solving the problem of possible user misoperation.
[0264] As an example, in the above embodiments, the first touch operation is a short touch operation, such as an operation where the contact duration with the button is less than a first duration. In some embodiments, the first touch operation may also be a long touch operation, such as an operation where the contact duration with the button is greater than a second duration, where the second duration is greater than or equal to the first duration. In some examples, for the case where the first touch operation is a long touch operation, the light bar can also leave the field at a second position when the user lifts their hand after completing the first touch operation, without limitation.
[0265] In some embodiments, if the first touch operation is a long touch operation, a second guide content is displayed before the user lifts their hand after completing the first touch operation, in order to guide the user to perform certain operations, including but not limited to swiping down, swiping up, swiping left, swiping right, etc.
[0266] The shapes and animations of the light stripes in the above embodiments are merely illustrative examples, and the embodiments of this application do not limit them.
[0267] It should be understood that the various solutions in the embodiments of this application can be used in a reasonable combination, and the explanations or descriptions of the various terms appearing in the embodiments can be referenced or explained to each other in the various embodiments, without limitation.
[0268] It should also be understood that, in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0269] It is understood that, in order to achieve the functions of any of the above embodiments, the electronic device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0270] This application embodiment can divide electronic devices into functional modules. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0271] It should also be understood that the various modules in an electronic device can be implemented in software and / or hardware, without specific limitations. In other words, an electronic device is presented in the form of functional modules. Here, "module" can refer to application-specific integrated circuits (ASICs), circuits, processors and memories that execute one or more software or firmware programs, integrated logic circuits, and / or other devices that can provide the above functions.
[0272] In one alternative approach, when data transmission is implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are implemented. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital video disk (DVD)), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0273] The steps of the methods or algorithms described in the embodiments of this application can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, portable hard disks, compact disc read-only memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and storage medium can reside in an application-specific integrated circuit (ASIC). Alternatively, the ASIC can reside in an electronic device. Of course, the processor and storage medium can also exist as discrete components.
[0274] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
Claims
1. A quick operation method for a device, characterized in that, Applied to an electronic device including buttons, the method includes: Receive the user's first touch operation on the button; Accompanying the first touch operation is a first animation effect, the first animation effect includes: the operation indication object is translated from a first position on the display screen of the electronic device to a second position on the display screen and then moves back to the first position; Receives a second touch operation from the user on the button; The second touch operation is accompanied by a second animation effect, which may be the same as or different from the first animation effect; In response to the first touch operation and the second touch operation, the action corresponding to the two-touch operation is executed. The action corresponding to the two-touch operation includes at least one of the following: opening an application, opening an application function, opening an application card, opening an application mini-program, switching function status, and displaying a shortcut entry list, wherein the shortcut entry list includes multiple shortcut entries.
2. The method according to claim 1, characterized in that, The action corresponding to the two-touch operation is to display a list of shortcut entries, and the method further includes: In response to the user's first swipe operation on the button, the first task corresponding to the first shortcut entry in the shortcut entry list is opened.
3. The method according to claim 2, characterized in that, The first sliding operation is a sliding operation in which the finger does not leave the button after the second touch operation is completed; or, The first sliding operation is a sliding operation performed after the finger leaves the button and then touches the button again after the second touch operation is completed.
4. The method according to claim 1, characterized in that, The action corresponding to the two-touch operation is to display a list of shortcut entries, and the method further includes: In response to a user's long press operation where the finger does not leave the button after completing the second touch operation, the first task corresponding to the first shortcut entry in the shortcut entry list is opened.
5. The method according to any one of claims 2-4, characterized in that, The action corresponding to the two-touch operation is to display a list of shortcut entries, and the method further includes: In response to a user's second swipe operation on the button, the second task corresponding to the second shortcut entry is opened. The second shortcut entry is the next shortcut entry after the first shortcut entry in the shortcut entry list.
6. The method according to any one of claims 1-4, characterized in that, The action corresponding to the two-touch operation includes opening a target object, which includes at least one of the following: an application, an application function, an application card, or an application mini-program. The method further includes: After the user lifts their hand after completing the first touch operation, the icon of the target object is displayed.
7. The method according to any one of claims 1-4, characterized in that, Before receiving the user's first touch operation on the button, the electronic device displays a notification bar. The action corresponding to the double touch operation includes opening at least one of the following notifications in the notification bar: application, application function, application card, and application mini-program.
8. The method according to claim 7, characterized in that, The notification bar includes: a message notification bar or a live notification box.
9. The method according to any one of claims 1-4, characterized in that, The action corresponding to the dual-touch operation is to switch the function state of an application. The method further includes: After the user raises their hand to complete the first touch operation, the first functional status of the application function is displayed; The actions corresponding to the two-touch operation include: After the user completes the second touch operation and raises their hand, the first function state is switched to the second function state.
10. The method according to any one of claims 1-4 and 8, characterized in that, The buttons include: power button, volume buttons, or physical shortcut keys.
11. The method according to any one of claims 1-4 and 8, characterized in that, The time interval between the first touch operation and the second touch operation is less than a first preset duration threshold.
12. A quick operation method for a device, characterized in that, Applied to an electronic device including buttons, the method includes: The system receives user input to the button, including any of the following: double-touch operation, swipe operation, or long-press operation. In response to the operation, the corresponding action is executed, and the corresponding action includes at least one of the following: opening an application, opening an application function, opening an application card, opening an application mini-program, switching function status, and displaying a shortcut entry list, wherein the shortcut entry list includes one or more shortcut entries.
13. The method according to claim 12, characterized in that, The operation is a two-touch operation, which includes a first touch operation and a second touch operation. The method further includes: Accompanying the first touch operation is a first animation effect, the first animation effect includes: the operation indication object is translated from a first position on the display screen of the electronic device to a second position on the display screen and then moves back to the first position; The second touch operation is accompanied by a second animation effect.
14. The method according to claim 13, characterized in that, The action corresponding to the two-touch operation is to display a list of shortcut entries, and the method further includes: In response to the user's first swipe operation on the button, the first task corresponding to the first shortcut entry in the shortcut entry list is opened.
15. The method according to claim 14, characterized in that, The first sliding operation is a sliding operation in which the finger does not leave the button after the second touch operation is completed; or, The first sliding operation is a sliding operation performed after the finger leaves the button and then touches the button again after the second touch operation is completed.
16. The method according to claim 13, characterized in that, The action corresponding to the two-touch operation is to display a list of shortcut entries, and the method further includes: In response to a user's long press operation where the finger does not leave the button after completing the second touch operation, the first task corresponding to the first shortcut entry in the shortcut entry list is opened.
17. The method according to any one of claims 14-16, characterized in that, The action corresponding to the two-touch operation is to display a list of shortcut entries, and the method further includes: In response to a user's second swipe operation on the button, the second task corresponding to the second shortcut entry is opened. The second shortcut entry is the next shortcut entry after the first shortcut entry in the shortcut entry list.
18. The method according to any one of claims 13-16, characterized in that, The action corresponding to the dual-touch operation includes opening a target object, which includes at least one of the following: application function, application card, or application mini-program; the method further includes: After the user lifts their hand after completing the first touch operation, the icon of the target object is displayed.
19. The method according to any one of claims 12-16, characterized in that, Before receiving user input to the button, the electronic device displays a notification bar. The action corresponding to the input includes opening at least one of the following in the notification bar: application, application function, application card, or application mini-program.
20. The method according to claim 19, characterized in that, The notification bar includes: a message notification bar or a live notification box.
21. The method according to any one of claims 13-16 and 20, characterized in that, The action corresponding to the dual-touch operation is to switch the function state of an application. The method further includes: After the user raises their hand to complete the first touch operation, the first functional status of the application function is displayed; The actions corresponding to the execution operation include: After the user completes the second touch operation and raises their hand, the first function state is switched to the second function state.
22. The method according to any one of claims 12-16, 20, characterized in that, The buttons include: power button, volume buttons, or physical shortcut keys.
23. The method according to any one of claims 12-16, 20, characterized in that, The time interval between the first touch operation and the second touch operation is less than a first preset duration threshold.
24. An electronic device, characterized in that, The electronic device includes: Touch sensor, used to receive user touch operations; Memory, used to store one or more programs; A processor for executing the one or more programs, causing the electronic device to implement the method as described in any one of claims 1-11 or 12-23.
25. A readable storage medium, characterized in that, The readable storage medium stores program instructions that, when executed by an electronic device, implement the method as described in any one of claims 1-11 or 12-23.
26. A program product containing instructions, characterized in that, When the program product is run on the device, it causes the electronic device to perform the method as described in any one of claims 1-11 or 12-23.
Citation Information
Patent Citations
Application starting method and mobile terminal
CN105159531A
Method and device for enabling shortcut function, mobile terminal and storage medium
CN107613118A