Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A configuration loading method and system

A configuration object and configuration file technology, applied in the computer field, can solve problems such as the configuration loading process is not universal, difficult to expand, and poor maintainability, so as to improve readability and maintainability, reduce development and maintenance costs, and weaken relationships Effect

Inactive Publication Date: 2021-04-16
CHINANETCENT TECH
View PDF10 Cites 0 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
  • A configuration loading method and system
  • A configuration loading method and system
  • A 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, wherein the method includes: receiving configuration information input through an interface; generating a configuration object according to the configuration information, assigning a unique sequence number to the configuration object and determining the dependency relationship between the configuration objects; Store all configuration objects and their dependencies in table form to obtain the first adjacency list; traverse the first adjacency list to obtain the loading sequence of the configuration objects; load the configuration objects sequentially according to the loading sequence. The present invention abstracts configuration information into configuration objects through a general loading framework, uses an adjacency list to store configuration objects and their dependencies, uses the traversal of the adjacency list to drive automatic loading of configuration objects, and ensures the loading order, thereby realizing configuration loading management and The loading process is structured and automated, and the dependencies can be described to improve readability and ease of maintenance; the framework and business are separated to achieve cross-component commonality and enhance scalability.

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 Patents(China)
IPC IPC(8): G06F9/4401
CPCG06F9/4411
Inventor 宁志超林志远
Owner CHINANETCENT TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products