Method and device for realizing network equipment CLI (Command Line Interface for batch scripti) based on dynamic configuration
A technology of network equipment and dynamic configuration, applied in program control devices, data exchange networks, program loading/starting, etc., can solve the problems of difficulty in development and debugging, and the inability to dynamically modify development results, so as to overcome the inability to dynamically modify development results. , Overcome the difficulty of development and debugging, save development time and development workload
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0055] The first embodiment of the present invention, such as figure 1 As shown, a method for implementing a network device CLI based on dynamic configuration includes the following specific steps:
[0056] Step S101, when the CLI main program is started, load the configuration file into the memory, the configuration file includes two types of command elements: keyword nodes and parameter nodes, the optional attributes of both keyword nodes and parameter nodes include: executable attribute. The final node in a command must have an executable attribute, and the content of the executable attribute is an executable program.
[0057] Step S102, recursively parse the configuration file into a command set tree.
[0058] In step S103, the command element input by the user is matched consistently with the command nodes on the command set tree, and arbitrarily matched with the parameter nodes on the command set tree.
[0059] Step S104, converting the successfully matched command int...
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