Application configuration file updating method and apparatus

A configuration file and application technology, applied in the field of Internet applications, can solve problems such as application errors and achieve stable operation

Active Publication Date: 2017-11-21
JUHAOKAN TECH CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the technical problem in the related art that when the application is running, modifying the storage address of the configuration file configured in the application may cause an error in the application, the disclosure provides an update of the configuration file of the application Method and device

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 configuration file updating method and apparatus
  • Application configuration file updating method and apparatus
  • Application configuration file updating method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0028] figure 1 It is a flowchart of a method for updating a configuration file of an application program shown in an exemplary embodiment. Such as figure 1 As shown, the method includes but is not limited to the following steps:

[0029] In step 110, the version number uniquely identifying the configuration file in the configuration file is read, and the configuration file is stored in the first...

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 an application configuration file updating method. The method is applied to a unified configuration system. The unified configuration system comprises a configuration center server and an application node server. A version number of a file is configured by reading a unique identifier in the configuration file. The configuration file is stored in a first storage address configured in an application. When it is monitored that a version number of a new configuration file is higher than the version number of the configuration file, the new configuration file is downloaded to a second storage address. Configuration information in the downloaded new configuration file is written in the configuration file. When the application is in a running state, the configuration file of the application can be updated without modifying the storage address of the configuration file configured in the application.

Description

technical field [0001] The present disclosure relates to the technical field of Internet applications, in particular to a method and device for updating configuration files of application programs. Background technique [0002] With the development of Internet application technology, the number of server visits for deploying applications is increasing. In order to enhance the server's ability to process applications, it is necessary to deploy the same application on multiple application node servers, and the unified configuration system deploys and updates configuration files for each application node server where the application is deployed. [0003] In the prior art, when it is necessary to update the configuration file of the application program, the storage address configured in the application program is first modified, which is more intrusive to the application program, and then the new configuration file located on the configuration center server in the system will be...

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): G06F9/445
CPCG06F8/65
Inventor 李希伟吴连朋夏章抓
Owner JUHAOKAN TECH 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