Movatterモバイル変換


[0]ホーム

URL:


CN111880920A - Control method of application shortcut key, terminal equipment and storage medium - Google Patents

Control method of application shortcut key, terminal equipment and storage medium
Download PDF

Info

Publication number
CN111880920A
CN111880920ACN202010745875.XACN202010745875ACN111880920ACN 111880920 ACN111880920 ACN 111880920ACN 202010745875 ACN202010745875 ACN 202010745875ACN 111880920 ACN111880920 ACN 111880920A
Authority
CN
China
Prior art keywords
application
state
application shortcut
shortcut key
touch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010745875.XA
Other languages
Chinese (zh)
Other versions
CN111880920B (en
Inventor
江雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010745875.XApriorityCriticalpatent/CN111880920B/en
Publication of CN111880920ApublicationCriticalpatent/CN111880920A/en
Application grantedgrantedCritical
Publication of CN111880920BpublicationCriticalpatent/CN111880920B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请实施例公开了一种应用快捷键的控制方法、终端设备及存储介质,应用于终端技术领域,所述方法可以包括:终端设备获取对显示界面上关于第一应用程序的第一应用快捷键的第一输入;响应于所述第一输入,获取应用快捷键集合对应的目标状态;其中,所述应用快捷键集合至少包括所述第一应用快捷键;控制所述应用快捷键集合中的各个应用快捷键从当前状态切换至所述目标状态。可见,本申请通过对至少一个应用快捷键进行状态切换,使得应用快捷键的状态可以灵活切换,从而实现了应用快捷键的形态多样化。

Figure 202010745875

The embodiment of the present application discloses a method for controlling application shortcut keys, a terminal device, and a storage medium, which are applied to the field of terminal technology. The first input of the key; in response to the first input, obtain the target state corresponding to the set of application shortcut keys; wherein, the set of application shortcut keys includes at least the first application shortcut key; control the set of application shortcut keys in the Each application shortcut key of is switched from the current state to the target state. It can be seen that the present application switches the state of at least one application shortcut key so that the state of the application shortcut key can be switched flexibly, thereby realizing the diversification of the form of the application shortcut key.

Figure 202010745875

Description

Translated fromChinese
应用快捷键的控制方法、终端设备及存储介质Application shortcut key control method, terminal device and storage medium

技术领域technical field

本申请涉及终端技术领域,尤其涉及一种应用快捷键的控制方法、终端设备及存储介质。The present application relates to the technical field of terminals, and in particular, to a control method for application shortcut keys, a terminal device and a storage medium.

背景技术Background technique

用户在使用终端设备已安装的应用程序A的过程中,需要频繁地将应用程序A切换至应用程序B,以查看应用程序B相关的进度信息。在相关技术中,可以通过启动应用快捷键查看应用程序B相关的进度信息,而无需频繁地进行应用程序的切换。但是,现有的应用快捷键通常维持一种形态,从而导致形态过于单一,无法满足使用需求。In the process of using the application A installed on the terminal device, the user needs to frequently switch the application A to the application B to view the progress information related to the application B. In the related art, the progress information related to the application B can be viewed by starting the application shortcut key without frequently switching applications. However, the existing application shortcut keys usually maintain one form, resulting in a form that is too single and cannot meet the needs of use.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供了一种应用快捷键的控制方法、终端设备及存储介质,本申请通过对至少一个应用快捷键进行状态切换,使得应用快捷键的状态可以灵活切换,从而实现了应用快捷键的形态多样化。The embodiments of the present application provide a control method, a terminal device and a storage medium for an application shortcut key. The present application switches the state of at least one application shortcut key so that the state of the application shortcut key can be flexibly switched, thereby realizing the application shortcut key. of diverse forms.

根据本申请实施例的第一方面,提供一种应用快捷键的控制方法,应用于终端设备,所述方法包括:According to a first aspect of the embodiments of the present application, a method for controlling application shortcut keys is provided, which is applied to a terminal device, and the method includes:

获取对显示界面上关于第一应用程序的第一应用快捷键的第一输入;obtaining a first input to a first application shortcut key of the first application on the display interface;

响应于所述第一输入,获取应用快捷键集合对应的目标状态;其中,所述应用快捷键集合至少包括所述第一应用快捷键;In response to the first input, obtain a target state corresponding to a set of application shortcut keys; wherein, the set of application shortcut keys includes at least the first application shortcut key;

控制所述应用快捷键集合中的各个应用快捷键从当前状态切换至所述目标状态。Controlling each application shortcut key in the set of application shortcut keys to switch from the current state to the target state.

根据本申请实施例的第二方面,提供一种终端设备,包括:According to a second aspect of the embodiments of the present application, a terminal device is provided, including:

获取模块,用于获取对显示界面上关于第一应用程序的第一应用快捷键的第一输入;以及,an obtaining module, configured to obtain the first input on the first application shortcut key of the first application on the display interface; and,

响应于所述第一输入,获取应用快捷键集合对应的目标状态;其中,所述应用快捷键集合至少包括所述第一应用快捷键;In response to the first input, obtain a target state corresponding to a set of application shortcut keys; wherein, the set of application shortcut keys includes at least the first application shortcut key;

控制模块,用于控制所述应用快捷键集合从当前状态切换至所述目标状态。A control module, configured to control the application shortcut key set to switch from the current state to the target state.

根据本申请实施例的第三方面,提供一种终端设备,包括处理器和存储器,所述处理器和存储器耦合,所述存储器用于存储计算机程序指令,当所述处理器执行所述计算机程序指令时,使得终端设备执行上述第一方面所述的应用快捷键的控制方法。According to a third aspect of the embodiments of the present application, a terminal device is provided, including a processor and a memory, the processor and the memory are coupled, and the memory is used for storing computer program instructions, when the processor executes the computer program When the command is executed, the terminal device is made to execute the control method of the application shortcut key described in the first aspect.

根据本申请实施例的第四方面,提供一种计算机存储介质,所述计算机存储介质中存储有程序指令,当所述程序指令在终端设备上运行时,使得终端设备执行上述第一方面所述的应用快捷键的控制方法。According to a fourth aspect of the embodiments of the present application, a computer storage medium is provided, where program instructions are stored in the computer storage medium, and when the program instructions are executed on a terminal device, the terminal device is made to execute the above-mentioned first aspect. The control method of the application shortcut keys.

根据本申请实施例的第五方面,提供一种芯片,所述芯片与终端设备中的存储器耦合,使得所述芯片在运行时调用所述存储器中存储的程序指令,使得所述终端设备执行上述第一方面所述的应用快捷键的控制方法。According to a fifth aspect of the embodiments of the present application, a chip is provided, the chip is coupled to a memory in a terminal device, so that the chip invokes program instructions stored in the memory when running, so that the terminal device executes the above The control method of the application shortcut key described in the first aspect.

从以上技术方案可以看出,本申请实施例具有以下优点:终端设备首先获取对显示界面上关于第一应用程序的第一应用快捷键的第一输入;接着响应于所述第一输入,获取应用快捷键集合对应的目标状态;其中,所述应用快捷键集合至少包括所述第一应用快捷键;最后控制所述应用快捷键集合中的各个应用快捷键从当前状态切换至所述目标状态。可见,本申请通过对至少一个应用快捷键进行状态切换,使得应用快捷键的状态可以灵活切换,从而实现了应用快捷键的形态多样化。It can be seen from the above technical solutions that the embodiments of the present application have the following advantages: the terminal device first obtains the first input of the first application shortcut key related to the first application on the display interface; then, in response to the first input, obtains The target state corresponding to the application shortcut key set; wherein, the application shortcut key set includes at least the first application shortcut key; finally, each application shortcut key in the application shortcut key set is controlled to switch from the current state to the target state . It can be seen that the present application switches the state of at least one application shortcut key so that the state of the application shortcut key can be switched flexibly, thereby realizing the diversification of the form of the application shortcut key.

附图说明Description of drawings

为了更清楚地说明本申请实施例技术方案,下面将对实施例和现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,还可以根据这些附图获得其它的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments and the prior art. Obviously, the drawings in the following description are only some implementations of the present application. For example, other drawings may also be obtained from these drawings.

图1为本申请实施例提供的一种终端设备显示的界面的示意图;FIG. 1 is a schematic diagram of an interface displayed by a terminal device according to an embodiment of the present application;

图2A为本申请实施例提供的一种应用快捷键的控制方法的示意图;2A is a schematic diagram of a method for controlling application shortcut keys according to an embodiment of the present application;

图2B为本申请实施例提供的另一种终端设备显示的界面的示意图;2B is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;

图2C为本申请实施例提供的另一种终端设备显示的界面的示意图;2C is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;

图2D为本申请实施例提供的另一种终端设备显示的界面的示意图;2D is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;

图2E为本申请实施例提供的另一种终端设备显示的界面的示意图;2E is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;

图2F为本申请实施例提供的另一种终端设备显示的界面的示意图;2F is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;

图2G为本申请实施例提供的另一种终端设备显示的界面的示意图;2G is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;

图2H为本申请实施例提供的另一种终端设备显示的界面的示意图;2H is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;

图2I为本申请实施例提供的一种应用快捷键的控制方法的示意图;2I is a schematic diagram of a control method for an application shortcut key provided by an embodiment of the present application;

图2J为本申请实施例提供的另一种终端设备显示的界面的示意图;2J is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;

图2K为本申请实施例提供的另一种终端设备显示的界面的示意图;2K is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;

图2L为本申请实施例提供的另一种终端设备显示的界面的示意图;2L is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;

图2M为本申请实施例提供的另一种终端设备显示的界面的示意图;2M is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;

图2N为本申请实施例提供的另一种终端设备显示的界面的示意图;2N is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;

图2O为本申请实施例提供的另一种终端设备显示的界面的示意图;20 is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;

图2P为本申请实施例提供的另一种终端设备显示的界面的示意图;2P is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;

图2Q为本申请实施例提供的另一种终端设备显示的界面的示意图;2Q is a schematic diagram of an interface displayed by another terminal device provided by an embodiment of the present application;

图2R为本申请实施例提供的另一种终端设备显示的界面的示意图;2R is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;

图3为本申请实施例提供的另一种应用快捷键的控制方法的示意图;3 is a schematic diagram of another method for controlling application shortcut keys provided by an embodiment of the present application;

图4为本申请实施例提供的另一种应用快捷键的控制方法的示意图;4 is a schematic diagram of another method for controlling application shortcut keys provided by an embodiment of the present application;

图5为本申请实施例提供的一种终端设备的结构框图;FIG. 5 is a structural block diagram of a terminal device provided by an embodiment of the present application;

图6为本申请实施例提供的一种终端设备的结构框图。FIG. 6 is a structural block diagram of a terminal device provided by an embodiment of the present application.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,都应当属于本申请保护的范围。In order to make those skilled in the art better understand the solutions of the present application, 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. Obviously, the described embodiments are only a part of the present application. examples, but not all examples. Based on the embodiments in this application, all should belong to the scope of protection of this application.

首先,对应用快捷键的应用场景进行示例性说明。示例性的,在启动游戏应用程序的应用快捷键开关的情况下,若用户在玩游戏应用程序的过程中等待飞机起飞时返回桌面,并启动一个聊天应用程序,则终端设备在显示界面上自动悬浮显示关于游戏应用程序的应用快捷键,且该应用快捷键上显示有与飞机起飞相关的关键信息,无需用户在两个应用程序之间频繁切换,只需看一眼显示界面上的应用快捷键即可迅速获取关于飞机起飞的关键信息,以及点击应用快捷键即可快速返回游戏应用程序。由此可见,应用快捷键为用户退出一个应用程序的前端时,终端设备自动在显示界面上显示的关于该个应用程序的控件。其中,应用快捷键可以为定制的模式。First, an example description is given of an application scenario of applying a shortcut key. Exemplarily, in the case of starting the application shortcut key switch of the game application, if the user returns to the desktop while waiting for the plane to take off while playing the game application, and starts a chat application, the terminal device will automatically display on the display interface. The application shortcut key about the game application is displayed in the suspension, and the key information related to the take-off of the aircraft is displayed on the application shortcut key. It is not necessary for the user to frequently switch between the two applications, but only need to glance at the application shortcut key on the display interface. Quickly get critical information about the plane taking off, and tap the app shortcut to quickly return to the gaming app. It can be seen that the application shortcut key is a control related to the application program that is automatically displayed on the display interface by the terminal device when the user exits the front end of an application program. The application shortcut key may be a customized mode.

例如,如图1所示,关于游戏应用程序的应用快捷键可以悬浮显示在聊天界面上,且该应用快捷键上显示的关键信息包括飞机起飞的进度信息。在相关技术中,同一时间只显示一个应用快捷键,并且应用快捷键展开的关键信息(即图1中的“已经起飞”和“00:45”)无法收起,这样容易对显示界面上的内容造成信息遮挡。For example, as shown in FIG. 1 , an application shortcut key related to a game application can be suspended and displayed on the chat interface, and the key information displayed on the application shortcut key includes the progress information of the plane taking off. In the related art, only one application shortcut key is displayed at the same time, and the key information expanded by the application shortcut key (ie, "has taken off" and "00:45" in Fig. 1 ) cannot be folded, so that it is easy to interpret the information on the display interface. Content obscures information.

基于上述问题,本申请实施例提供了一种应用快捷键的控制方法,通过对至少一个应用快捷键进行状态切换,使得应用快捷键的状态可以灵活切换,从而实现了应用快捷键的形态多样化。Based on the above problems, an embodiment of the present application provides a control method for an application shortcut key. By switching the state of at least one application shortcut key, the state of the application shortcut key can be flexibly switched, thereby realizing the diversification of the form of the application shortcut key. .

下面将结合具体实施例对本申请中的应用快捷键的控制方法进行详细介绍。The control method of the application shortcut key in the present application will be described in detail below with reference to specific embodiments.

图2A为本申请实施例提供的一种应用快捷键的控制方法的流程示意图。所述方法可以应用于终端设备,示例性的,该终端设备可以包括手机、平板电脑、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、手持计算机、上网本、个人数字助理(personal digital assistant,PDA)、可穿戴设备(如手表、手腕、眼镜、头盔、头带等)等终端设备,本申请实施例对终端设备的具体形式不做特殊限制。FIG. 2A is a schematic flowchart of a method for controlling application shortcut keys according to an embodiment of the present application. The method can be applied to a terminal device. Exemplarily, the terminal device can include a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a handheld computer, a netbook, and a personal digital assistant (personal digital assistant). digital assistant, PDA), wearable devices (such as watches, wrists, glasses, helmets, headbands, etc.) and other terminal devices, the specific form of the terminal device is not particularly limited in this embodiment of the present application.

如图2A所示,所述方法可以包括:As shown in Figure 2A, the method may include:

201、获取对显示界面上关于第一应用程序的第一应用快捷键的第一输入。201. Obtain a first input of a first application shortcut key related to a first application on a display interface.

其中,第一应用快捷键可以为闪回键,本申请对此不作限定。应理解,本申请中涉及的应用快捷键可以具备不同应用之间快速切换的功能,以及显示关键信息的功能等等。The first application shortcut key may be a flashback key, which is not limited in this application. It should be understood that the application shortcut keys involved in this application may have the function of quickly switching between different applications, and the function of displaying key information, and so on.

在本申请的可选实施例中,第一输入可以包括但不限于以下输入中的至少一种:触控输入、语音输入、手势输入以及对终端设备进行的晃动输入。In an optional embodiment of the present application, the first input may include, but is not limited to, at least one of the following inputs: touch input, voice input, gesture input, and shaking input to the terminal device.

可以理解的是,显示界面上可以显示关于至少一个应用程序分别对应的应用快捷键。其中,至少一个应用程序至少包括第一应用程序。示例性的,如图2B和2C所示,示出了一种显示界面上显示有五个应用程序对应的应用快捷键的界面图。It can be understood that, application shortcut keys corresponding to at least one application program may be displayed on the display interface. Wherein, at least one application program includes at least the first application program. Exemplarily, as shown in FIGS. 2B and 2C , an interface diagram in which application shortcut keys corresponding to five application programs are displayed on a display interface is shown.

一种实施例中,上述所述的至少一个应用程序可以为用户预先启动应用快捷键开关的应用程序中的应用程序。示例性的,如图2D所示,可以设置有应用快捷键功能对应的开关控件,以及各个应用程序对应的开关控件。在应用快捷键功能对应的开关控件启动的情况下,可以对各个应用程序设置是否启动对应的应用快捷键功能,图2D中是以启动APP1、APP2、APP5、APP6、APP8分别对应的应用快捷键功能为例进行说明的。在应用快捷键对应的开关控件关闭的情况下,无法对各个应用程序设置是否启动对应的应用快捷键功能。In an embodiment, the above-mentioned at least one application program may be an application program among the application programs to which the user pre-launches the shortcut key switch. Exemplarily, as shown in FIG. 2D , switch controls corresponding to application shortcut key functions and switch controls corresponding to each application program may be provided. When the switch control corresponding to the application shortcut key function is activated, it is possible to set whether to activate the corresponding application shortcut key function for each application. In Figure 2D, the application shortcut keys corresponding to APP1, APP2, APP5, APP6, and APP8 are activated respectively. The function is described as an example. When the switch control corresponding to the application shortcut key is turned off, it is impossible to set whether to activate the corresponding application shortcut key function for each application.

其中,应用快捷键上显示的关键信息可以为对应的应用程序中目标进程的进度信息;其中,目标进程可以为预先设定的进程,也可以为当前执行的进程,本申请对此不作特殊限制。The key information displayed on the application shortcut key may be the progress information of the target process in the corresponding application program; wherein, the target process may be a preset process or a currently executing process, which is not limited in this application. .

需要说明的是,预先在终端设备的显示屏上设置有应用快捷键显示区域。这样,终端设备在应用快捷键显示区域上显示关于至少一个应用程序分别对应的应用快捷键。其中,应用快捷键显示区域可以为显示较少重要信息的区域,例如可以为显示屏上的边缘区域。图2B所示的应用快捷键显示区域为终端设备在竖屏显示时对应的右边缘区域,图2C所示的应用快捷键显示区域为终端设备在横屏显示时对应的右边缘区域。这样,通过将至少一个应用程序分别对应的应用快捷键显示在重要信息较少显示的区域,从而减少了对重要信息的遮挡。It should be noted that an application shortcut key display area is pre-configured on the display screen of the terminal device. In this way, the terminal device displays application shortcut keys corresponding to at least one application program on the application shortcut key display area. The application shortcut key display area may be an area where less important information is displayed, for example, may be an edge area on the display screen. The application shortcut key display area shown in FIG. 2B is the right edge area corresponding to the terminal device in portrait display, and the application shortcut key display area shown in FIG. 2C is the right edge area corresponding to the terminal device in landscape display. In this way, by displaying the application shortcut keys corresponding to at least one application program in an area where less important information is displayed, the occlusion of important information is reduced.

在本申请可选实施例中,第一应用程序可以包括但不限于以下情况:In an optional embodiment of the present application, the first application program may include but is not limited to the following situations:

情况一、第一应用程序为第一预设时间段内处于运行状态的应用程序,第一预设时间段的终止时刻与当前时刻相同。Case 1: The first application program is an application program in a running state within a first preset time period, and the termination time of the first preset time period is the same as the current time.

可以理解的是,由于用户对较长时间(例如1天、1周等)前使用过的应用程序并不关注进度,故本申请无需展示较长时间前使用过的应用程序对应的应用快捷键。基于此,第一预设时间段的时长小于等于预置时长(例如2个小时、一天等)。It is understandable that, since the user does not pay attention to the progress of the applications used for a long time (for example, 1 day, 1 week, etc.), this application does not need to display the application shortcut keys corresponding to the applications used for a long time ago. . Based on this, the duration of the first preset time period is less than or equal to the preset duration (eg, 2 hours, one day, etc.).

需要说明的是,本申请中的处于运行状态指的是应用程序的后端处于运行的状态。It should be noted that, in the running state in this application refers to the state in which the backend of the application is running.

应理解,在情况一中,上述所述的至少一个应用程序均为第一预设时间段内处于运行状态的应用程序。It should be understood that, in the first case, the at least one application program described above is an application program that is in a running state within the first preset time period.

情况二、第一应用程序为处于运行状态且最近运行的M个应用程序中的一个应用程序,M为正整数。Case 2: The first application is one application among M applications that are in a running state and run recently, and M is a positive integer.

可以理解的是,由于终端设备的显示屏的尺寸有限,故若显示的应用快捷键的数量较多,则会造成显示界面中的内容遮挡较多,从而导致用户体验较差。基于此,在一种实现方式中,本申请中的M可以根据显示屏的尺寸确定,其中,显示屏的尺寸越大,则M越大;显示屏的尺寸越小,则M越小。在另一种实现方式中,M为预先设定的数值,例如M设置为5。It can be understood that, due to the limited size of the display screen of the terminal device, if the number of displayed application shortcut keys is large, the content in the display interface will be blocked more, resulting in poor user experience. Based on this, in an implementation manner, M in the present application may be determined according to the size of the display screen, wherein the larger the size of the display screen, the larger the M; the smaller the size of the display screen, the smaller the M. In another implementation manner, M is a preset value, for example, M is set to 5.

应理解,在情况二中,上述所述的至少一个应用程序可以为处于运行状态且最近运行的M个应用程序。It should be understood that, in the second case, the above-mentioned at least one application program may be the M application programs that are in a running state and run recently.

情况三、第一应用程序为处于运行状态的N个应用程序中的一个应用程序,N个应用程序为按照应用快捷键显示优先级确定的应用程序,N为正整数。Scenario 3: The first application is one of N applications in a running state, the N applications are applications determined according to the display priority of application shortcut keys, and N is a positive integer.

可以理解的是,同样考虑到终端设备的显示屏的尺寸有限的问题,在启动应用快捷键功能的应用程序较多的情况下,若将较多应用程序的应用快捷键在显示界面全部显示,则会造成显示界面中的内容遮挡较多。基于此,本申请中预先设置N以及各个应用程序对应的应用快捷键显示优先级,N的设置方法可以参考M的设置过程,各个应用程序对应的应用快捷键显示优先级的设置过程可以参考下面方式一中所述的至少一个应用程序的预设顺序的设置过程,此处不再赘述。It can be understood that, considering the limited size of the display screen of the terminal device, in the case of many applications that activate the application shortcut key function, if all the application shortcut keys of many applications are displayed on the display interface, This will cause more content in the display interface to be occluded. Based on this, in this application, N and the display priority of the application shortcut keys corresponding to each application program are preset. The setting method of N can refer to the setting process of M, and the setting process of the display priority of the application shortcut keys corresponding to each application program can refer to the following. The process of setting the preset sequence of the at least one application program described in the first manner will not be repeated here.

应理解,在情况三中,上述所述的至少一个应用程序可以为处于运行状态且应用快捷键显示优先级靠前的N个应用程序。It should be understood that, in the third case, the above-mentioned at least one application program may be the N application programs that are in a running state and the application shortcut keys display priority.

在本申请的实施例中,可以通过但不限于以下方式在显示界面上显示关于至少一个应用程序的应用快捷键:In the embodiments of the present application, the application shortcut keys related to at least one application program may be displayed on the display interface in but not limited to the following ways:

方式一、终端设备可以按照至少一个应用程序的预设顺序,在显示界面上显示关于至少一个应用程序的应用快捷键。其中,若应用程序对应的预设顺序越靠前,则对应的应用快捷键在显示界面上越靠前;若应用程序对应的预设顺序越靠后,则对应的应用快捷键在显示界面上越靠后。Manner 1: The terminal device may display application shortcut keys related to the at least one application program on the display interface according to the preset sequence of the at least one application program. Wherein, if the preset sequence corresponding to the application program is higher, the corresponding application shortcut key will be higher on the display interface; if the preset sequence corresponding to the application program is further back, the corresponding application shortcut key will be higher on the display interface. back.

其中,预设顺序可以为在图2D所示的界面中进行设置的顺序。例如,可以通过对各个应用程序的程序标识进行拖拽以改变各个应用程序的预设顺序。图2D中启动APP1、APP2、APP5、APP6、APP8分别对应的应用快捷键功能,以及APP1、APP2、APP5、APP6、APP8分别对应的先后顺序为:APP1、APP2、APP5、APP8、APP6。这样,在至少一个应用程序为APP1、APP2、APP5、APP6、APP8的情况下,在显示界面上显示关于至少一个应用程序的应用快捷键的示意图如图2B所示。The preset sequence may be the sequence set in the interface shown in FIG. 2D . For example, the preset order of each application program can be changed by dragging and dropping the program identifier of each application program. In Figure 2D, the application shortcut key functions corresponding to APP1, APP2, APP5, APP6, and APP8 are activated, and the corresponding sequences of APP1, APP2, APP5, APP6, and APP8 are: APP1, APP2, APP5, APP8, and APP6. In this way, when the at least one application program is APP1, APP2, APP5, APP6, APP8, the schematic diagram of displaying the application shortcut keys of the at least one application program on the display interface is as shown in FIG. 2B .

方式二、终端设备可以按照至少一个应用程序对应的最近前端退出时刻,在显示界面上显示关于至少一个应用程序的应用快捷键。其中,若应用程序对应的最近前端退出时刻距离当前时刻越近,则对应的应用快捷键在显示界面上越靠前;若应用程序对应的最近前端退出时刻距离当前时刻越远,则对应的应用快捷键在显示界面上越靠后。Manner 2: The terminal device may display an application shortcut key related to at least one application program on the display interface according to the latest front-end exit time corresponding to the at least one application program. Among them, if the nearest front-end exit time corresponding to the application is closer to the current time, the corresponding application shortcut key will be placed earlier on the display interface; if the nearest front-end exit time corresponding to the application is farther from the current time, the corresponding application shortcut The keys are further back on the display interface.

示例性的,若APP1、APP2、APP5、APP6、APP8对应的最近退出时刻依次为:2020年7月12日18:09、2020年7月12日18:20、2020年7月12日18:50、2020年7月12日19:25、2020年7月12日19:05,且当前时刻为2020年7月21日19:30,则如图2B所示,APP1、APP2、APP5、APP6、APP8对应的应用快捷键的先后顺序为:APP1对应的应用快捷键、APP2对应的应用快捷键、APP5对应的应用快捷键、APP8对应的应用快捷键、APP6对应的应用快捷键。Exemplarily, if the most recent exit times corresponding to APP1, APP2, APP5, APP6, and APP8 are: 18:09 on July 12, 2020, 18:20 on July 12, 2020, and 18:09 on July 12, 2020 50. July 12, 2020 19:25, July 12, 2020 19:05, and the current time is July 21, 2020 19:30, as shown in Figure 2B, APP1, APP2, APP5, APP6 The order of application shortcut keys corresponding to APP8 is: application shortcut keys corresponding to APP1, application shortcut keys corresponding to APP2, application shortcut keys corresponding to APP5, application shortcut keys corresponding to APP8, and application shortcut keys corresponding to APP6.

方式三、终端设备可以按照至少一个应用程序在预设历史时间段内(例如近一个小时内,近一天内等)的使用频率,在显示界面上显示关于至少一个应用程序的应用快捷键。可选地,预设历史时间段的终止时刻可以与当前时刻相同。其中,若应用程序对应的使用频率越高,则对应的应用快捷键在显示界面上越靠前;若应用程序对应的使用频率越低,则对应的应用快捷键在显示界面上越靠后。可选地,使用频率可以为用户启动应用程序的前端的次数。Manner 3: The terminal device may display application shortcut keys for at least one application on the display interface according to the usage frequency of the at least one application within a preset historical time period (eg, within an hour, within a day, etc.). Optionally, the termination moment of the preset historical time period may be the same as the current moment. Wherein, if the usage frequency corresponding to the application program is higher, the corresponding application shortcut key will be higher on the display interface; if the usage frequency corresponding to the application program is lower, the corresponding application shortcut key will be further back on the display interface. Optionally, the usage frequency may be the number of times the user starts the front end of the application.

上述实现方式只是示例性说明,本申请对此不作特殊限制。The above implementation manners are only exemplary descriptions, which are not specifically limited in the present application.

202、响应于第一输入,获取应用快捷键集合对应的目标状态;其中,应用快捷键集合至少包括第一应用快捷键。202. In response to the first input, acquire a target state corresponding to the set of application shortcut keys; wherein the set of application shortcut keys includes at least the first application shortcut key.

在本申请实施例中,应用快捷键集合可以包括显示界面上当前显示的全部或部分应用快捷键。下面分情况进行示例性说明:In this embodiment of the present application, the set of application shortcut keys may include all or part of the application shortcut keys currently displayed on the display interface. The following is an example description of the situation:

情况一、在显示界面上当前显示的应用快捷键的数量为一个的情况下,应用快捷键集合为第一应用快捷键(即相当于当前显示的全部应用快捷键)。Case 1: When the number of application shortcut keys currently displayed on the display interface is one, the set of application shortcut keys is the first application shortcut key (ie, equivalent to all currently displayed application shortcut keys).

情况二、在显示界面上当前显示的应用快捷键的数量为至少两个的情况下,应用快捷键集合可以为第一应用快捷键(即相当于当前显示的部分应用快捷键);或者,可以为显示界面上当前显示的全部应用快捷键;或者,可以为显示界面上当前显示的第一应用快捷键以及第三应用快捷键,第三应用快捷键为当前显示的全部应用快捷键中除第一应用快捷键外的至少一个应用快捷键。其中,第三应用快捷键与第一应用快捷键的当前状态相同;或者,第三应用快捷键与第一应用快捷键的当前状态相同,且第三应用快捷键为对第一应用快捷键预先绑定的进行同步状态变更的应用快捷键。Situation 2: When the number of application shortcut keys currently displayed on the display interface is at least two, the set of application shortcut keys may be the first application shortcut keys (that is, equivalent to some currently displayed application shortcut keys); or, it may be is all the application shortcut keys currently displayed on the display interface; or, it can be the first application shortcut key and the third application shortcut key currently displayed on the display interface, and the third application shortcut key is all the currently displayed application shortcut keys except the first one. At least one application shortcut key other than an application shortcut key. Wherein, the third application shortcut key is the same as the current state of the first application shortcut key; or, the third application shortcut key is the same as the current state of the first application shortcut key, and the third application shortcut key is the first application shortcut key in advance. Binding application shortcuts for synchronizing state changes.

综上,本申请中的应用快捷键集合可以包括一个应用快捷键(即第一应用快捷键),或者,两个应用快捷键,或者,多个应用快捷键。To sum up, the set of application shortcut keys in this application may include one application shortcut key (ie, the first application shortcut key), or two application shortcut keys, or multiple application shortcut keys.

在本申请的一种实施例中,在第一输入包括触控输入的情况下,本步骤可以包括:响应于第一输入,获取触控参数;根据触控参数,获取应用快捷键集合对应的目标状态;其中,触控参数包括触控移动方向、触控时长、触控压力大小、触控对象、预设时长内的触控次数、触控手势、触控移动速度、触控轨迹、触控目标位置中的至少一种。In an embodiment of the present application, in the case where the first input includes a touch input, this step may include: in response to the first input, acquiring touch parameters; and acquiring, according to the touch parameters, corresponding to the set of application shortcut keys Target state; wherein, the touch parameters include touch movement direction, touch duration, touch pressure, touch object, touch times within a preset duration, touch gesture, touch movement speed, touch trajectory, touch control at least one of the target positions.

应理解,触控对象可以包括第一应用快捷键中的第一程序标识以及第一应用快捷键中的第一关键信息。其中,第一程序标识设置于第一应用快捷键的一端,第一关键信息设置于第一应用快捷键的另一端,一端与另一端为对端关系。It should be understood that the touch object may include the first program identifier in the first application shortcut key and the first key information in the first application shortcut key. The first program identifier is set at one end of the first application shortcut key, the first key information is set at the other end of the first application shortcut key, and one end and the other end are in a peer-to-peer relationship.

203、控制应用快捷键集合中的各个应用快捷键从当前状态切换至目标状态。203. Control each application shortcut key in the application shortcut key set to switch from the current state to the target state.

在本申请的可选实施例中,目标状态和当前状态分别为以下任一个:展开状态和收起状态,且目标状态和当前状态不同;或者,当前状态为显示状态,目标状态为删除状态;或者,当前状态为处于当前位置的状态,目标状态为处于目标位置的状态;或者,目标状态和当前状态分别为以下任一个:聚合状态和散开状态,且目标状态和当前状态不同。In an optional embodiment of the present application, the target state and the current state are respectively any one of the following: an expanded state and a retracted state, and the target state is different from the current state; or, the current state is a displayed state, and the target state is a deleted state; Or, the current state is the state at the current position, and the target state is the state at the target position; or, the target state and the current state are either one of the following: an aggregated state and a diffused state, and the target state and the current state are different.

可以理解的是,本申请所述的当前位置和目标位置可以均为在显示界面上的坐标位置,或者,可以均为在显示界面上的排序位置,等等。It can be understood that the current position and the target position described in this application may both be coordinate positions on the display interface, or may both be sorted positions on the display interface, and so on.

为了便于理解,下面以第一输入为触控输入为例进行示例性的说明:For ease of understanding, an exemplary description is given below by taking the first input as a touch input as an example:

一、针对展开状态与收起状态之间的切换进行说明:1. Explain the switch between the expanded state and the collapsed state:

(1)应用快捷键集合的数量为一个,即应用快捷键集合包括第一应用快捷键(1) The number of the application shortcut key set is one, that is, the application shortcut key set includes the first application shortcut key

在一种实施例中,终端设备接收对第一应用快捷键中的第一程序标识进行的第一触发操作,并根据第一触发操作,控制第一应用快捷键进行展开状态和收起状态之间的切换。其中,若第一应用快捷键的当前状态为展开状态,则对应的目标状态为收起状态;若第一应用快捷键的当前状态为收起状态,则对应的目标状态为展开状态。In one embodiment, the terminal device receives a first trigger operation performed on the first program identifier in the first application shortcut key, and controls the first application shortcut key to perform one of the expanded state and the collapsed state according to the first trigger operation. switch between. Wherein, if the current state of the first application shortcut key is the expanded state, the corresponding target state is the collapsed state; if the current state of the first application shortcut key is the collapsed state, the corresponding target state is the expanded state.

例如,第一触发操作可以为对第一程序标识进行的单击操作,对应的触控参数可以包括:触控对象为第一程序标识,且触控次数为1次。For example, the first trigger operation may be a click operation on the first program identifier, and the corresponding touch parameters may include: the touch object is the first program identifier, and the number of touches is 1 time.

在另一种实施例中,终端设备可以接收对第一应用快捷键中的第一程序标识进行的第二触发操作,并根据第二触发操作,控制第一应用快捷键从展开状态切换至收起状态;终端设备可以接收对第一应用快捷键中的第一程序标识进行的第三触发操作,并根据第三触发操作,控制第一应用快捷键从收起状态切换至展开状态。In another embodiment, the terminal device may receive a second trigger operation on the first program identifier in the first application shortcut key, and control the first application shortcut key to switch from the expanded state to the closed state according to the second trigger operation. The terminal device can receive a third trigger operation on the first program identifier in the first application shortcut key, and control the first application shortcut key to switch from the retracted state to the expanded state according to the third trigger operation.

例如,如图2E所示,第一应用快捷键为APP6对应的应用快捷键,第二触发操作可以为从第一程序标识所在的一端朝着第一关键信息所在的另一端的滑动操作,对应的触控参数可以包括:触控对象为第一程序标识,且触控移动方向为从第一程序标识所在的一端朝着第一关键信息所在的另一端进行移动的方向。此时,APP6对应的第一应用快捷键的目标状态如图2F所示。For example, as shown in FIG. 2E , the first application shortcut key is the application shortcut key corresponding to APP6, and the second trigger operation may be a sliding operation from the end where the first program identifier is located toward the other end where the first key information is located, corresponding to The touch parameters may include: the touch object is the first program identifier, and the touch movement direction is the direction of movement from one end where the first program identifier is located to the other end where the first key information is located. At this time, the target state of the first application shortcut key corresponding to APP6 is shown in FIG. 2F .

如图2F所示,第一应用快捷键为APP6对应的应用快捷键,第三触发操作可以为从第一程序标识所在的位置背离第一目标显示屏边缘进行的滑动操作,第一目标显示屏边缘为第一程序标识距离最近的显示屏边缘且属于左右两侧,对应的触控参数可以包括:触控对象为第一程序标识,且触控移动方向为从第一程序标识所在的位置背离第一目标显示屏边缘进行移动的方向。或者,第三触发操作可以为对第一程序标识进行的单击操作,对应的触控参数可以包括:触控对象为第一程序标识,且触控次数为1次。As shown in FIG. 2F , the first application shortcut key is the application shortcut key corresponding to APP6, and the third trigger operation can be a sliding operation performed from the position where the first program identifier is located away from the edge of the first target display screen. The edge is the edge of the display screen that is closest to the first program identifier and belongs to the left and right sides. The corresponding touch parameters may include: the touch object is the first program identifier, and the touch movement direction is away from the position where the first program identifier is located. The direction in which the edge of the first target display screen moves. Alternatively, the third trigger operation may be a click operation on the first program identifier, and the corresponding touch parameters may include: the touch object is the first program identifier, and the number of touches is 1 time.

在又一种实施例中,终端设备可以接收对第一应用快捷键中的第一关键信息进行的第四触发操作,并根据第四触发操作,控制第一应用快捷键从展开状态切换至收起状态;终端设备可以接收对第一应用快捷键中的第一程序标识进行的第五触发操作,并根据第五触发操作,控制第一应用快捷键从收起状态切换至展开状态。In yet another embodiment, the terminal device may receive a fourth trigger operation on the first key information in the first application shortcut key, and control the first application shortcut key to switch from the expanded state to the closed state according to the fourth trigger operation. The terminal device can receive a fifth trigger operation on the first program identifier in the first application shortcut key, and control the first application shortcut key to switch from the retracted state to the expanded state according to the fifth trigger operation.

如图2G所示,第一应用快捷键为APP6对应的应用快捷键,第四触发操作可以为从第一关键信息所在的另一端朝着第一程序标识所在的一端进行的滑动操作,对应的触控参数可以包括:触控对象为第一关键信息,且触控移动方向为从第一关键信息所在的另一端朝着第一程序标识所在的一端进行移动的方向。此时,APP6对应的第一应用快捷键的目标状态如图2H所示。As shown in FIG. 2G , the first application shortcut key is the application shortcut key corresponding to APP6, and the fourth trigger operation may be a sliding operation from the other end where the first key information is located toward the end where the first program identifier is located, and the corresponding The touch parameters may include: the touch object is the first key information, and the touch movement direction is a direction of movement from the other end where the first key information is located toward the end where the first program identifier is located. At this time, the target state of the first application shortcut key corresponding to APP6 is shown in FIG. 2H .

第四触发操作也可以为对第一关键信息进行的单击操作,对应的触控参数可以包括:触控对象为第一关键信息,且触控次数为1次。The fourth trigger operation may also be a click operation on the first key information, and the corresponding touch parameters may include: the touch object is the first key information, and the number of touches is 1 time.

如图2I所示,第一应用快捷键为APP6对应的应用快捷键,第五触发操作可以为从第一程序标识所在的位置背离第二目标显示屏边缘进行的滑动操作,第二目标显示屏边缘为第一程序图标距离最近的显示屏边缘且属于左右两侧,对应的触控参数可以包括:触控对象为第一程序标识,且触控移动方向为从第一程序标识所在的位置背离第二目标显示屏边缘进行移动的方向。此时,APP6对应的第一应用快捷键的目标状态如图2G所示。As shown in Figure 2I, the first application shortcut key is the application shortcut key corresponding to APP6, and the fifth trigger operation can be a sliding operation that departs from the edge of the second target display screen from the position where the first program mark is located, and the second target display screen The edge is the edge of the display screen closest to the first program icon and belongs to the left and right sides, and the corresponding touch parameters may include: the touch object is the first program logo, and the touch movement direction is away from the position where the first program logo is located. The direction in which the edge of the second target display screen moves. At this time, the target state of the first application shortcut key corresponding to APP6 is shown in FIG. 2G .

如图2J所示,第一应用快捷键为APP6对应的应用快捷键,第五触发操作还可以为对第一程序标识进行的单击操作,对应的触控参数可以包括:触控对象为第一程序标识,且触控次数为1次。此时,APP6对应的第一应用快捷键的目标状态如图2G所示。As shown in FIG. 2J , the first application shortcut key is the application shortcut key corresponding to APP6, the fifth trigger operation may also be a click operation on the first program identifier, and the corresponding touch parameters may include: the touch object is the first A program identifier, and the number of touches is 1 time. At this time, the target state of the first application shortcut key corresponding to APP6 is shown in FIG. 2G .

(2)应用快捷键集合的数量为至少两个(2) The number of application shortcut key sets is at least two

若在显示界面上当前显示的全部应用快捷键的当前状态均相同,则可以通过但不限于方式进行状态切换:If the current states of all application shortcut keys currently displayed on the display interface are the same, the state switching can be performed by but not limited to:

(a)终端设备接收对第一应用快捷键中的第一程序标识进行的第六触发操作,并根据第六触发操作,控制全部应用快捷键进行展开状态和收起状态之间的切换。其中,若全部应用快捷键的当前状态均为展开状态,则对应的目标状态为收起状态;若全部应用快捷键的当前状态均为收起状态,则对应的目标状态为展开状态。(a) The terminal device receives a sixth trigger operation on the first program identifier in the first application shortcut key, and controls all application shortcut keys to switch between the expanded state and the collapsed state according to the sixth trigger operation. Wherein, if the current state of all the application shortcut keys is the expanded state, the corresponding target state is the collapsed state; if the current state of all the application shortcut keys is the collapsed state, the corresponding target state is the expanded state.

例如,第六触发操作可以为对第一程序标识进行的双击操作,对应的触控参数可以包括:触控对象为第一程序标识,且触控次数为2次。For example, the sixth trigger operation may be a double-click operation on the first program identifier, and the corresponding touch parameters may include: the touch object is the first program identifier, and the number of touches is 2 times.

(b)终端设备接收对第一应用快捷键进行的第七触发操作,并根据第七触发操作,控制全部应用快捷键从展开状态切换至收起状态;终端设备接收对第一应用快捷键中的第一程序标识进行的第八触发操作,并根据第八触发操作,控制全部应用快捷键从收起状态切换至展开状态。(b) the terminal device receives the seventh trigger operation on the first application shortcut key, and controls all the application shortcut keys to switch from the expanded state to the retracted state according to the seventh trigger operation; the terminal device receives the first application shortcut key in the The eighth trigger operation is performed by the first program identifier of the , and according to the eighth trigger operation, all application shortcut keys are controlled to switch from the retracted state to the expanded state.

例如,如图2K所示,第一应用快捷键为APP6对应的应用快捷键(即图2K中手指所覆盖的应用快捷键),第七触发操作可以为在第一应用快捷键上的至少两个触控点(图2K中是以两个触控点为例进行说明的)之间的距离逐渐减小的操作,对应的触控参数可以包括:触控轨迹为彼此靠近的至少两个轨迹。此时,全部应用快捷键的目标状态可以如图2L所示。For example, as shown in FIG. 2K , the first application shortcut key is the application shortcut key corresponding to APP6 (that is, the application shortcut key covered by the finger in FIG. 2K ), and the seventh trigger operation may be at least two of the first application shortcut keys on the first application shortcut key. In an operation in which the distance between touch points (two touch points are illustrated in FIG. 2K as an example) gradually decreases, the corresponding touch parameters may include: touch trajectories are at least two trajectories that are close to each other . At this time, the target states of all application shortcut keys may be as shown in FIG. 2L .

第八触发操作可以为对第一程序标识进行的重按操作,对应的触控参数可以包括:触控对象为第一程序标识,且触控压力大小大于预设压力值。The eighth trigger operation may be a re-pressing operation on the first program identifier, and the corresponding touch parameters may include: the touch object is the first program identifier, and the touch pressure is greater than a preset pressure value.

(c)终端设备接收对第一应用快捷键中的第一关键信息进行的第九触发操作,并根据第九触发操作,控制全部应用快捷键从展开状态切换至收起状态;终端设备接收对第一应用快捷键中的第一程序标识进行的第十触发操作,并根据第十触发操作,控制全部应用快捷键从收起状态切换至展开状态。(c) The terminal device receives the ninth trigger operation on the first key information in the first application shortcut key, and controls all the application shortcut keys to switch from the expanded state to the retracted state according to the ninth trigger operation; The tenth trigger operation performed by the first program identifier in the first application shortcut keys, and according to the tenth trigger operation, all application shortcut keys are controlled to switch from the retracted state to the expanded state.

例如,第九触发操作可以为在第一关键信息上按照预设轨迹进行的滑动操作,对应的触控参数可以包括:触控对象为第一关键信息,且触控轨迹为预设轨迹。例如,预设轨迹为一个关于字母“O”的轨迹。For example, the ninth trigger operation may be a sliding operation performed on the first key information according to a preset track, and the corresponding touch parameters may include: the touch object is the first key information, and the touch track is a preset track. For example, the preset track is a track about the letter "O".

如图2L所示,第一应用快捷键为APP6对应的应用快捷键(即图2L中虚线双指所覆盖的应用快捷键),第十触发操作可以为在第一程序标识上的至少两个触控点之间的距离逐渐增大的操作,对应的触控参数可以包括:触控轨迹为彼此远离的至少两个轨迹。此时,全部应用快捷键的目标状态如图2K所示。As shown in FIG. 2L , the first application shortcut key is the application shortcut key corresponding to APP6 (that is, the application shortcut key covered by the dotted two fingers in FIG. 2L ), and the tenth trigger operation may be at least two of the first program identifiers For the operation of gradually increasing the distance between the touch points, the corresponding touch parameters may include: the touch traces are at least two traces that are far away from each other. At this time, the target states of all application shortcut keys are shown in FIG. 2K .

若在显示界面上当前显示的全部应用快捷键的当前状态不完全相同,则可以通过对第一应用快捷键进行触发操作,以便将全部应用快捷键中的部分应用快捷键进行状态切换,部分应用快捷键可以包括第一应用快捷键和第三应用快捷键。其中,触发操作可以参考(a)、(b)以及(c)中的触发操作的内容,此处不再赘述。If the current states of all application shortcut keys currently displayed on the display interface are not exactly the same, the first application shortcut key can be triggered to switch the state of some application shortcut keys among all application shortcut keys, and some application shortcut keys can be switched. The shortcut keys may include a first application shortcut key and a third application shortcut key. For the trigger operation, reference may be made to the content of the trigger operation in (a), (b) and (c), which will not be repeated here.

二、针对聚合状态和散开状态之间的切换进行说明:2. Explain the switching between the aggregation state and the dispersing state:

在一种实施例中,终端设备可以接收对第一应用快捷键进行的聚合触控操作,并根据聚合触控操作控制全部应用快捷键从散开状态切换至聚合状态。In one embodiment, the terminal device may receive the aggregated touch operation performed on the first application shortcut key, and control all application shortcut keys to switch from the scattered state to the aggregated state according to the aggregated touch operation.

示例性的,聚合触控操作可以为对第一应用快捷键进行的长按操作(即按压时长大于等于预设时长)。例如,若对图2E至图2L任一所示的全部应用快捷键进行聚合触控操作,则可以得到图2M或者图2N中虚线表示的聚合后的全部应用快捷键。Exemplarily, the aggregated touch operation may be a long-press operation on the first application shortcut key (that is, the pressing duration is greater than or equal to a preset duration). For example, if an aggregate touch operation is performed on all the application shortcut keys shown in any one of FIG. 2E to FIG. 2L , all the aggregated application shortcut keys indicated by the dotted lines in FIG. 2M or FIG. 2N can be obtained.

在另一种实施例中,终端设备可以首先接收对第一应用快捷键进行的第一合并操作,根据第一合并操作将第一应用快捷键与第四应用快捷键进行合并得到初始合并应用快捷键。可选地,可以将第一应用快捷键移动至第四应用快捷键所在的位置得到初始合并应用快捷键。接着依次接收对待合并的应用快捷键进行的第二合并操作,根据第二合并操作将待合并的应用快捷键合并至初始合并应用快捷键中,得到目标合并应用快捷键,从而使得目标合并应用快捷键中的应用快捷键从散开状态切换至聚合状态。第二合并操可以为将待合并的应用快捷键移动至初始合并应用快捷键所在的位置。此时第三应用快捷键即为目标合并应用快捷键中除第一应用快捷键外的应用快捷键。可见,通过该合并过程可以将用户需要合并的应用快捷键进行合并。In another embodiment, the terminal device may first receive the first merging operation performed on the first application shortcut key, and combine the first application shortcut key and the fourth application shortcut key according to the first merging operation to obtain the initial merged application shortcut key key. Optionally, the initial merged application shortcut key may be obtained by moving the first application shortcut key to the position where the fourth application shortcut key is located. Next, the second merging operation performed by the application shortcut keys to be merged is successively received, and the application shortcut keys to be merged are merged into the initial merging application shortcut keys according to the second merging operation to obtain the target merging application shortcut key, thereby making the target merging application shortcut The application shortcut key in the key switches from the scattered state to the aggregated state. The second merging operation may be moving the application shortcut key to be merged to the position where the application shortcut key was initially merged. In this case, the third application shortcut key is an application shortcut key other than the first application shortcut key among the target merged application shortcut keys. It can be seen that through the merging process, the application shortcut keys that the user needs to merge can be merged.

在另一种实施例中,终端设备接收对聚合后的全部应用快捷键包括的第一应用快捷键进行的移除操作,并根据移除操作将第一应用快捷键从聚合状态切换至散开状态。In another embodiment, the terminal device receives a removal operation performed on the first application shortcut key included in all the aggregated application shortcut keys, and switches the first application shortcut key from the aggregated state to the scattered state according to the removal operation state.

同样地,终端设备接收对目标合并应用快捷键包括的第一应用快捷键进行的移除操作,并根据移除操作将第一应用快捷键从聚合状态切换至散开状态。Likewise, the terminal device receives a removal operation performed on the first application shortcut key included in the target merged application shortcut key, and switches the first application shortcut key from the aggregated state to the scattered state according to the removal operation.

在另一种实施例中,终端设备接收对聚合后的全部应用快捷键进行的右击操作,并根据右击操作展示操作列表,操作列表中包括取消聚合控件。这样,在检测到对取消聚合控件的点击操作的情况下,控制聚合后的全部应用快捷键从聚合状态切换至散开状态。In another embodiment, the terminal device receives a right-click operation on all the aggregated application shortcut keys, and displays an operation list according to the right-click operation, and the operation list includes a cancel aggregation control. In this way, when a click operation on the cancel aggregation control is detected, the shortcut keys of all applications after the control are aggregated are switched from the aggregated state to the scattered state.

同样地,终端设备接收对目标合并应用快捷键进行的右击操作,并根据右击操作展示操作列表,操作列表中包括取消聚合控件。这样,在检测到对取消聚合控件的点击操作的情况下,控制目标合并应用快捷键中的应用快捷键从聚合状态切换至散开状态。Likewise, the terminal device receives a right-click operation performed on the target merge application shortcut key, and displays an operation list according to the right-click operation, and the operation list includes a cancel aggregation control. In this way, when a click operation on the unaggregation control is detected, the application shortcut keys in the control target merged application shortcut keys are switched from the aggregated state to the scattered state.

三、针对显示状态与删除状态之间的切换进行说明:3. Explain the switching between the display state and the delete state:

(1)应用快捷键集合的数量为一个,即应用快捷键集合包括第一应用快捷键(1) The number of the application shortcut key set is one, that is, the application shortcut key set includes the first application shortcut key

在本申请实施例中,终端设备接收对第一应用快捷键进行的删除操作,并根据删除操作将第一应用快捷键从显示状态切换至删除状态。In the embodiment of the present application, the terminal device receives the deletion operation performed on the first application shortcut key, and switches the first application shortcut key from the display state to the deletion state according to the deletion operation.

如图2O所示,第一应用快捷键为APP6对应的应用快捷键,删除操作可以为将第一应用快捷键拖拽至回收控件的操作。其中,终端设备在检测到对任一应用快捷键进行移动操作时,显示回收控件。As shown in FIG. 20 , the first application shortcut key is the application shortcut key corresponding to APP6, and the deletion operation may be an operation of dragging the first application shortcut key to the recycling control. The terminal device displays a recycling control when detecting that any application shortcut key is moved.

如图2P所示,每个应用快捷键均存在对应的删除控件,故删除操作可以为对第一应用快捷键的删除控件进行的点击操作。可选地,在检测到对第一应用快捷键进行指定操作的情况下,展示删除控件,指定操作可以为在第一应用快捷键上进行的画字母“C”的操作等。As shown in FIG. 2P , each application shortcut key has a corresponding deletion control, so the deletion operation may be a click operation performed on the deletion control of the first application shortcut key. Optionally, when a designated operation on the first application shortcut key is detected, a delete control is displayed, and the designated operation may be an operation of drawing a letter "C" on the first application shortcut key, or the like.

(2)应用快捷键集合的数量为至少两个(2) The number of application shortcut key sets is at least two

在一种实施例中,在获取到上述所述的聚合后的全部应用快捷键之后,终端设备接收对聚合后的全部应用快捷键进行的删除操作,并根据删除操作将全部应用快捷键从显示状态切换至删除状态。示例性的,如图2M和2N所示。In one embodiment, after acquiring all the above-mentioned aggregated application shortcut keys, the terminal device receives the deletion operation performed on all the aggregated application shortcut keys, and deletes all application shortcut keys from the display according to the deletion operation. The state switches to the delete state. Illustratively, as shown in Figures 2M and 2N.

在另一种实施例中,在获取到上述所述的目标合并应用快捷键之后,终端设备接收对目标合并应用快捷键进行的删除操作,并根据删除操作将目标合并应用快捷键中的应用快捷键均从显示状态切换至删除状态。可见,这样可以根据用户的需求确定需要一并删除的应用快捷键。In another embodiment, after acquiring the target merging application shortcut key described above, the terminal device receives a deletion operation performed on the target merging application shortcut key, and according to the deletion operation, deletes the application shortcut in the target merging application shortcut key. keys are switched from the display state to the delete state. It can be seen that in this way, the application shortcut keys that need to be deleted together can be determined according to the needs of the user.

四、针对处于当前位置的状态与处于目标位置的状态之间的切换进行说明:4. Explain the switching between the state in the current position and the state in the target position:

(1)应用快捷键集合的数量为一个,即应用快捷键集合包括第一应用快捷键(1) The number of the application shortcut key set is one, that is, the application shortcut key set includes the first application shortcut key

在本申请实施例中,当前位置和目标位置可以均为在显示界面上的坐标位置,这样,可以对第一应用快捷键进行位置移动,以避免第一应用快捷键对显示界面上的内容的遮挡。例如,由于显示屏上的边缘位置显示的信息通常为用户关注度较低的信息,故可以将第一应用快捷键移动至显示屏上的边缘位置。In this embodiment of the present application, both the current position and the target position may be coordinate positions on the display interface. In this way, the position of the first application shortcut key may be moved to avoid the first application shortcut key from affecting the content on the display interface. occlude. For example, since the information displayed at the edge position on the display screen is usually the information that the user pays less attention to, the first application shortcut key can be moved to the edge position on the display screen.

(2)应用快捷键集合的数量为至少两个(2) The number of application shortcut key sets is at least two

在第一种情况中,当前位置和目标位置均为在显示界面上的坐标位置。In the first case, both the current position and the target position are coordinate positions on the display interface.

在一种实施例中,若多个应用快捷键分布在显示屏的不同区域,则会导致查看不方便,比如需要在显示屏的上边区域查看第一个应用快捷键,在显示屏的下边区域查看第二个应用快捷键,等等。In one embodiment, if multiple application shortcut keys are distributed in different areas of the display screen, it will lead to inconvenient viewing. Check out the second app shortcut, and more.

基于此,本申请在获取到上述所述的聚合后的全部应用快捷键之后,终端设备接收对聚合后的全部应用快捷键进行的位置移动操作,并根据位置移动操作将全部应用快捷键从当前位置移动至目标位置,这样使得全部应用快捷键的分布较集中。Based on this, after obtaining all the above-mentioned aggregated application shortcut keys, the terminal device receives the position movement operation performed on all the aggregated application shortcut keys, and according to the position movement operation, changes all application shortcut keys from the current The position is moved to the target position, which makes the distribution of all application shortcut keys more concentrated.

在另一种实施例中,在获取到上述所述的目标合并应用快捷键之后,终端设备接收对目标合并应用快捷键进行的位置移动操作,并根据位置移动操作将目标合并应用快捷键中的应用快捷键从当前位置移动至目标位置,这样可以同时对多个应用快捷键进行位置移动,简化了操作。In another embodiment, after acquiring the target merging application shortcut key described above, the terminal device receives a position movement operation performed on the target merging application shortcut key, and according to the position movement operation, the target merging application shortcut key is The application shortcut keys are moved from the current position to the target position, so that multiple application shortcut keys can be moved at the same time, which simplifies the operation.

在第二种情况中,当前位置和目标位置均为在显示界面上的排序位置。In the second case, both the current position and the target position are sorted positions on the display interface.

在一种实施例中,在检测到对第一应用快捷键进行的排序移动操作,且排序移动操作对应的目标触控位置为第三应用快捷键所在的位置。则一种方式为:若初始的显示界面如图2E所示,则如图2Q所示,将第一应用快捷键与第三应用快捷键的排序位置进行切换,切换后的显示界面如图2R所示;另一种方式为:将第三应用快捷键排序之后的应用快捷键依次向后移动一个排序位置,将第三应用快捷键向后移动一个排序位置,将第一应用快捷键设置于第三应用快捷键初始所在的排序位置。上述触控输入中的具体操作只是示例性说明,本申请对此不作限定。In one embodiment, the sorting and moving operation performed on the first application shortcut key is detected, and the target touch position corresponding to the sorting and moving operation is the position where the third application shortcut key is located. One way is: if the initial display interface is shown in FIG. 2E , then as shown in FIG. 2Q , the sorting positions of the first application shortcut key and the third application shortcut key are switched, and the switched display interface is shown in FIG. 2R . The other method is: move the application shortcut keys after the third application shortcut keys are sorted backward by one sorting position, move the third application shortcut key backward by one sorting position, and set the first application shortcut key in The sorting position where the shortcut key of the third application is initially located. The specific operations in the above-mentioned touch input are only exemplary descriptions, which are not limited in the present application.

在第一输入为语音输入的情况下,若语音输入为“请将第一应用快捷键转换为收起状态”,则终端设备控制第一应用快捷键从展开状态切换至收起状态;若语音输入为“请将第一应用快捷键切换为展开状态”,则终端设备控制第一应用快捷键从收起状态切换为展开状态;若语音输入为“请将第一应用快捷键转换为删除状态”,则终端设备控制第一应用快捷键从显示状态切换至删除状态;若语音输入包括“请将第一应用快捷键向第一方向进行移动”以及“停止”等,语音输入对应的最终停止位置为目标位置,则终端设备控制第一应用快捷键从当前位置移动至目标位置;若语音输入为“请将第一应用快捷键转换为散开状态”,则终端设备控制第一应用快捷键从聚合状态切换至散开状态;若语音输入为“请将第一应用快捷键与第三应用快捷键进行聚合”,则终端设备控制第一应用快捷键与第三应用快捷键处于聚合状态。上述语音输入只是示例性说明,本申请对此不作特殊限制。In the case where the first input is voice input, if the voice input is "Please convert the first application shortcut key to the retracted state", the terminal device controls the first application shortcut key to switch from the expanded state to the retracted state; If the input is "Please switch the first application shortcut key to the expanded state", the terminal device controls the first application shortcut key to switch from the retracted state to the expanded state; if the voice input is "Please switch the first application shortcut key to the deleted state" ”, the terminal device controls the first application shortcut key to switch from the display state to the deletion state; if the voice input includes “Please move the first application shortcut key in the first direction” and “stop”, the corresponding voice input will finally stop If the position is the target position, the terminal device controls the first application shortcut key to move from the current position to the target position; if the voice input is "Please convert the first application shortcut key to the scattered state", the terminal device controls the first application shortcut key Switch from the aggregated state to the diffused state; if the voice input is "Please aggregate the first application shortcut key and the third application shortcut key", the terminal device controls the first application shortcut key and the third application shortcut key to be in an aggregated state. The above voice input is only an exemplary description, which is not specifically limited in this application.

在第一输入为手势输入的情况下,若手势输入为第一手势,此时,第一应用快捷键的当前状态为展开状态,则终端设备控制第一应用快捷键从展开状态切换至收起状态;第一应用快捷键的当前状态为收起状态,则终端设备控制第一应用快捷键从收起状态切换至展开状态。示例性的,第一手势可以为排序手势和第一指定手势的组合。例如,第一应用快捷键为排序第一的应用快捷键,则排序手势可以为伸出一个手指的手势;第一指定手势可以为“ok”手势。In the case where the first input is a gesture input, if the gesture input is the first gesture, and the current state of the first application shortcut key is the expanded state, the terminal device controls the first application shortcut key to switch from the expanded state to the collapsed state state; the current state of the first application shortcut key is the retracted state, and the terminal device controls the first application shortcut key to switch from the retracted state to the expanded state. Exemplarily, the first gesture may be a combination of the sorting gesture and the first specifying gesture. For example, if the first application shortcut key is the application shortcut key in the first order, the ordering gesture may be a gesture of extending a finger; the first designated gesture may be an "ok" gesture.

若手势输入为第二手势,此时,第一应用快捷键的当前状态为显示状态,则终端设备控制第一应用快捷键从显示状态切换至删除状态。示例性的,第二手势可以为排序手势和第二指定手势的组合。例如,第一应用快捷键为排序第一的应用快捷键,则排序手势可以为伸出一个手指的手势;第二指定手势可以为两指比“×”的手势。If the gesture input is the second gesture, at this time, the current state of the first application shortcut key is the display state, and the terminal device controls the first application shortcut key to switch from the display state to the deletion state. Exemplarily, the second gesture may be a combination of the sorting gesture and the second specifying gesture. For example, if the first application shortcut key is the application shortcut key in the first order, the ordering gesture may be a gesture of extending one finger; the second designated gesture may be a gesture of two fingers than "X".

若手势输入为第三手势,此时,终端设备控制第一应用快捷键从当前位置切换至目标位置。示例性的,第三手势可以为排序手势和第三指定手势的组合。例如,第一应用快捷键为排序第一的应用快捷键,则排序手势可以为伸出一个手指的手势;第三指定手势可以为滑动的手势,例如向左滑动的手势、向上滑动的手势等等。If the gesture input is the third gesture, at this time, the terminal device controls the first application shortcut key to switch from the current position to the target position. Exemplarily, the third gesture may be a combination of the sorting gesture and the third specifying gesture. For example, if the first application shortcut key is the application shortcut key in the first order, the ordering gesture may be a gesture of extending a finger; the third designated gesture may be a sliding gesture, such as a leftward sliding gesture, an upward sliding gesture, etc. Wait.

若手势输入为第四手势,此时,终端设备控制第一应用快捷键与第三应用快捷键从散开状态切换至聚合状态。示例性的,第四手势可以为排序手势和第四指定手势的组合。排序手势可以为第一应用快捷键与第三应用快捷键分别对应的手势;第四指定手势可以为握拳的手势等等。If the gesture input is the fourth gesture, at this time, the terminal device controls the first application shortcut key and the third application shortcut key to switch from the scattered state to the aggregated state. Exemplarily, the fourth gesture may be a combination of the sorting gesture and the fourth specifying gesture. The sorting gesture may be a gesture corresponding to the first application shortcut key and the third application shortcut key respectively; the fourth designated gesture may be a gesture of making a fist and so on.

若手势输入为第五手势,此时,终端设备控制第一应用快捷键位于的聚合应用快捷键(即上述所述的聚合后的全部应用快捷键,或者,目标合并应用快捷键)从聚合状态切换至散开状态。示例性的,第四手势可以为对作别的手势。If the gesture input is the fifth gesture, at this time, the terminal device controls the aggregated application shortcut key where the first application shortcut key is located (that is, all the aforementioned aggregated application shortcut keys, or the target merged application shortcut key) from the aggregated state Switch to spread out. Exemplarily, the fourth gesture may be a gesture of making another pair.

需要说明的是,终端设备在检测到上述所述的排序手势的情况下,可以将排序手势对应的应用快捷键设置为指定形态,例如为晃动形态。这样,用户查看到对应的应用快捷键处于指定形态之后,再进行相应的指定手势。上述手势输入只是示例性说明,本申请对此不作特殊限制。It should be noted that, in the case of detecting the above-mentioned sorting gesture, the terminal device may set the application shortcut key corresponding to the sorting gesture to a specified form, such as a shaking form. In this way, the user performs the corresponding designated gesture after seeing that the corresponding application shortcut key is in the designated form. The above gesture input is only an exemplary description, which is not particularly limited in this application.

在第一输入为对终端设备进行的晃动输入的情况下,若检测到第一晃动输入,此时,第一应用快捷键的当前状态为展开状态,则终端设备控制第一应用快捷键从展开状态切换至收起状态;第一应用快捷键的当前状态为收起状态,则终端设备控制第一应用快捷键从收起状态切换至展开状态。示例性的,第一晃动输入可以为排序晃动和第一指定晃动的组合。例如,第一应用快捷键为排序第一的应用快捷键,则排序晃动可以为沿着第二方向来回晃动一次;第一指定晃动可以为沿着第三方向来回晃动一次。In the case where the first input is a shaking input to the terminal device, if the first shaking input is detected, and at this time, the current state of the first application shortcut key is the expanded state, the terminal device controls the first application shortcut key from the expanded state. The state is switched to the retracted state; the current state of the first application shortcut key is the retracted state, and the terminal device controls the first application shortcut key to switch from the retracted state to the expanded state. Exemplarily, the first shaking input may be a combination of the sorting shaking and the first specifying shaking. For example, if the first application shortcut key is the application shortcut key ranked first, the sorting shaking may be shaking back and forth in the second direction once; the first specified shaking may be shaking back and forth in the third direction once.

若检测到第二晃动输入,此时,第一应用快捷键的当前状态为显示状态,则终端设备控制第一应用快捷键从显示状态切换至删除状态。示例性的,第二晃动输入可以为排序晃动和第二指定晃动的组合。例如,第一应用快捷键为排序第一的应用快捷键,则排序晃动可以为沿着第二方向来回晃动一次;第二指定晃动可以为沿着第三方向来回晃动两次。If the second shaking input is detected, at this time, the current state of the first application shortcut key is the display state, and the terminal device controls the first application shortcut key to switch from the display state to the deletion state. Exemplarily, the second shaking input may be a combination of the sorting shaking and the second specifying shaking. For example, if the first application shortcut key is the application shortcut key in the first order, the order shaking may be shaking back and forth in the second direction once; the second specified shaking may be shaking back and forth in the third direction twice.

若检测到第三晃动输入,此时,终端设备控制第一应用快捷键从当前位置切换至目标位置。示例性的,第三晃动输入可以为排序晃动和第三指定晃动的组合。例如,第一应用快捷键为排序第一的应用快捷键,则排序晃动可以为沿着第二方向来回晃动一次;第三指定晃动可以为沿着各个方向晃动,例如向左晃动、向上晃动、向右晃动、向下晃动等等。If the third shaking input is detected, at this time, the terminal device controls the first application shortcut key to switch from the current position to the target position. Exemplarily, the third shake input may be a combination of a ranking shake and a third specified shake. For example, if the first application shortcut key is the application shortcut key in the first order, the order shaking can be shaking back and forth in the second direction; the third designated shaking can be shaking in various directions, such as shaking left, shaking upward, Shake right, shake down, etc.

若检测到第四晃动输入,此时,终端设备控制第一应用快捷键与第三应用快捷键从散开状态切换至聚合状态。示例性的,第四晃动输入可以为排序晃动和第四指定晃动的组合。排序晃动可以为第一应用快捷键与第三应用快捷键分别对应的晃动;第四指定晃动可以为沿着第三方向来回晃动三次。If the fourth shaking input is detected, at this time, the terminal device controls the first application shortcut key and the third application shortcut key to switch from the scattered state to the aggregated state. Exemplarily, the fourth shake input may be a combination of a ranking shake and a fourth specified shake. The sorting shaking may be shaking corresponding to the first application shortcut key and the third application shortcut key respectively; the fourth designated shaking may be shaking back and forth three times along the third direction.

若检测到第五晃动输入,此时,终端设备控制第一应用快捷键位于的聚合应用快捷键(即上述所述的聚合后的全部应用快捷键,或者,目标合并应用快捷键)从聚合状态切换至散开状态。示例性的,第五晃动输入可以为沿着第三方向来回晃动四次。If the fifth shaking input is detected, at this time, the terminal device controls the aggregation application shortcut key where the first application shortcut key is located (that is, all the application shortcut keys after aggregation described above, or the target merged application shortcut key) from the aggregation state. Switch to spread out. Exemplarily, the fifth shaking input may be shaking back and forth four times in the third direction.

需要说明的是,终端设备在检测到上述所述的排序晃动的情况下,可以将排序晃动对应的应用快捷键设置为指定形态,例如为晃动形态。这样,用户查看到对应的应用快捷键处于指定形态之后,再进行相应的指定晃动。上述晃动输入只是示例性说明,本申请对此不作特殊限制。It should be noted that, in the case of detecting the above-mentioned sorting shaking, the terminal device may set the application shortcut key corresponding to the sorting shaking to a specified form, for example, a shaking form. In this way, after the user sees that the corresponding application shortcut key is in the designated form, the user performs the corresponding designated shaking. The above shaking input is only an exemplary illustration, which is not particularly limited in this application.

结合图2A,如图3所示,在步骤203之后,所述方法还包括:With reference to FIG. 2A, as shown in FIG. 3, afterstep 203, the method further includes:

204、在第一应用快捷键当前处于展开状态,且第一应用快捷键上显示的关键信息在第二预设时间段内未发生变更的情况下,控制第一应用快捷键从展开状态切换至收起状态。204. When the first application shortcut key is currently in an expanded state and the key information displayed on the first application shortcut key has not changed within the second preset time period, control the first application shortcut key to switch from the expanded state to the expanded state. closed state.

需要说明的是,本申请对步骤204的时序不作限定,例如步骤204可以在步骤201之前执行。It should be noted that the present application does not limit the sequence ofstep 204 , for example, step 204 may be executed beforestep 201 .

可以理解的是,考虑到用户比较关注关键信息的变化情况,若关键信息长时间未变更,则用户查看的意义并不大,这样,长时间未变更的关键信息会存在冗余显示,并且会遮挡显示界面上的内容。基于此,终端设备在检测到第一应用快捷键上显示的关键信息在第二预设时间段内未发生变更,则自动将第一应用快捷键切换为收起状态。这样,在保证用户查看有效信息的同时,还可以减少对显示界面的占用面积,从而提升了用户的使用体验。It is understandable that, considering that users pay more attention to the changes of key information, if the key information has not been changed for a long time, it is not meaningful for users to view it. In this way, the key information that has not been changed for a long time will be displayed redundantly and will be displayed. Obscure the content on the display interface. Based on this, the terminal device automatically switches the first application shortcut key to the retracted state upon detecting that the key information displayed on the first application shortcut key has not changed within the second preset time period. In this way, while ensuring that the user can view valid information, the area occupied by the display interface can also be reduced, thereby improving the user experience.

结合图3,如图4所示,在步骤204之后,所述方法还包括:With reference to FIG. 3, as shown in FIG. 4, afterstep 204, the method further includes:

205、在第一应用快捷键对应的关键信息发生变更的情况下,控制第一应用快捷键从收起状态切换至展开状态。205. In a case where the key information corresponding to the first application shortcut key is changed, control the first application shortcut key to switch from the retracted state to the expanded state.

可以理解的是,考虑到用户比较关注关键信息的变化情况,若关键信息发生变更,且用户未及时查看到变更后的关键信息,则会造成相关事件的进度无法及时掌控。基于此,终端设备在检测到第一应用快捷键对应的关键信息发生变更,则自动将第一应用快捷键从收起状态切换至展开状态,以便展示与第一应用快捷键相关的变更后的关键信息。这样,可以保证用户及时查看有效信息,从而提升了用户的使用体验。Understandably, considering that users are more concerned about changes in key information, if the key information changes and the user fails to view the changed key information in time, the progress of related events cannot be controlled in time. Based on this, when the terminal device detects that the key information corresponding to the first application shortcut key is changed, it automatically switches the first application shortcut key from the retracted state to the expanded state, so as to display the changed information related to the first application shortcut key. Key Information. In this way, the user can be guaranteed to view valid information in a timely manner, thereby improving the user experience.

图5为本申请实施例提供的一种终端设备的结构框图,如图5所示,包括:FIG. 5 is a structural block diagram of a terminal device provided by an embodiment of the application, as shown in FIG. 5 , including:

获取模块501,用于获取对显示界面上关于第一应用程序的第一应用快捷键的第一输入;以及,an obtaining module 501, configured to obtain a first input to a first application shortcut key of a first application on a display interface; and,

响应于所述第一输入,获取应用快捷键集合对应的目标状态;其中,所述应用快捷键集合至少包括所述第一应用快捷键;In response to the first input, obtain a target state corresponding to a set of application shortcut keys; wherein, the set of application shortcut keys includes at least the first application shortcut key;

控制模块,用于控制所述应用快捷键集合中的各个应用快捷键从当前状态切换至所述目标状态。A control module, configured to control each application shortcut key in the set of application shortcut keys to switch from the current state to the target state.

可选地,所述应用快捷键集合包括所述显示界面上当前显示的全部或部分应用快捷键。Optionally, the set of application shortcut keys includes all or part of the application shortcut keys currently displayed on the display interface.

可选地,所述目标状态和所述当前状态分别为以下任一个:展开状态和收起状态,且所述目标状态和所述当前状态不同;或者,Optionally, the target state and the current state are respectively any one of the following: an unfolded state and a retracted state, and the target state and the current state are different; or,

所述当前状态为显示状态,所述目标状态为删除状态;或者,The current state is a display state, and the target state is a deletion state; or,

所述当前状态为处于当前位置的状态,所述目标状态为处于目标位置的状态;或者,The current state is the state in the current position, and the target state is the state in the target position; or,

所述目标状态和所述当前状态分别为以下任一个:聚合状态和散开状态,且所述目标状态和所述当前状态不同。The target state and the current state are respectively any one of the following: an aggregated state and a scattered state, and the target state and the current state are different.

可选地,所述第一输入包括以下输入中的至少一种:Optionally, the first input includes at least one of the following inputs:

触控输入、语音输入、手势输入以及对所述终端设备进行的晃动输入。Touch input, voice input, gesture input, and shaking input to the terminal device.

可选地,在所述第一输入包括所述触控输入的情况下,获取模块501,进一步用于响应于所述第一输入,获取触控参数;以及,Optionally, when the first input includes the touch input, the obtaining module 501 is further configured to obtain a touch parameter in response to the first input; and,

根据所述触控参数,获取所述应用快捷键集合对应的目标状态;obtaining, according to the touch parameters, the target state corresponding to the set of application shortcut keys;

其中,所述触控参数包括触控移动方向、触控时长、触控压力大小、触控对象、预设时长内的触控次数、触控手势、触控移动速度、触控轨迹、触控目标位置中的至少一种。Wherein, the touch parameters include touch movement direction, touch duration, touch pressure, touch object, touch times within a preset duration, touch gesture, touch movement speed, touch trajectory, touch at least one of the target locations.

可选地,所述第一应用程序为第一预设时间段内处于运行状态的应用程序,所述第一预设时间段的终止时刻与当前时刻相同;或者,Optionally, the first application program is an application program in a running state within a first preset time period, and the termination moment of the first preset time period is the same as the current moment; or,

所述第一应用程序为处于运行状态且最近运行的M个应用程序中的一个应用程序,M为正整数;或者,The first application is one of the M applications that are in the running state and run recently, and M is a positive integer; or,

所述第一应用程序为按照应用快捷键显示优先级,确定的处于运行状态的N个应用程序中的一个应用程序,N为正整数。The first application program is one application program among N application programs in a running state determined according to the priority displayed by the application shortcut key, and N is a positive integer.

可选地,控制模块502,还用于在所述第一应用快捷键当前处于展开状态,且所述第一应用快捷键上显示的关键信息在第二预设时间段内未发生变更的情况下,控制所述第一应用快捷键从所述展开状态切换至收起状态。Optionally, the control module 502 is further configured to, when the first application shortcut key is currently in an expanded state, and the key information displayed on the first application shortcut key has not changed within the second preset time period Next, control the first application shortcut key to switch from the expanded state to the collapsed state.

终端设备的具体内容可以参考上述应用快捷键的控制方法的实施例所述的内容,此处不再赘述。For the specific content of the terminal device, reference may be made to the content described in the foregoing embodiments of the application shortcut key control method, which will not be repeated here.

图6示出了本申请实施例提供的一种终端设备的结构框图。参考图6,终端设备包括:射频(radio frequency,RF)电路610、存储器620、输入单元630、显示单元640、传感器650、音频电路660、无线保真(wireless fidelity,WiFi)模块670、处理器680、以及电源690等部件。本领域技术人员可以理解,图6中示出的终端设备结构并不构成对终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 6 shows a structural block diagram of a terminal device provided by an embodiment of the present application. 6 , the terminal device includes: a radio frequency (RF)circuit 610, amemory 620, aninput unit 630, adisplay unit 640, asensor 650, anaudio circuit 660, a wireless fidelity (WiFi)module 670, and aprocessor 680, andpower supply 690 and other components. Those skilled in the art can understand that the structure of the terminal device shown in FIG. 6 does not constitute a limitation on the terminal device, and may include more or less components than shown, or combine some components, or arrange different components.

下面结合图6对终端设备的各个构成部件进行具体的介绍:Below in conjunction with Fig. 6, each constituent component of the terminal equipment is introduced in detail:

RF电路610可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器680处理;另外,将设计上行的数据发送给基站。通常,RF电路610包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low NoiseAmplifier,LNA)、双工器等。此外,RF电路610还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(globalsystem of mobile communication,GSM)、通用分组无线服务(general packet radioservice,GPRS)、码分多址(code division multiple access,CDMA)、宽带码分多址(wideband code division multiple access,WCDMA)、长期演进(long term evolution,LTE)、电子邮件、短消息服务(short messaging service,SMS)等。TheRF circuit 610 can be used for receiving and sending signals during sending and receiving information or during a call. In particular, after receiving the downlink information of the base station, it is processed by theprocessor 680; in addition, the designed uplink data is sent to the base station. Typically, theRF circuit 610 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition,RF circuitry 610 may communicate with networks and other devices via wireless communications. The above wireless communication can use any communication standard or protocol, including but not limited to global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (code division multiple access) , CDMA), wideband code division multiple access (WCDMA), long term evolution (long term evolution, LTE), email, short message service (short messaging service, SMS) and the like.

存储器620可用于存储软件程序以及模块,处理器680通过运行存储在存储器620的软件程序以及模块,从而执行终端设备的各种功能应用以及数据处理。存储器620可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端设备的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Thememory 620 may be used to store software programs and modules, and theprocessor 680 executes various functional applications and data processing of the terminal device by running the software programs and modules stored in thememory 620 . Thememory 620 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data (such as audio data, phone book, etc.) created by the use of the terminal device, etc. Additionally,memory 620 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

输入单元630可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,输入单元630可包括触控面板631以及其他输入设备632。触控面板631,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板631上或在触控面板631附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板631可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器680,并能接收处理器680发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板631。除了触控面板631,输入单元630还可以包括其他输入设备632。具体地,其他输入设备632可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Theinput unit 630 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the terminal device. Specifically, theinput unit 630 may include atouch panel 631 andother input devices 632 . Thetouch panel 631, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or attachment on or near the touch panel 631). operation), and drive the corresponding connection device according to the preset program. Optionally, thetouch panel 631 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To theprocessor 680, and can receive the commands sent by theprocessor 680 and execute them. In addition, thetouch panel 631 can be realized by various types of resistive, capacitive, infrared, and surface acoustic waves. Besides thetouch panel 631 , theinput unit 630 may further includeother input devices 632 . Specifically,other input devices 632 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元640可用于显示由用户输入的信息或提供给用户的信息以及终端设备的各种菜单。显示单元640可包括显示面板641,可选的,可以采用液晶显示器(liquidcrystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板641。进一步的,触控面板631可覆盖显示面板641,当触控面板631检测到在其上或附近的触摸操作后,传送给处理器680以确定触摸事件的类型,随后处理器680根据触摸事件的类型在显示面板641上提供相应的视觉输出。虽然在图6中,触控面板631与显示面板641是作为两个独立的部件来实现终端设备的输入和输入功能,但是在某些实施例中,可以将触控面板631与显示面板641集成而实现终端设备的输入和输出功能。Thedisplay unit 640 may be used to display information input by the user or information provided to the user and various menus of the terminal device. Thedisplay unit 640 may include adisplay panel 641, and optionally, thedisplay panel 641 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, thetouch panel 631 can cover thedisplay panel 641, and when thetouch panel 631 detects a touch operation on or near it, it transmits it to theprocessor 680 to determine the type of the touch event, and then theprocessor 680 determines the type of the touch event according to the touch event. Type provides corresponding visual output ondisplay panel 641 . Although in FIG. 6 , thetouch panel 631 and thedisplay panel 641 are used as two independent components to realize the input and input functions of the terminal device, but in some embodiments, thetouch panel 631 and thedisplay panel 641 may be integrated And realize the input and output functions of the terminal equipment.

终端设备还可包括至少一种传感器650,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板641的亮度,接近传感器可在终端设备移动到耳边时,关闭显示面板641和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端设备还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The terminal device may also include at least onesensor 650, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of thedisplay panel 641 according to the brightness of the ambient light, and the proximity sensor may turn off thedisplay panel 641 and thedisplay panel 641 when the terminal device is moved to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used for applications that identify the attitude of terminal devices (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that can be configured on the terminal device, here No longer.

音频电路660、扬声器661,传声器662可提供用户与终端设备之间的音频接口。音频电路660可将接收到的音频数据转换后的电信号,传输到扬声器661,由扬声器661转换为声音信号输出;另一方面,传声器662将收集的声音信号转换为电信号,由音频电路660接收后转换为音频数据,再将音频数据输出处理器680处理后,经RF电路610以发送给比如另一终端设备,或者将音频数据输出至存储器620以便进一步处理。Theaudio circuit 660, the speaker 661, and the microphone 662 can provide an audio interface between the user and the terminal device. Theaudio circuit 660 can transmit the received audio data converted electrical signal to the speaker 661, and the speaker 661 converts it into a sound signal for output; on the other hand, the microphone 662 converts the collected sound signal into an electrical signal, which is converted by theaudio circuit 660 After receiving, it is converted into audio data, and then the audio data is output to theprocessor 680 for processing, and then sent to, for example, another terminal device through theRF circuit 610, or the audio data is output to thememory 620 for further processing.

处理器680是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器620内的软件程序和/或模块,以及调用存储在存储器620内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。可选的,处理器680可包括一个或多个处理单元;优选的,处理器680可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器680中。Theprocessor 680 is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device, by running or executing the software programs and/or modules stored in thememory 620, and calling the data stored in thememory 620. , perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. Optionally, theprocessor 680 may include one or more processing units; preferably, theprocessor 680 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc. , the modem processor mainly deals with wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into theprocessor 680 .

在本申请实施例中,该终端设备所包括的处理器680还具有以下功能:In this embodiment of the present application, theprocessor 680 included in the terminal device also has the following functions:

获取对显示界面上关于第一应用程序的第一应用快捷键的第一输入;obtaining a first input to a first application shortcut key of the first application on the display interface;

响应于所述第一输入,获取应用快捷键集合对应的目标状态;其中,所述应用快捷键集合至少包括所述第一应用快捷键;In response to the first input, obtain a target state corresponding to a set of application shortcut keys; wherein, the set of application shortcut keys includes at least the first application shortcut keys;

控制所述应用快捷键集合中的各个应用快捷键从当前状态切换至所述目标状态。Controlling each application shortcut key in the set of application shortcut keys to switch from the current state to the target state.

可选地,所述应用快捷键集合包括所述显示界面上当前显示的全部或部分应用快捷键。Optionally, the set of application shortcut keys includes all or part of the application shortcut keys currently displayed on the display interface.

可选地,所述目标状态和所述当前状态分别为以下任一个:展开状态和收起状态,且所述目标状态和所述当前状态不同;或者,Optionally, the target state and the current state are respectively any one of the following: an unfolded state and a retracted state, and the target state and the current state are different; or,

所述当前状态为显示状态,所述目标状态为删除状态;或者,The current state is a display state, and the target state is a deletion state; or,

所述当前状态为处于当前位置的状态,所述目标状态为处于目标位置的状态;或者,The current state is the state in the current position, and the target state is the state in the target position; or,

所述目标状态和所述当前状态分别为以下任一个:聚合状态和散开状态,且所述目标状态和所述当前状态不同。The target state and the current state are respectively any one of the following: an aggregated state and a scattered state, and the target state and the current state are different.

可选地,所述第一输入包括以下输入中的至少一种:Optionally, the first input includes at least one of the following inputs:

触控输入、语音输入、手势输入以及对所述终端设备进行的晃动输入。Touch input, voice input, gesture input, and shaking input to the terminal device.

在本申请实施例中,该终端设备所包括的处理器680还具有以下功能:,在所述第一输入包括所述触控输入的情况下,响应于所述第一输入,获取触控参数;In this embodiment of the present application, theprocessor 680 included in the terminal device further has the following function: in the case that the first input includes the touch input, in response to the first input, obtain touch parameters ;

根据所述触控参数,获取所述应用快捷键集合对应的目标状态;obtaining, according to the touch parameters, the target state corresponding to the set of application shortcut keys;

其中,所述触控参数包括触控移动方向、触控时长、触控压力大小、触控对象、预设时长内的触控次数、触控手势、触控移动速度、触控轨迹、触控目标位置中的至少一种。Wherein, the touch parameters include touch movement direction, touch duration, touch pressure, touch object, touch times within a preset duration, touch gesture, touch movement speed, touch trajectory, touch at least one of the target locations.

可选地,所述第一应用程序为第一预设时间段内处于运行状态的应用程序,所述第一预设时间段的终止时刻与当前时刻相同;或者,Optionally, the first application program is an application program in a running state within a first preset time period, and the termination moment of the first preset time period is the same as the current moment; or,

所述第一应用程序为处于运行状态且最近运行的M个应用程序中的一个应用程序,M为正整数;或者,The first application is one of the M applications that are in the running state and run recently, and M is a positive integer; or,

所述第一应用程序为按照应用快捷键显示优先级,确定的处于运行状态的N个应用程序中的一个应用程序,N为正整数。The first application program is one application program among N application programs in a running state determined according to the priority displayed by the application shortcut key, and N is a positive integer.

在本申请实施例中,该终端设备所包括的处理器680还具有以下功能:在所述第一应用快捷键当前处于展开状态,且所述第一应用快捷键上显示的关键信息在第二预设时间段内未发生变更的情况下,控制所述第一应用快捷键从所述展开状态切换至收起状态。In this embodiment of the present application, theprocessor 680 included in the terminal device also has the following functions: the first application shortcut key is currently in an expanded state, and the key information displayed on the first application shortcut key is in the second If no change occurs within a preset time period, the first application shortcut key is controlled to switch from the expanded state to the collapsed state.

本发明实施例还提供一种终端设备,该终端设备可以包括处理器,存储器以及存储在存储器上并可在处理器上运行的计算机程序,该计算机程序被处理器执行时可以实现上述方法实施例中终端设备执行的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present invention further provides a terminal device, the terminal device may include a processor, a memory, and a computer program stored in the memory and running on the processor, the computer program being executed by the processor may implement the above method embodiments Each process performed by the terminal device can achieve the same technical effect. In order to avoid repetition, details are not repeated here.

本申请实施例提供一种计算机可读存储介质,其特征在于,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述方法实施例中终端设备执行的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application provides a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, each process performed by the terminal device in the foregoing method embodiments is implemented, and The same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.

其中,该计算机可读存储介质可以为只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the computer-readable storage medium may be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, an optical disk, or the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods of the various embodiments of the present application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (10)

Translated fromChinese
1.一种应用快捷键的控制方法,应用于终端设备,其特征在于,所述方法包括:1. A control method for applying a shortcut key, applied to a terminal device, wherein the method comprises:获取对显示界面上关于第一应用程序的第一应用快捷键的第一输入;obtaining a first input to a first application shortcut key of the first application on the display interface;响应于所述第一输入,获取应用快捷键集合对应的目标状态;其中,所述应用快捷键集合至少包括所述第一应用快捷键;In response to the first input, obtain a target state corresponding to a set of application shortcut keys; wherein, the set of application shortcut keys includes at least the first application shortcut keys;控制所述应用快捷键集合中的各个应用快捷键从当前状态切换至所述目标状态。Controlling each application shortcut key in the set of application shortcut keys to switch from the current state to the target state.2.根据权利要求1所述的方法,其特征在于,所述应用快捷键集合包括所述显示界面上当前显示的全部或部分应用快捷键。2 . The method according to claim 1 , wherein the set of application shortcut keys comprises all or part of the application shortcut keys currently displayed on the display interface. 3 .3.根据权利要求1或2所述的方法,其特征在于,所述目标状态和所述当前状态分别为以下任一个:展开状态和收起状态,且所述目标状态和所述当前状态不同;或者,3. The method according to claim 1 or 2, wherein the target state and the current state are respectively any one of the following: an unfolded state and a retracted state, and the target state and the current state are different ;or,所述当前状态为显示状态,所述目标状态为删除状态;或者,The current state is a display state, and the target state is a deletion state; or,所述当前状态为处于当前位置的状态,所述目标状态为处于目标位置的状态;或者,The current state is the state in the current position, and the target state is the state in the target position; or,所述目标状态和所述当前状态分别为以下任一个:聚合状态和散开状态,且所述目标状态和所述当前状态不同。The target state and the current state are respectively any one of the following: an aggregated state and a scattered state, and the target state and the current state are different.4.根据权利要求1或2所述的方法,其特征在于,所述第一输入包括以下输入中的至少一种:4. The method of claim 1 or 2, wherein the first input comprises at least one of the following inputs:触控输入、语音输入、手势输入以及对所述终端设备进行的晃动输入。Touch input, voice input, gesture input, and shaking input to the terminal device.5.根据权利要求4所述的方法,其特征在于,在所述第一输入包括所述触控输入的情况下,所述响应于所述第一输入,获取应用快捷键集合对应的目标状态,包括:5 . The method according to claim 4 , wherein, in the case where the first input includes the touch input, the acquiring, in response to the first input, a target state corresponding to a set of application shortcut keys. 6 . ,include:响应于所述第一输入,获取触控参数;obtaining touch parameters in response to the first input;根据所述触控参数,获取所述应用快捷键集合对应的目标状态;obtaining, according to the touch parameters, the target state corresponding to the set of application shortcut keys;其中,所述触控参数包括触控移动方向、触控时长、触控压力大小、触控对象、预设时长内的触控次数、触控手势、触控移动速度、触控轨迹、触控目标位置中的至少一种。Wherein, the touch parameters include touch movement direction, touch duration, touch pressure, touch object, touch times within a preset duration, touch gesture, touch movement speed, touch trajectory, touch at least one of the target locations.6.根据权利要求1或2所述的方法,其特征在于,6. The method according to claim 1 or 2, characterized in that,所述第一应用程序为第一预设时间段内处于运行状态的应用程序,所述第一预设时间段的终止时刻与当前时刻相同;或者,The first application is an application that is running within a first preset time period, and the termination moment of the first preset time period is the same as the current moment; or,所述第一应用程序为处于运行状态且最近运行的M个应用程序中的一个应用程序,M为正整数;或者,The first application is one of the M applications that are in the running state and run recently, and M is a positive integer; or,所述第一应用程序为处于运行状态的N个应用程序中的一个应用程序,所述N个应用程序为按照应用快捷键显示优先级确定的应用程序,N为正整数。The first application program is one application program among N application programs in a running state, the N application programs are application programs determined according to the display priority of application shortcut keys, and N is a positive integer.7.根据权利要求1或2所述的方法,其特征在于,所述方法还包括:7. The method according to claim 1 or 2, wherein the method further comprises:在所述第一应用快捷键当前处于展开状态,且所述第一应用快捷键上显示的关键信息在第二预设时间段内未发生变更的情况下,控制所述第一应用快捷键从所述展开状态切换至收起状态。When the first application shortcut key is currently in an expanded state and the key information displayed on the first application shortcut key has not changed within a second preset time period, control the first application shortcut key from The unfolded state is switched to a retracted state.8.一种终端设备,其特征在于,包括:8. A terminal device, comprising:获取模块,用于获取对显示界面上关于第一应用程序的第一应用快捷键的第一输入;以及,an obtaining module, configured to obtain the first input on the first application shortcut key of the first application on the display interface; and,响应于所述第一输入,获取应用快捷键集合对应的目标状态;其中,所述应用快捷键集合至少包括所述第一应用快捷键;In response to the first input, obtain a target state corresponding to a set of application shortcut keys; wherein, the set of application shortcut keys includes at least the first application shortcut key;控制模块,用于控制所述应用快捷键集合中的各个应用快捷键从当前状态切换至所述目标状态。A control module, configured to control each application shortcut key in the set of application shortcut keys to switch from the current state to the target state.9.一种终端设备,其特征在于,包括处理器和存储器,所述处理器和存储器耦合,所述存储器用于存储计算机程序指令,当所述处理器执行所述计算机程序指令时,使得终端设备执行权利要求1至7中任一所述的应用快捷键的控制方法。9. A terminal device, characterized in that it comprises a processor and a memory, the processor and the memory are coupled, and the memory is used to store computer program instructions, and when the processor executes the computer program instructions, the terminal The device executes the method for controlling application shortcut keys according to any one of claims 1 to 7.10.一种计算机存储介质,其特征在于,所述计算机存储介质中存储有程序指令,当所述程序指令在终端设备上运行时,使得终端设备执行如权利要求1至7中任一所述的应用快捷键的控制方法。10. A computer storage medium, characterized in that, program instructions are stored in the computer storage medium, and when the program instructions are run on a terminal device, the terminal device is made to execute any one of claims 1 to 7. The control method of the application shortcut keys.
CN202010745875.XA2020-07-292020-07-29Control method for application shortcut key, terminal equipment and storage mediumActiveCN111880920B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010745875.XACN111880920B (en)2020-07-292020-07-29Control method for application shortcut key, terminal equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010745875.XACN111880920B (en)2020-07-292020-07-29Control method for application shortcut key, terminal equipment and storage medium

Publications (2)

Publication NumberPublication Date
CN111880920Atrue CN111880920A (en)2020-11-03
CN111880920B CN111880920B (en)2023-11-10

Family

ID=73201090

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010745875.XAActiveCN111880920B (en)2020-07-292020-07-29Control method for application shortcut key, terminal equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN111880920B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2024082913A1 (en)*2022-10-202024-04-25华为技术有限公司Multi-task management method, and electronic device
WO2024217159A1 (en)*2023-04-172024-10-24华为技术有限公司Response method for electronic device, and electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101957714A (en)*2010-05-312011-01-26宇龙计算机通信科技(深圳)有限公司Method, system and mobile terminal for displaying application icons
CN106155488A (en)*2016-07-152016-11-23乐视控股(北京)有限公司The display packing of application icon and device
CN106227406A (en)*2016-07-152016-12-14乐视控股(北京)有限公司The display packing of application icon and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101957714A (en)*2010-05-312011-01-26宇龙计算机通信科技(深圳)有限公司Method, system and mobile terminal for displaying application icons
CN106155488A (en)*2016-07-152016-11-23乐视控股(北京)有限公司The display packing of application icon and device
CN106227406A (en)*2016-07-152016-12-14乐视控股(北京)有限公司The display packing of application icon and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2024082913A1 (en)*2022-10-202024-04-25华为技术有限公司Multi-task management method, and electronic device
WO2024217159A1 (en)*2023-04-172024-10-24华为技术有限公司Response method for electronic device, and electronic device and storage medium

Also Published As

Publication numberPublication date
CN111880920B (en)2023-11-10

Similar Documents

PublicationPublication DateTitle
RU2687037C1 (en)Method, device for fast screen separation, electronic device, ui display and storage medium
CN109062467B (en) Split-screen application switching method, device, storage medium and electronic device
CN102830909B (en) User interface icon management method and touch device
CN105786878B (en)Display method and device of browsing object
CN109309752B (en)Mobile terminal and method and device for operating screen with one hand
JP2015536009A (en) Virtual keyboard display method, apparatus, terminal, program, and recording medium
CN110442297B (en)Split screen display method, split screen display device and terminal equipment
WO2017113379A1 (en)Menu display method for user interface and hand-held terminal
CN106445340B (en)Method and device for displaying stereoscopic image by double-screen terminal
CN111669664B (en) A video playback method, video playback device, electronic equipment and storage medium
CN103389863A (en)Display control method and device
CN105022552A (en)Message list display method and apparatus
CN108920069B (en)Touch operation method and device, mobile terminal and storage medium
CN108932093A (en)Split screen application switching method and device, storage medium and electronic equipment
CN103455257A (en)Implementation method of electronic amplifier and user equipment
CN110007835A (en) Object management method and mobile terminal
CN106371749A (en)Method and device for terminal control
CN111274054B (en) Message processing method and electronic device
CN103399657B (en)The control method of mouse pointer, device and terminal unit
CN104238931B (en)Information input method and device and electronic equipment
CN111880920B (en)Control method for application shortcut key, terminal equipment and storage medium
CN109725789A (en) Application icon filing method and terminal device
CN103412722A (en)Method and device for selecting multiple objects and terminal equipment
CN106934003B (en)File processing method and mobile terminal
CN105630315A (en)Quantity adjustment method and apparatus

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp