CN104753706A - Distributed cluster configuration management method and distributed cluster configuration management device - Google Patents

Distributed cluster configuration management method and distributed cluster configuration management device Download PDF

Info

Publication number
CN104753706A
CN104753706A CN201310741729.XA CN201310741729A CN104753706A CN 104753706 A CN104753706 A CN 104753706A CN 201310741729 A CN201310741729 A CN 201310741729A CN 104753706 A CN104753706 A CN 104753706A
Authority
CN
China
Prior art keywords
module
data processing
processing module
node
state
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
CN201310741729.XA
Other languages
Chinese (zh)
Other versions
CN104753706B (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201310741729.XA priority Critical patent/CN104753706B/en
Publication of CN104753706A publication Critical patent/CN104753706A/en
Application granted granted Critical
Publication of CN104753706B publication Critical patent/CN104753706B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a distributed cluster configuration management method and a distributed cluster configuration management device, that is, a universal distributed cluster configuration management device and a configuration management method applied to the device. Both requests from execution nodes and requests from an external service server can be distributed to corresponding processing modules through a uniform interface, that is, a REST request forwarding module, the processing modules are an execution node data processing module and an API data processing module, then corresponding instructions for state management are sent to a state management module by the processing modules, and the state management module carries out operations such as reading, modification and the like on the states of the execution nodes or services in a database, thereby realizing state management on all services and execution nodes, and saving system resources.

Description

A kind of distributed type assemblies configuring management method and device
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of distributed type assemblies configuring management method and device.
Background technology
Along with widely using of distributed type assemblies, the configuration management for distributed type assemblies is also more and more important.Distributed type assemblies and building of application thereof often all need various configuration file, also need to perform related management control command on each server node.
Due to the increase along with business, business configuration management new in a large number can be produced, the configuration of distributed type assemblies node needs constantly change, have new business to come in, also have old business to roll off the production line, but distributed type assemblies configuration management system of the prior art is all the configuration management problem in order to solve specific transactions, the modules coupling of system is high, operation expanding is difficult, in the face of the configuration management of personalized Added Business, carries out a large amount of amendments with regard to demand to system.
Therefore, more rational distributed type assemblies system for managing state is not had in prior art.
Summary of the invention
The invention provides a kind of distributed type assemblies configuring management method and device, in order to provide a kind of general distributed type assemblies configuration management device and to be applied to the configuring management method of this device.
First aspect, the present invention, by an embodiment of the application, provides a kind of distributed type assemblies configuration management device, comprising: REST request forward module, XM data processing module, API data processing module, state management module; Described REST request forward module, carries out legitimate verification after the first kind REST for receiving XM asks, and the described first kind REST request be verified is sent to described XM data processing module; Carry out legitimate verification after receiving the Equations of The Second Kind REST request of external business server transmission, and the described Equations of The Second Kind REST request be verified is sent to described API data processing module; Described XM data processing module, for according to described first kind REST request, generates XM event, and described XM event is sent to described state management module; Described API data processing module, for asking according to described Equations of The Second Kind REST, generate state outcome query statement, and described state outcome query statement is issued described state management module, and the state information that described state management module returns according to described state outcome query statement is processed; Described state management module, for after receiving described XM event, the XM corresponding to described XM event carries out the adjustment of node state, and by the current state write into Databasce of XM corresponding for described XM event; After receiving described state outcome query statement, search the state information of corresponding service according to described state outcome query statement, and give described API data processing module by described status information feedback.
As can be seen from above-mentioned, the invention provides a kind of general distributed type assemblies configuration management device and be applied to the configuring management method of this device, it is no matter the request from XM or external business server, all unified interface can be passed through, namely REST request forward module is distributed to corresponding processing module, i.e. XM data processing module and API data processing module, and then by processing module, the command adapted thereto of condition managing is sent to state management module, in a database the state of XM or service is read by it, the operations such as amendment, the condition managing to all services and XM is realized with this, save system resource.
Optionally, described device, also comprises: Node registry module; Described XM data processing module, for according to described first kind REST request, generates Node registry instruction, and described Node registry instruction is sent to described Node registry module; Described Node registry module, for after receiving described Node registry instruction, generates Node registry event, and described Node registry event is sent to described state management module; Described state management module, also for according to described Node registry event, writes described database to the state information of XM corresponding to described Node registry event.
In the present embodiment, if there have XM newly to add to be fashionable, only need to be registered by Node registry module, the XM that just newly can add for this has been managed for configuration.
Optionally, described device, also comprises: operational administrative module; Described XM data processing module, also for when described first kind REST request is for operating result feedback request, returns results according to described operating result feedback request acquisition operation, and described operation is returned results and send to described operational administrative module; Also send to described XM for described operational administrative module being returned results according to described operation the operation queue returned by described REST request forward module; Described operational administrative module, for after receiving described operation and returning results, returns results according to described operation and generates described operation queue, and described operation queue is sent to described XM data processing module.
In the present embodiment, by operational administrative module, can unify, to XM transmit operation list, to realize the configuration management to it.
Optionally, described device, also comprise: service register module, during for asking as service registration request as described Equations of The Second Kind REST, receive the service registry instruction that described API data processing module sends, version management is carried out to the configuration template that service provides, and by the relevant information of described service registry stored in described database; Also for verifying described configuration template.
In the present embodiment, by service register module, the business newly added is registered, realize the configuration management to it.
Optionally, described device, also comprises: executive plan generation module and operational administrative module; Described API data processing module, also for when described 2nd REST request is for node state change request, according to the state information that described state outcome query statement returns, generates node state change directive; Described executive plan generation module, for receiving the described node state change directive sent by described API data processing module, and is converted to node state change operating list by described node state change directive; Described node state change operating list is sent to described API data processing module; Described operational administrative module, for after the described node state change operating list receiving the transmission of described API data processing module, generate node state change operation queue according to described node state change operating list, and described node state change operation queue is sent to described XM data processing module; Described XM data processing module, also for described node state change operation queue being sent to described XM by described REST request forward module.
In the present embodiment, by executive plan generation module, be transformed into executive plan, i.e. operating list to by API request, and issue concrete operational order by operational administrative CMOS macro cell, realize the configuration management to XM.
Second aspect, the present invention is by an embodiment of the application, a kind of method of distributed type assemblies configuration management is provided, be applied in distributed type assemblies configuration management device, described method comprises: described REST request forward module carries out legitimate verification after receiving the first kind REST request of XM, and the described first kind REST request be verified is sent to described XM data processing module; Or carry out legitimate verification after the Equations of The Second Kind REST receiving the transmission of external business server asks, and the described Equations of The Second Kind REST request be verified is sent to described API data processing module; Described XM data processing module is asked according to described first kind REST, generates XM event, and described XM event is sent to described state management module; Described API data processing module is asked according to described Equations of The Second Kind REST, generates state outcome query statement, and described state outcome query statement is issued described state management module; Described state management module is after receiving described XM event, and the XM corresponding to described XM event carries out the adjustment of node state, and by the current state write into Databasce of XM corresponding for described XM event; After receiving described state outcome query statement, search the state information of corresponding service according to described state outcome query statement, and give described API data processing module by described status information feedback; Described API data processing module processes the state information that described state management module returns according to described state outcome query statement.
As can be seen from above-mentioned, the invention provides a kind of general distributed type assemblies configuration management device and be applied to the configuring management method of this device, it is no matter the request from XM or external business server, all unified interface can be passed through, namely REST request forward module is distributed to corresponding processing module, i.e. XM data processing module and API data processing module, and then by processing module, the command adapted thereto of condition managing is sent to state management module, in a database the state of XM or service is read by it, the operations such as amendment, the condition managing to all services and XM is realized with this, save system resource.
Optionally, described method also comprises: described XM data processing module is asked according to described first kind REST, generates Node registry instruction, and described Node registry instruction is sent to described Node registry module; Described Node registry module, after receiving described Node registry instruction, generates Node registry event, and described Node registry event is sent to described state management module; Described state management module, according to described Node registry event, writes described database to the state information of XM corresponding to described Node registry event.
In the present embodiment, if there have XM newly to add to be fashionable, only need to be registered by Node registry module, the XM that just newly can add for this has been managed for configuration.
Optionally, described method also comprises: when described first kind REST request is for operating result feedback request, described XM data processing module returns results according to described operating result feedback request acquisition operation, and described operation is returned results and send to described operational administrative module; Described operational administrative module, after receiving described operation and returning results, returns results according to described operation and generates described operation queue, and described operation queue is sent to described XM data processing module; Described operational administrative module is returned results according to described operation the operation queue returned by described REST request forward module and sends to described XM by described XM data processing module.
In the present embodiment, by operational administrative module, can unify, to XM transmit operation list, to realize the configuration management to it.
Optionally, described method also comprises: when described Equations of The Second Kind REST asks as service registration request, described service register module receives the service registry instruction that described API data processing module sends, version management is carried out to the configuration template that service provides, and by the relevant information of described service registry stored in described database.
In the present embodiment, by service register module, the business newly added is registered, realize the configuration management to it.
Optionally, described method also comprises: when described 2nd REST request is for node state change request, the state information that described API data processing module returns according to described state outcome query statement, generates node state change directive; Described executive plan generation module receives the described node state change directive sent by described API data processing module, and described node state change directive is converted to node state change operating list; Described node state change operating list is sent to described API data processing module; Described node state change operating list is sent to described operational administrative module by described API data processing module; Described operational administrative module, for after the described node state change operating list receiving the transmission of described API data processing module, generate node state change operation queue according to described node state change operating list, and described node state change operation queue is sent to described XM data processing module; Described node state change operation queue is sent to described XM by described REST request forward module by described XM data processing module.
In the present embodiment, by executive plan generation module, be transformed into executive plan, i.e. operating list to by API request, and issue concrete operational order by operational administrative CMOS macro cell, realize the configuration management to XM.
Accompanying drawing explanation
Fig. 1 is the functional block diagram of the distributed type assemblies configuration management device in one embodiment of the invention;
Fig. 2 is the functional block diagram of the distributed type assemblies configuration management device in another embodiment of the present invention;
Fig. 3 A-Fig. 3 E is the flow chart of the distributed type assemblies configuring management method in one embodiment of the invention.
Embodiment
Below by accompanying drawing and specific embodiment, technical solution of the present invention is described in detail, the specific features being to be understood that in the embodiment of the present invention and embodiment is the detailed description to technical solution of the present invention, instead of the restriction to technical solution of the present invention, when not conflicting, the technical characteristic in the embodiment of the present invention and embodiment can combine mutually.
One embodiment of the invention provides a kind of distributed type assemblies configuration management device, can be arranged in the central node equipment of distributed type assemblies, is mainly used in realizing the management to XM.XM can be various types of network equipment, is the node that described distributed and configuration management device manages.
As shown in Figure 1, this device can comprise: REST request forward module 11, XM data processing module 12, API data processing module 13, state management module 14.
REST request forward module 11 is for receiving and distribution REST(Representational StateTransfer, characterizing state transitions) ask.
For the purpose of being described clearly, REST request XM sent here becomes first kind REST request, and the REST request sent by external business server becomes Equations of The Second Kind REST asks.REST request forward module 11 can by the first kind REST Requests routing that receives to XM data processing module 12, by the Equations of The Second Kind REST Requests routing that receives to API data processing module 13.Preferably, before carrying out REST Requests routing, first to receive REST request verify, be verified as legal after distribute again.
XM data processing module 12 can be asked by first kind REST, generates XM event, and described XM event is sent to state management module 14.
API data processing module 13 can be asked according to Equations of The Second Kind REST, generate state outcome query statement, and described state outcome query statement is issued state management module 14, and the state information that state management module 14 returns according to described state outcome query statement is processed.
State management module 14 can after receiving described XM event, and the XM corresponding to described XM event carries out the adjustment of node state, and by the current state write into Databasce of XM corresponding for described XM event; After receiving described state outcome query statement, search the state information of corresponding service according to described state outcome query statement, and give described API data processing module by described status information feedback.
Optionally, this distributed type assemblies configuration management device also can comprise one of following functions module or combination in any: Node registry module, operational administrative module, service register module, executive plan generation module.Fig. 2 shows and be also provided with Node registry module 21 on the basis of Fig. 1, operational administrative module 22, service register module 23, the distributed type assemblies configuration management device schematic diagram of executive plan generation module 24.
Certainly, this device can also comprise database.In actual applications, database can also be stored in separately in an electronic equipment, and the application is not specifically limited.
Be described below in conjunction with the function of concrete operation flow to above-mentioned modules.
One, condition managing flow process
Please refer to Fig. 3 A, Fig. 3 A is the flow chart of distributed type assemblies condition managing flow process.
The REST that REST request forward module 11 receives from external equipment asks, and carries out legitimate verification to these requests.
Specifically, above-mentioned REST request is divided into according to the difference in source: first kind REST request and Equations of The Second Kind REST ask, wherein, first kind REST request is sent to distributed type assemblies configuration management device by XM, and Equations of The Second Kind REST request is then sent by external business server.
After legitimate verification, if the REST request that REST request forward module 11 is currently received is first kind REST request, then the first kind REST be verified request is sent to XM data processing module.If the REST that REST request forward module 11 is currently received asks to ask for Equations of The Second Kind REST, then the Equations of The Second Kind REST be verified request is sent to API data processing module.
XM data processing module 12 according to first kind REST request, generates XM event, and XM event is sent to state management module 14 after receiving the next first kind REST request of REST request forward module 11 forwarding.The nodal information that first kind REST request periodically can report to distributed type assemblies configuration management device for XM and its state information.XM data processing module 12 is converted into XM event, and sends to state management module 14.State management module 14 is after receiving XM event, and the XM corresponding to XM event carries out the adjustment of node state, and by the current state write into Databasce of XM corresponding for XM event.
API data processing module 13 is asked according to Equations of The Second Kind REST, is generated state outcome query statement, and state outcome query statement is issued state management module 14 after receiving the next Equations of The Second Kind REST request of REST request forward module 11 forwarding.State management module 14, after receiving state outcome query statement, searches the state information of corresponding service according to state outcome query statement, and by status information feedback to API data processing module 13.API data processing module 13 processes this state information.
Two, Node registry flow process
Please refer to Fig. 3 B, Fig. 3 B is the flow chart of distributed type assemblies Node registry flow process.
When there being new XM to add distributed type assemblies, the XM that this newly adds adopts REST agreement to described distributed type assemblies configuration management device sending node registration request.This REST that REST request forward module 11 receives asks and by after legitimate verification, determines that this REST asks from XM, and be first kind REST request, therefore REST request forward module 11 is transmitted to XM data processing module 12.
XM data processing module 12, according to this request, generates Node registry instruction, and Node registry instruction is sent to Node registry module 21.
Node registry module 21 is after receiving above-mentioned Node registry instruction, generate Node registry event, and Node registry event is sent to state management module 14, by state management module 14 by the XM information corresponding with Node registry event and state information access data storehouse, this completes the flow process that the XM newly added is registered.
Optionally, each XM reports nodal information and/or service status information according to the report cycle of setting to distributed type assemblies configuration management device.If when registered XM long-time (being at least greater than a report cycle) reports nodal information and state information to distributed type assemblies configuration management device, distributed type assemblies configuration management device, after receiving the nodal information and state information that this old XM reports, can be registered this XM again.
Three, operational feedback flow process
Please refer to Fig. 3 C, Fig. 3 C is the flow chart of distributed type assemblies operational feedback flow process.
Because the action need of the state many times changing certain service of XM is divided into multiple step to carry out, after XM completes a step, operating result can be fed back to distributed type assemblies configuration management device by REST request message.It is first kind REST request that REST request forward module 11 identifies this operating result feedback request, then this REST request message is transmitted to XM data processing module 12.XM data processing module 12 returns results according to operating result feedback request acquisition operation, and operation is returned results and send to operational administrative module 22.
Operational administrative module 22, after receiving operation and returning results, returns results generating run queue according to operation, and operation queue is sent to XM data processing module 12.
Optionally, operational administrative module 22 returns results according to operation, can also by operation transitory state write into Databasce current for XM.
After node data processing module 12 receives the operation queue that operational administrative module 22 sends, by REST request forward module, operation queue is sent to XM, for the operational order in the queue of XM executable operations, complete the configuration management of distributed type assemblies configuration management device for XM.
Four, service registry flow process
Please refer to Fig. 3 D, Fig. 3 D is the flow chart of distributed type assemblies service registry flow process.
When new service adds fashionable, external business server initiates service registration request to distributed type assemblies configuration management device, REST request forward module 11 is verified and after forwarding this request, API data processing module 13 is asked according to Equations of The Second Kind REST, i.e. service registration request, generate service registry instruction, and send it to service register module 23, because the operation of service registry each time all can give this service distribution version number, and by service register module 23 write into Databasce, so, service register module 23 is after receiving this instruction, version management is carried out to the configuration template that this service newly added provides, and by the relevant information of service registry, as service type, service release number, realize the services package of configuration management interface, install machinery list, asterisk wildcard or service registry configuration information etc. are stored in described database.
In another embodiment, service register module 23 is also for verifying configuration template, and the related configuration data ensureing that user provides with this is correct.
Five, node state change flow
Please refer to Fig. 3 E, Fig. 3 E is the flow chart of distributed type assemblies node state change flow.
When user changes the state of certain XM by webserver request, 2nd REST request is node state change request, after REST request forward module 11 is verified and is forwarded this request, API data processing module 13 is asked according to Equations of The Second Kind REST, generate state outcome query statement, and state outcome query statement is issued state management module 14, state management module 14 is after receiving state outcome query statement, the state information of corresponding service is searched according to state outcome query statement, and by status information feedback to API data processing module 13, the state information that API data processing module 13 returns according to state outcome query statement, generate node state change directive, and send to executive plan generation module 24.
Executive plan generation module 24 is after receiving the node state change directive sent by API data processing module, node state change directive be converted to node state change operating list and return to API data processing module 13, then being transmitted to operational administrative module 22 by API data processing module 13.
Operational administrative module 22 for receive API data processing module 13 send node state change operating list after, node state change operation queue is generated according to node state change operating list, and node state is changed operation queue and send to XM data processing module 12, by REST request forward module 11, node state is changed operation queue by XM data processing module 12 and send to XM, perform for XM, and change its node state.
Technical scheme in above-mentioned the embodiment of the present application, at least has following technique effect or advantage:
The embodiment of the present invention provides a kind of general distributed type assemblies configuration management device and is applied to the configuring management method of this device, it is no matter the request from XM or external business server, all unified interface can be passed through, namely REST request forward module is distributed to corresponding processing module, i.e. XM data processing module and API data processing module, and then by processing module, the command adapted thereto of condition managing is sent to state management module, in a database the state of XM or service is read by it, the operations such as amendment, the condition managing to all services and XM is realized with this, save system resource.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. a distributed type assemblies configuration management device, is characterized in that, comprising: REST request forward module, XM data processing module, API data processing module, state management module;
Described REST request forward module, carries out legitimate verification after the first kind REST for receiving XM asks, and the described first kind REST request be verified is sent to described XM data processing module; Carry out legitimate verification after receiving the Equations of The Second Kind REST request of external business server transmission, and the described Equations of The Second Kind REST request be verified is sent to described API data processing module;
Described XM data processing module, for according to described first kind REST request, generates XM event, and described XM event is sent to described state management module;
Described API data processing module, for asking according to described Equations of The Second Kind REST, generate state outcome query statement, and described state outcome query statement is issued described state management module, and the state information that described state management module returns according to described state outcome query statement is processed;
Described state management module, for after receiving described XM event, the XM corresponding to described XM event carries out the adjustment of node state, and by the current state write into Databasce of XM corresponding for described XM event; After receiving described state outcome query statement, search the state information of corresponding service according to described state outcome query statement, and give described API data processing module by described status information feedback.
2. device as claimed in claim 1, it is characterized in that, described device, also comprises: Node registry module;
Described XM data processing module, for according to described first kind REST request, generates Node registry instruction, and described Node registry instruction is sent to described Node registry module;
Described Node registry module, for after receiving described Node registry instruction, generates Node registry event, and described Node registry event is sent to described state management module;
Described state management module, also for according to described Node registry event, writes described database to the state information of XM corresponding to described Node registry event.
3. device as claimed in claim 1, it is characterized in that, described device, also comprises: operational administrative module;
Described XM data processing module, also for when described first kind REST request is for operating result feedback request, returns results according to described operating result feedback request acquisition operation, and described operation is returned results and send to described operational administrative module; Also send to described XM for described operational administrative module being returned results according to described operation the operation queue returned by described REST request forward module;
Described operational administrative module, for after receiving described operation and returning results, returns results according to described operation and generates described operation queue, and described operation queue is sent to described XM data processing module.
4. device as claimed in claim 1, it is characterized in that, described device, also comprises:
Service register module, during for asking as service registration request as described Equations of The Second Kind REST, receive the service registry instruction that described API data processing module sends, version management is carried out to the configuration template that service provides, and by the relevant information of described service registry stored in described database; Also for verifying described configuration template.
5. device as claimed in claim 1, it is characterized in that, described device, also comprises: executive plan generation module and operational administrative module;
Described API data processing module, also for when described 2nd REST request is for node state change request, according to the state information that described state outcome query statement returns, generates node state change directive;
Described executive plan generation module, for receiving the described node state change directive sent by described API data processing module, and is converted to node state change operating list by described node state change directive; Described node state change operating list is sent to described API data processing module;
Described operational administrative module, for after the described node state change operating list receiving the transmission of described API data processing module, generate node state change operation queue according to described node state change operating list, and described node state change operation queue is sent to described XM data processing module;
Described XM data processing module, also for described node state change operation queue being sent to described XM by described REST request forward module.
6. a distributed type assemblies configuring management method, is characterized in that, be applied in the distributed type assemblies configuration management device as described in any one of Claims 1 to 5, described method comprises:
Described REST request forward module carries out legitimate verification after receiving the first kind REST request of XM, and the described first kind REST request be verified is sent to described XM data processing module; Or carry out legitimate verification after the Equations of The Second Kind REST receiving the transmission of external business server asks, and the described Equations of The Second Kind REST request be verified is sent to described API data processing module;
Described XM data processing module is asked according to described first kind REST, generates XM event, and described XM event is sent to described state management module;
Described API data processing module is asked according to described Equations of The Second Kind REST, generates state outcome query statement, and described state outcome query statement is issued described state management module;
Described state management module is after receiving described XM event, and the XM corresponding to described XM event carries out the adjustment of node state, and by the current state write into Databasce of XM corresponding for described XM event; After receiving described state outcome query statement, search the state information of corresponding service according to described state outcome query statement, and give described API data processing module by described status information feedback;
Described API data processing module processes the state information that described state management module returns according to described state outcome query statement.
7. method as claimed in claim 6, it is characterized in that, described method also comprises:
Described XM data processing module is asked according to described first kind REST, generates Node registry instruction, and described Node registry instruction is sent to described Node registry module;
Described Node registry module, after receiving described Node registry instruction, generates Node registry event, and described Node registry event is sent to described state management module;
Described state management module, according to described Node registry event, writes described database to the state information of XM corresponding to described Node registry event.
8. method as claimed in claim 6, it is characterized in that, described method also comprises:
When described first kind REST request is for operating result feedback request, described XM data processing module returns results according to described operating result feedback request acquisition operation, and described operation is returned results and send to described operational administrative module;
Described operational administrative module, after receiving described operation and returning results, returns results according to described operation and generates described operation queue, and described operation queue is sent to described XM data processing module;
Described operational administrative module is returned results according to described operation the operation queue returned by described REST request forward module and sends to described XM by described XM data processing module.
9. method as claimed in claim 6, it is characterized in that, described method also comprises:
When described Equations of The Second Kind REST asks as service registration request, described service register module receives the service registry instruction that described API data processing module sends, version management is carried out to the configuration template that service provides, and by the relevant information of described service registry stored in described database.
10. method as claimed in claim 6, it is characterized in that, described method also comprises:
When described 2nd REST request is for node state change request, the state information that described API data processing module returns according to described state outcome query statement, generates node state change directive;
Described executive plan generation module receives the described node state change directive sent by described API data processing module, and described node state change directive is converted to node state change operating list; Described node state change operating list is sent to described API data processing module;
Described node state change operating list is sent to described operational administrative module by described API data processing module;
Described operational administrative module, for after the described node state change operating list receiving the transmission of described API data processing module, generate node state change operation queue according to described node state change operating list, and described node state change operation queue is sent to described XM data processing module;
Described node state change operation queue is sent to described XM by described REST request forward module by described XM data processing module.
CN201310741729.XA 2013-12-27 2013-12-27 A kind of distributed type assemblies configuring management method and device Active CN104753706B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310741729.XA CN104753706B (en) 2013-12-27 2013-12-27 A kind of distributed type assemblies configuring management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310741729.XA CN104753706B (en) 2013-12-27 2013-12-27 A kind of distributed type assemblies configuring management method and device

Publications (2)

Publication Number Publication Date
CN104753706A true CN104753706A (en) 2015-07-01
CN104753706B CN104753706B (en) 2017-11-24

Family

ID=53592858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310741729.XA Active CN104753706B (en) 2013-12-27 2013-12-27 A kind of distributed type assemblies configuring management method and device

Country Status (1)

Country Link
CN (1) CN104753706B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790289A (en) * 2017-03-07 2017-05-31 北京搜狐新媒体信息技术有限公司 A kind of dynamic load processing method and system based on Nginx servers
CN109189856A (en) * 2018-08-15 2019-01-11 中国联合网络通信集团有限公司 Distributed data base service management, device, server and storage medium
CN109743202A (en) * 2018-12-26 2019-05-10 中国联合网络通信集团有限公司 Management method, device, equipment and the readable storage medium storing program for executing of data
CN109936589A (en) * 2017-12-15 2019-06-25 中国移动通信集团浙江有限公司 Dynamic load balancing method, device and platform based on API hot value
CN111752701A (en) * 2019-03-29 2020-10-09 北京数安鑫云信息技术有限公司 System cluster and resource scheduling method thereof
CN112559519A (en) * 2020-12-09 2021-03-26 北京红山信息科技研究院有限公司 Big data cluster management system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030204273A1 (en) * 2002-04-29 2003-10-30 Darpan Dinker System and method for topology manager employing finite state automata for dynamic cluster formation
CN101895431A (en) * 2010-08-20 2010-11-24 烽火通信科技股份有限公司 RIA-based high-performance Web transmission network management system and implementation method thereof
CN102833092A (en) * 2012-06-21 2012-12-19 江西省电力公司信息通信中心 Method and system for managing cloud nodes and central server
CN102983996A (en) * 2012-11-21 2013-03-20 浪潮电子信息产业股份有限公司 Dynamic allocation method and system for high-availability cluster resource management

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030204273A1 (en) * 2002-04-29 2003-10-30 Darpan Dinker System and method for topology manager employing finite state automata for dynamic cluster formation
CN101895431A (en) * 2010-08-20 2010-11-24 烽火通信科技股份有限公司 RIA-based high-performance Web transmission network management system and implementation method thereof
CN102833092A (en) * 2012-06-21 2012-12-19 江西省电力公司信息通信中心 Method and system for managing cloud nodes and central server
CN102983996A (en) * 2012-11-21 2013-03-20 浪潮电子信息产业股份有限公司 Dynamic allocation method and system for high-availability cluster resource management

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790289A (en) * 2017-03-07 2017-05-31 北京搜狐新媒体信息技术有限公司 A kind of dynamic load processing method and system based on Nginx servers
CN109936589A (en) * 2017-12-15 2019-06-25 中国移动通信集团浙江有限公司 Dynamic load balancing method, device and platform based on API hot value
CN109936589B (en) * 2017-12-15 2021-09-03 中国移动通信集团浙江有限公司 Dynamic load balancing method, device and platform based on API (application program interface) heat value
CN109189856A (en) * 2018-08-15 2019-01-11 中国联合网络通信集团有限公司 Distributed data base service management, device, server and storage medium
CN109743202A (en) * 2018-12-26 2019-05-10 中国联合网络通信集团有限公司 Management method, device, equipment and the readable storage medium storing program for executing of data
CN111752701A (en) * 2019-03-29 2020-10-09 北京数安鑫云信息技术有限公司 System cluster and resource scheduling method thereof
CN111752701B (en) * 2019-03-29 2024-01-26 北京数安鑫云信息技术有限公司 System cluster and resource scheduling method thereof
CN112559519A (en) * 2020-12-09 2021-03-26 北京红山信息科技研究院有限公司 Big data cluster management system

Also Published As

Publication number Publication date
CN104753706B (en) 2017-11-24

Similar Documents

Publication Publication Date Title
CN104753706A (en) Distributed cluster configuration management method and distributed cluster configuration management device
EP3059900B1 (en) Network service template management method and device
CN102591724B (en) Method and device for information interaction
CN111143382B (en) Data processing method, system and computer readable storage medium
CN104199957A (en) Redis universal agent implementation method
WO2018166398A1 (en) System for managing license in nfv network
CN105450618A (en) Operation method and operation system of big data process through API (Application Programming Interface) server
CN102789394B (en) Method, device and nodes for parallelly processing information and server cluster
CN112416969B (en) Parallel task scheduling system in distributed database
US20150355892A1 (en) Resources provisioning based on a set of discrete configurations
CN104537045A (en) Service distribution method and device based on distributive system
CN113821506A (en) Task execution method, device, system, server and medium for task system
CN111737353A (en) Metadata synchronization method and device
CN108259605B (en) Data calling system and method based on multiple data centers
CN114124948A (en) High-availability method, device, equipment and readable medium for cloud component
WO2018188607A1 (en) Stream processing method and device
CN111258840B (en) Cluster node management method and device and cluster
KR102631288B1 (en) Subscription server, subscription terminal, information subscription method, and system
CN111897643A (en) Thread pool configuration system, method, device and storage medium
CN109783132B (en) Method and device for realizing system singleization and distribution
WO2023185043A1 (en) Method and apparatus for allocating invokable resources
CN112395337A (en) Data export method and device
CN114692185A (en) Data processing method and device
CN114710492A (en) Method and device for establishing direct connection channel
CN102681881B (en) Across machine dispatching method and system thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant