CN115250231A - Application configuration method and device - Google Patents

Application configuration method and device Download PDF

Info

Publication number
CN115250231A
CN115250231A CN202210885100.1A CN202210885100A CN115250231A CN 115250231 A CN115250231 A CN 115250231A CN 202210885100 A CN202210885100 A CN 202210885100A CN 115250231 A CN115250231 A CN 115250231A
Authority
CN
China
Prior art keywords
configuration
application
deployed
version
matrix
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210885100.1A
Other languages
Chinese (zh)
Other versions
CN115250231B (en
Inventor
田梦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202210885100.1A priority Critical patent/CN115250231B/en
Publication of CN115250231A publication Critical patent/CN115250231A/en
Application granted granted Critical
Publication of CN115250231B publication Critical patent/CN115250231B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an application configuration method and device, belonging to network security, wherein the method comprises the following steps: determining information for configuring the application from a configuration matrix according to the service classification to which the application belongs, the environment to be deployed and the version to be deployed, wherein the configuration matrix determines the configuration information of each application under the corresponding condition through the service classification to which the application belongs, the environment to be deployed and the version to be deployed; and configuring the application according to the determined information. The invention can shorten the environmental deployment time and improve the efficiency. Complex requirements for the configuration of each application can be efficiently satisfied; reducing the occupation of the three-dimensional configuration matrix on the storage space; the reliability of the configuration can be ensured.

Description

Application configuration method and device
Technical Field
The present invention relates to the field of network security technologies, and in particular, to an application configuration method and apparatus.
Background
Application configuration and software media installation are important components of application deployment. With the continuous popularization of distributed architecture environments and micro-servitization scenarios, for large systems, such as large bank systems, efficient and correct implementation of application configuration and rapid deployment of software products have become increasingly concerned.
At present, after micro-servicing of a large-scale system, each micro-service and corresponding multiple application configurations and configuration items in a single configuration file even reach hundreds of thousands of lines. Any application configuration error is fatal to the correctness of the version deployment.
In addition, in combination with a parallel development test scenario, a scenario in which a plurality of deployment environments are deployed in parallel is involved in the whole development test flow, and versions corresponding to each deployment environment are different, which provides a great challenge to application configuration management.
The prior art is not sufficient in that no technical scheme is provided at present to support the configuration of the application under large-scale configuration, multiple deployment environments and multiple versions of configuration.
Disclosure of Invention
The embodiment of the invention provides an application configuration method, which is used for supporting the configuration of an application under large-scale configuration, multiple deployment environments and multiple versions, and comprises the following steps:
determining information for configuring the application from a configuration matrix according to the service classification to which the application belongs, the environment to be deployed and the version to be deployed, wherein the configuration matrix determines the configuration information of each application under the corresponding condition through the service classification to which the application belongs, the environment to be deployed and the version to be deployed;
and configuring the application according to the determined information.
An embodiment of the present invention further provides an application configuration apparatus, configured in a large-scale configuration, multiple deployment environments, and multiple versions, and including:
the information module is used for determining the information of the configured application from a configuration matrix according to the service classification to which the application belongs, the environment to be deployed and the version to be deployed, wherein the configuration matrix determines the configuration information of each application under the corresponding condition through the service classification to which the application belongs, the environment to be deployed and the version to be deployed;
and the configuration module is used for configuring the application according to the determined information.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the application configuration method when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the application configuration method.
An embodiment of the present invention further provides a computer program product, where the computer program product includes a computer program, and when the computer program is executed by a processor, the application configuration method is implemented.
In the technical scheme provided by the embodiment of the invention, the configuration information of the application is directly determined from the configuration matrix according to the service classification to which the application belongs, the environment to be deployed and the version to be deployed, and the configuration management thought is clearer and clearer through multi-dimensional configuration management, so that the configuration management is more flexible and reliable; due to the fact that the configuration matrix is generated, configuration of any dimensionality can be extracted at will, and therefore environment deployment time can be shortened, and efficiency is improved.
Furthermore, because the standard environment is adopted as the full version, the full configuration of other environments is generated, the standard environment is used as a medium, the characteristics, requirements and the like of the application are used as the increment, the relation between the incremental version and the full version is solved, and the complex requirements of the configuration for each application can be efficiently met;
furthermore, the occupation of the three-dimensional configuration matrix on the storage space can be reduced because the sparse matrix is used for storing the configuration matrix;
furthermore, the configuration information in the configuration matrix is verified through the configuration verification rule base, so that the reliability of configuration can be ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
FIG. 1 is a schematic flow chart illustrating an implementation of an application configuration method according to an embodiment of the present invention;
FIG. 2 is a diagram of an application configuration architecture in accordance with an embodiment of the present invention;
FIG. 3 is a flow chart illustrating an implementation of an application configuration according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a standard environment mapping according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an application configuration apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
The inventor notices in the process of invention that:
1. the release configuration under the large-scale configuration scene is easy to make mistakes.
For a large system, such as a large bank system, with hundreds of millions of users serving the large system, after a distributed architecture and micro-services are adopted, the size of a configuration file and the configuration amount of a single file are large, and if the configuration is generated by a manual means, not only is time wasted, but also manpower resources are greatly wasted, and meanwhile, the accuracy of the configuration is difficult to ensure.
2. Multiple deployment environments, multiple versions cross deployment.
Due to the development and test stage, the number of deployment environments involved is very large, and a plurality of complex parallel scenarios are provided. Each other environment needs to be deployed respectively, versions needing to be deployed are different, and the versions are also distinguished from full versions and incremental versions, so that the situation is complex, and the workload is greatly increased.
Therefore, with the continuous popularization of a distributed architecture environment and a micro-servitization scene, for a large-scale system, how to perform correct and efficient software version deployment is very worthy of attention, which also provides great challenges for application configuration management.
The technical scheme provided by the embodiment of the invention solves the technical problem of how to carry out correct and efficient configuration management in large-scale configuration, multiple deployment environments and multiple versions of configuration.
Fig. 1 is a schematic flow chart of an implementation of an application configuration method, as shown in the figure, the implementation may include:
step 101, determining information of configuration applications from a configuration matrix according to service classes to which the applications belong, environments to be deployed and versions to be deployed, wherein the configuration matrix determines the configuration information of each application under corresponding conditions according to the service classes to which the applications belong, the environments to be deployed and the versions to be deployed;
and 102, configuring the application according to the determined information.
In implementation, the configuration matrix is generated as follows:
determining a standard environment;
generating a standard configuration for a standard environment, and maintaining the standard configuration as a configuration matrix of a full version;
and aiming at the standard configuration, generating the configuration of each application according to the service classification to which each application belongs, the environment to be deployed and the version to be deployed, and sending the configuration of each application as the configuration matrix of the incremental version of each application to each application.
Specifically, the standard environment can also be regarded as a basic environment, a necessary environment, and the same environment; for example, just like a building, every room is the same at the beginning, but every room changes as each user uses the building according to the needs of the user, and each room at the beginning can be regarded as a standard environment no longer. The same is true for applications that initially perform only basic, necessary functions, but the configuration requirements vary from service to service, deployment environment, version to version.
When the method is implemented, a standard environment is constructed, then a standard configuration is generated and maintained, and then an incremental version is formed for each application by taking the standard version as a full version according to the service classification of each application, the environment to be deployed and the version to be deployed.
In the specific implementation, the method further comprises the following steps:
and when the application version is changed, generating the configuration of the changed application according to the service classification to which the changed application belongs, the environment to be deployed and the version to be deployed aiming at the standard configuration, and sending the configuration of the changed application as the configuration matrix of the incremental version of the changed application to the application.
Specifically, when the version of the application is updated, the incremental version is formed for each new version of the application by taking the standard version as the full version.
The following is an example.
Fig. 2 is a schematic diagram of an application configuration architecture, which is shown as at least one architecture capable of implementing application configuration, and it should be noted that the architecture is more provided for convenience of description, and does not represent the only manner in which the functions can be combined, and the architecture mainly includes: the device comprises a configuration generation module, a configuration storage processing module and a configuration checking module.
1. The configuration is converted to a full configuration in a standard environmental method.
In the daily version release process, both incremental versions and full versions exist. In the technical solution provided in the embodiment of the present invention, a standard environment method is provided, in which a standard environment is used as a medium, and a configuration is issued to the standard environment, and the standard environment is used as a reference to generate a total configuration of other environments.
2. And managing application configuration by a three-dimensional matrix method of the configuration generation module.
In the technical scheme provided by the embodiment of the invention, the three-dimensional configuration matrix management scheme is provided by extracting the key variables of time (version release), environment and service, each configuration file is a point in the whole configuration matrix, and two key variables can form a plane, so that the configuration can be freely and flexibly extracted according to the situation, and the flexible, reliable and efficient configuration acquisition is realized.
3. And configuring a storage processing module.
In the implementation, the method can further comprise the following steps:
storing the configuration matrix using a sparse matrix.
Specifically, the three-dimensional configuration matrix needs to occupy a large amount of space, so that a sparse matrix method can be applied to the configuration storage in implementation. This will greatly reduce the memory space occupied by the three-dimensional configuration matrix.
4. And configuring a checking module.
In the implementation, the method can further comprise the following steps:
and verifying the configuration information in the configuration matrix through a configuration verification rule base.
Specifically, the generated configuration can be verified by maintaining the configuration verification rule base and processing the configuration verification module, so that the reliability of the configuration can be ensured.
The rules in the rule base may be configured empirically or may be determined based on logic inherent in the application, e.g., under what circumstances the input information A should produce a result B, and if not, the configuration of the application is incorrect; taking banking as an example, the loan and balance are balanced, and if the rule is violated, the configuration of the application is wrong.
Fig. 3 is a schematic diagram of an application configuration implementation process, as shown in the figure, the configuration matrix generation, storage and reliability check process may include:
inputting an increasing/full version configuration sequence;
carrying out version configuration mapping;
standard environment/configuration, service/configuration item input, environment suite input;
the configuration matrix generation module executes;
configuring a three-dimensional configuration matrix;
configuring a checking rule base, and configuring a checking module to execute;
and configuring the storage module to execute.
The following describes specific implementations of the modules.
The scheme is mainly characterized in that a configuration generation path is subjected to standard normalization through a standard environment method, then application configuration is managed through a three-dimensional matrix method, and key processes of an application configuration management process are extracted, so that the configuration management process is simplified, and a foundation is laid for the correctness and convenience of subsequent environment deployment.
1. And (3) configuring a management scheme for the three-dimensional matrix.
The application configuration is managed in a matrix mode, and three dimensions of the matrix are service classification, deployment environment and time (version release condition). The three-dimensional configuration matrix is gradually generated and updated. As long as the service, environment and version to be deployed are determined, a configuration can be uniquely confirmed. Similarly, the cross section of the three-dimensional matrix can be obtained in other ways to obtain all configurations of the specified environment and the specified version; or a specified version, specifying all configurations of the microservice. The management of subsequent configurations is more flexible and convenient.
2. Configuration full-scale conversion is achieved by continuously maintaining a standard environment.
In an implementation, the method may further include generating the configuration matrix as follows:
determining a standard environment;
generating a standard configuration for a standard environment, and maintaining the standard configuration as a configuration matrix of a full version;
and aiming at the standard configuration, generating the configuration of each application according to the service classification to which each application belongs, the environment to be deployed and the version to be deployed, and sending the configuration of each application as the configuration matrix of the incremental version of each application to each application.
In specific implementation, the method may further include:
and when the application version is changed, generating the configuration of the changed application according to the service classification to which the changed application belongs, the environment to be deployed and the version to be deployed aiming at the standard configuration, and issuing the configuration to the application as the configuration matrix of the incremental version of the changed application.
Specifically, each version of application configuration is continuously maintained to the standard environment, and then the standard configuration is generated by depending on the standard environment. The current version is divided into a full version and an incremental version, the full version is generated at some key special time points, and the other versions are incremental versions. After each version is maintained to the standard environment, regardless of the full version or the incremental version, all the configurations on the standard environment are full versions, and then the full configurations of other sets of environments can be generated in a targeted manner by pulling the configurations of the standard environment.
3. The configuration generation module generates a three-dimensional configuration matrix.
Fig. 4 is a schematic diagram of standard environment mapping, and as shown in the figure, the standard environment mapping to the complete application configuration matrix can be completed by the configuration generation module. The configurations in the standard environment are full, and the configuration generation module generates a three-dimensional configuration matrix based on the configurations in the standard environment. The configuration generation module divides the configuration into two parts, wherein one part is used as a basic configuration and all environments are the same, and the other part is used as a change configuration; the configuration generation module precipitates the changed configuration as a "configured configuration", periodically (versioned) generates a three-dimensional configuration matrix through a standard environment using the "configured configuration", and each generated configuration file is configured based on a full version of a time (version) sequence.
4. The configuration storage processing module compresses a configuration matrix storage space.
In the configuration storage processing module, there are many configuration items in each configuration file, and the final three-dimensional configuration matrix needs to retain data for a long time, and occupies a large storage space. The problem of configuration preservation can therefore be solved using sparse matrices.
For example, triplets and cross-linked lists may be employed.
A triplet is a set of fingers (x, y, z) (that is, a triplet is an even whose first projection is also an even), often abbreviated as (x, y, z).
Triplets are a common basic course of computer expertise-concepts in data structures. It is mainly a compression method for storing sparse matrix, also called ternary group table. Assuming that a triple table (triple table) is represented by a sequential storage structure, a compressed storage manner of the sparse matrix, that is, a triple sequential table, is obtained.
An Orthogonal List (Orthogonal List) is another type of chained storage structure for directed graphs. The structure can be seen as a combination of the adjacency and inverse adjacency tables of the directed graph. The digraphs are stored by the cross chain table, so that the efficient access effect can be achieved. At the same time, the readability of the code is also improved.
5. And the configuration verification module completes configuration reliability verification.
After the configuration generation is completed, the configuration can be verified through the rule base, and the accuracy and the effectiveness of the configuration are ensured. The configuration checking module is adapted to the configuration storage module to complete the checking of the configuration. The verification rule module may use a version maintained rule base to complete the verification.
An application configuration apparatus is also provided in the embodiments of the present invention, as described in the following embodiments. Because the principle of the device for solving the problems is similar to that of the application configuration method, the implementation of the device can refer to the implementation of the application configuration method, and repeated details are not repeated.
Fig. 5 is a schematic structural diagram of an application configuration device, which may include:
an information module 501, configured to determine information of configured applications from a configuration matrix according to service classifications to which the applications belong, environments to be deployed, and versions to be deployed, where the configuration matrix determines configuration information of each application under a corresponding condition according to the service classifications to which the applications belong, the environments to be deployed, and the versions to be deployed;
a configuration module 502, configured to configure the application according to the determined information.
In an implementation, the method further comprises the following steps:
a generating module 503, configured to generate the configuration matrix as follows:
determining a standard environment;
generating a standard configuration for a standard environment, and maintaining the standard configuration as a configuration matrix of a full version;
and aiming at the standard configuration, generating the configuration of each application according to the service classification to which each application belongs, the environment to be deployed and the version to be deployed, and sending the configuration of each application as the configuration matrix of the incremental version of each application to each application.
In implementation, the generating module is further configured to, when the version of the application is changed, generate, for the standard configuration, the configuration of the changed application according to the service class to which the changed application belongs, the environment to be deployed, and the version to be deployed, and send the configuration matrix as the incremental version of the changed application to the application.
In an implementation, the method further comprises the following steps:
a storage module 504 configured to store the configuration matrix using a sparse matrix.
In an implementation, the method further comprises the following steps:
and the checking module 505 is configured to check the configuration information in the configuration matrix through a configuration checking rule base.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the application configuration method when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the application configuration method is implemented.
An embodiment of the present invention further provides a computer program product, where the computer program product includes a computer program, and when the computer program is executed by a processor, the application configuration method is implemented.
In the embodiment of the invention, a configuration management scheme based on a three-dimensional matrix (multi-dimensional matrix) is provided; generating a standard configuration scheme by relying on an intermediate environment medium (a standard environment method); the three (multi) -dimensional configuration matrix is stored by a compressed storage method such as a sparse matrix; a rule repository is configured to verify the schema of the configuration file.
In the technical scheme provided by the embodiment of the invention, the configuration information of the application is directly determined from the configuration matrix according to the service classification to which the application belongs, the environment to be deployed and the version to be deployed, and the configuration management thought is clearer and clearer through multi-dimensional configuration management, so that the configuration management is more flexible and reliable; due to the fact that the configuration matrix is generated, configuration of any dimensionality can be extracted at will, and therefore environment deployment time can be shortened, and efficiency is improved.
Furthermore, because the standard environment is adopted as the full version, the full configuration of other environments is generated, the standard environment is used as a medium, the characteristics, requirements and the like of the application are used as the increment, the relation between the incremental version and the full version is solved, and the complex requirements of the configuration for each application can be efficiently met;
furthermore, the occupation of the three-dimensional configuration matrix on the storage space can be reduced because the sparse matrix is used for storing the configuration matrix;
furthermore, the configuration information in the configuration matrix is verified through the configuration verification rule base, so that the reliability of configuration can be ensured.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (13)

1. An application configuration method, comprising:
determining information for configuring the application from a configuration matrix according to the service classification to which the application belongs, the environment to be deployed and the version to be deployed, wherein the configuration matrix determines the configuration information of each application under the corresponding condition through the service classification to which the application belongs, the environment to be deployed and the version to be deployed;
and configuring the application according to the determined information.
2. The method of claim 1, further comprising generating the configuration matrix as follows:
determining a standard environment;
generating a standard configuration for a standard environment, and maintaining the standard configuration as a configuration matrix of a full version;
and aiming at the standard configuration, generating the configuration of each application according to the service classification to which each application belongs, the environment to be deployed and the version to be deployed, and sending the configuration of each application as the configuration matrix of the incremental version of each application to each application.
3. The method of claim 2, further comprising:
and when the application version is changed, generating the configuration of the changed application according to the service classification to which the changed application belongs, the environment to be deployed and the version to be deployed aiming at the standard configuration, and sending the configuration of the changed application as the configuration matrix of the incremental version of the changed application to the application.
4. The method of any of claims 1 to 3, further comprising:
storing the configuration matrix using a sparse matrix.
5. The method of any of claims 1 to 3, further comprising:
and verifying the configuration information in the configuration matrix through a configuration verification rule base.
6. An application configuration apparatus, comprising:
the information module is used for determining the information of the configured application from the configuration matrix according to the service classification to which the application belongs, the environment to be deployed and the version to be deployed, wherein the configuration matrix determines the configuration information of each application under the corresponding condition through the service classification to which the application belongs, the environment to be deployed and the version to be deployed;
and the configuration module is used for configuring the application according to the determined information.
7. The apparatus of claim 6, further comprising:
a generating module, configured to generate the configuration matrix as follows:
determining a standard environment;
generating a standard configuration for a standard environment, and maintaining the standard configuration as a configuration matrix of a full version;
and aiming at the standard configuration, generating the configuration of each application according to the service classification to which each application belongs, the environment to be deployed and the version to be deployed, and sending the configuration of each application as the configuration matrix of the incremental version of each application to each application.
8. The apparatus of claim 7, wherein the generating module is further configured to, when the version of the application is changed, generate, for the standard configuration, a configuration of the changed application according to a service class to which the changed application belongs, an environment to be deployed, and a version to be deployed, and send the configuration matrix as the incremental version of the changed application to the application.
9. The apparatus of any of claims 6 to 8, further comprising:
a storage module to store the configuration matrix using a sparse matrix.
10. The apparatus of any of claims 6 to 8, further comprising:
and the verification module is used for verifying the configuration information in the configuration matrix through a configuration verification rule base.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 5 when executing the computer program.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the method of any of claims 1 to 5.
13. A computer program product, characterized in that the computer program product comprises a computer program which, when being executed by a processor, carries out the method of any one of claims 1 to 5.
CN202210885100.1A 2022-07-26 2022-07-26 Application configuration method and device Active CN115250231B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210885100.1A CN115250231B (en) 2022-07-26 2022-07-26 Application configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210885100.1A CN115250231B (en) 2022-07-26 2022-07-26 Application configuration method and device

Publications (2)

Publication Number Publication Date
CN115250231A true CN115250231A (en) 2022-10-28
CN115250231B CN115250231B (en) 2024-04-16

Family

ID=83699821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210885100.1A Active CN115250231B (en) 2022-07-26 2022-07-26 Application configuration method and device

Country Status (1)

Country Link
CN (1) CN115250231B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030187722A1 (en) * 2002-03-29 2003-10-02 Hideki Kobayashi Method of supporting product life cycle planning and apparatus for executing the same
US20120180024A1 (en) * 2011-01-07 2012-07-12 International Business Machines Corporation Synchronizing development code and deployed executable versioning within distributed systems
CN111552644A (en) * 2020-04-28 2020-08-18 成都库珀区块链科技有限公司 Micro-service architecture-based software continuous integration method
CN111857738A (en) * 2020-08-05 2020-10-30 北京千丁互联科技有限公司 Privatization deployment method and device
CN114721952A (en) * 2022-04-07 2022-07-08 平安科技(深圳)有限公司 Method, device, equipment and storage medium for synchronously deploying multiple sets of test environments

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030187722A1 (en) * 2002-03-29 2003-10-02 Hideki Kobayashi Method of supporting product life cycle planning and apparatus for executing the same
US20120180024A1 (en) * 2011-01-07 2012-07-12 International Business Machines Corporation Synchronizing development code and deployed executable versioning within distributed systems
CN111552644A (en) * 2020-04-28 2020-08-18 成都库珀区块链科技有限公司 Micro-service architecture-based software continuous integration method
CN111857738A (en) * 2020-08-05 2020-10-30 北京千丁互联科技有限公司 Privatization deployment method and device
CN114721952A (en) * 2022-04-07 2022-07-08 平安科技(深圳)有限公司 Method, device, equipment and storage medium for synchronously deploying multiple sets of test environments

Also Published As

Publication number Publication date
CN115250231B (en) 2024-04-16

Similar Documents

Publication Publication Date Title
CN107273286B (en) Scene automatic test platform and method for task application
US9639444B2 (en) Architecture for end-to-end testing of long-running, multi-stage asynchronous data processing services
CN107391635A (en) Data synchronous system and method
CN102236672A (en) Method and device for importing data
CN103412749A (en) Relational database based code generation method and code generator
CN106886535A (en) A kind of data pick-up method and apparatus for being adapted to multiple data sources
US20200371902A1 (en) Systems and methods for software regression detection
CN106557307A (en) The processing method and processing system of business datum
Bellettini et al. Mardigras: Simplified building of reachability graphs on large clusters
CN111144082A (en) Multi-table iterative calculation method and device, electronic equipment and storage medium
CN111399828A (en) Model-driven logic device modeling method and terminal
CN111966760A (en) Hive data warehouse-based test data generation method and device
CN113326026B (en) Method and terminal for generating micro-service business process interface
CN105677427A (en) Module upgrading method and device
CN105447003A (en) Parameter set generation method and device
CN115250231A (en) Application configuration method and device
US11074294B2 (en) System and method for Directed Acyclic Graph (DAG) encoding into hash linked blocks
CN111813769B (en) Data processing method and device
CN113076365A (en) Data synchronization method and device, electronic equipment and storage medium
CN112035471A (en) Transaction processing method and computer equipment
US11036471B2 (en) Data grouping for efficient parallel processing
CN113157934A (en) Knowledge graph origin processing method and system, electronic device and storage medium
CN112686759A (en) Account checking monitoring method, device, equipment and medium
CN112181825A (en) Test case library construction method and device, electronic equipment and medium
CN101145954A (en) Implementation method for piling class of communication function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant