Configuration information distribution method and system, electronic equipment and storage medium

Through the message subscription distribution mechanism, configuration information is distributed to the target database, solving the update problem caused by unstable communication between the configuration center server and the service client, and realizing timely update and efficient issuance of configuration information.

CN119211362APending Publication Date: 2024-12-27GD MIDEA AIR CONDITIONING EQUIP CO LTD +2
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411203305.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

During the release of configuration information, the communication between the configuration center server and the service client is unstable, and the configuration information cannot be updated in time.

Method used

The message subscription distribution mechanism is adopted to distribute configuration information to the target database through the preset correspondence in the subscription information, so that the service client can read the latest configuration information from the corresponding target database and avoid direct communication.

Benefits of technology

It improves the efficiency of issuing configuration information, ensures that the business service client can update configuration information in a timely manner, and solves the update problem caused by instability in communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119211362A_ABST
    Figure CN119211362A_ABST
Patent Text Reader

Abstract

The invention provides a configuration information distribution method and system, electronic equipment and a storage medium. The configuration information distribution method comprises the steps that first configuration information is determined, and the first configuration information comprises at least one information identifier; the at least one target database is processed according to subscription information and the first configuration information, a processed database is obtained, the subscription information comprises at least one preset corresponding relation, and the preset corresponding relation is the corresponding relation between the information identifier and the target database; based on starting of a business service client, the configuration information in the processing database is controlled to be cached by a local database of the business service client, and the business service client corresponds to the target database. According to the invention, the configuration center distributes different changed configuration messages to different target databases according to the corresponding relationship, and then the business service reads the configuration information in the corresponding target database, so that the configuration information can be updated in time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a method and system for distributing configuration information, an electronic device and a storage medium. Background Art

[0002] In the related art, during the release process of configuration information, the configuration information cannot be updated in time due to unstable communication between the configuration center server and the business service client. Summary of the invention

[0003] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.

[0004] To this end, a first aspect of the present invention proposes a method for distributing configuration information.

[0005] A second aspect of the present invention provides a configuration information distribution system.

[0006] A third aspect of the present invention provides an electronic device.

[0007] A fourth aspect of the present invention provides a storage medium.

[0008] A fifth aspect of the present invention provides a computer program product.

[0009] In view of this, according to a first aspect of the present invention, a method for distributing configuration information is proposed, comprising: determining first configuration information, wherein the first configuration information includes at least one information identifier; processing at least one target database according to subscription information and the first configuration information to obtain a processing database, wherein the subscription information includes at least one preset corresponding relationship, and the preset corresponding relationship is a corresponding relationship between the information identifier and the target database; based on the startup of a business service client, controlling the configuration information in the processing database to be cached in a local database of the business service client, wherein the business service client corresponds to the target database.

[0010] The configuration information distribution method provided by the present invention mainly includes: first determining the first configuration information, the first configuration information is the configuration information that the configuration center server wants to send or modify to the business service client, and the first configuration information includes at least one information identifier, wherein the information identifier is not a specific information, it can be characteristic data in the first configuration information, it can also be a transmission node of the first configuration information, etc. After the first configuration information is determined, at least one target database is processed according to the subscription information and the first configuration information, so that the target database becomes a processing database, wherein the target database may be a Redis (Remote dictionary server, an open source, memory data storage system) database, and the subscription information includes at least one preset corresponding relationship, the preset corresponding relationship is the corresponding relationship between the information identifier and the target database, that is, after the first configuration information is determined, the first configuration information is analyzed to determine which information identifiers exist in the first configuration information, and then according to the corresponding relationship between the information identifier in the subscription information and the target database, the first configuration information is distributed to different target databases according to the information identifier and the corresponding relationship, wherein the same information identifier may correspond to different target databases, and the same target database may also correspond to different information identifiers, by processing at least one target database according to the subscription information and the first configuration information, different configuration information is distributed to different target databases. After obtaining the processing database, when the business service client is started, the configuration information in the processing database may be controlled to be cached by the local database of the business service client, wherein the business service client corresponds to the target database. That is to say, a business service client will correspond to a target database. When the configuration information of the target database changes, that is, when the target database is processed into a processing database, the business service client can read the latest configuration information from the corresponding target database and cache the latest configuration information in the local database of the business service client. The present invention adopts a message subscription distribution mechanism in the process of distributing configuration information to the target database, that is, different configuration information is distributed to different target databases according to the preset corresponding relationship in the subscription information, thereby improving the efficiency of configuration information distribution. At the same time, the configuration information is distributed to the target database through the configuration center server, and then the business service client can read the latest configuration information from the corresponding target database, so that there is no need for direct communication between the configuration center server and the business service client, thereby avoiding the problem that the configuration information of the business service client cannot be updated in time due to unstable communication between the configuration center server and the business service client.

[0011] The configuration information distribution method according to the present invention may also have the following technical features:

[0012] In some technical solutions, optionally, before the step of determining the first configuration information, it includes: determining a first correspondence between the business service client and the information identifier; determining a second correspondence between the business service client and the target database; determining a preset correspondence based on the first correspondence and the second correspondence; and adding the preset correspondence to the subscription information.

[0013] In the technical scheme, before the step of determining the first configuration information, it includes: before distributing the configuration information, a preset correspondence should be set in the subscription information so that different configuration information can be distributed to different target databases according to different preset correspondences. First, the first correspondence between the business service client and the information identifier is determined according to the business service client, that is, it is determined which configuration information the business service client needs. Then the second correspondence between the business service client and the target database is determined, and then the first correspondence is combined with the second correspondence, that is, the correspondence between the business service client and the information identifier and the correspondence between the business service client and the target database are combined to obtain a correspondence between the information identifier and the target database, and then the correspondence between the information identifier and the target database is determined as the preset correspondence, and then the preset correspondence is added to the subscription information. By determining the preset correspondence according to the first correspondence and the second correspondence before distributing the configuration information, it is ensured that different configuration information can be distributed to different target databases, thereby ensuring the efficiency and accuracy of the distribution of the configuration information.

[0014] In some technical solutions, optionally, the step of determining the first configuration information includes: receiving a first processing operation instruction; determining the second configuration information in a first database according to the first processing operation instruction, wherein a plurality of configuration information are stored in the first database; and processing the second configuration information according to the first processing operation instruction to obtain the first configuration information.

[0015] In the technical solution, the step of determining the first configuration information includes: since all configuration information is stored in the configuration center server, when determining the first configuration information, it is first necessary to receive the first processing operation instruction input by the user to the configuration center server, wherein the first processing operation instruction can be one or a combination of search, add, edit, delete, import and export, that is, the user can search, add, edit, delete, import and export all the configuration information of the configuration center server on the configuration center server. Then, according to the first processing operation instruction, the second configuration information is determined in the first database, wherein the first database is the database of the configuration center server itself, and all the current configuration information is stored in it. The second configuration information is determined in the first database through the first processing operation instruction, so that the configuration information that the user wants to operate is selected from all the current configuration information. Then, according to the first processing operation instruction, the second configuration information is processed to obtain the first configuration information, that is, the second configuration information is searched, added, edited, deleted, imported and exported, so that the second configuration information is changed into the first configuration information. By managing all configuration information in a unified manner and being able to search, add, edit, delete, import, and export configuration information, business service developers only need to worry about the configuration information required by the business service clients they are responsible for.

[0016] In some technical solutions, optionally, at least one target database is processed according to the subscription information and the first configuration information to obtain the step of processing the database, including: reviewing the first configuration information to obtain a review result; based on the review result being passed, receiving a second processing operation instruction; based on the second processing operation instruction being an online operation, adding the first configuration information to at least one target database according to the subscription information to obtain the processed database; based on the second processing operation instruction being an offline operation, deleting the first configuration information in at least one target database according to the subscription information.

[0017] In this embodiment, at least one target database is processed according to the subscription information and the first configuration information to obtain the processing database, including: when a user with operation authority obtains the first configuration information through the first processing operation instruction, the first configuration information will be reviewed to determine whether the first configuration information meets expectations or regulations, wherein the first configuration information can be reviewed by a user with review authority or by the configuration center server itself. When the review result is passed, a second processing operation instruction is received, and when the second processing operation is an instruction online operation, that is, when the user wants to add the configuration information to the business service client, the first configuration information is added to the target database corresponding to the business service client according to the subscription information, so that the target database corresponding to the business service client is changed to a processing database, so that when the business service client is started, when the changed target database is read, the newly added first configuration information can be added to the business service client. When the second processing operation instruction is an offline operation, that is, when the user wants to delete the configuration information in the business service client, the first configuration information in the target database corresponding to the business service client is deleted according to the subscription information, so that the target database corresponding to the business service client is changed to a processing database, so that when the business service client is started, when the changed target database is read, the first configuration information will no longer be read, that is, the first configuration information of the business service client is deleted. At the same time, when the audit result is rejected, it means that the first configuration information does not meet the regulations or expectations, so it is necessary to send feedback information to the user corresponding to the first processing operation instruction to prompt the user that the first configuration information obtained does not meet the regulations or expectations.

[0018] In some technical solutions, optionally, after the step of processing at least one target database according to the subscription information and the first configuration information to obtain a processed database, the method further includes: sending broadcast information to a business service client corresponding to the target database.

[0019] In this technical solution, after the step of processing at least one target database according to the subscription information and the first configuration information to obtain the processing database, it includes: after processing at least one target database according to the subscription information and the first configuration information, it is also necessary to send broadcast information to the business service client corresponding to the processed target database, so as to remind the corresponding business service client that the configuration information has changed, so that the business service client can be opened in time and read the processed target database, i.e., the processing database, to obtain the changed configuration information. Among them, when the target database is a Redis database, the broadcast information can be PUB (Publish, subscription) information. By sending broadcast information to the corresponding business service client after the target database is changed into the processing database, the business service client can update the configuration information in time.

[0020] In some technical solutions, optionally, after the step of starting based on the business service client and controlling the configuration information in the processing database to be cached by the local database of the business service client, it includes: receiving a change channel of the configuration information subscribed by the business service client in the target database; based on the change of the target database, controlling the changed target database to update the local database of the business service client.

[0021] In this technical solution, after the step of starting based on the business service client and controlling the configuration information in the processing database to be cached by the local database of the business service client, it includes: receiving the change channel of the configuration information subscribed by the business service client in the target database, that is, the business service client can subscribe to the channel of the configuration information change message from the target database, and then when the configuration information changes, that is, the target database changes, since there is a configuration information change message channel subscribed by the business service client in the target database, the changed target database can update the local database of the business service client in time after the change. Among them, when the target database is Redis, the business service client can subscribe to the channel of the configuration change message from Redis. By receiving the change channel of the configuration information subscribed by the business service client in the target database, it is ensured that the business service client can update in time when the configuration information changes.

[0022] In some technical solutions, optionally, after the step of starting based on the business service client and controlling the configuration information in the processing database to be cached in the local database of the business service client, it includes: obtaining the configuration information in the target database at preset intervals; and sending the configuration information to the local database of the business service client for caching.

[0023] In this technical solution, after the step of starting based on the business service client and controlling the configuration information in the processing database to be cached in the local database of the business service client, it includes: adding a timing synchronization mechanism in the local database of the business service client and the target database, so that the target database is controlled to update the local database of the business service client at every preset time, that is, the business service client can obtain the latest configuration information from the corresponding target database at a fixed frequency, that is, at every preset time, and cache it in the local database, thereby avoiding the problem of configuration information being unable to be updated due to the loss of broadcast information.

[0024] According to a second aspect of the present invention, a configuration information distribution system is proposed, comprising: a first determination module, the first determination module is used to determine first configuration information, wherein the first configuration information includes at least one information identifier; a first processing module, the first processing module is used to process at least one target database according to subscription information and the first configuration information to obtain a processed database, wherein the subscription information includes at least one preset corresponding relationship, and the preset corresponding relationship is a corresponding relationship between the information identifier and the target database; a first cache module, the first cache module is used to start based on a business service client, and control the configuration information in the processing database to be cached in a local database of the business service client, wherein the business service client corresponds to the target database.

[0025] The configuration information distribution system provided by the present invention mainly includes: a first determination module, a first processing module and a first cache module. Among them, the first determination module first determines the first configuration information, and the first configuration information is the configuration information that the configuration center server wants to send or modify to the business service client. The first configuration information includes at least one information identifier, wherein the information identifier is not a specific information, which can be characteristic data in the first configuration information, or a transmission node of the first configuration information, etc. After determining the first configuration information, the first processing module processes at least one target database according to the subscription information and the first configuration information, so that the target database becomes a processing database, wherein the target database can be a Redis database, and the subscription information includes at least one preset corresponding relationship, the preset corresponding relationship is the corresponding relationship between the information identifier and the target database, that is, after determining the first configuration information, the first configuration information will be analyzed to determine which information identifiers exist in the first configuration information, and then according to the corresponding relationship between the information identifier in the subscription information and the target database, the first configuration information will be distributed to different target databases according to the information identifier and the corresponding relationship, wherein the same information identifier can correspond to different target databases, and the same target database can also correspond to different information identifiers, by processing at least one target database according to the subscription information and the first configuration information, so as to achieve the distribution of different configuration information to different target databases. After obtaining the processing database, the first cache module can control the configuration information in the processing database to be cached by the local database of the business service client when the business service client is started, wherein the business service client corresponds to the target database. That is to say, a business service client will correspond to a target database. When the configuration information of the target database changes, that is, when the target database is processed into a processing database, the business service client can read the latest configuration information from the corresponding target database and cache the latest configuration information in the local database of the business service client. The present invention adopts a message subscription distribution mechanism in the process of distributing configuration information to the target database, that is, different configuration information is distributed to different target databases according to the preset corresponding relationship in the subscription information, thereby improving the efficiency of configuration information distribution. At the same time, by distributing the configuration information to the target database, the business service client can read the latest configuration information from the corresponding target database, thereby eliminating the need for direct communication between the configuration center server and the business service client, thereby avoiding the problem that the configuration information of the business service client cannot be updated in time due to unstable communication between the configuration center server and the business service client.

[0026] According to a third aspect of the present invention, an electronic device is proposed, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the configuration information distribution method as described in any one of the above items are implemented.

[0027] The electronic device provided by the present invention, in which the processor implements the steps of the above-mentioned method for distributing configuration information when executing a computer program, can achieve the technical effect of any of the above-mentioned technical solutions, which will not be repeated here.

[0028] According to a fourth aspect of the present invention, a storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method for distributing configuration information as described above are implemented.

[0029] The storage medium provided by the present invention implements the steps of the above-mentioned method for distributing configuration information when the computer program is executed by the processor, and can achieve the technical effects of any of the above-mentioned technical solutions, which will not be repeated here.

[0030] According to a fifth aspect of the present invention, a computer program product is proposed, comprising a computer program, which, when executed by a processor, implements the steps of the method for distributing configuration information in any of the above technical solutions.

[0031] The computer program product provided by this technical solution implements the steps of the method for distributing configuration information of any technical solution of the present invention, and thus has all the beneficial effects of the method for distributing configuration information of any technical solution of the present invention, which will not be repeated here.

[0032] Additional aspects and advantages of the present invention will become apparent from the following description or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0034] Figure 1 A schematic diagram showing a flow chart of a method for distributing configuration information according to an embodiment of the present invention;

[0035] Figure 2 A schematic diagram showing a flow chart before the step of determining first configuration information in a method for distributing configuration information according to an embodiment of the present invention;

[0036] Figure 3 A schematic flow chart showing a step of determining first configuration information in a method for distributing configuration information according to an embodiment of the present invention;

[0037] Figure 4A schematic flow chart showing the steps of processing at least one target database according to subscription information and first configuration information to obtain a processed database in a configuration information distribution method according to an embodiment of the present invention;

[0038] Figure 5 A flow chart showing a method for distributing configuration information according to an embodiment of the present invention after the step of controlling the configuration information in the processing database to be cached by the local database of the business service client based on the startup of the business service client;

[0039] Figure 6 A schematic diagram showing the principle of a method for distributing configuration information according to an embodiment of the present invention;

[0040] Figure 7 An interface diagram of a configuration management system in a configuration information distribution method according to an embodiment of the present invention is shown;

[0041] Figure 8 A configuration search / details / add / edit / delete / reject / pass / import / export sequence diagram of an embodiment of the present invention is shown;

[0042] Fig. 9 A configuration on-line or off-line timing diagram of an embodiment of the present invention is shown;

[0043] Fig.10 A timing diagram of a message hub creating a subscription rule according to an embodiment of the present invention is shown;

[0044] Fig.11 A message distribution sequence diagram of a message hub according to an embodiment of the present invention is shown;

[0045] Fig.12 A schematic diagram showing the structure of configuration information in Redis cache according to an embodiment of the present invention is shown;

[0046] Fig.13 A schematic diagram showing a business service client acquiring configuration information in Redis according to an embodiment of the present invention;

[0047] Fig.14 A schematic block diagram showing a system for distributing configuration information according to an embodiment of the present invention;

[0048] Fig.15 A schematic block diagram of an electronic device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0049] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.

[0050] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0051] Figure 1 A schematic diagram showing a flow chart of a method for distributing configuration information according to an embodiment of the present invention.

[0052] Among them, the method includes:

[0053] Step 102: Determine first configuration information, wherein the first configuration information includes at least one information identifier;

[0054] Step 104: Process at least one target database according to the subscription information and the first configuration information to obtain a processed database, wherein the subscription information includes at least one preset corresponding relationship, and the preset corresponding relationship is a corresponding relationship between the information identifier and the target database;

[0055] Step 106: Based on the startup of the business service client, the configuration information in the control processing database is cached in the local database of the business service client, wherein the business service client corresponds to the target database.

[0056] The configuration information distribution method provided by the present invention mainly includes: first determining the first configuration information, the first configuration information is the configuration information that the configuration center server wants to send or modify to the business service client, and the first configuration information includes at least one information identifier, wherein the information identifier is not a specific information, it can be characteristic data in the first configuration information, it can also be a transmission node of the first configuration information, etc. After the first configuration information is determined, at least one target database is processed according to the subscription information and the first configuration information, so that the target database becomes a processing database, wherein the target database may be a Redis (Remote dictionary server, an open source, memory data storage system) database, and the subscription information includes at least one preset corresponding relationship, the preset corresponding relationship is the corresponding relationship between the information identifier and the target database, that is, after the first configuration information is determined, the first configuration information is analyzed to determine which information identifiers exist in the first configuration information, and then according to the corresponding relationship between the information identifier in the subscription information and the target database, the first configuration information is distributed to different target databases according to the information identifier and the corresponding relationship, wherein the same information identifier may correspond to different target databases, and the same target database may also correspond to different information identifiers, by processing at least one target database according to the subscription information and the first configuration information, different configuration information is distributed to different target databases. After obtaining the processing database, when the business service client is started, the configuration information in the processing database may be controlled to be cached by the local database of the business service client, wherein the business service client corresponds to the target database. That is to say, a business service client will correspond to a target database. When the configuration information of the target database changes, that is, when the target database is processed into a processing database, the business service client can read the latest configuration information from the corresponding target database and cache the latest configuration information in the local database of the business service client. The present invention adopts a message subscription distribution mechanism in the process of distributing configuration information to the target database, that is, different configuration information is distributed to different target databases according to the preset corresponding relationship in the subscription information, thereby improving the efficiency of configuration information distribution. At the same time, by distributing the configuration information to the target database, the business service client can read the latest configuration information from the corresponding target database, thereby eliminating the need for direct communication between the configuration center server and the business service client, thereby avoiding the problem that the configuration information of the business service client cannot be updated in time due to unstable communication between the configuration center server and the business service client.

[0057] Figure 2A flow chart of a method for distributing configuration information according to an embodiment of the present invention is shown before the step of determining first configuration information; wherein, before the step of determining first configuration information, the method includes:

[0058] Step 202: Determine a first correspondence between a business service client and an information identifier;

[0059] Step 204: Determine a second corresponding relationship between the business service client and the target database;

[0060] Step 206: Determine a preset corresponding relationship according to the first corresponding relationship and the second corresponding relationship;

[0061] Step 208: Add the preset correspondence to the subscription information.

[0062] In this embodiment, before the step of determining the first configuration information, it includes: before distributing the configuration information, a preset correspondence should be set in the subscription information so that different configuration information can be distributed to different target databases according to different preset correspondences. First, the first correspondence between the business service client and the information identifier is determined according to the business service client, that is, it is determined which configuration information the business service client needs. Then the second correspondence between the business service client and the target database is determined, and then the first correspondence is combined with the second correspondence, that is, the correspondence between the business service client and the information identifier and the correspondence between the business service client and the target database are combined to obtain a correspondence between the information identifier and the target database, and then the correspondence between the information identifier and the target database is determined as the preset correspondence, and then the preset correspondence is added to the subscription information. By determining the preset correspondence according to the first correspondence and the second correspondence before distributing the configuration information, it is ensured that different configuration information can be distributed to different target databases, thereby ensuring the efficiency and accuracy of the distribution of the configuration information.

[0063] Figure 3 A schematic flow chart of a step of determining first configuration information in a method for distributing configuration information according to an embodiment of the present invention is shown; wherein the step of determining the first configuration information includes:

[0064] Step 302: receiving a first processing operation instruction;

[0065] Step 304: determining second configuration information in the first database according to the first processing operation instruction, wherein the first database stores a plurality of configuration information;

[0066] Step 306: Process the second configuration information according to the first processing operation instruction to obtain the first configuration information.

[0067] In this embodiment, the step of determining the first configuration information includes: since all configuration information is stored in the configuration center server, when determining the first configuration information, it is first necessary to receive the first processing operation instruction input by the user to the configuration center server, wherein the first processing operation instruction can be one or a combination of search, add, edit, delete, import and export, that is, the user can search, add, edit, delete, import and export all the configuration information of the configuration center server on the configuration center server. Then, according to the first processing operation instruction, the second configuration information is determined in the first database, wherein the first database is the database of the configuration center server itself, and all the current configuration information is stored in it. The second configuration information is determined in the first database through the first processing operation instruction, so that the configuration information that the user wants to operate is selected from all the current configuration information. Then, according to the first processing operation instruction, the second configuration information is processed to obtain the first configuration information, that is, the second configuration information is searched, added, edited, deleted, imported and exported, so that the second configuration information is changed into the first configuration information. By managing all configuration information in a unified manner and being able to search, add, edit, delete, import, and export configuration information, business service developers only need to worry about the configuration information required by the business service clients they are responsible for.

[0068] Figure 4 A flow chart showing the steps of processing at least one target database according to subscription information and first configuration information to obtain a processed database in a configuration information distribution method according to an embodiment of the present invention is shown; wherein the step of matching statement information with second case data in a second case database includes:

[0069] Step 402: review the first configuration information and obtain a review result;

[0070] Step 404: receiving a second processing operation instruction based on the audit result being passed;

[0071] Step 406: Based on the second processing operation instruction being an online operation, the first configuration information is added to at least one target database according to the subscription information to obtain a processing database;

[0072] Step 408: Based on the second processing operation instruction being an offline operation, the first configuration information in at least one target database is deleted according to the subscription information.

[0073] In this embodiment, at least one target database is processed according to the subscription information and the first configuration information to obtain the processing database, including: when a user with operation authority obtains the first configuration information through the first processing operation instruction, the first configuration information will be reviewed to determine whether the first configuration information meets expectations or regulations, wherein the first configuration information can be reviewed by a user with review authority or by the configuration center server itself. When the review result is passed, a second processing operation instruction is received, and when the second processing operation instruction is an online operation, that is, when the user wants to add the configuration information to the business service client, the first configuration information is added to the target database corresponding to the business service client according to the subscription information, so that the target database corresponding to the business service client is changed to a processing database, so that when the business service client is started, when the changed target database is read, the newly added first configuration information can be added to the business service client. When the second processing operation instruction is an offline operation, that is, when the user wants to delete the configuration information in the business service client, the first configuration information in the target database corresponding to the business service client is deleted according to the subscription information, so that the target database corresponding to the business service client is changed to a processing database, so that when the business service client is started, when the changed target database is read, the first configuration information will not be read, that is, the first configuration information of the business service client is deleted. At the same time, when the audit result is rejected, it means that the first configuration information does not meet the regulations or expectations, so it is necessary to send feedback information to the user corresponding to the first processing operation instruction to prompt the user that the first configuration information obtained does not meet the regulations or expectations.

[0074] In some embodiments, optionally, after the step of processing at least one target database according to the subscription information and the first configuration information to obtain a processed database, the method further includes: sending broadcast information to a business service client corresponding to the target database.

[0075] In this embodiment, after the step of processing at least one target database according to the subscription information and the first configuration information to obtain the processing database, it includes: after processing at least one target database according to the subscription information and the first configuration information, it is also necessary to send broadcast information to the business service client corresponding to the processed target database, so as to remind the corresponding business service client that the configuration information has changed, so that the business service client can be opened in time and read the processed target database, i.e., the processing database, to obtain the changed configuration information. Among them, when the target database is a Redis database, the broadcast information can be PUB information. By sending broadcast information to the corresponding business service client after the target database is changed to the processing database, the business service client can update the configuration information in time.

[0076] Figure 5 A flow chart of a configuration information distribution method according to an embodiment of the present invention is shown after the step of controlling the configuration information in the processing database to be cached by the local database of the business service client based on the business service client startup; wherein, after the step of controlling the configuration information in the processing database to be cached by the local database of the business service client based on the business service client startup, the method includes:

[0077] Step 502: receiving a change channel of configuration information subscribed by the business service client in the target database;

[0078] Step 504: Based on the change of the target database, the changed target database is controlled to update the local database of the business service client.

[0079] In this embodiment, after the step of starting the control processing database based on the business service client and caching the configuration information in the local database of the business service client, it includes: receiving the change channel of the configuration information subscribed by the business service client in the target database, that is, the business service client can subscribe to the channel of the configuration information change message from the target database, and then when the configuration information changes, that is, the target database changes, since there is a configuration information change message channel subscribed by the business service client in the target database, the changed target database can update the local database of the business service client in time after the change. Among them, when the target database is Redis, the business service client can subscribe to the channel of the configuration change message from Redis. By receiving the change channel of the configuration information subscribed by the business service client in the target database, it is ensured that the business service client can update in time when the configuration information changes.

[0080] In some embodiments, optionally, after the step of starting based on the business service client and controlling the configuration information in the processing database to be cached in the local database of the business service client, it includes: obtaining the configuration information in the target database at preset intervals; and sending the configuration information to the local database of the business service client for caching.

[0081] In this embodiment, after the step of starting based on the business service client and controlling the configuration information in the processing database to be cached in the local database of the business service client, it includes: adding a timing synchronization mechanism in the local database of the business service client and the target database, so that the target database is controlled to update the local database of the business service client at every preset time, that is, the business service client can obtain the latest configuration information from the corresponding target database at a fixed frequency, that is, at every preset time, and cache it in the local database, thereby avoiding the problem of configuration information being unable to be updated due to the loss of broadcast information.

[0082] Figure 6 FIG. 1 is a schematic diagram showing the principle of a method for distributing configuration information according to an embodiment of the present invention; Figure 6As shown, first, the configuration management portal system can receive the processing operation instruction, and obtain the first configuration information according to the processing operation instruction, that is, the user can log in to the configuration management portal system, modify, review and put the configuration information online in the configuration management portal system, and then the backend of the configuration management portal system will call the message sending interface of the message center, and send the changed configuration information to the message center through HTTP (Hyper Text Transfer Protocol). In the information center, the business service client needs to set the corresponding subscription rules in advance. The subscription rules are subscription information, which include at least one preset corresponding relationship. The preset corresponding relationship is the corresponding relationship between the configuration information and Redis, where Redis is the cloud vendor Redis. After the message center receives the message of the configuration information change, it will write the configuration message into the corresponding Redis according to the subscription rules and send a Redis broadcast (PUB) message. For example, the message center can write different configuration information into A service Redis and B service Redis respectively, where A service Redis corresponds to A business service client, and there are A service node 1, A service node 2 and A service node 3 in A business service client. B service Redis corresponds to B business service client, and has B service node 1, B service node 2 and B service node 3 in B business service client. Then when each node in the business service client starts, the configuration information in the corresponding Redis will be read and cached in the local database. For example, when A service node 1 starts, the configuration information in A service Redis will be read. And the channel of the configuration change message will be subscribed to Redis to synchronize the latest configuration information to the local database cache in real time, and at the same time, a timing synchronization mechanism will be added to read the latest configuration information in Redis at a fixed frequency to refresh the cache of the local database. The present invention introduces the middleware Redis, so that the configuration center server writes the configuration information to the Redis corresponding to the business service client through the message hub, and the business service client reads the latest configuration information from the Redis cache it relies on, thereby solving the problem of unstable communication between the configuration center server and the business service client. At the same time, since different business service clients will configure different Redis caches, the message subscription distribution mechanism of the message hub can also be used to distribute different configuration messages to different Redis caches according to the subscription rules, thereby improving the efficiency of communication. Then, using cloud vendor Redis instead of building your own Redis service can fully guarantee the stability of the Redis service.

[0083] Figure 7 FIG. 4 shows an interface diagram of a configuration management system in a configuration information distribution method according to an embodiment of the present invention; Figure 7As shown in the figure, the configuration management portal system can provide a user interface for users to manage configuration information, and its functions include: search, details, add, edit, delete, reject, approve, go online, go offline, import and export, etc. Figure 8 and Fig. 9 As shown, Figure 8 A configuration search / details / add / edit / delete / reject / pass / import / export sequence diagram of an embodiment of the present invention is shown. Fig. 9 The configuration on-line or off-line sequence diagram of an embodiment of the present invention is shown. First, the business configuration personnel log in to the configuration management portal system to modify the configuration information, and the management personnel with the review authority review, reject or approve the configuration information. The process is that the user sends an http request (HyperText Transfer Protocol request) to config-api (an interface for configuring and managing applications or system settings) in config-web (operation interface), where the http request includes operation instructions such as search, details, add, edit, delete, reject, pass, import and export, and then config-api generates a corresponding dbrequest (database request) according to the http request and sends it to mysql-db (database), where the dbrequest includes operation instructions such as search, details, add, edit, delete, reject, pass, import and export for the configuration information in the database, and mysql-db operates the corresponding configuration information in the database according to the received operation instructions. After the database performs the above operations, it will generate a corresponding db response (database response), where the db response may include an operation completion response, and then send the db response to config-api. Finally, config-api generates a corresponding http response (Hyper Text Transfer Protocol response) and sends it to config-web to prompt the user that the operation has been completed. If the review is passed, such as Fig. 9As shown in the figure, the administrator with online authority can publish the configuration information online. After going online, the system will send a configuration write message to the message center, and the message center will write the corresponding configuration information to the Redis cache corresponding to the business service client. If offline operation is required, the administrator with offline authority needs to perform offline operation on the configuration information. After going offline, the system will also send a configuration delete message to the message center, and the message center will delete the corresponding configuration information from the Redis cache corresponding to the business service client. The process is that the user sends an http request from config-web to config-api, wherein the http request may include an online or offline instruction for configuration information, and then config-api generates a db request and sends it to mysql-db. mysql-db determines the configuration information corresponding to the online or offline instruction for configuration information based on the received request, and adds the configuration information to the db response and sends it to config-api. config-api generates a corresponding http request and sends it to the message center, wherein the http request includes the online or offline instruction for configuration information and the corresponding configuration information. The message center distributes the configuration information according to the online or offline instruction for configuration information. After completion, an http response is generated, i.e., completion feedback is sent to config-api, and then config-api generates a corresponding http response and sends it to config-web to prompt the user that the operation has been completed.

[0084] Fig.10 The following is a timing diagram showing a message hub creating a subscription rule according to an embodiment of the present invention. Fig.11 FIG. 2 shows a message distribution sequence diagram of a message hub according to an embodiment of the present invention. Fig.10 As shown, the business developer first sets the subscription rules for the message hub. For example, the user sends an http request to the event-bus-api (event bus interface) through event-bus-web (event bus interface), where the http request includes the subscription rules to be set. Then the event-bus-api generates a corresponding db request to mongo-db (database). Mongo-db stores the subscription rules to be set and generates feedback information, namely, db response, which is fed back to the event-bus-api. The event-bus-api generates the corresponding http response based on the dbresponse and feeds it back to the event-bus-web to prompt the user to complete the setting operation. Fig.11As shown, the user modifies the configuration information in the configuration management portal system, and then the configuration management portal system uses the http protocol to send the configuration change message to the event-bus-api. The event-bus-api generates a query subscription rule instruction and sends it to mongo-db. When the corresponding subscription rule is found in mongo-db, the subscription rule is fed back to the event-bus-api. Then the event-bus-api inputs the configuration change message into the corresponding Redis according to the subscription rule. After Redis completes the work of writing the configuration information, Redis will feed back the successful writing information to the event-bus-api, and then the event-bus-api will send a Redis broadcast (PUB) message, which is the broadcast information of the configuration change. After receiving the broadcast information, Redis will feed back the successful sending information to the event-bus-api. Finally, the event-bus-api will use the http protocol to notify the configuration management portal system of the successful response, that is, to inform the configuration management portal system that the changed configuration information has been successfully written into the corresponding Redis.

[0085] Fig.12 FIG. 4 shows a schematic diagram of the structure of the configuration information in Redis cache according to an embodiment of the present invention. Fig.12 As shown, the structure of the configuration information in the Redis cache is a Hash structure, the key is {fixed prefix}:{business ID}, the key of the Hash field is {business ID}.{business key}, and the value is the string format value of the business value.

[0086] Fig.13 Schematic diagram of obtaining configuration information in Redis for business service clients, such as Fig.13 As shown, when the business service client starts, it obtains the configuration information from Redis and caches it in the local database, and subscribes to the channel of configuration change messages to Redis. When the configuration information changes, the cached configuration information of the local database of the business service client can be updated in real time. At the same time, a timed synchronization mechanism is added to obtain the latest configuration information from Redis at a fixed frequency and update it to the cache of the local database of the business service client to prevent the loss of Redis broadcast messages and the inability to update the configuration information. And when the business service client obtains the code for configuration information, it only needs to use the official SDK (Software Development Kit) provided by the respective language to connect to the Redis cache, without introducing dependencies on third-party configuration center SDKs. For example, Fig.13As shown, the business service client includes: A service node 1, A service node 2 and A service node 3. Each service node has a Redis Client SDK (Redis client software development kit), and each service node reads configuration information from A service Redis through the Redis Client SDK. At the same time, the business service client does not need to rely on the SDK of the configuration center, but only needs to rely on Redis. Therefore, after containerized deployment, no special code modification is required, and the latest configuration can be obtained, which solves the problem that the business service client deployed in the container cannot obtain configuration information.

[0087] Fig.14 A schematic block diagram of a configuration information distribution system according to an embodiment of the present invention is shown; wherein the configuration information distribution system 140 comprises:

[0088] A first determining module 1402 is configured to determine first configuration information, wherein the first configuration information includes at least one information identifier;

[0089] A first processing module 1404 is configured to process at least one target database according to the subscription information and the first configuration information to obtain a processed database, wherein the subscription information includes at least one preset corresponding relationship, and the preset corresponding relationship is a corresponding relationship between the information identifier and the target database;

[0090] The first cache module 1406 is used to start up the business service client and control the configuration information in the processing database to be cached in the local database of the business service client, wherein the business service client corresponds to the target database.

[0091] The configuration information distribution system 140 provided by the present invention mainly includes: a first determination module 1402, a first processing module 1404 and a first cache module 1406. Among them, the first determination module 1402 first determines the first configuration information, and the first configuration information is the configuration information that the configuration center server wants to send or modify to the business service client. The first configuration information includes at least one information identifier, wherein the information identifier is not a specific information, which can be characteristic data in the first configuration information, or a transmission node of the first configuration information, etc. After determining the first configuration information, the first processing module 1404 processes at least one target database according to the subscription information and the first configuration information, so that the target database becomes a processing database, wherein the target database can be a Redis database, and the subscription information includes at least one preset corresponding relationship, the preset corresponding relationship is the corresponding relationship between the information identifier and the target database, that is, after determining the first configuration information, the first configuration information will be analyzed to determine which information identifiers exist in the first configuration information, and then according to the corresponding relationship between the information identifier in the subscription information and the target database, the first configuration information will be distributed to different target databases according to the information identifier and the corresponding relationship, wherein the same information identifier can correspond to different target databases, and the same target database can also correspond to different information identifiers, by processing at least one target database according to the subscription information and the first configuration information, so as to achieve the distribution of different configuration information to different target databases. After obtaining the processing database, the first cache module 1406 can control the configuration information in the processing database to be cached by the local database of the business service client when the business service client is started, wherein the business service client corresponds to the target database. That is to say, a business service client will correspond to a target database. When the configuration information of the target database changes, that is, when the target database is processed into a processing database, the business service client can read the latest configuration information from the corresponding target database and cache the latest configuration information in the local database of the business service client. The present invention adopts a message subscription distribution mechanism in the process of distributing configuration information to the target database, that is, different configuration information is distributed to different target databases according to the preset corresponding relationship in the subscription information, thereby improving the efficiency of configuration information distribution. At the same time, by distributing the configuration information to the target database, the business service client can read the latest configuration information from the corresponding target database, thereby eliminating the need for direct communication between the configuration center server and the business service client, thereby avoiding the problem that the configuration information of the business service client cannot be updated in time due to unstable communication between the configuration center server and the business service client.

[0092] In some embodiments, the configuration information distribution system 140 also includes: a preset module, which is specifically used to determine a first correspondence between a business service client and an information identifier; determine a second correspondence between a business service client and a target database; determine a preset correspondence based on the first correspondence and the second correspondence; and add the preset correspondence to the subscription information.

[0093] In this embodiment, the configuration information distribution system 140 also includes: a preset module. Wherein, before the configuration information is distributed, the preset module can set a preset correspondence in the subscription information so that different configuration information can be distributed to different target databases according to different preset correspondences. First, the first correspondence between the business service client and the information identifier is determined according to the business service client, that is, it is determined which configuration information the business service client needs. Then the second correspondence between the business service client and the target database is determined, and then the first correspondence is combined with the second correspondence, that is, the correspondence between the business service client and the information identifier and the correspondence between the business service client and the target database are combined to obtain a correspondence between the information identifier and the target database, and then the correspondence between the information identifier and the target database is determined as a preset correspondence, and then the preset correspondence is added to the subscription information. By determining the preset correspondence according to the first correspondence and the second correspondence before the configuration information is distributed, it is ensured that different configuration information can be distributed to different target databases, thereby ensuring the efficiency and accuracy of the configuration information distribution.

[0094] In some embodiments, optionally, the first determination module 1402 is specifically used to receive a first processing operation instruction; determine second configuration information in a first database according to the first processing operation instruction, wherein a plurality of configuration information are stored in the first database; and process the second configuration information according to the first processing operation instruction to obtain the first configuration information.

[0095] In this embodiment, since all configuration information is stored in the configuration center server, when determining the first configuration information, the first determination module 1402 needs to receive the first processing operation instruction input by the user to the configuration center server, wherein the first processing operation instruction can be one or a combination of search, add, edit, delete, import and export, that is, the user can search, add, edit, delete, import and export all the configuration information of the configuration center server on the configuration center server. Then, according to the first processing operation instruction, the second configuration information is determined in the first database, wherein the first database is the database of the configuration center server itself, and all the current configuration information is stored in it. The second configuration information is determined in the first database through the first processing operation instruction, thereby realizing the selection of the configuration information that the user wants to operate from all the current configuration information. Then, according to the first processing operation instruction, the second configuration information is processed to obtain the first configuration information, that is, the second configuration information is searched, added, edited, deleted, imported and exported, so that the second configuration information is changed into the first configuration information.

[0096] In some embodiments, optionally, the first processing module 1404 is specifically used to audit the first configuration information and obtain an audit result; based on the audit result being passed, receive a second processing operation instruction; based on the second processing operation instruction being an online operation, add the first configuration information to at least one target database according to the subscription information to obtain a processing database; based on the second processing operation instruction being an offline operation, delete the first configuration information in at least one target database according to the subscription information. In this embodiment, the first processing module 1404 is specifically used to audit the first configuration information after the user with operation authority obtains the first configuration information through the first processing operation instruction, and determine whether the first configuration information meets expectations or regulations, wherein the first configuration information may be audited by a user with audit authority, or by the configuration center server itself. When the audit result is passed, the second processing operation instruction is received. When the second processing operation instruction is an online operation, that is, when the user wants to add the configuration information to the business service client, the first configuration information is added to the target database corresponding to the business service client according to the subscription information, so that the target database corresponding to the business service client is changed to a processing database, so that when the business service client is started, the changed target database is read, and the newly added first configuration information can be added to the business service client. When the second processing operation instruction is an offline operation, that is, when the user wants to delete the configuration information in the business service client, the first configuration information in the target database corresponding to the business service client is deleted according to the subscription information, so that the target database corresponding to the business service client is changed to a processing database, so that when the business service client is started, the changed target database is read, and the first configuration information will not be read, that is, the first configuration information of the business service client is deleted. At the same time, when the audit result is rejected, it means that the first configuration information does not meet the regulations or expectations, so it is necessary to send feedback information to the user corresponding to the first processing operation instruction to prompt the user that the first configuration information obtained does not meet the regulations or expectations.

[0097] In some embodiments, optionally, the configuration information distribution system 140 further includes: a sending module, configured to send broadcast information to a business service client corresponding to a target database.

[0098] In this embodiment, the configuration information distribution system 140 further includes: a sending module. After processing at least one target database according to the subscription information and the first configuration information, the sending module also needs to send broadcast information to the business service client corresponding to the processed target database, thereby reminding the corresponding business service client that the configuration information has changed, so that the business service client can be opened in time and read the processed target database, i.e., the processing database, to obtain the changed configuration information.

[0099] In some embodiments, optionally, the configuration information distribution system 140 also includes: a first receiving module, used to receive a change channel of configuration information subscribed by the business service client in the target database; and a first updating module, used to control the changed target database to update the local database of the business service client based on changes in the target database.

[0100] In this embodiment, the configuration information distribution system 140 further includes: a first receiving module and a first updating module. The first receiving module can receive the configuration information change channel subscribed by the business service client in the target database, that is, the business service client can subscribe to the configuration information change message channel from the target database, and then when the configuration information changes, that is, the target database changes, since the configuration information change message channel subscribed by the business service client exists in the target database, the first updating module can control the changed target database to update the local database of the business service client in a timely manner after the change.

[0101] In some embodiments, optionally, the configuration information distribution system 140 further includes: a second update module, configured to obtain configuration information from the target database at preset intervals; and send the configuration information to a local database of the business service client for caching.

[0102] In this embodiment, the configuration information distribution system 140 further includes: a second update module. A timed synchronization mechanism is added between the local database of the business service client and the target database, so that the second update module controls the target database to update the local database of the business service client at a preset time, that is, the business service client can obtain the latest configuration information from the corresponding target database at a fixed frequency, that is, at a preset time, and cache it in the local database, thereby avoiding the problem that the configuration information cannot be updated due to the loss of broadcast information.

[0103] Fig.15A schematic block diagram of an electronic device of an embodiment of the present invention is shown; wherein the electronic device 150 includes a memory 1502, a processor 1504, and a computer program stored in the memory 1502 and executable on the processor 1504, and when the processor 1504 executes the computer program, the steps of the method for distributing configuration information such as any of the above items are implemented.

[0104] The electronic device 150 provided by the present invention, in which the processor 1504 implements the steps of the above-mentioned method for distributing configuration information when executing a computer program, can achieve the technical effect of any of the above-mentioned embodiments, and will not be described in detail.

[0105] An embodiment of the present invention provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned configuration information distribution methods are implemented.

[0106] The storage medium provided by the present invention, when the computer program is executed by the processor, implements the steps of the above-mentioned configuration information distribution method, which can achieve the technical effect of any of the above-mentioned embodiments and will not be repeated here.

[0107] An embodiment of the present invention provides a computer program product, including a computer program, which implements the steps of the method for distributing configuration information in any of the above embodiments when executed by a processor.

[0108] The computer program product provided in this embodiment implements the steps of the method for distributing configuration information as in any embodiment of the present invention, and thus has all the beneficial effects of the method for distributing configuration information as in any embodiment of the present invention, which will not be described in detail herein.

[0109] In the description of this specification, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance unless otherwise clearly specified and limited; the terms "connection", "installation", "fixation" and the like should be understood in a broad sense, for example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0110] In the description of this specification, the description of the terms "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0111] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for distributing configuration information, characterized in that: include: Determining first configuration information, wherein the first configuration information includes at least one information identifier; Processing at least one target database according to the subscription information and the first configuration information to obtain a processed database, wherein the subscription information includes at least one preset corresponding relationship, and the preset corresponding relationship is a corresponding relationship between the information identifier and the target database; Based on the startup of the business service client, the configuration information in the processing database is controlled to be cached in a local database of the business service client, wherein the business service client corresponds to the target database.

2. The method for distributing configuration information according to claim 1, characterized in that: Before the step of determining the first configuration information, the method for distributing the configuration information includes: Determining a first corresponding relationship between the business service client and the information identifier; Determining a second corresponding relationship between the business service client and the target database; Determine the preset corresponding relationship according to the first corresponding relationship and the second corresponding relationship; The preset corresponding relationship is added to the subscription information.

3. The method for distributing configuration information according to claim 1, characterized in that: The step of determining the first configuration information includes: receiving a first processing operation instruction; determining second configuration information in a first database according to the first processing operation instruction, wherein the first database stores a plurality of configuration information; The second configuration information is processed according to the first processing operation instruction to obtain the first configuration information.

4. The method for distributing configuration information according to claim 3, characterized in that: The step of processing at least one target database according to the subscription information and the first configuration information to obtain a processed database includes: Reviewing the first configuration information to obtain a review result; When the audit result is passed, receiving a second processing operation instruction; Based on the second processing operation instruction being an online operation, adding the first configuration information to at least one of the target databases according to the subscription information to obtain the processing database; Based on the second processing operation instruction being an offline operation, the first configuration information in at least one of the target databases is deleted according to the subscription information.

5. The method for distributing configuration information according to any one of claims 1 to 4, characterized in that: After the step of processing at least one target database according to the subscription information and the first configuration information to obtain a processed database, the method for distributing the configuration information includes: Send broadcast information to the business service client corresponding to the target database.

6. The method for distributing configuration information according to any one of claims 1 to 4, characterized in that: After the step of controlling the configuration information in the processing database to be cached by the local database of the business service client based on the business service client startup, the configuration information distribution method further includes: Receive a change channel of configuration information subscribed by the business service client in the target database; Based on the change of the target database, the changed target database is controlled to update the local database of the business service client.

7. The method for distributing configuration information according to any one of claims 1 to 4, characterized in that: After the step of controlling the configuration information in the processing database to be cached by the local database of the business service client based on the business service client startup, the configuration information distribution method further includes: Obtaining the configuration information from the target database at preset intervals; The configuration information is sent to the local database of the business service client for caching.

8. A configuration information distribution system, characterized in that: include: A first determining module, the first determining module is used to determine first configuration information, wherein the first configuration information includes at least one information identifier; a first processing module, the first processing module being used to process at least one target database according to subscription information and the first configuration information to obtain a processed database, wherein the subscription information includes at least one preset corresponding relationship, and the preset corresponding relationship is a corresponding relationship between the information identifier and the target database; The first cache module is used to start based on the business service client and control the configuration information in the processing database to be cached by the local database of the business service client, wherein the business service client corresponds to the target database.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method for distributing configuration information according to any one of claims 1 to 7 are implemented.

10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the configuration information distribution method according to any one of claims 1 to 7 are implemented.

11. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the steps of the method for distributing configuration information according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Configuration information distribution method and system, electronic device and storage medium

    WO2026045979A1