CN106713468A - Distributed cluster service structure and node cooperation method thereof - Google Patents

Distributed cluster service structure and node cooperation method thereof Download PDF

Info

Publication number
CN106713468A
CN106713468A CN201611244228.0A CN201611244228A CN106713468A CN 106713468 A CN106713468 A CN 106713468A CN 201611244228 A CN201611244228 A CN 201611244228A CN 106713468 A CN106713468 A CN 106713468A
Authority
CN
China
Prior art keywords
node
agent node
stacking
stacking agent
cluster
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
CN201611244228.0A
Other languages
Chinese (zh)
Other versions
CN106713468B (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.)
Shenzhen Intellifusion Technologies Co Ltd
Original Assignee
Shenzhen Intellifusion Technologies 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 Shenzhen Intellifusion Technologies Co Ltd filed Critical Shenzhen Intellifusion Technologies Co Ltd
Priority to CN201611244228.0A priority Critical patent/CN106713468B/en
Publication of CN106713468A publication Critical patent/CN106713468A/en
Priority to PCT/CN2017/114855 priority patent/WO2018121201A1/en
Application granted granted Critical
Publication of CN106713468B publication Critical patent/CN106713468B/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/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a distributed cluster service structure and a node cooperation method thereof, wherein the distributed cluster service structure is a multi-layer sub-centre structure; the distributed cluster service structure comprises cluster working nodes and stacking agent nodes; the stacking agent nodes are used as the agents of the cluster working nodes, wherein the cluster working nodes are used for determining the stacking agent nodes affiliated to the cluster working nodes through a protocol and a process; and the stacking agent nodes are used for managing all the cluster working nodes agented by the stacking agent nodes. By means of the embodiment of the invention, the system has great self-organization performance and expansibility; and simultaneously, high availability of services and service balance can be realized.

Description

A kind of distributed type assemblies service structure and its method for node synergy
Technical field
The present invention relates to server cluster field, more particularly to a kind of distributed type assemblies service structure and its node collaborative party Method.
Background technology
With the complexity scale of business, the concurrent scale of business, data processing and storage size in various modern systems The growth of ground explosion type, present computer service system has become increasingly dependent on the calculating and storage of concentrating type.
At present, because the venue content that the Servers-all in system can not be in the same localities is received, then must will be same Server in individual business system is deployed separately in the place in multiple regions, is continually changing in business scale and is caused server Under the scene that scale and distribution are continually changing, if directly applying mechanically the scheme and structure of existing common distributed system (i.e. Centralization cluster topology), it will cause following some problems:1st, the PC cluster under the control of center needs substantial amounts of network inputs The support of (Input Output, IO) is exported, in taking data as the system of main process object, I/O bottleneck will be the place of system One restriction of reason ability extension;2nd, the frequent change of system will cause the great difficulty in the maintenance of business;3rd, network service Unstability (such as shake of time delay and packet loss), the stabilization to system brings greater impact;4th, the server in the whole network Between business it is interrelated, poor expandability;5th, the interface disunity between system, the design to each system brings larger difficulty Degree.
It can be seen that, a kind of new cluster service structure how is provided to simplify many problems such as the design/O&M of system It is a technical task urgently to be resolved hurrily.
The content of the invention
The embodiment of the invention provides a kind of distributed type assemblies service structure and its method for node synergy, it can be ensured that system With fabulous self-organization, autgmentability, meanwhile, realize the high availability and traffic balancing of business.
Embodiment of the present invention first aspect discloses a kind of distributed type assemblies service structure, the distributed type assemblies service knot Structure is multi-level branch center structure, and the distributed type assemblies service structure includes:Cluster working node and stacking agent node, institute Agency of the stacking agent node as the cluster working node is stated, wherein:
The cluster working node, for determining that the heap that the cluster working node is affiliated to is iterated by agreement and flow Reason node;
The stacking agent node, for managing all cluster working nodes that the stacking agent node is acted on behalf of.
Used as a kind of optional implementation method, in embodiment of the present invention first aspect, the stacking agent node includes Root stacks agent node, and described stacking agent node is used to safeguard the distributed type assemblies service structure.
Used as a kind of optional implementation method, in embodiment of the present invention first aspect, the stacking agent node is also used In the maintenance process for carrying out the described election process of stacking agent node, topological renewal process and business route.
It is described to stack connecing for agent node in embodiment of the present invention first aspect as a kind of optional implementation method Mouthful be the superset of the interface of the cluster working node, the interface of the stacking agent node include cluster stacking proxy interface and Working node interface proxy interface.
As a kind of optional implementation method, in embodiment of the present invention first aspect, the distributed type assemblies service knot Structure is the dynamic cluster of a self-organizing and self-healing.
Embodiment of the present invention second aspect discloses a kind of method for node synergy based on distributed type assemblies service structure, bag Include:
Root stacking agent node is elected from multiple stacking agent nodes that distributed type assemblies service structure includes;
The topological forming process of the multiple stacking agent node is carried out by described stacking agent node;
Coordinate to carry out the industry from cluster working node to the distribution of stacking agent node by described stacking agent node Business route forming process.
It is described from distributed type assemblies service in embodiment of the present invention second aspect as a kind of optional implementation method Electing root stacking agent node in multiple stacking agent nodes that structure includes includes:
Obtain the server admin ability of multiple stacking agent nodes that distributed type assemblies service structure includes;
From the multiple stacking agent node, the most strong stacking agent node of server admin ability is defined as root heap Folded agent node.
Used as a kind of optional implementation method, in embodiment of the present invention second aspect, methods described also includes:
If the most strong stacking agent node of server admin ability exist it is multiple, it is most strong many from server admin ability In individual stacking agent node, the stacking agent node of identity minimum is defined as root stacking agent node.
As a kind of optional implementation method, in embodiment of the present invention second aspect, in the multiple stacking agency section After the topological forming process of point terminates, each the described stacking agent node in the distributed type assemblies service structure determines institute The father node of stacking agent node is stated, the father node of the stacking agent node is server admin ability and time-to-live TTL is apart from optimal stacking agent node.
As a kind of optional implementation method, in embodiment of the present invention second aspect, it route to be formed in the business After journey terminates, each the described cluster working node in the distributed type assemblies service structure determines the cluster working node Home Agent node, the stacking agent node that the Home Agent node is affiliated to by the cluster working node, and institute State Home Agent node remaining Service Management ability highest when multiple cluster working nodes are served.
Compared with prior art, the embodiment of the present invention possesses following beneficial effect:
In the embodiment of the present invention, distributed type assemblies service structure is multi-level branch center structure, can be met trans-regional The locality of the business of deployment scenario, autgmentability and self-organization ground demand.Meanwhile, by adding stacking on cluster topology Agent node, the stacking agent node as cluster working node agency, and by stack agent node provide cluster from Organization mechanism, realizes the high scalability and high availability of cluster.Additionally, the multiple stackings included from distributed type assemblies service structure Root stacking agent node is elected in agent node, stacking agent node by root carries out the topological shape of multiple stacking agent nodes Into process, agent node is stacked by root and coordinates to carry out to be route from cluster working node to the business of the distribution for stacking agent node The collaborative work of forming process etc., realizes the high availability and traffic balancing of business.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of structural representation of distributed type assemblies service structure disclosed in the embodiment of the present invention;
Fig. 2 is a kind of relation structure diagram for stacking agent node and cluster working node disclosed in the embodiment of the present invention;
Fig. 3 is a kind of flow of the method for node synergy based on distributed type assemblies service structure disclosed in the embodiment of the present invention Schematic diagram;
Fig. 4 is a kind of structural representation of node collaborative device disclosed in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Term " comprising " and " having " in description and claims of this specification and above-mentioned accompanying drawing and they appoint What deforms, it is intended that covering is non-exclusive to be included.For example contain process, method, system, the product of series of steps or unit Product or equipment are not limited to the step of having listed or unit, but alternatively also include the step of not listing or unit, or Alternatively also include for these processes, method, product or other intrinsic steps of equipment or unit.
The embodiment of the invention discloses a kind of distributed type assemblies service structure and its method for node synergy, it can be ensured that system With fabulous self-organization, autgmentability, meanwhile, realize the high availability and traffic balancing of business.Carry out individually below in detail Explanation.
Fig. 1 is referred to, Fig. 1 is a kind of structural representation of distributed type assemblies service structure disclosed in the embodiment of the present invention. As shown in figure 1, the distributed type assemblies service structure is multi-level branch center structure, the distributed type assemblies service knot includes cluster work Make node and stacking agent node, such as:Root stacks agent node, cluster working node 0, stacking agent node 0 in the 0th layer And stacking agent node 1, stacking agent node 2, cluster working node 2, cluster working node 3 and stacking in the 1st layer Agent node 3, cluster working node (N-1), cluster working node 1, cluster working node N and stacking agency in the 2nd layer Node 4.Wherein, agency of the agent node as cluster working node is stacked,
The cluster working node, for determining that the heap that the cluster working node is affiliated to is iterated by agreement and flow Reason node;
The stacking agent node, for managing all cluster working nodes that the stacking agent node is acted on behalf of.
For example, the stacking agent node that cluster working node 0 is affiliated to is that root stacks agent node, cluster work section The stacking agent node that point 1 is affiliated to is stacking agent node 2, and the stacking agent node that cluster working node 2 is affiliated to is heap Folded agent node 0, the stacking agent node that cluster working node 3 is affiliated to is stacking agent node 1, cluster working node (N- 1) the stacking agent node being affiliated to is stacking agent node 2, and the stacking agent node that cluster working node N is affiliated to is stacking Agent node 3.
Wherein, it is all cluster working nodes that it is acted on behalf of that stacking agent node can be managed, additionally, stacking agency's section Point can also manage stacking sub-agent node.Such as:Stacking agent node 1 can manage cluster working node 3 and stacking is acted on behalf of Node 3.
Wherein, system can stack agent node and access whole cluster by root, meanwhile, root stacking agent node is used to tie up Shield distributed type assemblies service structure.
Wherein, the distributed type assemblies service structure is the dynamic cluster of a self-organizing and self-healing.
Optionally, the stacking agent node is additionally operable to carry out the described election process of stacking agent node, topology more The maintenance process of new process and business route.The high availability and traffic balancing of business can be realized.
Optionally, the interface of the stacking agent node is the superset of the interface of the cluster working node, the stacking The interface of agent node includes that cluster stacks proxy interface and working node interface proxy interface.
Please also refer to Fig. 2, Fig. 2 is a kind of stacking agent node disclosed in the embodiment of the present invention and cluster working node Relation structure diagram.As shown in Fig. 2 the interface of stacking agent node includes that cluster stacks proxy interface and working node interface proxy Interface, stacking agent node can carry out election process, topological renewal process and the business route of root stacking agent node Maintenance process.The interface of cluster working node includes working node interface, it is seen then that the interface of stacking agent node is the cluster The superset of the interface of working node.
By providing a super junction to cluster working node, it is possible to achieve the self-organization of system, scalability And the characteristics of traffic balancing.
In the embodiment of the present invention, distributed type assemblies service structure is multi-level branch center structure, can be met trans-regional The locality of the business of deployment scenario, autgmentability and self-organization ground demand.Meanwhile, by adding stacking on cluster topology Agent node, the stacking agent node as cluster working node agency, and by stack agent node provide cluster from Organization mechanism, realizes the high scalability and high availability of cluster.Additionally, the multiple stackings included from distributed type assemblies service structure Root stacking agent node is elected in agent node, stacking agent node by root carries out the topological shape of multiple stacking agent nodes Into process, agent node is stacked by root and coordinates to carry out to be route from cluster working node to the business of the distribution for stacking agent node The collaborative work of forming process etc., realizes the high availability and traffic balancing of business.
Additionally, the distributed type assemblies service structure possesses stackability, it is possible to use the part of data processing and Operational Visit Property, eliminate the unnecessary IO of each side and the information exchange expenses such as unnecessary network/storage/control.Set between each subsystem The unified access interface of meter, can support not limiting the hybrid stack-ups between the different components of level, simplify system deployment and Safeguard.
Fig. 3 is referred to, Fig. 3 is a kind of node collaboration based on distributed type assemblies service structure disclosed in the embodiment of the present invention The schematic flow sheet of method.As shown in figure 3, the method may comprise steps of.
301st, root stacking agent node is elected from multiple stacking agent nodes that distributed type assemblies service structure includes.
In the embodiment of the present invention, before stacked structure formation, all stacking agent nodes are peer-to-peers, this equity Relation is embodied in:In cluster initial procedure, any one stacking agent node has the possibility that agent node is stacked as root, When current root stacking agent node exits service extremely, in the renewal process of stacking cluster, remaining normal heap is iterated Reason node has the root for turning into new again to stack the possibility of agent node.
Specifically, elect root heap in the multiple stacking agent nodes included from distributed type assemblies service structure iterating Reason node includes:
Obtain the server admin ability of multiple stacking agent nodes that distributed type assemblies service structure includes;
From the multiple stacking agent node, the most strong stacking agent node of server admin ability is defined as root heap Folded agent node.
In this embodiment it is possible to obtain the clothes of multiple stacking agent nodes that distributed type assemblies service structure includes in advance Business device managerial ability (i.e. Capability).In actual system, CPU/GPU/ internal memories/network I/O/storage IO/ memory capacity Etc. factor all characterize an active service ability for server node.The ability of equation below expression node:
Capability (x)=∑ SubCapality (n) × Weight (n)
Wherein, Capability (x) represents that xth stacks the server admin ability of agent node, SubCapality (n) It is the value of each subitem, Weight (n) is the weight (i.e. significance level) of each subitem.
Where it is assumed that there is root stacking agent node in system, then root stacking agent node can be according to the period 1 to being System broadcast first message, meanwhile, the non-root stacking agent node in system can be according to second round to the message of system broadcasts second. Wherein, above-mentioned period 1 and second round can be the random time that system specifies, period 1 and second round can phases Together can also be different, first message can be root node notification message (i.e. RootNotify message), and the second message can be energy Power notification message (i.e. CapabilityNotify message), first message and the second message carry the body of stacking agent node Part identification number and server admin ability value.
After the initialization of a new stacking agent node is finished, the message that N number of period 1 is made first is monitored.Disappearing In the snoop procedure of breath, the new stacking agent node may be collected into two kinds of message:First message and the second message.If Within the period 1, the new stacking agent node is collected into first message, shows the election of root stacking agent node in system Complete.Now this new stacking agent node selection temporarily receives election results, and be added in this system, while opening Originate and give the second message of oneself.Saved higher than current root stacking agency in the server admin ability of the new stacking agent node In the case of the server admin ability of point, current root stacking agent node can lift logical according to the period 3 to system broadcasts gravity treatment Know (i.e. RerootRequest message), whether need to re-elect root stacking with other stacking agent nodes in inquiry system Agent node.The new stacking agent node is received after gravity treatment act notice, determines that the new stacking agent node is more suitable for Agent node is stacked as new root, is lifted to current root stacking agent node response gravity treatment and notified, current root stacking agent node Receive after lifting the response message for notifying for gravity treatment, stop sending first message, and start to send the second message, when in system When not having any stacking agent node to send first message, the server admin ability highest new stacking agent node stops The second message is only sent, and starts to send first message.Wherein, the above-mentioned period 3 can be the random time that system specifies.
Used as a kind of optional implementation method, methods described also includes:
If the most strong stacking agent node of server admin ability exist it is multiple, it is most strong many from server admin ability In individual stacking agent node, the stacking agent node of identity minimum is defined as root stacking agent node.
Wherein, if the most strong stacking agent node of server admin ability has multiple (i.e. at least 2), identity mark The stacking agent node of knowledge minimum will determine as root stacking agent node.
302nd, stacking agent node by root carries out the topological forming process of multiple stacking agent nodes.
In the embodiment of the present invention, it is necessary to start opening up for stacking agent node after the election of root stacking agent node terminates Flutter forming process.Root stacking agent node sets up information (i.e. TopologyBuild message), other heaps to system broadcasts topology Folded agent node is to system broadcasts topology outstanding message (i.e. TopologyWait message).Others stacking agent node is received Topology is set up after information, if the topology of the stacking agent node is in sets up state (i.e. Building states), Caching topology sets up information, after more than the default time, by Service Management ability and time-to-live (Time to Live, TTL father node) is determined as apart from optimal node, and enters into topological completion status, stop sending topological outstanding message.Such as Really the topology of the stacking agent node be in completion status (i.e. Builed states), then can to except root stack agent node with And the node outside father node sends topology and sets up information.
After the topological forming process of the multiple stacking agent node terminates, in the distributed type assemblies service structure Each stacking agent node determines the father node of the stacking agent node, and the father node of the stacking agent node is Server admin ability and time-to-live TTL are apart from optimal stacking agent node.
303rd, coordinate to carry out the industry from cluster working node to the distribution of stacking agent node by root stacking agent node Business route forming process.
In the embodiment of the present invention, root stacks agent node, and to system broadcasts route announcement information, (i.e. RouteNotice disappears Breath), to obtain the information of all cluster working nodes.Root stacks agent node and sends route order to any one cluster working node Board (i.e. RouteToken tokens), cluster working node is received after the RouteToken tokens, from the generation oneself being collected into In reason information, the remaining server admin ability value of the stacking agent node is calculated respectively, computing formula is as follows:
Capabilityleft=Capability- ∑s UsedCapability (n)
Wherein, the implication of the formula is that the server admin ability value that the stacking agent node has in itself is subtracted when its clothes It is engaged in after certain cluster working node, the server admin ability value required for it, i.e., the value of remaining Capability.Calculate Highest is the Home Agent node of the cluster working node.
Wherein, after business route forming process terminates, described in each in the distributed type assemblies service structure Cluster working node determines the Home Agent node of the cluster working node, and the Home Agent node is the cluster work Make the stacking agent node that node is affiliated to, and the Home Agent node is remaining when multiple cluster working nodes are served Service Management ability highest.
In the embodiment of the present invention, distributed type assemblies service structure is multi-level branch center structure, can be met trans-regional The locality of the business of deployment scenario, autgmentability and self-organization ground demand.Meanwhile, by adding stacking on cluster topology Agent node, the stacking agent node as cluster working node agency, and by stack agent node provide cluster from Organization mechanism, realizes the high scalability and high availability of cluster.Additionally, the multiple stackings included from distributed type assemblies service structure Root stacking agent node is elected in agent node, stacking agent node by root carries out the topological shape of multiple stacking agent nodes Into process, agent node is stacked by root and coordinates to carry out to be route from cluster working node to the business of the distribution for stacking agent node The collaborative work of forming process etc., realizes the high availability and traffic balancing of business.
Additionally, the distributed type assemblies service structure possesses stackability, it is possible to use the part of data processing and Operational Visit Property, eliminate the unnecessary IO of each side and the information exchange expenses such as unnecessary network/storage/control.Set between each subsystem The unified access interface of meter, can support not limiting the hybrid stack-ups between the different components of level, simplify system deployment and Safeguard.
Fig. 4 is referred to, Fig. 4 is a kind of structural representation of node collaborative device disclosed in the embodiment of the present invention.Wherein, should Node collaborative device can be used for performing the method for node synergy based on distributed type assemblies service structure described by Fig. 2, specifically The associated description in Fig. 2 is refer to, be will not be repeated here.As shown in figure 4, the node collaborative device includes:
Election unit 401, for electing root from multiple stacking agent nodes that distributed type assemblies service structure includes Stacking agent node;
First execution unit 402, for carrying out the multiple stacking agent node by described stacking agent node Topological forming process;
Second execution unit 403, for coordinating to carry out from cluster working node to heap by described stacking agent node The business route forming process of the distribution of folded agent node.
Optionally, the election unit is elected from multiple stacking agent nodes that distributed type assemblies service structure includes The mode of root stacking agent node is specially:
Obtain the server admin ability of multiple stacking agent nodes that distributed type assemblies service structure includes;
From the multiple stacking agent node, the most strong stacking agent node of server admin ability is defined as root heap Folded agent node.
Optionally, the election unit is elected from multiple stacking agent nodes that distributed type assemblies service structure includes The mode of root stacking agent node is specially:
If the most strong stacking agent node of server admin ability exist it is multiple, it is most strong many from server admin ability In individual stacking agent node, the stacking agent node of identity minimum is defined as root stacking agent node.
Wherein, after the topological forming process in the multiple stacking agent node terminates, the distributed type assemblies service knot Each described stacking agent node in structure determines the father node of the stacking agent node, the father of the stacking agent node Node is server admin ability and time-to-live TTL apart from optimal stacking agent node.
Wherein, after business route forming process terminates, described in each in the distributed type assemblies service structure Cluster working node determines the Home Agent node of the cluster working node, and the Home Agent node is the cluster work Make the stacking agent node that node is affiliated to, and the Home Agent node is remaining when multiple cluster working nodes are served Service Management ability highest.
In the embodiment of the present invention, distributed type assemblies service structure is multi-level branch center structure, can be met trans-regional The locality of the business of deployment scenario, autgmentability and self-organization ground demand.Meanwhile, by adding stacking on cluster topology Agent node, the stacking agent node as cluster working node agency, and by stack agent node provide cluster from Organization mechanism, realizes the high scalability and high availability of cluster.Additionally, the multiple stackings included from distributed type assemblies service structure Root stacking agent node is elected in agent node, stacking agent node by root carries out the topological shape of multiple stacking agent nodes Into process, agent node is stacked by root and coordinates to carry out to be route from cluster working node to the business of the distribution for stacking agent node The collaborative work of forming process etc., realizes the high availability and traffic balancing of business.
Additionally, the distributed type assemblies service structure possesses stackability, it is possible to use the part of data processing and Operational Visit Property, eliminate the unnecessary IO of each side and the information exchange expenses such as unnecessary network/storage/control.Set between each subsystem The unified access interface of meter, can support not limiting the hybrid stack-ups between the different components of level, simplify system deployment and Safeguard.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention not by described by sequence of movement limited because According to the present invention, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, involved action and module is not necessarily of the invention It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematical, the division of such as unit, only a kind of logic Function is divided, and can have other dividing mode when actually realizing, such as multiple units or component can be combined or can collected Can ignore into another system, or some features, or not perform.Another, shown or discussed coupling each other Close or direct-coupling or communication connection can be the INDIRECT COUPLING or communication connection of device or unit by some interfaces, can be with It is electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, be shown as unit Part can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks On unit.Some or all of unit therein can be according to the actual needs selected to realize the purpose of this embodiment scheme.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If integrated unit, can to realize in the form of SFU software functional unit and as independent production marketing or when using To store in a computer-readable access to memory.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or all or part of the technical scheme can be embodied in the form of software product Come, the computer software product is stored in a memory, including some instructions are used to so that a computer equipment (can be Personal computer, server or network equipment etc.) perform all or part of step of each embodiment method of the invention.And it is preceding The memory stated includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable memory, memory Can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English: Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present invention is described in detail above, specific case used herein to principle of the invention and Implementation method is set forth, and the explanation of above example is only intended to help and understands the method for the present invention and its core concept; Simultaneously for those of ordinary skill in the art, according to thought of the invention, can in specific embodiments and applications There is change part, to sum up above-mentioned, this specification content should not be construed as limiting the invention.

Claims (10)

1. a kind of distributed type assemblies service structure, it is characterised in that the distributed type assemblies service structure is multi-level branch center Structure, the distributed type assemblies service structure includes:Cluster working node and stacking agent node, the stacking agent node are made It is the agency of the cluster working node, wherein:
The cluster working node, for determining that the stacking that the cluster working node is affiliated to acts on behalf of section by agreement and flow Point;
The stacking agent node, for managing all cluster working nodes that the stacking agent node is acted on behalf of.
2. distributed type assemblies service structure according to claim 1, it is characterised in that the stacking agent node includes root Stacking agent node, described stacking agent node is used to safeguard the distributed type assemblies service structure.
3. distributed type assemblies service structure according to claim 2, it is characterised in that the stacking agent node is additionally operable to Carry out the maintenance process of the described election process of stacking agent node, topological renewal process and business route.
4. the distributed type assemblies service structure according to any one of claims 1 to 3, it is characterised in that the stacking agency The interface of node is the superset of the interface of the cluster working node, and the interface of the stacking agent node is iterated including cluster heap Reason interface and working node interface proxy interface.
5. the distributed type assemblies service structure according to any one of claims 1 to 3, it is characterised in that the distributed collection Group's service structure is the dynamic cluster of a self-organizing and self-healing.
6. a kind of method for node synergy based on distributed type assemblies service structure, it is characterised in that including:
Root stacking agent node is elected from multiple stacking agent nodes that distributed type assemblies service structure includes;
The topological forming process of the multiple stacking agent node is carried out by described stacking agent node;
Coordinate to carry out from cluster working node to the business road of the distribution of stacking agent node by described stacking agent node By forming process.
7. method according to claim 6, it is characterised in that the multiple heaps included from distributed type assemblies service structure Root stacking agent node is elected in folded agent node to be included:
Obtain the server admin ability of multiple stacking agent nodes that distributed type assemblies service structure includes;
From the multiple stacking agent node, the most strong stacking agent node of server admin ability is defined as root heap and is iterated Reason node.
8. method according to claim 7, it is characterised in that methods described also includes:
If there is multiple in the most strong stacking agent node of server admin ability, from the most strong multiple heaps of server admin ability In folded agent node, the stacking agent node of identity minimum is defined as root stacking agent node.
9. the method according to any one of claim 6~8, it is characterised in that in opening up for the multiple stacking agent node Flutter after forming process terminates, each the described stacking agent node in the distributed type assemblies service structure determines the stacking The father node of agent node, the father node of the stacking agent node is server admin ability and time-to-live TTL distance Optimal stacking agent node.
10. the method according to any one of claim 6~8, it is characterised in that terminate in business route forming process Afterwards, each the described cluster working node in the distributed type assemblies service structure determines the host of the cluster working node Agent node, the stacking agent node that the Home Agent node is affiliated to by the cluster working node, and the host Agent node remaining Service Management ability highest when multiple cluster working nodes are served.
CN201611244228.0A 2016-12-29 2016-12-29 A kind of distributed type assemblies service system and its method for node synergy Active CN106713468B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201611244228.0A CN106713468B (en) 2016-12-29 2016-12-29 A kind of distributed type assemblies service system and its method for node synergy
PCT/CN2017/114855 WO2018121201A1 (en) 2016-12-29 2017-12-06 Distributed cluster service structure, node cooperation method and device, terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611244228.0A CN106713468B (en) 2016-12-29 2016-12-29 A kind of distributed type assemblies service system and its method for node synergy

Publications (2)

Publication Number Publication Date
CN106713468A true CN106713468A (en) 2017-05-24
CN106713468B CN106713468B (en) 2018-11-20

Family

ID=58903881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611244228.0A Active CN106713468B (en) 2016-12-29 2016-12-29 A kind of distributed type assemblies service system and its method for node synergy

Country Status (2)

Country Link
CN (1) CN106713468B (en)
WO (1) WO2018121201A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018121201A1 (en) * 2016-12-29 2018-07-05 深圳云天励飞技术有限公司 Distributed cluster service structure, node cooperation method and device, terminal and medium
CN108616566A (en) * 2018-03-14 2018-10-02 华为技术有限公司 Raft distributed systems select main method, relevant device and system
CN109714312A (en) * 2018-11-19 2019-05-03 中国科学院信息工程研究所 A kind of acquisition strategies generation method and system based on outside threat
WO2019137416A1 (en) * 2018-01-12 2019-07-18 华为技术有限公司 Computing system and method based on tree topology
CN110351375A (en) * 2019-07-16 2019-10-18 深圳市网心科技有限公司 A kind of data processing method, device and computer installation, readable storage medium storing program for executing
CN110855505A (en) * 2019-11-26 2020-02-28 上海英方软件股份有限公司 High-availability rule stacking implementation system and method
CN111404647A (en) * 2019-01-02 2020-07-10 中兴通讯股份有限公司 Control method of node cooperative relationship and related equipment
CN113568303A (en) * 2021-09-26 2021-10-29 成都数默科技有限公司 PID control algorithm-based network flow packet capturing, flow limiting and packet loss method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478435A (en) * 2009-01-20 2009-07-08 杭州华三通信技术有限公司 Topology collecting method for stacking system and dual control board equipment
CN104518995A (en) * 2013-09-26 2015-04-15 中国电信股份有限公司 Switch virtualization system based on distributed architecture

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594292A (en) * 2008-05-30 2009-12-02 中兴通讯股份有限公司 Content delivery method, service redirection method and system, node device
CN101841735B (en) * 2009-03-17 2015-04-15 华为技术有限公司 Frame-type switch, stack system and fault treatment method after stack
CN102325196A (en) * 2011-10-27 2012-01-18 上海文广互动电视有限公司 Distributed cluster storage system
EP3231138A4 (en) * 2014-12-14 2018-08-22 ZTE Corporation Techniques for operating a distributed communication network
CN106713468B (en) * 2016-12-29 2018-11-20 深圳云天励飞技术有限公司 A kind of distributed type assemblies service system and its method for node synergy

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478435A (en) * 2009-01-20 2009-07-08 杭州华三通信技术有限公司 Topology collecting method for stacking system and dual control board equipment
CN104518995A (en) * 2013-09-26 2015-04-15 中国电信股份有限公司 Switch virtualization system based on distributed architecture

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
罗勰: ""无线传感器网络协议栈的设计与开发"", 《中国优秀硕士学位论文全文数据库》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018121201A1 (en) * 2016-12-29 2018-07-05 深圳云天励飞技术有限公司 Distributed cluster service structure, node cooperation method and device, terminal and medium
WO2019137416A1 (en) * 2018-01-12 2019-07-18 华为技术有限公司 Computing system and method based on tree topology
CN108616566A (en) * 2018-03-14 2018-10-02 华为技术有限公司 Raft distributed systems select main method, relevant device and system
CN108616566B (en) * 2018-03-14 2021-02-23 华为技术有限公司 Main selection method of raft distributed system, related equipment and system
CN109714312A (en) * 2018-11-19 2019-05-03 中国科学院信息工程研究所 A kind of acquisition strategies generation method and system based on outside threat
CN111404647A (en) * 2019-01-02 2020-07-10 中兴通讯股份有限公司 Control method of node cooperative relationship and related equipment
CN111404647B (en) * 2019-01-02 2023-11-28 中兴通讯股份有限公司 Control method of node cooperative relationship and related equipment
CN110351375A (en) * 2019-07-16 2019-10-18 深圳市网心科技有限公司 A kind of data processing method, device and computer installation, readable storage medium storing program for executing
CN110855505A (en) * 2019-11-26 2020-02-28 上海英方软件股份有限公司 High-availability rule stacking implementation system and method
CN110855505B (en) * 2019-11-26 2022-03-04 上海英方软件股份有限公司 High-availability rule stacking implementation system and method
CN113568303A (en) * 2021-09-26 2021-10-29 成都数默科技有限公司 PID control algorithm-based network flow packet capturing, flow limiting and packet loss method
CN113568303B (en) * 2021-09-26 2021-12-14 成都数默科技有限公司 PID control algorithm-based network flow packet capturing, flow limiting and packet loss method

Also Published As

Publication number Publication date
CN106713468B (en) 2018-11-20
WO2018121201A1 (en) 2018-07-05

Similar Documents

Publication Publication Date Title
CN106713468A (en) Distributed cluster service structure and node cooperation method thereof
CN105337834B (en) A kind of mapping method under wireless network virtualized environment
CN101163158B (en) Cluster based service issuing and discovering method in self-organizing network facing to service
CN104869151A (en) Business unloading method and system
CN102067563A (en) Methods and apparatus for optimal participation of devices in a peer-to-peer overlay network
CN101018172A (en) A method for optimizing the P2P transfer in the MAN
Abid et al. 3D-RP: A DHT-based routing protocol for MANETs
CN111770477B (en) Deployment method and related device for protection resources of MEC network
Cui et al. Wireless link scheduling for data center networks
CN107204909A (en) Build system, the method and apparatus of power dispatch data network
Sedaghat et al. Autonomic resource allocation for cloud data centers: A peer to peer approach
Messina et al. Decentralised resource finding in cloud/grid computing environments: A performance evaluation
Anwit et al. Scheme for tour planning of mobile sink in wireless sensor networks
CN102377826B (en) Method for optimal placement of unpopular resource indexes in peer-to-peer network
Parihar et al. A comparative study and proposal of a novel distributed mutual exclusion in UAV assisted flying ad hoc network using density-based clustering scheme
CN102624893B (en) Spiral curve based wireless Mesh network P2P (peer-to-peer) resource sharing method
Amirazodi et al. An adaptive algorithm for super-peer selection considering peer’s capacity in mobile peer-to-peer networks based on learning automata
Chaturvedi et al. Energy efficient cluster head selection for cross layer design over wireless sensor network
CN103078792B (en) A kind of ISIS LSP dissemination method and equipment
CN105791164B (en) Network resource allocation method and system
CN114599043A (en) Air-space-ground integrated network resource allocation method based on deep reinforcement learning
CN110061863B (en) Distributed multi-task crowd-sourcing sensing method based on fairness in sparse network
CN110233876A (en) Data distributing method, diostribution device and electronic equipment based on mobile P 2 P
Haryanti et al. Improving resource allocation performance in mobile ad hoc grid with mobility prediction
CN108111418A (en) A kind of communication system, a kind of data transmission method and node

Legal Events

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