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
CN111880920A CN202010745875.XA CN202010745875A CN111880920A CN 111880920 A CN111880920 A CN 111880920A CN 202010745875 A CN202010745875 A CN 202010745875A CN 111880920 A CN111880920 A CN 111880920A
Authority
CN
China
Prior art keywords
application
state
shortcut key
application shortcut
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 Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010745875.XA priority Critical patent/CN111880920B/en
Publication of CN111880920A publication Critical patent/CN111880920A/en
Application granted granted Critical
Publication of CN111880920B publication Critical patent/CN111880920B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a control method, terminal equipment and a storage medium for applying shortcut keys, which are applied to the technical field of terminals, and the method can comprise the following steps: the method comprises the steps that terminal equipment obtains first input of a first application shortcut key related to a first application program on a display interface; responding to the first input, and acquiring a target state corresponding to the application shortcut key set; wherein the set of application shortcuts comprises at least the first application shortcut; and controlling each application shortcut key in the application shortcut key set to be switched from the current state to the target state. Therefore, the state of the application shortcut key can be flexibly switched by switching the state of at least one application shortcut key, so that the form diversification of the application shortcut key is realized.

Description

Control method of application shortcut key, terminal equipment and storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a control method for an application shortcut key, a terminal device, and a storage medium.
Background
During the process of using the application program a installed on the terminal device, the user needs to frequently switch the application program a to the application program B to view the progress information related to the application program B. In the related art, the progress information related to the application program B can be viewed by starting the application shortcut without frequently performing switching of the application program. However, the existing application shortcut keys usually maintain one form, so that the form is too single to meet the use requirement.
Disclosure of Invention
The embodiment of the application provides a control method of application shortcut keys, terminal equipment and a storage medium.
According to a first aspect of an embodiment of the present application, a method for controlling an application shortcut key is provided, which is applied to a terminal device, and the method includes:
acquiring a first input of a first application shortcut key related to a first application program on a display interface;
responding to the first input, and acquiring a target state corresponding to the application shortcut key set; wherein the set of application shortcuts comprises at least the first application shortcut;
and controlling each application shortcut key in the application shortcut key set to be switched from the current state to the target state.
According to a second aspect of embodiments of the present application, there is provided a terminal device, including:
the acquisition module is used for acquiring a first input of a first application shortcut key related to a first application program on a display interface; and the number of the first and second groups,
responding to the first input, and acquiring a target state corresponding to the application shortcut key set; wherein the set of application shortcuts comprises at least the first application shortcut;
and the control module is used for controlling the application shortcut key set to be switched from the current state to the target state.
According to a third aspect of embodiments of the present application, there is provided a terminal device, comprising a processor and a memory, the processor and the memory being coupled, the memory being configured to store computer program instructions, which, when executed by the processor, cause the terminal device to perform the method for controlling application shortcut keys according to the first aspect.
According to a fourth aspect of embodiments of the present application, there is provided a computer storage medium, in which program instructions are stored, and when the program instructions are run on a terminal device, the program instructions cause the terminal device to execute the method for controlling application shortcut keys according to the first aspect.
According to a fifth aspect of embodiments of the present application, a chip is provided, where the chip is coupled with a memory in a terminal device, so that the chip calls a program instruction stored in the memory when running, so that the terminal device executes the control method for applying a shortcut key according to the first aspect.
According to the technical scheme, the embodiment of the application has the following advantages: the method comprises the steps that the terminal equipment firstly obtains a first input of a first application shortcut key related to a first application program on a display interface; then responding to the first input, and acquiring a target state corresponding to the application shortcut key set; wherein the set of application shortcuts comprises at least the first application shortcut; and finally, controlling each application shortcut key in the application shortcut key set to be switched to the target state from the current state. Therefore, the state of the application shortcut key can be flexibly switched by switching the state of at least one application shortcut key, so that the form diversification of the application shortcut key is realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the embodiments and the drawings used in the description of the prior art, and obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained according to the drawings.
Fig. 1 is a schematic view of an interface displayed by a terminal device according to an embodiment of the present disclosure;
fig. 2A is a schematic diagram of a control method for applying a shortcut key according to an embodiment of the present application;
fig. 2B is a schematic diagram of an interface displayed by another terminal device according to the embodiment of the present application;
fig. 2C is a schematic view of an interface displayed by another terminal device according to the embodiment of the present application;
fig. 2D is a schematic diagram of an interface displayed by another terminal device according to the embodiment of the present application;
fig. 2E is a schematic diagram of an interface displayed by another terminal device according to the embodiment of the present application;
fig. 2F is a schematic view of an interface displayed by another terminal device according to an embodiment of the present disclosure;
fig. 2G is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;
fig. 2H is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present disclosure;
fig. 2I is a schematic diagram of a control method for applying a shortcut key according to an embodiment of the present application;
fig. 2J is a schematic view of an interface displayed by another terminal device according to an embodiment of the present disclosure;
fig. 2K is a schematic view of an interface displayed by another terminal device according to an embodiment of the present application;
fig. 2L is a schematic view of an interface displayed by another terminal device according to the embodiment of the present application;
fig. 2M is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;
fig. 2N is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;
fig. 2O is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present disclosure;
fig. 2P is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;
fig. 2Q is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present disclosure;
fig. 2R is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present application;
fig. 3 is a schematic diagram of another control method for applying a shortcut key according to an embodiment of the present application;
fig. 4 is a schematic diagram of another control method for applying a shortcut key according to an embodiment of the present application;
fig. 5 is a block diagram of a terminal device according to an embodiment of the present disclosure;
fig. 6 is a block diagram of a terminal device according to an embodiment of the present application.
Detailed Description
For a person skilled in the art to better understand 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, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. The embodiments in the present application shall fall within the protection scope of the present application.
First, an application scenario in which a shortcut key is applied will be exemplified. Illustratively, under the condition of starting an application shortcut key switch of a game application program, if a user returns to a desktop when waiting for an airplane to take off in the process of playing the game application program and starts a chat application program, the terminal device automatically suspends and displays an application shortcut key related to the game application program on a display interface, and key information related to the airplane take off is displayed on the application shortcut key, so that the user does not need to frequently switch between the two application programs, the key information related to the airplane take off can be quickly acquired by looking at the application shortcut key on the display interface at one eye, and the game application program can be quickly returned by clicking the application shortcut key. Therefore, when the application shortcut key exits the front end of an application program for a user, the terminal device automatically displays a control related to the application program on the display interface. Wherein the application shortcut may be a customized mode.
For example, as shown in fig. 1, an application shortcut key related to a game application program may be displayed on a chat interface in a floating manner, and the key information displayed on the application shortcut key includes airplane takeoff progress information. In the related art, only one application shortcut key is displayed at the same time, and the key information (i.e., "take-off" and "00: 45" in fig. 1) expanded by the application shortcut key cannot be collected, which easily causes information obstruction to the content on the display interface.
Based on the above problem, the embodiments of the present application provide a control method for application shortcut keys, which enables states of the application shortcut keys to be flexibly switched by switching states of at least one application shortcut key, thereby implementing form diversification of the application shortcut keys.
The following describes a control method for using a shortcut key in the present application in detail with reference to specific embodiments.
Fig. 2A is a schematic flowchart of a control method for applying a shortcut key according to an embodiment of the present application. The method may be applied to a terminal device, which may include, for example, a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a handheld computer, a netbook, a Personal Digital Assistant (PDA), a wearable device (such as a watch, a wrist, glasses, a helmet, a headband, and the like), and the specific form of the terminal device is not particularly limited in the embodiments of the present application.
As shown in fig. 2A, the method may include:
201. a first input to a first application shortcut key on a display interface with respect to a first application program is obtained.
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 key referred to in the present application may have a function of rapidly switching between different applications, a function of displaying key information, and the like.
In an alternative 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 performed on the terminal device.
It is understood that application shortcut keys corresponding to at least one application program respectively can be displayed on the display interface. Wherein the at least one application includes at least a first application. Illustratively, as shown in fig. 2B and 2C, an interface diagram showing application shortcut keys corresponding to five application programs is shown on a display interface.
In an embodiment, the at least one application may be an application in an application that a user previously starts an application that applies a shortcut key switch. For example, as shown in fig. 2D, a switch control corresponding to the application shortcut key function and a switch control corresponding to each application program may be provided. Under the condition that the switch control corresponding to the application shortcut key function is started, whether the corresponding application shortcut key function is started may be set for each application program, and fig. 2D illustrates, by way of example, the application shortcut key functions respectively corresponding to the start APP1, APP2, APP5, APP6, and APP 8. Under the condition that the switch control corresponding to the application shortcut key is closed, whether the corresponding application shortcut key function is started or not cannot be set for each application program.
The key information displayed on the application shortcut key can be the progress information of a target process in a corresponding application program; the target process may be a preset process or a currently executed process, which is not particularly limited in this application.
It should be noted that an application shortcut key display area is set on the display screen of the terminal device in advance. In this way, the terminal device displays application shortcut keys respectively corresponding to at least one application program on the application shortcut key display area. The application shortcut key display area may be an area displaying less important information, for example, an edge area on the display screen. The application shortcut key display area shown in fig. 2B is a right edge area corresponding to the terminal device when the terminal device is displayed in a vertical screen, and the application shortcut key display area shown in fig. 2C is a right edge area corresponding to the terminal device when the terminal device is displayed in a horizontal screen. In this way, the application shortcut keys corresponding to at least one application program are displayed in the area with less important information, so that the shielding of the important information is reduced.
In alternative embodiments of the present application, the first application may include, but is not limited to, the following:
in case one, the first application program is an application program in an operating state within a first preset time period, and the termination time of the first preset time period is the same as the current time.
It can be understood that, since the user does not pay attention to the progress of the application program used for a long time (e.g. 1 day, 1 week, etc.), the application need not present the application shortcut key corresponding to the application program used for a long time. Based on this, the duration of the first preset time period is equal to or less than a preset duration (e.g., 2 hours, one day, etc.).
It should be noted that the running state in this application refers to a state in which the backend of the application is running.
It should be understood that, in the first case, the at least one application is an application that is in a running state within a first preset time period.
And in the second case, the first application program is one of M application programs which are in a running state and run recently, wherein M is a positive integer.
It can be understood that, because the size of the display screen of the terminal device is limited, if the number of the displayed application shortcut keys is large, the content in the display interface is blocked more, and the user experience is poor. Based on this, in one implementation, M in the present application may be determined according to the size of the display screen, where the larger the size of the display screen, the larger M; the smaller the size of the display screen, the smaller M. In another implementation, M is a predetermined number, e.g., M is set to 5.
It should be understood that, in the second case, the at least one application program may be M application programs that are in a running state and are recently running.
And in the third case, the first application program is one of N application programs in a running state, the N application programs are application programs determined according to the display priority of the application shortcut keys, and N is a positive integer.
It can be understood that, also in consideration of the problem that the size of the display screen of the terminal device is limited, in the case that there are many application programs for starting the application shortcut key function, if the application shortcut keys of many application programs are all displayed on the display interface, the content in the display interface is blocked more. Based on this, N and the application shortcut key display priority corresponding to each application program are preset in the application, the setting method of N may refer to the setting process of M, and the setting process of the application shortcut key display priority corresponding to each application program may refer to the setting process of the preset order of at least one application program described in the first mode below, which is not described herein again.
It should be understood that, in case three, the at least one application described above may be N applications that are in a running state and the application shortcut key display priority is top.
In an embodiment of the present application, the application shortcut key related to at least one application program may be displayed on the display interface by, but not limited to, the following ways:
in the first mode, the terminal device can display application shortcut keys related to at least one application program on the display interface according to a preset sequence of the at least one application program. If the preset sequence corresponding to the application program is more forward, the corresponding application shortcut key is more forward on the display interface; and if the preset sequence corresponding to the application program is more backward, the corresponding application shortcut key is more backward on the display interface.
The preset sequence may be a sequence set in the interface shown in fig. 2D. For example, the preset sequence of the respective application programs can be changed by dragging the program identifications of the respective application programs. In fig. 2D, the respective corresponding application shortcut functions of APP1, APP2, APP5, APP6, and APP8 are started, and the respective corresponding sequences of APP1, APP2, APP5, APP6, and APP8 are: APP1, APP2, APP5, APP8, APP 6. In this way, in the case where at least one application is APP1, APP2, APP5, APP6, APP8, a schematic diagram of displaying an application shortcut key for the at least one application on the display interface is shown in fig. 2B.
And secondly, the terminal equipment can display the application shortcut key related to at least one application program on the display interface according to the nearest front-end exit time corresponding to the at least one application program. If the nearest front-end exit time corresponding to the application program is closer to the current time, the corresponding application shortcut key is closer to the front on the display interface; and if the exit time of the nearest front end corresponding to the application program is farther from the current time, the application shortcut key corresponding to the application program is farther back on the display interface.
Illustratively, if the most recent exit time corresponding to APP1, APP2, APP5, APP6, APP8 is in turn: 18:09 at 12/7/2020/7, 18:20 at 12/7/2020/7, 18:50 at 12/7/2020, 19:25 at 12/7/2020, and 19:05 at 21/7/21/2020, and the current time is 19:30 at 21/2020, the order of the application shortcut keys corresponding to APP1, APP2, APP5, APP6, and APP8 is as shown in fig. 2B: an application shortcut key corresponding to APP1, an application shortcut key corresponding to APP2, an application shortcut key corresponding to APP5, an application shortcut key corresponding to APP8, and an application shortcut key corresponding to APP 6.
And thirdly, the terminal device can display the application shortcut key related to the at least one application program on the display interface according to the use frequency of the at least one application program in a preset historical time period (such as in the last hour, the last day and the like). Alternatively, the termination time of the preset history period may be the same as the current time. If the use frequency corresponding to the application program is higher, the corresponding application shortcut key is farther forward on the display interface; and if the use frequency corresponding to the application program is lower, the application shortcut key corresponding to the application program is located at the back of the display interface. Alternatively, the frequency of use may be the number of times the user launches the front end of the application.
The above-described implementations are merely exemplary and are not intended to be limiting in this application.
202. Responding to the first input, and acquiring a target state corresponding to the application shortcut key set; the application shortcut key set at least comprises a first application shortcut key.
In an embodiment of the application, the application shortcut key set may include all or part of application shortcut keys currently displayed on the display interface. The following is an exemplary description in each case:
in the first case, under the condition that the number of currently displayed application shortcut keys on the display interface is one, the set of application shortcut keys is the first application shortcut key (i.e. all currently displayed application shortcut keys are equivalent).
In a second case, under the condition that the number of the application shortcut keys currently displayed on the display interface is at least two, the application shortcut key set can be a first application shortcut key (i.e. equivalent to a part of currently displayed application shortcut keys); or, all application shortcut keys currently displayed on the display interface can be displayed; or, the application shortcut keys may be a first application shortcut key and a third application shortcut key currently displayed on the display interface, and the third application shortcut key is at least one application shortcut key except the first application shortcut key in all currently displayed application shortcut keys. The third application shortcut key and the first application shortcut key have the same current state; 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 an application shortcut key which is pre-bound to the first application shortcut key and used for carrying out synchronous state change.
In summary, the application shortcut key set in the present application may include one application shortcut key (i.e. the first application shortcut key), or two application shortcut keys, or a plurality of application shortcut keys.
In an embodiment of the present application, in a case that the first input includes a touch input, the step may include: responding to the first input, and acquiring a touch parameter; acquiring a target state corresponding to the application shortcut key set according to the touch parameter; the touch parameter includes at least one of a touch moving direction, a touch duration, a touch pressure, a touch object, a touch frequency within a preset duration, a touch gesture, a touch moving speed, a touch trajectory, and a touch target position.
It should be understood that the touch object may include a first program identification in the first application shortcut key and first key information in the first application shortcut key. The first program identification is arranged at one end of the first application shortcut key, the first key information is arranged at the other end of the first application shortcut key, and the one end and the other end are in an opposite-end relationship.
203. And controlling each application shortcut key in the application shortcut key set to be switched to a target state from a current state.
In an alternative embodiment of the present application, the target state and the current state are respectively any one of the following: the device comprises an unfolding state and a folding state, wherein the target state is different from the current state; or the current state is a display state, and the target state is a deletion state; or the current state is the state at the current position, and the target state is the state at the target position; alternatively, the target state and the current state are respectively any one of the following: an aggregate state and a scatter state, and a target state and a current state are different.
It is understood that the current position and the target position described in this application may be both coordinate positions on the display interface, or may be both sort positions on the display interface, and so on.
For convenience of understanding, the following description takes the first input as the touch input as an example:
first, description will be given of switching between the expanded state and the collapsed state:
(1) the number of the application shortcut key sets is one, namely the application shortcut key sets comprise the first application shortcut key
In one embodiment, the terminal device receives a first trigger operation performed on a first program identifier in a first application shortcut key, and controls the first application shortcut key to switch between an expanded state and a retracted state according to the first trigger operation. If the current state of the first application shortcut key is the expansion state, the corresponding target state is the retraction state; and if the current state of the first application shortcut key is the retracting state, the corresponding target state is the unfolding state.
For example, the first trigger operation may be a single-click operation performed on the first program identifier, and the corresponding touch parameter may include: the touch object is a first program identifier, and the number of touches is 1.
In another embodiment, the terminal device may receive a second trigger operation performed on a first program identifier in the first application shortcut key, and control the first application shortcut key to switch from the expanded state to the collapsed state according to the second trigger operation; the terminal device may receive a third trigger operation performed on the first program identifier in the first application shortcut key, and control the first application shortcut key to be switched from the retracted state to the expanded state according to the third trigger operation.
For example, as shown in fig. 2E, the first application shortcut key is an application shortcut key corresponding to APP6, the second triggering operation may be a sliding operation from one end where the first program identifier is located toward the other end where the first key information is located, and the corresponding touch parameter may include: the touch object is a first program identifier, and the touch moving direction is a direction moving 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 as shown in fig. 2F.
As shown in fig. 2F, the first application shortcut key is an application shortcut key corresponding to APP6, the third triggering operation may be a sliding operation performed by deviating from an edge of the first target display screen from a position where the first program identifier is located, the edge of the first target display screen is an edge of the display screen closest to the first program identifier and belongs to left and right sides, and the corresponding touch parameter may include: the touch object is a first program identifier, and the touch moving direction is a direction moving away from the edge of the first target display screen from the position of the first program identifier. Or, the third trigger operation may be a single-click operation performed on the first program identifier, and the corresponding touch parameter may include: the touch object is a first program identifier, and the number of touches is 1.
In another embodiment, the terminal device may receive a fourth trigger operation performed 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 collapsed state according to the fourth trigger operation; the terminal device may receive a fifth trigger operation performed on the first program identifier in the first application shortcut key, and control the first application shortcut key to be switched from the retracted state to the expanded state according to the fifth trigger operation.
As shown in fig. 2G, the first application shortcut key is an application shortcut key corresponding to APP6, the fourth triggering operation may be a sliding operation performed from the other end where the first key information is located toward the end where the first program identifier is located, and the corresponding touch parameter may include: the touch object is first key information, and the touch moving direction is a direction moving 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 as shown in fig. 2H.
The fourth trigger operation may also be a single-click operation performed on the first key information, and the corresponding touch parameter may include: the touch object is the first key information, and the number of touches is 1.
As shown in fig. 2I, the first application shortcut key is an application shortcut key corresponding to APP6, the fifth triggering operation may be a sliding operation performed by deviating from an edge of the second target display screen from a position where the first program identifier is located, the edge of the second target display screen is an edge of the display screen closest to the first program identifier and belongs to left and right sides, and the corresponding touch parameter may include: the touch object is a first program identifier, and the touch moving direction is a direction departing from the edge of the second target display screen from the position of the first program identifier. At this time, the target state of the first application shortcut key corresponding to APP6 is as shown in fig. 2G.
As shown in fig. 2J, the first application shortcut key is an application shortcut key corresponding to APP6, the fifth triggering operation may also be a single-click operation performed on the first program identifier, and the corresponding touch parameter may include: the touch object is a first program identifier, and the number of touches is 1. At this time, the target state of the first application shortcut key corresponding to APP6 is as shown in fig. 2G.
(2) The number of the 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 states can be switched by a mode without limitation:
(a) and the terminal equipment receives a sixth trigger operation carried out on the first program identifier in the first application shortcut key, and controls all the application shortcut keys to carry out switching between the unfolding state and the folding state according to the sixth trigger operation. If the current states of all the application shortcut keys are the expansion states, the corresponding target state is the retraction state; and if the current states of all the application shortcut keys are the retracted states, the corresponding target state is the expanded state.
For example, the sixth triggering operation may be a double-click operation performed on the first program identifier, and the corresponding touch parameter may include: the touch object is the first program identifier, and the number of touches is 2.
(b) The terminal equipment receives a seventh trigger operation carried out on the first application shortcut key, and controls all application shortcut keys to be switched from the unfolding state to the folding state according to the seventh trigger operation; and the terminal equipment receives an eighth trigger operation carried out on the first program identifier in the first application shortcut key, and controls all application shortcut keys to be switched from the retracted state to the expanded state according to the eighth trigger operation.
For example, as shown in fig. 2K, the first application shortcut key is an application shortcut key corresponding to APP6 (i.e. the application shortcut key covered by the finger in fig. 2K), the seventh triggering operation may be an operation in which a distance between at least two touch points (illustrated by taking two touch points as an example in fig. 2K) on the first application shortcut key gradually decreases, and the corresponding touch parameters may include: the touch tracks are at least two tracks close to each other. At this time, the target state of all the application shortcut keys may be as shown in fig. 2L.
The eighth triggering operation may be a pressing operation performed on the first program identifier, and the corresponding touch parameter may include: the touch object is a first program identifier, and the touch pressure is greater than a preset pressure value.
(c) The terminal equipment receives ninth triggering operation carried out on the first key information in the first application shortcut key, and controls all application shortcut keys to be switched from the unfolding state to the folding state according to the ninth triggering operation; and the terminal equipment receives a tenth trigger operation carried out on the first program identifier in the first application shortcut key, and controls all the application shortcut keys to be switched from the retracted state to the expanded state according to the tenth trigger operation.
For example, the ninth triggering operation may be a sliding operation performed on the first key information according to a preset track, and the corresponding touch parameter may include: the touch object is first key information, and the touch track is a preset track. For example, the preset trajectory is a trajectory with respect to the letter "O".
As shown in fig. 2L, the first application shortcut key is an application shortcut key corresponding to APP6 (i.e. the application shortcut key covered by the dashed line in fig. 2L), the tenth triggering operation may be an operation in which a distance between at least two touch points on the first program identifier gradually increases, and the corresponding touch parameters may include: the touch tracks are at least two tracks far away from each other. At this time, the target state of all the application shortcut keys is as shown in fig. 2K.
If the current states of all application shortcut keys displayed on the display interface at present are not identical, the state switching of a part of application shortcut keys in all application shortcut keys can be performed by triggering the first application shortcut key, and the part of application shortcut keys can comprise the first application shortcut key and a third application shortcut key. The content of the trigger operation in (a), (b), and (c) may be referred to for the trigger operation, and is not described herein again.
Second, description is made on switching between the aggregation state and the scattering state:
in an embodiment, the terminal device may receive an 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.
For example, the aggregated touch operation may be a long-press operation (that is, a press duration is greater than or equal to a preset duration) on the first application shortcut key. For example, if the aggregated touch operation is performed on all application shortcut keys shown in any one of fig. 2E to fig. 2L, all aggregated application shortcut keys indicated by dotted lines in fig. 2M or fig. 2N may be obtained.
In another embodiment, the terminal device may first receive a first merge operation performed on the first application shortcut key, and merge the first application shortcut key and the fourth application shortcut key according to the first merge operation to obtain an initial merge application shortcut key. Optionally, the initial merged application shortcut key may be obtained by moving the first application shortcut key to a position where the fourth application shortcut key is located. And then, sequentially receiving second merging operation performed on the application shortcut keys to be merged, merging the application shortcut keys to be merged into the initial merged application shortcut keys according to the second merging operation to obtain target merged application shortcut keys, so that the application shortcut keys in the target merged application shortcut keys are switched from a scattered state to an aggregated state. The second merge operation may be to move the application shortcut to be merged to a location where the initial merged application shortcut is located. And at the moment, the third application shortcut key is the application shortcut key except the first application shortcut key in the target merged application shortcut key. Therefore, the application shortcut keys which need to be merged by the user can be merged through the merging process.
In another embodiment, the terminal device receives a removing operation performed on the first application shortcut keys included in all the aggregated application shortcut keys, and switches the first application shortcut keys from the aggregated state to the scattered state according to the removing operation.
Similarly, the terminal device receives a removing operation of the first application shortcut key included in the target merged application shortcut key, and switches the first application shortcut key from the aggregation state to the scattering state according to the removing operation.
In another embodiment, the terminal device receives right-click operations on all the aggregated application shortcut keys, and displays an operation list according to the right-click operations, wherein the operation list comprises a cancel aggregation control. In this way, when the clicking operation on the aggregation canceling control is detected, all the application shortcut keys after aggregation are controlled to be switched from the aggregation state to the scattering state.
Similarly, the terminal device receives right-click operation on the target merging application shortcut key, and displays an operation list according to the right-click operation, wherein the operation list comprises a de-aggregation control. In this way, when the clicking operation on the aggregation canceling control is detected, the application shortcut key in the target merged application shortcut key is switched from the aggregation state to the scattering state.
Third, description is made on switching between the display state and the deletion state:
(1) the number of the application shortcut key sets is one, namely the application shortcut key sets comprise the first application shortcut key
In the embodiment of the application, the terminal device receives the deleting operation of the first application shortcut key, and switches the first application shortcut key from the display state to the deleting state according to the deleting operation.
As shown in fig. 2O, the first application shortcut key is an application shortcut key corresponding to the APP6, and the deleting operation may be an operation of dragging the first application shortcut key to the recycle control. And the terminal equipment displays the recovery control when detecting that the mobile operation is carried out on any application shortcut key.
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, the deletion control is displayed in a case that a specified operation on the first application shortcut key is detected, where the specified operation may be an operation of drawing a letter "C" on the first application shortcut key, or the like.
(2) The number of the application shortcut key sets is at least two
In an embodiment, after the aggregated all application shortcut keys are acquired, the terminal device receives a deletion operation performed on the aggregated all application shortcut keys, and switches the all application shortcut keys from the display state to the deletion state according to the deletion operation. Illustratively, as shown in fig. 2M and 2N.
In another embodiment, after the target merged application shortcut key is acquired, the terminal device receives a deletion operation performed on the target merged application shortcut key, and switches all the application shortcut keys in the target merged application shortcut key from the display state to the deletion state according to the deletion operation. Therefore, the application shortcut key which needs to be deleted together can be determined according to the requirements of the user.
Fourth, a description is given of switching between the state at the current position and the state at the target position:
(1) the number of the application shortcut key sets is one, namely the application shortcut key sets comprise the first application shortcut key
In the embodiment of the application, the current position and the target position may both be coordinate positions on the display interface, so that the first application shortcut key may be subjected to position movement to avoid the first application shortcut key from shielding the content on the display interface. For example, since the information displayed at the edge position on the display screen is generally information with low attention of the user, the first application shortcut key may be moved to the edge position on the display screen.
(2) The number of the application shortcut key sets is at least two
In the first case, the current position and the target position are both coordinate positions on the display interface.
In one embodiment, if multiple application shortcut keys are distributed in different areas of the display screen, the viewing may be inconvenient, such as requiring a first application shortcut key to be viewed in an upper area of the display screen, a second application shortcut key to be viewed in a lower area of the display screen, and so on.
Based on this, after the aggregated all application shortcut keys are obtained, the terminal device receives the position moving operation performed on the aggregated all application shortcut keys, and moves all application shortcut keys from the current position to the target position according to the position moving operation, so that the distribution of all application shortcut keys is concentrated.
In another embodiment, after the target merged application shortcut key is obtained, the terminal device receives the position moving operation performed on the target merged application shortcut key, and moves the application shortcut key in the target merged application shortcut key from the current position to the target position according to the position moving operation, so that the position of multiple application shortcut keys can be moved simultaneously, and the operation is simplified.
In the second case, the current position and the target position are both sorted positions on the display interface.
In one embodiment, when the sorting movement operation performed on the first application shortcut key is detected, and the target touch position corresponding to the sorting movement operation is the position where the third application shortcut key is located. One way is then: if the initial display interface is as shown in fig. 2E, as shown in fig. 2Q, switching the sorting positions of the first application shortcut key and the third application shortcut key, and the switched display interface is as shown in fig. 2R; the other mode is as follows: and sequentially moving the application shortcut keys after the third application shortcut key is sequenced backwards by one sequencing position, moving the third application shortcut key backwards by one sequencing position, and setting the first application shortcut key at the sequencing position where the third application shortcut key is initially positioned. The specific operations in the touch input are only exemplary, and the application is not limited thereto.
Under the condition that the first input is voice input, if the voice input is 'please convert the first application shortcut key into the retracting state', the terminal device controls the first application shortcut key to be switched from the unfolding state to the retracting state; if the voice input is 'please switch the first application shortcut key to the unfolding state', the terminal device controls the first application shortcut key to be switched from the folding state to the unfolding state; if the voice input is 'please convert the first application shortcut key into the deletion state', the terminal device controls the first application shortcut key to be switched from the display state to the deletion state; if the voice input comprises 'please move the first application shortcut key to the first direction' and 'stop', and the like, and the final stop position corresponding to the voice input 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 into the scattering state', the terminal device controls the first application shortcut key to be switched from the aggregation state to the scattering state; and 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 aggregation state. The above speech input is only exemplary and the present application is not limited thereto.
Under the condition that the first input is gesture input, if the gesture input is a first gesture, and at the moment, the current state of the first application shortcut key is an expansion state, the terminal device controls the first application shortcut key to be switched from the expansion state to a retraction state; and if the current state of the first application shortcut key is the retracting state, the terminal equipment controls the first application shortcut key to be switched from the retracting state to the unfolding state. For example, the first gesture may be a combination of a sort gesture and a first specified gesture. For example, if the first application shortcut key is the first application shortcut key in the sequence, the sequence gesture may be a gesture of extending one finger; the first designated gesture may be an "ok" gesture.
And if the gesture input is a second gesture, and at the moment, the current state of the first application shortcut key is the display state, the terminal equipment controls the first application shortcut key to be switched from the display state to the deletion state. For example, the second gesture may be a combination of the sort gesture and the second designated gesture. For example, if the first application shortcut key is the first application shortcut key in the sequence, the sequence gesture may be a gesture of extending one finger; the second designated gesture may be a two-finger-x gesture.
And if the gesture input is a third gesture, at the moment, the terminal equipment controls the first application shortcut key to be switched to the target position from the current position. For example, the third gesture may be a combination of a sort gesture and a third specified gesture. For example, if the first application shortcut key is the first application shortcut key in the sequence, the sequence gesture may be a gesture of extending one finger; the third designated gesture may be a swipe gesture, such as a swipe left gesture, a swipe up gesture, and so forth.
If the gesture input is a fourth gesture, at this time, the terminal device controls the first application shortcut key and the third application shortcut key to be switched from the scattering state to the aggregation state. For example, the fourth gesture may be a combination of a sort gesture and a fourth specified gesture. The sorting gesture can be a gesture corresponding to the first application shortcut key and the third application shortcut key respectively; the fourth designated gesture may be a fist-making gesture, and so on.
If the gesture input is a fifth gesture, at this time, the terminal device controls the aggregated application shortcut key (i.e., all the aggregated application shortcut keys or the target merged application shortcut key) in which the first application shortcut key is located to switch from the aggregated state to the dispersed state. For example, the fourth gesture may be a gesture other than a gesture.
It should be noted that, when the terminal device detects the sorting gesture, the application shortcut key corresponding to the sorting gesture may be set to a designated form, for example, a shaking form. Therefore, after the user checks that the corresponding application shortcut key is in the designated form, the user carries out the corresponding designated gesture. The gesture input is only exemplary and is not particularly limited in this application.
Under the condition that the first input is shaking input carried out on the terminal equipment, if the first shaking input is detected, and at the moment, the current state of the first application shortcut key is the unfolding state, the terminal equipment controls the first application shortcut key to be switched from the unfolding state to the folding state; and if the current state of the first application shortcut key is the retracting state, the terminal equipment controls the first application shortcut key to be switched from the retracting state to the unfolding state. For example, the first shaking input may be a combination of the ordered shaking and the first specified shaking. For example, if the first application shortcut key is the application shortcut key with the first rank, the rank shaking may be shaking back and forth once along the second direction; the first designated shake may be a back shake in a third direction.
And if the second shaking input is detected, and at the moment, the current state of the first application shortcut key is the display state, the terminal equipment controls the first application shortcut key to be switched from the display state to the deletion state. For example, the second shake input may be a combination of the ordered shake and the second specified shake. For example, if the first application shortcut key is the application shortcut key with the first rank, the rank shaking may be shaking back and forth once along the second direction; the second designated shaking may be twice back shaking in a third direction.
And if the third shaking input is detected, the terminal equipment controls the first application shortcut key to be switched to the target position from the current position. Illustratively, the third shake input may be a combination of a sort shake and a third specified shake. For example, if the first application shortcut key is the application shortcut key with the first rank, the rank shaking may be shaking back and forth once along the second direction; the third designated shake may be a shake in various directions, such as leftward, upward, rightward, downward, and so forth.
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 be switched from the scattering state to the aggregation state. Illustratively, the fourth shake input may be a combination of a sort shake and a fourth specified shake. The sequencing shaking can be shaking corresponding to the first application shortcut key and the third application shortcut key respectively; the fourth specified shake may be a back shake in the third direction three times.
If the fifth shaking input is detected, at this time, the terminal device controls the aggregation application shortcut key (i.e. all the aggregated application shortcut keys or the target merged application shortcut key) in which the first application shortcut key is located to switch from the aggregation state to the scattering state. Illustratively, the fifth shaking input may be four times shaking back along the third direction.
It should be noted that, when the terminal device detects the above sort shaking, the application shortcut key corresponding to the sort shaking may be set to a designated form, for example, a shaking form. Therefore, after the user checks that the corresponding application shortcut key is in the designated form, corresponding designated shaking is carried out. The shaking input is only exemplary and is not particularly limited by the present application.
Referring to fig. 2A, as shown in fig. 3, after step 203, the method further includes:
204. and under the condition that the first application shortcut key is in the unfolding state at present and the key information displayed on the first application shortcut key is not changed in a second preset time period, controlling the first application shortcut key to be switched from the unfolding state to the folding state.
It should be noted that, the present application does not limit the timing sequence of step 204, for example, step 204 may be executed before step 201.
It can be understood that, considering that the user is relatively interested in the change condition of the key information, if the key information is not changed for a long time, the meaning viewed by the user is not great, so that the key information which is not changed for a long time has redundant display and can block the content on the display interface. Based on this, the terminal device automatically switches the first application shortcut key to the retraction state when detecting that the key information displayed on the first application shortcut key is not changed within a second preset time period. Therefore, the occupied area of the display interface can be reduced while the effective information is checked by the user, and the use experience of the user is improved.
In conjunction with fig. 3, as shown in fig. 4, after step 204, the method further comprises:
205. and under the condition that the key information corresponding to the first application shortcut key is changed, controlling the first application shortcut key to be switched from the retracted state to the expanded state.
It can be understood that, considering that the user pays attention to the change condition of the key information, if the key information is changed and the user does not view the changed key information in time, the progress of the related event cannot be controlled in time. Based on this, when detecting that the key information corresponding to the first application shortcut key is changed, the terminal device automatically switches the first application shortcut key from the retracted state to the expanded state so as to display the changed key information related to the first application shortcut key. Therefore, the user can check effective information in time, and the use experience of the user is improved.
Fig. 5 is a block diagram of a terminal device according to an embodiment of the present application, and as shown in fig. 5, the block diagram includes:
an obtaining module 501, configured to obtain a first input to a first application shortcut key of a first application program on a display interface; and the number of the first and second groups,
responding to the first input, and acquiring a target state corresponding to the application shortcut key set; wherein the set of application shortcuts comprises at least the first application shortcut;
and the control module is used for controlling each application shortcut key in the application shortcut key set to be switched from the current state to the target state.
Optionally, the application shortcut key set includes all or part of application shortcut keys currently displayed on the display interface.
Optionally, the target state and the current state are respectively any one of the following: the device comprises an unfolding state and a folding state, wherein the target state is different from the current state; alternatively, the first and second electrodes may be,
the current state is a display state, and the target state is a deletion state; alternatively, the first and second electrodes may be,
the current state is a state at a current position, and the target state is a state at a target position; alternatively, the first and second electrodes may be,
the target state and the current state are respectively any one of the following: an aggregate state and a scatter state, and the target state and the current state are different.
Optionally, the first input comprises at least one of:
touch input, voice input, gesture input, and shaking input performed on the terminal device.
Optionally, in a case that 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 the number of the first and second groups,
acquiring a target state corresponding to the application shortcut key set according to the touch parameter;
the touch parameter includes at least one of a touch moving direction, a touch duration, a touch pressure, a touch object, touch times within a preset duration, a touch gesture, a touch moving speed, a touch trajectory, and a touch target position.
Optionally, the first application program is an application program in an operating state within a first preset time period, and a termination time of the first preset time period is the same as a current time; alternatively, the first and second electrodes may be,
the first application program is one of M application programs which are in an operating state and are operated recently, and M is a positive integer; alternatively, the first and second electrodes may be,
the first application program is one of N application programs which are determined to be in a running state according to the display priority of the application shortcut key, and N is a positive integer.
Optionally, the control module 502 is further configured to control the first application shortcut key to be switched from the expanded state to the collapsed state when the first application shortcut key is currently in the expanded state and the key information displayed on the first application shortcut key is not changed within a second preset time period.
The specific content of the terminal device may refer to the content described in the above embodiment of the control method for applying the shortcut key, and is not described herein again.
Fig. 6 shows a block diagram of a terminal device according to an embodiment of the present application. Referring to fig. 6, the terminal device includes: radio Frequency (RF) circuitry 610, memory 620, input unit 630, display unit 640, sensor 650, audio circuitry 660, wireless fidelity (WiFi) module 670, processor 680, and power supply 690. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 6 does not constitute a limitation of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following specifically describes each constituent component of the terminal device with reference to fig. 6:
the RF circuit 610 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 680; in addition, the data for designing uplink is transmitted to the base station. In general, the RF 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, the RF circuitry 610 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), etc.
The memory 620 may be used to store software programs and modules, and the processor 680 may execute various functional applications of the terminal device and data processing by operating the software programs and modules stored in the memory 620. The memory 620 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device, and the like. Further, the 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.
The input unit 630 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the input unit 630 may include a touch panel 631 and other input devices 632. The touch panel 631, also referred to as a touch screen, may collect touch operations of a user (e.g., operations of the user on the touch panel 631 or near the touch panel 631 by using any suitable object or accessory such as a finger or a stylus) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 631 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 680, and can receive and execute commands sent by the processor 680. In addition, the touch panel 631 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 630 may include other input devices 632 in addition to the touch panel 631. In particular, other input devices 632 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 640 may be used to display information input by a user or information provided to the user and various menus of the terminal device. The display unit 640 may include a display panel 641, and optionally, the display panel 641 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 631 can cover the display panel 641, and when the touch panel 631 detects a touch operation thereon or nearby, the touch panel is transmitted to the processor 680 to determine the type of the touch event, and then the processor 680 provides a corresponding visual output on the display panel 641 according to the type of the touch event. Although in fig. 6, the touch panel 631 and the display panel 641 are two separate components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 631 and the display panel 641 may be integrated to implement the input and output functions of the terminal device.
The terminal device may also include at least one sensor 650, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 641 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 641 and/or the backlight when the terminal device is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for recognizing the attitude of the terminal device, and related functions (such as pedometer and tapping) for vibration recognition; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device, detailed description is omitted here.
Audio circuit 660, speaker 661, and microphone 662 can provide an audio interface between a user and a terminal device. The audio circuit 660 may transmit the electrical signal converted from the received audio data to the speaker 661, and convert the electrical signal into an audio signal through the speaker 661 for output; on the other hand, the microphone 662 converts the collected sound signal into an electrical signal, which is received by the audio circuit 660 and converted into audio data, which is then processed by the audio data output processor 680 and then passed through the RF circuit 610 to be transmitted to, for example, another terminal device, or output to the memory 620 for further processing.
The processor 680 is a control center of the terminal device, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 620 and calling data stored in the memory 620, thereby monitoring the terminal device as a whole. Optionally, processor 680 may include one or more processing units; preferably, the processor 680 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 680.
In this embodiment, the processor 680 included in the terminal device further has the following functions:
acquiring a first input of a first application shortcut key related to a first application program on a display interface;
responding to the first input, and acquiring a target state corresponding to the application shortcut key set; wherein the set of application shortcuts comprises at least the first application shortcut;
and controlling each application shortcut key in the application shortcut key set to be switched from the current state to the target state.
Optionally, the application shortcut key set includes all or part of application shortcut keys currently displayed on the display interface.
Optionally, the target state and the current state are respectively any one of the following: the device comprises an unfolding state and a folding state, wherein the target state is different from the current state; alternatively, the first and second electrodes may be,
the current state is a display state, and the target state is a deletion state; alternatively, the first and second electrodes may be,
the current state is a state at a current position, and the target state is a state at a target position; alternatively, the first and second electrodes may be,
the target state and the current state are respectively any one of the following: an aggregate state and a scatter state, and the target state and the current state are different.
Optionally, the first input comprises at least one of:
touch input, voice input, gesture input, and shaking input performed on the terminal device.
In this embodiment, the processor 680 included in the terminal device further has the following functions: acquiring a touch parameter in response to the first input if the first input comprises the touch input;
acquiring a target state corresponding to the application shortcut key set according to the touch parameter;
the touch parameter includes at least one of a touch moving direction, a touch duration, a touch pressure, a touch object, touch times within a preset duration, a touch gesture, a touch moving speed, a touch trajectory, and a touch target position.
Optionally, the first application program is an application program in an operating state within a first preset time period, and a termination time of the first preset time period is the same as a current time; alternatively, the first and second electrodes may be,
the first application program is one of M application programs which are in an operating state and are operated recently, and M is a positive integer; alternatively, the first and second electrodes may be,
the first application program is one of N application programs which are determined to be in a running state according to the display priority of the application shortcut key, and N is a positive integer.
In this embodiment, the processor 680 included in the terminal device further has the following functions: and under the condition that the first application shortcut key is in the unfolding state at present and the key information displayed on the first application shortcut key is not changed in a second preset time period, controlling the first application shortcut key to be switched from the unfolding state to the folding state.
The embodiment of the present invention further provides a terminal device, where the terminal device may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, each process executed by the terminal device in the foregoing method embodiments may be implemented, and the same technical effect may be achieved, and details are not repeated here to avoid repetition.
An embodiment of the present application provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process executed by a terminal device in the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method of the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A control method for applying shortcut keys is applied to terminal equipment, and is characterized in that the method comprises the following steps:
acquiring a first input of a first application shortcut key related to a first application program on a display interface;
responding to the first input, and acquiring a target state corresponding to the application shortcut key set; wherein the set of application shortcuts comprises at least the first application shortcut;
and controlling each application shortcut key in the application shortcut key set to be switched from the current state to the target state.
2. The method of claim 1, wherein the set of application shortcuts comprises all or a portion of the application shortcuts currently displayed on the display interface.
3. The method according to claim 1 or 2, wherein the target state and the current state are respectively any one of: the device comprises an unfolding state and a folding state, wherein the target state is different from the current state; alternatively, the first and second electrodes may be,
the current state is a display state, and the target state is a deletion state; alternatively, the first and second electrodes may be,
the current state is a state at a current position, and the target state is a state at a target position; alternatively, the first and second electrodes may be,
the target state and the current state are respectively any one of the following: an aggregate state and a scatter state, and the target state and the current state are different.
4. The method of claim 1 or 2, wherein the first input comprises at least one of:
touch input, voice input, gesture input, and shaking input performed on the terminal device.
5. The method according to claim 4, wherein in a case that the first input includes the touch input, the obtaining a target state corresponding to the application shortcut key set in response to the first input includes:
responding to the first input, and acquiring a touch parameter;
acquiring a target state corresponding to the application shortcut key set according to the touch parameter;
the touch parameter includes at least one of a touch moving direction, a touch duration, a touch pressure, a touch object, touch times within a preset duration, a touch gesture, a touch moving speed, a touch trajectory, and a touch target position.
6. The method according to claim 1 or 2,
the first application program is an application program in an operating state within a first preset time period, and the termination time of the first preset time period is the same as the current time; alternatively, the first and second electrodes may be,
the first application program is one of M application programs which are in an operating state and are operated recently, and M is a positive integer; alternatively, the first and second electrodes may be,
the first application program is one of N application programs in a running state, the N application programs are determined according to the display priority of the application shortcut keys, and N is a positive integer.
7. The method according to claim 1 or 2, characterized in that the method further comprises:
and under the condition that the first application shortcut key is in the unfolding state at present and the key information displayed on the first application shortcut key is not changed in a second preset time period, controlling the first application shortcut key to be switched from the unfolding state to the folding state.
8. A terminal device, comprising:
the acquisition module is used for acquiring a first input of a first application shortcut key related to a first application program on a display interface; and the number of the first and second groups,
responding to the first input, and acquiring a target state corresponding to the application shortcut key set; wherein the set of application shortcuts comprises at least the first application shortcut;
and the control module is used for controlling each application shortcut key in the application shortcut key set to be switched from the current state to the target state.
9. A terminal device comprising a processor and a memory, the processor and the memory being coupled, the memory being configured to store computer program instructions which, when executed by the processor, cause the terminal device to carry out the method of controlling an application shortcut of any one of claims 1 to 7.
10. A computer storage medium, characterized in that it has stored therein program instructions which, when run on a terminal device, cause the terminal device to execute the method of controlling application shortcut keys according to any one of claims 1 to 7.
CN202010745875.XA 2020-07-29 2020-07-29 Control method for application shortcut key, terminal equipment and storage medium Active CN111880920B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010745875.XA CN111880920B (en) 2020-07-29 2020-07-29 Control method for application shortcut key, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010745875.XA CN111880920B (en) 2020-07-29 2020-07-29 Control method for application shortcut key, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111880920A true CN111880920A (en) 2020-11-03
CN111880920B CN111880920B (en) 2023-11-10

Family

ID=73201090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010745875.XA Active CN111880920B (en) 2020-07-29 2020-07-29 Control method for application shortcut key, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111880920B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024082913A1 (en) * 2022-10-20 2024-04-25 华为技术有限公司 Multi-task management method, and electronic device

Citations (3)

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

Patent Citations (3)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024082913A1 (en) * 2022-10-20 2024-04-25 华为技术有限公司 Multi-task management method, and electronic device

Also Published As

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

Similar Documents

Publication Publication Date Title
CN109062467B (en) Split screen application switching method and device, storage medium and electronic equipment
CN107949826B (en) Message display method, user terminal and graphical user interface
CN108984064B (en) Split screen display method and device, storage medium and electronic equipment
CN109960504B (en) Object switching method based on visual programming, interface display method and device
CN110830363B (en) Information sharing method and electronic equipment
CN109309752B (en) Mobile terminal and method and device for operating screen with one hand
CN113821135A (en) Method for controlling cursor movement, content selection method, method for controlling page scrolling and electronic equipment
CN108920069B (en) Touch operation method and device, mobile terminal and storage medium
CN111669664B (en) Video playing method, video playing device, electronic equipment and storage medium
CN111512278B (en) Method for processing application of terminal equipment and terminal equipment
EP3323037B1 (en) System and method for double knuckle touch screen control
CN111092990A (en) Application program sharing method and electronic equipment
CN108475161A (en) Display methods and terminal
CN110795189A (en) Application starting method and electronic equipment
CN109408072B (en) Application program deleting method and terminal equipment
CN108920036A (en) view switching method and mobile terminal
CN108093137B (en) Dialing method and mobile terminal
CN110442297B (en) Split screen display method, split screen display device and terminal equipment
CN110780751B (en) Information processing method and electronic equipment
CN112947810A (en) Interface display method and device and electronic equipment
CN110515508B (en) Icon control method, terminal equipment and computer readable storage medium
CN111880920A (en) Control method of application shortcut key, terminal equipment and storage medium
CN109889654B (en) Information display method and terminal equipment
CN111459313A (en) Object control method, touch pen and electronic equipment
CN107003759B (en) Method for selecting text

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant