CN107404509A - Distributed Services configure system and approaches to IM - Google Patents

Distributed Services configure system and approaches to IM Download PDF

Info

Publication number
CN107404509A
CN107404509A CN201610341962.2A CN201610341962A CN107404509A CN 107404509 A CN107404509 A CN 107404509A CN 201610341962 A CN201610341962 A CN 201610341962A CN 107404509 A CN107404509 A CN 107404509A
Authority
CN
China
Prior art keywords
service node
configuration
information
business
database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610341962.2A
Other languages
Chinese (zh)
Other versions
CN107404509B (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 Melt World Network Technology Co Ltd
Original Assignee
Beijing Melt World 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 Melt World Network Technology Co Ltd filed Critical Beijing Melt World 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

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

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 discloses a kind of Distributed Services configuration system and approaches to IM, belong to Internet technical field.This method includes:Business service node is changed to configuration admin service node send configuration information and asked;Configuration admin service node receives the configuration information change request that business service node is sent, and is changed and asked according to configuration information, changed configuration information, obtain new configuration information, new configuration information is sent to configuration management interface;The new configuration information that configuration management interface configuration admin service node is sent, new configuration information is sent to the other configurations management service node in Distributed Services configuration system, is updated by other configurations management service node.After configuration admin service node is modified to configuration information in the present invention, the information after change is sent to other configurations management service node by configuration management interface, without changing the configuration information on each configuration admin service node one by one, operation complexity is simplified.

Description

Distributed Services configure system and approaches to IM
Technical field
The present invention relates to Internet technical field, more particularly to a kind of Distributed Services configuration system and message tube Reason method.
Background technology
In the modern life, it is greatly convenient that internet is brought to the life of user.In order to user Various services are provided, miscellaneous service service node, each business service node are dispersed with internet A type of service can be provided the user.
Currently, each business service node in the service of offer, it is necessary to the interface that external server will be accessed Location and business service configuration data are deployed in the form of configuration file under current business service catalogue.Work as outside Server interface IP address change or business service configuration data change when, it is necessary to change the configuration file and The configuration information of service interface, to guarantee smoothly to provide the user service.
During the present invention is realized, inventor has found that prior art at least has problems with:
However, generally, multiple business service nodes provide service by same service interface, work as clothes , it is necessary to change the configuration file of other multiple business service nodes one by one after the configuration information of business interface is changed, The process operation is relatively complicated.
The content of the invention
In order to solve problem of the prior art, the embodiments of the invention provide a kind of Distributed Services to configure system And approaches to IM.The technical scheme is as follows:
First aspect, there is provided a kind of Distributed Services configure system, and the Distributed Services configure system bag Include:Configuration admin service node, configuration management interface and business service node, the configuration admin service section There is annexation between point and the business service node;
The business service node, asked for being changed to the configuration admin service node send configuration information;
The configuration admin service node, the configuration information change sent for receiving the business service node Request, changed and asked according to the configuration information, changed the configuration information, obtain new configuration information, The new configuration information is sent to the configuration management interface;
The configuration management interface, the new configuration sent for receiving the configuration admin service node Information, the new configuration information is sent to the other configurations management in the Distributed Services configuration system Service node, it is updated by the other configurations management service node.
With reference in a first aspect, in the first possible implementation of first aspect, the business service section Point, it is additionally operable to when adding the Distributed Services configuration system, by nodal information storage to the first database In, first database is the local data base of the business service node;
The configuration admin service node, it is additionally operable to obtain the business service section from first database The nodal information of point, the nodal information is stored in the second database, second database is described The local data base of configuration admin service node.
With reference to the first possible implementation of first aspect, in second of possible realization of first aspect In mode, the business service node, it is additionally operable to when stopping offer service, by the nodal information from institute State and deleted in the first database;
The configuration admin service node, it is additionally operable to the nodal information ought be monitored from first database In be deleted when, the nodal information is deleted from second database.
With reference to the first possible implementation of first aspect, in the third possible realization of first aspect In mode, the configuration admin service node, it is additionally operable to monitor the running status of the business service node, When the running status for monitoring the business service node changes, current status information is obtained, according to institute Current status information is stated, the node of the business service node to being stored in second database is believed Breath is updated.
With reference in a first aspect, in the 4th kind of possible implementation of first aspect, the configuration management takes Business node, it is additionally operable to disconnect message to business service node transmission;
The business service node, it is additionally operable to disconnect message described in reception, is disappeared according to described disconnect Breath, connection request is sent to specified configuration management service node, the connection request is used to establish the business Annexation between service node and the specified configuration management service node, the specified configuration management clothes Node be engaged in as any one in the other configurations management service node.
Second aspect, there is provided a kind of approaches to IM, methods described are matched somebody with somebody applied to the Distributed Services System is put, the Distributed Services configuration system includes configuration admin service node, configuration management interface and industry Business service node, has annexation between the configuration admin service node and the business service node, Methods described includes:
The business service node is changed to the configuration admin service node send configuration information and asked;
The configuration admin service node receives the configuration information change request that the business service node is sent, Changed and asked according to the configuration information, changed the configuration information, obtain new configuration information, to described Configuration management interface sends the new configuration information;
The new configuration information that configuration admin service node described in the configuration management interface is sent, The new configuration information is sent to the other configurations management service section in the Distributed Services configuration system Point, it is updated by the other configurations management service node.
With reference to second aspect, in the first possible implementation of second aspect, methods described also includes:
When adding the Distributed Services configuration system, the business service node arrives nodal information storage In first database, first database is the local data base of the business service node;
The configuration admin service node obtains the node of the business service node from first database Information, the nodal information is stored in the second database, second database is the configuration management The local data base of service node.
With reference to the first possible implementation of second aspect, in second of possible realization of second aspect In mode, methods described also includes:
When stopping offer service, the business service node is by the nodal information from first database Middle deletion;
When monitoring that the nodal information is deleted from first database, the configuration admin service Node deletes the nodal information from second database.
With reference to the first possible implementation of second aspect, in the third possible realization of second aspect In mode, methods described also includes:
The configuration admin service node monitors the running status of the business service node, described when monitoring During the running status change of business service node, current status information is obtained, according to the current state Information, the nodal information of the business service node to being stored in second database are updated.
With reference to second aspect, in the 4th kind of possible implementation of second aspect, methods described also includes:
The configuration admin service node sends to the business service node and disconnects message;
The business service node disconnects message described in receiving, and message is disconnected according to described, to finger Determine configuration admin service node and send connection request, the connection request is used to establish the business service node With the annexation between the specified configuration management service node, the specified configuration management service node is Any one in the other configurations management service node.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
After configuration admin service node is modified to configuration information, by configuration management interface by after change Information is sent to other configurations management service node, without changing each configuration admin service node one by one On configuration information, simplify operation complexity.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, institute in being described below to embodiment The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of Organization Chart for Distributed Services configuration system that one embodiment of the invention provides;
Fig. 2 is a kind of flow chart for approaches to IM that another embodiment of the present invention provides;
Fig. 3 is a kind of flow chart for approaches to IM that another embodiment of the present invention provides.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention Embodiment is described in further detail.
Referring to Fig. 1, it illustrates Distributed Services to configure system, and Distributed Services configuration system includes:Match somebody with somebody Management service cluster and business service node 103 are put, configuration admin service cluster is by multiple configuration admin service sections Point 101 and a configuration management interface 102 form.Each configuration admin service node 101 can be independent Be arranged on a computing device, can also multiple configuration admin service nodes 101 be arranged at same calculating , in actual applications, can be depending on the computing capability of computing device in equipment.Each business service node 103 can be separately set on a computing device, can be arranged at same with multiple business service nodes 103 On computing device, in actual applications, it can be set according to the portfolio and calculating of each business service node processing Depending on standby computing capability.The computing device can be server, or computer etc..
Wherein, configuration admin service node 101 provides an outside access interface, is connect by the outside access Mouth can manage the service node in the configuration information of Distributed Services configuration system, discovery system concentratedly 103, the synchronous configuration information in configuration admin service cluster.Configuration admin service node 101 can also be safeguarded The nodal information etc. of the running status in systems of business service node 103, maintenance service service node 103 Deng.In addition, configuration admin service node 101 can also appoint with machine monitoring configuration admin service cluster One configuration admin service node, safeguard monitored configuration admin service node in configuration admin service cluster In running status, so as to ensure the high availability of system.
The configuration information that configuration management interface 102 is used to configure Distributed Services system is managed, and will be matched somebody with somebody Confidence breath is synchronized in configuration admin service node all in configuration admin service cluster.
There is annexation between business service node 103 and configuration admin service node 101.The business takes Business node 103 can complete the function sex service related to specific business, and be provided according to demand by interface Function sex service, the interface can be PRC (Programmable Ride Control, the suspension control of programmatic method System) interface.The business service node 103 can also monitor coupled configuration admin service node 101 Connection status, to maintain running status of this node in distributed service management system.
In the present embodiment, in each configuration admin service node 101 and each business service node 103 A database is disposed, the database is Mnesia databases, and the Mnesia databases are a distributed number According to base management system, for information in distributed storage service configuration service system, and Distributed Services are kept The uniformity of data in management system.
Based on the Organization Chart of the distributed service management system shown in above-mentioned Fig. 1, the embodiments of the invention provide A kind of approaches to IM, this method are applied to Distributed Services configuration system, Distributed Services configuration system System includes configuration admin service node, configuration management interface and business service node, the configuration admin service section There is annexation between point and business service node, referring to Fig. 2, the method flow that the present embodiment provides includes:
201st, business service node is changed to configuration admin service node send configuration information and asked.
202nd, configuration admin service node receives the configuration information change request that business service node is sent, according to Configuration information change request, changes configuration information, obtains new configuration information, sent to configuration management interface New configuration information.
203rd, the new configuration information that configuration management interface configuration admin service node is sent, new is matched somebody with somebody Confidence breath is sent to the other configurations management service node in Distributed Services configuration system, by other configurations pipe Reason service node is updated.
Method provided in an embodiment of the present invention, after configuration admin service node is modified to configuration information, lead to Configuration management interface is crossed to send the information after change to other configurations management service node, without one by one The configuration information on each configuration admin service node is changed, simplifies operation complexity.
In another embodiment of the present invention, this method also includes:
When adding Distributed Services configuration system, business service node stores nodal information to the first data In storehouse, the first database is the local data base of business service node;
Configuration admin service node obtains the nodal information of business service node from the first database, by node Information is stored in the second database, and the second database is the local data base of configuration admin service node.
In another embodiment of the present invention, this method also includes:
When stopping offer service, business service node deletes nodal information from the first database;
When monitoring that nodal information is deleted from the first database, configuration admin service node believes node Breath is deleted from the second database.
In another embodiment of the present invention, this method also includes:
Configuration admin service node monitors the running status of business service node, when monitoring business service node Running status change when, current status information is obtained, according to current status information, to the second data The nodal information of the business service node stored in storehouse is updated.
In another embodiment of the present invention, this method also includes:
Configuration admin service node sends to business service node and disconnects message;
Business service node receives and disconnects message, according to message is disconnected, is taken to specified configuration management Business node sends connection request, and connection request is used to establish business service node and specified configuration management service section Annexation between point, specified configuration management service node are any in other configurations management service node It is individual.
Above-mentioned all optional technical schemes, any combination can be used to form the alternative embodiment of the disclosure, This is no longer repeated one by one.
Based on the Organization Chart of the distributed service management system shown in above-mentioned Fig. 1, the embodiments of the invention provide A kind of approaches to IM, this method are applied to Distributed Services configuration system, Distributed Services configuration system System includes configuration admin service node, configuration management interface and business service node, referring to Fig. 3, the present embodiment The method flow of offer includes:
301st, configuration admin service node and business service node establish a connection.
In distributed service management system, each configuration admin service node and business service section in system Point has an identical cookie, can be between any two node in system based on identical cookie Communicated.When any business service node is added to system, the business service node can obtain from system Take identical cookie.Connect when the business service node needs to establish with the configuration admin service node in system When connecing, the business service node can randomly select a configuration admin service node from system, and pass through this Identical cookie sends connection request, the configuration pipe being selected to the configuration admin service node being selected After reason service node receives connection request, a response message is returned to the business service node, works as reception The response message sent to the configuration admin service node being selected, configuration admin service node and business service Node will establish a connection.
In Distributed Services configuration system, each configuration admin service node and each business service node are equal It is trusty, after any configuration admin service node and any business service node establish a connection, The configuration admin service node has the authority for monitoring the business service node, based on the authority, configuration management Service node can be in real time or every preset duration (for example, 1 second, 2 seconds, 3 seconds etc.) to business Running status, nodal information of section etc. is serviced to be monitored;The business service node also has monitoring should simultaneously The authority of configuration admin service node, based on the authority, business service node can also be in real time or every pre- If duration is monitored to the running status of configuration admin service node.
In distributed service management system, when any business service node is added to system, business clothes Being engaged in node can also be by the nodal information storage of this node in the local database, and the local data base is one Mnesia databases.In order to by the local of the local data base of configuration admin service node and business service node Database makes a distinction, and the local data base of business service node is referred to as into the first database, by configuration management The local data base of service node is referred to as the second database, and first database and the second database do not represent The order of database.Based on the data synchronization mechanism of Mnesia databases, the configuration of relation is established a connection Management service node obtains the nodal information of business service node from the first database, and nodal information is deposited In the second database, second database is also a Mnesia database for storage.In the process, it is based on The data synchronization mechanism of Mnesia databases, other configurations management service node and other business clothes in system Business node can also obtain the nodal information of the business service node from the first database, and nodal information is deposited Storage is in the local database.
302nd, business service node is changed to configuration admin service node send configuration information and asked.
In the present embodiment, each external server interface IP address or the corresponding species of business service configuration data The service of type, a kind of every kind of corresponding configuration information of service, the configuration information comprise at least the outer of service provided Portion server interface address, business service configuration data etc..Configuration information corresponding to every kind of service is merely stored in In each configuration admin service node of system, it is not stored in each business service node in system, and Each configuration admin service node of only system has the modification authority of configuration information.Business service node is carrying During for service, if according to business demand, it is necessary to change the external server interface of service provided When address or business service configuration data, the business service node can be to the configuration pipe with it with annexation The change request of service node send configuration information is managed, the service is changed correspondingly to trigger configuration admin service node Configuration information.
303rd, configuration admin service node receives the configuration information change request that business service node is sent, according to Configuration information change request, changes configuration information, obtains new configuration information, sent to configuration management interface New configuration information.
In the present embodiment, for the ease of to the nodal information of business service node, node status information and Configuration information in system is managed, and each configuration admin service node safeguards three tables of data, and this three Kind tables of data is respectively service node information table, node state table and configuration information table.Wherein, service node Information table is used for the nodal information of Storage Service Name and each business service node, and node status information table is used In the connection status for storing each business service node, configuration information table is used for the configuration information of storage system.
For service node information table, node status information table, configuration information table table structure, reference can be made under Table 1 is stated to table 3.Wherein, table 1 is the table structure of service node information table, and table 2 is node status information table Table structure, table 3 be configuration information table table structure.
Table 1
Service Nodes
Wherein, Service represents Service name, and Nodes represents business service node listing.
Table 2
Node status Update_time
Wherein, Node represents the nodename of business service node, and status represents the section of business service node Dotted state, Update_time represent the latest update time of business service node.
Table 3
ID Service Key Value Update_time
Wherein, ID represents the unique mark of service, and Service represents Service name, and Key represents keyword, Value expression values, Update_time represent the latest update time of configuration information.
When the configuration information for receiving the transmission of business service node changes request, configuration admin service node root Change and ask according to the configuration information, change configuration information corresponding to respective service in configuration information table, obtain one Individual new configuration information.Afterwards, configuration admin service node sends new configuration information to configuration management interface.
304th, the new configuration information that configuration management interface configuration admin service node is sent, new is matched somebody with somebody Confidence breath is sent to the other configurations management service node in Distributed Services configuration system, by other configurations pipe Reason service node is updated.
When receiving the new configuration information of configuration admin service node transmission, configuration management interface will be new Configuration information is sent to the other configurations management service node in Distributed Services configuration system.Each configuration pipe After reason service node receives new configuration information, according to new configuration information, matching somebody with somebody for local data base is updated Put the configuration information stored in information table.
So far, realized by above-mentioned steps 301 to 304 and configuration information is automatically updated, it is basic herein On, the method that the present embodiment provides supports configuration admin service node to take the business for establishing a connection relation Business node is monitored.During specific monitoring, configuration admin service node can in real time or every preset duration pair with Its business service node to establish a connection is monitored.When the operation shape for monitoring the business service node When state changes, configuration admin service node obtains the current status information of the business service node, and according to working as Preceding status information, to the nodal information and node state of the business service node stored in the second database Information is updated renewal.
In another embodiment of the present invention, when monitoring the running status of business service node to be not online, The state of the business service node stored in the node state table of second database is changed to not in wire State.
In another embodiment of the present invention, when the running status for monitoring business service node connects to disconnect Connect, the state of the business service node stored in the node status information table of the second database is changed to break Open state.
In another embodiment of invention, when the running status for monitoring business service node to disconnect, And configuration admin service node is not reconnected to specifying in duration, the configuration admin service node can be from the The nodename for the business service node that the deletion disconnects in the service node information table of two databases, from The node state letter of the business service node disconnected is deleted in the node status information table of second database Breath.
In one embodiment of the invention, when the nodal information for monitoring business service node does not save in service In point information table, configuration admin service node obtains the nodal information of the service node from the first database, And the nodal information of the service node is stored in the service node information table of the second database.
It should be noted that it is above-mentioned monitor business service node running status change when, with the industry Business service node has the industry stored in the database of configuration admin service node updates second of annexation Illustrated exemplified by the relevant information of service node of being engaged in, in actual applications, in the configuration admin service section When the relevant information of the business service node o'clock to being stored in the second database is updated, in system Other configurations management service node can be also believed the correlation of the business service node stored in local data base Breath is updated.During specific renewal, configuration admin service node can be by the relevant information of the business service node Send to configuration management interface, after the relevant information of configuration management interface to the business service node, general The relevant information of the business service node is sent to other each configuration admin service nodes, other configurations management Service node updates the business stored in local data base according to the relevant information of the business service node The relevant information of node.The relevant information includes nodal information, node status information etc..If the correlation Information is nodal information, then updates the service node information table of local data base, if the relevant information is section Three-point state information, then update the node status information table of local data base.
In the present embodiment, when any business service node stops offer service, the business service node will The nodal information of this node is deleted from the first database.Automatically synchronizing data based on Mnesia databases Function, when the nodal information for monitoring the business service node is deleted from the first database, have with it There is the configuration admin service node of annexation by the nodal information of the business service node from the second database Delete.Other configurations management service node and other business service nodes in simultaneity factor also can be by the business The nodal information of service node is deleted from local data base.
In the present embodiment, configuration admin service node can also take in the configuration management of any of ordering system at random The nodal information of business node, by being monitored to the nodal information of ordered configuration admin service node, To safeguard the running status of configuration admin service node in systems, so as to ensure the high availability of system.
In the present embodiment, configuration admin service node has automatic discovery feature, and pass had been connected with establishing After the business service node of system disconnects, configuration admin service node starts automatic discovery feature, every Preset duration detection is added to business service node in distributed service management system, when detecting any industry Business service node established the business service node of annexation for before, then was established with the business service node Annexation.
In the present embodiment, business service node can the message mechanism based on Erlang, monitoring with its have connect Connect the connection status of the configuration admin service node of relation.Connected when monitoring to have with the business service node The configuration admin service node of relation disconnects network connection, and receives configuration admin service node transmission When disconnecting message, the business service node is according to message is disconnected, to specified configuration management service section Point sends connection request, to keep running status of this node in Distributed Services configuration system.Wherein, The connection that the connection request is used to establish between the business service node and specified configuration management service node is closed System, the specified configuration management service node are any one in other configurations management service node.
In order to be preferably managed to the information in Distributed Services configuration system, the side of the present embodiment offer The configuration admin service node that method would generally be chosen in Distributed Services configuration system takes as configuration management Business host node, when small network failure occurs in Distributed Services configuration system, configuration admin service section The information in Mnesia databases on point updates independently of one another, when network recovery is normal, each configuration pipe The Mnesia databases managed on service node delete the data stored on this node, and obtain configuration pipe automatically The information that the Mnesia of reason service host node is stored, so as to keep system data consistency.
Method provided in an embodiment of the present invention, after configuration admin service node is modified to configuration information, lead to Configuration management interface is crossed to send the information after change to other configurations management service node, without one by one The configuration information on each configuration admin service node is changed, simplifies operation complexity.
The embodiments of the invention provide a kind of Distributed Services to configure system, referring to Fig. 1, Distributed Services configuration System includes:Configuration admin service node 101, configuration management interface 102 and business service node 103, match somebody with somebody Putting has annexation between management service node 101 and business service node 103;
Business service node 103, asked for being changed to the send configuration information of configuration admin service node 101;
Configuration admin service node 101, the configuration information change for receiving the transmission of business service node 103 please Ask, changed and asked according to configuration information, change configuration information, new configuration information is obtained, to configuration management Interface 102 sends new configuration information;
Configuration management interface 102, for receiving the new configuration information of the transmission of configuration admin service node 101, New configuration information is sent to the other configurations management service node in Distributed Services configuration system, by it He is updated configuration admin service node.
In another embodiment of the present invention, business service node 103, it is additionally operable to adding Distributed Services During configuration system, by nodal information storage into the first database, the first database is business service node Local data base;
Configuration admin service node 101, it is additionally operable to obtain the node letter of business service node from the first database Breath, nodal information is stored in the second database, and the second database is the local of configuration admin service node Database.
In another embodiment of the present invention, business service node 103, it is additionally operable to when stopping offer service, Nodal information is deleted from the first database;
Configuration admin service node 101, it is additionally operable to monitor that nodal information is deleted from the first database When, nodal information is deleted from the second database.
In another embodiment of the present invention, configuration admin service node 101, it is additionally operable to monitor business service The running status of node, when the running status for monitoring business service node changes, obtain current state Information, according to current status information, the node of the business service node to being stored in the second database is believed Breath is updated.
In another embodiment of the present invention, configuration admin service node 101, it is additionally operable to business service section Point transmission disconnects message;
Business service node 103, it is additionally operable to reception and disconnects message, according to disconnecting message, to specifies Configuration admin service node sends connection request, and connection request is used to establish business service node and specified configuration Annexation between management service node, specified configuration management service node are other configurations management service section Point in any one.
System provided in an embodiment of the present invention, after configuration admin service node is modified to configuration information, lead to Configuration management interface is crossed to send the information after change to other configurations management service node, without one by one The configuration information on each configuration admin service node is changed, simplifies operation complexity.
It should be noted that:The Distributed Services that above-described embodiment provides configure system in management information, only , can as needed will be above-mentioned with the division progress of above-mentioned each functional module for example, in practical application Function distribution is completed by different functional modules, i.e., the internal structure that Distributed Services are configured to system is divided into Different functional module, to complete all or part of function described above.In addition, above-described embodiment carries The Distributed Services configuration system of confession belongs to same design with information management embodiment, and it is detailed that it implements process See embodiment of the method, repeat no more here.
One of ordinary skill in the art will appreciate that realizing all or part of step of above-described embodiment can pass through Hardware is completed, and by program the hardware of correlation can also be instructed to complete, described program can be stored in In a kind of computer-readable recording medium, storage medium mentioned above can be read-only storage, disk or CD etc..
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all the present invention's Within spirit and principle, any modification, equivalent substitution and improvements made etc., it should be included in the present invention's Within protection domain.

Claims (10)

1. a kind of Distributed Services configure system, it is characterised in that the Distributed Services configuration system includes: Configuration admin service node, configuration management interface and business service node, the configuration admin service node with There is annexation between the business service node;
The business service node, asked for being changed to the configuration admin service node send configuration information;
The configuration admin service node, the configuration information change sent for receiving the business service node Request, changed and asked according to the configuration information, changed the configuration information, obtain new configuration information, The new configuration information is sent to the configuration management interface;
The configuration management interface, the new configuration sent for receiving the configuration admin service node Information, the new configuration information is sent to the other configurations management in the Distributed Services configuration system Service node, it is updated by the other configurations management service node.
2. Distributed Services according to claim 1 configure system, it is characterised in that the business clothes Business node, it is additionally operable to when adding the Distributed Services configuration system, by nodal information storage to the first number According in storehouse, first database is the local data base of the business service node;
The configuration admin service node, it is additionally operable to obtain the business service section from first database The nodal information of point, the nodal information is stored in the second database, second database is described The local data base of configuration admin service node.
3. Distributed Services according to claim 2 configure system, it is characterised in that the business clothes Business node, is additionally operable to, when stopping offer service, the nodal information be deleted from first database;
The configuration admin service node, it is additionally operable to the nodal information ought be monitored from first database In be deleted when, the nodal information is deleted from second database.
4. Distributed Services according to claim 2 configure system, it is characterised in that the configuration pipe Service node is managed, is additionally operable to monitor the running status of the business service node, when monitoring the business clothes Be engaged in node running status change when, obtain current status information, according to the current status information, The nodal information of the business service node to being stored in second database is updated.
5. Distributed Services according to claim 1 configure system, it is characterised in that the configuration pipe Service node is managed, is additionally operable to disconnect message to business service node transmission;
The business service node, it is additionally operable to disconnect message described in reception, is disappeared according to described disconnect Breath, connection request is sent to specified configuration management service node, the connection request is used to establish the business Annexation between service node and the specified configuration management service node, the specified configuration management clothes Node be engaged in as any one in the other configurations management service node.
6. a kind of approaches to IM, it is characterised in that methods described configures applied to the Distributed Services System, the Distributed Services configuration system include configuration admin service node, configuration management interface and business Service node, there is annexation, institute between the configuration admin service node and the business service node The method of stating includes:
The business service node is changed to the configuration admin service node send configuration information and asked;
The configuration admin service node receives the configuration information change request that the business service node is sent, Changed and asked according to the configuration information, changed the configuration information, obtain new configuration information, to described Configuration management interface sends the new configuration information;
The new configuration information that configuration admin service node described in the configuration management interface is sent, The new configuration information is sent to the other configurations management service section in the Distributed Services configuration system Point, it is updated by the other configurations management service node.
7. according to the method for claim 1, it is characterised in that methods described also includes:
When adding the Distributed Services configuration system, the business service node arrives nodal information storage In first database, first database is the local data base of the business service node;
The configuration admin service node obtains the node of the business service node from first database Information, the nodal information is stored in the second database, second database is the configuration management The local data base of service node.
8. according to the method for claim 7, it is characterised in that methods described also includes:
When stopping offer service, the business service node is by the nodal information from first database Middle deletion;
When monitoring that the nodal information is deleted from first database, the configuration admin service Node deletes the nodal information from second database.
9. according to the method for claim 7, it is characterised in that methods described also includes:
The configuration admin service node monitors the running status of the business service node, described when monitoring During the running status change of business service node, current status information is obtained, according to the current state Information, the nodal information of the business service node to being stored in second database are updated.
10. according to the method for claim 6, it is characterised in that methods described also includes:
The configuration admin service node sends to the business service node and disconnects message;
The business service node disconnects message described in receiving, and message is disconnected according to described, to finger Determine configuration admin service node and send connection request, the connection request is used to establish the business service node With the annexation between the specified configuration management service node, the specified configuration management service node is Any one in the other configurations management service node.
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 true CN107404509A (en) 2017-11-28
CN107404509B 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)

Cited By (8)

* 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
CN108848140A (en) * 2018-05-31 2018-11-20 深圳壹账通智能科技有限公司 Event driven configuring management method, device, computer equipment and storage medium
CN109240608A (en) * 2018-08-22 2019-01-18 郑州云海信息技术有限公司 A kind of configuration information synchronous method and device
CN109634679A (en) * 2018-10-16 2019-04-16 平安科技(深圳)有限公司 Block chain configures update method, device, equipment and storage medium
CN110535971A (en) * 2019-09-16 2019-12-03 腾讯科技(深圳)有限公司 Interface configuration processing method, device, equipment and storage medium based on block chain
CN112019573A (en) * 2020-10-22 2020-12-01 上海途鸽数据科技有限公司 Distributed management system and management method of intelligent card management device
WO2021072967A1 (en) * 2019-10-17 2021-04-22 厦门网宿有限公司 Method and device for managing configuration information
CN115118590A (en) * 2022-06-22 2022-09-27 平安科技(深圳)有限公司 Method, device, system, equipment and storage medium for managing configuration data

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

Cited By (13)

* 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
CN108848140A (en) * 2018-05-31 2018-11-20 深圳壹账通智能科技有限公司 Event driven configuring management method, device, computer equipment and storage medium
CN109240608B (en) * 2018-08-22 2021-08-31 郑州云海信息技术有限公司 Configuration information synchronization method and device
CN109240608A (en) * 2018-08-22 2019-01-18 郑州云海信息技术有限公司 A kind of configuration information synchronous method and device
CN109634679A (en) * 2018-10-16 2019-04-16 平安科技(深圳)有限公司 Block chain configures update method, device, equipment and storage medium
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
CN110535971A (en) * 2019-09-16 2019-12-03 腾讯科技(深圳)有限公司 Interface configuration processing method, device, equipment and storage medium based on block chain
WO2021072967A1 (en) * 2019-10-17 2021-04-22 厦门网宿有限公司 Method and device for managing configuration information
CN112019573B (en) * 2020-10-22 2021-01-12 上海途鸽数据科技有限公司 Distributed management system and management method of intelligent card management device
CN112019573A (en) * 2020-10-22 2020-12-01 上海途鸽数据科技有限公司 Distributed management system and management method of intelligent card management device
CN115118590A (en) * 2022-06-22 2022-09-27 平安科技(深圳)有限公司 Method, device, system, equipment and storage medium for managing configuration data
CN115118590B (en) * 2022-06-22 2024-05-10 平安科技(深圳)有限公司 Method, device, system, equipment and storage medium for managing configuration data

Also Published As

Publication number Publication date
CN107404509B (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN107404509A (en) Distributed Services configure system and approaches to IM
CN105099761B (en) A kind of method and system of configuration information that managing client concentratedly
WO2019061720A1 (en) Data synchronization method and system
US9960964B2 (en) System, method and apparatus to manage services in a network
CN105407117B (en) The methods, devices and systems of distributed backup data
CN106789157B (en) The hardware resource management method of stacking system and stacked switch
CN106936623A (en) The management method of distributed cache system and cache cluster
GB2407887A (en) Automatically modifying fail-over configuration of back-up devices
WO2022127504A1 (en) Network element management method and apparatus, and storage medium
CN103581276A (en) Cluster management device and system, service client side and corresponding method
CN106713391A (en) Session information sharing method and sharing system
CN101300779A (en) Network configuration
CN103346914A (en) Method and device for topological structure update of distributed file system
CN109547875A (en) A kind of FC exchange network arbitrary port access design method
CN108989399A (en) A kind of cluster common data querying method, system, device and readable storage medium storing program for executing
CN110113406A (en) Based on distributed calculating service cluster frame
CN106547790B (en) Relational database service system
CN106911769B (en) Cloud platform routing data processing method and physical server of cloud platform
CN104702684B (en) A kind of method of data synchronization and device
CN108877188A (en) A kind of environment protection digital concurrently acquires and Multi net voting dissemination method and device
CN112214377B (en) Equipment management method and system
EP3570169B1 (en) Method and system for processing device failure
CN110061876A (en) The optimization method and system of O&M auditing system
CN101783742A (en) Discovery method and device of network topology
CN108464031B (en) The redundancy based on database in telecommunication network

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