Methods and systems for constructing and interpreting hierarchical configuration files
Abstract
A configuration system is disclosed that applies rules of precedence to evaluate parameters in the context of multiple sections within a configuration file and in the context of multiple configuration files. The system brings together multiple sections and multiple files into a unified whole. The precedential order of sections and files is set by a user and special section names can be used to override default precedential rules. If a parameter is set multiple times at different levels in the hierarchy of belonging, its final value reflects the value set at the level most closely concerned with the setting of the parameter. The value of a parameter can be set from an environmental variable or from the value of another parameter. If a parameter's value depends upon the value of another parameter, that second parameter is recursively evaluated using the same precedential rules.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 16.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for setting a first parameter's value based on at least one initialization file, the at least one initialization file containing sections, at least one of the sections containing a parameter/value pair, the method comprising: selecting sections of the at least one initialization file; specifying an order of precedence among the selected sections of the at least one initialization file; and setting the first parameter's value to a value in a parameter/value pair in a selected section having the highest specified precedence of those selected sections that contain a parameter/val
- Claim 2Depends on #1
The method of claim 1 wherein selecting comprises selecting at least one section of the at least one initialization file based on a name of the at least one section.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗