CN111478812B - Configuration center server, application method and distributed platform system - Google Patents
Configuration center server, application method and distributed platform system Download PDFInfo
- Publication number
- CN111478812B CN111478812B CN202010266275.5A CN202010266275A CN111478812B CN 111478812 B CN111478812 B CN 111478812B CN 202010266275 A CN202010266275 A CN 202010266275A CN 111478812 B CN111478812 B CN 111478812B
- Authority
- CN
- China
- Prior art keywords
- server
- platform system
- distributed platform
- parameter configuration
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000004590 computer program Methods 0.000 claims description 16
- 230000008569 process Effects 0.000 claims description 11
- 238000012544 monitoring process Methods 0.000 claims description 9
- 230000000977 initiatory effect Effects 0.000 claims description 3
- 238000007726 management method Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 15
- 238000012545 processing Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 8
- 238000012423 maintenance Methods 0.000 description 8
- 238000004519 manufacturing process Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 210000001520 comb Anatomy 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/084—Configuration by using pre-existing information, e.g. using templates or copying from other elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a configuration center server, a using method and a distributed platform system. The configuration center server receives a parameter configuration request for the distributed platform system, and performs parameter configuration operation on the distributed platform system according to the parameter configuration request; storing data generated by the parameter configuration operation; the stored data is synchronously provided to the distributed platform system. The server side of the distributed platform system sends a parameter configuration request for the distributed platform system to a configuration center server; the client receives data generated by parameter configuration operation of the distributed platform system synchronously provided by the configuration center server, and stores the received data into a local cache; and accessing the server according to the data in the local cache. Therefore, the parameter configuration of the distributed platform system can be managed in a centralized manner, and compared with the prior art, the efficiency of parameter centralized management in the distributed platform is improved, and the maintainability of the whole distributed platform is improved.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a configuration center server, a method for using the configuration center server, and a distributed platform system.
Background
In the design and development of a distributed platform, the research of the distributed architecture involves numerous technical schemes, such as a rule engine, a calculation engine, a global route, a distributed calculation platform and the like, and the distributed platform needs to have a structural parameter configuration capable of being dynamically adjusted and maintained, including the configuration parameters of the technical scheme itself and external parameters on which the technical scheme depends.
Under the distributed platform, the parameters of various technical schemes are difficult to manage. Under the prior art, the configuration parameters of the technical schemes under the distributed platform are directly stored in the configuration file, and after the configuration file is deployed to the test and production environment of the application server, the configuration file is modified, so that the parameter management scheme is easy to make mistakes and cannot be flexibly modified. With the increase of the technical schemes, the number of configuration files is increased, so that the management of configuration parameters of the technical schemes under the distributed platform becomes more and more difficult, the efficiency of parameter management in the distributed platform is low, and the maintainability of the whole distributed platform is reduced.
Disclosure of Invention
The embodiment of the invention provides a configuration center server which is used for efficiently managing parameters in a distributed platform, and comprises the following components:
the parameter configuration module is used for receiving a parameter configuration request of the distributed platform system and carrying out parameter configuration operation on the distributed platform system according to the parameter configuration request;
the parameter storage module is used for storing data generated by parameter configuration operation;
and the parameter providing module is used for synchronously providing the stored data to the distributed platform system.
The embodiment of the invention also provides a method for parameter configuration of the distributed platform system, which is used for efficiently managing parameters in the distributed platform, and comprises the following steps:
receiving a parameter configuration request for the distributed platform system, and performing parameter configuration operation on the distributed platform system according to the parameter configuration request;
storing data generated by the parameter configuration operation;
the stored data is synchronously provided to the distributed platform system.
The embodiment of the invention also provides a distributed platform system for efficiently and intensively managing parameters in the distributed platform, which comprises:
the server side is used for sending a parameter configuration request for the distributed platform system to the configuration center server;
the client is used for receiving data generated by parameter configuration operation of the distributed platform system synchronously provided by the configuration center server and storing the received data into the local cache; and accessing the server according to the data in the local cache.
The embodiment of the invention also provides a parameter configuration method of the distributed platform system, which is used for efficiently and intensively managing parameters in the distributed platform, and comprises the following steps:
a server side in the distributed platform system sends a parameter configuration request for the distributed platform system to a configuration center server;
the client in the distributed platform system receives data generated by parameter configuration operation of the distributed platform system synchronously provided by a configuration center server, and stores the received data into a local cache; and accessing the server according to the data in the local cache.
The embodiment of the invention also provides a system for efficiently and intensively managing parameters in the distributed platform, which comprises:
the configuration center server; and the distributed platform system described above.
The embodiment of the invention also provides computer equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the method when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program for executing the method.
In the embodiment of the invention, a configuration center server receives a parameter configuration request for a distributed platform system, and performs parameter configuration operation on the distributed platform system according to the parameter configuration request; storing data generated by the parameter configuration operation; the stored data is synchronously provided to the distributed platform system. Correspondingly, the server side of the distributed platform system sends a parameter configuration request for the distributed platform system to a configuration center server; the client receives data generated by parameter configuration operation of the distributed platform system synchronously provided by the configuration center server, and stores the received data into a local cache; and accessing the server according to the data in the local cache. Therefore, the parameter configuration of the distributed platform system can be managed in a centralized manner, and compared with the prior art, the efficiency of parameter centralized management in the distributed platform is improved, and the maintainability of the whole distributed platform is improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a configuration center server according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for parameter configuration of a distributed platform system according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a distributed platform system according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an example distributed platform system according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an example of a method for configuring parameters of a distributed platform system according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating an example of a method for configuring parameters of a distributed platform system according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a system according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The distributed platform is a software platform which is used for storing data, analyzing and calculating the data and the like and is constructed on a cluster formed by a plurality of hosts, and the distributed platform has the characteristics of resource sharing, high reliability, high flexibility and the like. In the prior art, parameters of various technical schemes in a distributed platform are difficult to manage.
In an embodiment of the present invention, a configuration center server is provided for efficiently managing parameters in a distributed platform, as shown in fig. 1, where the configuration center server includes:
the parameter configuration module 101 is configured to receive a parameter configuration request for the distributed platform system, and perform parameter configuration operation on the distributed platform system according to the parameter configuration request;
a parameter storage module 102, configured to store data generated by a parameter configuration operation;
the parameter providing module 103 is configured to provide the stored data to the distributed platform system synchronously.
In the embodiment of the invention, a configuration center server receives a parameter configuration request for a distributed platform system, and performs parameter configuration operation on the distributed platform system according to the parameter configuration request; storing data generated by the parameter configuration operation; the stored data is synchronously provided to the distributed platform system. Therefore, the parameter configuration of the distributed platform system can be managed in a centralized manner, and compared with the prior art, the efficiency of parameter centralized management in the distributed platform is improved, and the maintainability of the whole distributed platform is improved.
In specific implementation, the parameter configuration module is specifically configured to: receiving the parameter configuration request sent by a configuration center client, and performing parameter configuration operation on the distributed platform system according to the parameter configuration request; or, receiving the parameter configuration request sent by the server in the distributed platform system, and performing parameter configuration operation on the distributed platform system according to the parameter configuration request.
In an embodiment, the parameter configuration request sent by the configuration center client is received, and parameter configuration operation is performed on the distributed platform system according to the parameter configuration request, so that the configuration center client can perform static operations such as addition, modification, deletion and the like on configuration data, and the configuration center client can perform data processing on the configuration data; and receiving the parameter configuration request sent by the server side in the distributed platform system, and performing parameter configuration operation on the distributed platform system according to the parameter configuration request, wherein the parameter configuration request sent by the server side in the distributed platform system can be responded, for example, an outbound request aiming at address information is generated, and the server side in the distributed platform system can perform data processing on configuration data.
Receiving the parameter configuration request sent by a configuration center client or the parameter configuration request sent by a server in the distributed platform system, and if the operation data needs to be transformed in the normal running process of the program, receiving the parameter configuration request sent by the server in the distributed platform system; if the operation data does not need to be transformed in the normal running process of the program, the parameter configuration request sent by the configuration center client can be received. In a distributed platform system, different scheme technologies have their own configuration parameters and external parameters on which they depend. Research on distributed architecture involves numerous technical solutions such as rule engines, computation engines, global routing, distributed computing platforms, etc.
In specific implementation, the parameter configuration module is specifically configured to: and receiving the parameter configuration request initiated by the application server in the distributed platform system in the application program through the JAVA/C interface.
In an embodiment, an application server in the distributed platform system is received, the parameter configuration request initiated by the application program through the JAVA/C interface can be received, and data processing, such as adding data, deleting data, etc., can be performed on configuration data by the application program end.
In specific implementation, the parameter storage module is specifically configured to: and storing the data generated by the parameter configuration operation by adopting a tree structure.
In the embodiment, the data generated by the parameter configuration operation can be stored by adopting a tree structure, and the maintenance of the parameters can be more visual and accurate by adopting a management model of the tree structure. In actual storage, the presentation form can be a directory structure hierarchical model in a tree structure management model, so that the efficiency of data storage can be improved, and the data storage can be conveniently inquired and called.
In specific implementation, the parameter storage module is specifically configured to: storing server-side data in a distributed platform system generated by parameter configuration operation; the parameter providing module is specifically configured to: and synchronously providing the server-side data to a client in the distributed platform system.
In the embodiment, the server side data in the distributed platform system generated by the parameter configuration operation is stored, so that when the data is acquired from the configuration center server side, the locally stored data can be accessed, the parameter acquisition efficiency is improved, and the centralized management of the server side data in the distributed platform system is realized.
In specific implementation, the configuration center server provided by the embodiment of the present invention may further include: the state monitoring module is used for monitoring the state of a server side in the distributed platform system; the parameter storage module is further used for: updating stored server-side data when the state of the server-side in the distributed platform system is found to be changed; the parameter providing module is specifically configured to: and synchronously providing the updated server-side data to clients in the distributed platform system.
In the embodiment, after the state of the server side in the distributed platform system is monitored, when the state of the server side in the distributed platform system is found to be changed, the stored server side data is updated, and the updated server side data is synchronously provided to the client side in the distributed platform system, a data synchronization mechanism can be provided, namely, the configuration center server side data can be synchronized with the client side data in the distributed platform system, once the data of the client side relationship of the server side changes, the client side can be notified, the client side data synchronization operation is executed, the locally cached server side data is updated, and the data consistency is ensured. The server side in the distributed platform system is subjected to state monitoring, so that real-time notification of parameter state change can be realized, and timeliness of data can be ensured in time. Meanwhile, the data consistency between different machines in the same cluster can be ensured by updating the stored server-side data and synchronously providing the updated server-side data to the client side in the distributed platform system, so that the risk of operation and maintenance deployment of the production environment is reduced.
As can be seen from the above embodiments, the embodiments of the present invention can perform centralized management on parameter configuration of a distributed platform system, and compared with the prior art, the embodiments of the present invention improve efficiency of centralized parameter management in a distributed platform, and improve maintainability of the entire distributed platform.
In the embodiment, the unified configuration maintenance of the parameters based on the distributed technical scheme can be realized, the structural management of the parameters can be completed, and the dynamic adjustment and synchronization functions of the parameter configuration can be performed, so that the maintainability and consistency of the whole distributed platform are enhanced. The embodiment of the invention can be realized based on a zookeeper technology, and on the basis of the prior art, the function development and the use are further carried out according to the design thought of the distributed platform. In a distributed environment, different scheme technologies have their own configuration parameters and external parameters on which they depend. Aiming at the scene, unified maintenance is realized on parameters by utilizing centralized configuration management, so that the cost of parameter maintenance is reduced, and the convenience is improved; the adopted management model of the tree structure ensures that the maintenance of parameters is more visual and accurate; meanwhile, the system also has a real-time notification function after parameter change, and can timely ensure timeliness of data; the data consistency among different machines in the same cluster can be ensured, and the risk of operation and maintenance deployment of the production environment is reduced.
The embodiment of the invention also provides a method for carrying out parameter configuration on the distributed platform system, which is used for carrying out centralized management on parameters in the distributed platform with high efficiency, as shown in fig. 2, and comprises the following steps:
step 201: receiving a parameter configuration request for the distributed platform system, and performing parameter configuration operation on the distributed platform system according to the parameter configuration request;
step 202: storing data generated by the parameter configuration operation;
step 203: the stored data is synchronously provided to the distributed platform system.
In an embodiment, receiving a parameter configuration request for the distributed platform system, and performing a parameter configuration operation on the distributed platform system according to the parameter configuration request may include: receiving the parameter configuration request sent by a configuration center client, and performing parameter configuration operation on the distributed platform system according to the parameter configuration request; or, receiving the parameter configuration request sent by the server in the distributed platform system, and performing parameter configuration operation on the distributed platform system according to the parameter configuration request.
In an embodiment, receiving a parameter configuration request for the distributed platform system, and performing a parameter configuration operation on the distributed platform system according to the parameter configuration request may include: and receiving the parameter configuration request initiated by the application server in the distributed platform system in the application program through the JAVA/C interface.
In an embodiment, storing the data generated by the parameter configuration operation may include: and storing the data generated by the parameter configuration operation by adopting a tree structure.
In an embodiment, storing the data generated by the parameter configuration operation may include: storing server-side data in a distributed platform system generated by parameter configuration operation; providing stored data synchronization to a distributed platform system may include: and synchronously providing the server-side data to a client in the distributed platform system.
In an embodiment, a method for configuring parameters of a distributed platform system according to an embodiment of the present invention may include: monitoring the state of a server side in the distributed platform system; storing the data generated by the parameter configuration operation may further include: updating stored server-side data when the state of the server-side in the distributed platform system is found to be changed; providing stored data synchronization to a distributed platform system may further include: and synchronously providing the updated server-side data to clients in the distributed platform system.
The embodiment of the invention also provides a distributed platform system for efficiently and centrally managing parameters in a distributed platform, as shown in fig. 3, the distributed platform system comprises:
a server 301, configured to send a parameter configuration request for the distributed platform system to a configuration center server;
the client 302 is configured to receive data generated by performing parameter configuration operation on the distributed platform system, where the data is synchronously provided by the configuration center server, and store the received data into a local cache; and accessing the server according to the data in the local cache.
In the embodiment of the invention, a server side of a distributed platform system sends a parameter configuration request for the distributed platform system to a configuration center server; the client receives data generated by parameter configuration operation of the distributed platform system synchronously provided by the configuration center server, and stores the received data into a local cache; and accessing the server according to the data in the local cache. Therefore, the parameter configuration of the distributed platform system can be managed in a centralized manner, and compared with the prior art, the efficiency of parameter centralized management in the distributed platform is improved, and the maintainability of the whole distributed platform is improved.
In specific implementation, the client is specifically configured to: receiving server-side data provided by a configuration center server, and storing the server-side data into a local cache; and accessing the server according to the server data in the local cache.
After receiving server-side data provided by a configuration center server, a client side stores the server-side data into a local cache; according to the server-side data access server-side in the local cache, the parameter acquisition efficiency can be improved through a mechanism of accessing the local cache.
In specific implementation, the client is specifically configured to: and receiving updated server-side data provided by the configuration center server, and updating the locally cached server-side data.
After receiving the updated server-side data provided by the configuration center server, the locally cached server-side data is updated, so that the consistency of the data in the server-side and the client-side in the distributed platform system can be ensured, the consistency of the data among different machines in the same cluster can be ensured, and the risk of operation and maintenance deployment of the production environment is reduced.
In the implementation, the server side is an application server; the client is a rule engine module or a global routing module.
When the client is a global routing module, the method is specifically used for: receiving address information of an application server provided by a configuration center server, and storing the address information of the application server into a local cache; and accessing the application server according to the address information of the application server in the local cache.
In implementation, the server side is specifically configured to: and initiating the parameter configuration request in the application program through the JAVA/C interface.
For example, fig. 4 is a schematic structural diagram of an example of a distributed platform system according to an embodiment of the present invention, as shown in fig. 4, when the server is an application server and the client is a rule engine module or a global routing module, the application server dynamically registers own server data, such as address information, to a configuration center server. The rule engine module or the global routing module synchronizes the data configuring the central server to the local cache first, and when a parameter configuration request is received, if an application server needs to be accessed, the rule engine module or the global routing module acquires the data (such as address information) in the local cache and sends the requested data to a server (such as the application server). Meanwhile, if a server-side downtime scene occurs, if an application server is downtime, the address information is deleted from the configuration center server, so that a data synchronization function is triggered, and the corresponding address information in the local cache is deleted; if the application server returns to normal, address registration is continued, so that new address information in the local cache is triggered again.
In the configuration structure of the server, the system includes corresponding module configuration information below, and the module includes corresponding service configuration information below, as shown in fig. 5, fig. 5 is a schematic diagram of an example of a parameter configuration method of the distributed platform system according to an embodiment of the present invention. Fig. 5 illustrates a schematic hierarchical diagram of a server side of a distributed platform system according to an embodiment of the present invention, where multibb is a root node of a configuration structure of a server in fig. 5; combs is a system, and corresponding module configuration information is contained in the system, wherein comp1 is a first system and comp2 is a second system; the modules are modules, and service configuration information is contained in the modules, wherein module1 is a first module, and module2 is a second module; the service is service configuration information, wherein the service_is service configuration information. For example, in the deployment model design, the model information sequentially contained from top to bottom may be city, park, machine room, system, module, service processing unit, database corresponding to the service processing unit and basket configuration information thereof, and server configuration information corresponding to the service processing unit.
The embodiment of the invention also provides a parameter configuration method of the distributed platform system, which is used for efficiently and intensively managing parameters in the distributed platform, as shown in fig. 6, and comprises the following steps:
step 601: a server side in the distributed platform system sends a parameter configuration request for the distributed platform system to a configuration center server;
step 602: the client in the distributed platform system receives data generated by parameter configuration operation of the distributed platform system synchronously provided by a configuration center server, and stores the received data into a local cache; and accessing the server according to the data in the local cache.
In one embodiment, a client in the distributed platform system receives data generated by performing parameter configuration operation on the distributed platform system, which is synchronously provided by a configuration center server, and stores the received data into a local cache; the data access server side in the local cache may include: receiving server-side data provided by a configuration center server, and storing the server-side data into a local cache; and accessing the server according to the server data in the local cache.
In one embodiment, a client in the distributed platform system receives data generated by performing parameter configuration operation on the distributed platform system, which is synchronously provided by a configuration center server, and stores the received data into a local cache; the data access server side in the local cache may include: and receiving updated server-side data provided by the configuration center server, and updating the locally cached server-side data.
In an embodiment, the server side may be an application server; the client may be a rule engine module or a global routing module.
In one embodiment, data generated by parameter configuration operation of a distributed platform system, which is synchronously provided by a configuration center server, is received, and the received data is stored in a local cache; the data access server side in the local cache may include: when the client is a global routing module, receiving address information of an application server provided by a configuration center server, and storing the address information of the application server into a local cache; and accessing the application server according to the address information of the application server in the local cache.
In an embodiment, the sending, by the server side in the distributed platform system, a parameter configuration request for the distributed platform system to the configuration center server may include: and initiating the parameter configuration request in the application program through the JAVA/C interface.
The embodiment of the invention also provides a system for efficiently and centrally managing parameters in a distributed platform, and fig. 7 is a schematic structural diagram of the system provided by the embodiment of the invention, the system comprises:
configuring a center server 701; distributed platform system 702. The configuration center server 701 is the configuration center server in the above embodiment, and the structure thereof may be as shown in fig. 1; the distributed platform system 702 is a distributed platform system in the above embodiment, and its structure may be as shown in fig. 3.
The embodiment of the invention also provides computer equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the method when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program for executing the method.
In summary, in the embodiment of the present invention, the configuration center server receives a parameter configuration request for the distributed platform system, and performs a parameter configuration operation on the distributed platform system according to the parameter configuration request; storing data generated by the parameter configuration operation; the stored data is synchronously provided to the distributed platform system. Correspondingly, the server side of the distributed platform system sends a parameter configuration request for the distributed platform system to a configuration center server; the client receives data generated by parameter configuration operation of the distributed platform system synchronously provided by the configuration center server, and stores the received data into a local cache; and accessing the server according to the data in the local cache. Therefore, the parameter configuration of the distributed platform system can be managed in a centralized manner, and compared with the prior art, the efficiency of parameter centralized management in the distributed platform is improved, and the maintainability of the whole distributed platform is improved.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, and various modifications and variations can be made to the embodiments of the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (14)
1. A configuration center server, comprising:
the parameter configuration module is used for receiving a parameter configuration request of the distributed platform system and carrying out parameter configuration operation on the distributed platform system according to the parameter configuration request;
the parameter storage module is used for storing data generated by parameter configuration operation;
the parameter providing module is used for synchronously providing the stored data to the distributed platform system;
the parameter storage module is specifically configured to: storing server-side data in a distributed platform system generated by parameter configuration operation;
the parameter providing module is specifically configured to: synchronously providing the server-side data to a client side in a distributed platform system;
the parameter configuration module is specifically configured to:
if the operation data of the parameter configuration operation need to be transformed in the normal running process of the program, receiving the parameter configuration request sent by a server side in the distributed platform system;
if the operation data of the parameter configuration operation do not need to be transformed in the normal running process of the program, receiving the parameter configuration request sent by the configuration center client;
further comprises: the state monitoring module is used for monitoring the state of a server side in the distributed platform system;
the parameter storage module is further used for: updating stored server-side data when the state of the server-side in the distributed platform system is found to be changed;
the parameter providing module is specifically configured to: and synchronously providing the updated server-side data to clients in the distributed platform system.
2. The configuration center server according to claim 1, wherein the parameter configuration module is specifically configured to:
and receiving the parameter configuration request initiated by the application server in the distributed platform system in the application program through the JAVA/C interface.
3. The configuration center server according to claim 1, wherein the parameter storage module is specifically configured to:
and storing the data generated by the parameter configuration operation by adopting a tree structure.
4. A method for parameter configuration of a distributed platform system, comprising:
receiving a parameter configuration request for the distributed platform system, and performing parameter configuration operation on the distributed platform system according to the parameter configuration request;
storing data generated by the parameter configuration operation;
synchronously providing the stored data to a distributed platform system;
storing data generated by the parameter configuration operation, including:
storing server-side data in a distributed platform system generated by parameter configuration operation;
providing stored data synchronization to a distributed platform system, comprising:
synchronously providing the server-side data to a client side in a distributed platform system;
receiving a parameter configuration request for a distributed platform system, comprising:
if the operation data of the parameter configuration operation need to be transformed in the normal running process of the program, receiving the parameter configuration request sent by a server side in the distributed platform system;
if the operation data of the parameter configuration operation do not need to be transformed in the normal running process of the program, receiving the parameter configuration request sent by the configuration center client;
further comprises: monitoring the state of a server side in the distributed platform system;
updating stored server-side data when the state of the server-side in the distributed platform system is found to be changed;
and synchronously providing the updated server-side data to clients in the distributed platform system.
5. A distributed platform system, comprising:
the server side is used for sending a parameter configuration request for the distributed platform system to the configuration center server;
the client is used for receiving data generated by parameter configuration operation of the distributed platform system synchronously provided by the configuration center server and storing the received data into the local cache; accessing a server according to the data in the local cache; the configuration center server is specifically configured to: storing server-side data in a distributed platform system generated by parameter configuration operation; synchronously providing the server-side data to a client side in a distributed platform system; if the operation data of the parameter configuration operation need to be transformed in the normal running process of the program, receiving the parameter configuration request sent by a server side in the distributed platform system; if the operation data of the parameter configuration operation do not need to be transformed in the normal running process of the program, receiving the parameter configuration request sent by the configuration center client; monitoring the state of a server side in the distributed platform system; updating stored server-side data when the state of the server-side in the distributed platform system is found to be changed; and synchronously providing the updated server-side data to clients in the distributed platform system.
6. The distributed platform system of claim 5, wherein the client is specifically configured to:
receiving server-side data provided by a configuration center server, and storing the server-side data into a local cache;
and accessing the server according to the server data in the local cache.
7. The distributed platform system of claim 6, wherein the client is specifically configured to:
and receiving updated server-side data provided by the configuration center server, and updating the locally cached server-side data.
8. The distributed platform system of claim 5, wherein the server side is an application server;
the client is a rule engine module or a global routing module.
9. The distributed platform system according to claim 8, wherein when the client is a global routing module, the distributed platform system is specifically configured to:
receiving address information of an application server provided by a configuration center server, and storing the address information of the application server into a local cache;
and accessing the application server according to the address information of the application server in the local cache.
10. The distributed platform system according to claim 8, wherein the server side is specifically configured to:
and initiating the parameter configuration request in the application program through the JAVA/C interface.
11. A method for configuring parameters of a distributed platform system, comprising:
a server side in the distributed platform system sends a parameter configuration request for the distributed platform system to a configuration center server;
the client in the distributed platform system receives data generated by parameter configuration operation of the distributed platform system synchronously provided by a configuration center server, and stores the received data into a local cache; accessing a server according to the data in the local cache; the configuration center server is specifically configured to: storing server-side data in a distributed platform system generated by parameter configuration operation; synchronously providing the server-side data to a client side in a distributed platform system; if the operation data of the parameter configuration operation need to be transformed in the normal running process of the program, receiving the parameter configuration request sent by a server side in the distributed platform system; if the operation data of the parameter configuration operation do not need to be transformed in the normal running process of the program, receiving the parameter configuration request sent by the configuration center client; monitoring the state of a server side in the distributed platform system; updating stored server-side data when the state of the server-side in the distributed platform system is found to be changed; and synchronously providing the updated server-side data to clients in the distributed platform system.
12. A communication system, comprising:
a configuration center server according to any one of claims 1-3; and the distributed platform system of any one of claims 5-10.
13. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 4 or 11 when executing the computer program.
14. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program for executing the method of any one of claims 4 or 11.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010266275.5A CN111478812B (en) | 2020-04-07 | 2020-04-07 | Configuration center server, application method and distributed platform system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010266275.5A CN111478812B (en) | 2020-04-07 | 2020-04-07 | Configuration center server, application method and distributed platform system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111478812A CN111478812A (en) | 2020-07-31 |
| CN111478812B true CN111478812B (en) | 2023-10-24 |
Family
ID=71750115
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010266275.5A Active CN111478812B (en) | 2020-04-07 | 2020-04-07 | Configuration center server, application method and distributed platform system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111478812B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106790131A (en) * | 2016-12-27 | 2017-05-31 | 中国建设银行股份有限公司 | A kind of parameter modification method, device and distributed platform |
| CN110719187A (en) * | 2018-07-13 | 2020-01-21 | 深圳兆日科技股份有限公司 | Configuration management method, system and computer readable storage medium |
| CN110825420A (en) * | 2019-11-26 | 2020-02-21 | 中国银行股份有限公司 | Configuration parameter updating method, device, equipment and storage medium for distributed cluster |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8166166B2 (en) * | 2005-12-15 | 2012-04-24 | International Business Machines Corporation | Apparatus system and method for distributing configuration parameter |
-
2020
- 2020-04-07 CN CN202010266275.5A patent/CN111478812B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106790131A (en) * | 2016-12-27 | 2017-05-31 | 中国建设银行股份有限公司 | A kind of parameter modification method, device and distributed platform |
| CN110719187A (en) * | 2018-07-13 | 2020-01-21 | 深圳兆日科技股份有限公司 | Configuration management method, system and computer readable storage medium |
| CN110825420A (en) * | 2019-11-26 | 2020-02-21 | 中国银行股份有限公司 | Configuration parameter updating method, device, equipment and storage medium for distributed cluster |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111478812A (en) | 2020-07-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11514304B2 (en) | Continuously provisioning large-scale machine learning models | |
| CN105607954B (en) | A kind of method and apparatus that stateful container migrates online | |
| CN106888254B (en) | Kubernetes-based container cloud architecture and interaction method among modules thereof | |
| CN106878376B (en) | Configuration management method and system | |
| CN104539681B (en) | The processing method of distributed GIS acceleration systems and GIS service | |
| CN106533804A (en) | Network operation support system | |
| CN103973791B (en) | The quick unified storage system of Internet of Things | |
| CN105744001B (en) | Distributed cache system expansion method, data access method and device and system | |
| CN107483250A (en) | Distributed configuration management method, device and system for realizing distributed configuration management | |
| CN113032356A (en) | Cabin distributed file storage system and implementation method | |
| CN108491163B (en) | Big data processing method and device and storage medium | |
| CN114201362A (en) | Prometheus-based enterprise-level high-availability monitoring system and implementation method | |
| JP7678892B2 (en) | Geographically Distributed Hybrid Cloud Clusters | |
| CN117389830A (en) | Cluster log acquisition method and device, computer equipment and storage medium | |
| CN113127526A (en) | Distributed data storage and retrieval system based on Kubernetes | |
| CN112395340B (en) | Data asset management method and device | |
| CN113157476B (en) | Method and device for processing display card faults in virtual cloud environment | |
| CA2965177A1 (en) | Throttling solutions into a legacy inventory system during a service disruption | |
| CN111935242B (en) | Data transmission method, device, server and storage medium | |
| CN112817606A (en) | Deployment system and deployment method for container mirror image | |
| CN111478812B (en) | Configuration center server, application method and distributed platform system | |
| CN119065803A (en) | Scheduled task scheduling method and system | |
| CN114489754B (en) | Configurable service management method and device | |
| WO2024021471A1 (en) | Service updating method, apparatus and system, and storage medium | |
| CN115037757A (en) | Multi-cluster service management system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20220913 Address after: 25 Financial Street, Xicheng District, Beijing 100033 Applicant after: CHINA CONSTRUCTION BANK Corp. Address before: 25 Financial Street, Xicheng District, Beijing 100033 Applicant before: CHINA CONSTRUCTION BANK Corp. Applicant before: Jianxin Financial Science and Technology Co.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |