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

Application program configuration file update method and device

A configuration file and application technology, applied in the field of data processing, can solve problems such as incomplete adjustment information, adjustment errors, abnormal operation of application programs, etc., to ensure normal operation and reduce the possibility of human modification errors

Active Publication Date: 2022-02-15
HUNDSUN TECH
View PDF20 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, when deploying applications, the above configuration information is mostly manually adjusted by engineers according to the actual deployment environment, and manual adjustments are prone to adjustment errors or incomplete adjustment information, resulting in abnormal operation of the application

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
  • Application program configuration file update method and device
  • Application program configuration file update method and device
  • Application program configuration file update method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] 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.

[0047] Please refer to the attached figure 1 , figure 1 It is a schematic flow chart of a method for updating a configuration file of an application disclosed in an embodiment of the present invention. The configuration file of the application is an XML (Extentsible Markup Language, Extensible Markup Language) file, and the method includes:

[0048] Step S100: Obtain a configuration parameter description file from the deployment d...

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 method and device for updating configuration files of an application program. When the configuration file of the application program needs to be updated, all the configuration items to be updated indicated in the configuration parameter description file preset in the deployment package of the application program are determined. For each configuration node to be updated, update the value of the target configuration item contained in the corresponding target configuration node in the original configuration file to the value of each configuration item in the configuration parameter description file; After the values ​​corresponding to the updated configuration items are updated to the original configuration file, an updated configuration file is generated, so that the application starts using the updated configuration file. Through the above method and device, when deploying the application program, the engineering personnel only need to provide the necessary parameter configuration information at the agreed position, and then the configuration file of the application program can be automatically updated, which reduces the possibility of manual modification errors and ensures The application works normally.

Description

technical field [0001] The present invention relates to the technical field of data processing, and more specifically relates to a method and device for updating configuration files of application programs. Background technique [0002] The application release package contains a configuration file, which stores configuration information for the application to run. Some of the configuration information is related to the actual deployment environment of the application. When deploying the application, it needs to be based on the actual The deployment environment must adjust this part of the configuration information to make the application run correctly. [0003] At present, when deploying applications, the above configuration information is mostly manually adjusted by engineers according to the actual deployment environment, and manual adjustments are prone to adjustment errors or incomplete adjustment information, resulting in abnormal operation of the application. Content...

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): G06F9/445G06F8/71
CPCG06F8/71G06F9/4451
Inventor 沈正辉
Owner HUNDSUN TECH