Method and device for generating application menu and application system
A technology for applying program menus and generating devices, applied in program control devices, special data processing applications, instruments, etc., can solve problems such as inconvenient maintenance and menus that do not support secondary development, and achieve the effect of convenient maintenance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] figure 1 The implementation flow of the method for generating the application program menu provided by the first embodiment of the present invention is shown, and the details are as follows:
[0036] In step S101, the structural relationship information and menu item attributes of each menu item are read, and the menu item attributes include menu item names and operation objects;
[0037] Among them, the menu item is an option in the menu, and the menu item can be further divided into operation items, main menu and submenu, such as figure 2 As shown, specifically:
[0038] The main menu, which includes one or more operation items and / or menu items of submenus, and the menu corresponding to the application may include one or more main menus in parallel, figure 2 in the "menu A ","menu B "Main menu;
[0039] Operation item, belonging to a main menu or submenu, corresponding to an operation provided by the application, figure 2 "Operation 1( X )", "Operation 2 ( ...
Embodiment 2
[0055] In order to facilitate users to provide structural relationship information and menu item attributes of each menu item, as well as secondary development and maintenance of the generated menu, Figure 5 It shows the implementation process of the method for generating the application program menu provided by the second embodiment of the present invention, and steps S501 and S502 in the method for generating the application program menu are respectively related to figure 1 Steps S101 and S102 in the method for generating the application program menu shown are the same, and the only difference from the method provided by the first embodiment of the present invention is that before step S501, the structural relationship information of each menu item and the menu Item attribute parsing steps, specifically:
[0056] In step S500, the read configuration file is analyzed to obtain structural relationship information and menu item attributes of each menu item.
[0057] In the em...
Embodiment 3
[0097] In order to facilitate the generation of menus, in addition to operation items, main menus and submenus, menu items can also be dividing lines, Figure 6 The implementation flow of the method for generating the application program menu provided by the third embodiment of the present invention is shown, and the details are as follows:
[0098] In step S601, the read configuration file is analyzed to obtain a tree-shaped memory object model including structural relationship information of each menu item and menu item attributes;
[0099] In step S602, a node of the tree object model is taken out according to the traversal mode;
[0100] In step S603, it is judged whether the menu item corresponding to the node is the main menu, if yes, then execute step S604, otherwise execute step S605;
[0101] In step S604, construct the main menu object according to the menu item attributes contained in the node, and execute step S611;
[0102] In step S605, it is judged whether the...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com