System configuration file modification method and system
The invention relates to a system configuration file modification method. The method comprises the steps that whether a configuration file under a preset directory is modified is detected in a timing mode; if the configuration file is modified according to a detection result, the updated configurati...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to a system configuration file modification method. The method comprises the steps that whether a configuration file under a preset directory is modified is detected in a timing mode; if the configuration file is modified according to a detection result, the updated configuration file is read; and the updated configuration file is loaded into a cache. By the adoption of the method, updated configuration items can take effect without the need for updating a server, updating efficiency is improved, and operation of a platform cannot be influenced. Besides, the invention furthermore provides a system configuration file modification system.
本发明涉及种系统配置文件修改方法,所述方法包括:定时检测预设目录下的配置文件是否有被修改过;如果检测结果为配置文件修改过,则读取更新后的配置文件;加载所述更新后的配置文件到缓存中。采用该方法,不需要重新服务器就能使得更新的配置项生效,不仅提高了更新效率也不会影响平台的运行。此外,还提供了种系统配置文件修改系统。 |
---|