Unlock instant, AI-driven research and patent intelligence for your innovation.

Configurable menu implementation method based on extensible markup language

A technology of extended markup language and implementation method, which is applied in the field of XML-based configurable menu implementation, which can solve the problems of unfavorable unified maintenance, inflexible configuration of menus, and time-consuming, so as to facilitate search and maintenance, simplify complexity, and improve work efficiency effect

Inactive Publication Date: 2012-07-25
FENGHUO COMM SCI & TECH CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this method is that the menu cannot be flexibly configured, and the source code must be modified to modify the menu. The compilation process is time-consuming, and the code of the menu will be scattered in the source code everywhere, which is not conducive to unified maintenance.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Configurable menu implementation method based on extensible markup language
  • Configurable menu implementation method based on extensible markup language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

[0023] The XML-based configurable menu implementation method of the present invention comprises the following steps:

[0024] Multiple fragment nodes are defined in the XML configuration file. Multiple fragment nodes are separated by fragment separator identifiers. Each fragment node contains multiple menu item nodes, multiple menu nodes and multiple separator nodes. Each A menu node contains multiple child element nodes;

[0025] Call the XML configuration file parsing class to read the properties of multiple menu item nodes, multiple menu nodes, multiple separator nodes, and multiple child element nodes in a fragment node. If there is a fragment separator identifier, Then read the next fragment node again until there is no fragment delimiter identifier. If the reading fails during the reading process, an error message will be retur...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A configurable menu implementation method based on the extensible markup language relates to the field of network management of communications, and includes the steps: defining a plurality of fragment nodes in an extensible markup language configuration file, and separating the fragment nodes by fragment separation identifiers, wherein each fragment node comprises a plurality of menu item nodes, a plurality of menu nodes and a plurality of separation identifier nodes, and each menu node comprises a plurality of child element nodes; and invoking an analytic class of the extensible markup language configuration file, and after attributes of the menu item nodes, the menu nodes, the separation identifier nodes and the child element nodes in one fragment node are read, reading the next fragment node again if the fragment separation identifiers exist, stopping until no fragment separation identifier exists, and returning error information if reading is unsuccessfully. By the aid of the method, complexity of menu configuration is simplified, and workload for writing, debugging, compiling and the like of source codes is reduced so that work efficiency is improved, flexible configuration of menus is realized, and unified search and maintenance is facilitated.

Description

technical field [0001] The invention relates to the field of communication network management, in particular to an XML (Extensible Markup Language, Extensible Markup Language)-based configurable menu realization method. Background technique [0002] With the rapid development of communication equipment, its functions are becoming more and more powerful, which puts forward higher requirements for the research and development of network management software. The modules of network management software are becoming more and more complex, and there are more and more management functions. How to develop a system that can be flexibly configured and easily maintained is becoming more and more important. [0003] At present, the traditional method of the system for the menu is: the menu is hard-coded and defined in each function module of the software, and the entire source code project needs to be recompiled each time when it is used. The disadvantage of this method is that the menu...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/44
Inventor 王琦刘言军万金利朱春燕尹永胜
Owner FENGHUO COMM SCI & TECH CO LTD