Configuration item obtaining method and device based on reusable components

A configuration item and component technology, applied in the testing field, can solve the problems of low configuration item efficiency and slow query efficiency.
CN110471708APending Publication Date: 2019-11-19CHINA PING AN LIFE INSURANCE CO LTD

Patent Information

Authority / Receiving Office
CN Β· China
Current Assignee / Owner
CHINA PING AN LIFE INSURANCE CO LTD
Publication Date
2019-11-19

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention relates to a configuration item obtaining method and device based on a reusable component, and belongs to the technical field of computers, the method comprises the steps that a configuration class is established for a dynamic configuration item according to the service content of the dynamic configuration item, and the configuration class at least comprises configuration item attributes; adding a label to the configuration item attribute to obtain a dynamic configuration item with the configuration item attribute added with the label; reading the dynamic configuration item of the configuration item attribute adding label to a reusable component; and when an obtaining instruction of a target configuration item is received, obtaining the target configuration item from the reusable component by utilizing the attribute tag in the obtaining instruction. By automatically adding the label to the dynamic configuration item, the efficiency of obtaining the dynamic configuration item is effectively improved based on the reusable component.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present disclosure relates to the technical field of testing, in particular, to a method and device for acquiring configuration items based on reusable components. Background technique

[0002] There is a class Properties (java.util.Properties) in Java, which is mainly used to read Java configuration files, and store some values ​​that may need to be changed in properties for configuration, usually a ".properties" file, the content of the file The format is a "key=value" format.

[0003] At present, configuration items are usually obtained by first storing the configuration items in Properties, and then querying the corresponding configuration items through keywords, that is, querying through the key-value correspondence in the associated container map. However, as the system iterates, the configuration There are more and more items, and there are more and more configuration items and corresponding keywords. If you query through the key-value corr...

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