CN107844345B - Application menu generation method and device - Google Patents

Application menu generation method and device Download PDF

Info

Publication number
CN107844345B
CN107844345B CN201610834675.5A CN201610834675A CN107844345B CN 107844345 B CN107844345 B CN 107844345B CN 201610834675 A CN201610834675 A CN 201610834675A CN 107844345 B CN107844345 B CN 107844345B
Authority
CN
China
Prior art keywords
menu
application
function
preset
interface
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
CN201610834675.5A
Other languages
Chinese (zh)
Other versions
CN107844345A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610834675.5A priority Critical patent/CN107844345B/en
Priority to PCT/CN2017/102464 priority patent/WO2018054302A1/en
Publication of CN107844345A publication Critical patent/CN107844345A/en
Application granted granted Critical
Publication of CN107844345B publication Critical patent/CN107844345B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • 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)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method for generating an application menu, which comprises the following steps: the terminal determines function description information corresponding to each function in the application according to a function configuration file of the currently installed application; generating a first menu of the application, wherein at least one menu item generated according to the function description information is arranged in the first menu; and the terminal detects a first operation aiming at the application, and when the first operation meets a set condition, the first menu is displayed. The invention also discloses a device for generating the application menu.

Description

Application menu generation method and device
Technical Field
The present invention relates to a terminal display technology, and in particular, to a method and an apparatus for generating an application menu.
Background
The pressure screen is also called a pressure sensing screen, and is a screen applied to an intelligent terminal and a notebook computer, the screen needs to rely on an independent pressure sensor, once the external touch pressure is detected, the pressure sensor transmits the whole touch pressure process to a processing chip, and the processing chip can judge whether the touch pressure is a light touch or a heavy pressure.
One of the primary applications of pressure screens is to provide a user with a menu of pressure sensations. At present, mobile terminal manufacturers in the industry develop pressure-sensitive menus by establishing standards of the pressure-sensitive menus or develop the pressure-sensitive menus in cooperation with third-party software developers, menu items of all functions in the pressure-sensitive menus are realized through coding, and the design process is complex. On the other hand, most third-party software developers choose to release software from the public application store channel, and do not want to cooperate with mobile terminal manufacturers to develop the application of the pressure screen, the mobile terminal manufacturers need to communicate and cooperate with the third-party software developers one by one, and time cost, communication cost and later maintenance cost are very high. On the other hand, the pressure menu provided by the third-party application has different standards, and the menu items of all functions cannot be configured by the user.
Therefore, how to directly identify available functions from the inside of the third-party application and provide the user with a pressure menu capable of being configured autonomously is a technical problem which needs to be solved at present.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a method and an apparatus for generating an application menu, which can provide a pressure menu that meets personal requirements and can be displayed on a terminal desktop for a third-party application.
The technical scheme of the invention is realized as follows:
the embodiment of the invention provides a method for generating an application menu, which comprises the following steps:
the terminal determines function description information corresponding to each function in the application according to a function configuration file of the currently installed application;
generating a first menu of the application, wherein at least one menu item generated according to the function description information is arranged in the first menu;
and the terminal detects a first operation aiming at the application, and when the first operation meets a set condition, the first menu is displayed.
In the foregoing solution, the generating the first menu of the application includes:
generating a menu item corresponding to a preset function according to a function interface corresponding to the preset function read from the function description information, configuration information of the function interface and parameter information for starting the function interface; and combining the menu items corresponding to the preset functions of the application to generate a first menu of the application.
In the above solution, the first menu is associated with the application displayed on the first display interface;
and the terminal detects a first operation aiming at the application, and when the first operation meets a set condition, each menu item of the first menu is displayed on the first display interface.
In the foregoing solution, the first operation satisfies a set condition, and includes: the time length maintained by the first operation exceeds a preset time length value;
or the pressure of the first operation exceeds a preset pressure value;
or the action track of the first operation conforms to a preset track.
In the foregoing solution, after the generating the first menu of the application, the method further includes:
the first menu is in a first state when being called to the first display interface for the first time;
in the first state, detecting a second operation aiming at the first menu, responding to the second operation, and adding or deleting menu items in the first menu or changing characters or icons of the menu items in the first menu.
In the foregoing solution, after the generating the first menu of the application, the method further includes:
detecting an instruction for calling the first menu through an editing interface, and executing the instruction to enable the first menu to be in a first state;
in the first state, detecting a third operation on the first menu, responding to the third operation, and adding or deleting a menu item in the first menu, or changing characters or icons of the menu item in the first menu.
The embodiment of the invention provides a device for generating an application menu, which comprises: the device comprises a reading module, a function analysis module and an application module; wherein the content of the first and second substances,
the reading module is used for determining function description information corresponding to each function in the application according to a function configuration file of the currently installed application;
the function analysis module is used for generating a first menu of the application, and at least one menu item generated according to the function description information is arranged in the first menu;
the application module is used for displaying the first menu when detecting first operation aiming at the application, and the first operation meets set conditions.
In the above scheme, the function analysis module is specifically configured to generate a menu item corresponding to a preset function according to a function interface corresponding to the preset function read from the function description information, configuration information of the function interface, and parameter information for starting the function interface; and combining the menu items corresponding to the preset functions of the application to generate a first menu of the application.
In the above solution, the first menu is associated with the application displayed on the first display interface;
the application module is used for displaying a menu item of the first menu on the first display interface after detecting a first operation aiming at the application and when the first operation meets a set condition.
In the foregoing solution, the first operation satisfies a set condition, and includes: the time length maintained by the first operation exceeds a preset time length value;
or the pressure of the first operation exceeds a preset pressure value;
or the action track of the first operation conforms to a preset track.
In the foregoing solution, the application module is further configured to: the first menu is in a first state when being called to the first display interface for the first time;
in the first state, detecting a second operation aiming at the first menu, responding to the second operation, and adding or deleting menu items in the first menu or changing characters or icons of the menu items in the first menu.
In the foregoing solution, the application module is further configured to: detecting an instruction for calling the first menu through an editing interface, and executing the instruction to enable the first menu to be in a first state;
in the first state, detecting a third operation on the first menu, responding to the third operation, and adding or deleting a menu item in the first menu, or changing characters or icons of the menu item in the first menu.
According to the method and the device for generating the application menu, provided by the embodiment of the invention, the terminal determines the function description information corresponding to each function in the application according to the function configuration file of the currently installed application; generating a first menu of the application, wherein at least one menu item generated according to the function description information is arranged in the first menu; and the terminal detects a first operation aiming at the application, and when the first operation meets a set condition, the first menu is displayed. The method and the device directly identify available functions from the inside of the third-party application, and provide a first menu for each application according to the identified functions; and editing the first menu according to the selection of the user, and obtaining a menu meeting personal requirements after editing, thereby improving the user experience.
Drawings
Fig. 1 is a schematic flow chart of a method for generating an application menu according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another application menu generation method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an application menu generating apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a system for generating an application menu according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating an application menu according to an embodiment of the present invention.
Detailed Description
In various embodiments of the present invention, a terminal determines, according to a function configuration file of a currently installed application, function description information corresponding to each function in the application; generating a first menu of the application, wherein at least one menu item generated according to the function description information is arranged in the first menu; and the terminal detects a first operation aiming at the application, and when the first operation meets a set condition, the first menu is displayed.
The present invention will be described in further detail with reference to examples.
Fig. 1 is a schematic flow chart of a method for generating an application menu according to an embodiment of the present invention; as shown in fig. 1, the method includes:
step 101: the terminal determines function description information corresponding to each function in the application according to a function configuration file of the currently installed application;
here, the terminal may be a smart phone, a PAD (PAD), or the like. The device may be provided with a pressure screen and a pressure sensor.
After the terminal successfully installs the applications, each application generates a function configuration file, which is generally an android manifest. The function configuration file of the application is located under an application root directory of the terminal.
The function configuration file is used for describing global variables of the program package, and comprises components of the application and implementation classes of each component, wherein the components comprise: activity, services, etc.
After the terminal successfully installs the application or in the process of restarting the terminal, the terminal reads the function configuration file of the application, analyzes the function configuration file, and determines the functions of the application and the function description information corresponding to each function according to the function configuration file.
The function description information comprises: the method comprises the steps of applying functions, function interfaces corresponding to the functions, configuration information of the function interfaces, parameter information for starting the function interfaces and the like.
Specifically, step 101 specifically includes:
after the terminal installs the application, the application is automatically started by default, the function configuration file is subjected to function analysis, and the function description information such as the function disclosed by each application, the function interface corresponding to the function, the configuration information of the function interface, the parameter information of the start function interface and the like is identified.
Step 102: generating a first menu of the application, wherein at least one menu item generated according to the function description information is arranged in the first menu; the method specifically comprises the following steps:
generating a menu item corresponding to a preset function according to a function interface corresponding to the preset function read from the function description information, configuration information of the function interface and parameter information for starting the function interface; and combining the menu items corresponding to the preset functions of the application to generate a first menu of the application.
Here, the preset function includes a function that can be independently operated or a general function. The function commonly used by the application may be counted by the user and determined as a preset function.
Step 103: the terminal detects a first operation aiming at the application, and when the first operation meets a set condition, the first menu is displayed;
here, one or more menu items generated according to the function description information are set in the first menu; the first menu is associated with the application displayed on a first display interface; the first display interface may be a desktop of the terminal.
And the terminal detects a first operation aiming at the application, and when the first operation meets a set condition, each menu item of the first menu is displayed on the first display interface.
Specifically, the first operation may be a pressing operation, a sliding operation, or the like for an application.
The first operation satisfies a set condition, including: the time length maintained by the first operation exceeds a preset time length value;
or the pressure of the first operation exceeds a preset pressure value;
or the action track of the first operation conforms to a preset track.
The preset time length value, the preset pressure value and the preset track can be default settings of the terminal or can be modified and set by a user.
And the pressure of the first operation represents the strength when the user touches the pressure screen and clicks the corresponding application icon. Supposing that the terminal sets the force less than 50 newtons as light pressure, namely the force of normal touch operation, and the force more than 50 newtons as heavy pressure; in order to distinguish normal touch operations of a user, such as operations of clicking to open an application and displaying a first menu, a preset pressure value is set to be 50 newtons, and when the pressure of the first operation exceeds 50 newtons, the first menu is displayed on the first display interface.
The first operation is maintained for a time length which represents the duration of pressing the icon of the application by the user. Here, the preset time length value is set in order to distinguish normal touch operations of the user, such as operations of clicking to open an application and displaying a first menu. For example: the normal touch operation such as screen sliding, application opening clicking and the like only needs 1 second approximately, here, the preset time length value can be set to 4 seconds, and when the finger touches or presses the screen for more than 4 seconds, the first menu is displayed on the first display interface.
The action track of the first operation represents an operation of the user pressing the application icon, for example: the predetermined trajectory may be a slide up, a slide down, etc. over an icon of the application. The first menu may be displayed when the user presses an icon of the application and slides up or down. In practical applications, the sliding device can also slide leftwards, rightwards or at any angle and keep for a certain time, and is not limited here.
Specifically, after the first menu is displayed on the first display interface, the method may further include: and the terminal collects an operation instruction input by a user, selects a menu item in the first menu according to the operation instruction and opens a function interface of a corresponding function.
The first menu includes: menu items to which various functions disclosed are applied. And the user can open the function of the application by clicking the menu item corresponding to any application function, and jumps to the function interface corresponding to the function.
The terminal can also configure an editing interface for modifying the first menu according to the function description information, and can edit each menu item in the first menu through the editing interface to modify the generated first menu.
Specifically, after generating the first menu of the application, the method may further include:
executing the operation of step 103 for the first time, that is, when the first menu is called to be displayed on the first display interface for the first time, the first menu is in a first state;
in the first state, detecting a second operation aiming at the first menu, responding to the second operation, and adding or deleting menu items in the first menu or changing characters or icons of the menu items in the first menu.
Specifically, after generating the first menu of the application, the method may further include:
detecting an instruction for calling the first menu through an editing interface, and executing the instruction to enable the first menu to be in a first state;
in the first state, detecting a third operation on the first menu, responding to the third operation, and adding or deleting a menu item in the first menu, or changing characters or icons of the menu item in the first menu.
Here, the first state is a state in which a first menu can be edited, and when the first menu is displayed on a first display interface for the first time, or after the terminal detects and executes an instruction for calling the first menu through an editing interface, the first menu is in the first state, and in this state, the terminal can edit and store the first menu according to the detected second operation or third operation.
Specifically, the terminal may delete or add menu items in the first menu, such as: the terminal displays a function switch on one side, such as the left side or the right side, of each menu item of the first menu; and when the function switch is turned on, the menu item corresponding to the function is displayed in the first menu, and when the function switch is turned off, the menu item corresponding to the function is not displayed in the first menu. And the terminal detects the operation of opening the function switch or closing the function switch and adds or deletes corresponding menu items. Or the terminal sets that the menu item can be deleted by performing sliding operation on any menu item of the first menu, and deletes the menu item of the corresponding function when the terminal detects that the second operation is the sliding operation on any menu item.
Specifically, the terminal may change the text or icon of the menu item in the first menu, for example: the terminal displays an editing button on the first menu, the first menu is in an editable state after the operation of clicking the editing button is detected, the name or the icon of any menu item is received, and the name or the icon of the menu item is modified correspondingly according to the received name or icon.
Fig. 2 is a schematic flow chart of another application menu generation method according to an embodiment of the present invention; as shown in fig. 2, the method includes:
step 201: the terminal acquires and analyzes the function configuration file of the application in the process of installing the application or restarting the terminal;
step 202: acquiring functions disclosed by the application, function interfaces corresponding to the functions and configuration information of the function interfaces according to the function configuration files;
step 203: loading parameter information of a starting function interface aiming at the application function;
step 204: storing the configuration information of the functional interface and the parameter information of the starting functional interface;
step 205: according to a function interface corresponding to each function and configuration information of the function interface, starting function description information such as parameter information of the function interface and the like to generate a first menu, wherein at least one menu item generated according to the function description information is arranged in the first menu;
calling a first menu for the first time to enable the first menu to be in an editable state, detecting a second operation aiming at the first menu, responding to the second operation, editing the first menu and storing the first menu; the editing comprises the following steps: deleting or adding menu items of the first menu, modifying characters or icons of the menu items of the first menu, and the like;
step 206: the first display interface displays a first menu of the application, the terminal detects the operation aiming at any menu item in the first menu, opens the function of the application and jumps to the function interface corresponding to the function.
Fig. 3 is a schematic structural diagram of an application menu generating apparatus according to an embodiment of the present invention; as shown in fig. 3, the apparatus includes: a reading module 301, a function analysis module 302 and an application module 303; wherein the content of the first and second substances,
the reading module 301 is configured to determine, according to a function configuration file of a currently installed application, function description information corresponding to each function in the application;
the function analysis module 302 is configured to generate a first menu of the application, where the first menu is provided with at least one menu item generated according to the function description information;
the application module 303 is configured to, when a first operation for the application is detected and when the first operation meets a set condition, display the first menu on the first display interface.
Specifically, the function description information includes: the method comprises the steps of a function interface corresponding to a function, configuration information of the function interface and parameter information for starting the function interface.
Specifically, the function analysis module 302 is specifically configured to generate a menu item corresponding to a preset function according to a function interface corresponding to the preset function read from the function description information, configuration information of the function interface, and parameter information for starting the function interface; and combining the menu items corresponding to the preset functions of the application to generate a first menu of the application.
In particular, the first menu is associated with the application displayed on a first display interface;
the application module 303 is specifically configured to display a menu item of the first menu on the first display interface after detecting a first operation for the application and when the first operation meets a set condition.
Specifically, the first operation satisfies a set condition, including: the time length maintained by the first operation exceeds a preset time length value;
or the pressure of the first operation exceeds a preset pressure value;
or the action track of the first operation conforms to a preset track.
Here, the preset time length value, the preset pressure value, and the predetermined trajectory may be default settings of the terminal, or may be modified and set by the user. For example, the preset time period may be 4 seconds, the preset pressure value may be 50 newtons, and the predetermined trajectory may be an application icon sliding up or down.
Specifically, the application module 303 is further configured to: the first menu is in a first state when being called to the first display interface for the first time;
in the first state, detecting a second operation aiming at the first menu, responding to the second operation, and adding or deleting menu items in the first menu or changing characters or icons of the menu items in the first menu.
Specifically, the application module 303 is further configured to: detecting an instruction for calling the first menu through an editing interface, and executing the instruction to enable the first menu to be in a first state;
in the first state, detecting a third operation on the first menu, responding to the third operation, and adding or deleting a menu item in the first menu, or changing characters or icons of the menu item in the first menu.
Here, the first state is a state in which the first menu can be edited. When the first menu is displayed on the first display interface for the first time, or after an instruction for calling the first menu through the editing interface is executed, the first menu is in a state of being capable of editing the first menu, a user can execute corresponding operation to edit the first menu, the first menu is stored after editing, and the first menu displayed on the first display interface is the edited first menu.
By the device, the first menu meeting personal requirements of the user can be generated for each application in the terminal.
Fig. 4 is a schematic structural diagram of a system for generating an application menu according to an embodiment of the present invention; as shown in fig. 4, the system includes: the device comprises an application menu generating device, an application installation module 300 and a data storage module 304; the device for generating the application menu comprises: a reading module 301, a function analysis module 302 and an application module 303; wherein the content of the first and second substances,
the application installation module 300 is configured to install a third-party application 306, and load and primarily analyze a function configuration file of the application in an installation process; the function configuration file is android manifest.xml;
the reading module 301 is configured to determine, according to a function configuration file of a currently installed application, function description information corresponding to each function in the application;
the function analysis module 302 is configured to generate a first menu of the application, where the first menu is provided with at least one menu item generated according to the function description information;
the first menu is associated with the application displayed on a first display interface; the application module 303 is configured to display each menu item of the first menu on the first display interface when a first operation for the application is detected and the first operation satisfies a set condition.
Here, the first operation satisfies a set condition including: the time length maintained by the first operation exceeds a preset time length value; or the pressure of the first operation exceeds a preset pressure value; or the action track of the first operation conforms to a preset track.
Here, the preset time length value, the preset pressure value, and the predetermined trajectory may be default settings of the terminal, or may be modified and set by the user. For example, the preset time period may be 4 seconds, the preset pressure value may be 50 newtons, and the predetermined trajectory may be an application icon sliding up or down.
The data storage module 304 is configured to store data, interface information, and the like corresponding to each menu item in the first menu, and provide an editing interface for the first menu.
It should be noted that, because parameters need to be initialized in advance before the first menu is called, the reading module 301 automatically starts the application in a silent manner after the application is installed, starts each function analyzed by the function analysis module 302 in a background simulation manner, and then collects configuration information of parameters and function interfaces for starting each function and the like in a system memory, the function analysis module 302 generates the first menu of the application, and the first menu includes at least one menu item generated according to the function description information; the data storage module 304 stores the acquired menu items corresponding to the functions of each application; when a user operates on a first display interface of the terminal, namely, a desktop of the terminal for an application icon, the application module 303 detects a first operation, and when the first operation meets a set condition, a first menu of the third-party application 306 is displayed through the first display interface. And clicking a menu item corresponding to any function in the first menu by the user, opening the application by the terminal, and jumping to a corresponding function interface.
FIG. 5 is a diagram illustrating an application menu according to an embodiment of the present invention; as shown in fig. 5, when the user clicks an icon of application a displayed on the first display interface of the terminal, a first menu associated with application a may be obtained, including various menu items of application a, such as scanning a scan, adding friends, and the like; clicking an icon of the application B to obtain a first menu related to the application B, wherein the first menu comprises various menu items of the application B, such as contact person viewing, code scanning and the like; here, only the first menu associated with one application may be displayed on the first display interface at the same time, for example, the first menu of application a may not be displayed while the first menu of application B is displayed.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents, improvements, etc. that are within the spirit and principle of the present invention should be included in the present invention.

Claims (12)

1. A method for generating an application menu, the method comprising:
the terminal determines function description information corresponding to each function in the application according to a function configuration file of the currently installed application;
generating a first menu of the application, wherein at least one menu item generated according to the function description information is arranged in the first menu;
and the terminal detects a first operation aiming at the application, and when the first operation meets a set condition, the first menu is displayed.
2. The method of claim 1, wherein generating the first menu of applications comprises:
generating a menu item corresponding to a preset function according to a function interface corresponding to the preset function read from the function description information, configuration information of the function interface and parameter information for starting the function interface; and combining the menu items corresponding to the preset functions of the application to generate a first menu of the application.
3. The method of claim 1, wherein the first menu is associated with the application displayed on a first display interface;
and the terminal detects a first operation aiming at the application, and when the first operation meets a set condition, each menu item of the first menu is displayed on the first display interface.
4. The method of claim 3, wherein the first operation satisfies a set condition comprising: the time length maintained by the first operation exceeds a preset time length value;
or the pressure of the first operation exceeds a preset pressure value;
or the action track of the first operation conforms to a preset track.
5. The method of claim 3, wherein after the generating the first menu of applications, the method further comprises:
the first menu is in a first state when being called to the first display interface for the first time;
in the first state, detecting a second operation aiming at the first menu, responding to the second operation, and adding or deleting menu items in the first menu or changing characters or icons of the menu items in the first menu.
6. The method of claim 1, wherein after the generating the first menu of applications, the method further comprises:
detecting an instruction for calling the first menu through an editing interface, and executing the instruction to enable the first menu to be in a first state;
in the first state, detecting a third operation on the first menu, responding to the third operation, and adding or deleting a menu item in the first menu, or changing characters or icons of the menu item in the first menu.
7. An apparatus for generating an application menu, the apparatus comprising: the device comprises a reading module, a function analysis module and an application module; wherein the content of the first and second substances,
the reading module is used for determining function description information corresponding to each function in the application according to a function configuration file of the currently installed application;
the function analysis module is used for generating a first menu of the application, and at least one menu item generated according to the function description information is arranged in the first menu;
the application module is used for displaying the first menu when detecting first operation aiming at the application, and the first operation meets set conditions.
8. The apparatus according to claim 7, wherein the function parsing module is specifically configured to generate a menu item corresponding to a preset function according to a function interface corresponding to the preset function read from the function description information, configuration information of the function interface, and parameter information for starting the function interface; and combining the menu items corresponding to the preset functions of the application to generate a first menu of the application.
9. The apparatus of claim 7, wherein the first menu is associated with the application displayed on a first display interface;
the application module is used for displaying a menu item of the first menu on the first display interface after detecting a first operation aiming at the application and when the first operation meets a set condition.
10. The apparatus of claim 9, wherein the first operation satisfies a set condition, comprising: the time length maintained by the first operation exceeds a preset time length value;
or the pressure of the first operation exceeds a preset pressure value;
or the action track of the first operation conforms to a preset track.
11. The apparatus of claim 9, wherein the application module is further configured to: the first menu is in a first state when being called to the first display interface for the first time;
in the first state, detecting a second operation aiming at the first menu, responding to the second operation, and adding or deleting menu items in the first menu or changing characters or icons of the menu items in the first menu.
12. The apparatus of claim 7, wherein the application module is further configured to: detecting an instruction for calling the first menu through an editing interface, and executing the instruction to enable the first menu to be in a first state;
in the first state, detecting a third operation on the first menu, responding to the third operation, and adding or deleting a menu item in the first menu, or changing characters or icons of the menu item in the first menu.
CN201610834675.5A 2016-09-20 2016-09-20 Application menu generation method and device Active CN107844345B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610834675.5A CN107844345B (en) 2016-09-20 2016-09-20 Application menu generation method and device
PCT/CN2017/102464 WO2018054302A1 (en) 2016-09-20 2017-09-20 Application menu generation method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610834675.5A CN107844345B (en) 2016-09-20 2016-09-20 Application menu generation method and device

Publications (2)

Publication Number Publication Date
CN107844345A CN107844345A (en) 2018-03-27
CN107844345B true CN107844345B (en) 2021-01-01

Family

ID=61657341

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610834675.5A Active CN107844345B (en) 2016-09-20 2016-09-20 Application menu generation method and device

Country Status (2)

Country Link
CN (1) CN107844345B (en)
WO (1) WO2018054302A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427138A (en) * 2019-08-02 2019-11-08 北京百度网讯科技有限公司 Translation information processing method, device, electronic equipment and storage medium
CN111930418B (en) * 2020-07-27 2024-01-05 深圳市元征科技股份有限公司 Diagnostic device function configuration method, diagnostic device, and storage medium

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226479A (en) * 2008-02-01 2008-07-23 中兴通讯股份有限公司 Method for implementing dynamic collocation of mobile phone menu
CN101583125A (en) * 2009-06-08 2009-11-18 厦门敏讯信息技术股份有限公司 Method, terminal and server for realizing customization function of wireless terminal
CN102236501A (en) * 2010-04-21 2011-11-09 上海三旗通信科技有限公司 Mobile terminal-based shortcut
CN101833467B (en) * 2010-05-14 2013-12-04 华为终端有限公司 Method and equipment for adding menu items into Android menu
KR101727040B1 (en) * 2010-10-14 2017-04-14 엘지전자 주식회사 An electronic device, a method for providing menu using the same
CN102567026B (en) * 2011-12-28 2016-03-30 用友网络科技股份有限公司 Mobile solution constructing system and Mobile solution construction method
KR101357261B1 (en) * 2012-02-22 2014-02-05 주식회사 팬택 Apparatus and method for creating a shortcut menu and mobile device including the apparatus
US20130311913A1 (en) * 2012-05-17 2013-11-21 Sony Network Entertainment International Llc User customization of menus
CN103729107A (en) * 2012-10-15 2014-04-16 中兴通讯股份有限公司 Method and device for achieving suspension target
CN105589627B (en) * 2014-10-23 2020-07-14 北大方正集团有限公司 Shortcut menu display method, shortcut menu display device and terminal
CN104898978A (en) * 2015-06-10 2015-09-09 努比亚技术有限公司 Method and device for selecting application menu
CN105068721B (en) * 2015-08-27 2019-03-15 Oppo广东移动通信有限公司 A kind of actions menu display methods and terminal
CN105657502B (en) * 2015-11-09 2017-12-08 乐视致新电子科技(天津)有限公司 A kind of implementation method of custom menu, device, client and server
CN105760063B (en) * 2016-02-22 2019-09-13 平复信息技术河北有限公司 Arch shortcut menu and its working method for mobile intelligent terminal
CN105718152A (en) * 2016-03-07 2016-06-29 腾讯科技(深圳)有限公司 Application event interaction method and device

Also Published As

Publication number Publication date
CN107844345A (en) 2018-03-27
WO2018054302A1 (en) 2018-03-29

Similar Documents

Publication Publication Date Title
CN105677305B (en) Icon management method and device and terminal
CN106201170B (en) A kind of the footmark processing method and terminal of application icon
CN104598109A (en) Method and equipment for previewing application in portable terminal
CN106445292B (en) Method and system for managing application programs in different body modes
CN106371752B (en) A kind of the virtual key implementation method and device of Android system intelligent terminal
CN109491731B (en) Control method and device for suspension button and storage medium
US20140258989A1 (en) Method and system for automating a scene-based test
CN104731500B (en) A kind of information processing method and electronic equipment
CN103810437A (en) Method and terminal for hiding application program
CN110275704A (en) Page data processing method and device, storage medium and electronic equipment
CN108604157A (en) A kind of method and electronic equipment of information processing
CN103777947A (en) Method and device for managing main interface of mobile terminal
CN105425966A (en) Gesture control method and device based on Android system
CN105446739A (en) UI interface setting method and apparatus
CN104298434B (en) A kind of information processing method and electronic equipment
CN105117110A (en) Method and device for displaying user equipment state on preset interface of application program
CN104636170A (en) Application acquiring method and device and electronic device
CN107844345B (en) Application menu generation method and device
CN106843559B (en) User instruction identification and processing method and device
CN113938733A (en) Shortcut key control method and device for remote control equipment, storage medium and device
CN111435328B (en) Application testing method and device, electronic equipment and readable storage medium
CN106484604B (en) Application test control method and device
CN112764796A (en) Installation package generation system
CN104615951B (en) A kind of information processing method and mobile terminal
JP5204343B1 (en) Test system and program

Legal Events

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