WO2018054302A1 - Application menu generation method and apparatus - Google Patents

Application menu generation method and apparatus Download PDF

Info

Publication number
WO2018054302A1
WO2018054302A1 PCT/CN2017/102464 CN2017102464W WO2018054302A1 WO 2018054302 A1 WO2018054302 A1 WO 2018054302A1 CN 2017102464 W CN2017102464 W CN 2017102464W WO 2018054302 A1 WO2018054302 A1 WO 2018054302A1
Authority
WO
WIPO (PCT)
Prior art keywords
menu
application
function
interface
menu item
Prior art date
Application number
PCT/CN2017/102464
Other languages
French (fr)
Chinese (zh)
Inventor
刁亮
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018054302A1 publication Critical patent/WO2018054302A1/en

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

Abstract

An application menu generation method comprises: according to a function configuration file of a currently installed application, a terminal determines function description information corresponding to functions in the application (101); generate a first menu of the application, the first menu having at least one menu item generated according to the function description information (102); and the terminal detects a first operation for the application, and displays the first menu when the first operation satisfies a set condition (103). Also disclosed is an application menu generation apparatus.

Description

一种应用菜单的生成方法和装置Method and device for generating application menu 技术领域Technical field
本发明涉及终端显示技术,尤其涉及一种应用菜单的生成方法和装置。The present invention relates to terminal display technologies, and in particular, to a method and apparatus for generating an application menu.
背景技术Background technique
压力屏又称压力感应屏幕,是应用于智能终端、笔记本电脑上的一种屏幕,这种屏幕需要依靠独立的压力传感器,一旦检测到外界的触压,压力传感器就会将整个触压过程传递给处理芯片,处理芯片可以判断这是一次轻触还是一次重压。Pressure screen, also known as pressure sensing screen, is a kind of screen applied to smart terminals and laptops. This kind of screen needs to rely on independent pressure sensors. Once the external touch pressure is detected, the pressure sensor will pass the whole touch process. To the processing chip, the processing chip can determine whether this is a touch or a heavy press.
压力屏的主要应用之一是为用户提供压感菜单。目前,行业内移动终端厂商是通过制定压感菜单的标准自行开发或者与第三方软件开发商合作开发而生成压感菜单,压感菜单中的各个功能的菜单项通过编码实现,设计过程复杂。另一方面,由于绝大部分第三方软件开发商都选择从公开的应用商城渠道发布软件,而不愿意与移动终端厂商合作开发压力屏版的应用,移动终端厂商需逐一与各个第三方软件开发商进行沟通合作,时间成本、沟通成本、后期维护成本都非常高。再一方面,第三方应用提供的压感菜单的标准不同、且各个功能的菜单项无法由用户自主配置。One of the main applications of the pressure screen is to provide the user with a pressure sensitive menu. At present, mobile terminal manufacturers in the industry develop their own pressure-sensitive menus or develop them with third-party software developers to generate pressure-sensitive menus. The menu items of each function in the pressure-sensitive menu are realized by coding, and the design process is complicated. On the other hand, since most third-party software developers choose to release software from open application mall channels and are not willing to cooperate with mobile terminal manufacturers to develop pressure-screen applications, mobile terminal manufacturers need to work with various third-party software developers one by one. Communication and cooperation, time cost, communication cost, and post-maintenance cost are very high. On the other hand, the standards of the pressure sensitive menus provided by the third party applications are different, and the menu items of the respective functions cannot be configured by the user.
因此,如何直接从第三方应用内部识别可用的功能,提供给用户可自主配置的压感菜单,让压感菜单完全与第三方应用解耦是当前亟需解决的技术问题。Therefore, how to directly identify the available functions from the third-party application, and provide the user with a self-configurable pressure-sensitive menu, so that the pressure-sensitive menu is completely decoupled from the third-party application is a technical problem that needs to be solved at present.
发明内容Summary of the invention
为解决现有存在的技术问题,本发明实施例提供一种应用菜单的生成方法和装置,能够针对第三方应用提供符合个人需求、可在终端桌面显示 的压感菜单。In order to solve the existing technical problems, an embodiment of the present invention provides a method and a device for generating an application menu, which can provide a third-party application that meets personal needs and can be displayed on the desktop of the terminal. Pressure sense menu.
本发明的技术方案是这样实现的:The technical solution of the present invention is implemented as follows:
本发明实施例提供了一种应用菜单的生成方法,所述方法包括:An embodiment of the present invention provides a method for generating an application menu, where the method includes:
终端根据当前所安装的应用的功能配置文件,确定所述应用中的各功能对应的功能描述信息;Determining, by the terminal, 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, where the first menu is provided with at least one menu item generated according to the function description information;
终端检测到针对所述应用的第一操作,所述第一操作满足设定条件时,显示所述第一菜单。The terminal detects a first operation for the application, and when the first operation satisfies a set condition, the first menu is displayed.
上述实施例中,所述生成应用的第一菜单,包括:In the above embodiment, the generating the first menu of the application includes:
根据从所述功能描述信息中读取的预设的功能对应的功能界面、所述功能界面的配置信息和启动所述功能界面的参数信息,生成预设的功能对应的菜单项;将所述应用的各预设的功能对应的菜单项合并,生成所述应用的第一菜单。Generating, 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, a menu item corresponding to the preset function; The menu items corresponding to the preset functions of the application are merged to generate a first menu of the application.
上述实施例中,所述第一菜单与显示于第一显示界面上的所述应用相关联;In the above embodiment, the first menu is associated with the application displayed on the first display interface;
所述终端检测到针对所述应用的第一操作,所述第一操作满足设定条件时,在所述第一显示界面显示所述第一菜单的各菜单项。The terminal detects a first operation for the application, and when the first operation satisfies a setting condition, displaying each menu item of the first menu on the first display interface.
上述实施例中,所述第一操作满足设定条件,包括:所述第一操作维持的时间长度超过时长预设值;In the above embodiment, the first operation satisfies the setting condition, and the method includes: the length of time that the first operation is maintained exceeds a preset value of the duration;
或者,所述第一操作的压力大小超过压力预设值;Or the pressure of the first operation exceeds a pressure preset value;
或者,所述第一操作的行动轨迹符合预定轨迹。Alternatively, the motion trajectory of the first operation conforms to a predetermined trajectory.
上述实施例中,所述生成应用的第一菜单之后,所述方法还包括:In the above embodiment, after the generating the first menu of the application, the method further includes:
所述第一菜单首次被调用于所述第一显示界面显示时,处于第一状态;When the first menu is first used for the first display interface display, it is in a first state;
在所述第一状态下,检测到针对所述第一菜单的第二操作,响应所述 第二操作,在所述第一菜单中添加或删除菜单项,或者使所述第一菜单中的菜单项的文字或图标变更。In the first state, detecting a second operation for the first menu, in response to the In a second operation, a menu item is added or deleted in the first menu, or a text or an icon of the menu item in the first menu is changed.
上述实施例中,所述生成应用的第一菜单之后,所述方法还包括:In the above embodiment, after the generating the first menu of the application, the method further includes:
检测到通过编辑接口调用所述第一菜单的指令,执行指令使所述第一菜单处于第一状态;Detecting an instruction to invoke the first menu through an editing interface, and executing the instruction to cause the first menu to be in a first state;
在所述第一状态下,检测到针对所述第一菜单的第三操作,响应所述第三操作,在所述第一菜单中添加或删除菜单项,或者使所述第一菜单中的菜单项的文字或图标变更。In the first state, detecting a third operation for the first menu, in response to the third operation, adding or deleting a menu item in the first menu, or making the first menu The text or icon of the menu item is changed.
本发明实施例提供了一种应用菜单的生成装置,所述装置包括:读取模块、功能解析模块和应用模块;其中,An embodiment of the present invention provides an apparatus for generating an application menu, where the apparatus includes: a reading module, a function parsing module, and an application module;
所述读取模块,设置为根据当前所安装的应用的功能配置文件,确定所述应用中的各功能对应的功能描述信息;The reading module is configured to determine function description information corresponding to each function in the application according to a function configuration file of the currently installed application;
所述功能解析模块,设置为生成所述应用的第一菜单,所述第一菜单中设置有根据所述功能描述信息生成的至少一个菜单项;The function parsing module 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 is configured to display the first menu when a first operation for the application is detected, and the first operation satisfies a set condition.
上述实施例中,所述功能解析模块,具体设置为根据从所述功能描述信息中读取的预设的功能对应的功能界面、所述功能界面的配置信息和启动所述功能界面的参数信息,生成预设的功能对应的菜单项;将所述应用的各预设的功能对应的菜单项合并,生成所述应用的第一菜单。In the foregoing embodiment, the function parsing module is specifically configured to: 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. Generating a menu item corresponding to the preset function; merging the menu items corresponding to the preset functions of the application to generate a first menu of the application.
上述实施例中,所述第一菜单与显示于第一显示界面上的所述应用相关联;In the above embodiment, the first menu is associated with the application displayed on the first display interface;
所述应用模块,设置为在检测到针对所述应用的第一操作后且所述第一操作满足设定条件时,在所述第一显示界面显示所述第一菜单的菜单项。The application module is configured to display a menu item of the first menu on the first display interface after detecting a first operation for the application and the first operation satisfies a set condition.
上述实施例中,所述第一操作满足设定条件,包括:所述第一操作维持的时间长度超过时长预设值; In the above embodiment, the first operation satisfies the setting condition, and the method includes: the length of time that the first operation is maintained exceeds a preset value of the duration;
或者,所述第一操作的压力大小超过压力预设值;Or the pressure of the first operation exceeds a pressure preset value;
或者,所述第一操作的行动轨迹符合预定轨迹。Alternatively, the motion trajectory of the first operation conforms to a predetermined trajectory.
上述实施例中,所述应用模块,还设置为:所述第一菜单首次被调用于所述第一显示界面显示时,处于第一状态;In the above embodiment, the application module is further configured to: when the first menu is first used for display on the first display interface, in a first state;
在所述第一状态下,检测到针对所述第一菜单的第二操作,响应所述第二操作,在所述第一菜单中添加或删除菜单项,或者使所述第一菜单中的菜单项的文字或图标变更。In the first state, detecting a second operation for the first menu, in response to the second operation, adding or deleting a menu item in the first menu, or making the first menu The text or icon of the menu item is changed.
上述实施例中,所述应用模块,还设置为:检测到通过编辑接口调用所述第一菜单的指令,执行指令使所述第一菜单处于第一状态;In the above embodiment, the application module is further configured to: detect an instruction to invoke the first menu by using an editing interface, and execute the instruction to cause the first menu to be in a first state;
在所述第一状态下,检测到针对所述第一菜单的第三操作,响应所述第三操作,在所述第一菜单中添加或删除菜单项,或者使所述第一菜单中的菜单项的文字或图标变更。In the first state, detecting a third operation for the first menu, in response to the third operation, adding or deleting a menu item in the first menu, or making the first menu The text or icon of the menu item is changed.
本发明实施例所提供的应用菜单的生成方法和装置,终端根据当前所安装的应用的功能配置文件,确定所述应用中的各功能对应的功能描述信息;生成所述应用的第一菜单,所述第一菜单中设置有根据所述功能描述信息生成的至少一个菜单项;终端检测到针对所述应用的第一操作,所述第一操作满足设定条件时,显示所述第一菜单。本发明实施例直接从第三方应用内部识别可用的功能,根据识别的功能为每个应用提供第一菜单;根据用户的选择编辑所述第一菜单,编辑后获得符合个人需求的菜单,提高了用户体验度。The method and device for generating an application menu provided by the embodiment of the present invention, the terminal determines function description information corresponding to each function in the application according to the function configuration file of the currently installed application; and generates a first menu of the application, The first menu is provided with at least one menu item generated according to the function description information; the terminal detects a first operation for the application, and when the first operation satisfies the setting condition, displaying the first menu . The embodiment of the present invention directly recognizes available functions from a third-party application, and provides a first menu for each application according to the recognized function; edits the first menu according to the user's selection, and obtains a menu that meets individual needs after editing, and improves User experience.
附图说明DRAWINGS
图1为本发明实施例提供的一种应用菜单的生成方法流程示意图;FIG. 1 is a schematic flowchart of a method for generating an application menu according to an embodiment of the present invention;
图2为本发明实施例提供的另一种应用菜单的生成方法流程示意图;2 is a schematic flowchart of another method for generating an application menu according to an embodiment of the present invention;
图3为本发明实施例提供的一种应用菜单的生成装置结构示意图;FIG. 3 is a schematic structural diagram of an apparatus for generating an application menu according to an embodiment of the present disclosure;
图4为本发明实施例提供的一种应用菜单的生成系统结构示意图; 4 is a schematic structural diagram of a system for generating an application menu according to an embodiment of the present invention;
图5为本发明实施例提供的一种显示应用菜单的示意图。FIG. 5 is a schematic diagram of a display application menu according to an embodiment of the present invention.
具体实施方式detailed description
在本发明的各种实施例中,终端根据当前所安装的应用的功能配置文件,确定所述应用中的各功能对应的功能描述信息;生成所述应用的第一菜单,所述第一菜单中设置有根据所述功能描述信息生成的至少一个菜单项;终端检测到针对所述应用的第一操作,所述第一操作满足设定条件时,显示所述第一菜单。In various embodiments of the present invention, the terminal determines function description information corresponding to each function in the application according to a function configuration file of the currently installed application, and generates a first menu of the application, the first menu. Providing at least one menu item generated according to the function description information; the terminal detects a first operation for the application, and when the first operation satisfies the setting condition, displaying the first menu.
下面结合实施例对本发明再作进一步详细的说明。The present invention will be further described in detail below with reference to the embodiments.
图1为本发明实施例提供的一种应用菜单的生成方法流程示意图;如图1所示,所述方法包括:FIG. 1 is a schematic flowchart of a method for generating an application menu according to an embodiment of the present invention; as shown in FIG. 1 , the method includes:
步骤101:终端根据当前所安装的应用的功能配置文件,确定所述应用中的各功能对应的功能描述信息;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.
这里,所述终端可以是智能电话、平板电脑(PAD)等设备。所述设备可以设有压力屏和压力传感器。Here, the terminal may be a device such as a smart phone or a tablet (PAD). The device can be provided with a pressure screen and a pressure sensor.
终端成功安装应用后,每个应用都会产生一个功能配置文件,所述功能配置文件一般为AndroidManifest.xml文件。应用的功能配置文件位于终端的应用根目录下。After the terminal successfully installs the application, each application generates a function configuration file, which is generally an AndroidManifest.xml file. The application's feature profile is located in the application's root directory of the terminal.
所述功能配置文件用于描述程序包的全局变量,包括应用的组件和每个组件的实现类,所述组件例如:活动(activity)、服务(services)等。The function configuration file is used to describe a global variable of a package, including components of an application and implementation classes of each component, such as activities, services, and the like.
终端成功安装应用后或者终端在重新启动的过程中,终端读取应用的功能配置文件,解析所述功能配置文件,根据所述功能配置文件确定所述应用的功能及各功能对应的功能描述信息。After the terminal successfully installs the application or the terminal restarts, the terminal reads the function configuration file of the application, parses the function configuration file, and determines the function of the application and the function description information corresponding to each function according to the function configuration file. .
所述功能描述信息,包括:应用的功能、功能对应的功能界面、功能界面的配置信息、启动所述功能界面的参数信息等。The function description information includes: a function of the application, a function interface corresponding to the function, configuration information of the function interface, and parameter information for starting the function interface.
具体地,步骤101具体包括: Specifically, step 101 specifically includes:
终端安装应用后,自动默认启动应用,对功能配置文件进行功能解析,识别出各个应用公开的功能、功能对应的功能界面、功能界面的配置信息、启动功能界面的参数信息等功能描述信息。After the terminal installs the application, the application is automatically started by default, and the function configuration file is parsed, and the function description information of each function disclosed by the application, the function interface corresponding to the function, the configuration information of the function interface, and the parameter information of the startup function interface are identified.
步骤102:生成所述应用的第一菜单,所述第一菜单中设置有根据所述功能描述信息生成的至少一个菜单项;具体包括:Step 102: Generate a first menu of the application, where the first menu is configured with at least one menu item generated according to the function description information, and specifically includes:
根据从所述功能描述信息中读取的预设的功能对应的功能界面、所述功能界面的配置信息和启动所述功能界面的参数信息,生成预设的功能对应的菜单项;将所述应用的各预设的功能对应的菜单项合并,生成所述应用的第一菜单。Generating, 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, a menu item corresponding to the preset function; The menu items corresponding to the preset functions of the application are merged to generate a first menu of the application.
这里,预设的功能包括可独立操作的功能或常用功能。可以由用户统计该应用常用功能并确定为预设的功能。Here, the preset functions include functions that can be operated independently or commonly used functions. The common functions of the application can be counted by the user and determined as a preset function.
步骤103:终端检测到针对所述应用的第一操作,所述第一操作满足设定条件时,显示所述第一菜单;Step 103: The terminal detects a first operation for the application, and when the first operation meets a set condition, displaying the first menu;
这里,所述第一菜单中设置有一个或多个根据所述功能描述信息生成的菜单项;所述第一菜单与显示于第一显示界面上的所述应用相关联;所述第一显示界面可以为终端的桌面。Here, the first menu is provided with one or more menu items generated according to the function description information; the first menu is associated with the application displayed on the first display interface; the first display The interface can be the desktop of the terminal.
所述终端检测到针对所述应用的第一操作,所述第一操作满足设定条件时,在所述第一显示界面显示所述第一菜单的各菜单项。The terminal detects a first operation for the application, and when the first operation satisfies a setting condition, displaying each menu item of the first menu 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 the setting condition, and the method includes: the length of time that the first operation is maintained exceeds a preset value of the duration;
或者,所述第一操作的压力大小超过压力预设值;Or the pressure of the first operation exceeds a pressure preset value;
或者,所述第一操作的行动轨迹符合预定轨迹。Alternatively, the motion trajectory of the first operation conforms to a predetermined trajectory.
所述时长预设值、所述压力预设值、所述预定轨迹,可以是终端的默认设置,也可以由用户进行修改设定。The duration preset value, the pressure preset value, and the predetermined trajectory may be default settings of the terminal, or may be modified by the user.
所述第一操作的压力大小,表示用户触摸压力屏、点击相应的应用的 图标时的力度。假设,终端设定小于50牛顿的力度为轻压,即正常触摸操作的力度,大于50牛顿的力度为重压;这里为区别用户的正常触摸操作如点击打开应用和显示第一菜单的操作,设定压力预设值为50牛顿,当第一操作的压力大小超过50牛顿时,则在所述第一显示界面显示所述第一菜单。The magnitude of the pressure of the first operation indicates that the user touches the pressure screen and clicks on the corresponding application. The strength of the icon. Assume that the strength of the terminal setting less than 50 Newton is light pressure, that is, the strength of normal touch operation, and the strength greater than 50 Newton is heavy pressure; here is to distinguish the normal touch operation of the user such as clicking open application and displaying the first menu operation, The set pressure preset value is 50 Newtons, and when the pressure of the first operation exceeds 50 Newtons, the first menu is displayed on the first display interface.
所述第一操作维持的时间长度,表示用户按压应用的图标的持续时长。这里,为区别用户的正常触摸操作如点击打开应用和显示第一菜单的操作,设定时长预设值。例如:正常触摸操作如滑动屏幕、点击打开应用等大约只需1秒,这里,可以设定时长预设值为4秒,当手指触摸或者按压屏幕超过4秒,则在所述第一显示界面显示所述第一菜单。The length of time that the first operation is maintained represents the duration of time that the user presses the icon of the application. Here, in order to distinguish the normal touch operation of the user such as an operation of clicking to open the application and displaying the first menu, the preset time value is set. For example, a normal touch operation such as sliding a screen, clicking to open an application, etc. takes about 1 second, here, a preset duration value of 4 seconds can be set, and when the finger touches or presses the screen for more than 4 seconds, the first display interface is The first menu is displayed.
所述第一操作的行动轨迹,表示用户按压住应用图标后的操作,例如:预定轨迹可以为在应用的图标上上滑、下滑等。当用户按压住应用的图标并向上滑动或者向下滑动时即可显示第一菜单。实际应用中,还可以向左、向右或任意角度滑动,并保持一定的时间,这里不作限定。The action track of the first operation represents an operation after the user presses the application icon, for example, the predetermined track may be a slide, a slide, or the like on the icon of the application. The first menu is displayed when the user presses the icon of the application and slides up or down. In practical applications, it is also possible to slide to the left, right or any angle for a certain period of time, which is not limited herein.
具体地,所述在第一显示界面显示所述第一菜单之后,所述方法还可以包括:终端采集用户输入的操作指令,根据所述操作指令选择所述第一菜单中的菜单项并打开对应功能的功能界面。Specifically, after the displaying the first menu in the first display interface, the method may further include: the terminal collecting an operation instruction input by the user, selecting a menu item in the first menu according to the operation instruction, and opening The function interface of the corresponding function.
所述第一菜单包括:应用公开的各种功能的菜单项。用户点击其中任一应用功能对应的菜单项即可打开该应用的此功能,跳转到该功能对应的功能界面。The first menu includes a menu item that applies various functions disclosed. The user clicks on the menu item corresponding to any of the application functions to open the function of the application and jump to the function interface corresponding to the function.
终端根据所述功能描述信息还可以配置修改所述第一菜单的编辑接口,通过所述编辑接口可以编辑第一菜单中的各菜单项,对生成的第一菜单进行修改。The terminal may further configure, according to the function description information, an editing interface that modifies the first menu, and the editing interface may edit each menu item in the first menu to modify the generated first menu.
具体地,生成应用的第一菜单之后,所述方法还可以包括:Specifically, after the first menu of the application is generated, the method may further include:
首次执行步骤103的操作,即所述第一菜单首次被调用于所述第一显示界面显示时,所述第一菜单处于第一状态;Performing the operation of step 103 for the first time, that is, when the first menu is first used for the first display interface display, the first menu is in the first state;
在所述第一状态下,检测到针对所述第一菜单的第二操作,响应所述 第二操作,在所述第一菜单中添加或删除菜单项,或者使所述第一菜单中的菜单项的文字或图标变更。In the first state, detecting a second operation for the first menu, in response to the In a second operation, a menu item is added or deleted in the first menu, or a text or an icon of the menu item in the first menu is changed.
具体地,生成应用的第一菜单之后,所述方法还可以包括:Specifically, after the first menu of the application is generated, the method may further include:
检测到通过编辑接口调用所述第一菜单的指令,执行指令使所述第一菜单处于第一状态;Detecting an instruction to invoke the first menu through an editing interface, and executing the instruction to cause the first menu to be in a first state;
在所述第一状态下,检测到针对所述第一菜单的第三操作,响应所述第三操作,在所述第一菜单中添加或删除菜单项,或者使所述第一菜单中的菜单项的文字或图标变更。In the first state, detecting a third operation for the first menu, in response to the third operation, adding or deleting a menu item in the first menu, or making the first menu The text or icon of the menu item is changed.
这里,所述第一状态为可编辑第一菜单的状态,首次在第一显示界面显示所述第一菜单时,或者,终端检测并执行通过编辑接口调用所述第一菜单的指令后,所述第一菜单处于第一状态,在此状态下,终端可以根据检测到的第二操作或第三操作,编辑所述第一菜单并保存。Here, the first state is a state in which the first menu is editable, when the first menu is displayed on the first display interface for the first time, or the terminal detects and executes an instruction to invoke the first menu through the editing interface, The first menu is in a first state, in which the terminal can edit the first menu and save according to the detected second operation or third operation.
具体地,终端可以在第一菜单中删除或增加菜单项,例如:终端在所述第一菜单的每个菜单项的一侧如左侧或右侧显示功能开关;打开所述功能开关则在第一菜单中显示该功能对应的菜单项,关闭所述功能开关则在第一菜单中不显示功能对应的菜单项。终端检测到打开所述功能开关或者关闭所述功能开关的操作,增加或者删除相应的菜单项。或者,终端设定针对第一菜单的任一菜单项进行滑动操作即可删除该菜单项,当终端检测到第二操作为针对任意菜单项的滑动操作时,删除对应的功能的菜单项。Specifically, the terminal may delete or add a menu item in the first menu, for example, the terminal displays a function switch on one side of each menu item of the first menu, such as a left side or a right side; The menu item corresponding to the function is displayed in the first menu, and the function switch corresponding to the function is not displayed in the first menu when the function switch is turned off. The terminal detects the operation of turning on the function switch or turning off the function switch, and adds or deletes a corresponding menu item. Alternatively, the terminal setting may delete the menu item by performing a sliding operation on any menu item of the first menu. When the terminal detects that the second operation is a sliding operation for any menu item, the menu item of the corresponding function is deleted.
具体地,终端可以使所述第一菜单中的菜单项的文字或图标变更,例如:终端在所述第一菜单上显示编辑按钮,检测到点击编辑按钮的操作后第一菜单处于可编辑状态,接收针对任一菜单项的名称或图标,根据接收的名称或图标对应修改所述菜单项的名称或图标。Specifically, the terminal may change the text or icon of the menu item in the first menu, for example, the terminal displays an edit button on the first menu, and detects that the first menu is in an editable state after the operation of clicking the edit button is detected. Receiving a name or an icon for any menu item, and modifying the name or icon of the menu item according to the received name or icon.
图2为本发明实施例提供的另一种应用菜单的生成方法流程示意图;如图2所示,所述方法包括:2 is a schematic flowchart of another method for generating an application menu according to an embodiment of the present invention; as shown in FIG. 2, the method includes:
步骤201:终端在安装应用或者终端重启过程中获取并分析应用的功能配置文件; Step 201: The terminal acquires and analyzes a function configuration file of the application during the installation of the application or the terminal restarting process;
步骤202:根据所述功能配置文件,获得应用公开的功能、功能对应的功能界面、功能界面的配置信息;Step 202: Obtain, according to the function configuration file, a function disclosed by the application, a function interface corresponding to the function, and configuration information of the function interface;
步骤203:针对应用的功能,加载启动功能界面的参数信息;Step 203: Load parameter information of the startup function interface for the function of the application;
步骤204:保存所述功能界面的配置信息和启动功能界面的参数信息;Step 204: Save configuration information of the function interface and parameter information of the startup function interface.
步骤205:根据各个功能对应的功能界面、功能界面的配置信息,启动功能界面的参数信息等功能描述信息生成第一菜单,所述第一菜单中设置有根据所述功能描述信息生成的至少一个菜单项;Step 205: Generate a first menu according to function information corresponding to the function interface and the function interface of each function, and start function description information such as parameter information of the function interface, where the first menu is configured with at least one generated according to the function description information. Menu Item;
首次调用第一菜单,使所述第一菜单处于可编辑状态,检测到针对所述第一菜单的第二操作,响应所述第二操作,编辑所述第一菜单并保存;所述编辑包括:删除或增加第一菜单的菜单项、修改第一菜单的菜单项的文字或图标等;Calling the first menu for the first time, causing the first menu to be in an editable state, detecting a second operation for the first menu, in response to the second operation, editing the first menu and saving; the editing includes : deleting or adding a menu item of the first menu, modifying a text or icon of a menu item of the first menu, etc.;
步骤206:第一显示界面显示应用的第一菜单,终端检测到针对第一菜单中的任意菜单项的操作,打开应用的功能并跳转到该功能对应的功能界面。Step 206: The first display interface displays a first menu of the application, and the terminal detects an operation for any menu item in the first menu, opens a function of the application, and jumps to a function interface corresponding to the function.
图3为本发明实施例提供的一种应用菜单的生成装置结构示意图;如图3所示,所述装置包括:读取模块301、功能解析模块302和应用模块303;其中,FIG. 3 is a schematic structural diagram of an apparatus for generating an application menu according to an embodiment of the present invention; as shown in FIG. 3, the apparatus includes: a reading module 301, a function parsing module 302, and an application module 303;
所述读取模块301,设置为根据当前所安装的应用的功能配置文件,确定所述应用中的各功能对应的功能描述信息;The reading module 301 is configured to determine function description information corresponding to each function in the application according to a function configuration file of the currently installed application;
所述功能解析模块302,设置为生成所述应用的第一菜单,所述第一菜单中设置有根据所述功能描述信息生成的至少一个菜单项;The function parsing 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;
所述应用模块303,设置为在检测到针对所述应用的第一操作,当所述第一操作满足设定条件时,在所述第一显示界面显示所述第一菜单。The application module 303 is configured to display the first menu on the first display interface when the first operation meets the set condition when the first operation for the application is detected.
具体地,所述功能描述信息,包括:功能对应的功能界面、所述功能界面的配置信息、启动所述功能界面的参数信息。Specifically, the function description information includes: a function interface corresponding to the function, configuration information of the function interface, and parameter information for starting the function interface.
具体地,所述功能解析模块302,具体设置为根据从所述功能描述信 息中读取的预设的功能对应的功能界面、所述功能界面的配置信息和启动所述功能界面的参数信息,生成预设的功能对应的菜单项;将所述应用的各预设的功能对应的菜单项合并,生成所述应用的第一菜单。Specifically, the function parsing module 302 is specifically configured to a function interface corresponding to the preset function read in the information, configuration information of the function interface, and parameter information for starting the function interface, generating a menu item corresponding to the preset function; and each preset of the application The menu items corresponding to the functions are merged to generate a first menu of the application.
具体地,所述第一菜单与显示于第一显示界面上的所述应用相关联;Specifically, the first menu is associated with the application displayed on the first display interface;
所述应用模块303,具体设置为在检测到针对所述应用的第一操作后且所述第一操作满足设定条件时,在所述第一显示界面显示所述第一菜单的菜单项。The application module 303 is specifically configured to display the menu item of the first menu on the first display interface after detecting the first operation for the application and the first operation satisfies the setting condition.
具体地,所述第一操作满足设定条件,包括:所述第一操作维持的时间长度超过时长预设值;Specifically, the first operation satisfies the setting condition, and the method includes: the length of time that the first operation is maintained exceeds a preset value of the duration;
或者,所述第一操作的压力大小超过压力预设值;Or the pressure of the first operation exceeds a pressure preset value;
或者,所述第一操作的行动轨迹符合预定轨迹。Alternatively, the motion trajectory of the first operation conforms to a predetermined trajectory.
这里,所述时长预设值、所述压力预设值、所述预定轨迹,可以是终端的默认设置,也可以由用户进行修改设定。例如,所述时长预设值可以为4秒,所述压力预设值可以为50牛顿,所述预定轨迹可以是应用的图标上上滑、下滑等。Here, the duration preset value, the pressure preset value, and the predetermined trajectory may be default settings of the terminal, or may be modified by the user. For example, the duration may be 4 seconds, and the pressure preset may be 50 Newtons, and the predetermined trajectory may be an up-sliding, sliding, or the like of an icon of an application.
具体地,所述应用模块303,还设置为:所述第一菜单首次被调用于所述第一显示界面显示时,处于第一状态;Specifically, the application module 303 is further configured to: when the first menu is first used for display on the first display interface, in a first state;
在所述第一状态下,检测到针对所述第一菜单的第二操作,响应所述第二操作,在所述第一菜单中添加或删除菜单项,或者使所述第一菜单中的菜单项的文字或图标变更。In the first state, detecting a second operation for the first menu, in response to the second operation, adding or deleting a menu item in the first menu, or making the first menu The text or icon of the menu item is changed.
具体地,所述应用模块303,还设置为:检测到通过编辑接口调用所述第一菜单的指令,执行指令使所述第一菜单处于第一状态;Specifically, the application module 303 is further configured to: detect an instruction to invoke the first menu by using an editing interface, and execute the instruction to cause the first menu to be in a first state;
在所述第一状态下,检测到针对所述第一菜单的第三操作,响应所述第三操作,在所述第一菜单中添加或删除菜单项,或者使所述第一菜单中的菜单项的文字或图标变更。In the first state, detecting a third operation for the first menu, in response to the third operation, adding or deleting a menu item in the first menu, or making the first menu The text or icon of the menu item is changed.
这里,所述第一状态为可编辑第一菜单的状态。首次在第一显示界面 显示所述第一菜单时,或执行通过编辑接口调用所述第一菜单的指令后,第一菜单处于可编辑第一菜单的状态,用户可以执行相应的操作编辑第一菜单,编辑后保存第一菜单,之后在第一显示界面显示的即为编辑后的第一菜单。Here, the first state is a state in which the first menu can be edited. First time in the first display interface When the first menu is displayed, or after the instruction to invoke the first menu through the editing interface is executed, the first menu is in a state in which the first menu can be edited, and the user can perform a corresponding operation to edit the first menu, and save the first menu after editing. A menu, then displayed on the first display interface is the edited first menu.
通过上述装置,针对终端中每个应用均可生成符合用户个人需求的第一菜单。Through the above device, a first menu that meets the individual needs of the user can be generated for each application in the terminal.
图4为本发明实施例提供的一种应用菜单的生成系统结构示意图;如图4所示,所述系统包括:应用菜单的生成装置、应用安装模块300、数据存储模块304;所述应用菜单的生成装置,包括:读取模块301、功能解析模块302、应用模块303;其中,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: an application menu generating device, an application installation module 300, and a data storage module 304; The generating device includes: a reading module 301, a function analyzing module 302, and an application module 303; wherein
所述应用安装模块300,设置为安装第三方应用306,安装过程中载入并初步分析应用的功能配置文件;所述功能配置文件为AndroidManifest.xml;The application installation module 300 is configured to install a third-party application 306, and load and analyze the function configuration file of the application during the installation process; the function configuration file is AndroidManifest.xml;
所述读取模块301,设置为根据当前所安装的应用的功能配置文件,确定所述应用中的各功能对应的功能描述信息;The reading module 301 is configured to determine function description information corresponding to each function in the application according to a function configuration file of the currently installed application;
所述功能解析模块302,设置为生成所述应用的第一菜单,所述第一菜单中设置有根据所述功能描述信息生成的至少一个菜单项;The function parsing 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;
所述第一菜单与显示于第一显示界面上的所述应用相关联;所述应用模块303,设置为在检测到针对所述应用的第一操作后,所述第一操作满足设定条件时,在所述第一显示界面显示所述第一菜单的各菜单项。The first menu is associated with the application displayed on the first display interface; the application module 303 is configured to satisfy the set condition after detecting the first operation for the application At the time, the menu items of the first menu are displayed on the first display interface.
这里,所述第一操作满足设定条件,包括:所述第一操作维持的时间长度超过时长预设值;或者,所述第一操作的压力大小超过压力预设值;或者,所述第一操作的行动轨迹符合预定轨迹。Here, the first operation satisfies the set condition, including: the length of time that the first operation is maintained exceeds a preset value of the duration; or the magnitude of the pressure of the first operation exceeds a preset value of the pressure; or The action track of an operation conforms to a predetermined trajectory.
这里,所述时长预设值、所述压力预设值、所述预定轨迹,可以是终端的默认设置,也可以由用户进行修改设定。例如,所述时长预设值可以为4秒,所述压力预设值可以为50牛顿,所述预定轨迹可以是应用的图标上上滑、下滑等。 Here, the duration preset value, the pressure preset value, and the predetermined trajectory may be default settings of the terminal, or may be modified by the user. For example, the duration may be 4 seconds, and the pressure preset may be 50 Newtons, and the predetermined trajectory may be an up-sliding, sliding, or the like of an icon of an application.
所述数据存储模块304,设置为存储所述第一菜单中各个菜单项相应的数据、接口信息等,并为第一菜单提供编辑接口。The data storage module 304 is configured to store corresponding data, interface information, and the like of each menu item in the first menu, and provide an editing interface for the first menu.
需要说明的是,由于在调用第一菜单前需要提前初始化参数,读取模块301在应用安装后自动静默启动应用,在后台模拟启动功能解析模块302解析出来的各个功能,然后在系统内存里搜集各个功能启动的参数和功能界面的配置信息等,功能解析模块302生成所述应用的第一菜单,所述第一菜单包括至少一个根据所述功能描述信息生成的菜单项;所述数据存储模块304保存采集到的各个应用的功能对应的菜单项;当用户在终端的第一显示界面,即终端的桌面上针对应用的图标进行操作,所述应用模块303检测第一操作,第一操作满足设定条件时,通过第一显示界面显示所述第三方应用306的第一菜单。用户点击所述第一菜单中的任意功能对应的菜单项,终端打开应用,并跳转到对应的功能界面。It should be noted that, since the parameter needs to be initialized in advance before the first menu is invoked, the reading module 301 automatically starts the application after the application is installed, and simulates each function parsed by the function parsing module 302 in the background, and then collects in the system memory. a function-initiating module 302 generates a first menu of the application, the first menu includes at least one menu item generated according to the function description information; the data storage module The menu item corresponding to the function of each of the collected applications is saved. When the user operates on the first display interface of the terminal, that is, the icon of the terminal, the application module 303 detects the first operation, and the first operation is satisfied. When the condition is set, the first menu of the third party application 306 is displayed through the first display interface. The user clicks on the menu item corresponding to any function in the first menu, and the terminal opens the application and jumps to the corresponding function interface.
图5为本发明实施例提供的一种显示应用菜单的示意图;如图5所示,当用户点击终端第一显示界面显示的应用A的图标,可以获得与应用A相关联的第一菜单,包括应用A的各个菜单项,如扫一扫、添加朋友等;点击应用B的图标,可以获得应用B相关联的第一菜单,包括应用B的各个菜单项,如查看联系人、扫码等;这里,同一时间第一显示界面上可以只显示一个应用相关联的第一菜单,例如显示应用A的第一菜单时,不会显示应用B的第一菜单。FIG. 5 is a schematic diagram of a display application menu according to an embodiment of the present invention; as shown in FIG. 5, when a user clicks an icon of an application A displayed on a first display interface of a terminal, a first menu associated with the application A may be obtained. Including various menu items of application A, such as sweeping, adding friends, etc.; clicking the icon of application B, the first menu associated with application B can be obtained, including various menu items of application B, such as viewing contacts, scanning codes, etc. Here, at the same time, the first display interface may display only the first menu associated with one application. For example, when the first menu of the application A is displayed, the first menu of the application B is not displayed.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流 程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and flows in the flowcharts and/or block diagrams can be implemented by computer program instructions. Combination of procedures and/or boxes. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。 The above is only the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in Within the scope of protection of the present invention.

Claims (13)

  1. 一种应用菜单的生成方法,包括:A method for generating an application menu, comprising:
    终端根据当前所安装的应用的功能配置文件,确定所述应用中的各功能对应的功能描述信息;Determining, by the terminal, 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, where the first menu is provided with at least one menu item generated according to the function description information;
    终端检测到针对所述应用的第一操作,所述第一操作满足设定条件时,显示所述第一菜单。The terminal detects a first operation for the application, and when the first operation satisfies a set condition, the first menu is displayed.
  2. 根据权利要求1所述的方法,其中,所述生成应用的第一菜单,包括:The method of claim 1, wherein the generating the first menu of the application comprises:
    根据从所述功能描述信息中读取的预设的功能对应的功能界面、所述功能界面的配置信息和启动所述功能界面的参数信息,生成预设的功能对应的菜单项;将所述应用的各预设的功能对应的菜单项合并,生成所述应用的第一菜单。Generating, 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, a menu item corresponding to the preset function; The menu items corresponding to the preset functions of the application are merged to generate a first menu of the application.
  3. 根据权利要求1所述的方法,其中,所述第一菜单与显示于第一显示界面上的所述应用相关联;The method of claim 1, wherein the first menu is associated with the application displayed on the first display interface;
    所述终端检测到针对所述应用的第一操作,所述第一操作满足设定条件时,在所述第一显示界面显示所述第一菜单的各菜单项。The terminal detects a first operation for the application, and when the first operation satisfies a setting condition, displaying each menu item of the first menu on the first display interface.
  4. 根据权利要求3所述的方法,其中,所述第一操作满足设定条件,包括:所述第一操作维持的时间长度超过时长预设值;The method according to claim 3, wherein the first operation satisfies the setting condition, including: the length of time that the first operation is maintained exceeds a preset value of the duration;
    或者,所述第一操作的压力大小超过压力预设值;Or the pressure of the first operation exceeds a pressure preset value;
    或者,所述第一操作的行动轨迹符合预定轨迹。Alternatively, the motion trajectory of the first operation conforms to a predetermined trajectory.
  5. 根据权利要求1所述的方法,其中,所述生成应用的第一菜单之后,所述方法还包括:The method of claim 1, wherein after the generating the first menu of the application, the method further comprises:
    所述第一菜单首次被调设置为所述第一显示界面显示时,处于第一状态;When the first menu is first set to be displayed by the first display interface, it is in a first state;
    在所述第一状态下,检测到针对所述第一菜单的第二操作,响应所述 第二操作,在所述第一菜单中添加或删除菜单项,或者使所述第一菜单中的菜单项的文字或图标变更。In the first state, detecting a second operation for the first menu, in response to the In a second operation, a menu item is added or deleted in the first menu, or a text or an icon of the menu item in the first menu is changed.
  6. 根据权利要求1所述的方法,其中,所述生成应用的第一菜单之后,所述方法还包括:The method of claim 1, wherein after the generating the first menu of the application, the method further comprises:
    检测到通过编辑接口调用所述第一菜单的指令,执行指令使所述第一菜单处于第一状态;Detecting an instruction to invoke the first menu through an editing interface, and executing the instruction to cause the first menu to be in a first state;
    在所述第一状态下,检测到针对所述第一菜单的第三操作,响应所述第三操作,在所述第一菜单中添加或删除菜单项,或者使所述第一菜单中的菜单项的文字或图标变更。In the first state, detecting a third operation for the first menu, in response to the third operation, adding or deleting a menu item in the first menu, or making the first menu The text or icon of the menu item is changed.
  7. 一种应用菜单的生成装置,包括:读取模块、功能解析模块和应用模块;其中,An apparatus for generating an application menu, comprising: a reading module, a function parsing module, and an application module; wherein
    所述读取模块,设置为根据当前所安装的应用的功能配置文件,确定所述应用中的各功能对应的功能描述信息;The reading module is configured to determine function description information corresponding to each function in the application according to a function configuration file of the currently installed application;
    所述功能解析模块,设置为生成所述应用的第一菜单,所述第一菜单中设置有根据所述功能描述信息生成的至少一个菜单项;The function parsing module 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 is configured to display the first menu when a first operation for the application is detected, and the first operation satisfies a set condition.
  8. 根据权利要求7所述的装置,其中,所述功能解析模块,还设置为根据从所述功能描述信息中读取的预设的功能对应的功能界面、所述功能界面的配置信息和启动所述功能界面的参数信息,生成预设的功能对应的菜单项;将所述应用的各预设的功能对应的菜单项合并,生成所述应用的第一菜单。The device according to claim 7, wherein the function parsing module is further configured to: according to a function interface corresponding to a preset function read from the function description information, configuration information of the function interface, and a startup site The parameter information of the function interface is generated, and the menu item corresponding to the preset function is generated; the menu items corresponding to the preset functions of the application are combined to generate the first menu of the application.
  9. 根据权利要求7所述的装置,其中,所述第一菜单与显示于第一显示界面上的所述应用相关联;The apparatus of claim 7, wherein the first menu is associated with the application displayed on the first display interface;
    所述应用模块,设置为在检测到针对所述应用的第一操作后且所述第一操作满足设定条件时,在所述第一显示界面显示所述第一菜单的菜单项。 The application module is configured to display a menu item of the first menu on the first display interface after detecting a first operation for the application and the first operation satisfies a set condition.
  10. 根据权利要求9所述的装置,其中,所述第一操作满足设定条件,包括:所述第一操作维持的时间长度超过时长预设值;The device according to claim 9, wherein the first operation satisfies the setting condition, comprising: the length of time that the first operation is maintained exceeds a preset value of the duration;
    或者,所述第一操作的压力大小超过压力预设值;Or the pressure of the first operation exceeds a pressure preset value;
    或者,所述第一操作的行动轨迹符合预定轨迹。Alternatively, the motion trajectory of the first operation conforms to a predetermined trajectory.
  11. 根据权利要求7所述的装置,其中,所述应用模块,还设置为:所述第一菜单首次被调用于所述第一显示界面显示时,处于第一状态;The device according to claim 7, wherein the application module is further configured to: when the first menu is first used for display on the first display interface, in a first state;
    在所述第一状态下,检测到针对所述第一菜单的第二操作,响应所述第二操作,在所述第一菜单中添加或删除菜单项,或者使所述第一菜单中的菜单项的文字或图标变更。In the first state, detecting a second operation for the first menu, in response to the second operation, adding or deleting a menu item in the first menu, or making the first menu The text or icon of the menu item is changed.
  12. 根据权利要求7所述的装置,其中,所述应用模块,还设置为:检测到通过编辑接口调用所述第一菜单的指令,执行指令使所述第一菜单处于第一状态;The apparatus according to claim 7, wherein the application module is further configured to: detect an instruction to invoke the first menu through an editing interface, and execute the instruction to cause the first menu to be in a first state;
    在所述第一状态下,检测到针对所述第一菜单的第三操作,响应所述第三操作,在所述第一菜单中添加或删除菜单项,或者使所述第一菜单中的菜单项的文字或图标变更。In the first state, detecting a third operation for the first menu, in response to the third operation, adding or deleting a menu item in the first menu, or making the first menu The text or icon of the menu item is changed.
  13. 一种计算机可读存储介质,存储有计算机程序,当所述计算机程序被运行时,执行权利要求1至6中任一项所述的方法。 A computer readable storage medium storing a computer program that, when executed, performs the method of any one of claims 1 to 6.
PCT/CN2017/102464 2016-09-20 2017-09-20 Application menu generation method and apparatus WO2018054302A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2018054302A1 true WO2018054302A1 (en) 2018-03-29

Family

ID=61657341

Family Applications (1)

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

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930418A (en) * 2020-07-27 2020-11-13 深圳市元征科技股份有限公司 Diagnostic device function configuration method, diagnostic device, and storage medium

Families Citing this family (1)

* 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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833467A (en) * 2010-05-14 2010-09-15 华为终端有限公司 Method and equipment for adding menu items into Android menu
US20120096406A1 (en) * 2010-10-14 2012-04-19 Lg Electronics Inc. Electronic device and method for providing menu using the same
CN104898978A (en) * 2015-06-10 2015-09-09 努比亚技术有限公司 Method and device for selecting application menu
CN105068721A (en) * 2015-08-27 2015-11-18 广东欧珀移动通信有限公司 Operation menu display method and terminal

Family Cites Families (11)

* 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
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
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833467A (en) * 2010-05-14 2010-09-15 华为终端有限公司 Method and equipment for adding menu items into Android menu
US20120096406A1 (en) * 2010-10-14 2012-04-19 Lg Electronics Inc. Electronic device and method for providing menu using the same
CN104898978A (en) * 2015-06-10 2015-09-09 努比亚技术有限公司 Method and device for selecting application menu
CN105068721A (en) * 2015-08-27 2015-11-18 广东欧珀移动通信有限公司 Operation menu display method and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930418A (en) * 2020-07-27 2020-11-13 深圳市元征科技股份有限公司 Diagnostic device function configuration method, diagnostic device, and storage medium
CN111930418B (en) * 2020-07-27 2024-01-05 深圳市元征科技股份有限公司 Diagnostic device function configuration method, diagnostic device, and storage medium

Also Published As

Publication number Publication date
CN107844345A (en) 2018-03-27
CN107844345B (en) 2021-01-01

Similar Documents

Publication Publication Date Title
JP6363736B2 (en) Intelligent terminal control method
JP5956725B2 (en) Method, device, and computer program product for providing context-aware help content
JP6940040B2 (en) Information processing methods and electronic devices
CN106250190A (en) A kind of application startup method and terminal
CN105468282B (en) A kind of the starting method and terminal device of icon editor
US20090228873A1 (en) Display breakpointing based on user interface events
US20140280262A1 (en) Electronic device with a funiction of applying applications of different operating systems and method thereof
JP2019504566A (en) Information image display method and apparatus
CN104298434B (en) A kind of information processing method and electronic equipment
US20230054717A1 (en) Ui control generation and trigger methods, and terminal
WO2018054302A1 (en) Application menu generation method and apparatus
WO2015139406A1 (en) Operation method for display page of terminal, and terminal
US10698566B2 (en) Touch control based application launch
CN108604331B (en) Information reminding method and mobile device
EP2360578B1 (en) A method for detecting user screens in mobile devices working under symbian operating system
CN103037107A (en) Label editing system and work method thereof for smart touch screen mobile phone
CN106557223B (en) Mobile terminal shortcut operation method and device
WO2014176976A1 (en) Method and device for parsing and displaying interface function, and computer storage medium
KR101996586B1 (en) Information display method, terminal and server
JP5204343B1 (en) Test system and program
EP2849058A1 (en) Method and device for displaying a message associated with an application
CN106484259A (en) Input method, device and equipment
WO2016173136A1 (en) Terminal application processing method and device thereof
CN105260097A (en) Operation event processing method and system, and electronic equipment
US10924602B2 (en) Electronic device and method for controlling same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17852370

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17852370

Country of ref document: EP

Kind code of ref document: A1