CN105867925B - Shortcut establishing method and electronic equipment - Google Patents

Shortcut establishing method and electronic equipment Download PDF

Info

Publication number
CN105867925B
CN105867925B CN201610188541.0A CN201610188541A CN105867925B CN 105867925 B CN105867925 B CN 105867925B CN 201610188541 A CN201610188541 A CN 201610188541A CN 105867925 B CN105867925 B CN 105867925B
Authority
CN
China
Prior art keywords
interface
shortcut
preset
target
pull
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.)
Active
Application number
CN201610188541.0A
Other languages
Chinese (zh)
Other versions
CN105867925A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610188541.0A priority Critical patent/CN105867925B/en
Publication of CN105867925A publication Critical patent/CN105867925A/en
Application granted granted Critical
Publication of CN105867925B publication Critical patent/CN105867925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

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

Abstract

The application discloses a shortcut establishing method and electronic equipment, wherein when receiving a shortcut establishing request sent by a user aiming at a target interface in a target application, the method and the electronic equipment acquire preset interface information of the target interface, and finally establish the shortcut of the target interface at a preset position based on the preset interface information. Therefore, the shortcut establishing method for each interface included in the application is realized, and the shortcut establishing method can realize the shortcut establishing of the interface (such as a friend circle interface in WeChat) required in the application at the preset position, so that a subsequent user can quickly and conveniently start and enter the required interface in the application based on the established shortcut, and convenience is provided for the user.

Description

Shortcut establishing method and electronic equipment
Technical Field
The invention belongs to the technical field of terminal operation and control, and particularly relates to a shortcut establishing method and electronic equipment.
Background
With the development and popularization of terminal devices, various applications on terminal devices such as smart phones and tablet computers are more and more widely used, and various terminal applications such as WeChat and QQ become a part of daily life of people gradually.
The terminal application generally includes a plurality of interfaces corresponding to a plurality of different sub-applications, such as a WeChat including a friend circle interface, an address list interface, a message interface, and the like. At present, a user often needs to enter a certain sub-application interface in terminal application through a relatively cumbersome operation, for example, the user specifically needs to execute in sequence: the user can enter the friend circle interface of the WeChat only by opening the WeChat-clicking 'discovery' -clicking 'friend circle', so that the operation process is complicated, and the convenience is low.
Disclosure of Invention
In view of this, the present invention provides a shortcut establishing method and an electronic device, and aims to provide support for a user to quickly open a required interface in an application.
Therefore, the invention discloses the following technical scheme:
a shortcut establishing method is applied to electronic equipment and comprises the following steps:
receiving a shortcut establishing request sent by a user aiming at a target interface in a target application;
acquiring preset interface information of the target interface;
and creating a shortcut of the target interface at a preset position based on the preset interface information.
In the above method, preferably, the target application is a current application, and the target interface is a current interface, and the receiving a shortcut establishment request sent by a user for the target interface in the target application includes:
receiving a shortcut establishment request triggered by a user through operating a preset button in a current interface of a current application; the preset button is arranged in a pull-up menu or a pull-down menu of the electronic equipment operating system in advance.
In the method, preferably, the acquiring preset interface information of the target interface includes:
acquiring an application package name and an interface class name corresponding to the current interface;
and acquiring a shortcut icon of the current interface.
In the above method, preferably, if the preset location is a desktop of the electronic device, or the pull-up menu, or the pull-down menu, the creating a shortcut of the target interface at the preset location based on the preset interface information includes:
binding the application package name, the interface class name and the shortcut icon;
and displaying the shortcut icon on a desktop of the electronic equipment or the pull-up menu or the pull-down menu to obtain the shortcut of the target interface.
In the above method, preferably, if the preset location is the pull-up menu or the pull-down menu, the creating a shortcut of the target interface at the preset location based on the preset interface information includes:
binding the application package name and the interface class name with the preset button;
and replacing the button icon of the preset button with the shortcut icon to obtain the shortcut of the target interface.
The above method, preferably, further comprises:
and when a quick start closing request of the target interface is received, releasing the application package name and the interface class name bound in the shortcut of the target interface, and replacing the shortcut icon with the icon of the preset button.
The above method, preferably, further comprises:
and when an interface starting request sent by a user based on the operation of the shortcut is received, acquiring a starting path corresponding to the application package name and the interface class name, and starting a target interface of the target application from the starting path.
An electronic device, comprising:
the request receiving module is used for receiving a shortcut establishing request sent by a user aiming at a target interface in a target application;
the interface information acquisition module is used for acquiring preset interface information of the target interface;
and the shortcut creating module is used for creating the shortcut of the target interface at a preset position based on the preset interface information.
Preferably, in the electronic device, if the target application is a current application and the target interface is a current interface, the request receiving module includes:
the device comprises a request receiving unit, a shortcut establishing unit and a shortcut establishing unit, wherein the request receiving unit is used for receiving a shortcut establishing request triggered by a user through operating a preset button in a current interface of a current application; the preset button is arranged in a pull-up menu or a pull-down menu of the electronic equipment operating system in advance.
Preferably, the interface information acquiring module of the electronic device includes:
the first acquisition unit is used for acquiring the application package name and the interface class name corresponding to the current interface;
and the second acquisition unit is used for acquiring the shortcut icon of the current interface.
Preferably, in the electronic device, the preset position is a desktop of the electronic device, or the pull-up menu, or the pull-down menu, and the shortcut creating module includes:
the first binding unit is used for binding the application package name, the interface class name and the shortcut icon;
and the display unit is used for displaying the shortcut icon on a desktop of the electronic equipment or the pull-up menu or the pull-down menu to obtain the shortcut of the target interface.
Preferably, in the electronic device, if the preset position is the pull-up menu or the pull-down menu, the shortcut creating module includes:
the second binding unit is used for binding the application package name, the interface class name and the preset button;
and the icon replacing unit is used for replacing the button icon of the preset button with the shortcut icon to obtain the shortcut of the target interface.
The electronic device preferably further includes:
and the shortcut release module is used for releasing the application package name and the interface class name bound in the shortcut of the target interface when receiving the rapid starting and closing request of the target interface, and replacing the shortcut icon with the icon of the preset button.
The electronic device preferably further includes:
and the quick starting module is used for acquiring a starting path corresponding to the application package name and the interface class name when receiving an interface starting request sent by a user based on the operation of the shortcut, and starting a target interface of a target application from the starting path.
According to the scheme, when a shortcut establishment request sent by a user for a target interface in a target application is received, the method and the electronic device for establishing the shortcut disclosed by the application acquire preset interface information of the target interface, and finally establish the shortcut of the target interface at a preset position based on the preset interface information. Therefore, the shortcut establishing method for each interface included in the application is realized, and the shortcut establishing method can realize the shortcut establishing of the interface (such as a friend circle interface in WeChat) required in the application at the preset position, so that a subsequent user can quickly and conveniently start and enter the required interface in the application based on the established shortcut, and convenience is provided for the user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flowchart of a first embodiment of a method for establishing a shortcut provided in the present application;
FIG. 2 is a diagram illustrating a shortcut creation button in a drop-down menu of an operating system in accordance with an embodiment of the present application;
FIG. 3 is a flowchart of a second embodiment of a method for establishing a shortcut provided by the present application;
FIG. 4 is a flowchart of a third embodiment of a shortcut establishment method provided in the present application;
FIG. 5 is a flowchart of a fourth embodiment of a method for establishing a shortcut provided by the present application;
6-7 are schematic structural diagrams of a fifth embodiment of an electronic device provided in the present application;
fig. 8 is a schematic structural diagram of a sixth embodiment of an electronic device provided in the present application;
fig. 9 is a schematic structural diagram of a seventh embodiment of an electronic device provided in the present application;
fig. 10 is a schematic structural diagram of an eighth embodiment of an electronic device provided in the present application.
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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
Example one
Referring to fig. 1, fig. 1 is a flowchart of a first embodiment of a method for establishing a shortcut provided in the present application, where the method is specifically applied to an electronic device, and the electronic device may be a terminal device such as a smartphone and a tablet computer, as shown in fig. 1, the method may include the following steps:
s101: and receiving a shortcut establishment request sent by a user aiming at a target interface in the target application.
The target interface in the target application may be an interface commonly used in an application commonly used by a user on a terminal device such as a smart phone, for example, a friend circle interface of WeChat, a QQ space interface of QQ, and the like.
The user can trigger the shortcut establishment request for the target interface in the target application by executing corresponding operation on the screen of the terminal equipment.
In this embodiment, a shortcut creating button is defined and set in a pull-up menu or a pull-down menu of an operating system of a terminal device (which may be used as a notification center or a control center of the operating system), and the button may specifically refer to a "+" button set in the pull-down menu of the operating system of fig. 2, so as to provide a function of triggering a shortcut creating request for a user, and when the user starts a target application and enters a target interface in the target application, the pull-down menu may be called out from the currently displayed target interface, and the "+" button in the pull-down menu is clicked, so as to trigger a shortcut creating request for a current interface in the current target application.
If the drop-down menu is called out from the friend circle interface of the WeChat and the '+' button in the drop-down menu is clicked, a shortcut establishment request for the friend circle interface of the WeChat can be triggered.
S102: and acquiring preset interface information of the target interface.
The preset interface information includes various information required for creating a shortcut for the target interface, such as an application package name of the current target application, an interface class name of the current target interface, a shortcut icon of the current target interface, and the like.
After receiving the shortcut establishing request, the operating system may specifically utilize an application manager to capture the currently started application package name of the target application and the currently displayed interface class name of the target interface.
Meanwhile, the shortcut icon of the target interface can be acquired through a preset mode, for example, the preset and stored shortcut icon of the interface is acquired based on a preset mode, or the shortcut icon of the interface is generated in real time based on corresponding interface information.
Next, the present embodiment provides an effective generation manner of the interface shortcut icon. Specifically, the application icon of the current target application is correspondingly obtained by using the captured application package name of the current target application, the interface name of the current interface is obtained by using the captured interface class name of the current interface, and the shortcut icon of the current target interface is generated by combining the application icon and the interface name. Taking a WeChat friend circle as an example, a WeChat icon can be obtained through a captured WeChat packet name, a name 'friend circle' of a friend circle interface is obtained through a captured friend circle name, and then a character 'friend circle' is added in the WeChat icon, so that a friend circle icon is generated.
S103: and creating a shortcut of the target interface at a preset position based on the preset interface information.
After various information needed for creating the interface shortcut is obtained, corresponding shortcuts can be created for the target interface at preset positions based on information such as application package names, interface class names and interface shortcut icons included in the information, and the icons of the interface shortcuts are displayed, for example, a WeChat friend circle shortcut is created on a desktop, a friend circle shortcut icon is displayed, and the like, so that a user can conveniently and quickly start corresponding interfaces in needed applications through the displayed interface shortcut icons.
According to the scheme, when a shortcut establishment request sent by a user for a target interface in a target application is received, the method for establishing the shortcut of the target interface obtains the preset interface information of the target interface, and finally establishes the shortcut of the target interface at the preset position based on the preset interface information. Therefore, the shortcut establishing method for each interface included in the application is realized, and the shortcut establishing method can realize the shortcut establishing of the required interface (such as a friend circle interface in WeChat) in the application at the preset position, so that a subsequent user can quickly and conveniently start and enter the required interface in the application based on the established shortcut, and convenience is provided for the user.
Example two
In this embodiment, if the preset position is a desktop of the electronic device or a pull-up menu/a pull-down menu of an operating system of the electronic device, referring to fig. 3, fig. 3 is a flowchart of a second embodiment of a method for establishing a shortcut provided by the present application, where step S103 may be implemented by the following steps:
s301: binding the application package name, the interface class name and the shortcut icon;
s302: and displaying the shortcut icon on a desktop of the electronic equipment or the pull-up menu or the pull-down menu to obtain the shortcut of the target interface.
The present embodiment provides one implementation of creating shortcuts. Specifically, the shortcut icon is added and displayed in a pull-up menu/pull-down menu of a desktop or an operating system of the terminal device by binding the captured application package name, the interface class name and the acquired shortcut icon, so that the shortcut of the target interface in the target application is created. And the binding relation among the application package name, the interface class name and the shortcut icon can be stored in a corresponding database of the terminal equipment.
Subsequently, when the user performs corresponding operations on the shortcut in the desktop of the terminal device or a pull-up menu/pull-down menu of the terminal operating system, for example, clicks the shortcut icon to quickly start the target application, the operating system may read the application package name and the interface class name corresponding to the shortcut icon from the database, and continue to quickly start the corresponding interface in the corresponding application corresponding to the shortcut according to the start path corresponding to the application package name and the interface class name.
EXAMPLE III
In this embodiment, if the preset location is a pull-up menu or a pull-down menu of the operating system of the electronic device, referring to fig. 4, fig. 4 is a flowchart of a third embodiment of a method for establishing a shortcut provided by the present application, where step S103 may be implemented by the following steps:
s401: binding the application package name and the interface class name with the preset button;
s402: and replacing the button icon of the preset button with the shortcut icon to obtain the shortcut of the target interface.
The present embodiment provides another implementation of creating a shortcut.
Specifically, in this embodiment, the captured application package name and interface class name are firstly bound to the shortcut creation button set in the pull-up menu/pull-down menu of the operating system, that is, the "+" button in fig. 2, and on this basis, the button pattern of the "+" button is replaced with the shortcut icon pattern of the current target interface, so that the shortcut of the target application is created at the "+" button of the pull-up menu/pull-down menu of the operating system.
And meanwhile, in the shortcut creation process, the binding relation among the application package name, the interface class name and the shortcut icon is indirectly established finally through the execution of the binding operation and the icon replacing operation, and the binding relation can be stored in a corresponding database of the terminal equipment.
Subsequently, the user can quickly start the corresponding interface in the corresponding application corresponding to the shortcut by calling up the pull-up menu/pull-down menu of the operating system and executing corresponding quick start operation on the shortcut in the pull-up menu, such as clicking the shortcut and the like. When the operating system detects that the user executes the quick start operation on the icon of the shortcut, the application package name and the interface class name corresponding to the icon are read from the database, and the corresponding interface of the corresponding application is quickly started based on the quick start path corresponding to the application package name and the interface class name.
Example four
Based on the solution of the third embodiment, referring to fig. 5, fig. 5 is a flowchart of a fourth embodiment of a method for establishing a shortcut provided by the present application, where the method may further include,
s501: and when a quick start closing request of the target interface is received, releasing the application package name and the interface class name bound in the shortcut of the target interface, and replacing the shortcut icon with the icon of the preset button.
Specifically, when a user needs to cancel a shortcut for a corresponding interface in a corresponding application in a pull-up menu/pull-down menu of an operating system, a quick start/close request for the interface can be triggered by executing a corresponding operation on a shortcut icon of the pull-up menu/pull-down menu, for example, pressing the shortcut icon for a long time, and after receiving the request, the operating system releases the binding relationship between the shortcut icon and an application package name and an interface class name, and replaces the shortcut icon with an original icon of a shortcut creation button, namely, replaces the shortcut icon with the "+" icon.
Therefore, when the user has shortcut creation requirements for other interfaces in other applications, corresponding shortcut creation can be carried out on the required interface in the required application by continuously utilizing the '+' button.
EXAMPLE five
Referring to fig. 6, fig. 6 is a schematic structural diagram of a fifth embodiment of an electronic device provided in the present application, where the electronic device may be a terminal device such as a smart phone and a tablet computer, and as shown in fig. 6, the electronic device may include:
the request receiving module 100 is configured to receive a shortcut establishment request sent by a user for a target interface in a target application.
The request receiving module 100 includes: the device comprises a request receiving unit, a shortcut establishing unit and a shortcut establishing unit, wherein the request receiving unit is used for receiving a shortcut establishing request triggered by a user through operating a preset button in a current interface of a current application; the preset button is arranged in a pull-up menu or a pull-down menu of the electronic equipment operating system in advance.
The target interface in the target application may be an interface commonly used in an application commonly used by a user on a terminal device such as a smart phone, for example, a friend circle interface of WeChat, a QQ space interface of QQ, and the like.
The user can trigger a shortcut establishment request for a target interface in the target application by performing a corresponding operation on the screen of the terminal device.
In this embodiment, a shortcut creation button is defined and set in a pull-up menu or a pull-down menu of an operating system of a terminal device (which may be used as a notification center or a control center of the operating system), and the button may specifically refer to a "+" button set in the pull-down menu of the operating system in fig. 2, so as to provide a triggering function of the shortcut creation request for a user, and when the user starts a target application and enters a target interface in the target application, the user may invoke the pull-down menu in the currently displayed target interface and click the "+" button in the pull-down menu, so as to trigger the shortcut creation request for the current interface in the current target application.
If the drop-down menu is called out from the friend circle interface of the WeChat and the '+' button in the drop-down menu is clicked, a shortcut establishment request for the friend circle interface of the WeChat can be triggered.
And the interface information obtaining module 200 is configured to obtain preset interface information of the target interface.
The interface information acquiring module 200 includes a first acquiring unit and a second acquiring unit. The first acquisition unit is used for acquiring the application package name and the interface class name corresponding to the current interface; and the second acquisition unit is used for acquiring the shortcut icon of the current interface.
The preset interface information includes various information required for creating a shortcut for the target interface, such as an application package name of the current target application, an interface class name of the current target interface, a shortcut icon of the current target interface, and the like.
After receiving the shortcut establishing request, the operating system may specifically utilize an application manager to capture the currently started application package name of the target application and the currently displayed interface class name of the target interface.
Meanwhile, the shortcut icon of the target interface can be acquired in a preset mode, for example, the preset and stored shortcut icon of the interface is acquired based on the preset mode, or the shortcut icon of the interface is generated in real time based on corresponding interface information.
Next, the present embodiment provides an effective generation manner of the interface shortcut icon. Specifically, the application icon of the current target application is correspondingly obtained by using the captured application package name of the current target application, the interface name of the current interface is obtained by using the captured interface class name of the current interface, and the shortcut icon of the current target interface is generated by combining the application icon and the interface name. Taking a WeChat friend circle as an example, a WeChat icon can be obtained through a captured WeChat packet name, a name 'friend circle' of a friend circle interface is obtained through a captured friend circle name, and then a character 'friend circle' is added in the WeChat icon, so that a friend circle icon is generated.
And a shortcut creating module 300, configured to create a shortcut of the target interface at a preset position based on the preset interface information.
After various information needed for creating the interface shortcut is obtained, corresponding shortcuts can be created for the target interface at preset positions based on information such as application package names, interface class names and interface shortcut icons and the like included in the information, and the icons of the interface shortcuts are displayed, for example, a WeChat friend circle shortcut is created on a desktop and a friend circle shortcut icon is displayed.
Subsequently, the user may quickly start a corresponding interface in the application corresponding to the shortcut icon through the displayed shortcut icon, and based on this, referring to the schematic structural diagram of the electronic device shown in fig. 7, the electronic device may further include a quick start module 400, configured to, when receiving an interface start request sent by the user based on operation of the shortcut, obtain a start path corresponding to the application package name and the interface class name, and start a target interface of a target application from the start path.
According to the scheme, when a shortcut establishment request sent by a user for a target interface in a target application is received, the electronic equipment disclosed by the application acquires the preset interface information of the target interface, and finally establishes the shortcut of the target interface at a preset position based on the preset interface information. Therefore, the shortcut establishing method for each interface included in the application is realized, and the shortcut establishing method can realize the shortcut establishing of the interface (such as a friend circle interface in WeChat) required in the application at the preset position, so that a subsequent user can quickly and conveniently start and enter the required interface in the application based on the established shortcut, and convenience is provided for the user.
EXAMPLE six
In this embodiment, if the preset position is a desktop of the electronic device or a pull-up menu/a pull-down menu of an operating system of the electronic device, referring to fig. 8, where fig. 8 is a schematic structural diagram of a sixth embodiment of the electronic device provided in this application, in this embodiment, the shortcut creation module 300 may be implemented by the following units:
a first binding unit 301, configured to bind the application package name, the interface class name, and the shortcut icon;
a display unit 302, configured to display the shortcut icon on a desktop of the electronic device, or on the pull-up menu or the pull-down menu, so as to obtain a shortcut of the target interface.
The present embodiment provides one implementation of creating shortcuts. Specifically, the shortcut icon is added and displayed in a pull-up menu/pull-down menu of a desktop or an operating system of the terminal device by binding the captured application package name, the interface class name and the acquired shortcut icon, so that the shortcut of the target interface in the target application is created. And the binding relation among the application package name, the interface class name and the shortcut icon can be stored in a corresponding database of the terminal equipment.
Subsequently, when the user performs corresponding operations on the shortcut in the desktop of the terminal device or a pull-up menu/pull-down menu of the terminal operating system, for example, clicks the shortcut icon to quickly start the target application, the operating system may read the application package name and the interface class name corresponding to the shortcut icon from the database, and continue to quickly start the corresponding interface in the corresponding application corresponding to the shortcut according to the start path corresponding to the application package name and the interface class name.
EXAMPLE seven
In this embodiment, if the preset location is a pull-up menu or a pull-down menu of the operating system of the electronic device, referring to fig. 9, where fig. 9 is a schematic structural diagram of a seventh embodiment of the electronic device provided in the present application, in this embodiment, the shortcut creating module 300 may be implemented by the following units:
a second binding unit 303, configured to bind the application package name, the interface class name, and the preset button;
an icon replacing unit 304, configured to replace the button icon of the preset button with the shortcut icon, so as to obtain the shortcut of the target interface.
The present embodiment provides another implementation of creating shortcuts.
Specifically, in this embodiment, the captured application package name and interface class name are bound to the shortcut creation button set in the operating system pull-up menu/pull-down menu, i.e., the "+" button in fig. 2, and on this basis, the button pattern of the "+" button is replaced with the shortcut icon pattern of the current target interface, so that the shortcut of the target application is created at the "+" button of the operating system pull-up menu/pull-down menu.
And simultaneously, in the shortcut creation process, the binding relation among the application package name, the interface class name and the shortcut icon is finally indirectly established through the execution of the binding operation and the icon replacing operation, and the binding relation can also be stored in a corresponding database of the terminal equipment.
Subsequently, the user can quickly start the corresponding interface in the corresponding application corresponding to the shortcut by calling up the pull-up menu/pull-down menu of the operating system and executing corresponding quick start operation on the shortcut in the pull-up menu, such as clicking the shortcut and the like. When the operating system detects that the user executes the quick start operation on the icon of the shortcut, the application package name and the interface class name corresponding to the icon are read from the database, and the corresponding interface of the corresponding application is quickly started based on the quick start path corresponding to the application package name and the interface class name.
Example eight
Based on the solution of the seventh embodiment, referring to fig. 10, fig. 10 is a schematic structural diagram of an embodiment eight of an electronic device provided in this application, where the electronic device in this embodiment may further include:
and the shortcut release module 500 is configured to release the application package name and the interface class name bound in the shortcut of the target interface and replace the shortcut icon with the icon of the preset button when receiving the quick start closing request of the target interface.
Specifically, when a user needs to cancel a shortcut for a corresponding interface in a corresponding application in a pull-up menu/pull-down menu of an operating system, a quick start/close request for the interface can be triggered by executing a corresponding operation on a shortcut icon of the pull-up menu/pull-down menu, for example, pressing the shortcut icon for a long time, and after receiving the request, the operating system releases the binding relationship between the shortcut icon and an application package name and an interface class name, and replaces the shortcut icon with an original icon of a shortcut creation button, namely, replaces the shortcut icon with the "+" icon.
Therefore, when the user has shortcut creation requirements for other interfaces in other applications, corresponding shortcut creation can be carried out on the required interface in the required application by continuously utilizing the '+' button.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
For convenience of description, the above system or apparatus is described as being divided into various modules or units by function, respectively. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
Finally, it should also be noted that, in this document, relational terms such as first, second, third, fourth, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (8)

1. A shortcut establishing method is applied to an electronic device, and comprises the following steps:
receiving a shortcut establishing request sent by a user aiming at a target interface in a target application;
acquiring preset interface information of the target interface;
creating a shortcut of the target interface at a preset position based on the preset interface information;
if the target application is a current application and the target interface is a current interface, the receiving a shortcut establishment request sent by a user for the target interface in the target application includes:
receiving a shortcut establishment request triggered by a user through operating a preset button in a current interface of a current application; the preset button is pre-arranged in a pull-up menu or a pull-down menu of the electronic equipment operating system;
if the preset position is the pull-up menu or the pull-down menu, the creating a shortcut of the target interface at the preset position based on the preset interface information includes:
binding the preset interface information with the preset button;
changing the button icon of the preset button into a shortcut icon to obtain a shortcut of the target interface;
and when a quick start closing request of the target interface is received, releasing the preset interface information bound in the shortcut of the target interface, and replacing the shortcut icon with the icon of the preset button.
2. The method according to claim 1, wherein the acquiring preset interface information of the target interface comprises:
acquiring an application package name and an interface class name corresponding to the current interface;
and acquiring a shortcut icon of the current interface.
3. The method according to claim 2, wherein the preset location is a desktop of the electronic device, or the pull-up menu, or the pull-down menu, and then the creating the shortcut of the target interface at the preset location based on the preset interface information includes:
binding the application package name, the interface class name and the shortcut icon;
and displaying the shortcut icon on a desktop of the electronic equipment or the pull-up menu or the pull-down menu to obtain the shortcut of the target interface.
4. The method of claim 3, further comprising:
and when an interface starting request sent by a user based on the operation of the shortcut is received, acquiring a starting path corresponding to the application package name and the interface class name, and starting a target interface of the target application from the starting path.
5. An electronic device, comprising:
the request receiving module is used for receiving a shortcut establishing request sent by a user aiming at a target interface in a target application;
the interface information acquisition module is used for acquiring preset interface information of the target interface;
the shortcut creating module is used for creating a shortcut of the target interface at a preset position based on the preset interface information;
wherein, the target application is a current application, and the target interface is a current interface, the request receiving module includes:
the device comprises a request receiving unit, a shortcut establishing unit and a shortcut establishing unit, wherein the request receiving unit is used for receiving a shortcut establishing request triggered by a user through operating a preset button in a current interface of a current application; the preset button is pre-arranged in a pull-up menu or a pull-down menu of the electronic equipment operating system;
if the preset position is the pull-up menu or the pull-down menu, the shortcut creating module includes:
the second binding unit is used for binding the preset interface information with the preset button;
the icon replacing unit is used for replacing the button icon of the preset button with a shortcut icon to obtain a shortcut of the target interface;
and the shortcut release module is used for releasing the preset interface information bound in the shortcut of the target interface when receiving a quick start closing request of the target interface, and replacing the shortcut icon with the icon of the preset button.
6. The electronic device of claim 5, wherein the interface information acquisition module comprises:
the first acquisition unit is used for acquiring the application package name and the interface class name corresponding to the current interface;
and the second acquisition unit is used for acquiring the shortcut icon of the current interface.
7. The electronic device according to claim 6, wherein the preset position is a desktop of the electronic device, or the pull-up menu, or the pull-down menu, and the shortcut creating module includes:
the first binding unit is used for binding the application package name, the interface class name and the shortcut icon;
and the display unit is used for displaying the shortcut icon on a desktop of the electronic equipment or the pull-up menu or the pull-down menu to obtain the shortcut of the target interface.
8. The electronic device of claim 7, further comprising:
and the quick starting module is used for acquiring a starting path corresponding to the application package name and the interface class name when receiving an interface starting request sent by a user based on the operation of the shortcut, and starting a target interface of a target application from the starting path.
CN201610188541.0A 2016-03-29 2016-03-29 Shortcut establishing method and electronic equipment Active CN105867925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610188541.0A CN105867925B (en) 2016-03-29 2016-03-29 Shortcut establishing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610188541.0A CN105867925B (en) 2016-03-29 2016-03-29 Shortcut establishing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105867925A CN105867925A (en) 2016-08-17
CN105867925B true CN105867925B (en) 2022-06-28

Family

ID=56626359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610188541.0A Active CN105867925B (en) 2016-03-29 2016-03-29 Shortcut establishing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105867925B (en)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775249B (en) * 2016-12-21 2020-10-23 北京奇虎科技有限公司 Method for setting communication shortcut and electronic equipment
CN106453969A (en) * 2016-12-21 2017-02-22 北京奇虎科技有限公司 Quick communication entry adding method and electronic equipment
CN106843644B (en) * 2017-01-03 2020-11-20 百度在线网络技术(北京)有限公司 Method and device for establishing desktop icon
CN107045441A (en) * 2017-02-07 2017-08-15 吴宇会 A kind of new technical scheme of the smart machine software such as prompt operation mobile phone
CN107368304A (en) * 2017-06-28 2017-11-21 北京五八信息技术有限公司 Creation method, terminal and the storage medium of desktop shortcuts
CN107193452A (en) * 2017-06-29 2017-09-22 上海展扬通信技术有限公司 Shortcut operation method and device applied to non-touch screen mobile terminal
CN107613097A (en) * 2017-08-24 2018-01-19 广东欧珀移动通信有限公司 Display methods, device, storage medium and the electronic equipment of shortcut icon
WO2019041131A1 (en) * 2017-08-29 2019-03-07 深圳传音通讯有限公司 Method for generating shortcut, terminal device and computer storage medium
CN107678641A (en) * 2017-09-08 2018-02-09 维沃移动通信有限公司 A kind of method and mobile terminal into target display interface
CN107797728A (en) * 2017-10-31 2018-03-13 维沃移动通信有限公司 The method and mobile terminal of a kind of access application
CN108241515B (en) * 2018-01-10 2021-06-29 青岛海信移动通信技术股份有限公司 Application shortcut establishing method and terminal
CN108920204A (en) * 2018-05-30 2018-11-30 维沃移动通信有限公司 A kind of interface display method and terminal device
CN110837335A (en) * 2018-08-16 2020-02-25 珠海格力电器股份有限公司 Method and device for displaying page tag in application, terminal and storage medium
CN109669748A (en) * 2018-11-30 2019-04-23 维沃移动通信有限公司 A kind of display interface processing method and mobile terminal
CN109684006B (en) * 2018-12-11 2023-01-24 维沃移动通信(深圳)有限公司 Terminal control method and device
CN110018765B (en) * 2019-04-09 2022-02-22 腾讯科技(深圳)有限公司 Page display method, device, terminal and storage medium
CN110196664A (en) * 2019-04-19 2019-09-03 维沃移动通信有限公司 Control method and terminal device
CN110502295A (en) * 2019-07-23 2019-11-26 维沃移动通信有限公司 A kind of interface switching method and terminal device
CN110837404A (en) * 2019-10-29 2020-02-25 腾讯科技(深圳)有限公司 Shortcut operation processing method and device for internal function module and storage medium
CN111338542B (en) * 2020-02-19 2021-08-17 北京字节跳动网络技术有限公司 Shortcut generation method and device and computer readable storage medium
CN111767108B (en) * 2020-06-28 2024-08-02 Oppo广东移动通信有限公司 Application program label generation method, application interface display method and device
CN114253441B (en) * 2021-11-30 2023-12-19 青岛海尔科技有限公司 Method and device for enabling target function, storage medium and electronic device
CN113849487B (en) * 2021-12-02 2022-03-11 中关村科学城城市大脑股份有限公司 Database management method, device, equipment and medium
CN117917627A (en) * 2022-10-20 2024-04-23 华为技术有限公司 Multitasking management method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034537A (en) * 2012-12-17 2013-04-10 北京奇虎科技有限公司 Method and device for executing quick operations in internet work operating system (IOS)
CN103064737A (en) * 2012-12-17 2013-04-24 北京奇虎科技有限公司 Rapid operation execution method and device for iPhone operating system (iOS) system
CN103513969A (en) * 2012-06-15 2014-01-15 华为终端有限公司 Establishment method, device and terminal of application program entry

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8340726B1 (en) * 2008-06-30 2012-12-25 Iwao Fujisaki Communication device
US10365779B2 (en) * 2012-05-17 2019-07-30 Sony Interactive Entertainment LLC Dynamically assigning shortcuts to menu items and actions
CN102855051A (en) * 2012-08-15 2013-01-02 中兴通讯股份有限公司 Method and device for processing application shortcut
CN102999334B (en) * 2012-11-15 2016-06-08 广东欧珀移动通信有限公司 A kind of shortcut based on Android platform realizes method, device and terminal
US20140215375A1 (en) * 2013-01-30 2014-07-31 Apple Inc. Presenting shortcuts to provide computer software commands
CN103106007B (en) * 2013-03-06 2016-04-06 广东欧珀移动通信有限公司 A kind of icon display method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513969A (en) * 2012-06-15 2014-01-15 华为终端有限公司 Establishment method, device and terminal of application program entry
CN103034537A (en) * 2012-12-17 2013-04-10 北京奇虎科技有限公司 Method and device for executing quick operations in internet work operating system (IOS)
CN103064737A (en) * 2012-12-17 2013-04-24 北京奇虎科技有限公司 Rapid operation execution method and device for iPhone operating system (iOS) system

Also Published As

Publication number Publication date
CN105867925A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN105867925B (en) Shortcut establishing method and electronic equipment
US11669219B2 (en) Launching application task based on single user input and preset condition
US9594496B2 (en) Method and apparatus for playing IM message
CN102999334B (en) A kind of shortcut based on Android platform realizes method, device and terminal
US9021507B2 (en) Dynamic use of data across multiple programs
CN110233742B (en) Group establishing method, system, terminal and server
WO2015106510A1 (en) Screen splitting method and device for applications, intelligent terminal and storage medium
RU2604417C2 (en) Method, device, terminal and server for message pushing via light application
US20210352059A1 (en) Message Display Method, Apparatus, and Device
JP6389319B2 (en) Roaming network access method and apparatus
WO2012041161A1 (en) Method and device for placing icons
CN113792277A (en) Method and device for displaying application and picture and electronic equipment
KR20140123076A (en) A device control method and apparatus
US20210271491A1 (en) Application processing method, device, electronic device and storage medium
JP2017515432A (en) Roaming network access method and apparatus
WO2015176352A1 (en) Android system-based method and device for information exchange between applications
CN108205455B (en) Application function implementation method and device and terminal
WO2016202074A1 (en) Method and apparatus for setting state of contact in address book
CN104660797B (en) Operation processing method and device
EP2933957A1 (en) Method and mobile terminal for displaying dlna equipment
CN110658962A (en) Starting method and device of fast application, electronic equipment and storage medium
JP2007334633A (en) Remote desktop system
CN108984238B (en) Gesture processing method and device of application program and electronic equipment
CN106681644B (en) Multi-open application method and system thereof
CN104777967B (en) Page information display method and device

Legal Events

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