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

A method and device for realizing software configuration model based on tree structure

A software configuration, tree structure technology, applied in software maintenance/management, semi-structured data retrieval, semi-structured data indexing, etc., can solve the problems of difficulty, heavy workload, low configuration flexibility, etc., to improve fault tolerance Ability, taking into account flexibility and efficiency, easy to copy and reproduce the effect

Active Publication Date: 2022-07-08
吉奥时空信息技术股份有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In view of the above problems, the purpose of the present invention is to provide an implementation method and device based on a tree-structured software configuration model, aiming to solve the technical problems of difficulty in using existing configurations, relatively large workload, and low configuration flexibility

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 method and device for realizing software configuration model based on tree structure
  • A method and device for realizing software configuration model based on tree structure
  • A method and device for realizing software configuration model based on tree structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] figure 1 The flow of the implementation method based on the tree structure software configuration model provided by the embodiment of the present invention is shown, and only the part related to the embodiment of the present invention is shown for the convenience of description.

[0041] The implementation method based on the tree structure software configuration model provided by this embodiment includes the following steps:

[0042] Step S1 , establishing a software configuration model, wherein the software configuration model forms a tree structure by associating a plurality of configuration items through a parent-child relationship.

[0043]In this step, various types of configuration data are described by defining a unified configuration item data structure, and configuration items are associated with parent-child relationships to form a tree-shaped configuration, and a large number of configuration items can be composed into configurations of arbitrary complexity....

Embodiment 2

[0112] figure 2 The structure of the implementation device based on the tree structure software configuration model provided by the embodiment of the present invention is shown, and only the part related to the embodiment of the present invention is shown for the convenience of description.

[0113] The implementation device based on the tree structure software configuration model provided by this embodiment includes:

[0114] A model establishment unit 1 is used to establish a software configuration model, wherein the software configuration model is associated with a plurality of configuration items to form a tree structure through a parent-child relationship;

[0115] The configuration item access unit 2 is used to access the configuration item through two access interfaces of overloaded operator or Child function after receiving the configuration item access instruction;

[0116] The setting and reading unit 3 is used to set or read the value of the configuration item acc...

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 present invention is applicable to the technical field of computer software, and provides an implementation method and device based on a tree-structured software configuration model. The method includes: establishing a software configuration model; Child function has two access interfaces to access configuration items; set or read the value of configuration items as required. The present invention forms a tree-shaped configuration by associating a parent-child relationship, and can compose a large number of configuration items into configurations of arbitrary complexity; in addition, various types of configuration data are described by defining a unified configuration item data structure, and two access interfaces are designed to To realize the acquisition of configuration items, the two access interfaces have other designs when specifically accessing configuration items, thus greatly improving the user experience of using configuration. Finally, in any case, a default value of the corresponding type needs to be passed in to obtain the configuration value. The design of the default value can greatly improve the fault tolerance of the configuration system.

Description

technical field [0001] The invention belongs to the technical field of computer software, and in particular relates to an implementation method and device based on a tree structure software configuration model. Background technique [0002] Computer software is program software that is run on a computer to solve various application requirements. Computer software is essentially just some hard-coded programs. It is very difficult to meet the ever-changing computer application needs only through hard-coded programs. The configuration is generally an integral part of the computer program. The configuration is usually not a program, but the configuration will run with the program. The program reads flexible data through the configuration so that the program has different capabilities to meet different application requirements. [0003] The configuration greatly improves the adaptability of the program software to various requirements and reduces the repetitive development cost o...

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): G06F8/71G06F16/81
CPCG06F8/71
Inventor 贺楷锴晋书婷池晶杨曦武永波余磊沈雷刘显雄王二兰
Owner 吉奥时空信息技术股份有限公司
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