Configuration file generation method and device

A configuration file and a technology to be configured, applied in the computer field, can solve problems such as low writing efficiency and accuracy, inability to dynamically reuse, and inability to manage in a unified manner, so as to improve writing efficiency and accuracy, make network configuration efficient and convenient, and reduce effect of familiarity

Active Publication Date: 2020-05-19
TENCENT TECH (SHENZHEN) CO LTD
View PDF8 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The method of generating configuration files based on the text template replacement technology in the prior art has at least the following defects: First, the coupling is high, and the command format and parameters of each template are fixed, and can only be used by a specific manufacturer’s device under a specific architecture role. It cannot be dynamically reused; secondly, the flexibility is low, even for devices with the same functional attributes, configuration schemes need to be written in different ways under the conditions of different architectures and different manufacturers; moreover, the maintenance cost is high, because each manufacturer’s corresponding configuration The commands and configuration methods are different, so if you are not familiar with the command format of the device when writing, it is easy to make mistakes, the writing efficiency and accuracy are low, and it cannot be managed uniformly, which makes maintenance more difficult

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
  • Configuration file generation method and device
  • Configuration file generation method and device
  • Configuration file generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; Fully conveyed to those skilled in the art. The drawings are merely schematic illustrations of the application and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted.

[0030] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more example embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of example embodiments of the present application. However, those skilled in the art will appreciate that the technical solutions of the present application can be practiced without one or more of the sp...

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 configuration file generation method and device. The method comprises the steps of acquiring functional attributes of to-be-configured network equipment; calling a configuration attribute template corresponding to each functional attribute of the to-be-configured network equipment according to the functional attributes of the to-be-configured network equipment; determiningconfiguration parameters corresponding to the functional attributes of the to-be-configured network equipment according to the functional attributes of the to-be-configured network equipment; and transmitting the configuration parameters to the configuration attribute template to generate a configuration file of the to-be-configured network equipment. According to the technical scheme of the embodiment of the invention, the corresponding configuration file can be flexibly generated, and the reusability is high.

Description

technical field [0001] The present application relates to the field of computer technology, in particular, to a method and device for generating a configuration file. Background technique [0002] In the IDC (Internet Data Center, Internet Data Center) network construction, it is necessary to generate corresponding configuration files for a large number of different types of devices. Currently, a text template similar to Jinja2 is used to write a set of fixed configuration files for each specific architecture and specific manufacturer. template, fix the parameter length and type of each command, match the corresponding parameters through placeholders, and finally assign values ​​to the parameters to generate corresponding configuration files. [0003] The method of generating configuration files based on the text template replacement technology in the prior art has at least the following defects: First, the coupling is high, and the command format and parameters of each temp...

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 Applications(China)
IPC IPC(8): H04L12/24H04L29/08
CPCH04L41/0803H04L67/30
Inventor 程俊峰
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products