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

Configuration file interactive updating method and device based on file comparison

A configuration file and update method technology, applied in the computer field, can solve problems such as high error rate, achieve the effect of avoiding errors, improving update efficiency and system operation and maintenance efficiency

Active Publication Date: 2020-05-12
HANGZHOU ANHENG INFORMATION TECH CO LTD
View PDF16 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of this application is to provide a method, device and system for interactive updating of configuration files based on file comparison, which is used to solve the problem of high error rate due to the need to manually sort out a large amount of scattered data in traditional configuration file updating schemes

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 interactive updating method and device based on file comparison
  • Configuration file interactive updating method and device based on file comparison
  • Configuration file interactive updating method and device based on file comparison

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] The following is an introduction to Embodiment 1 of a method for interactively updating configuration files based on file comparison provided by this application, see figure 1 , embodiment one includes:

[0051] S101. Compare the configuration file of the current version with the configuration file of the previous version, determine the update record of the current version relative to the previous version, and add the update record to the update history file;

[0052] S102. Display items to be configured on the operation interface according to the update history file, and determine actual values ​​of the items to be configured according to user operations on the operation interface;

[0053] S103. Update the target configuration file in the production environment according to the actual value of the item to be configured.

[0054] In this embodiment, an update history file is provided on the side of the configuration device. The update history file contains the update ...

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 discloses a configuration file interactive updating method, device and system based on file comparison, and the method comprises the steps: comparing a configuration file of a current version with a configuration file of a previous version, determining the updating record of the current version relative to the previous version, and adding the updating record to an updating historicalfile; displaying the to-be-configured item on an operation interface according to the update history file, and determining the actual value of the to-be-configured item according to the operation ofthe user on the operation interface; and updating the target configuration file in the production environment according to the actual value of the to-be-configured item. Visibly, the configuration file of the current version is compared with the configuration file of the previous version, the items for personalized configuration in the configuration file of the current version are extracted, the configuration items needing to be updated are merged, and then the operation and maintenance personnel are prompted to perform configuration through the interactive operation interface, so that errorscaused by manual data arrangement and configuration item modification are avoided, and the configuration file updating efficiency and the system operation and maintenance efficiency are improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method, device and system for interactively updating configuration files based on file comparison. Background technique [0002] For large-scale apps, separating configuration and code is a common architectural strategy. This has many advantages, not only avoiding the strong coupling of certain resource paths (such as databases, FTP servers) and code, but also in some scenarios. Provides the possibility to dynamically adjust the server state. At the same time, it is used in conjunction with profile to allow multiple sets of configuration schemes to be provided by default when the App leaves the factory to meet the needs of various environments. For example, the development environment hopes to be able to print debug logs, the test environment hopes to enable the remote debugging function by default, but the production environment turns off all the above functions b...

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): G06F8/65G06F9/445G06F40/194
CPCG06F8/65G06F9/4451
Inventor 张程荥范渊
Owner HANGZHOU ANHENG INFORMATION TECH CO LTD