Shortcut operation method for device, and electronic device and readable storage medium

By employing dual-touch operation or dual-touch followed by swipe operation on electronic devices, combined with display animations, the problem of cumbersome and time-consuming operation of electronic devices is solved, achieving a fast and convenient operating experience and one-handed operation capability.

WO2026056727A1PCT designated stage Publication Date: 2026-03-19HUAWEI TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-09-03
Publication Date
2026-03-19

AI Technical Summary

Technical Problem

The operation of existing electronic devices is cumbersome and time-consuming, which affects the user experience.

Method used

By enabling two-touch operation of buttons or two-touch followed by swipe operation on electronic devices, combined with display animations, operations such as application and function state switching can be quickly triggered.

Benefits of technology

It provides a faster and more convenient device operation experience, supports one-handed operation, and improves user understanding and error tolerance through display animations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025118599_19032026_PF_FP_ABST
    Figure CN2025118599_19032026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of terminals. Disclosed are a shortcut operation method for a device, and an electronic device and a readable storage medium, which can solve the problems of cumbersome operations and excessive time consumption during device operations. In the present application, an electronic device can support a user to quickly trigger an operation for the electronic device by means of a simpler and more convenient double-tap operation or a double-tap and swipe operation on a key, wherein the operation includes, but is not limited to, at least one of the following operations: opening an application program, enabling an application function, opening an application card, opening an application applet, switching a function state, etc. In this way, since touch-control operations on a key are all confined to the key, and the touch-control operations can be completed by means of a single hand, a faster and more convenient device operation experience can be provided for the user.
Need to check novelty before this filing date? Find Prior Art

Description

Quick operation method of device, electronic device and readable storage medium

[0001] The present application claims priority to the Chinese patent application No. 202411284275.2, filed on September 12, 2024, and entitled "Quick operation method of device, electronic device and readable storage medium", the whole content of which is incorporated herein by reference. TECHNICAL FIELD

[0002] The present application relates to the technical field of terminal, and in particular to a quick operation method of device, an electronic device and a readable storage medium. BACKGROUND

[0003] With the development of the intelligence of electronic devices, the electronic devices can meet the needs of daily life and work through various installed application programs or various application functions. At present, when a user wants to perform an operation on an application program or an application function, the user often needs to first unlock the electronic device, find an operation entrance of the application program or the application function, enter an operation interface of the application program or the application function through the operation entrance, and then perform a related operation on the operation interface, such as opening a certain application program or application function. This process is tedious and time-consuming for the user, and affects the user experience. SUMMARY

[0004] The present application provides a quick operation method of device, an electronic device and a readable storage medium, which can solve the problem of tedious and time-consuming operation when performing device operation, and provide a more rapid and convenient device operation experience.

[0005] To achieve the above-mentioned purpose, the present application adopts the following technical solutions:

[0006] In a first aspect, a quick operation method of device is provided, which can be applied to an electronic device including a key. The method includes: the electronic device receiving a first touch operation of a user on the key; the electronic device presenting a first dynamic effect accompanied by the first touch operation, the first dynamic effect including: an operation indication object being translated from a first position on a 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 of the user on the key; the electronic device presenting a second dynamic effect accompanied by the second touch operation, the second dynamic effect being the same as or different from the first dynamic effect; and the electronic device performing an action corresponding to a double-touch operation in response to the first touch operation and the second touch operation, the action corresponding to the double-touch operation including at least one of: opening an application program, opening an application function, opening an application card, opening an applicationlet, switching a function state, and displaying a quick entry list, the quick entry list including a plurality of quick entries.

[0007] The above-mentioned first aspect provides a solution, the electronic device can support the user to trigger the operation of the electronic device through a more simple and convenient double-touch operation on the key, including but not limited to at least one of the following operations: opening an application, opening an application function, opening an application card, opening an applicationlet, switching a function state, etc. In this way, not only can the problem of tedious operation and time-consuming for the user in the conventional device operation process be solved, but also because the double-touch operation on the key or the operation range of the double-touch operation is concentrated on the key, it can be completed through single-handed operation, so that a more rapid and convenient device operation experience can be provided for the user. In addition, the electronic device can provide a more immersive touch operation experience for the user by displaying the dynamic effect corresponding to the empty operation of the display window.

[0008] As an example, the second dynamic effect is different from the first dynamic effect, for example, the second dynamic effect includes that the operation instruction 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, and compared with the first dynamic effect, the operation instruction object in the second dynamic effect can have one or more of the following differences: different thickness, different color, different shape; for another example, the second dynamic effect can include that the operation instruction object (such as a light bar) is translated from a third position on the display screen to a fourth position on the display screen and then moves 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 dynamic effect can include other types of dynamic effects, which are not limited.

[0009] As an example, the operation instruction object can include but is not limited to a light bar.

[0010] As an example, the key can include a power key, a volume key, or a physical shortcut key.

[0011] As an example, the time interval between the first touch operation and the second touch operation is short, such as less than a first preset time threshold.

[0012] As a possible implementation manner, the action corresponding to the double-touch operation is to display a shortcut entry list, and the method further includes: in response to a first sliding operation of the user on the key, the electronic device opens a first task corresponding to a first shortcut entry in the shortcut entry list. In this way, the electronic device can support the user to pull up the shortcut entry list through a more simple and convenient double-touch operation on the key, so that the user can select the application, application function, application card or applicationlet to be opened from the shortcut entry list, thereby providing a more rapid and convenient device operation experience for the user.

[0013] As a possible implementation, the first sliding operation is a sliding operation performed by the finger without leaving the key after the second touch operation is completed; or, the first sliding operation is a sliding operation performed by the finger after leaving the key and then contacting the key again after the second touch operation is completed. In this way, since the touch operation range for the key is concentrated on the key, the single-hand operation can be completed, and thus a user can have a faster and more convenient device operation experience.

[0014] As a possible implementation, the action corresponding to the double touch operation is to display a shortcut entry list, and the method further includes: in response to a long press operation of the user without leaving the key after the second touch operation is completed, the electronic device opens a first task corresponding to a first shortcut entry in the shortcut entry list. In this way, the user can have a faster and more convenient device operation experience that can be completed by a single-hand operation.

[0015] As a possible implementation, the action corresponding to the double touch operation is to display a shortcut entry list, and the method further includes: in response to a second sliding operation of the user on the key, the electronic device opens a second task corresponding to a second shortcut entry, which is a next shortcut entry of the first shortcut entry in the shortcut entry list. In this way, the user can have a smoother device operation experience by switching and selecting the target entry through a simpler and more convenient operation.

[0016] As a possible implementation, the action corresponding to the double touch operation includes opening a target object, and the target object includes at least one of the following: an application, an application function, an application card, and an application applet, and the method further includes: after the user completes the first touch operation, the electronic device displays an icon of the target object. In this way, the user's cognition of the double touch operation can be improved, the user is reminded of the target object corresponding to the double touch operation, and the user is guided to continue to perform the next touch operation, the fault tolerance of the double touch operation is improved, and the problem of possible user misoperation is solved.

[0017] As a possible implementation, before receiving the first touch operation of the user on the key, the electronic device displays a notification bar, and the action corresponding to the double touch operation includes opening at least one of the following: an application, an application function, an application card, and an application applet corresponding to a notification in the notification bar. In this way, in the notification scenario, the user can have a faster and more convenient use experience of opening communication-related details.

[0018] As an example, the notification bar can include, but is not limited to, a message notification bar, a live notification box, or the like.

[0019] As a possible implementation, the action corresponding to the double-touch operation is switching a function state of an application function, and the method further includes: after the user finishes lifting the hand for the first touch operation, the electronic device displays the first function state of the application function; and the electronic device performing the action corresponding to the double-touch operation includes: after the user finishes lifting the hand for the second touch operation, switching the first function state to the second function state. In this way, the user can quickly trigger the switching operation of the function state in the electronic device through the double-touch operation on the key, which is simpler and more convenient, thereby providing the user with a faster and more convenient device operation experience. In addition, the function state can be displayed to improve the user's cognition of the double-touch operation and guide the user to continue to perform the next touch operation, improve the fault tolerance of the double-touch operation, and solve the problem of possible user misoperation.

[0020] In a second aspect, a shortcut operation method of an electronic device is provided. The method can be applied to an electronic device including a key, and the method includes: the electronic device receiving a user operation on the key, the operation including any one of a double-touch operation, a sliding operation, and a long-press operation; and 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 opening an application program, opening an application function, opening an application card, opening an application widget, switching a function state, and displaying a shortcut entry list including one or more shortcut entries.

[0021] The second aspect provides the above scheme. The electronic device can support the user to trigger the operation of the electronic device through the double-touch, sliding, and long-press operations on the key, which are simpler and more convenient, including but not limited to at least one of the following operations: opening an application program, opening an application function, opening an application card, opening an application widget, and switching a function state. In this way, the problem that the conventional device operation process is tedious and time-consuming for the user can be solved, and since the operation range of the double-touch, sliding, and long-press operations on the key can be completed through single-hand operation, a faster and more convenient device operation experience can be provided for the user.

[0022] As an example, the operation indication object can include but is not limited to a light bar.

[0023] As an example, the key can include a power key, a volume key, or a physical shortcut key.

[0024] As a possible implementation, the above operation is a double-touch operation, the double-touch operation includes a first touch operation and a second touch operation, and the method further includes: the electronic device presents a first dynamic effect accompanying the first touch operation, the first dynamic 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 moved back to the first position; and the electronic device presents a second dynamic effect accompanying the second touch operation. In this way, the electronic device can provide a more immersive touch operation experience for the user by presenting the dynamic effect corresponding to the window empty operation.

[0025] As an example, the second dynamic effect is different from the first dynamic effect, for example, the second dynamic effect includes that the operation indication object is translated from the first position on the display screen of the electronic device to the second position on the display screen and then moved back to the first position, and the operation indication object in the second dynamic effect can have one or more of the following differences compared with the first dynamic effect: different thickness, different color, different shape; or, for example, the second dynamic effect can include that the operation indication object (such as a light bar) is translated from a third position on the display screen to a fourth position on the display screen and then moved 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 dynamic effect can include other types of dynamic effects, which are not limited.

[0026] As an example, the time interval between the first touch operation and the second touch operation is short, such as less than a first preset time threshold.

[0027] As a possible implementation, the operation corresponding to the above double-touch operation is to display a shortcut entry list, and the method further includes: in response to a first sliding operation of the user on the key, the electronic device opens a first task corresponding to a first shortcut entry in the shortcut entry list. In this way, the electronic device can support the user to pull up the shortcut entry list through a more simple and convenient double-touch operation on the key, so that the user can select the application, application function, application card or application applet, etc. that the user wants to open from the shortcut entry list, thereby providing a more rapid and convenient device operation experience for the user.

[0028] As a possible implementation, the first sliding operation is a sliding operation of the finger on the key after the second touch operation is completed; or, the first sliding operation is a sliding operation implemented by the finger on the key again after the finger leaves the key after the second touch operation is completed. In this way, since the touch operation operation range on the key is concentrated on the key, it can be completed through single-hand operation, thereby providing a more rapid and convenient device operation experience for the user.

[0029] As a possible implementation, the action corresponding to the double-touch operation is displaying a shortcut entry list, and the method further includes: in response to a long-press operation of the user's finger on the key after the second touch operation is completed, the electronic device opens a first task corresponding to a first shortcut entry in the shortcut entry list. In this way, the user can be further provided with a device operation experience that can be completed by single-hand operation, and is fast and convenient.

[0030] As a possible implementation, the action corresponding to the double-touch operation is displaying a shortcut entry list, and the method further includes: in response to a second sliding operation of the user on the key, the electronic device opens a second task corresponding to a second shortcut entry, which is a next shortcut entry of the first shortcut entry in the shortcut entry list. In this way, the user can switch and select a target entry through a more simple and convenient operation, to provide a smoother device operation experience.

[0031] As a possible implementation, the action corresponding to the double-touch operation includes opening a target object, and the target object includes at least one of the following: an application program, an application function, an application card, and an application applet. The method further includes: after the user completes the first touch operation, the electronic device displays an icon of the target object. In this way, the user's cognition of the double-touch operation can be improved, the user is reminded of the target object corresponding to the double-touch operation, and the user is guided to continue to perform the next touch operation, the fault tolerance of the double-touch operation is improved, and the problem of possible user misoperation is solved.

[0032] As a possible implementation, before receiving the operation of the user on the key, the electronic device displays a notification bar, and the action corresponding to the operation of the user on the key includes opening at least one of the following corresponding to a notification in the notification bar: an application program, an application function, an application card, and an application applet. In this way, in a notification scenario, the user can be provided with a use experience of quickly and conveniently opening communication-related details.

[0033] As an example, the notification bar can include, but is not limited to, a message notification bar, or a live notification box, etc.

[0034] As a possible implementation, the action corresponding to the double-touch operation is switching the function state of the application function, and the method further includes: after the user completes the first-touch operation and lifts the hand, the electronic device displays the first function state of the application function; and the electronic device performs the action corresponding to the double-touch operation, including: after the user completes the second-touch operation and lifts the hand, the first function state is switched to the second function state. In this way, the user can quickly trigger the switching operation of the function state in the electronic device through a more simple and convenient double-touch operation on the key, providing the user with a more rapid and convenient device operation experience. In addition, the function state can be displayed to improve the user's cognition of the double-touch operation and guide the user to continue to perform the next touch operation, improve the fault tolerance of the double-touch operation, and solve the problem of possible user misoperation.

[0035] In a third aspect, an electronic device is provided, which includes: a touch sensor configured to receive a touch operation of a user; a memory configured to store one or more programs; and a processor configured to execute the one or more programs to enable the electronic device to implement the method in any possible implementation of the first aspect or the second aspect.

[0036] In a fourth aspect, a readable storage medium is provided, which has program instructions stored thereon. When the program instructions are executed by a device, the device can implement the method in any possible implementation of the first aspect or the second aspect.

[0037] In a fifth aspect, a program product containing instructions is provided. When the program product is run on a device, the device can be caused to execute the method in any possible implementation of the first aspect or the second aspect.

[0038] In a sixth aspect, a chip system is provided, which includes a processing circuit and a storage medium. The storage medium has program instructions stored therein. When the program instructions are executed by the processing circuit, the method in any possible implementation of the first aspect or the second aspect can be implemented. The chip system can be composed of a chip, or can include a chip and other discrete devices. BRIEF DESCRIPTION OF DRAWINGS

[0039] FIG. 1 is a schematic diagram of a conventional device operation process;

[0040] FIG. 2 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application;

[0041] FIG. 3 is a schematic diagram of the software structure of an electronic device according to an embodiment of the present application;

[0042] FIG. 4 is a flowchart of a shortcut operation method of a device according to an embodiment of the present application;

[0043] FIG. 5 is a schematic diagram of a double-touch operation according to an embodiment of the present application;

[0044] Figure 6 is a schematic diagram of the process of opening an application by two-touch operation according to an embodiment of this application;

[0045] Figure 7 is a schematic diagram of the process of opening the application function by two-touch operation according to an embodiment of this application;

[0046] Figure 8A is a schematic diagram of the process of opening an application card by two-touch operation according to an embodiment of this application;

[0047] Figure 8B is a schematic diagram of the process of opening an application card by two-touch operation according to an embodiment of this application;

[0048] Figure 9 is a schematic diagram of the process of opening an application applet using two-touch operation according to an embodiment of this application;

[0049] Figure 10 is a schematic diagram of the process of switching the function state of dual-touch operation according to an embodiment of this application;

[0050] Figure 11 is a schematic diagram of a process of opening a shortcut list and opening a target object through the shortcut list according to an embodiment of this application;

[0051] Figure 12A is a schematic diagram of a process of switching target objects in a shortcut list according to an embodiment of this application;

[0052] Figure 12B is a schematic diagram of another quick access list display format provided in the embodiment of this application;

[0053] Figure 13 is a second flowchart of the quick operation method of the device provided in the embodiment of this application;

[0054] Figure 14A is a schematic diagram of a first motion effect process provided in an embodiment of this application;

[0055] Figure 14B is a schematic diagram of the process of opening an application by two-touch operation according to an embodiment of this application;

[0056] Figure 14C is a schematic diagram of the process of opening the application function by two-touch operation according to an embodiment of this application;

[0057] Figure 14D is a schematic diagram of the process of opening an application card by two-touch operation according to an embodiment of this application;

[0058] Figure 14E is a schematic diagram of the process of opening an application applet using two-touch operation according to an embodiment of this application;

[0059] Figure 14F is a schematic diagram of the process of switching the dual-touch operation function state provided in the embodiment of this application;

[0060] Figure 14G is a schematic diagram of a two-touch operation to open a shortcut list according to an embodiment of this application;

[0061] FIG. 15 is a flowchart of a shortcut operation method of a device according to an embodiment of the present application;

[0062] FIG. 16 is a process diagram of a double touch operation to open an application according to an embodiment of the present application;

[0063] FIG. 17 is a process diagram of a double touch operation to open an application function according to an embodiment of the present application;

[0064] FIG. 18 is a process diagram of a double touch operation to open an application card according to an embodiment of the present application;

[0065] FIG. 19 is a process diagram of a double touch operation to open an application mini program according to an embodiment of the present application;

[0066] FIG. 20 is a process diagram of a double touch operation to switch a function state according to an embodiment of the present application;

[0067] FIG. 21 is a flowchart of a shortcut operation method of a device according to an embodiment of the present application;

[0068] FIG. 22 is a process diagram of a double touch operation to open an application according to an embodiment of the present application;

[0069] FIG. 23 is a process diagram of a double touch operation to open an application function according to an embodiment of the present application;

[0070] FIG. 24A is a process diagram of a double touch operation to open an application card according to an embodiment of the present application;

[0071] FIG. 24B is a process diagram of a double touch operation to open an application card according to an embodiment of the present application;

[0072] FIG. 25 is a process diagram of a double touch operation to open an application mini program according to an embodiment of the present application;

[0073] FIG. 26A is a process diagram of a double touch operation to switch a function state according to an embodiment of the present application;

[0074] FIG. 26B is a process diagram of a double touch operation to switch a function state according to an embodiment of the present application. DETAILED DESCRIPTION

[0075] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " represents the meaning of or, for example, A / B can represent A or B; "and / or" herein only describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent: A alone, A and B together, and B alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0076] Hereinafter, the terms "first", "second", and the like are only used to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity, or content of the described objects. For example, the described object is "field", and the ordinal number before "field" in "first field" and "second field" does not limit the position or order between "fields", and "first" and "second" do not limit whether the "fields" they modify are in the same message or not, nor do they limit the order of "first field" and "second field". For example, the described object is "level", and the ordinal number before "level" in "first level" and "second level" does not limit the priority between "levels". For example, the quantity of the described object is not limited, which can be one or more. For example, "first device", where the quantity of "device" can be one or more. In addition, objects modified by different prefix words can be the same or different, for example, the described object is "device", and "first device" and "second device" can be the same type of device or different types of device. For example, the described object is "information", and "first information" and "second information" can be information of the same content or information of different content. In summary, the use of ordinal numbers and other prefix words in the embodiments of the present application to distinguish the description objects does not limit the described objects, and the description of the described objects in the claims or embodiments should not be limited by the use of such prefix words.

[0077] In addition, in the embodiments of the present application, "connection" can be direct connection or indirect connection; in addition, it can mean electrical connection or communication connection; for example, two electrical elements A and B are connected, which can mean that A and B are directly connected, or can mean that A and B are indirectly connected through other electrical elements or connection medium, or can mean that A and B are indirectly connected through other communication devices or communication medium, as long as A and B can communicate.

[0078] As described in the background, the conventional device operation process is tedious and time-consuming for users.

[0079] To solve the above problems existing in the device operation process, in some embodiments, the electronic device can include a physical shortcut key, such as a side shortcut key 100 as shown in FIG. 1, for a user to trigger the electronic device to display a shortcut entry interface through the physical shortcut key, and the shortcut entry interface includes a plurality of shortcut entries about application programs or application functions, so as to facilitate the user to operate the application programs or application functions through touch operations on the shortcut entries. However, the way of triggering the electronic device to display the shortcut entry through the physical shortcut key needs the user to press the physical shortcut key first, and then touch the shortcut entry, as shown in FIG. 1, the interaction process between the user and the electronic device includes: pressing (such as short pressing, long pressing, etc.) the side shortcut key 100 → clicking the shortcut entry control (such as the shortcut entry control of the application program 1) on the display screen, the operation path in the device operation process is relatively long, and usually needs to be completed with the help of both hands, which is inconvenient for the user, and there is no follow-up feedback in the device operation process, which is not good for the user experience.

[0080] To provide the user with a faster and more convenient device operation experience, the embodiments of the present application provide a shortcut operation method of a device, in which the electronic device can support the user to quickly trigger the operation of the electronic device through a simpler and more convenient touch operation on a key (such as a power key). For example, the electronic device can quickly trigger the operation of the electronic device in response to a double-touch operation on the power key, or a double-touch and then sliding operation on the power key, including but not limited to at least one of the following operations: opening an application program, opening an application function, opening an application card, opening an applicationlet, switching a function state, etc. In this way, since the touch operation on the key is concentrated on the key, and can be completed by single-hand operation, the user can be provided with a faster and more convenient device operation experience.

[0081] Among them, the double-touch operation on the key includes a first touch operation and a second touch operation on the key, and the time interval between the first touch operation and the second touch operation is small, for example, less than a first preset time threshold; the double-touch and then sliding operation on the power key includes a first touch operation, a second touch operation and a sliding operation on the key, the time interval between the first touch operation and the second touch operation is small, for example, less than a first preset time threshold, and the time interval between the sliding operation and the second touch operation is small, for example, less than a second preset time threshold.

[0082] In some embodiments, the double-touch operation can also be referred to as a "double-click operation", and the following embodiments of the present application take "double-touch operation" as an example for introduction.

[0083] In some embodiments, the electronic device can also display a corresponding display effect, such as a bouncing effect of a display light bar or other operation indication object, following the touch operation of the user on the key, to provide the user with a more immersive follow-up operation experience.

[0084] In some embodiments, the electronic device can also display corresponding prompt information during the process that the user performs the touch operation on the key, such as displaying an icon of an application about to be opened, an application function icon about to be opened, an application card icon about to be opened, an application widget icon about to be opened, and a current function state, etc. Through the prompt information, the fault tolerance rate of the touch operation on the key can be improved, and the problem of user misoperation can be solved.

[0085] In some embodiments, the electronic device can include, but is not limited to, a smart phone, a netbook, a tablet computer, a smart drawing board, a smart handwriting board, a smart watch, a smart bracelet, a phone watch, smart glasses, a smart camera, a palm computer, a vehicle-mounted computer, a personal computer (PC), a personal digital assistant (PDA), a portable multimedia player (PMP), an augmented reality (AR) / virtual reality (VR) device, a smart switch, a smart central control screen, etc. Alternatively, the electronic device can also be other types or structures of devices with a touch screen, and the embodiments of the present application are not limited thereto.

[0086] As an example, refer to FIG. 2, which shows a hardware structure schematic diagram of an electronic device according to an embodiment of the present application. As shown in FIG. 2, the electronic device can include a processor 210, a memory 220, a display screen 230, a sensor module 240, and a key 250.

[0087] The processor 210 can include one or more processing units.

[0088] In some embodiments, the memory in the processor 210 can also be configured to store instructions and data. For example, the memory in the processor 210 is a cache memory. The memory can save instructions or data that the processor 210 has just used or repeatedly uses. If the processor 210 needs to use the instructions or data again, it can directly call from the memory. This avoids repeated access and reduces the waiting time of the processor 210, thereby improving the efficiency of the system.

[0089] In some embodiments, the processor 210 can 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. Among them, different processing units can be independent devices, or can be integrated in one or more processors.

[0090] In some embodiments, the processor 210 can include one or more interfaces. The interface can 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.

[0091] The memory 220 can include an external memory interface and / or an internal memory.

[0092] The external memory interface can be used to connect an external memory card, such as a Micro SD card, to expand the storage capability of the electronic device. The external memory card communicates with the processor 210 through the external memory interface to realize the data storage function.

[0093] The internal memory can be used to store computer executable program codes. Exemplarily, the computer program can include an operating system program and an application program. The executable program codes include instructions. The processor 210 performs various function applications and data processing of the electronic device by running the instructions stored in the internal memory. The internal memory can include a program storage area and a data storage area. The program storage area can store an operating system, an application program required by at least one function, and the like. The data storage area can store data created during use of the electronic device, and the like. In addition, the internal memory can include a high-speed random access memory, and can further include a non-volatile memory such as at least one of a magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like. The processor 210 performs various function applications and data processing of the electronic device by running the instructions stored in the internal memory and / or the instructions stored in the memory provided in the processor.

[0094] The display screen 230 includes a display panel. As an example, the display panel can be a low temperature poly-silicon (LTPS) display screen, a low temperature polycrystalline oxides (LTPO) display screen, a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED) display screen, a flex light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-OLED, a quantum dot light emitting diodes (QLED), and the like.

[0095] In some embodiments of the present application, the electronic device implements a display function through a GPU, the display screen 230, and an AP, and the like. 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 of graphics. The processor 210 can include one or more GPUs that execute program instructions to generate or change display information.

[0096] In some embodiments of the present application, the electronic device can implement related processing of display content through an AP, a GPU, etc., and implement display of the display content through the display screen 230. Exemplarily, the display content can include, but is not limited to, one or more of the following: a shortcut entry list, a message notification box, an application program interface, an application function interface, an application card interface, an application applet interface, a dynamic effect, an icon of a target object, etc.

[0097] In embodiments of the present application, the sensor module 240 can be arranged on the key 250, and the sensor module 240 can include, but is not limited to, one or more of the following: a touch sensor 240A, a pressure sensor 240B.

[0098] The touch sensor 240A, also known as a "touch panel". The touch sensor 240A can be arranged on the key 250. The touch sensor 240A is used to detect a touch operation acting on or near it. The touch sensor can transmit the collected raw information representing the touch position, touch force, touch area, and touch duration, etc. to the processor for subsequent operation information acquisition, input event generation, and subsequent processing process. In some embodiments, the processor can provide visual output related to the touch operation through the display screen 230.

[0099] The pressure sensor 240B is used to sense a pressure signal and can convert the pressure signal into an electrical signal. The pressure sensor 240B can be arranged on the key 250. There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can include at least two parallel plates made of conductive material. When a force acts on the pressure sensor, the capacitance between the electrodes changes. The electronic device determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 230, the electronic device can detect the touch force of the touch operation through the pressure sensor. The electronic device can also calculate the position of the touch according to the detection signal of the pressure sensor 240B.

[0100] In some embodiments of the present application, the sensor module 240 can also include a fingerprint sensor 240C.

[0101] The fingerprint sensor 240C is used to collect fingerprints. The fingerprint sensor 240C can be arranged on the key 250. The electronic device can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locking, fingerprint photographing, fingerprint answering incoming calls, etc.

[0102] The key 250 includes a power key, a volume key, etc. The key 250 can be a mechanical key or a touch key. The electronic device can receive key input and generate key signal input related to user settings and function control of the electronic device.

[0103] In some embodiments of the present application, the electronic device can light up the display screen when the user presses the button 250.

[0104] In some embodiments of the present application, the electronic device can light up the display screen when the user presses the button 250, and at the same time, collect the fingerprint through the fingerprint sensor 240C on the button 250, and unlock the electronic device after the collected fingerprint is verified. In the embodiments of the present application, the touch sensor 240A and / or the pressure sensor 240B can be used to detect the touch operation of the user, such as the double touch operation for the button 250 or the double touch and slide operation for the button 250, collect the operation information of the touch operation, and send the operation information of the touch operation to the processor for processing, analysis of the operation information, and response to the touch operation, etc.

[0105] In some embodiments, the sensor module 240 can also include one or more of the following: a temperature sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, an ambient light sensor, a bone conduction sensor, etc.

[0106] It can be understood that the structure shown in FIG. 2 of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device can include more or fewer components than shown, or combine certain components, or split certain components, or different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0107] For example, in some embodiments, the electronic device can also 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, an earphone interface, a motor, an indicator, a camera, etc. For the introduction of each module, please refer to the conventional technology, and the embodiments of the present application are not limited.

[0108] As an example, please refer to FIG. 3, which shows a software structure schematic diagram of an electronic device provided by an embodiment of the present application. As shown in FIG. 3, the software architecture of the electronic device can include an application layer, a framework (FWK) layer and a kernel layer from top to bottom.

[0109] Among them, the application layer can include a series of applications and / or application functions, such as the payment, instant messaging, call, music, recording, camera, etc. applications shown in FIG. 3. Of course, the application layer can also include but not limited to other applications such as mailbox, gallery, calendar, map, navigation, Bluetooth, etc.

[0110] The framework layer is configured to provide an application programming interface (API) and a programming framework for applications in the application layer. As shown in FIG. 3, the framework layer can provide a window management service (Window Manager Service, WMS), an activity management service (AMS), an input synthesis (InputFlinger) service, and a graphics rendering process (SurfaceFlinger). Among them, the window management service is configured to provide window management, such as creation of a window, starting of a window, deletion of a window, movement of a window, management of a position / size / style of a window, and the like.

[0111] In the embodiments of the present application, the window management service can also be configured to manage window information. The window information can include, but is not limited to, a window identifier, a window level, an identifier of an interface displayed in the window, a virtual screen object corresponding to the window, and the like. Exemplarily, the virtual screen object corresponding to the window is a displayId of a virtual screen where the window is located. For example, the displayId can be an int type parameter.

[0112] The activity management service is configured to manage Activity, and is responsible for starting, switching, scheduling of components in the system, and management and scheduling of applications, and the like. Specifically, the AMS defines data classes for saving processes (Process), activities (Activity), and tasks (Task), respectively. The data class corresponding to the process can include process file information, memory state information of the process, and Activity, Service, and the like contained in the process. The Activity information can be saved in an ActivityStack. The ActivityStack is configured to uniformly schedule application Activity. The ActivityStack can specifically save information of all running activities. The ActivityStack can also save information of historically run activities.

[0113] In the embodiments of the present application, the AMS of the device can schedule an Activity corresponding to a target window to respond to a touch operation of a user according to an indication of the WMS.

[0114] The input synthesis service is configured to collect, analyze, process and distribute user operation information. For example, the input synthesis service can include two classes: InputReader and InputDispatcher. The InputReader is configured to convert operation information into specific input events, and the InputDispatcher is configured to report the input events. For example, the InputDispatcher can send the input events to the window management service through a dedicated channel between the InputDispatcher and the window management service. After receiving the input events, the window management service can determine a target window (e.g., a shortcut function window) corresponding to the input events, and then report the input events to a target application or a target application function (e.g., a shortcut function) in an application layer, so that the target application or the target application function responds to the input events.

[0115] The graphics rendering process is configured to synthesize display data of multiple sources to obtain a final display interface. For example, assume that the layers to be synthesized in the buffer include a status bar, a navigation bar, a wallpaper and a launcher icon layer, and the status bar, the navigation bar, the wallpaper and the launcher icon layer are drawn separately and cached in the buffer. The graphics rendering process is mainly configured to obtain the multiple layers from the buffer, synthesize the multiple layers, and then send the synthesized layers for display.

[0116] In the embodiments of the present application, the graphics rendering process can be configured to draw display content, which can include, but is not limited to, one or more of the following: a shortcut entry list, a message notification box, an application interface, an application function interface, an application card interface, an application applet interface, an animation effect, an icon of a target object, and the like.

[0117] Of course, the framework layer can also be used to provide other management services, such as one or more of a package management service, a content provision service, a phone management service, a resource management service, a notification management service, a location management service, and a view system. The package management service can be used to manage programs within the system. The content provision service can be used to support one application accessing data (such as a contact database) of another application, or sharing its own data with other applications. The resource management service can be used to provide access to non-code resources, such as one or more of access to local strings, icons, pictures, graphics, video files, or layout files. The notification management service can be used to provide a function of displaying a custom prompt in a status bar, which can be used to convey an informing type of message, and can automatically disappear after a short stay without user interaction. The location management service can be used to provide processing of geographic location related services. The view system can be used to build a display interface of an application. The view system includes visual controls, such as a text box control, a list control, a grid control, a button control, and an embeddable web browser control.

[0118] The kernel layer is a layer between hardware and software. The kernel layer can include a display driver, a sensor driver, a microphone driver, a camera driver, and the like.

[0119] In the embodiments of the present application, the sensor driver can detect the touch operation of the user by the sensor (such as the touch sensor 240A and / or the pressure sensor 240B, etc.) arranged on the key 250 to obtain operation information when the user performs the touch operation on the key 250. For example, in some embodiments of the present application, the touch operation received by the device can include, but is not limited to, a double touch operation, a single touch operation, a sliding operation, a long press operation, and the like. The embodiments of the present application are not limited specifically.

[0120] In some embodiments of the present application, the sensor driver can collect the fingerprint by the fingerprint sensor 240C arranged on the key 250 when the user performs the touch operation on the key 250.

[0121] The hardware includes a sensor module, a display screen, a microphone, a camera, and the like as shown in FIG. 3.

[0122] Of course, the embodiments of the present application do not limit the specific hardware included in the device, such as the device can also include other one or more hardware such as a communication module, and correspondingly, the kernel layer of the device can also include other one or more drivers.

[0123] It should be noted that FIG. 3 is only an example of a software structure of a device, and only the layers and software modules related to the scheme of the present application are simply listed. In actual application, the operating system of the device can also include other layers and each layer can also include other software modules for implementing one or more functions or services. The embodiments of the present application do not make specific limitations on this. In addition, the embodiments of the present application do not limit the specific layer where each software module is located.

[0124] As an example, refer to (a) of FIG. 4, (a) of FIG. 4 shows a flow chart of a shortcut operation method of a device provided by an embodiment of the present application. As shown in (a) of FIG. 4, the shortcut operation method of the device provided by the embodiment of the present application can be implemented based on the following S401A-S402A:

[0125] S401A: The electronic device receives a user operation on a key.

[0126] As an example, the user operation on the key can include but is not limited to any one of the following: double-touch operation, sliding operation, long-press operation.

[0127] Among them, the double-touch operation of the user on the key is, for example, the continuous two times of clicking operation of the user on the key. As an example, the double-touch operation of the user on the key includes the first touch operation of the user on the key and the second touch operation of the user on the key shown in FIG. 5, and the time interval between the first touch operation and the second touch operation is small, for example, less than a first preset time threshold.

[0128] As an example, the value range of the first preset time threshold can be 300ms-1000ms, for example, the first preset time threshold can be 500ms, and the value of the first preset time threshold is not limited in the embodiments of the present application.

[0129] In the embodiments of the present application, one or more sensors are arranged on the key of the electronic device, including but not limited to touch sensors and / or pressure sensors, etc., and the electronic device can detect the touch operation of the user, such as the double-touch operation of the user on the key, through the one or more sensors arranged on the key.

[0130] As an example, the keys of the electronic device can include, but are not limited to, one or more of the following: a power key, a volume key (such as a volume up (“+”) key, a volume down (“-”) key), or a physical shortcut key, etc. For example, the electronic device can detect a touch operation of a user on the one or more sensors on the physical shortcut key, such as a double touch operation of the user on the key, and quickly trigger an operation on the electronic device based on the double touch operation. As another example, the electronic device can reuse an existing power key, volume key, or the like, and detect a touch operation of a user on the one or more sensors on the key, such as a double touch operation of the user on the key, and quickly trigger an operation on the electronic device based on the double touch operation. The specific type, structure, and function of the key used to accept the double touch operation of the user are not limited in the embodiments of the present application.

[0131] In some embodiments, the user can perform a double touch operation on one key (such as a power key, a volume key, or a physical shortcut key, etc.) to trigger the electronic device to perform an action corresponding to the double touch operation.

[0132] In some embodiments, the user can perform a double touch operation on multiple keys to trigger the electronic device to perform an action corresponding to the double touch operation. For example, the user can perform a double touch operation on a volume down (“-”) key and a power key at the same time to trigger the electronic device to perform an action corresponding to the double touch operation. By performing a double touch operation on multiple keys, the function of key touch can be further expanded, and the risk of user mis-touch can be reduced.

[0133] S402A: In response to the operation of the user on the key, the electronic device performs an action corresponding to the operation, and the action corresponding to the operation includes at least one of the following: opening an application, opening an application function, opening an application card, opening an application widget, switching a function state.

[0134] As an example, the electronic device maintains a correspondence between different touch operations and operation instructions, and the electronic device can determine an operation instruction corresponding to an operation according to the correspondence, and perform a corresponding action according to the determined operation instruction.

[0135] In some embodiments, the correspondence between the touch operation and the operation instruction can be generated based on a user-defined shortcut function, can be set by default by the system of the electronic device, or can be automatically generated by the electronic device according to the usage habits of the user. For example, the object to which the operation instruction corresponding to the double touch operation corresponds can be determined according to at least one of the following: an application / application function / application card / application widget that is most recently used by the user, an application / application function / application card / application widget that is most frequently used by the user. The embodiments of the present application do not limit the basis and process of obtaining the correspondence between the touch operation and the operation instruction.

[0136] In some embodiments, the electronic device can also display a shortcut entry list in response to the user operation on the key, for the user to select an application, an application function, an application card or an applicationlet that the user wants to open.

[0137] As an example, refer to (b) in FIG. 4, (b) in FIG. 4 shows a flowchart of a shortcut operation method of another device provided by an embodiment of the present application. As shown in (b) in FIG. 4, the shortcut operation method of the device provided by an embodiment of the present application can be implemented based on the following S401B-S404B.

[0138] S401B: The electronic device receives a user operation on a key.

[0139] For related introduction of S401B, refer to the description of S401A above, which will not be repeated here.

[0140] S402B: In response to the user operation on the key, the electronic device displays a shortcut entry list, and the shortcut entry list includes one or more shortcut entries.

[0141] As an example, any shortcut entry in the shortcut entry list can be any of the following: a shortcut entry of an application, a shortcut entry of an application function, a shortcut entry of an application card or a shortcut entry of an applicationlet. The shortcut entry list is used for the user to enter the page of the application, the application function, the application card or the applicationlet more quickly and conveniently.

[0142] As an example, the shortcut entry of an application is, for example, an application icon for starting an application; the shortcut entry of an application function is, for example, a function icon for starting an application function; the shortcut entry of an application card is, for example, a card icon for starting an application card; the shortcut entry of an applicationlet is, for example, an applicationlet icon for starting an applicationlet; and the state switching key of an application function is, for example, a switching key for switching the function state of an application function. The type of the shortcut entry is not limited in the embodiments of the present application.

[0143] In some embodiments, the shortcut entries included in the shortcut entry list can be determined based on the user's custom shortcut function, can be set by default by the system of the electronic device, or can be automatically determined by the electronic device according to the user's usage habits, for example, can be determined according to at least one of the following: the application / application function / application card / applicationlet that the user has used most recently, the application / application function / application card / applicationlet that the user has used longest. The determination basis and determination process of the shortcut entries included in the shortcut entry list are not limited in the embodiments of the present application.

[0144] In some embodiments, the shortcut entry list includes a plurality of shortcut entries, which can be arranged according to one or more of the following principles: from high to low in terms of historical usage frequency of the user, from recent to remote in terms of the last usage time of the user, in a user-defined order, in a system default order of the electronic device, or according to other principles, and the embodiments of the present application are not limited thereto.

[0145] S403B: In response to the first sliding operation of the user on the key, the electronic device opens a first task corresponding to the first shortcut entry.

[0146] 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 time threshold.

[0147] As an example, the second preset time threshold can be in the range of 0ms-1000ms, for example, the second preset time threshold can be 500ms, and the embodiments of the present application are not limited to the value of the second preset time threshold.

[0148] In some embodiments, the first sliding operation and the second touch operation are continuous operations, such as the first sliding operation is a sliding operation of the finger without leaving the key after completing the second touch operation; in other embodiments, the first sliding operation and the second touch operation are discontinuous operations, such as the first sliding operation is a sliding operation of the finger after contacting the key again after leaving the key after completing the second touch operation.

[0149] As an example, the first sliding operation of the user on the key can include but is not limited to any of the following operations of the user on the key: downward sliding operation, upward sliding operation, leftward sliding operation (which can be understood as a sliding operation toward the display screen), rightward sliding operation (which can be understood as a sliding operation toward the back cover of the phone).

[0150] In some embodiments, the shortcut entry list includes a plurality of shortcut entries, and the first shortcut entry is the first shortcut entry in the shortcut entry list.

[0151] In some embodiments, when the electronic device displays the shortcut entry list in response to the double-touch operation of the user on the key, the electronic device can also open the first task corresponding to the first shortcut entry in response to the long-press operation of the finger without leaving the key after the user completes the double-touch operation.

[0152] Based on the shortcut operation method of the device shown in (a) of FIG. 4 or (b) of FIG. 4, the electronic device can support the user to quickly trigger the operation of the electronic device through a more simple and convenient double-touch operation or a double-touch and then sliding operation on the key, including but not limited to at least one of the following operations: opening an application, opening an application function, opening an application card, opening an applicationlet, switching a function state, etc. In this way, not only can the problem that the conventional device operation process is tedious and time-consuming for the user be solved, but also since the operation range of the double-touch operation or the double-touch and then sliding operation on the key is concentrated on the key, it can be completed through single-hand operation, so that a more rapid and convenient device operation experience can be provided to the user. For example, compared with the operation process shown in FIG. 1, which is inconvenient for the user to operate due to a long operation path and needs to be completed by two hands, the user experience is greatly improved by the scheme shown in (a) of FIG. 4 or (b) of FIG. 4. In addition, compared with the process of pulling up the shortcut entry interface through the long-press operation shown in FIG. 1, the scheme shown in (a) of FIG. 4 or (b) of FIG. 4 can also avoid the problem of operation failure caused by insufficient long-press time.

[0153] In some embodiments, as shown in S404B in (b) of FIG. 4, the electronic device can also support the user to switch the shortcut entry through a sliding operation again.

[0154] S404B: In response to the second sliding operation of the user on the key, the electronic device opens a second task corresponding to a second shortcut entry, and the second shortcut entry is the next shortcut entry of the first shortcut entry in the shortcut entry list.

[0155] As an example, the second sliding operation is a sliding operation implemented by the user again contacting the key after the finger leaves the key after completing the first sliding operation.

[0156] 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 time threshold.

[0157] As an example, the value range of the third preset time threshold can be 0ms-1000ms, for example, the third preset time threshold can be 500ms, and the value of the third preset time threshold is not limited in the embodiments of the present application.

[0158] As an example, the second sliding operation of the user on the key can include but is not limited to any of the following operations of the user on the key: a downward sliding operation, an upward sliding operation, a leftward sliding operation, and a rightward sliding operation.

[0159] In some embodiments, when the electronic device displays the shortcut entry list in response to the user's double-touch operation on the key, the electronic device can also open the first task corresponding to the first shortcut entry in response to the user's long-press operation on the key after the double-touch operation is completed without the finger leaving the key. In addition, the electronic device can open the second task corresponding to the second shortcut entry in response to the user's sliding operation performed by the finger after the long-press operation is completed and the finger leaves the key, and the second shortcut entry is the next shortcut entry of the first shortcut entry in the shortcut entry list.

[0160] Thus, based on the shortcut operation method of the device shown in (b) in FIG. 4, the electronic device can improve user operation efficiency on the one hand and provide high freedom of quick selection for the user on the other hand by displaying the shortcut entry list; and support the user to switch and select the target entry through one or more sliding operations that are simpler and more convenient, to provide a smoother device operation experience.

[0161] In the following, scene 1-scene 2 will be taken as an example, and the double-touch operation as an example of triggering operation, to specifically introduce the shortcut operation method of the device shown in FIG. 4.

[0162] Scene 1: Scene of double-touch operation on target object

[0163] For example, the scene of double-touch operation on the target object can include, but is not limited to, any of the following scenes: a scene of double-touch operation to open an application, a scene of double-touch operation to open an application function, a scene of double-touch operation to open an application card, a scene of double-touch operation to open an application mini-program, and a scene of double-touch operation to switch a function state.

[0164] As an example, please refer to FIG. 7, which shows a process diagram of double-touch operation to open an application function. As shown in FIG. 7, in response to the user's double-touch operation 701 on the key, 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.

[0165] In some embodiments, before receiving the user's double-touch operation on the key, the electronic device can receive a communication and display a notification bar, such as but not limited to a message notification bar, a live notification box, etc. For this case, the target object of the double-touch operation can include at least one of the following corresponding to the notification: an application, an application function, an application card, and an application mini-program.

[0166] As an example, please refer to FIG. 6, which shows a schematic diagram of a process of opening an application by a double-touch operation. As shown in FIG. 6, when the electronic device receives a message of friend A in the instant messaging application W, the electronic device can display the message notification box 601 shown in FIG. 6. In response to a double-touch operation 602 of the user on the button, the electronic device can perform an 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.

[0167] FIG. 6 only takes the example of opening the application page corresponding to the message notification box according to the double-touch operation when the electronic device displays the message notification box. In actual application, the electronic device can also determine the target object corresponding to the double-touch operation according to one or more of the following: the user's custom settings, the electronic device system default settings, or the user's usage habits (such as historical usage frequency, etc.), and the embodiments of the present application are not limited.

[0168] As an example, please refer to FIG. 8A, which shows a schematic diagram of a process of opening an application card by a double-touch operation. As shown in (a) of FIG. 8A, in response to a double-touch operation 801 of the user on the button, the electronic device can perform an action corresponding to the double-touch operation 801, such as opening the sound recorder and displaying the sound recording card page 802.

[0169] As shown in (b) of FIG. 8A, when the electronic device has a live notification, the electronic device can display a live notification box 803. In response to a double-touch operation 804 of the user on the button, the electronic device can perform an action corresponding to the double-touch operation 804, such as opening the live function and displaying the live function card 805. FIGS. 6 and 8A only take the example that the trigger operation is a double-touch operation. In some embodiments, when the electronic device displays the message notification box or the live notification box, the user can also open the application corresponding to the notification or open the live function by other forms of operation on the button, such as a sliding operation, a long-press operation, etc. The sliding operation can be a downward sliding operation, an upward sliding operation, a leftward sliding operation, a rightward sliding operation, etc., and is not limited.

[0170] The live notification box 803 can also be referred to as a live capsule, a live notification, etc. Its position can be as shown in FIG. 8A, can be in the upper status bar, or can be in other parts of the screen, fixed or movable. The size of the live notification box 803 is usually smaller than that of the live function card 805.

[0171] As an example, as shown in FIG. 8B, when the electronic device has a live notification, the electronic device can display a live notification box 803. In response to a downward sliding operation 806 of the user on the button, the electronic device can perform an action corresponding to the downward sliding operation 806, such as opening the live function corresponding to the live notification and displaying the live function card 805.

[0172] As an example, please refer to FIG. 9, which shows a schematic diagram of a process of opening an application widget by double touch operation. As shown in FIG. 9, in response to the double touch operation 901 of the user on the button, the electronic device can perform the action corresponding to the double touch operation 901, such as opening the traffic payment widget and displaying the payment QR code page 902.

[0173] As an example, please refer to FIG. 10, which shows a schematic diagram of a process of switching the function state by double touch operation. As shown in FIG. 10, in response to the double touch operation 1001 of the user on the button, the electronic device can perform the action corresponding to the double touch operation 1001, such as opening the sound mode function task in the background and switching the sound mode from the mute mode to the ring mode. In some embodiments, as shown in FIG. 10, the electronic device can also display the sound mode icon 1002 after switching in the display screen area near the button.

[0174] Scenario 2: Scenario of opening a shortcut entry list by double touch operation

[0175] In the shortcut entry list, one or more shortcut entries are included.

[0176] As an example, any shortcut entry in the shortcut entry list can be any of the following: a shortcut entry of an application, a shortcut entry of an application function, a shortcut entry of an application card, or a shortcut entry of an application widget. The shortcut entry list is used for the user to enter the page of the application, the application function, the application card, or the application widget more quickly and conveniently.

[0177] As an example, please refer to FIG. 11, which shows a schematic diagram of a process of opening a shortcut entry list and opening a target object through the shortcut entry list. As shown in FIG. 11, in response to the double touch operation 1101 of the user on the button, the electronic device can perform the action corresponding to the double touch operation 1101, such as displaying the shortcut entry list 1102, in which the shortcut entry list 1102 includes the entries of multiple target objects, which can include but are not limited to one or more of the following: an application, an application function, an application card, and an application widget.

[0178] In some embodiments, as shown in FIG. 11, when the electronic device displays the shortcut entry list 1102, in response to the downward sliding operation 1103 of the user on the button, the electronic device opens the first target object in the shortcut entry list 1102, such as opening the camera, and displays the shooting page 1104. In other embodiments, when the electronic device displays the shortcut entry list 1102, the first target object is opened by default without the user operating again; if the downward sliding operation of the user on the button is detected, the second target object, such as the video application, is switched to and opened. In this implementation, the opening of the target object can be after a period of time after the user operation is not detected.

[0179] In some embodiments, as shown in FIG. 12A, when the electronic device displays the shortcut entry list 1102 in response to the user's double-touch operation 1101 on the key, in response to the user's continuous two times of downward sliding operation 1105 on the key, the electronic device opens the second target object in the shortcut entry list 1102, such as opening the video application, and displays the video page 1106.

[0180] FIGS. 11 and 12A only show one form of display of the shortcut entry list, and in actual applications, the shortcut entry list can also be displayed in other forms, such as but not limited to the display form shown in FIG. 12B, and the embodiments of the present application are not limited thereto.

[0181] As can be seen from the examples shown in FIGS. 6-12A, the electronic device can support the user to quickly trigger the operation on the target object (such as an application program, an application function, an application card, an application applet, or a function state) in the electronic device through a more simple and convenient double-touch operation or double-touch sliding operation on the key. Compared with the operation process shown in FIG. 1, which is inconvenient for the user to operate due to a long operation path and needs to be completed by two hands, the operation can be completed by one hand, and the problem of operation failure due to insufficient long pressing time can also be avoided, so that the user experience is greatly improved.

[0182] In some embodiments, the electronic device can also display a corresponding display effect following the user's touch operation on the key, such as a bouncing effect of an operation instruction object such as a light bar, to provide the user with a more immersive touch operation experience.

[0183] As an example, please refer to (a) in FIG. 13, (a) in FIG. 13 shows another device shortcut operation method flowchart provided by the embodiments of the present application. As shown in (a) in FIG. 13, taking the double-touch operation as an example of the trigger operation, the device shortcut operation method provided by the embodiments of the present application can be implemented based on the following S1301A-S1303A:

[0184] S1301A: Accompanying the user's first touch operation on the key, the electronic device presents a first dynamic effect, and the first dynamic effect includes: the operation instruction 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.

[0185] As an example, the distance between the first position and the key is greater than the distance between the second position and the key, and the distance between the first position and the second position is less than the first distance threshold.

[0186] As an example, the distance between the first position and the key is less than the second distance threshold.

[0187] As an example, the operation instruction object includes a light bar.

[0188] As an example, referring to FIG. 14A, FIG. 14A shows a first dynamic effect process diagram provided by an embodiment of the present application. As shown in FIG. 14A, the electronic device presents a dynamic effect that the light bar moves from a first position 1401 on the display screen to a second position 1402 on the display screen and then moves back to the first position 1401. As an example, the first touch operation includes a process in which the user's finger touches the button (down) and a process in which the user's finger leaves the button (up); in the process in which the user's finger touches the button (down), the electronic device presents a dynamic effect that the light bar moves from the first position 1401 on the display screen to the second position 1402 on the display screen; in the process in which the user's finger leaves the button (up), the electronic device presents a dynamic effect that the light bar moves from the second position 1402 to the first position 1401. In this way, the user can be provided with a more immersive follow-hand operation experience by displaying the effect of the light bar bouncing along with the double touch operation.

[0189] As an example, the first distance threshold value can be in a range of 2 millimeters (mm) to 5 millimeters (mm), for example, the first distance threshold value can be 3 ms, and the present application does not limit the value of the first distance threshold value.

[0190] As an example, the second distance threshold value can be in a range of 0 millimeters (mm) to 4 millimeters (mm), for example, the second distance threshold value can be 2 ms, and the present application does not limit the value of the second distance threshold value.

[0191] S1302A: The electronic device presents a second dynamic effect along with the second touch operation of the user on the button.

[0192] The time interval between the first touch operation and the second touch operation is small, for example, less than a first preset time threshold.

[0193] For related descriptions of the second touch operation of the user on the button, refer to the description of the first touch operation above.

[0194] In some embodiments, the second dynamic effect is the same as the first dynamic effect, for example, the electronic device can present the first dynamic effect again along with the second touch operation of the user on the button. For related descriptions of the electronic device presenting the first dynamic effect, refer to the description of S1301A above, which will not be repeated here.

[0195] In some embodiments, the second motion effect is different from the first motion effect, for example, compared with the first motion effect, the operation indication object in the second motion effect, which is translated from the first position on the display screen to the second position on the display screen and then moved back to the first position, can have one or more of the following differences: different thickness, different color, different shape, and / or the second motion effect can include that the operation indication object (such as a light bar) is translated from a third position on the display screen to a fourth position on the display screen and then moved 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 can include other types of motion effects, which are not limited.

[0196] S1303A: In response to the first touch operation and the second touch operation, the electronic device performs an action corresponding to the double-touch operation, and the action corresponding to the double-touch operation includes at least one of the following: opening an application, opening an application function, opening an application card, opening an applicationlet, and switching a function state.

[0197] For related descriptions of S1303A, reference can be made to the description of S402A in the foregoing, which will not be repeated here.

[0198] As an example, please refer to (b) in FIG. 13, (b) in FIG. 13 shows a flowchart of a shortcut operation method of another device provided by an embodiment of the present application. As shown in (b) in FIG. 13, taking a double-touch operation as an example of a trigger operation, the shortcut operation method of the device provided by an embodiment of the present application can be implemented based on the following S1301B-S1304B:

[0199] S1301B: Accompanying a first touch operation of a key by a user, the electronic device presents a first motion effect, and the first motion effect includes that an operation indication object is translated from a first position on the display screen to a second position on the display screen and then moved back to the first position.

[0200] For related descriptions of S1301B, reference can be made to the description of S1301A in the foregoing, which will not be repeated here.

[0201] S1302B: Accompanying a second touch operation of the key by the user, the electronic device presents a second motion effect.

[0202] For related descriptions of S1302B, reference can be made to the description of S1302A in the foregoing, which will not be repeated here.

[0203] S1303B: In response to the first touch operation and the second touch operation, the electronic device displays a shortcut entry list, and the shortcut entry list includes one or more shortcut entries.

[0204] For related descriptions of S1303B, reference can be made to the description of S402B in the foregoing, which will not be repeated here.

[0205] S1304B: In response to the first sliding operation of the user on the key, the electronic device opens the first task corresponding to the first shortcut entry.

[0206] For details about S1304B, refer to the description of S403B above, which will not be repeated here.

[0207] In some embodiments, as shown in S1305B in (b) of FIG. 13, it can also include:

[0208] S1305B: In response to the second sliding operation of the user on the key, the electronic device opens the second task corresponding to the second shortcut entry, which is the next shortcut entry of the first shortcut entry in the shortcut entry list.

[0209] For details about S1305B, refer to the description of S404B above, which will not be repeated here.

[0210] As an example, the operation indication object includes a light bar.

[0211] As an example, as shown in FIG. 14B, accompanied by the first touch operation 1401B of the user on the key, the electronic device presents a first dynamic effect that the light bar is translated from the first position on the display screen to the second position on the display screen and then moves back to the first position; then, accompanied by the second touch operation 1402B of the user on the key, the electronic device presents a second dynamic effect that the light bar is translated from the first position on the display screen to the second position on the display screen and then moves 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 1403B with friend A.

[0212] As an example, as shown in FIG. 14C, accompanied by the first touch operation 1401C of the user on the key, the electronic device presents a first dynamic effect that the light bar is translated from the first position on the display screen to the second position on the display screen and then moves back to the first position; then, accompanied by the second touch operation 1402C of the user on the key, the electronic device presents a second dynamic effect that the light bar is translated from the first position on the display screen to the second position on the display screen and then moves 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.

[0213] As an example, as shown in FIG. 14D, the electronic device presents a first dynamic effect of the light bar translating from a first position on the display to a second position on the display and then moving back to the first position, in response to the first touch operation 1401D of the user on the button; then, the electronic device presents a second dynamic effect of the light bar translating from the first position on the display to the second position on the display and then moving back to the first position, in response to the second touch operation 1402D of the user on the button; when the second touch operation 1402D is completed, the electronic device performs an action corresponding to the double-touch operation, such as opening the sound recorder and displaying the sound recording card page 1403D.

[0214] As an example, as shown in FIG. 14E, the electronic device presents a first dynamic effect of the light bar translating from a first position on the display to a second position on the display and then moving back to the first position, in response to the first touch operation 1401E of the user on the button; then, the electronic device presents a second dynamic effect of the light bar translating from the first position on the display to the second position on the display and then moving back to the first position, in response to the second touch operation 1402E of the user on the button; when the second touch operation 1402E is completed, the electronic device performs an action corresponding to the double-touch operation, such as opening the traffic payment applet and displaying the payment QR code page 1403E.

[0215] As an example, as shown in FIG. 14F, the electronic device presents a first dynamic effect of the light bar translating from a first position on the display to a second position on the display and then moving back to the first position, in response to the first touch operation 1401F of the user on the button; then, the electronic device presents a second dynamic effect of the light bar translating from the first position on the display to the second position on the display and then moving back to the first position, in response to the second touch operation 1402F of the user on the button; when the second touch operation 1402F is completed, the electronic device performs an action corresponding to the double-touch operation, such as opening the sound mode function task in the background and switching the sound mode from the mute mode to the ring mode, and displaying the sound mode identifier after the switching 1403F.

[0216] As an example, as shown in FIG. 14G, the electronic device presents a first dynamic effect of the light bar translating from a first position on the display to a second position on the display and then moving back to the first position, in response to the first touch operation 1401G of the user on the button; then, the electronic device presents a second dynamic effect of the light bar translating from the first position on the display to the second position on the display and then moving back to the first position, in response to the second touch operation 1402G of the user on the button; when the second touch operation 1402G is completed, the electronic device performs an action corresponding to the double-touch operation, such as displaying the shortcut entry list 1403G.

[0217] As can be seen from FIGS. 14B-14G, based on the shortcut operation method of the device shown in (a) of FIG. 13 or (b) of FIG. 13, the electronic device can not only support the user to quickly trigger the operation on the target object (such as an application, an application function, an application card, an applicationlet, or a function state) in the electronic device through a more simple and convenient double-touch operation or a double-touch operation followed by a sliding operation on the key, and provide the user with a more rapid and convenient device operation experience, but also can follow the touch operation of the user on the key to show the corresponding bounce effect, and provide the user with a more immersive touch operation experience.

[0218] In some embodiments, the electronic device can also display the icon of the target object after the user completes the first touch operation, so as to improve the user's cognition of the double-touch operation, remind the user of the target object corresponding to the double-touch operation, guide the user to continue to perform the next touch operation, improve the fault tolerance of the double-touch operation, and solve the problem of possible user misoperation.

[0219] As an example, please refer to (a) of FIG. 15, which shows another device shortcut operation method flowchart provided by the embodiments of the present application. As shown in (a) of FIG. 15, taking the trigger operation as a double-touch operation as an example, the device shortcut operation method provided by the embodiments of the present application can be implemented based on the following S1501A-S1502A:

[0220] S1501A: When receiving the first touch operation of the user on the key, the electronic device displays the icon of the target object.

[0221] The target object can include, but is not limited to, any one of the following: an application, an application function, an application card, or an applicationlet.

[0222] As an example, when receiving the first touch operation of the user on the key, the electronic device can display the icon of the target object, such as the icon of the application, the icon of the application function, the icon of the application card, or the icon of the applicationlet, in the display screen area near the key. The display screen area near the key is, for example, the display screen area within the third distance threshold (such as 2-6 mm) of the key.

[0223] S1502A: When receiving the second touch operation of the user on the key, the electronic device opens the target object corresponding to the double-touch operation and displays the target object page.

[0224] As an example, as shown in FIG. 16, when the electronic device receives a message of friend A in the instant messaging application W, the electronic device can display the message notification box 1601 shown in FIG. 16. In response to the first touch operation 1602 of the user on the button, the electronic device can display the icon 1603 of the instant messaging application W corresponding to the double touch operation; in response to the second touch operation 1604 of the user on the button, 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 1605 with friend A.

[0225] As an example, as shown in FIG. 17, in response to the first touch operation 1701 of the user on the button, the electronic device can display the icon 1702 of the camera corresponding to the double touch operation; in response to the second touch operation 1703 of the user 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.

[0226] As an example, as shown in FIG. 18, in response to the first touch operation 1801 of the user on the button, the electronic device can display the icon 1802 of the voice recorder corresponding to the double touch operation; in response to the second touch operation 1803 of the user on the button, the electronic device can perform the action corresponding to the double touch operation, such as opening the voice recorder and displaying the voice recording card page 1804.

[0227] As an example, as shown in FIG. 19, in response to the first touch operation 1901 of the user on the button, the electronic device can display the icon 1902 of the traffic payment applet corresponding to the double touch operation; in response to the second touch operation 1903 of the user on the button, the electronic device can perform the action corresponding to the double touch operation, such as opening the traffic payment applet and displaying the payment QR code page 1904.

[0228] As another example, please refer to (b) in FIG. 15, (b) in FIG. 15 shows another device shortcut operation method flowchart provided by the embodiments of the present application. As shown in (b) in FIG. 15, taking the double touch operation as an example, the device shortcut operation method provided by the embodiments of the present application can be implemented based on the following S1501B-S1502B:

[0229] S1501B: When receiving the first touch operation of the user on the button, the electronic device displays first information, and the first information represents the first function state of the application function corresponding to the double touch operation.

[0230] Wherein, the application function corresponding to the double 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.

[0231] Taking the sound mode function as an example of the application function corresponding to the double-touch operation, the first function state can include, but is not limited to, a mute mode, a vibration mode, a ring mode, and the like.

[0232] S1502B: When the second touch operation of the button by the user is received, the electronic device switches the first function state to a second function state, and displays second information, the second information representing the second function state of the application function corresponding to the double-touch operation.

[0233] The second function state is different from the first function state.

[0234] Taking the mute mode as an example of the first function state and the sound mode function as an example of the application function corresponding to the double-touch operation, the second function state can include, but is not limited to, a vibration mode, a ring mode, and the like.

[0235] As an example, as shown in FIG. 20, in response to the first touch operation 2001 of the button by the user, the electronic device can display a current sound mode identifier 2002 of the sound mode function corresponding to the double-touch operation; in response to the second touch operation 2003 of the button by the user, the electronic device can perform an action corresponding to the double-touch operation, such as opening a sound mode function task in the background and switching the sound mode from the mute mode to the ring mode, and displaying the sound mode identifier after the switching 2004.

[0236] As can be seen from FIGS. 16-20, based on the shortcut operation method of the device shown in (a) of FIG. 15 or (b) of FIG. 15, the electronic device can not only support the user to quickly trigger the operation on the target object (such as an application, an application function, an application card, an applicationlet, or a function state) in the electronic device through a more simple and convenient double-touch operation or double-touch and slide operation for the button, providing the user with a more rapid and convenient device operation experience, but also can improve the user's cognition of the double-touch operation by displaying the icon of the target object, reminding the user of the target object corresponding to the double-touch operation, and guiding the user to continue to perform the next touch operation, improving the fault tolerance of the double-touch operation, and solving the problem of possible user misoperation.

[0237] In some embodiments, the electronic device can also display a corresponding display effect following the touch operation of the user for the button, such as a bouncing effect of a light bar or other operation indication object, to provide the user with a more immersive touch operation experience, and after the user completes the first touch operation, display the icon of the target object to improve the user's cognition of the double-touch operation, remind the user of the target object corresponding to the double-touch operation, and guide the user to continue to perform the next touch operation, improve the fault tolerance of the double-touch operation, and solve the problem of possible user misoperation.

[0238] As an example, refer to (a) of FIG. 21, (a) of FIG. 21 shows a flowchart of a shortcut operation method of another device provided in an embodiment of the present application. As shown in (a) of FIG. 21, taking the double-touch operation as an example, the shortcut operation method of the device provided in the embodiment of the present application can be implemented based on the following S2101A-S2104A:

[0239] S2101A: The electronic device presents a first motion effect accompanied by the first touch operation of the user on the button, and the first motion effect includes that the operation indication 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.

[0240] S2102A: The electronic device displays an icon of the target object when the first touch operation is completed.

[0241] Exemplarily, the electronic device no longer displays the operation indication object when the first touch operation is completed, such as after the user completes the first touch operation and lifts the hand. Taking the operation indication object including a light bar as an example, for example, the light bar can leave when it is bounced back to the first position; for another example, the light bar can leave when a preset time (such as 350 ms) after the first touch operation is completed, without limitation.

[0242] In some embodiments, the electronic device can also display first guide content for guiding the user to perform certain operations when the first touch operation is completed, such as after the user completes the first touch operation and lifts the hand. Exemplarily, the guide content can include, but is not limited to, one or more of the following: the operation indication object (such as the light bar) pauses, the operation indication object changes color, the operation indication object changes shape, the operation indication object flashes, etc., without specific limitation.

[0243] S2103A: The electronic device presents a second motion effect accompanied by the second touch operation of the user on the button.

[0244] S2104A: The electronic device opens the target object corresponding to the double-touch operation and displays a target object page when the second touch operation is completed.

[0245] Exemplarily, the electronic device opens the target object corresponding to the double-touch operation and displays a target object page when the second touch operation is completed, such as after the user completes the second touch operation and lifts the hand.

[0246] For related introduction of S2101A and S2103A, refer to the description of S1301A and S1302A above; for related introduction of S2102A and S2104A, refer to the description of S1501A and S1502A above, which will not be repeated here.

[0247] As an example, the operation indication object includes a light bar.

[0248] As an example, as shown in FIG. 22, when the electronic device receives a message of friend A in instant messaging application W, the electronic device can display the message notification box 2201 shown in FIG. 22. Accompanying the first touch operation 2202 of the user on the button, the electronic device presents the first dynamic effect that the light bar is translated from the first position on the display screen to the second position on the display screen and then moves back to the first position; when the first touch operation 2202 is completed, the electronic device no longer displays the light bar, and displays the icon 2203 of the instant messaging application W corresponding to the double touch operation; then, accompanying the second touch operation 2204 of the user on the button, the electronic device presents the second dynamic effect that the light bar is translated from the first position on the display screen to the second position on the display screen and then moves back to the first position; when the second touch operation 2204 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 2205 with friend A.

[0249] As an example, as shown in FIG. 23, accompanying the first touch operation 2301 of the user on the button, the electronic device presents the first dynamic effect that the light bar is translated from the first position on the display screen to the second position on the display screen and then moves back to the first position; when the first touch operation 2301 is completed, the electronic device no longer displays the light bar, and displays the icon 2302 of the camera corresponding to the double touch operation; then, accompanying the second touch operation 2303 of the user on the button, the electronic device presents the second dynamic effect that the light bar is translated from the first position on the display screen to the second position on the display screen and then moves 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.

[0250] As an example, as shown in FIG. 24A, accompanying the first touch operation 2401 of the user on the button, the electronic device presents the first dynamic effect that the light bar is translated from the first position on the display screen to the second position on the display screen and then moves 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 icon 2402 of the voice recorder corresponding to the double touch operation; then, accompanying the second touch operation 2403 of the user on the button, the electronic device presents the second dynamic effect that the light bar is translated from the first position on the display screen to the second position on the display screen and then moves 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 opening the voice recorder and displaying the recording card page 2404.

[0251] As an example, as shown in FIG. 24B, when the electronic device has a live notification, the electronic device displays a live notification frame 2405, accompanied by a first touch operation 2401 of the user on the button, the electronic device presents a first motion effect that the light bar translates from a first position on the display screen to a second position on the display screen and then moves 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 a second touch operation 2403 of the user on the button, the electronic device presents a second motion effect that the light bar translates from the first position on the display screen to the second position on the display screen and then moves 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 opening the live function and displaying a live function card 2406.

[0252] As an example, as shown in FIG. 25, accompanied by a first touch operation 2501 of the user on the button, the electronic device presents a first motion effect that the light bar translates from a first position on the display screen to a second position on the display screen and then moves back to the first position; when the first touch operation 2501 is completed, the electronic device no longer displays the light bar and displays an icon 2502 of a double-touch operation corresponding traffic payment applet; then, accompanied by a second touch operation 2503 of the user on the button, the electronic device presents a second motion effect that the light bar translates from the first position on the display screen to the second position on the display screen and then moves 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 traffic payment applet and displaying a payment QR code page 2504.

[0253] As an example, please refer to (b) in FIG. 21, (b) in FIG. 21 shows another device shortcut operation method flowchart provided by the embodiments of the present application. As shown in (b) in FIG. 21, taking the double-touch operation as an example, the device shortcut operation method provided by the embodiments of the present application can be implemented based on the following S2101B-S2104B:

[0254] S2101B: accompanied by a first touch operation of the user on the button, the electronic device presents a first motion effect, the first motion effect includes: the operation indication object translates from a first position on the display screen to a second position on the display screen and then moves back to the first position.

[0255] S2102B: when the first touch operation is completed, the electronic device displays first information, the first information representing a first function state of an application function corresponding to the double-touch operation.

[0256] S2103B: accompanied by a second touch operation of the user on the button, the electronic device presents a second motion effect.

[0257] S2104B: When the second touch operation is completed, the electronic device switches the first function state to the second function state, displays the second information, and the second information represents the second function state of the application function corresponding to the double touch operation.

[0258] For related descriptions of S2101B and S2103B, refer to the descriptions of S1301B and S1302B above; for related descriptions of S2102B and S2104B, refer to the descriptions of S1501B and S1502B above, which are not repeated here.

[0259] As an example, the operation indication object includes a light bar.

[0260] As an example, as shown in FIG. 26A, accompanied by the first touch operation 2601 of the user on the key, the electronic device presents a first dynamic effect that the light bar is translated from the first position on the display screen to the second position on the display screen and then moves back to the first position; when the first touch operation 2601 is completed, the electronic device no longer displays the light bar, and displays the current sound mode identifier 2602 of the sound mode function corresponding to the double touch operation; then, accompanied by the second touch operation 2603 of the user on the key, the electronic device presents a second dynamic effect that the light bar is translated from the first position on the display screen to the second position on the display screen and then moves back to the first position; when the second touch operation 2603 is completed, the electronic device can perform 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 the mute mode to the ring mode, and displaying the sound mode identifier 2604 after the switching.

[0261] In some embodiments, if the double touch operation is a fast double touch operation, such as a time interval between the first touch operation and the second touch operation is less than a fourth preset time threshold, for example, the electronic device can also not display the first dynamic effect that the light bar is translated from the first position on the display screen to the second position on the display screen and then moves back to the first position during the process of the first touch operation of the user. The fourth preset time threshold is less than the second preset time threshold.

[0262] As an example, as shown in FIG. 26B, accompanied by the first touch operation 2601 of the user on the key, the electronic device presents a first dynamic effect that the light bar is translated from the first position on the display screen to the second position on the display screen and then moves back to the first position; when the first touch operation 2601 is completed, the electronic device no longer displays the light bar, and displays the current sound mode identifier 2602 of the sound mode function corresponding to the double touch operation; then, accompanied by the second touch operation 2603 of the user on the key, 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 the mute mode to the ring mode, and displaying the sound mode identifier 2604 after the switching. The time interval between the second touch operation 2603 and the first touch operation 2601 is small, for example, less than the fourth preset time threshold.

[0263] FIG. 26A and FIG. 26B only take switching the sound mode from the mute mode to the ring mode as an example in response to the double-touch operation, and in actual applications, the sound mode can also be switched from the mute mode to the vibration mode in response to the double-touch operation, without specific limitation.

[0264] As can be seen from FIG. 22-FIG. 26B, based on the shortcut operation method of the device shown in (a) of FIG. 21 or (b) of FIG. 21, the electronic device can not only support the user to quickly trigger the operation on the target object (such as an application, an application function, an application card, an applicationlet, or a function state) in the electronic device through a more simple and convenient double-touch operation or a double-touch and sliding operation on the key, providing the user with a more rapid and convenient device operation experience, but also can follow the user's touch operation on the key to display the corresponding bounce effect, providing the user with a more immersive touch operation experience, and by displaying the icon of the target object, improving the user's cognition of the double-touch operation, reminding the user of the target object corresponding to the double-touch operation, and guiding the user to continue to perform the next touch operation, improving the fault tolerance of the double-touch operation, and solving the problem of possible user misoperation.

[0265] As an example, the first touch operation in the above embodiments is a short touch operation, such as the first touch operation being an operation with a key contact time less than a first time length, and in some embodiments, the first touch operation can also be a long touch operation, such as the first touch operation being an operation with a key contact time greater than a second time length, where the second time length is greater than or equal to the first time length. In some examples, for the case where the first touch operation is a long touch operation, the light bar can also leave at the second position when the user completes the first touch operation and lifts the hand, without limitation.

[0266] In some embodiments, for the case where the first touch operation is a long touch operation, the second guide content is displayed when the user completes the first touch operation and has not lifted the hand, for guiding the user to perform certain operations, including but not limited to a down sliding operation guide, an up sliding operation guide, a left sliding operation guide, a right sliding operation guide, and the like.

[0267] The light bar shape, dynamic effect, and the like in the above embodiments are only illustrative, and the embodiments of the present application are not limited thereto.

[0268] It should be understood that the various schemes of the embodiments of the present application can be reasonably combined for use, and the explanation or description of each term appearing in the embodiments can be mutually referenced or explained in the various embodiments, without limitation.

[0269] It should also be understood that in the various embodiments of the present application, the size of the serial number of each process does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0270] It can be understood that, in order to implement the functions of any one of the above embodiments, the electronic device comprises hardware structures and / or software modules corresponding to the functions. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is performed by hardware or 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 the present application.

[0271] The embodiments of the present application can divide the electronic device into functional modules. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The integrated module can be realized in the form of hardware or software functional module. It should be noted that the division of the modules in the embodiments of the present application is illustrative, and is only a logical functional division. Actual implementation can have another division manner.

[0272] It should also be understood that each module in the electronic device can be realized in the form of software and / or hardware, and is not specifically limited. In other words, the electronic device is presented in the form of functional modules. The "module" here can refer to an application specific integrated circuit (ASIC), a circuit, a processor and a memory executing one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above functions.

[0273] In an alternative way, when using software to implement the data transmission, it can be implemented in the form of computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are implemented in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be magnetic media (such as floppy disk, hard disk, magnetic tape), optical media (such as digital video disk (DVD)), or semiconductor media (such as solid state disk (SSD)), etc.

[0274] The steps of methods or algorithms described in connection with the embodiments disclosed herein can be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module can reside in RAM, flash memory, ROM, EPROM, EEPROM, registers, hard disk, a removable media, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium can be integral to the processor. The processor and the storage medium can reside in an ASIC. Alternatively, the processor and the storage medium can reside as discrete components in a computing device. Indeed, the functions of the processor and the storage medium can be provided through the platforms, such as Google and the like, and / or software modules that execute on such platforms.

[0275] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional modules is taken as an example for description, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

Claims

A shortcut operation method of a device, characterized by, The method is applied to an electronic device including a key, and the method comprises: receiving a first touch operation of a user on the key; presenting a first motion effect accompanying the first touch operation, the first motion effect comprising: an operation indication object being translated from a first position on a display screen of the electronic device to a second position on the display screen and then being translated back to the first position; receiving a second touch operation of a user on the key; presenting a second motion effect accompanying the second touch operation, the second motion effect being the same as or different from the first motion effect; in response to the first touch operation and the second touch operation, performing an action corresponding to a double-touch operation, the action corresponding to the double-touch operation comprising at least one of: opening an application, opening an application function, opening an application card, opening an application widget, switching a function state, and displaying a shortcut entry list, the shortcut entry list including a plurality of shortcut entries. The method of claim 1, wherein When the action corresponding to the double-touch operation is to display the shortcut entry list, the method further comprises: in response to a first sliding operation of a user on the key, opening a first task corresponding to a first shortcut entry in the shortcut entry list. According to the method of claim 2, wherein the first sliding operation is a sliding operation of a finger on the key without leaving the key after the second touch operation is completed; or the first sliding operation is a sliding operation of a finger on the key after the finger leaves the key and then contacts the key again after the second touch operation is completed. The method of claim 1, wherein When the action corresponding to the double-touch operation is to display the shortcut entry list, the method further comprises: in response to a long-press operation of a user on the key without leaving the key after the second touch operation is completed, opening a first task corresponding to a first shortcut entry in the shortcut entry list. The method according to any one of claims 2-4, characterized in that When the action corresponding to the double-touch operation is to display the shortcut entry list, the method further comprises: in response to a second sliding operation of a user on the key, opening a second task corresponding to a second shortcut entry, the second shortcut entry being a next shortcut entry of the first shortcut entry in the shortcut entry list. The method according to any one of claims 1-4, characterized in that When the action corresponding to the double-touch operation comprises opening a target object, the target object comprises at least one of: an application, an application function, an application card, and an application widget, the method further comprises: after the user completes the first touch operation and lifts the hand, displaying an icon of the target object. The method according to any one of claims 1-4, characterized in that Before receiving the first touch operation of a user on the key, the electronic device displays a notification bar, and the action corresponding to the double-touch operation comprises opening at least one of: an application, an application function, an application card, and an application widget corresponding to a notification in the notification bar. The method of claim 7, wherein The notification bar comprises: a message notification bar or a live notification bar. The method according to any one of claims 1-4, characterized in that When the action corresponding to the double-touch operation is to switch a function state of an application function, the method further comprises: after the user completes the first touch operation and lifts the hand, displaying a first function state of the application function; When the action corresponding to the double-touch operation is performed, it comprises: after the user completes the second touch operation and lifts the hand, switching the first function state to a second function state. The method according to any one of claims 1-4, 8, characterized in that, The key comprises: a power key, a volume key, or a physical shortcut key. The method according to any one of claims 1-4, 8, characterized in that, The time interval between the first touch operation and the second touch operation is less than a first preset time threshold. A shortcut operation method of a device, characterized by, The method is applied to an electronic device including a key, and the method comprises: receiving a user operation on the key, the operation including any one of a double touch operation, a sliding operation, and a long press operation; in response to the operation, performing an action corresponding to the operation, the action including at least one of opening an application, opening an application function, opening an application card, opening an application widget, switching a function state, and displaying a shortcut entry list including one or more shortcut entries. The method of claim 12, wherein The operation is a double touch operation including a first touch operation and a second touch operation, and the method further comprises: presenting a first dynamic effect accompanying the first touch operation, the first dynamic effect including the operation indicating object translating from a first position on a display screen of the electronic device to a second position on the display screen and then moving back to the first position; presenting a second dynamic effect accompanying the second touch operation. The method of claim 13, wherein The action corresponding to the double touch operation is displaying a shortcut entry list, and the method further comprises: in response to a first sliding operation of a user on the key, opening a first task corresponding to a first shortcut entry in the shortcut entry list. The method of claim 14, wherein the first sliding operation is a sliding operation of a finger on the key without leaving the key after completing the second touch operation; or the first sliding operation is a sliding operation of the finger on the key again after leaving the key after completing the second touch operation. The method of claim 13, wherein The action corresponding to the double touch operation is displaying a shortcut entry list, and the method further comprises: in response to a long press operation of a user on the key without leaving the key after completing the second touch operation, opening a first task corresponding to a first shortcut entry in the shortcut entry list. The method according to any one of claims 14-16, characterized in that The action corresponding to the double touch operation is displaying a shortcut entry list, and the method further comprises: in response to a second sliding operation of a user on the key, opening a second task corresponding to a second shortcut entry, the second shortcut entry being a next shortcut entry of the first shortcut entry in the shortcut entry list. The method according to any one of claims 13-16, characterized in that The action corresponding to the double touch operation includes opening a target object including at least one of an application, an application function, an application card, and an application widget, and the method further comprises: after the user completes the first touch operation and lifts the hand, displaying an icon of the target object. The method according to any one of claims 12-16, characterized in that Before receiving the operation of the user on the key, the electronic device displays a notification bar, and the action corresponding to the operation includes opening at least one of an application, an application function, an application card, and an application widget corresponding to a notification in the notification bar. The method of claim 19, wherein The notification bar includes a message notification bar or a live notification bar. The method according to any one of claims 13-16, 20, characterized in that The action corresponding to the double touch operation is switching a function state of an application function, and the method further comprises: after the user completes the first touch operation and lifts the hand, displaying a first function state of the application function; The action corresponding to the operation includes: after the user completes the second touch operation and lifts the hand, switching the first function state to a second function state. The method according to any one of claims 12-16, 20, characterized in that The keys include a power key, a volume key, or a physical shortcut key. The method according to any one of claims 12-16, 20, characterized in that A time interval between the first touch operation and the second touch operation is less than a first preset time threshold. An electronic device, characterized by comprising: The electronic device includes: a touch sensor configured to receive a touch operation of a user; a memory configured to store one or more programs; a processor configured to execute the one or more programs to cause the electronic device to implement the method of any one of claims 1-11 or 12-23. A readable storage medium characterized in that, The readable storage medium has program instructions stored thereon, and the program instructions, when executed by an electronic device, implement the method of any one of claims 1-11 or 12-23. A program product comprising instructions, characterized in that The program product, when running on a device, causes the electronic device to perform the method of any one of claims 1-11 or 12-23.

Citation Information

Patent Citations

  • Sound recoding method and system based on mobile terminal

    CN104954565A

  • Terminal control method and device

    CN105653186A

  • Method and apparatus for opening application

    CN106227570A

  • Method and system for rapidly starting terminal application as well as terminal

    CN106293423A

  • Application program starting method and device and mobile terminal

    CN106598389A