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

A method based on command line dynamic replacement for multi-device mirroring

A command-line, multi-device technology, applied in the field of communications, to improve work efficiency and reduce waste of manpower and material resources

Active Publication Date: 2019-01-04
FENGHUO COMM SCI & TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the embodiment of the present invention is to provide a command line-based dynamic replacement method for multi-device image sharing, so as to solve the problem that developers in the prior art need to develop and maintain multiple sets of codes and multiple image files

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
  • A method based on command line dynamic replacement for multi-device mirroring
  • A method based on command line dynamic replacement for multi-device mirroring
  • A method based on command line dynamic replacement for multi-device mirroring

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] like figure 1 Shown is a flow chart of a method for dynamically replacing multiple devices based on the command line provided by the present invention, wherein the device supporting the command line interface CLI function enters the startup initialization state. The device supporting the command line interface CLI function may be a switch, a router, a firewall, a gateway device, an optical network unit (ONU) or an optical line terminal (OLT).

[0020] In this embodiment, the startup initialization specifically includes: software platform initialization, protocol module initialization, and network management initialization. After the initialization of the protocol module and the initialization of the network management system are completed, the operation of searching the command node in the command set tree according to the keyword of the command line to be replaced is performed. The method comprises the steps of:

[0021] In step 201, according to the keyword of the c...

Embodiment 2

[0036] like figure 2 Shown is a flow chart of a command-line based dynamic replacement method for multi-device mirroring provided by an embodiment of the present invention. figure 2 It can be seen that an embodiment of a command-line based dynamic replacement method for multi-device image sharing provided by the present invention includes:

[0037] In step 201, according to the keyword of the command line to be replaced, the command node is searched in the command set tree, and the command set tree is used to provide the command line of various supported function options for the CLI function after the CLI function is started and parameters for that command line.

[0038] In step 202, for the searched command nodes, the configuration parameters actually supported by the current device are read through the software interface.

[0039] Wherein, step 203 is specifically executed as:

[0040] In step 301, the parameter value in the command node is compared with the actually su...

Embodiment 3

[0049] like image 3 Shown is a flow chart of a command-line based dynamic replacement method for multi-device mirroring provided by an embodiment of the present invention. image 3 It can be seen that an embodiment of a command-line based dynamic replacement method for multi-device image sharing provided by the present invention includes:

[0050] In step 201, according to the keyword of the command line to be replaced, the command node is searched in the command set tree, and the command set tree is used to provide the command line of various supported function options for the CLI function after the CLI function is started and parameters for that command line.

[0051] In step 202, for the searched command nodes, the configuration parameters actually supported by the current device are read through the software interface.

[0052] Wherein, step 203 is specifically executed as:

[0053] In step 401, a new command node is generated according to the actually supported config...

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

The invention belongs to the field of communication, and provides a method for supporting mirror image sharing by multiple devices based on dynamic command line replacement. The method includes the steps that according to keywords in a command line to be replaced, command nodes are searched for in a command set tree, and the command set tree provides multiple command nodes, so that the command line with various function options is combined by a command line interface CLI function through the combination of the command nodes; for the searched command nodes, configuration parameters which are actually supported by the current device are read through a software interface; according to the configuration parameters actually supported, the command nodes on the command set tree are adjusted. Therefore, the devices needing to provide different CLI mirror images can share one CLI mirror image file, the working efficiency of a developer can be effectively improved, and waste of manpower and material resources is reduced.

Description

technical field [0001] The invention belongs to the communication field, and in particular relates to a command-line dynamic replacement method for multi-device shared mirroring. Background technique [0002] Command Line Interface (Command Line Interface, abbreviation: CLI) is the most widely used user interface before the popularization of the graphical user interface. It usually does not support the mouse. The user inputs instructions through the keyboard, and the computer executes the instructions after receiving them. [0003] The command line interface is more resource-efficient on the computer system than the graphical user interface. On the premise of memorizing the commands, using the command line interface is often faster than using the graphical user interface. Therefore, the command line interface is usually retained in today's operating systems. At the same time, it is also widely used in various switch devices. [0004] At present, there are such problems in...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/24G06F11/14
Inventor 熊芳
Owner FENGHUO COMM SCI & TECH CO LTD