Unified management method and device for global service configuration, equipment and storage medium
By obtaining global common and regional requirements configuration information, generating database configuration tables, and dynamically loading them to the Redis server without interrupting services, the unified management of business configuration is realized, and the problem of configuration consistency in different regions is solved, management efficiency is improved and IT costs are reduced.
Patent Information
- Application Number
- CN202411976227.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-05-02
AI Technical Summary
Different regions use different versions of business configurations, making it difficult to maintain consistency.
By obtaining global common requirements configuration information and regional requirements configuration information, the corresponding database configuration table is generated, and dynamically loading and configuration to the Redis server without interrupting service to achieve unified directory management.
It solves the problem that it is difficult to maintain consistency in configurations in different regions, improves the unified management efficiency of business configurations, and reduces IT costs.
Smart Images

Figure CN119917156A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to a unified management method, device, equipment and readable storage medium for global business configuration. Background Art
[0002] The complex needs of enterprise businesses in different regions place high demands on configuration management. Enterprises need to cope with differences in laws and regulations, languages, currencies, time zones, and business processes.
[0003] In existing technologies, business configurations in different regions may require different skills and knowledge, and enterprises need to invest a lot of resources in employee training and system maintenance. In addition, different regions may repeatedly invest in similar technologies and tools, which not only wastes resources but also increases overall IT costs.
[0004] In view of this, this application is filed. Summary of the invention
[0005] The present invention discloses a unified management method, device, equipment and readable storage medium for global business configuration, aiming to solve the problem that different versions of configurations used in different regions are difficult to maintain consistency.
[0006] The first embodiment of the present invention provides a unified management method for global service configuration, including:
[0007] Acquire global common demand configuration information, and generate an incremental DML script of a global common configuration table of a database according to the global common demand configuration information;
[0008] Generate a global general configuration table for the database according to the incremental DML script of the global general configuration table for the database, initialize the global layer environment according to the initialization optimization information, and share the content of the global general configuration table for the database to the regional layer through a unified interface;
[0009] Acquire regional demand configuration information, change the database regional configuration table according to the regional demand configuration information, and initialize the regional layer environment according to the changed database regional configuration table, wherein the database regional configuration table is used to store initialization data of each regional data center;
[0010] When the regional layer environment is initially completed and the service is not interrupted, the regional demand configuration information is dynamically loaded into the Redis server of the target area;
[0011] The middleware modules of the regional layer are managed in a unified directory, wherein the middleware configuration modules that can change the configuration file path are directly migrated to the preset unified directory, and the middleware configuration modules that cannot change the configuration file path are migrated to the preset unified directory using a soft link.
[0012] Preferably, the regional layer environment is initialized according to the initialization optimization information, specifically:
[0013] The parameter variables of the initialization optimization information are automatically stored in the database area configuration table, and the association relationship between the regional layer environment identifier and the login information of the corresponding server is maintained based on the initialization optimization information, wherein the parameter variables are accompanied by a version number and Coexists with previous variables of the same name;
[0014] The server type is determined according to the purpose attribute of the initialization optimization information, and the update is triggered to Jenkins in real time, wherein the Jenkins can realize the configuration difference comparison of the target server and the execution of incremental instructions through the channel of NodeRed.
[0015] Preferably, the server types include back-end application servers, front-end application servers, middleware servers, and operation and maintenance servers.
[0016] Preferably, after obtaining the regional demand configuration information, changing the database regional configuration table according to the regional demand configuration information, and initializing the regional layer environment according to the changed database regional configuration table, the method further includes:
[0017] When it is determined based on the version iteration requirement that the content of the database area business benchmark table needs to be changed, the content to be modified is saved in the database configuration table and the version number is marked, and a complete database area business benchmark table modification command DML file is received, wherein the complete database area business benchmark table modification command DML file can use variables to mark the parts that need to be adjusted in different environments;
[0018] Based on the complete database area business benchmark table modification command DML file, Jenkins is automatically triggered, and NodeRed automatically compares the differences between the existing content of the database and the content that needs to be updated, and updates the part that needs to be changed.
[0019] Preferably, when the regional layer environment is initially completed and the service is not interrupted, the regional demand configuration information is dynamically loaded into the Redis server of the target area, specifically:
[0020] When it is determined that the Redis hot loading configuration needs to be changed based on the version iteration requirements, the content to be modified is saved in the database area configuration table and the version number is marked, and the final Redis hot loading configuration file is received, wherein the configuration values associated with different areas in the final Redis hot loading configuration file are marked with variables;
[0021] The Redis hot loading configuration file based on the final state automatically triggers Jenkins, and the full data initialization of the target Redis environment is achieved through NodeRed.
[0022] A second embodiment of the present invention provides a unified management device for global service configuration, including:
[0023] A global general configuration processing unit, used to obtain general demand configuration information, and generate an incremental DML script of the content of the global general configuration table of the database according to the global general demand configuration information;
[0024] A sharing unit, configured to generate a global general configuration table of the database according to an incremental DML script of the global general configuration table of the database, initialize the global layer environment according to the initialization optimization information, and share the content of the global general configuration table of the database to the regional layer through a unified interface;
[0025] A regional initialization unit, used to obtain regional demand configuration information, change the database regional configuration table according to the regional demand configuration information, and initialize the regional layer environment according to the changed database regional configuration table, wherein the database regional configuration table is used to store initialization data of each regional data center;
[0026] A hot loading configuration unit, used to dynamically load the regional demand configuration information into the Redis server of the target area when the regional layer environment is initially completed and without interrupting the service;
[0027] The middleware configuration unit is used to perform unified directory management on the middleware modules of the regional layer, wherein the middleware configuration modules that can change the configuration file path are directly migrated to the preset unified directory, and the middleware configuration modules that cannot change the configuration file path are migrated to the preset unified directory using a soft connection method.
[0028] A third embodiment of the present invention provides a unified management device for global business configuration, including a memory and a processor, wherein the memory stores a computer program, and the computer program can be executed by the processor to implement a unified management method for global business configuration as described in any one of the above.
[0029] A fourth embodiment of the present invention provides a computer-readable storage medium, characterized in that a computer program is stored therein, and the computer program can be executed by a processor of a device where the computer-readable storage medium is located to implement a unified management method for global business configuration as described in any one of the above items.
[0030] Based on the unified management method, device, equipment and readable storage medium of global business configuration provided by the present invention, firstly, the global general demand configuration is processed, and the database change script is generated, which is used to create the global general configuration table and initialize the global layer environment, and then these configurations are shared to the regional layer through a unified interface; then the region-specific demand configuration is processed, the regional configuration table is updated and the regional layer environment is initialized; while ensuring that the system does not interrupt service, the configuration is dynamically loaded to the Redis server; finally, the middleware module of the regional layer is managed through a unified directory management method (direct migration or soft link). The problem that different versions of configurations are used in different regions and it is difficult to maintain consistency is solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a flowchart of a unified management method for global business configuration provided by the first embodiment of the present invention;
[0032] Figure 2 It is a module diagram of a unified management device for global business configuration provided by the second embodiment of the present invention. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0034] In order to better understand the technical solution of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0035] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0037] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0038] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0039] The "first\second" mentioned in the embodiments is only to distinguish similar objects, and does not represent a specific order for the objects. It is understandable that the "first\second" can be interchanged with the specific order or sequence where permitted. It should be understood that the objects distinguished by "first\second" can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than those illustrated or described herein.
[0040] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0041] The present invention discloses a unified management method, device, equipment and readable storage medium for global business configuration, aiming to solve the problem that different versions of configurations used in different regions are difficult to maintain consistency.
[0042] See also Figure 1 The first embodiment of the present invention provides a unified management method for global service configuration, which can be executed by a unified management device for global service configuration (hereinafter referred to as management device), and in particular, executed by one or more processors in the management device to implement at least the following steps:
[0043] S101, obtaining global common demand configuration information, and generating incremental DML statements for the content of the global common configuration table of the database according to the global common demand configuration information;
[0044] In this embodiment, the management device may be a terminal with data processing capabilities such as a server, a desktop computer, a workstation, etc., and the management device may be installed with a corresponding operating system and application software, and the functions required by this embodiment are realized through the combination of the operating system and the application software;
[0045] It should be noted that the management device receives general demand configuration information from various departments or business teams through the user interface or API interface, including but not limited to database table structure change requirements, performance optimization parameters and other basic configurations. After the general demand configuration information is parsed, it enters the unified management module for processing.
[0046] S102, generating a global general configuration table of the database according to an incremental DML script of the content of the global general configuration table of the database, initializing the global layer environment according to the initialization optimization information, and sharing the content of the global general configuration table of the database to the regional layer through a unified interface;
[0047] Specifically, in this embodiment, the management device automatically generates a global configuration table for initialization based on the incremental DML script of the global configuration table of the database. The global configuration table of the database contains the core configuration, which serves as a reference template for subsequent environment initialization. The method based on the incremental DML script generation can accurately reflect the latest changes in the configuration and effectively avoid errors that may be caused by traditional manual operations.
[0048] During the initialization process of the global layer, the management device automatically stores the optimized parameter variables in the global configuration table of the database based on the initialization optimization information. These parameter variables are accompanied by version numbers and coexist with previous variables of the same name to ensure compatibility between versions and smooth transitions. For example, when a parameter needs to be adjusted due to the launch of a new version, the new variable can take effect immediately, while the old variable is retained for compatibility with services that depend on the old version, thereby avoiding impact on existing businesses. In addition, the management device maintains the association between the regional layer environment identifier and the corresponding server login information based on the initialization optimization information. This dynamic management mechanism ensures that the login information of the regional server is always consistent with the actual environment.
[0049] According to the usage attributes of the initialization optimization information, the management device further determines the server type and triggers real-time updates to Jenkins. As an automated deployment platform, Jenkins can achieve accurate comparison of target server configuration differences and efficient execution of incremental instructions through integration with the NodeRed channel. For example, after detecting the configuration update requirements of a middleware application server, Jenkins can obtain the difference information in real time, generate the corresponding incremental update instructions, and send them to the target server through the NodeRed channel.
[0050] S103, obtaining regional demand configuration information, changing the database regional configuration table according to the regional demand configuration information, and initializing the regional layer environment according to the changed database regional configuration table, wherein the database regional configuration table is used to store initialization data of each regional data center;
[0051] In this embodiment, regional demand configuration information is obtained from the regional demand collection system. This information is submitted by the business team of each region based on the actual local needs, including but not limited to legal and regulatory requirements, currency units, language environment and specific business processes. All regional demand information is uniformly recorded and stored in the database, with a version number attached for subsequent version management and traceability.
[0052] After obtaining the regional demand configuration information, the management device performs changes to the database regional configuration table based on this information. The database regional configuration table is an initialization data storage structure designed specifically for regional data centers. Its content includes configuration parameters, initialization scripts, and personalized presets for each region. Based on the differences in regional needs, the management device automatically analyzes the existing database configuration table content, calculates the parts that need to be changed, and generates a change script. This can be automatically completed by the Jenkins pipeline through the NodeRed module. After the change is completed, the management device initializes the operating system at the regional layer. During the initialization process, the changed database regional configuration table is used as the core data source, and its content is distributed to each target server at the regional layer through a unified interface.
[0053] S104, when the regional layer environment is initially completed and the service is not interrupted, dynamically loading the demand configuration of the regional demand configuration information into the Redis server of the target area;
[0054] In this embodiment, the regional demand configuration information is preliminarily organized and stored through the management process of version iteration requirements. After the initial configuration is completed in the regional layer environment, the management device triggers the Redis configuration dynamic loading mechanism in real time. Based on the distributed caching capability of Redis, the regional personalized configuration is parsed and dynamically distributed based on a unified configuration management platform. In this process, the parameters related to different regions in the configuration file are defined in the form of variable tags, such as ${key}, so that the management device can replace and inject values according to the actual needs of the target area.
[0055] When the management device is ready to load the configuration, the Jenkins pipeline starts the dynamic loading task through the NodeRed module. This task first extracts the latest regional requirement configuration from the database regional configuration table and performs integrity and consistency verification to ensure the reliability of the configuration file. At the same time, Redis's hot loading feature allows new configuration items to be updated directly to the cache without restarting the service. This mechanism enables seamless switching of configurations, making new configuration items effective immediately without interrupting existing business. In order to further improve the accuracy of dynamic loading, the management device compares the existing data of the target Redis environment before loading to ensure that only the changed parts are updated without affecting the original global configuration. This process is implemented through a differential comparison algorithm, which greatly reduces the risk of configuration coverage and conflict. After loading is complete, the management device will record the version number and related operation logs of this update to provide data support for subsequent backtracking and problem location.
[0056] S105, performing unified directory management on the middleware modules of the regional layer, wherein the middleware configuration modules that can change the configuration file path are directly migrated to the preset unified directory, and the middleware configuration modules that cannot change the configuration file path are migrated to the preset unified directory using a soft link.
[0057] It should be noted that during the implementation process, first of all, based on the characteristics of the middleware module, it is identified whether the configuration file path is variable. For modules that can change the configuration file path, the management device automatically extracts the current path information through the configuration management tool and generates a corresponding unified directory path mapping table. Subsequently, the configuration files of these modules are migrated to a unified directory, which is organized according to the logical division of the regional layer, such as naming with regional ID or functional grouping, to facilitate subsequent rapid positioning and retrieval. At the same time, through the dynamic configuration update mechanism, the management device automatically modifies the module's configuration file reference path to ensure that the migrated module can operate normally.
[0058] For middleware modules whose configuration file paths cannot be changed, soft link technology is used to achieve the goal of migration to a unified directory. In this process, the management device first detects the original path of the module and creates a soft link corresponding to the original path in the preset unified directory. The creation of soft links is performed by automated scripts to ensure efficient and repeatable operations. In addition, to avoid path conflicts or incorrect references, the script will verify the existing links in the unified directory to ensure their uniqueness and correct pointing.
[0059] In a possible implementation of the present invention, after obtaining the regional demand configuration information, changing the database regional configuration table according to the regional demand configuration information, and initializing the regional layer environment according to the changed database regional configuration table, the method further includes:
[0060] Specifically, in order to achieve efficient management and dynamic updating of the database area configuration table, the management device has designed an automated database change process for version iteration requirements. When it is determined that the database area configuration table needs to be changed, all variables are first saved to the database, and the version number is marked for each change record. At the same time, the management device receives a complete database modification command DML file as a direct driver for the change operation. The DML file contains modification commands for the database table, such as insert, update, and delete operations, and allows the use of variables to mark parts that need to be adjusted in different environments. For example, in some production environments, variables may correspond to specific table names, field names, or data paths, while in development or test environments, these variables will be replaced with values that match the actual environment. This variable marking mechanism significantly improves the versatility of database modification commands, allowing the same DML file to be flexibly adapted to multiple environments.
[0061] After receiving and parsing the DML file, the management device automatically triggers the Jenkins task based on the file content and starts executing the database change process. Jenkins, as the core task scheduling and execution platform, is deeply integrated with the NodeRed channel to jointly complete the difference comparison between the existing content of the database and the changed content defined in the DML file. NodeRed is responsible for parsing the actual status of the current database. By comparing the existing content with the target status in the DML file, it accurately locates the part that needs to be updated and generates the corresponding incremental update instructions. This update mechanism based on difference comparison avoids redundant operations on the entire content of the database, and only modifies the parts that actually need to be changed, which significantly improves the update efficiency and reduces the risks that may be caused by operational errors.
[0062] During the update process, the management device ensures that all modification operations are executed in the form of transactions, ensuring the consistency and integrity of the database state. For example, when an update operation fails, the management device will immediately trigger the rollback mechanism to restore the database to the state before the update, thereby avoiding the impact of incomplete updates on business operations. At the same time, after the update is completed, the management device will automatically generate a detailed operation log, including the execution time of each modification step, the modification content, and the relevant version number information.
[0063] See also Figure 2 The second embodiment of the present invention provides a unified management device for global service configuration, including:
[0064] The global general configuration processing unit 201 is used to obtain the global general requirement configuration information, and generate an incremental DML script of the content of the global general configuration table of the database according to the global general requirement configuration information;
[0065] A sharing unit 202 is used to generate a global general configuration table of the database according to an incremental DML script of the content of the global general configuration table of the database, initialize the global layer environment according to the initialization optimization information, and share the content of the global general configuration table of the database to the regional layer through a unified interface;
[0066] The regional initialization unit 203 is used to obtain regional demand configuration information, change the database regional configuration table according to the regional demand configuration information, and initialize the regional layer environment according to the changed database regional configuration table, wherein the database regional configuration table is used to store initialization data of each regional data center;
[0067] The hot loading configuration unit 204 is used to dynamically load the demand configuration of the regional demand configuration information into the Redis server of the target area when the regional layer environment is initially completed without interrupting the service;
[0068] The middleware configuration unit 205 is used to perform unified directory management on the middleware configuration modules of the regional layer, wherein the middleware configuration modules that can change the configuration file path are directly migrated to the preset unified directory, and the middleware configuration modules that cannot change the configuration file path are migrated to the preset unified directory using a soft connection method.
[0069] A third embodiment of the present invention provides a unified management device for global business configuration, including a memory and a processor, wherein the memory stores a computer program, and the computer program can be executed by the processor to implement a unified management method for global business configuration as described in any one of the above.
[0070] A fourth embodiment of the present invention provides a computer-readable storage medium, characterized in that a computer program is stored therein, and the computer program can be executed by a processor of a device where the computer-readable storage medium is located to implement a unified management method for global business configuration as described in any one of the above items.
[0071] Based on the unified management method, device, equipment and readable storage medium of global business configuration provided by the present invention, firstly, the global general demand configuration is processed, and the database change script and system initialization information are generated, which are used to create the global general configuration table and initialize the global layer environment, and then these configurations are shared with the regional layer through a unified interface; then the region-specific demand configuration is processed, the regional configuration table is updated and the regional layer environment is initialized; while ensuring that the system does not interrupt service, the configuration is dynamically loaded into the Redis server; finally, the middleware module of the regional layer is managed through a unified directory management method (direct migration or soft link). The problem that different versions of configurations are used in different regions and it is difficult to maintain consistency is solved.
[0072] Exemplarily, the computer program described in the third embodiment and the fourth embodiment of the present invention may be divided into one or more modules, and the one or more modules are stored in the memory and executed by the processor to complete the present invention. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the unified management device for implementing a global business configuration. For example, the device described in the second embodiment of the present invention.
[0073] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the unified management method for global service configuration, and uses various interfaces and lines to connect the various parts of the unified management method for global service configuration.
[0074] The memory can be used to store the computer program and / or module, and the processor realizes various functions of a unified management method for global business configuration by running or executing the computer program and / or module stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, a text conversion function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, text message data, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0075] Wherein, if the implemented module is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0076] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0077] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A unified management method for global business configuration, characterized in that: include: Acquire global common demand configuration information, and generate incremental DML statements for the content of the global common configuration table of the database according to the global common demand configuration information; Generate a global general configuration table for the database according to the incremental DML statement of the global general configuration table for the database, initialize the global layer environment according to the content of the global general configuration table, and share the configuration to the regional layer through a unified interface; Acquire regional demand configuration information, change the content of the database regional configuration table according to the regional demand configuration information, and initialize the regional layer environment according to the changed content of the database regional configuration table, wherein the database regional configuration table is used to store initialization data of each regional data center; When the regional layer environment is initially completed and the service is not interrupted, the regional demand configuration information is dynamically loaded into the Redis server of the target area; The middleware configuration modules of the regional layer are managed in a unified directory, wherein the middleware configuration modules that can change the configuration file path are directly migrated to the preset unified directory, and the middleware configuration modules that cannot change the configuration file path are migrated to the preset unified directory using a soft link.
2. A unified management method for global business configuration according to claim 1, characterized in that: The initialization of the regional layer environment is specifically as follows: Automatically storing the parameter variables of the initialization optimization information into the database regional configuration table, and maintaining the association between the regional layer environment identifier and the login information of the corresponding server based on the initialization optimization information, wherein the parameter variables are accompanied by version numbers and coexist with previous variables with the same name; The server type is determined according to the purpose attribute of the initialization optimization information, and the update is triggered to Jenkins in real time, wherein the Jenkins can realize the configuration difference comparison of the target server and the execution of the incremental instruction through the channel of NodeRed.
3. A unified management method for global business configuration according to claim 2, characterized in that: The server types include back-end application servers, front-end application servers, middleware servers, and operation and maintenance servers.
4. A unified management method for global business configuration according to claim 1, characterized in that: After obtaining the regional demand configuration information, changing the content of the database regional configuration table according to the regional demand configuration information, and initializing the regional layer environment according to the changed content of the database regional configuration table, it also includes: When it is determined based on the version iteration requirement that the content of the database area business benchmark table needs to be changed, the variable content is saved in the database area configuration table and the version number is marked, and a complete database area business benchmark table modification command DML file is received, wherein the complete database area business benchmark table modification command DML file can use variables to mark the parts that need to be adjusted in different environments; Based on the complete database area business benchmark table modification command DML file, Jenkins is automatically triggered, and NodeRed is used to automatically compare the differences between the existing content of the database area business benchmark table and the content that needs to be updated, and the part that needs to be changed is updated.
5. A unified management method for global business configuration according to claim 2, characterized in that: When the regional layer environment is initially completed and the service is not interrupted, the regional demand configuration information is dynamically loaded into the Redis server of the target area, specifically: When it is determined based on the version iteration requirement that the regional Redis hot loading configuration needs to be changed, the variable content is saved in the database regional configuration table and the version number is marked, and the final Redis hot loading configuration file is received, wherein the configuration values associated with different regions in the final Redis hot loading configuration file are marked with variables; The Redis hot loading configuration file based on the final state automatically triggers Jenkins, and the data of the target Redis environment is fully updated through NodeRed.
6. A unified management device for global business configuration, characterized in that: include: A global general configuration processing unit, used to obtain global general demand configuration information, and generate an incremental DML statement of the content of the global general configuration table of the database according to the global general demand configuration information; A sharing unit, configured to generate a global general configuration table of the database according to an incremental DML script of the content of the global general configuration table of the database, initialize the global layer environment according to the initialization optimization information, and share the content of the global general configuration table of the database to the regional layer through a unified interface; A regional initialization unit, used to obtain regional demand configuration information, change the database regional configuration table according to the regional demand configuration information, and initialize the regional layer environment according to the changed database regional configuration table, wherein the database regional configuration table is used to store initialization data of each regional data center; A hot loading configuration unit, used to dynamically load the regional demand configuration information into the Redis server of the target area when the regional layer environment is initially completed and without interrupting the service; The middleware configuration unit is used to perform unified directory management on the middleware modules of the regional layer, wherein the middleware configuration modules that can change the configuration file path are directly migrated to the preset unified directory, and the middleware configuration modules that cannot change the configuration file path are migrated to the preset unified directory using a soft connection method.
7. A unified management device for global business configuration, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program, and the computer program can be executed by the processor to implement a unified management method for global business configuration as claimed in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: A computer program is stored, and the computer program can be executed by a processor of the device where the computer-readable storage medium is located to implement a unified management method for global business configuration as described in any one of claims 1 to 5.