The invention discloses a multi-level
configuration management method, which comprises the following steps of: storing configuration items, respectively storing
XML (
Extensible Markup Language) nodes and
JSON (
JavaScript Object Notation) key value pairs, correspondingly constructing configuration names, constructing
configuration item values, adding a
type attribute, marking configuration types, respectively configuring namespaces for the
XML nodes and the
JSON key value pairs, and storing the
XML nodes and the
JSON key value pairs. The method comprises the following steps of: constructing a
configuration item table, configuring a
namespace table, configuring a distribution history table, and configuring a distribution history table; the functions of addition, deletion and modification of configuration items, configuration file import, configuration release, configuration
rollback, display of configuration shape changes in a specified configuration
namespace, provision of configuration for an application service, and provision of a configuration service for the application service by conversion into an original configuration file according to a newest configuration state are realized. The problem that a flattened management mode faces many challenges when complex configurations are processed due to the fact that the flattened configuration items cannot reflect the
hierarchical relation and the nested structure of the configuration items and consequently the
dependency relation and the
hierarchical relation between the configuration items cannot be visually displayed and managed is solved.