Method and terminal for creating shortcut

文档序号:1543582 发布日期:2020-01-17 浏览:4次 中文

阅读说明:本技术 一种创建快捷方式的方法及终端 (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 first interface 210, the terminal receives an input of the user long-pressing the target application 211, so that the first interface 210 enters an editing state;

step S20, when an input of double-clicking the icon of the target application 211 by the user is received in the editing state, in response to the input, the terminal acquires the shortcut included in the target application 211, at this time, it should be determined whether the current interface, i.e., the first interface 210, can accommodate all the shortcuts included in the target application 211, if not, step S30 is performed, and if yes, step S40 is performed;

step S30, removing the icons of other applications in the target location to make room for the shortcuts included in the target application 211, i.e. in this case, the target location of the target application 211 for displaying the shortcuts included therein is already occupied by the icons of other applications, and at this time, the terminal will move the icons of other applications to other non-target locations to automatically make the location of the shortcut A, B, C, D, E, F, G, H free;

preferably, in the embodiment of the present invention, the icons of the other applications at the target position of the target application 211 are preferentially moved to the interface where the target application 211 is located, that is, the non-target position of the first interface 210, and when the non-target position does not exist in the first interface 210, the icon located at the lower right corner of the first interface 210 is preferentially moved to the next interface, that is, the second interface 220.

Step S40, displaying the shortcuts included by the target application 211 in the target position, and if one turn fails to display all the shortcuts, displaying another turn of shortcuts in the outer circle. In the embodiment of the present invention, as shown in fig. 3, the number of the shortcuts included in the target application 211 is 8, and the shortcuts are displayed in a circle around the target application 211, which is in turn the shortcut A, B, C, D, E, F, G, H, and the area where the shortcut A, B, C, D, E, F, G, H is located is the target position of the target application 211;

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 first interface 210, a second interface 220, a third interface 230, etc. are displayed on the desktop, and in the case that the terminal receives an input that the user presses an icon at the position of a shortcut and drags the icon to any position of the first interface 210 or drags the icon to any other interface such as the second interface 220, the third interface 230, etc., in response to the input, the terminal will create and display the shortcut at any position of the first interface 210 or any other interface such as the second interface 220, the third interface 230, etc., for example, by dragging the icon of the shortcut a to the third interface 230, the terminal will create and display the shortcut a in the third interface 230;

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 target application 211 is completed.

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: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 1010, and power source 1011. Those skilled in the art will appreciate that the terminal configuration shown in fig. 4 is not intended to be limiting, and that the terminal may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.

Processor 1010 is configured 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 radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1010; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.

The terminal provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse web pages, access streaming media, and the like.

The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.

The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.

The terminal 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the terminal 100 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 to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.

The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.

The user input unit 107 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. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 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 1010, and receives and executes commands sent by the processor 1010. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.

Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 1010 to determine the type of the touch event, and then the processor 1010 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 4, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal, and is not limited herein.

The interface unit 108 is an interface for connecting an external device to the terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 100 or may be used to transmit data between the terminal 100 and the external device.

The memory 109 may be used to store software programs as well as various data. The memory 109 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 cellular phone, and the like. Further, the memory 109 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 processor 1010 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal. Processor 1010 may include one or more processing units; preferably, the processor 1010 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 1010.

The terminal 100 may also include a power source 1011 (e.g., a battery) for powering the various components, and preferably, the power source 1011 may be logically coupled to the processor 1010 via a power management system that may be configured to manage charging, discharging, and power consumption.

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 processor 111 and a memory 112. In this embodiment of the present invention, the terminal 110 further includes: a computer program stored on the memory 112 and executable on the processor 111, the computer program when executed by the processor 111 performing the steps of:

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 processor 111 is responsible for managing the bus architecture and general processing, and the memory 112 may store data used by the processor 111 in performing operations.

Optionally, the computer program when executed by the processor 111 may further implement the steps of:

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 processor 111 may further implement the steps of:

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 processor 111 may further implement the steps of:

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 processor 111 may further implement the steps of:

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 processor 111 may further implement the steps of:

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 processor 111 may further implement the steps of:

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.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:3D文字展示方法、介质、设备及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类