Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for converting network configuration protocol response message into command line

A technology of network configuration protocol and response message, applied in the direction of data exchange network, digital transmission system, electrical components, etc., can solve the problem of non-disclosure and so on

Active Publication Date: 2012-05-09
MAIPU COMM TECH CO LTD
View PDF4 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] How to convert the rpc-reply response message in XML format in the NETCONF protocol into a shell command line? The NETCONF protocol and the YANG modeling language defined by RFC 6020 are not regulated, and several vendors that support the NETCONF protocol have not disclosed the details of how to solve this problem

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
  • Method and device for converting network configuration protocol response message into command line
  • Method and device for converting network configuration protocol response message into command line
  • Method and device for converting network configuration protocol response message into command line

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the object, technical solution and advantages of the present invention clearer, the solutions of the present invention will be further described in detail below with reference to the accompanying drawings and in combination with embodiments.

[0026] see figure 1 , is a flowchart of a method for converting a network configuration protocol response message into a command line according to an embodiment of the present invention. This method is mainly used in NETCONF proxy, including the following steps:

[0027] Step 101: Convert the shell command line of the network device into a shell definition file in XML format according to the modeling file in advance.

[0028] In this step, the shell command of the network device is defined according to the configuration module, and a shell definition file in XML format is generated. Shell commands related to multiple configuration modules can be defined in the same shell definition file. If the shell definition ...

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 provides a method for converting a network configuration protocol response message into a command line, which is applied to a NETCONF agency and comprises the following steps of: A. converting the shell command line of network equipment into a shell definition file of an XML (Extensive Makeup Language) format according to a modeling Schma file in advance; B. when the system is started, loading the shell definition file into a memory to generate a shell binary tree; and C. according to information in the shell binary tree in the memory, converting a received response message which is from the NETCONF server and corresponds to a configuration information command obtained by a user into the shell command line. With the method provided by the invention, the XML response message in the network configuration protocol can be directly converted into the Shell command line, so that the client can not feel the change of the operation mode, and therefore, the client can not feel the presence of the NETCONF protocol.

Description

technical field [0001] The invention relates to the field of data communication, in particular to a method and a device for converting a response message in XML format into a command line in the NETCONF protocol. Background technique [0002] In the field of data communication, a network configuration (Network Configuration, NETCONF for short) protocol is a network configuration management protocol based on an extensible markup language (eXtensible Markup Language, XML for short). The NETCONF protocol uses XML to encode operations and carries them on the Remote Procedure Call (RPC) layer to complete the data communication between the client and the NETCONF server. like figure 1 As shown, it is a schematic diagram of a configuration management framework based on the NETCONF protocol in the prior art. The configuration management framework based on the NETCONF protocol is logically divided into four levels: a network management entity, a network configuration agent, a NETCONF...

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): H04L12/24
Inventor 朱肇乾杨恬李金辉
Owner MAIPU COMM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products