CN107404509B - Distributed service configuration system and information management method - Google Patents

Distributed service configuration system and information management method Download PDF

Info

Publication number
CN107404509B
CN107404509B CN201610341962.2A CN201610341962A CN107404509B CN 107404509 B CN107404509 B CN 107404509B CN 201610341962 A CN201610341962 A CN 201610341962A CN 107404509 B CN107404509 B CN 107404509B
Authority
CN
China
Prior art keywords
service node
configuration
node
information
configuration management
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
Application number
CN201610341962.2A
Other languages
Chinese (zh)
Other versions
CN107404509A (en
Inventor
彭继录
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Interrcs Network Technology Co ltd
Original Assignee
Beijing Interrcs Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Interrcs Network Technology Co ltd filed Critical Beijing Interrcs Network Technology Co ltd
Priority to CN201610341962.2A priority Critical patent/CN107404509B/en
Publication of CN107404509A publication Critical patent/CN107404509A/en
Application granted granted Critical
Publication of CN107404509B publication Critical patent/CN107404509B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings

Abstract

The invention discloses a distributed service configuration system and an information management method, and belongs to the technical field of the Internet. The method comprises the following steps: the service node sends a configuration information change request to the configuration management service node; the configuration management service node receives a configuration information change request sent by the service node, changes the configuration information according to the configuration information change request to obtain new configuration information, and sends the new configuration information to the configuration management interface; and the configuration management interface receives new configuration information sent by the configuration management service node, sends the new configuration information to other configuration management service nodes in the distributed service configuration system, and updates the new configuration information by the other configuration management service nodes. After the configuration management service node changes the configuration information, the changed information is sent to other configuration management service nodes through the configuration management interface, so that the configuration information on each configuration management service node is not required to be modified one by one, and the operation complexity is simplified.

Description

Distributed service configuration system and information management method
Technical Field
The invention relates to the technical field of internet, in particular to a distributed service configuration system and an information management method.
Background
In modern life, the internet brings great convenience to the life of users. In order to be able to provide a wide variety of services to users, a variety of business service nodes are distributed over the internet, each of which is capable of providing a type of service to a user.
Currently, when each service node provides a service, it is necessary to deploy an interface address for accessing an external server and service configuration data in a configuration file form in a current service directory. When the interface address of the external server changes or the configuration data of the service changes, the configuration file and the configuration information of the service interface need to be modified to ensure that the service can be smoothly provided for the user.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
however, in general, a plurality of service nodes provide services through the same service interface, and after configuration information of the service interface is modified, configuration files of other service nodes need to be modified one by one, which is cumbersome to operate.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a distributed service configuration system and an information management method. The technical scheme is as follows:
in a first aspect, a distributed service configuration system is provided, which includes: the method comprises the following steps of configuring a management service node, a management interface and a service node, wherein the configuration management service node and the service node have a connection relation;
the service node is used for sending a configuration information change request to the configuration management service node;
the configuration management service node is configured to receive a configuration information change request sent by the service node, change the configuration information according to the configuration information change request, obtain new configuration information, and send the new configuration information to the configuration management interface;
the configuration management interface is configured to receive the new configuration information sent by the configuration management service node, send the new configuration information to other configuration management service nodes in the distributed service configuration system, and update the new configuration information by the other configuration management service nodes.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the service node is further configured to store node information in a first database when joining the distributed service configuration system, where the first database is a local database of the service node;
the configuration management service node is further configured to obtain node information of the service node from the first database, and store the node information in a second database, where the second database is a local database of the configuration management service node.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the service node is further configured to delete the node information from the first database when service provision is stopped;
the configuration management service node is further configured to delete the node information from the second database when it is monitored that the node information is deleted from the first database.
With reference to the first possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the configuration management service node is further configured to monitor an operation state of the service node, obtain current state information when it is monitored that the operation state of the service node changes, and update the node information of the service node stored in the second database according to the current state information.
With reference to the first aspect, in a fourth possible implementation manner of the first aspect, the configuration management service node is further configured to send a disconnection message to the service node;
the service node is further configured to receive the disconnection message, and send a connection request to a designated configuration management service node according to the disconnection message, where the connection request is used to establish a connection relationship between the service node and the designated configuration management service node, and the designated configuration management service node is any one of the other configuration management service nodes.
In a second aspect, an information management method is provided, where the method is applied to the distributed service configuration system, where the distributed service configuration system includes a configuration management service node, a configuration management interface, and a business service node, and the configuration management service node and the business service node have a connection relationship therebetween, and the method includes:
the service node sends a configuration information change request to the configuration management service node;
the configuration management service node receives a configuration information change request sent by the service node, changes the configuration information according to the configuration information change request to obtain new configuration information, and sends the new configuration information to the configuration management interface;
and the configuration management interface receives the new configuration information sent by the configuration management service node, sends the new configuration information to other configuration management service nodes in the distributed service configuration system, and updates the new configuration information by the other configuration management service nodes.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the method further includes:
when the distributed service configuration system is added, the service node stores node information into a first database, wherein the first database is a local database of the service node;
and the configuration management service node acquires the node information of the service node from the first database, and stores the node information in a second database, wherein the second database is a local database of the configuration management service node.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the method further includes:
when the service is stopped, the service node deletes the node information from the first database;
when the node information is detected to be deleted from the first database, the configuration management service node deletes the node information from the second database.
With reference to the first possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the method further includes:
and the configuration management service node monitors the running state of the service node, acquires current state information when monitoring that the running state of the service node changes, and updates the node information of the service node stored in the second database according to the current state information.
With reference to the second aspect, in a fourth possible implementation manner of the second aspect, the method further includes:
the configuration management service node sends a disconnection message to the service node;
and the service node receives the disconnection message and sends a connection request to a specified configuration management service node according to the disconnection message, wherein the connection request is used for establishing a connection relation between the service node and the specified configuration management service node, and the specified configuration management service node is any one of the other configuration management service nodes.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
after the configuration management service node changes the configuration information, the changed information is sent to other configuration management service nodes through the configuration management interface, so that the configuration information on each configuration management service node does not need to be modified one by one, and the operation complexity is simplified.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is an architecture diagram of a distributed service configuration system provided by an embodiment of the present invention;
fig. 2 is a flowchart of an information management method according to another embodiment of the present invention;
fig. 3 is a flowchart of an information management method according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1, there is shown a distributed service configuration system comprising: the configuration management service cluster and the business service node 103 are composed of a plurality of configuration management service nodes 101 and a configuration management interface 102. Each configuration management service node 101 may be separately installed on one computing device, or multiple configuration management service nodes 101 may be installed on the same computing device, and in practical applications, may be determined according to the computing capability of the computing device. Each service node 103 may be separately installed on one computing device, or multiple service nodes 103 may be installed on the same computing device, and in practical applications, the service node may be determined according to the traffic volume processed by each service node and the computing capability of the computing device. The computing device may be a server, a computer, or the like.
The configuration management service node 101 provides an external access interface, through which configuration information of the distributed service configuration system can be centrally managed, the service nodes 103 in the automatic discovery system synchronize configuration information in the configuration management service cluster. The configuration management service node 101 can also maintain the operation state of the service node 103 in the system, maintain node information of the service node 103, and the like. In addition, the configuration management service node 101 can also randomly monitor any configuration management service node in the configuration management service cluster, and maintain the running state of the monitored configuration management service node in the configuration management service cluster, thereby ensuring the high availability of the system.
The configuration management interface 102 is configured to manage configuration information of the distributed service configuration system, and synchronize the configuration information to all configuration management service nodes in the configuration management service cluster.
The business service node 103 has a connection relationship with the configuration management service node 101. The service node 103 is capable of performing functional services related to specific services and providing the functional services according to requirements through an interface, which may be a PRC (Programmable ring Control) interface. The service node 103 can also monitor the connection state of the configuration management service node 101 connected thereto to maintain the operation state of the node in the distributed service management system.
In this embodiment, each configuration management service node 101 and each business service node 103 are respectively deployed with a database, which is a mnsia database, and the mnsia database is a distributed database management system, and is used for storing information in the distributed service configuration service system and maintaining consistency of data in the distributed service management system.
Based on the architecture diagram of the distributed service management system shown in fig. 1, an embodiment of the present invention provides an information management method, where the method is applied to a distributed service configuration system, where the distributed service configuration system includes a configuration management service node, a configuration management interface, and a service node, and a connection relationship is provided between the configuration management service node and the service node, referring to fig. 2, a flow of the method provided in this embodiment includes:
201. and the service node sends a configuration information change request to the configuration management service node.
202. The configuration management service node receives a configuration information change request sent by the service node, changes the configuration information according to the configuration information change request to obtain new configuration information, and sends the new configuration information to the configuration management interface.
203. And the configuration management interface receives new configuration information sent by the configuration management service node, sends the new configuration information to other configuration management service nodes in the distributed service configuration system, and updates the new configuration information by the other configuration management service nodes.
According to the method provided by the embodiment of the invention, after the configuration management service node changes the configuration information, the changed information is sent to other configuration management service nodes through the configuration management interface, so that the configuration information on each configuration management service node is not required to be modified one by one, and the operation complexity is simplified.
In another embodiment of the present invention, the method further comprises:
when joining the distributed service configuration system, the service node stores the node information into a first database, wherein the first database is a local database of the service node;
and the configuration management service node acquires the node information of the service node from the first database and stores the node information in a second database, wherein the second database is a local database of the configuration management service node.
In another embodiment of the present invention, the method further comprises:
when stopping providing service, the service node deletes the node information from the first database;
and when the node information is detected to be deleted from the first database, the configuration management service node deletes the node information from the second database.
In another embodiment of the present invention, the method further comprises:
and the configuration management service node monitors the running state of the business service node, acquires the current state information when monitoring that the running state of the business service node changes, and updates the node information of the business service node stored in the second database according to the current state information.
In another embodiment of the present invention, the method further comprises:
configuring a management service node to send a disconnection message to a service node;
and the service node receives the disconnection message and sends a connection request to the specified configuration management service node according to the disconnection message, wherein the connection request is used for establishing a connection relation between the service node and the specified configuration management service node, and the specified configuration management service node is any one of other configuration management service nodes.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Based on the architecture diagram of the distributed service management system shown in fig. 1, an embodiment of the present invention provides an information management method, where the method is applied to a distributed service configuration system, where the distributed service configuration system includes a configuration management service node, a configuration management interface, and a service node, and referring to fig. 3, a flow of the method provided in this embodiment includes:
301. and the configuration management service node establishes a connection relation with the service node.
In a distributed service management system, each configuration management service node and business service node in the system has a same cookie, and communication can be carried out between any two nodes in the system based on the same cookie. When any business service node joins the system, the business service node can acquire the same cookie from the system. When the service node needs to establish connection with a configuration management service node in the system, the service node can randomly select a configuration management service node from the system and send a connection request to the selected configuration management service node through the same cookie, after receiving the connection request, the selected configuration management service node returns a response message to the service node, and when receiving the response message sent by the selected configuration management service node, the configuration management service node and the service node establish a connection relationship.
In the distributed service configuration system, each configuration management service node and each business service node are trusted, after any configuration management service node and any business service node establish a connection relationship, the configuration management service node has the authority to monitor the business service node, and based on the authority, the configuration management service node can monitor the running state, node information and the like of the business service node in real time or at preset time intervals (for example, 1 second, 2 seconds, 3 seconds and the like); and meanwhile, the service node also has the authority for monitoring the configuration management service node, and based on the authority, the service node can also monitor the running state of the configuration management service node in real time or at preset time intervals.
In the distributed service management system, when any service node joins the system, the service node also stores the node information of the node in a local database, wherein the local database is a Mnesia database. In order to distinguish the local database of the configuration management service node from the local database of the business service node, the local database of the business service node is referred to as a first database, the local database of the configuration management service node is referred to as a second database, and the first database and the second database do not represent the order of the databases. Based on the data synchronization mechanism of the Mnesia database, the configuration management service node establishing a connection relation with the Mnesia database acquires the node information of the service node from the first database, and stores the node information in a second database, wherein the second database is also a Mnesia database. In the process, based on a data synchronization mechanism of the Mnesia database, other configuration management service nodes and other business service nodes in the system also acquire the node information of the business service node from the first database, and store the node information in the local database.
302. And the service node sends a configuration information change request to the configuration management service node.
In this embodiment, each external server interface address or business service configuration data corresponds to a type of service, and each service corresponds to a type of configuration information, which at least includes the external server interface address of the provided service, the business service configuration data, and the like. The configuration information corresponding to each service is only stored in each configuration management service node of the system, is not stored in each business service node of the system, and only each configuration management service node of the system has the modification authority of the configuration information. In the process of providing the service, if the external server interface address or the service configuration data of the provided service needs to be changed according to the service requirement, the service node may send a configuration information change request to the configuration management service node having a connection relationship with the service node, so as to trigger the configuration management service node to change the configuration information corresponding to the service.
303. The configuration management service node receives a configuration information change request sent by the service node, changes the configuration information according to the configuration information change request to obtain new configuration information, and sends the new configuration information to the configuration management interface.
In this embodiment, in order to facilitate management of node information, node state information, and configuration information in the system of the service node, each configuration management service node maintains three data tables, which are a service node information table, a node state table, and a configuration information table, respectively. The service node information table is used for storing service names and node information of each service node, the node state information table is used for storing the connection state of each service node, and the configuration information table is used for storing configuration information of the system.
For the table structures of the service node information table, the node status information table, and the configuration information table, see tables 1 to 3 below. Wherein, table 1 is a table structure of the service node information table, table 2 is a table structure of the node status information table, and table 3 is a table structure of the configuration information table.
TABLE 1
Service Nodes
Wherein, Service represents Service name, and Nodes represents Service node list.
TABLE 2
Node status Update_time
Wherein Node represents the Node name of the service Node, status represents the Node state of the service Node, and Update _ time represents the latest Update time of the service Node.
TABLE 3
ID Service Key Value Update_time
Wherein, ID represents the unique identification of the Service, Service represents the Service name, Key represents the Key word, Value represents the Value, and Update _ time represents the latest Update time of the configuration information.
When receiving a configuration information change request sent by a service node, the configuration management service node changes the configuration information corresponding to the corresponding service in the configuration information table according to the configuration information change request to obtain new configuration information. The configuration management service node then sends the new configuration information to the configuration management interface.
304. And the configuration management interface receives new configuration information sent by the configuration management service node, sends the new configuration information to other configuration management service nodes in the distributed service configuration system, and updates the new configuration information by the other configuration management service nodes.
When receiving new configuration information sent by the configuration management service node, the configuration management interface sends the new configuration information to other configuration management service nodes in the distributed service configuration system. And after each configuration management service node receives the new configuration information, updating the configuration information stored in the configuration information table of the local database according to the new configuration information.
Therefore, the automatic update of the configuration information is realized through the above steps 301 to 304, and on this basis, the method provided by this embodiment supports the configuration management service node to monitor the service node that establishes the connection relationship with the configuration management service node. During specific monitoring, the configuration management service node can monitor the service node establishing a connection relationship with the configuration management service node in real time or at preset time intervals. When the operation state change of the service node is monitored, the configuration management service node acquires the current state information of the service node, and updates the node information and the node state information of the service node stored in the second database according to the current state information.
In another embodiment of the present invention, when it is monitored that the operation state of the service node is offline, the state of the service node stored in the node state table of the second database is changed to an offline state.
In another embodiment of the present invention, when it is monitored that the operation state of the service node is disconnected, the state of the service node stored in the node state information table of the second database is changed to a disconnected state.
In another embodiment of the present invention, when it is monitored that the operation state of the service node is disconnected and the service node is not reconnected to the configuration management service node within the specified time period, the configuration management service node may delete the node name of the disconnected service node from the service node information table of the second database, and delete the node state information of the disconnected service node from the node state information table of the second database.
In an embodiment of the present invention, when it is detected that the node information of the service node is not in the service node information table, the management service node is configured to acquire the node information of the service node from the first database, and store the node information of the service node in the service node information table of the second database.
It should be noted that, in the above description, when the operation state change of the service node is monitored, taking the example that the configuration management service node having a connection relationship with the service node updates the relevant information of the service node stored in the second database as an example, in an actual application, when the configuration management service node updates the relevant information of the service node stored in the second database, other configuration management service nodes in the system also update the relevant information of the service node stored in the local database. When the information of the service node is updated, the configuration management service node can send the relevant information of the service node to the configuration management interface, after receiving the relevant information of the service node, the configuration management interface sends the relevant information of the service node to other configuration management service nodes, and the other configuration management service nodes update the relevant information of the service node stored in the local database according to the relevant information of the service node. The related information includes node information, node status information, and the like. If the relevant information is the node information, the service node information table of the local database is updated, and if the relevant information is the node state information, the node state information table of the local database is updated.
In this embodiment, when any service node stops providing service, the service node deletes the node information of the node from the first database. Based on the function of automatically synchronizing data of the Mnesia database, when the node information of the business service node is detected to be deleted from the first database, the configuration management service node which has a connection relation with the first database deletes the node information of the business service node from the second database. Meanwhile, other configuration management service nodes and other service nodes in the system delete the node information of the service node from the local database.
In this embodiment, the configuration management service node may further randomly subscribe to node information of any configuration management service node in the system, and maintain the running state of the configuration management service node in the system by monitoring the subscribed node information of the configuration management service node, thereby ensuring high availability of the system.
In this embodiment, the configuration management service node has an automatic discovery function, and after the configuration management service node is disconnected from the service node that has established a connection relationship, the configuration management service node starts the automatic discovery function, detects the service nodes added to the distributed service management system at intervals of a preset duration, and establishes a connection relationship with the service node when detecting that any service node is the service node that has previously established a connection relationship.
In this embodiment, the service node may monitor the connection status of the configuration management service node having a connection relationship with the service node based on the message mechanism of Erlang. When monitoring that the configuration management service node which has a connection relation with the service node disconnects the network connection and receives a disconnection message sent by the configuration management service node, the service node sends a connection request to a specified configuration management service node according to the disconnection message so as to keep the running state of the node in the distributed service configuration system. The connection request is used for establishing a connection relationship between the service node and a specified configuration management service node, and the specified configuration management service node is any one of other configuration management service nodes.
In order to better manage information in the distributed service configuration system, the method provided in this embodiment generally selects one configuration management service node in the distributed service configuration system as a configuration management service master node, when a small network failure occurs in the distributed service configuration system, information in the mnsia databases on the configuration management service nodes are updated independently from each other, and when the network is recovered to be normal, the mnsia databases on each configuration management service node delete data stored on the node and automatically acquire information stored in the mnsia databases of the configuration management service master node, thereby maintaining system data consistency.
According to the method provided by the embodiment of the invention, after the configuration management service node changes the configuration information, the changed information is sent to other configuration management service nodes through the configuration management interface, so that the configuration information on each configuration management service node is not required to be modified one by one, and the operation complexity is simplified.
An embodiment of the present invention provides a distributed service configuration system, and referring to fig. 1, the distributed service configuration system includes: the method comprises the following steps that a management service node 101, a management interface 102 and a service node 103 are configured, and a connection relation exists between the management service node 101 and the service node 103;
a service node 103, configured to send a configuration information change request to the configuration management service node 101;
the configuration management service node 101 is configured to receive a configuration information change request sent by the service node 103, change configuration information according to the configuration information change request, obtain new configuration information, and send the new configuration information to the configuration management interface 102;
and the configuration management interface 102 is configured to receive new configuration information sent by the configuration management service node 101, send the new configuration information to other configuration management service nodes in the distributed service configuration system, and update the new configuration information by the other configuration management service nodes.
In another embodiment of the present invention, the service node 103 is further configured to store the node information into a first database when joining the distributed service configuration system, where the first database is a local database of the service node;
the configuration management service node 101 is further configured to obtain node information of the service node from the first database, and store the node information in a second database, where the second database is a local database of the configuration management service node.
In another embodiment of the present invention, the service node 103 is further configured to delete the node information from the first database when the service is stopped;
the management service node 101 is further configured to delete the node information from the second database when it is detected that the node information is deleted from the first database.
In another embodiment of the present invention, the management service node 101 is configured, and is further configured to monitor an operating state of the service node, acquire current state information when it is monitored that the operating state of the service node changes, and update the node information of the service node stored in the second database according to the current state information.
In another embodiment of the present invention, the management service node 101 is configured to further send a disconnect message to the traffic service node;
the service node 103 is further configured to receive the disconnection message, and send a connection request to the specified configuration management service node according to the disconnection message, where the connection request is used to establish a connection relationship between the service node and the specified configuration management service node, and the specified configuration management service node is any one of other configuration management service nodes.
According to the system provided by the embodiment of the invention, after the configuration management service node changes the configuration information, the changed information is sent to other configuration management service nodes through the configuration management interface, so that the configuration information on each configuration management service node is not required to be modified one by one, and the operation complexity is simplified.
It should be noted that: in the distributed service configuration system provided in the foregoing embodiment, when managing information, only the division of the functional modules is illustrated, and in practical applications, the functions may be allocated by different functional modules according to needs, that is, the internal structure of the distributed service configuration system is divided into different functional modules to complete all or part of the functions described above. In addition, the distributed service configuration system provided by the above embodiment and the information management embodiment belong to the same concept, and the specific implementation process thereof is detailed in the method embodiment and will not be described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A distributed service provisioning system, said distributed service provisioning system comprising: the method comprises the following steps of configuring a management service node, a management interface and a service node, wherein the configuration management service node and the service node have a connection relation;
the service node is used for sending a configuration information change request to the configuration management service node;
the configuration management service node is configured to receive a configuration information change request sent by the service node, change, according to the configuration information change request, configuration information corresponding to a corresponding service in a local configuration information table to obtain new configuration information, and send the new configuration information to the configuration management interface;
the configuration management interface is configured to receive the new configuration information sent by the configuration management service node, send the new configuration information to other configuration management service nodes in the distributed service configuration system, and update, by the other configuration management service nodes, the configuration information stored in a local configuration information table according to the new configuration information.
2. The distributed service provisioning system of claim 1, wherein said service serving node is further configured to store node information in a first database when joining said distributed service provisioning system, said first database being a local database of said service serving node;
the configuration management service node is further configured to obtain node information of the service node from the first database, and store the node information in a second database, where the second database is a local database of the configuration management service node.
3. The distributed service provisioning system of claim 2, wherein said business service node is further configured to delete said node information from said first database when service provision is stopped;
the configuration management service node is further configured to delete the node information from the second database when it is monitored that the node information is deleted from the first database.
4. The distributed service configuration system according to claim 2, wherein the configuration management service node is further configured to monitor an operating state of the service node, acquire current state information when it is monitored that the operating state of the service node changes, and update the node information of the service node stored in the second database according to the current state information.
5. The distributed service configuration system of claim 1, wherein the configuration management service node is further configured to send a disconnect message to the traffic service node;
the service node is further configured to receive the disconnection message, and send a connection request to a designated configuration management service node according to the disconnection message, where the connection request is used to establish a connection relationship between the service node and the designated configuration management service node, and the designated configuration management service node is any one of the other configuration management service nodes.
6. An information management method is applied to a distributed service configuration system, the distributed service configuration system comprises a configuration management service node, a configuration management interface and a business service node, and the configuration management service node and the business service node have a connection relationship therebetween, and the method comprises the following steps:
the service node sends a configuration information change request to the configuration management service node;
the configuration management service node receives a configuration information change request sent by the service node, changes the configuration information corresponding to the corresponding service in a local configuration information table according to the configuration information change request to obtain new configuration information, and sends the new configuration information to the configuration management interface;
and the configuration management interface receives the new configuration information sent by the configuration management service node, sends the new configuration information to other configuration management service nodes in the distributed service configuration system, and the other configuration management service nodes update the configuration information stored in a local configuration information table according to the new configuration information.
7. The method of claim 6, further comprising:
when the distributed service configuration system is added, the service node stores node information into a first database, wherein the first database is a local database of the service node;
and the configuration management service node acquires the node information of the service node from the first database, and stores the node information in a second database, wherein the second database is a local database of the configuration management service node.
8. The method of claim 7, further comprising:
when the service is stopped, the service node deletes the node information from the first database;
when the node information is detected to be deleted from the first database, the configuration management service node deletes the node information from the second database.
9. The method of claim 7, further comprising:
and the configuration management service node monitors the running state of the service node, acquires current state information when monitoring that the running state of the service node changes, and updates the node information of the service node stored in the second database according to the current state information.
10. The method of claim 6, further comprising:
the configuration management service node sends a disconnection message to the service node;
and the service node receives the disconnection message and sends a connection request to a specified configuration management service node according to the disconnection message, wherein the connection request is used for establishing a connection relation between the service node and the specified configuration management service node, and the specified configuration management service node is any one of the other configuration management service nodes.
CN201610341962.2A 2016-05-20 2016-05-20 Distributed service configuration system and information management method Active CN107404509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610341962.2A CN107404509B (en) 2016-05-20 2016-05-20 Distributed service configuration system and information management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610341962.2A CN107404509B (en) 2016-05-20 2016-05-20 Distributed service configuration system and information management method

Publications (2)

Publication Number Publication Date
CN107404509A CN107404509A (en) 2017-11-28
CN107404509B true CN107404509B (en) 2020-06-26

Family

ID=60389164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610341962.2A Active CN107404509B (en) 2016-05-20 2016-05-20 Distributed service configuration system and information management method

Country Status (1)

Country Link
CN (1) CN107404509B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494814A (en) * 2018-02-01 2018-09-04 顺丰科技有限公司 Distributed Information Gathering management method and system, equipment and storage medium
CN108848140B (en) * 2018-05-31 2022-11-08 深圳壹账通智能科技有限公司 Event-driven configuration management method, event-driven configuration management apparatus, computer device, and storage medium
CN109240608B (en) * 2018-08-22 2021-08-31 郑州云海信息技术有限公司 Configuration information synchronization method and device
CN109634679B (en) * 2018-10-16 2023-04-11 平安科技(深圳)有限公司 Block chain configuration updating method, device, equipment and storage medium
CN110535971B (en) * 2019-09-16 2021-10-26 腾讯科技(深圳)有限公司 Interface configuration processing method, device, equipment and storage medium based on block chain
CN110635953A (en) * 2019-10-17 2019-12-31 厦门网宿有限公司 Configuration information management method and device
CN112019573B (en) * 2020-10-22 2021-01-12 上海途鸽数据科技有限公司 Distributed management system and management method of intelligent card management device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024065A (en) * 2012-12-25 2013-04-03 曙光信息产业(北京)有限公司 System configuration management method for cloud storage system
CN103346914A (en) * 2013-07-03 2013-10-09 曙光信息产业(北京)有限公司 Method and device for topological structure update of distributed file system
US8612522B1 (en) * 2003-11-26 2013-12-17 Apple Inc. System and method for allowing an orginating user to use contact information in a prioritized list to contact a destination user
CN104601366A (en) * 2014-12-05 2015-05-06 无锡城市云计算中心有限公司 Configuration service method and device for control and service nodes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8612522B1 (en) * 2003-11-26 2013-12-17 Apple Inc. System and method for allowing an orginating user to use contact information in a prioritized list to contact a destination user
CN103024065A (en) * 2012-12-25 2013-04-03 曙光信息产业(北京)有限公司 System configuration management method for cloud storage system
CN103346914A (en) * 2013-07-03 2013-10-09 曙光信息产业(北京)有限公司 Method and device for topological structure update of distributed file system
CN104601366A (en) * 2014-12-05 2015-05-06 无锡城市云计算中心有限公司 Configuration service method and device for control and service nodes

Also Published As

Publication number Publication date
CN107404509A (en) 2017-11-28

Similar Documents

Publication Publication Date Title
CN107404509B (en) Distributed service configuration system and information management method
CN109729111B (en) Method, apparatus and computer program product for managing distributed systems
CN107465767B (en) Data synchronization method and system
EP1969476B1 (en) Peer distribution point feature for system management server
US10511506B2 (en) Method and device for managing virtualized network function
AU2015370268B2 (en) System and method for discovering a lan synchronization candidate for a synchronized content management system
CN103973725B (en) A kind of distributed cooperative algorithm and synergist
CN103491055A (en) Method for synchronizing information among clients, clients and server
CN104243527A (en) Data synchronization method and device and distributed system
CN113778623B (en) Resource processing method and device, electronic equipment and storage medium
CN111045745A (en) Method and system for managing configuration information
US11445013B2 (en) Method for changing member in distributed system and distributed system
CN103036719A (en) Cross-regional service disaster method and device based on main cluster servers
EP3817338B1 (en) Method and apparatus for acquiring rpc member information, electronic device and storage medium
CN103346914A (en) Method and device for topological structure update of distributed file system
CN107229425B (en) Data storage method and device
WO2019076236A1 (en) Data synchronization method and device, super controller, domain controller, and storage medium
CN112367182B (en) Configuration method and device of disaster recovery main and standby equipment
CN110391940A (en) Response method, device, system, equipment and the storage medium of address of service
CN112953982A (en) Service processing method, service configuration method and related device
CN106911769B (en) Cloud platform routing data processing method and physical server of cloud platform
EP3570169B1 (en) Method and system for processing device failure
CN112087506B (en) Cluster node management method and device and computer storage medium
CN114448866A (en) Network domain management and control method, network system, equipment and storage medium
CN111404978B (en) Data storage method and cloud storage 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
GR01 Patent grant
GR01 Patent grant