Method and system for reloading web configuration files

A configuration file, system storage technology, applied in program control devices, program loading/starting, instruments, etc., can solve problems such as complex operation

Active Publication Date: 2020-09-15
GCI SCI & TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a method and system for overloading web configuration files for complex operations

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
  • Method and system for reloading web configuration files
  • Method and system for reloading web configuration files
  • Method and system for reloading web configuration files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Embodiments of the method and system for reloading Web configuration files will be described below in conjunction with the accompanying drawings.

[0020] refer to figure 1 , figure 1 It is a flow chart of the overload method of the Web configuration file of an embodiment, including:

[0021] S101, after the Web system starts, execute the startup script command of the Web container, and save the corresponding startup process number;

[0022] In one embodiment, for the process of executing the startup script command of the Web container, the configuration file stored in the Web system may be loaded, and the Web container and the Web system may be initialized according to the loaded configuration file.

[0023] For the startup of the web system, it can be started by a global command (command), such as: pythonmanager.py. The startup script of the web container depends on a certain operating environment and startup commands, such as: javac / python / php, or packaged tomcat ...

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 relates to a method and a system for reloading a Web configuration file. The method comprises the following steps: after starting a Web system, executing a script starting command of a Web container, and storing a corresponding starting process number; monitoring the configuration file stored by the Web system, and when the configuration file changes, calling a system manager to kill the process of the Web container according to the starting process number; receiving a page configuration file modification request, analyzing a modified configuration file, and then covering the configuration file originally stored by the Web system; executing the script starting command of the started Web container, and restarting the Web container. According to the technology disclosed by the invention, manual intervention is not needed, so that the operation complexity is reduced, the using efficiency of the Web system is improved, and the user experience is improved.

Description

technical field [0001] The invention relates to the technical field of computer Internet, in particular to a method and system for reloading Web configuration files. Background technique [0002] Web applications depend on web containers. Configuration files generally need to be loaded when the web container starts, and configuration files are usually loaded statically. Once modified, the container needs to be manually restarted to update the configuration. [0003] However, for non-operation and maintenance personnel, they generally do not understand the operation of the server. After modifying the configuration file, they log in to the background and restart the Web service to reload the configuration file. The operation is complicated and inconvenient to use. Contents of the invention [0004] Based on this, it is necessary to provide a method and system for overloading web configuration files for the problem of complex operation. [0005] A method for overloading a we...

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/445
CPCG06F9/4451
Inventor 温云龙
Owner GCI SCI & TECH
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