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

Configuration file modification method and configuration file modification device

A technology for configuring files and modifying devices, which is applied in the field of data processing and can solve problems such as inability to develop, burden on developers, and high maintenance costs

Active Publication Date: 2014-12-17
BEIJING GRIDSUM TECH CO LTD
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The maintenance cost of this method is relatively high. If one of the configuration items changes, multiple sets of configuration files need to be modified at the same time. In addition, because it is necessary to predict the environment where the program may be deployed in advance and prepare corresponding configuration files, once the program changes, the Configuration files may not be used, and this method requires developers to know the environment information of other environments in advance, which brings a great burden to developers. If developers do not understand the environment, they cannot develop corresponding configuration 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
  • Configuration file modification method and configuration file modification device
  • Configuration file modification method and configuration file modification device
  • Configuration file modification method and configuration file modification device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to effectively improve the accuracy of modifying parameters in a configuration file and improve the efficiency of modifying parameters in a configuration file, embodiments of the present invention provide a method and device for modifying a configuration file.

[0037] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0038] Embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0039] figure 1 A configuration file m...

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 modification method and a configuration file modification device, which are used for improving the configuration file modification accurate rate and the configuration file modification efficiency. According to the method, the located region of contents to be modified in a configuration file is determined according to annotation marks in the configuration file, in the region, parameters to be modified are determined, and the parameter values of the parameters to be modified are modified according to the current environment and the parameter value of each parameter in each environment. The parameter values of the configuration file are modified in an annotation mode in the embodiment of the invention, so the modification of the parameter values of the configuration file is more flexible and more convenient, in addition, the annotation mode is adopted for parameter modification so that the error rate of the configuration file modification is reduced, the modification correctness is improved, and in addition, the parameter modification efficiency in the configuration file is improved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method and device for modifying configuration files. Background technique [0002] The configuration file is a variable storage file with a standardized data format, and the data format adopted can be XML format, YAML format or JSON format, etc. The data saved in the configuration file has a guiding effect on the execution of the program. The configuration files used in the program development stage are generally environment configuration and variable configuration, such as database connection information, program structure, program style, and so on. In addition to the R&D environment, configuration files can also be used in the production environment to save variable values ​​generated during program execution. For example, if the user changes the appearance of the program, the new appearance should be applied directly when the program is started next time, then the ...

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): G06F17/30G06F9/44
CPCG06F16/113G06F16/144G06F16/148G06F16/16G06F16/178G06F16/80G06F16/81
Inventor 王晓涛
Owner BEIJING GRIDSUM 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