Method and terminal for creating shortcut
阅读说明:本技术 一种创建快捷方式的方法及终端 (Method and terminal for creating shortcut ) 是由 杨相和 于 2019-09-02 设计创作,主要内容包括:本发明实施例提供创建快捷方式的方法及终端,该方法包括接收针对目标应用的第一输入;响应于所述第一输入,在所述目标应用所在的第一界面的目标位置中显示所述目标应用包括的快捷方式;接收用于选择目标快捷方式以及选择所述目标快捷方式的创建位置的第二输入,所述目标快捷方式为所述快捷方式中的至少一个;响应于所述第二输入,在所述创建位置创建并显示所述目标快捷方式。根据本发明的方案,通过对快捷方式进行快速创建,方便用户快速创建任意目标应用的快捷方式,并使桌面更加有序,改善了用户体验。(The embodiment of the invention provides a method and a terminal for creating a shortcut, wherein the method comprises the steps of receiving a first input aiming at a target application; in response to the first input, displaying a shortcut included by the target application in a target position of a first interface where the target application is located; receiving a second input for selecting a target shortcut and selecting a creation location of the target shortcut, the target shortcut being at least one of the shortcuts; and responding to the second input, and creating and displaying the target shortcut at the creating position. According to the scheme of the invention, the shortcut is quickly created, so that a user can conveniently and quickly create the shortcut of any target application, the desktop is more ordered, and the user experience is improved.)
1. A method of creating a shortcut, comprising:
receiving a first input for a target application;
in response to the first input, displaying a shortcut included by the target application in a target position of a first interface where the target application is located;
receiving a second input for selecting a target shortcut and selecting a creation location of the target shortcut, the target shortcut being at least one of the shortcuts;
and responding to the second input, and creating and displaying the target shortcut at the creating position.
2. The method for creating a shortcut of claim 1, wherein in the step of displaying the shortcut included in the target application in the target location of the first interface in which the target application is located in response to the first input:
and if the target position is occupied by the icons of other applications, moving the icons of the other applications out of the target position.
3. The method of creating a shortcut of claim 1,
the creation position is a position selected from the target positions; alternatively, the first and second electrodes may be,
the creation position is a position selected from a second interface of the terminal.
4. The method of creating a shortcut of claim 1 wherein said first input is an input of double-clicking said target application after long-pressing said target application.
5. The method of creating a shortcut of claim 1,
the second input is the input of clicking one shortcut or clicking a plurality of shortcuts in sequence, wherein the clicked shortcut is used as the target shortcut, and the position of the clicked shortcut is used as the creation position; alternatively, the first and second electrodes may be,
the second input is the input of long pressing one shortcut and simultaneously clicking the position of the other shortcut, wherein the long pressed shortcut is used as the target shortcut, and the position of the clicked shortcut is used as the creation position; alternatively, the first and second electrodes may be,
and the second input is dragging input for dragging the shortcut to a second interface, wherein the dragged shortcut is a target shortcut, and the position where the shortcut finally stays in the second interface is the creation position.
6. A terminal, comprising:
a first receiving module for receiving a first input for a target application;
the display module is used for responding to the first input and displaying the shortcut included by the target application in the target position of the first interface where the target application is located;
a second receiving module, configured to receive a second input for selecting a target shortcut and selecting a creation location of the target shortcut, where the target shortcut is at least one of the shortcuts;
and the creating module is used for responding to the second input and creating and displaying the target shortcut at the creating position.
7. The terminal of claim 6, wherein the display module comprises:
and the icon management unit is used for moving the icons of other applications out of the target position if the target position is occupied by the icons of other applications.
8. The terminal of claim 6,
the creation position is a position selected from the target positions; alternatively, the first and second electrodes may be,
the creation position is a position selected from a second interface of the terminal.
9. The terminal of claim 6,
the second input is the input of clicking one shortcut or clicking a plurality of shortcuts in sequence, wherein the clicked shortcut is used as the target shortcut, and the position of the clicked shortcut is used as the creation position; alternatively, the first and second electrodes may be,
the second input is the input of long pressing one shortcut and simultaneously clicking the position of the other shortcut, wherein the long pressed shortcut is used as the target shortcut, and the position of the clicked shortcut is used as the creation position; alternatively, the first and second electrodes may be,
and the second input is dragging input for dragging the shortcut to a second interface, wherein the dragged shortcut is a target shortcut, and the position where the shortcut finally stays in the second interface is the creation position.
10. A terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method of creating a shortcut in accordance with any of claims 1 to 5.
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method and a terminal for creating shortcuts.
Background
At present, desktop applications of a terminal are many, and shortcuts corresponding to the applications are also many. Generally, some applications have no shortcut, and some applications have multiple shortcuts, which causes the display interface of the desktop to be disordered, thereby causing poor user experience.
Disclosure of Invention
The embodiment of the invention provides a method and a terminal for creating a shortcut, and aims to solve the problems that the shortcut for creating an application is complicated and a display interface is disordered after the shortcut is created.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for creating a shortcut, including:
receiving a first input for a target application;
in response to the first input, displaying a shortcut included by the target application in a target position of a first interface where the target application is located;
receiving a second input for selecting a target shortcut and selecting a creation location of the target shortcut, the target shortcut being at least one of the shortcuts;
and responding to the second input, and creating and displaying the target shortcut at the creating position.
In a second aspect, an embodiment of the present invention provides a terminal, including:
a first receiving module for receiving a first input for a target application;
the display module is used for responding to the first input and displaying the shortcut included by the target application in the target position of the first interface where the target application is located;
a second receiving module, configured to receive a second input for selecting a target shortcut and selecting a creation location of the target shortcut, where the target shortcut is at least one of the shortcuts;
and the creating module is used for responding to the second input and creating and displaying the target shortcut at the creating position.
In a third aspect, an embodiment of the present invention provides a terminal, including a processor, a memory, and a computer program stored in the memory and being executable on the processor, where the computer program, when executed by the processor, implements the steps of the method for creating a shortcut as described above.
In the embodiment of the invention, the shortcut is quickly created, so that a user can conveniently and quickly create the shortcut of any target application, the desktop is more ordered, and the user experience is improved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a method for creating a shortcut according to an embodiment of the present invention;
FIG. 2 is a second flowchart illustrating a method for creating a shortcut according to an embodiment of the present invention;
FIG. 3 is a schematic view of an operation interface of a method for creating a shortcut according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 5 is a second schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "comprises," "comprising," or any other variation thereof, in the description and claims of this application, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Furthermore, the use of "and/or" in the specification and claims means that at least one of the connected objects, such as a and/or B, means that three cases, a alone, B alone, and both a and B, exist.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Embodiments of the present invention are described below with reference to the accompanying drawings.
Please refer to fig. 1, which is a flowchart illustrating a method for creating a shortcut according to an embodiment of the present invention. As shown in fig. 1, the method may include the steps of:
step S101, receiving a first input aiming at a target application;
step S102, responding to the first input, and displaying shortcuts included by the target application in a target position of a first interface where the target application is located;
step S103, receiving a second input for selecting a target shortcut and selecting a creation position of the target shortcut, wherein the target shortcut is at least one of the shortcuts;
and step S104, responding to the second input, and creating and displaying the target shortcut at the creating position.
The embodiment of the invention can facilitate the user to quickly create the shortcut of any target application, enables the desktop to be more ordered and improves the user experience.
In some embodiments of the present invention, when the shortcut included in the target application is displayed in step S101, if the target location is already occupied by the icons of other applications, the icons of the applications are moved out of the target location to make room for the shortcut included in the target application, so that the shortcut included in the target application can be displayed in the target location; in the process of moving the icons of the other applications out of the target position, the icons of the other applications may be moved to other positions on the same first interface, or the icons of the other applications may be moved to positions in a second interface, where the second interface and the first interface are different interfaces of the terminal.
It should be noted that, in the embodiment of the present invention, when displaying the shortcut included in the target application, if the target location is already occupied by the icons of other applications, the icons of the applications may also be subjected to fading processing, that is, the icons of the applications are moved to the bottom layer of the interface, so that the shortcut included in the target application is floated on the icon surface of the applications (covered on the icons of the other applications), that is, the shortcut included in the target application is displayed on the top layer of the interface, and the existing icons of the other applications do not need to be moved in the display process.
Further, in some embodiments of the present invention, the target position of the first interface in step S102 may be a position in at least one circle around the target application where a shortcut icon included in the target application can be placed, and the target position is located in the first interface where the target application is located; for example, the target position may be a position in a circle around the target application where a shortcut icon included in the target application can be placed, in this case, the target position may be a whole circle around the target application, or may be a partial position in a circle around the target application, and is specifically determined according to the number of shortcuts included in the target application; in addition, the target position may also be a position in two or more circles around the target application where a shortcut icon included in the target application can be placed, which is suitable for a target application including more shortcuts.
Further, in some embodiments of the present invention, if the number of the shortcuts included in the target application exceeds a certain value, for example, exceeds 10, a new interface may also be separately created when displaying the shortcuts included in the target application, and the target application and the shortcuts included in the target application are displayed in the new interface, so that the entire interface is cleaner and more ordered, and thus, the user experience is further improved.
Further, in some specific embodiments of the present invention, the creation location of the target shortcut selected in step S103 may be in the target location, or in a non-target location area of the interface where the target application is located, or in a location selected from the second interface; that is, the creation position of the target shortcut may be selected from the positions displayed by the shortcuts included in the target application, may be selected from positions other than the position displayed by the shortcut included in the target application in the first interface where the target application is located, and may be selected from any position in other interfaces other than the first interface.
Preferably, in some embodiments of the present invention, the first input received by the terminal is an input of double-clicking the target application after long-pressing the target application, and specifically, after the terminal receives the input of long-pressing the target application, in response to the input, the terminal brings the first interface where the target application is located into an overall editing state, and then in the editing state, in the case that the terminal continues to receive the input of double-clicking the icon of the target application, the terminal will display the shortcut included in the target application in the target position of the first interface where the target application is located, in response to the input, such input operation is simple, and is friendly to the user, and facilitates the terminal to recognize and process.
In some embodiments of the present invention, the second input in step S104 may be in the following input forms:
in a first form: clicking one or more displayed shortcuts, wherein the clicked object is regarded as a shortcut which the user wants to create, and the clicked position is the creating position of the shortcut correspondingly selected by the user, namely, the user selects to create the corresponding shortcut at the position of the shortcut;
in a second form: clicking the position of the other shortcut when the user presses the shortcut for a long time, wherein the shortcut pressed for a long time is the target shortcut which the user wants to create, and the creating position of the target shortcut is selected to be the position of the other shortcut;
in a third form: dragging a shortcut to any position in a certain interface, wherein the dragged shortcut is a target shortcut which a user wants to create, the creation position of the target shortcut is the final position where the target shortcut stays, and the certain interface can be the interface where the target application is located or other interfaces except the interface where the target application is located.
In some preferred embodiments of the present invention, the third form of input may be further, specifically: dragging the target shortcut to rotate in a certain circle on the periphery of the target application in a clockwise or anticlockwise direction and stop at a certain position in the circle for inputting, wherein in the input form, the shortcut is similar to an old-fashioned telephone, and after the certain shortcut is pressed, the subsequent shortcut moves along with the shortcut; under the input of the form, a certain pressed shortcut is a target shortcut, the position where the target shortcut finally stays is the creation position of the target shortcut, and in response to the input, the terminal creates the position where the target shortcut stays and hides the rest shortcuts, so that better use experience can be brought to a user.
Referring to fig. 2 and fig. 3, fig. 2 is a second flowchart illustrating a method for creating a shortcut according to another embodiment of the present invention, and fig. 3 is an operation interface diagram illustrating a method for creating a shortcut according to an embodiment of the present invention. As shown in fig. 2 and 3, the method for creating a shortcut in the embodiment of the present invention may include the following steps:
step S10, in the
step S20, when an input of double-clicking the icon of the
step S30, removing the icons of other applications in the target location to make room for the shortcuts included in the
preferably, in the embodiment of the present invention, the icons of the other applications at the target position of the
Step S40, displaying the shortcuts included by the
step S50, creating a target shortcut, wherein:
under the condition that the terminal receives the input of clicking the shortcut A by the user, responding to the input, the terminal creates and displays the shortcut A at the position of the shortcut A, and similarly, if the terminal receives the input of clicking any one of the shortcuts B, C, D, E, F, G, H by the user, the corresponding shortcut at the position can be created at the corresponding clicked position;
under the condition that the terminal receives the input of the user for pressing the icon at the position of the shortcut A (namely the icon of the shortcut A) for a long time and simultaneously receives the input of the user for clicking the position of the shortcut B, responding to the input, the terminal establishes and displays the shortcut A at the position of the shortcut B, thereby realizing the adjustment of the position of the shortcut;
in the case where the terminal receives an input that the user sequentially clicks an icon of the location where the shortcut A, B, C, D, E is located (i.e., an icon of the shortcut A, B, C, D, E), in response to the input, the terminal will create and display shortcuts A, B, C, D, E in one-to-one correspondence at the location where the shortcut A, B, C, D, E is located, thereby enabling simultaneous creation of multiple shortcuts;
in the case that the terminal receives the input that the user presses the icon of the position of the shortcut A (namely the icon of the shortcut A) for a long time, rotates clockwise or anticlockwise along the position of A, B, C, D, E, F, G, H and finally stays at a certain position in the circle, in response to the input, the terminal creates and displays the shortcut A at the position where the shortcut A stays, other shortcut icons are automatically hidden, for example, the shortcut A is rotated to the position of D and stops rotating, and then the terminal creates and displays the shortcut A at the position of D;
as shown in fig. 3, a
in step S60, the creation is successful, and in case the terminal receives the input that the user exits the editing state, the terminal will exit the editing state in response to the input, i.e. the creation of the shortcut for the
The embodiment of the invention can quickly enter the editing state after receiving the input of the long-press target application, and can acquire the shortcut included by the target application after receiving the input of double-click target application of a user, so that the operation is simple and quick; and in the process of creating the shortcut, the shortcut included by the target application is displayed and classified around the target application, so that a user can conveniently and quickly create the shortcut of any target application, the desktop is more ordered, and the user experience is improved.
In addition, a terminal for creating a shortcut according to another embodiment of the present invention includes:
a first receiving module for receiving a first input for a target application;
the display module is used for responding to the first input and displaying the shortcut included by the target application in the target position of the first interface where the target application is located;
a second receiving module, configured to receive a second input for selecting a target shortcut and selecting a creation location of the target shortcut, where the target shortcut is at least one of the shortcuts;
and the creating module is used for responding to the second input and creating and displaying the target shortcut at the creating position.
Further, the display module includes:
and the icon management unit is used for moving the icons of other applications out of the target position if the target position is occupied by the icons of other applications.
Further, the target position is at least one circle of icon placement positions on the periphery of the target application.
Further, the creation position is a position selected from the target positions; or the creation position is a position selected from a second interface of the terminal.
Further, the first input is an input of double-clicking the target application after long-pressing the target application.
Further, the second input is an input of clicking one shortcut or clicking a plurality of shortcuts in sequence, wherein the clicked shortcut is used as the target shortcut, and the target position where the clicked shortcut is located is used as the creation position;
or the second input is the input of long pressing one shortcut and simultaneously clicking the position of the other shortcut, wherein the long pressed shortcut is used as the target shortcut, and the position of the clicked shortcut is used as the creation position;
or the second input is dragging input for dragging the shortcut to a second interface, wherein the dragged shortcut is a target shortcut, and a target position in the second interface is the creation position.
Further, the target position is at least one circle of icon placement positions on the periphery of the target application, and the dragging input is an input of dragging the shortcut to rotate and stay at a target position on the periphery of the target application in a clockwise or counterclockwise direction;
the creation module comprises:
and the first creating submodule is used for responding to the second input, creating the target shortcut at the stopped target position and hiding the rest shortcuts.
The embodiment of the invention can quickly enter the editing state after receiving the input of the long-press target application, and can acquire the shortcut included by the target application after receiving the input of double-click target application of a user, so that the operation is simple and quick; and in the process of creating the shortcut, the shortcut included by the target application is displayed and classified around the target application, so that a user can conveniently and quickly create the shortcut of any target application, the desktop is more ordered, and the user experience is improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a terminal according to another embodiment of the present invention, where the terminal 100 includes but is not limited to:
receiving a first input for a target application;
in response to the first input, displaying a shortcut included by the target application in a target position of a first interface where the target application is located;
receiving a second input for selecting a target shortcut and selecting a creation location of the target shortcut, the target shortcut being at least one of the shortcuts;
and responding to the second input, and creating and displaying the target shortcut at the creating position.
In the embodiment of the invention, the shortcut is quickly created, and the shortcuts included by the target application are classified around the target application in the creating process, so that a user can conveniently and quickly create the shortcut of any target application, the desktop is more ordered, and the user experience is improved.
It should be understood that, in the embodiment of the present invention, the
The terminal provides wireless broadband internet access to the user through the
The
The
The terminal 100 also includes at least one
The
The
Further, the
The
The
The
The terminal 100 may also include a power source 1011 (e.g., a battery) for powering the various components, and preferably, the
In addition, the terminal 100 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a terminal according to another embodiment of the present invention, where the terminal 110 includes: a
receiving a first input for a target application;
in response to the first input, displaying a shortcut included by the target application in a target position of a first interface where the target application is located;
receiving a second input for selecting a target shortcut and selecting a creation location of the target shortcut, the target shortcut being at least one of the shortcuts;
and responding to the second input, and creating and displaying the target shortcut at the creating position.
The
Optionally, the computer program when executed by the
the display module includes:
and the icon management unit is used for moving the icons of other applications out of the target position if the target position is occupied by the icons of other applications.
Optionally, the computer program when executed by the
the target position is at least one circle of icon placement positions on the periphery of the target application.
Optionally, the computer program when executed by the
the creation position is a position selected from the target positions;
or the creation position is a position selected from a second interface of the terminal.
Optionally, the computer program when executed by the
the first input is an input of double-clicking the target application after long-pressing the target application.
Optionally, the computer program when executed by the
the second input is the input of clicking one shortcut or clicking a plurality of shortcuts in sequence, wherein the clicked shortcut is used as the target shortcut, and the position of the clicked shortcut is used as the creation position;
or the second input is the input of long pressing one shortcut and simultaneously clicking the position of the other shortcut, wherein the long pressed shortcut is used as the target shortcut, and the position of the clicked shortcut is used as the creation position;
or the second input is dragging input for dragging the shortcut to a second interface, wherein the dragged shortcut is a target shortcut, and the position in the second interface is the creation position.
Optionally, the computer program when executed by the
the target position is at least one circle of icon placement positions on the periphery of the target application, and the dragging input is input for dragging the shortcut to rotate and stay at one position at one circle of target positions on the periphery of the target application in a clockwise or anticlockwise direction;
the creation module comprises:
and the first creating submodule is used for responding to the second input, creating the target shortcut at the stopped target position and hiding the rest shortcuts.
In the embodiment of the invention, the shortcut is quickly created, and the shortcuts included by the target application are classified around the target application in the creating process, so that a user can conveniently and quickly create the shortcut of any target application, the desktop is more ordered, and the user experience is improved.
The embodiment of the present invention further 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 of the above method for creating a shortcut, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted 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 invention 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 (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:3D文字展示方法、介质、设备及装置