A configuration information maintenance system for a business application

By configuring the server and client of the information maintenance system, unified management and lifecycle control of business application configuration information are achieved, solving the problem of high configuration and maintenance costs in existing technologies and reducing maintenance difficulty and the complexity of adding new business applications.

CN116339845BActive Publication Date: 2026-07-17NETSUNION CLEARING CORP

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NETSUNION CLEARING CORP
Filing Date
2021-12-22
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

The lack of unified management and maintenance of existing business application configurations leads to high maintenance costs, especially when adding new business applications.

Method used

A configuration information maintenance system is adopted, including a configuration information maintenance server and client. By establishing configuration information in a standard format and storing it in a standard data source, it supports obtaining and providing matching configuration information from extended data sources, thereby achieving unified management and lifecycle control.

Benefits of technology

It enables unified management and maintenance of configuration information for different business applications, reduces maintenance costs, supports friendly access for new business applications, and simplifies the acquisition and use of configuration information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116339845B_ABST
    Figure CN116339845B_ABST
Patent Text Reader

Abstract

This application discloses a configuration information maintenance system for business applications, including a configuration information maintenance server, a configuration information maintenance client, a standard data source, and an extended data source. The configuration information maintenance client is configured to correspond to the business application. The configuration information maintenance server is used to establish configuration information in a standard format and store it in the standard data source. The configuration information maintenance client is used to obtain extended format configuration information from the extended data source and obtain standard format configuration information from the standard data source through the configuration information maintenance server. Furthermore, it responds to configuration information retrieval requests from business applications and provides the corresponding business application with configuration information matching the request. This application's configuration information maintenance system for business applications achieves unified management and maintenance of configuration information for different business applications, as well as unified control of the lifecycle of business application configuration information, significantly reducing the maintenance cost of business application configuration information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of application configuration technology, and in particular to a configuration information maintenance system for business applications. Background Technology

[0002] As people's living standards improve and their needs change, products and services in related business areas are iterated and updated very quickly, which in turn leads to more and more configuration updates for business applications.

[0003] Taking the financial business sector as an example, the current financial business platform mainly relies on the management and maintenance of business application configurations by each business application. When adding a new business application, a set of configuration and maintenance logic needs to be implemented.

[0004] However, this approach lacks unified management and maintenance of business application configurations, resulting in high maintenance costs for business application configurations. Summary of the Invention

[0005] This application provides a configuration information maintenance system for business applications to reduce the maintenance cost of business application configuration information.

[0006] The embodiments of this application adopt the following technical solutions:

[0007] This application provides a configuration information maintenance system for business applications, including a configuration information maintenance server, a configuration information maintenance client, a standard data source, and an extended data source; the configuration information maintenance client is configured corresponding to the business application.

[0008] The configuration information maintenance server is used to establish configuration information in a standard format and store it in the standard data source;

[0009] The configuration information maintenance client is used to obtain configuration information in an extended format from the extended data source, obtain configuration information in a standard format from the standard data source through the configuration information maintenance server, and respond to configuration information acquisition requests from business applications by providing configuration information matching the acquisition request to the corresponding business application.

[0010] Optionally, the configuration information maintenance server is also used for:

[0011] Obtain the initial configuration information of the business application and the preset configuration template corresponding to the business application;

[0012] The standard format configuration information is generated based on the initial configuration information and the preset configuration template.

[0013] Optionally, the configuration information includes basic configuration information and configuration decoration information. The basic configuration information includes at least one of the following: configuration name, unique identifier of the configuration, business application to which it belongs, type of configuration value, and default value of the configuration. The configuration decoration information includes at least one of the following: configuration dimension information, configuration activation information, and configuration grayscale information.

[0014] Optionally, the configured dimensional information is obtained in the following way:

[0015] Obtain a preset data dictionary, wherein the preset data dictionary stores available values ​​corresponding to different configuration dimensions;

[0016] The dimension information of the configuration is obtained by constraining the actual values ​​of each configuration dimension according to the available values ​​corresponding to each configuration dimension in the preset data dictionary.

[0017] Optionally, the configuration information maintenance client is also used for:

[0018] According to the preset data synchronization cycle, the configuration information in the standard format established by the configuration information maintenance server is synchronized to the local configuration information maintenance client so as to obtain the configuration information in the standard format from the local configuration information maintenance client.

[0019] Optionally, the configuration information maintenance server is composed of multiple distributed configuration information maintenance servers, and the configuration information maintenance client is further used for:

[0020] The target configuration information maintenance server is determined from multiple configuration information maintenance servers using a distributed service framework.

[0021] The configuration information in the standard format established by the target configuration information maintenance server is synchronized to the local configuration information maintenance client.

[0022] Optionally, the configuration information maintenance client is also used for:

[0023] Determine whether the configuration information matching the configuration information retrieval request can take effect on the machine where the business application is located;

[0024] If possible, the configuration information matching the configuration information retrieval request will be provided to the business application.

[0025] Optionally, the configuration information maintenance client is also used for:

[0026] If the current time of the machine where the business application is located reaches the effective time of the configuration information, and the IP address of the machine where the business application is located is within the gray-scale effective range, then it is determined that the configuration information matching the configuration information acquisition request can take effect on the machine where the business application is located.

[0027] Otherwise, it is determined that the configuration information matching the configuration information retrieval request cannot be effective on the machine where the business application is located.

[0028] Optionally, the configuration information of the business application corresponds to multiple version numbers, and the configuration information maintenance client is also used for:

[0029] If the current time of the machine where the business application is located reaches the effective time of the configuration information, and the IP address of the machine where the business application is located is within the gray-scale effective range, then the latest version number and the configuration information of the business application corresponding to the latest version number are determined from multiple version numbers.

[0030] Provide the configuration information of the business application corresponding to the latest version number to the corresponding business application.

[0031] Optionally, the configuration information maintenance client is also used for:

[0032] If it is determined from the standard data source that the configuration information in a standard format is to be obtained from the configuration request of the business application, then the configuration information of the business application that matches the configuration request of the business application is directly obtained from the configuration information in the standard format and provided to the corresponding business application.

[0033] If it is determined from the extended data source that configuration information in an extended format is to be obtained based on the configuration request of the business application, then the configuration information in the extended format is standardized, and the configuration information of the business application that matches the configuration request of the business application is obtained from the standardized configuration information and provided to the corresponding business application.

[0034] The above-mentioned technical solutions adopted in the embodiments of this application can achieve the following beneficial effects: The configuration information maintenance system for business applications in the embodiments of this application includes a configuration information maintenance server, a configuration information maintenance client, a standard data source, and an extended data source; the configuration information maintenance client is configured to correspond to the business application; the configuration information maintenance server is used to establish configuration information in a standard format and store it in the standard data source; the configuration information maintenance client is used to obtain configuration information in an extended format from the extended data source, and obtain configuration information in a standard format from the standard data source through the configuration information maintenance server; and, in response to the configuration information acquisition request of the business application, provides the configuration information matching the configuration information acquisition request to the corresponding business application. The configuration information maintenance system for business applications in the embodiments of this application realizes unified management and maintenance of configuration information for different business applications, as well as unified control of the lifecycle of configuration information for business applications, through information interaction between the configuration information maintenance server and the configuration information maintenance client. This facilitates subsequent users to directly obtain and use configuration information, greatly reduces the maintenance cost of configuration information for business applications, and is also more user-friendly for newly added business applications. Attached Figure Description

[0035] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0036] Figure 1 This is a schematic diagram of the overall architecture of a configuration information maintenance system for a business application in an embodiment of this application;

[0037] Figure 2 This is a schematic diagram of the data structure of a preset configuration template in an embodiment of this application;

[0038] Figure 3 This is a schematic diagram illustrating the maintenance process of configuration information for a business application in an embodiment of this application. Detailed Implementation

[0039] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0040] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.

[0041] This application provides a configuration information maintenance system for business applications. The system mainly includes a configuration information maintenance server, a configuration information maintenance client, a standard data source, and an extended data source. The configuration information maintenance client is configured to correspond to the business application. The configuration information maintenance server is used to establish configuration information in a standard format and store it in the standard data source. The configuration information maintenance client is used to obtain extended format configuration information from the extended data source, and obtain standard format configuration information from the standard data source through the configuration information maintenance server. Furthermore, in response to a configuration information retrieval request from a business application, the system provides configuration information matching the request to the corresponding business application.

[0042] like Figure 1 As shown, a schematic diagram of the overall architecture of a configuration information maintenance system for a business application in this embodiment of the application is provided. The configuration information maintenance system for a business application in this embodiment of the application mainly includes a configuration information maintenance server, a configuration information maintenance client, a standard data source, and an extended data source.

[0043] The configuration information maintenance server is primarily used to establish and maintain standard-format configuration information, uniformly store this information in a standard data source for management, and retrieve corresponding configuration information from the standard data source based on client requests. Specifically, the server processes configuration information entered by users on the web page, and manages and maintains related configuration functions, such as defining relevant information in preset configuration templates and configuring configuration information for review. Furthermore, the content displayed to users on the web page is also essentially set and maintained by the configuration information maintenance server, including user-input, validation, review, and activation configuration items.

[0044] The configuration information maintenance client can be implemented as an SDK (Software Development Kit) for easy embedding into business applications. The SDK client is responsible for interacting with the configuration information maintenance server, responding to user application requests, and obtaining extended-format configuration information from extended data sources or standard-format configuration information from the configuration information maintenance server. Internally, it mainly involves three parts: a data layer, a strategy layer, and an operation layer. The data layer primarily refers to the specific methods by which the configuration information maintenance client obtains configuration information, such as calling the configuration information maintenance server via RPC (Remote Procedure Call) to obtain relevant configuration information, or obtaining custom data sources such as a database (DB) locally connected to the configuration information maintenance client—i.e., extended data sources. The strategy layer mainly configures a series of processing strategies for the configuration information obtained by the configuration information maintenance client, such as data caching, data updating, data synchronization, and merging. The operation layer mainly controls the on / off switching of the configuration information maintenance client's acquisition of configuration information and the types of configurations.

[0045] In one embodiment of this application, the configuration information maintenance server is further configured to: obtain the initial configuration information of the business application and the preset configuration template corresponding to the business application; and generate the standard format configuration information based on the initial configuration information and the preset configuration template.

[0046] When maintaining configuration information, the configuration information maintenance server can first receive configuration information creation requests from business applications. These configuration information creation requests can be understood as requests to add or modify configuration information for one or more specific business applications.

[0047] Because the existing business application configuration information is mainly implemented in a personalized way according to the needs of different businesses, the data structure of the configuration information is relatively messy and lacks a unified data model for configuration management, which makes it difficult to maintain and add configuration information in the future.

[0048] Based on this, the embodiments of this application pre-construct a preset configuration template. This preset configuration template pre-defines a unified configuration information structure. In actual application scenarios, different configuration templates can be set for different types of configuration information to meet different configuration requirements. When obtaining the initial configuration information of a business application, the preset configuration template that needs to be adapted to that configuration information can also be obtained simultaneously.

[0049] After obtaining the initial configuration information and the preset configuration template that the configuration information is adapted to, the specific configuration information of the business application can be directly generated based on the initial configuration information and the preset configuration template, thereby obtaining configuration information in a unified format, which facilitates the maintenance and addition of subsequent configuration information.

[0050] In one embodiment of this application, a preset configuration template may be associated with one or more business applications.

[0051] In one embodiment of this application, the configuration information includes basic configuration information and decorative configuration information. The basic configuration information includes at least one of the following: configuration name, unique identifier of the configuration, business application to which it belongs, type of configuration value, and default value of the configuration. The decorative configuration information includes at least one of the following: configuration dimension information, configuration activation information, and configuration grayscale information.

[0052] This application's embodiments pre-establish a binding relationship between a preset configuration template and business applications, that is, binding the preset configuration template at the business application level rather than the user's organizational structure level, thereby supporting dynamic organizational structures. Furthermore, a preset configuration template can be pre-bound to multiple business applications, enabling configuration sharing among business applications and significantly saving configuration resources.

[0053] The configuration objects included in the preset configuration template of this application embodiment are dynamically configurable. Therefore, the configuration information established based on the preset configuration template can be adapted to different scenarios by selecting configuration objects. For example, the configuration information can include basic configuration information and decoration information. The basic configuration information can specifically include the configuration name, the unique identifier of the configuration, the business application to which it belongs, the type of the configuration value, and the default value of the configuration, etc. The unique identifier of the configuration can be in the form of an encoded key. When constructing the preset configuration template, this application embodiment can uniformly model the configuration information with the same encoded key, thereby ensuring that the configuration information with the same encoded key has a standard and unified configuration model. The basic information of each type of configuration in the above example can have a corresponding configuration object in the preset configuration template, thereby constraining the format, value range, etc. of the configuration information. Similarly, the decoration information of each type of configuration described below can also have a corresponding configuration object in the preset configuration template.

[0054] The configuration decoration information can specifically include configuration dimension information, configuration activation information, and configuration grayscale information. Configuration dimension information can be divided according to specific business dimensions. Taking financial business applications as an example, configuration dimension information can be seen as a filter condition. Through the configuration dimension information, it can be determined which payment institutions or banks, etc., are affected by the configuration information for a specific business application. For example, if a certain configuration information only affects payment institution A, then the payment institution is a dimension, and the affected payment institution A is the value of that dimension. Configuration activation information can specifically include the activation time, expiration time, and whether it is scheduled to activate at specific times. Configuration grayscale information mainly refers to the grayscale activation range of the configuration, that is, on which machines in which data centers a specific business application's configuration information is effective. Figure 2 As shown, a schematic diagram of the data structure of a preset configuration template in an embodiment of this application is provided.

[0055] In practical applications, when users enter configuration information through a web page, they can generate specific configurations using the aforementioned preset configuration templates. For example, when the preset configuration template contains decoration information, users can input it one by one. For instance, if the preset configuration template contains configuration dimension information, users can input the values ​​of the configuration dimensions according to actual configuration requirements. If the preset configuration template contains an effective time, users can specify the effective time of the configuration information. If the configuration requires a gray-scale effective range, users can specify the data center identifier and machine IP address, etc., for which the configuration takes effect.

[0056] The preset configuration template in this application is compatible with commonly existing key-value configuration information, realizing abstract modeling of configuration. In addition to basic configuration information, the preset configuration template includes decoration information, utilizing the decorator design pattern to wrap the configuration information, thereby supporting various combinations of configurations. Furthermore, by uniformly managing decoration information such as the effective time and grayscale range of configuration information, unified control over the lifecycle of configuration information is achieved.

[0057] In one embodiment of this application, the configuration dimension information is obtained by: obtaining a preset data dictionary, wherein the preset data dictionary stores available values ​​corresponding to different configuration dimensions; constraining the actual values ​​of each configuration dimension according to the available values ​​corresponding to each configuration dimension in the preset data dictionary, thereby obtaining the configuration dimension information.

[0058] As mentioned above, when the preset configuration template contains configuration dimension information, the user needs to input the value of the dimension of the configuration information according to the actual configuration requirements. In order to prevent the configuration information from becoming unusable due to user errors when inputting dimension values, this application embodiment can provide a preset data dictionary service. The data dictionary refers to the definition and description of data items, data structures, data flows, data storage, processing logic, etc., forming an information set describing the data.

[0059] The preset data dictionary in this application embodiment can be a predefined set of all available values ​​for different configuration dimensions according to actual needs. Then, a correspondence is established between all the values ​​corresponding to different configuration dimensions and provided to the user as a data dictionary so that when the user inputs the configuration dimension information, the user can determine the value of the configuration dimension according to the preset data dictionary.

[0060] In one embodiment of this application, the configuration information maintenance client is further configured to: synchronize the configuration information in a standard format established by the configuration information maintenance server to the local configuration information maintenance client according to a preset data synchronization period, so as to obtain the configuration information in the standard format from the local configuration information maintenance client.

[0061] As mentioned earlier, when the configuration information maintenance server establishes the configuration information for business applications, it stores the established standard format configuration information in a standard data source. The above establishment process may occur periodically or irregularly, so the configuration information stored in the standard data source may also be constantly changing.

[0062] Therefore, to ensure users can obtain the latest configuration information, this embodiment of the application can synchronize the standard-format configuration information from the configuration information maintenance server to the local configuration information maintenance client according to a certain data synchronization period. This way, when the target application currently being used by the user obtains configuration information, it can access the latest configuration information stored locally on the configuration information maintenance client through the interface provided by the client. Furthermore, the above data synchronization process greatly facilitates the use of dynamic configuration and is seamless for the user, thus improving the user experience.

[0063] In one embodiment of this application, the configuration information maintenance server is a plurality of distributed configuration information maintenance servers, and the configuration information maintenance client is further configured to: determine a target configuration information maintenance server among the plurality of configuration information maintenance servers through a distributed service framework; and synchronize the configuration information in a standard format established by the target configuration information maintenance server to the local configuration information maintenance client.

[0064] In distributed application scenarios, there can be multiple configuration information maintenance servers in this application embodiment. These multiple configuration information maintenance servers can be distributed in different data centers to provide services to the outside world. Each configuration information maintenance server can connect to a standard data source, enabling the sharing of configuration information of business applications among multiple configuration information maintenance servers, thereby improving the overall high availability of the system.

[0065] Based on this, in the embodiments of this application, when synchronizing configuration information from the configuration information maintenance server, the target configuration information maintenance server can be determined from multiple configuration information maintenance servers using a distributed service framework, that is, determining which configuration information maintenance server will provide the service. Then, a connection is established with the target configuration information maintenance server, thereby obtaining the standard format configuration information through the target configuration information maintenance server and synchronizing it to the local configuration information maintenance client.

[0066] In one embodiment of this application, the configuration information maintenance client is further configured to: determine whether the configuration information matching the configuration information acquisition request can take effect on the machine where the business application is located; if so, provide the configuration information matching the configuration information acquisition request to the business application.

[0067] The configuration information maintenance client in this application embodiment can provide configuration lifecycle management services and manage the effective conditions of the configuration. The effective conditions of the configuration refer to the conditions under which the configuration information of a specific business application should take effect. Therefore, when a user requests to obtain the configuration of a target business application, the client can first determine whether the configuration information of the business application can take effect on the user's current machine based on the effective conditions of the configuration. If it can, the configuration information of the business application can be provided to the business application. If it is not satisfied, the client can either not return the configuration information of the business application or return the default value of the configuration information.

[0068] In one embodiment of this application, the configuration information maintenance client is further configured to: if the current time of the machine where the business application is located reaches the effective time of the configuration information, and the IP address of the machine where the business application is located is within the gray-scale effective range, then determine that the configuration information matching the configuration information acquisition request can be effective on the machine where the business application is located; otherwise, determine that the configuration information matching the configuration information acquisition request cannot be effective on the machine where the business application is located.

[0069] The configuration activation conditions in this application embodiment may include the activation time of the configuration information, such as the point in time or time period during which the configuration information takes effect, and the gray-scale activation range of the configuration, such as which machines in which data centers the configuration information takes effect on. Specifically, the current time of the machine can be compared with the activation time of the configuration information, and the IP address of the machine can be compared with the gray-scale activation range of the configuration information. If the current time of the machine has reached the activation time of the configuration information, and the IP address of the machine is also within the gray-scale activation range, then the machine is considered to meet the configuration activation conditions, and the configuration information can be provided to the business application so that users can view the valid configuration information. If the current time of the machine has not yet reached the activation time of the configuration information, or the IP address of the machine is not within the gray-scale activation range, then the machine is considered not to meet the configuration activation conditions, and specific configuration information can be omitted, or the default value of the configuration information can be returned directly.

[0070] In one embodiment of this application, the configuration information of the business application corresponds to multiple version numbers. The configuration information maintenance client is further configured to: if the current time of the machine where the business application is located reaches the effective time of the configuration information, and the IP address of the machine where the business application is located is within the gray-scale effective range, then determine the latest version number and the configuration information of the business application corresponding to the latest version number from the multiple version numbers; and provide the configuration information of the business application corresponding to the latest version number to the corresponding business application.

[0071] In real-world applications, the configuration information of business applications is constantly updated. Therefore, for the same configuration item, there may be multiple version numbers. For users, the most important information is likely the currently valid and latest version of the configuration information. Therefore, after determining that the configuration information can take effect on the machine where the business application is located, the configuration information maintenance client of this application embodiment can determine the latest version number from the multiple version numbers corresponding to the configuration information of the business application. Then, it can provide the configuration information corresponding to the latest version number to the business application so that users can view the latest configuration information of the business application on the machine where it is located.

[0072] This application embodiment provides the latest configuration information without the user's awareness by version control of configuration information, which greatly reduces the cost and complexity of existing business applications accessing configuration information and maintaining clients.

[0073] In one embodiment of this application, the configuration information maintenance client is further configured to: if it is determined, based on the configuration acquisition request of the business application, to obtain configuration information in a standard format from the standard data source, then directly obtain the configuration information of the business application that matches the configuration request of the business application from the standard format configuration information and provide it to the corresponding business application; if it is determined, based on the configuration acquisition request of the business application, to obtain configuration information in an extended format from the extended data source, then standardize the configuration information in the extended format, and obtain the configuration information of the business application that matches the configuration request of the business application from the standardized configuration information and provide it to the corresponding business application.

[0074] As mentioned above, the sources of configuration information in this application embodiment may include standard data sources and extended data sources. The configuration information in the standard format established by the configuration information maintenance server in the above embodiment will be uniformly stored in the standard data source. The configuration information maintenance client can periodically or according to other custom strategies pull the standard data source through the configuration information maintenance server and store it locally.

[0075] To meet users' personalized needs, the configuration information maintenance client in this embodiment also supports users to pre-access custom configuration information, i.e., extended format configuration information, through the unified configuration management interface of the configuration information maintenance client. For example, users may want to access existing configuration information of their business applications. By supporting the access of custom heterogeneous data sources through the unified configuration management interface, the complexity of different business applications accessing the configuration information maintenance client is reduced, providing richer and more comprehensive configuration information sources and meeting the configuration needs of different users.

[0076] Based on the aforementioned standard and extended data sources, when a user wants to obtain configuration information, they can directly input the identifier information of the configuration item, such as the configuration code key, without needing to specify a data source. Based on the user-input configuration code key, it can be further determined whether to obtain the specific configuration information corresponding to that code key from the standard or extended data source. If obtained from the standard data source, the specific configuration information corresponding to that code key can be directly obtained from the standard data source. However, if obtained from the extended data source, since the data structure of the configuration information in the extended data source is non-standard and not uniform, this embodiment can standardize the configuration information in the extended data source. Specifically, predefined annotations can be used to annotate the configuration information in the extended data source according to the defined configuration class, thereby converting the data format of the extended data source into the data format of the configuration information in the standard data source. Then, the specific configuration information corresponding to that code key can be obtained from the standardized configuration information.

[0077] It should be noted that when a user's business application wants to implement the functions of the configuration information maintenance client in this application, the configuration information maintenance client can be introduced into the business application as a JAR file.

[0078] Based on the functions implemented by the configuration information maintenance server and configuration information maintenance client in the above embodiments, such as Figure 3 As shown, a schematic diagram of the configuration information maintenance process of a business application in this application embodiment is provided. In a distributed application scenario, there can be multiple configuration information maintenance servers and configuration information maintenance clients in this application embodiment. The target configuration information maintenance server or target configuration information maintenance client that provides services is determined based on a load balancing strategy.

[0079] First, users can enter configuration information for their business applications through a web interface. Then, the web interface uses a pre-deployed Nginx load balancer to determine the target configuration information maintenance server and sends the application's configuration information to it. Upon receiving the configuration information, the target server standardizes it, obtaining a standard-formatted configuration and storing it in a standard data source. In addition to the standard-formatted configuration information established by the configuration information maintenance server, users can also access extended data sources and manage and maintain them through a configuration information maintenance client.

[0080] When a user needs to obtain specific configuration information for a business application, the target configuration information maintenance client can be determined based on the load balancing strategy. Then, the target configuration information maintenance client pulls the corresponding configuration information from the standard configuration source or the extended data source and returns it to the user.

Claims

1. A configuration information maintenance system for a business application, comprising a configuration information maintenance server, a configuration information maintenance client, a standard data source, and an extended data source; wherein the configuration information maintenance client is configured correspondingly to the business application; The configuration information maintenance client is embedded into the business application via an SDK. The configuration information maintenance client includes a data layer, a strategy layer, and an operation layer. The data layer refers to the specific methods by which the configuration information maintenance client obtains configuration information. These methods include using an RPC remote procedure call service to invoke the configuration information maintenance server to obtain configuration information from a standard data source, or obtaining configuration information from an extended data source locally connected to the configuration information maintenance client. The strategy layer configures the processing strategies for the obtained configuration information by the configuration information maintenance client. The operation layer controls the switch for the client to obtain configuration information and the type of configuration; The configuration information maintenance server is used to establish configuration information in a standard format and store it in the standard data source; The configuration information maintenance client is used to obtain configuration information in an extended format from the extended data source, and to obtain configuration information in a standard format from the standard data source through the configuration information maintenance server; In addition, in response to the configuration information retrieval request of the business application, the configuration information matching the configuration information retrieval request is provided to the corresponding business application; The extended format configuration information is custom configuration information that the user has pre-accessed through the unified configuration management interface of the client to maintain configuration information; The configuration information includes basic configuration information and decorative configuration information. The basic configuration information includes at least one of the following: configuration name, unique identifier of the configuration, business application to which it belongs, type of configuration value, and default value of the configuration. The decorative configuration information includes at least one of the following: configuration dimension information, configuration activation information, and configuration grayscale information. The configuration information maintenance client is also used for: Determine whether the configuration information matching the configuration information retrieval request can take effect on the machine where the business application is located; If possible, the configuration information matching the configuration information acquisition request will be provided to the business application; The configuration information maintenance client is also used for: If the current time of the machine where the business application is located reaches the effective time of the configuration information, and the IP address of the machine where the business application is located is within the gray-scale effective range, then it is determined that the configuration information matching the configuration information acquisition request can take effect on the machine where the business application is located. Otherwise, it is determined that the configuration information matching the configuration information retrieval request cannot be effective on the machine where the business application is located.

2. The system as claimed in claim 1, wherein, The configuration information maintenance server is also used for: Obtain the initial configuration information of the business application and the preset configuration template corresponding to the business application; The standard format configuration information is generated based on the initial configuration information and the preset configuration template.

3. The system as claimed in claim 1, wherein, The configured dimension information is obtained in the following way: Obtain a preset data dictionary, wherein the preset data dictionary stores available values ​​corresponding to different configuration dimensions; The dimension information of the configuration is obtained by constraining the actual values ​​of each configuration dimension according to the available values ​​corresponding to each configuration dimension in the preset data dictionary.

4. The system as claimed in claim 1, wherein, The configuration information maintenance client is also used for: According to the preset data synchronization cycle, the configuration information in the standard format established by the configuration information maintenance server is synchronized to the local configuration information maintenance client so as to obtain the configuration information in the standard format from the local configuration information maintenance client.

5. The system of claim 4, wherein, The configuration information maintenance server consists of multiple distributed configuration information maintenance servers, and the configuration information maintenance client is also used for: The target configuration information maintenance server is determined from multiple configuration information maintenance servers using a distributed service framework. The configuration information in the standard format established by the target configuration information maintenance server is synchronized to the local configuration information maintenance client.

6. The system of claim 1, wherein, The configuration information maintenance client is also used for: If it is determined from the standard data source that the configuration information in a standard format is to be obtained from the configuration request of the business application, then the configuration information of the business application that matches the configuration request of the business application is directly obtained from the configuration information in the standard format and provided to the corresponding business application. If it is determined from the extended data source that configuration information in an extended format is to be obtained based on the configuration request of the business application, then the configuration information in the extended format is standardized, and the configuration information of the business application that matches the configuration request of the business application is obtained from the standardized configuration information and provided to the corresponding business application.