Configuration loading method and system

A configuration object and configuration file technology, applied in the computer field, can solve problems such as difficult expansion, non-universal configuration loading process, poor maintainability, etc., to reduce development and maintenance costs, improve readability and maintainability, and weaken relationships Effect

Inactive Publication Date: 2017-08-25
CHINANETCENT TECH
View PDF10 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve the problems that the existing configuration loading process does not have universality, is not easy to expand, and has poor maintainability, the embodiment of the present invention provides a configuration loading method and system

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
  • Configuration loading method and system
  • Configuration loading method and system
  • Configuration loading method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0071] The terms involved in the embodiments of the present invention are explained as follows:

[0072] A graph is used to represent the relationship between objects and consists of nodes and straight lines or curves (called edges) connecting these nodes. If each edge in the graph has a direction, it is called a directed graph. A directed graph can clearly represent configuration objects and their dependencies.

[0073] The adjacency list can be used as the storage structure of the graph. The adjacency list is composed of header nodes and table nodes. Each node in the graph corresponds to a header node stored in the adjacency list.

[0074] Out-degree refers to the sum of the number of times a node in a directed graph is the starting...

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 configuration loading method and system. The method comprises the steps of receiving configuration information input through an interface; generating configuration objects according to the configuration information, allocating unique sequence numbers to the configuration objects and determining a dependency relationship among the configuration objects; storing all the configuration objects and the dependency relationship among the configuration objects in an adjacency list form, and obtaining a first adjacency list; traversing the first adjacency list to obtain a loading sequence of the configuration objects; and loading the configuration objects in sequence according to the loading sequence. Through a universal loading framework, the configuration information is abstracted to the configuration objects, the configuration objects and the dependency relationships among the configuration objects are stored by using the adjacency list, automatic loading of the configuration objects is driven by traversing the adjacency list, and the loading sequence is ensured, so that configuration loading management and loading process structuring and automation are realized, the dependency relationship is describable, and the readability and maintainability are improved; and the framework is separated from a business, so that cross-component universality is realized and the expandability is enhanced.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a configuration loading method and system. Background technique [0002] Each component in the existing log system will use different configuration files, some of these configuration files are independent, some are associated with other configuration files, and there is an interdependent relationship. The loading process of these configuration files in each component is not uniform, and the configuration loading process in the same component is also not uniform. With the continuous growth of business and the continuous change of customer needs, the types and quantities of configuration files will continue to increase, and the relationship will become more complex. Based on this situation, the existing configuration loading method has the following disadvantages: [0003] (1) Different configuration loading processes are scattered, and there is no unified configuration loading ...

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/44
CPCG06F9/4411
Inventor 宁志超林志远
Owner CHINANETCENT 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