CN104796445B - Server node carries out the method, apparatus of source synchronous - Google Patents
Server node carries out the method, apparatus of source synchronous Download PDFInfo
- Publication number
- CN104796445B CN104796445B CN201410027678.9A CN201410027678A CN104796445B CN 104796445 B CN104796445 B CN 104796445B CN 201410027678 A CN201410027678 A CN 201410027678A CN 104796445 B CN104796445 B CN 104796445B
- Authority
- CN
- China
- Prior art keywords
- server
- list
- node
- resource
- characteristic value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols 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]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
An embodiment of the present invention provides the method, apparatus that a kind of server node carries out source synchronous.This method mainly includes:Server ip address list is managed in each server node in distributed server system, the IP address of multiple server nodes has been recorded in the server ip address list, each server node sends the heartbeat data packets for carrying local resource information to other server nodes that network connection is established with it, and source synchronous is carried out between each server node by the resource information carried in heartbeat data packets.The data resource list that the embodiment of the present invention passes through the management server ip address list sum in server node, each server node sends the heartbeat data packets for carrying local resource information to other server nodes that network connection is established with it, can realize and source synchronous is conveniently and automatically carried out between each server node by the resource information carried in heartbeat data packets.
Description
Technical field
The present invention relates to the sides that technical field of the computer network more particularly to a kind of server node carry out source synchronous
Method, device.
Background technology
One distributed server system possesses the physics and logical resource of many general, by dynamically distributing, point
Scattered physics and logical resource is supplied to user by computer network in the form of whole, it usually needs one or more is special
Server node realize this function.
For distributed server system, in order to ensure the whole system whole externally offer service unified as one,
Synchronously being very important for the various resources such as address resource, data resource is carried out between each server node.At present, also
There is no a kind of method for carrying out source synchronous automatically between each server node, when event occurs in the server node in system
When barrier or artificial increase and removal, the control and management that are required for external progress additional, to realize each server node
Between source synchronous.
The content of the invention
The embodiment provides the method, apparatus that a kind of server node carries out source synchronous, to realize each
Source synchronous is conveniently and automatically carried out between a server node.
The present invention provides following schemes:
A kind of method that server node carries out source synchronous in distributed server system, including:
Server ip address list, the server ip are managed in each server node in distributed server system
The IP address of multiple server nodes, each server node and local server ip address list have been recorded in address list
Described in each server node between establish network connection;
Each server node sends to other server nodes that network connection is established with it and carries local resource information
Heartbeat data packets, it is same that resource is carried out between each server node by the resource information carried in the heartbeat data packets
Step.
Server ip address list, the clothes are managed in each server node in distributed server system
The IP address of multiple server nodes is recorded in business device IP address list, each server node is with local server ip
Network connection is established between each server node described in the list of location, including:
Server ip address list, the server ip address are managed in server node in distributed server system
The IP address of multiple server nodes has been recorded in list;
The IP address generation IP list characteristics of multiple server nodes according to described in the server ip address list
Value, the IP list characteristics values have corresponded to the version value of the server ip address list, and the server node arranges the IP
Table characteristic value is stored in local;
Heartbeat listening port, the heartbeat listening port and server ip address row are set in the server node
Network connection is established between the heartbeat listening port of other server nodes described in table.
Each server node sends to other server nodes that network connection is established with it and carries local money
The heartbeat data packets of source information are carried out by the resource information carried in the heartbeat data packets between each server node
Source synchronous, including:
The server node sends the IP for carrying and locally preserving to other server nodes that network connection is established with it
The heartbeat data packets of list characteristics value;
When the server node receives the heartbeat data packets that other server nodes are sended over by network connection
Afterwards, the first IP list characteristics values carried in the heartbeat data packets, the first IP lists that will be carried in the heartbeat data packets are extracted
Characteristic value and the 2nd IP list characteristics values being locally stored are compared, when the first IP list characteristics value is more than described second
During IP list characteristics values, then the server node by network connection to the other server nodes with sending server ips
Location list update request, after receiving the server ip address list update response that other server nodes send over,
The server ip address list of the other server nodes carried in being responded with the server ip address list update is replaced
The local server ip address list originally stored is changed, and replaces what is locally originally stored with the first IP list characteristics value
2nd IP list characteristics values;
When the first IP list characteristics value is not more than the 2nd IP list characteristics values, then the server node is not
The request of server ip address list update is sent to other server nodes.
The method further includes:
Data resource list is managed in server node in distributed server system, which is used for
The data resource that mark home server node is possessed generates resource status characteristic value according to the data resource list, should
Resource status characteristic value has corresponded to the version value of the data resource list, and the server node is by the resource status feature
Value is stored in local;
The server node sends the money for carrying and locally preserving to other server nodes that network connection is established with it
The heartbeat data packets of source state characteristic value and IP list characteristics values;
When the server node receives the heartbeat data packets that other server nodes are sended over by network connection
Afterwards, the first resource state characteristic value carried in the heartbeat data packets, the first resource that will be carried in the heartbeat data packets are extracted
State characteristic value and the Secondary resource state characteristic value being locally stored are compared, when the first resource state characteristic value is more than
During the Secondary resource state characteristic value, then the server node is sent by network connection to other server nodes
Resource status update request, after receiving the resource status update response that other server nodes send over, with described
The local number originally stored is replaced in the data resource list of the other server nodes carried in resource status update response
The local Secondary resource state characteristic value originally stored is replaced according to the Resources list, and with the first resource state characteristic value;
When the first resource state characteristic value is not more than the Secondary resource state characteristic value, then the server section
Point does not send resource status update request to other server nodes.
The method further includes:
Increase a new demand servicing device node in the distributed server system, to the new demand servicing device node IP is set
Location sets server ip address list and data the Resources list of the new demand servicing device node as sky, IP list characteristics value and resource
State characteristic value is minimum, and an existing server node is chosen in the distributed server system, existing at this
Server node server ip address list in increase the IP address of the new demand servicing device node, and update described existing
The IP list characteristics values of server node;
Network connection, the existing clothes are established between the new demand servicing device node and the existing server node
Business device node sends to the new demand servicing device node and carries the IP list characteristics value being locally stored and resource status characteristic value heartbeat
Data packet after the new demand servicing device node receives the heartbeat data packets, is arranged according to the IP carried in the heartbeat data packets
Table characteristic value and resource status characteristic value, to the existing server node send the request of server ip address list update and
Resource status update request;
The new demand servicing device node receives the server ip address list that the existing server node sends over
After update response, the server of the existing server node carried in being responded with the server ip address list update
IP address list replaces the local server ip address list originally stored, and carries IP address in the heartbeat data packets
List characteristics value replaces the local IP address list characteristic value originally stored;The existing server node is received to be transmitted across
After the resource status update response come, with the number of the existing server node carried in resource status update response
The local data resource list originally stored is replaced according to the Resources list, and it is special with resource status is carried in the heartbeat data packets
Value indicative replaces the local Secondary resource state characteristic value originally stored.
The method further includes:
When Geju City server node is removed in the distributed server system, disconnect the legacy server node and
An existing server section is chosen in network connection between other server nodes in the distributed server system
Point deletes the IP address of the legacy server node in the server ip address list of the existing server node, and more
The IP list characteristics values of the new existing server node;
The IP list characteristics values that the existing server node is locally stored to the transmission carrying of other server nodes
Heartbeat data packets after other server nodes receive the heartbeat data packets, are carried according in the heartbeat data packets
IP list characteristics values, send the request of server ip address list update to the existing server node;
Other server nodes receive the server ip address row that the existing server node sends over
After table update response, the service of the existing server node carried in being responded with the server ip address list update
Device IP address list replaces the local server ip address list originally stored, and with carrying IP in the heartbeat data packets
Location list characteristics value replaces the local IP address list characteristic value originally stored.
A kind of server node in distributed server system, including:
Resource management module for management server IP address list, has been recorded multiple in the server ip address list
The IP address of server node;
Module is established in network connection, for described in the server ip address list that is managed with the resource management module
Each server node between establish network connection;
Source synchronous processing module, for being sent to other server nodes that network connection is established with book server node
The heartbeat data packets of local resource information are carried, by the resource information that is carried in the heartbeat data packets in each server section
Source synchronous is carried out between point.
The resource management module, specifically for management server IP address list, in the server ip address list
The IP address of multiple server nodes is described, multiple server nodes according to described in the server ip address list
IP address generates IP list characteristics values, which has corresponded to the version value of the server ip address list, by institute
IP list characteristics values are stated to be preserved;
Module is established in the network connection, specifically for setting heartbeat listening port in the server node,
Between the heartbeat listening port of other server nodes described in the heartbeat listening port and the server ip address list
Establish network connection.
The source synchronous processing module, specifically for other services that network connection is established with book server node
Device node sends the heartbeat data packets for carrying the IP list characteristics values locally preserved;
After the heartbeat data packets that other server nodes are sended over by network connection are received, the beats are extracted
According to the first IP list characteristics values carried in bag, by the first IP list characteristics value carried in the heartbeat data packets and it is locally stored
The 2nd IP list characteristics values be compared, when the first IP list characteristics value be more than the 2nd IP list characteristics values when,
Then server ip address list update is sent to other server nodes to ask, receive described other by network connection
After the server ip address list update response that server node sends over, responded with the server ip address list update
The local server ip address row originally stored are replaced in the server ip address list of other server nodes of middle carrying
Table, and replace local the 2nd IP list characteristics values originally stored with the first IP list characteristics value;
When the first IP list characteristics value is not more than the 2nd IP list characteristics values, then not to other services
Device node sends the request of server ip address list update.
The resource management module, specifically for managing data resource list, which is used for marking this
The data resource that ground server node is possessed generates resource status characteristic value, the resource shape according to the data resource list
State characteristic value has corresponded to the version value of the data resource list, and the resource status characteristic value is preserved;
The source synchronous processing module, specifically for other services that network connection is established with book server node
Device node sends the heartbeat data packets for carrying the resource status characteristic value locally preserved and IP list characteristics values;It is other when receiving
After the heartbeat data packets that server node is sended over by network connection, the first resource carried in the heartbeat data packets is extracted
State characteristic value, the first resource state characteristic value carried in the heartbeat data packets and the Secondary resource state being locally stored is special
Value indicative is compared, and when the first resource state characteristic value is more than the Secondary resource state characteristic value, then passes through network
It connects to other server nodes and sends resource status update request, receive other server nodes and send over
Resource status update response after, provided with the data of other server nodes carried in resource status update response
The local data resource list originally stored is replaced in source list, and local original with first resource state characteristic value replacement
The Secondary resource state characteristic value of storage;
When the first resource state characteristic value is not more than the Secondary resource state characteristic value, then not to described other
Server node sends resource status update request.
Increase a new demand servicing device node in the distributed server system, to the new demand servicing device node IP is set
Location sets server ip address list and data the Resources list of the new demand servicing device node as sky, IP list characteristics value and resource
State characteristic value is minimum, and an existing server node is chosen in the distributed server system, existing at this
Server node server ip address list in increase the IP address of the new demand servicing device node, and update described existing
The IP list characteristics values of server node;
Network connection, the existing clothes are established between the new demand servicing device node and the existing server node
Business device node sends to the new demand servicing device node and carries the IP list characteristics value being locally stored and resource status characteristic value heartbeat
Data packet after the new demand servicing device node receives the heartbeat data packets, is arranged according to the IP carried in the heartbeat data packets
Table characteristic value and resource status characteristic value, to the existing server node send the request of server ip address list update and
Resource status update request;
The new demand servicing device node receives the server ip address list that the existing server node sends over
After update response, the server of the existing server node carried in being responded with the server ip address list update
IP address list replaces the local server ip address list originally stored, and carries IP address in the heartbeat data packets
List characteristics value replaces the local IP address list characteristic value originally stored;The existing server node is received to be transmitted across
After the resource status update response come, with the number of the existing server node carried in resource status update response
The local data resource list originally stored is replaced according to the Resources list, and it is special with resource status is carried in the heartbeat data packets
Value indicative replaces the local Secondary resource state characteristic value originally stored.
When Geju City server node is removed in the distributed server system, disconnect the legacy server node and
An existing server section is chosen in network connection between other server nodes in the distributed server system
Point deletes the IP address of the legacy server node in the server ip address list of the existing server node, and more
The IP list characteristics values of the new existing server node;
The IP list characteristics values that the existing server node is locally stored to the transmission carrying of other server nodes
Heartbeat data packets after other server nodes receive the heartbeat data packets, are carried according in the heartbeat data packets
IP list characteristics values, send the request of server ip address list update to the existing server node;
Other server nodes receive the server ip address row that the existing server node sends over
After table update response, the service of the existing server node carried in being responded with the server ip address list update
Device IP address list replaces the local server ip address list originally stored, and with carrying IP in the heartbeat data packets
Location list characteristics value replaces the local IP address list characteristic value originally stored.
The embodiment of the present invention passes through in server section it can be seen from the technical solution provided by embodiments of the invention described above
In point manage server ip address list sum data resource list, each server node to it establishes network connection its
Its server node sends the heartbeat data packets for carrying local resource information, can realize the money by being carried in heartbeat data packets
Source information conveniently and automatically carries out source synchronous between each server node.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for this
For the those of ordinary skill of field, without having to pay creative labor, other are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is a kind of increase server node in distributed network server system provided by Embodiment 2 of the present invention
The process chart of method;
Fig. 2 is a kind of removal server node in distributed network server system provided by Embodiment 2 of the present invention
The process chart of method;
Fig. 3 is the specific implementation of the server node in a kind of distributed server system that the embodiment of the present invention three provides
Structure chart;
Fig. 4 is a kind of distributed server system that the embodiment of the present invention three provides when including 4 server nodes
Implement structure chart.
Specific embodiment
For ease of the understanding to the embodiment of the present invention, done further by taking several specific embodiments as an example below in conjunction with attached drawing
Explanation, and each embodiment does not form the restriction to the embodiment of the present invention.
Embodiment one
Distributed server system provided in an embodiment of the present invention is made of a certain number of server nodes, each clothes
Business device node is all an independent computer system, and each server node has general physics and logical resource, when it
In the resource of server node when being upgraded, which may act as control node to other server sections
Point synchronizes upgrading by heartbeat synchronization mode, and each server node is made to maintain identical resource, entire to ensure
The system whole externally offer service unified as one, when the arbitrary server node of system breaks down, server node
It can automatically adjust, can also facilitate the increase and removal for carrying out node.
The distributed server system logically consists of the following components, and hardware/software/resource, hardware is by several
Platform server node and its network composition being connected;Software refers to be write program generation to provide network service on hardware
Code;Resource refers to keep on server hardware by software and other modes, for providing the number that network service is relied on
According to this and data for being relied on of system operation etc. are maintained, which can be IP address resource, data resource etc..
The embodiment of the present invention manages server ip address list and resource address list, the clothes in each server node
Business device IP address list is used for marking one or more other server section for establishing network connection with home server node
Point, the resource address list are used for marking the data resource that home server node is possessed, and illustratively, which can
With for user data or in order to provide the data that network service is externally introduced.
Above-mentioned heartbeat synchronization mode realizes that server node is arranged to the server ip address locally preserved by heartbeat module
Other Servers-all nodes timing in table sends heartbeat data packets, by sending heartbeat data packets detection service device IP address
Other server nodes whether there is in list, and whether logical resource is consistent between passing through characteristic value detection service device node,
And then realize the synchronization of resource.
Features described above value is used for identifying the current state of each server node, including two parts:
IP list characteristics values, the IP address of multiple server nodes according to described in the server ip address list and
Generation is the character string of a setting length, has corresponded in this feature value and arranged by the server ip address of certain Rule Expression
The version value of table.Size can be compared between different IP list characteristics values mutually, by comparing the IP between server node
The size of list characteristics value is known which IP list characteristics value is newest, that is, knows the server in which server node
IP address list is newest, so as to carry out the update of IP address list, avoids the ratio to entire server ip address list
Compared with maximum IP list characteristics value then represents the IP list characteristics values of the distributed network services system;
Resource status characteristic value, resource information according to described in the resource address list and generate, for a setting
The character string of length has corresponded to the version value of the server system resources by certain Rule Expression in this feature value.Different
Size can be compared between resource status characteristic value mutually, be known that between server node by comparing the size of this feature value
Which characteristic value is newest, that is, it is newest to know the resource address list in which server node, so as to carry out data
The update of resource avoids the comparison to whole system resource content;Maximum resource status characteristic value then represents the distribution
The resource status characteristic value of formula network service system;
Above-mentioned heartbeat synchronization mode includes following process:
Process 1, server node establish a heartbeat listening port in the machine, the heartbeat listening port and server ip
Network connection is established between the heartbeat listening port of the every other server node of location list, so as in all server sections
Network connection is established between server node two-by-two in point.Each server node by network connection according to setting when
Between be spaced every other server node into server ip address list and send heartbeat data packets, taken in heartbeat data packets
IP list characteristics value and resource status characteristic value with book server node bring the increased length of heartbeat data packets institute
Network overhead as low as can be ignored.It cannot be with some other service in setting number if local server node is connected to
Device node establishes network connection or sends heartbeat data packets failure to other server nodes, then identifies corresponding IP address certain
A other server nodes are unavailable, and continue the network connection between timing foundation and some other server node.
After local server node receives the heartbeat data packets that other server nodes send over, the heartbeat is extracted
The first IP list characteristics values carried in data packet deposit the first IP list characteristics value carried in the heartbeat data packets with local
2nd IP list characteristics values of storage are compared, when the first IP list characteristics value is more than the 2nd IP list characteristics values
When, then the server node sends server ip address list update to other server nodes by network connection and asks
It asks, after receiving the server ip address list update response that other server nodes send over, with the server
The server ip address list of the other server nodes carried in IP address list update response, which is replaced, locally originally deposited
The server ip address list of storage, and replace local the 2nd IP lists spy originally stored with the first IP list characteristics value
Value indicative;
When the first IP list characteristics value is not more than the 2nd IP list characteristics values, then the server node is not
The request of server ip address list update is sent to other server nodes.
Similarly, after local server node receives the heartbeat data packets that other server nodes send over, extraction
The first resource state characteristic value carried in the heartbeat data packets, the first resource state feature that will be carried in the heartbeat data packets
The Secondary resource state characteristic value for being worth and being locally stored is compared, when the first resource state characteristic value is more than described second
During resource status characteristic value, then the server node sends resource status by network connection to other server nodes
Update request, after receiving the resource status update response that other server nodes send over, with the resource status
The local data resource row originally stored are replaced in the data resource list of the other server nodes carried in update response
Table, and replace the local Secondary resource state characteristic value originally stored with the first resource state characteristic value;
When the first resource state characteristic value is not more than the Secondary resource state characteristic value, then the server section
Point does not send resource status update request to other server nodes.
Above-mentioned update operation can cause the IP list characteristics value of two server nodes, resource status list characteristics value to protect
It holds completely the same.
Process 2 increases a new demand servicing device node in the distributed server system, is set to the new demand servicing device node
IP address is put, server ip address list and data the Resources list of the new demand servicing device node are set for sky, IP list characteristics values
Be minimum with resource status characteristic value, state characteristic value is original state, and if other arbitrary characteristic values compare all in
It is minimum, it only need to be by new node access system network.An existing server section is chosen in the distributed server system
Point increases the IP address of the new demand servicing device node in the server ip address list of the existing server node, and more
The IP list characteristics values of the new existing server node.
Network connection, the existing clothes are established between the new demand servicing device node and the existing server node
Business device node sends to the new demand servicing device node and carries the IP list characteristics value being locally stored and resource status characteristic value heartbeat
Data packet after the new demand servicing device node receives the heartbeat data packets, is arranged according to the IP carried in the heartbeat data packets
Table characteristic value and resource status characteristic value, to the existing server node send the request of server ip address list update and
Resource status update request;
The new demand servicing device node receives the server ip address list that the existing server node sends over
After update response, the server of the existing server node carried in being responded with the server ip address list update
IP address list replaces the local server ip address list originally stored, and carries IP address in the heartbeat data packets
List characteristics value replaces the local IP address list characteristic value originally stored;The existing server node is received to be transmitted across
After the resource status update response come, with the number of the existing server node carried in resource status update response
The local data resource list originally stored is replaced according to the Resources list, and it is special with resource status is carried in the heartbeat data packets
Value indicative replaces the local Secondary resource state characteristic value originally stored.
Process 3 when Geju City server node is removed in the distributed server system, disconnects the legacy server
An existing service is chosen in network connection between node and other server nodes in the distributed server system
Device node deletes the IP address of the legacy server node in the server ip address list of the existing server node,
And update the IP list characteristics values of the existing server node;
The IP list characteristics values that the existing server node is locally stored to the transmission carrying of other server nodes
Heartbeat data packets after other server nodes receive the heartbeat data packets, are carried according in the heartbeat data packets
IP list characteristics values, send the request of server ip address list update to the existing server node;
Other server nodes receive the server ip address row that the existing server node sends over
After table update response, the service of the existing server node carried in being responded with the server ip address list update
Device IP address list replaces the local server ip address list originally stored, and with carrying IP in the heartbeat data packets
Location list characteristics value replaces the local IP address list characteristic value originally stored.
If process 4, the resource for updating the distributed network services system, one is arbitrarily chosen in existing system effectively
Server node is updated the resource of the server node, and one is generated in the machine by setting rule after update
The source synchronous of other server nodes can be realized by the above process 1 for the resource status characteristic value of higher-version, nationality.
Embodiment two
The embodiment is divided into three parts:Increase server node, remove server node, update distributed network services
Device system resource.
Fig. 1 is a kind of method for increasing server node in distributed network server system that the embodiment provides
Process chart has server node S1, S2 in the embodiment distributed network server system, increases server node S3
It is into system and synchronous, it is finally the system mode after synchronously completing.Concrete processing procedure includes following processing step:
Server node S3 is added in existed system network, the server ip address of server node S3 by step 101
List and the Resources list are sky, and corresponding IP list characteristics value VLIP0.0 and resource status characteristic value VLR0.0, node S3 start the heart
Jump listening port.
Step 102, selection node S1, S1 have server ip address list LIP1 (S1, S2) and the Resources list LR1 (d1,
D2), the IP list characteristics value of S1 is VLIP0.1, and resource status characteristic value is VLR0.1.
Step 103, added in the IP address list of node S1 after newly-increased server node S3 become LIP2 (S1, S2,
S3), new IP list characteristics value VLIP0.2 are generated, the Resources list of node S1 is constant.
Step 104, node S1 have found the server node S3 newly increased in IP address list, are monitored in the heartbeat of node S1
Establish network connection between port and the heartbeat listening port of S3, node S1 is by local IP list characteristics value VLIP0.2 and resource
State characteristic value VLR0.1 is arranged in heartbeat data packets, and the heartbeat data packets are sent to node by above-mentioned network connection
S3。
Step 104, node S3 receive the heartbeat data packets of S1, obtain other side characteristic value VLIP0.2 and VLR0.1, compare hair
Now local characteristic value VLIP0.0 and VLR0.0 are smaller, then initiating server ip address to node S1 by above-mentioned network connection arranges
Table update request and resource status update request, response heartbeat data packets are arranged on by local characteristic value VLIP0.0 and VLR0.0
In, which is sent to S1.
Step 105, node S1 receive the heartbeat response bag of node S3, find local VLIP0.2 and VLR0.1 points of characteristic value
VLIP0.0 and VLR0.0 that great Yu be in other side's heartbeat response bag, it is without any processing, periodically next heart is sent to node S3
Jump data packet.
Step 106, node S1 receive the server ip address list update request of node S3 and resource status update request
Afterwards, local server ip address list LIP2 (S1, S2, S3) and the Resources list LR1 (d1, d2) are passed through into server ip respectively
Address list update response and resource status update response return to node S3.
Step 107, node S3 receive S1 server ip address list LIP2 (S1, S2, S3) and the Resources list LR1 (d1,
D2), LIP2 (S1, S2, S3) and LR1 (d1, d2) are saved in local, and update local correspondence IP list characteristics values and be
VLIP0.2, update resource status characteristic value are VLR0.1.
Step 108, node S3 are according to new server ip address list LIP2 (S1, S2, S3) with other server nodes
S2 establishes network connection, sends heartbeat data packets to server node S2, the IP address list of S2 nodes is updated to and node S3
IP address list it is identical.
Fig. 2 is a kind of method that server node is removed in distributed network server system that the embodiment provides
Process chart has server node S1, S2, S3 in the embodiment distributed network server system, removes server section
Point S3 is simultaneously synchronous, is finally the system mode after synchronously completing.
Concrete processing procedure includes following processing step:
Step 201 removes node S3 from existing distributed network server system.
Step 202, selection node S1, S1 have server ip address list LIP2 (S1, S2, S3) and the Resources list LR1
(d1, d2) corresponds to IP list characteristics value VLIP0.2 and resource status characteristic value VLR0.1 respectively.
Step 203 becomes LIP3 (S1, S2) after deleting server node S3 in the IP address list of S1, generates new
IP list characteristics value VLIP0.3, the Resources list, resource status characteristic value are constant.
Step 204, node S1 have found to remove server node S3 in IP address list, disconnect S3 heartbeats and monitor
The network connection of port, and will not continue to actively connect the heartbeat listening port of S3.But it is connected to S1 heartbeats from node S3
The network connection of listening port not will disconnect, by the network connection, the local IP list characteristics value VLIP0.3 and money of S1 nodes
Source state characteristic value VLR0.1 can be by being sent to node S3 in heartbeat data packets.
Step 204, node S3 receive the heartbeat data packets of S1, obtain other side characteristic value VLIP0.3 and VLR0.1, compare hair
Now local characteristic value VLIP0.2 is smaller, then initiating server ip address list update to node S1 additionally by network mode please
It asks, local characteristic value VLIP0.2 is placed in heartbeat response bag and is sent to node S1.
Step 205, node S1 receive the heartbeat response bag of node S3, it is found that local characteristic value VLIP0.3 is more than other side's heart
The VLIP0.2 in response bag is jumped, it is without any processing.
After step 206, node S1 receive the server ip address list update request of node S3, by local server ip
Address list LIP3 (S1, S2) returns to node S3 by the response of server ip address list update.
Step 207, node S3 receive the server ip address list LIP3 (S1, S2) of S1, by IP address list LIP3
(S1, S2) is saved in local, and updates local IP list characteristics value for VLIP0.2.
Step 208, node S3 have had found local IP address according to new server ip address list LIP3 (S1, S2)
It is deleted from the IP address list LIP3 of latest edition, then actively disconnects the connection with other Servers-all nodes S2, and it is clear
Empty IP address list.
After step 209, other server section S2 update IP address list by heartbeat data packets, S3 heartbeats are disconnected
The network connection of listening port, and will not continue to actively connect the heartbeat listening port of S3, S2 node IP address list updates
With node S3.
One kind that the embodiment provides updates distributed network server system money in distributed network server system
The process flow of the method in source comprises the following steps:
Step 301, selection node S1, S1 have server ip address list LIP3 (S1, S2) and the Resources list LR1 (d1,
D2), IP list characteristics value VLIP0.3 and resource status characteristic value VLR0.1 are corresponded to respectively.
Step 302, to node S1 carry out resource updates after, new the Resources list be LR2 (d1, d3), generate new resource
State characteristic value VLR0.2.
S2 is sent in the heartbeat data packets that step 303, the new resource status characteristic value VLR0.2 of node S1 pass through S1.
Step 304, node S2 receive the heartbeat data packets of S1, obtain other side resource status characteristic value VLR0.2, compare hair
Now local characteristic value VLR0.1 is smaller, then initiates resource status update request to node S1 by network connection, and will be local special
Value indicative VLR0.1 is arranged in response heartbeat data packets, and response heartbeat data packets are sent to S1.
Step 305, node S1 receive the response heartbeat data packets of node S2, it is found that local characteristic value VLR0.2 is more than other side
VLR0.1 in heartbeat response bag, it is without any processing, periodically next heartbeat data packets are sent to node S2.
After step 306, node S1 receive the resource status update request of node S2, by local the Resources list LR2 (d1,
D3 node S2) is returned to by resource status update response.
Step 307, node S2 receive the Resources list LR2 (d1, d3) of S1, and the Resources list LR2 (d1, d3) is remained to this
Ground, and local resource status characteristic value is updated for VLR0.2.
Embodiment three
This embodiment offers the server node in a kind of distributed server system, specific implementation structure such as Fig. 3
It is shown, it can specifically include following module:
Resource management module 31 for management server IP address list, has been recorded more in the server ip address list
The IP address of a server node;
Module 32 is established in network connection, for remembering in the server ip address list that is managed with the resource management module
Network connection is established between each server node carried;
Source synchronous processing module 33, for being sent out to other server nodes that network connection is established with book server node
The heartbeat data packets for carrying local resource information are sent, by the resource information that is carried in the heartbeat data packets in each server
Source synchronous is carried out between node.
Further, the resource management module 31, specifically for management server IP address list, the server ip
The IP address of multiple server nodes is recorded in address list, according to multiple clothes described in the server ip address list
The IP address generation IP list characteristics values of business device node, the IP list characteristics values have corresponded to the version of the server ip address list
This value preserves the IP list characteristics value;
Further, module 32 is established in the network connection, specifically for setting heartbeat in the server node
Listening port is supervised in the heartbeat of other server nodes described in the heartbeat listening port and the server ip address list
It listens and establishes network connection between port.
Further, the source synchronous processing module 33, specifically for establishing network company to book server node
The other server nodes connect send the heartbeat data packets for carrying the IP list characteristics values locally preserved;
After the heartbeat data packets that other server nodes are sended over by network connection are received, the beats are extracted
According to the first IP list characteristics values carried in bag, by the first IP list characteristics value carried in the heartbeat data packets and it is locally stored
The 2nd IP list characteristics values be compared, when the first IP list characteristics value be more than the 2nd IP list characteristics values when,
Then server ip address list update is sent to other server nodes to ask, receive described other by network connection
After the server ip address list update response that server node sends over, responded with the server ip address list update
The local server ip address row originally stored are replaced in the server ip address list of other server nodes of middle carrying
Table, and replace local the 2nd IP list characteristics values originally stored with the first IP list characteristics value;
When the first IP list characteristics value is not more than the 2nd IP list characteristics values, then not to other services
Device node sends the request of server ip address list update.
Further, the resource management module 31, specifically for managing data resource list, the resource address list
For marking the data resource that home server node is possessed, resource status feature is generated according to the data resource list
Value, the resource status characteristic value have corresponded to the version value of the data resource list, the resource status characteristic value have been protected
It deposits;
The source synchronous processing module 33, specifically for other clothes that network connection is established with book server node
Business device node sends the heartbeat data packets for carrying the resource status characteristic value locally preserved and IP list characteristics values;When receiving it
After the heartbeat data packets that its server node is sended over by network connection, the first money carried in the heartbeat data packets is extracted
Source state characteristic value, by the first resource state characteristic value carried in the heartbeat data packets and the Secondary resource state being locally stored
Characteristic value is compared, and when the first resource state characteristic value is more than the Secondary resource state characteristic value, then passes through net
Network connects to other server nodes and sends resource status update request, receives other server nodes and is transmitted across
After the resource status update response come, with the data of the other server nodes carried in resource status update response
The Resources list replaces the local data resource list originally stored, and replaces local original with the first resource state characteristic value
The Secondary resource state characteristic value first stored;
When the first resource state characteristic value is not more than the Secondary resource state characteristic value, then not to described other
Server node sends resource status update request.
Further, increase a new demand servicing device node in the distributed server system, give the new demand servicing device section
Point sets IP address, and setting server ip address list and data the Resources list of the new demand servicing device node, IP lists are special for sky
Value indicative and resource status characteristic value are minimum, and an existing server section is chosen in the distributed server system
Point increases the IP address of the new demand servicing device node in the server ip address list of the existing server node, and more
The IP list characteristics values of the new existing server node;
Network connection, the existing clothes are established between the new demand servicing device node and the existing server node
Business device node sends to the new demand servicing device node and carries the IP list characteristics value being locally stored and resource status characteristic value heartbeat
Data packet after the new demand servicing device node receives the heartbeat data packets, is arranged according to the IP carried in the heartbeat data packets
Table characteristic value and resource status characteristic value, to the existing server node send the request of server ip address list update and
Resource status update request;
The new demand servicing device node receives the server ip address list that the existing server node sends over
After update response, the server of the existing server node carried in being responded with the server ip address list update
IP address list replaces the local server ip address list originally stored, and carries IP address in the heartbeat data packets
List characteristics value replaces the local IP address list characteristic value originally stored;The existing server node is received to be transmitted across
After the resource status update response come, with the number of the existing server node carried in resource status update response
The local data resource list originally stored is replaced according to the Resources list, and it is special with resource status is carried in the heartbeat data packets
Value indicative replaces the local Secondary resource state characteristic value originally stored.
Further, when Geju City server node is removed in the distributed server system, the old clothes are disconnected
The network connection being engaged between device node and other server nodes, selection one is existing in the distributed server system
Server node, the IP of the legacy server node is deleted in the server ip address list of the existing server node
Location, and update the IP list characteristics values of the existing server node;
The IP list characteristics values that the existing server node is locally stored to the transmission carrying of other server nodes
Heartbeat data packets after other server nodes receive the heartbeat data packets, are carried according in the heartbeat data packets
IP list characteristics values, send the request of server ip address list update to the existing server node;
Other server nodes receive the server ip address row that the existing server node sends over
After table update response, the service of the existing server node carried in being responded with the server ip address list update
Device IP address list replaces the local server ip address list originally stored, and with carrying IP in the heartbeat data packets
Location list characteristics value replaces the local IP address list characteristic value originally stored.
The embodiment additionally provides a kind of distributed server system, including multiple above-mentioned server nodes shown in Fig. 3.
Illustratively, when including 4 server nodes, the structure of above-mentioned distributed server system is as shown in Figure 4.
Server node source synchronous in distributed server system is carried out with the device and system of the embodiment of the present invention
Detailed process is similar with preceding method embodiment, and details are not described herein again.
In conclusion the embodiment of the present invention is provided by managing the data of server ip address list sum in server node
Source list, each server node send to other server nodes that network connection is established with it and carry local resource information
Heartbeat data packets can be realized and facilitated by the resource information carried in heartbeat data packets between each server node, certainly
Source synchronous is carried out dynamicly.
When the server node failure in system or artificial increase and removal server node, each service
It can be automatically adjusted between device node, can realize that resource exists by the heartbeat data packet communication of enhancing with fairly simple mode
Automatic synchronization in system on each server node carries out additional control and management without external.
One of ordinary skill in the art will appreciate that:Attached drawing is the schematic diagram of one embodiment, module in attached drawing or
Flow is not necessarily implemented necessary to the present invention.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can
It is realized by the mode of software plus required general hardware platform.Based on such understanding, technical scheme essence
On the part that the prior art contributes can be embodied in the form of software product in other words, the computer software product
It can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, it is used including some instructions so that a computer equipment
(Can be personal computer, server or the network equipment etc.)Perform some of each embodiment or embodiment of the invention
Method described in part.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Point just to refer each other, and the highlights of each of the examples are difference from other examples.Especially for device or
For system embodiment, since it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to method
The part explanation of embodiment.Apparatus and system embodiment described above is only schematical, wherein the conduct
The unit that separating component illustrates may or may not be it is physically separate, the component shown as unit can be or
Person may not be physical location, you can be located at a place or can also be distributed in multiple network element.It can root
Factually border needs to select some or all of module therein realize the purpose of this embodiment scheme.Ordinary skill
Personnel are without creative efforts, you can to understand and implement.
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto,
Any one skilled in the art in the technical scope disclosed by the present invention, the change or replacement that can be readily occurred in,
It should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with scope of the claims
Subject to.
Claims (10)
1. a kind of method that server node carries out source synchronous in distributed server system, which is characterized in that including:
Server ip address list, the server ip address list are managed in server node in distributed server system
The middle IP address for having recorded multiple server nodes;
The IP address generation IP list characteristics values of multiple server nodes according to described in the server ip address list, should
IP list characteristics values have corresponded to the version value of the server ip address list, and the server node is by the IP list characteristics
Value is stored in local;
Heartbeat listening port is set in the server node, in the heartbeat listening port and the server ip address list
Network connection is established between the heartbeat listening port for the other server nodes recorded;
Each server node sends the heart for carrying local resource information to other server nodes that network connection is established with it
Data packet is jumped, source synchronous is carried out between each server node by the resource information carried in the heartbeat data packets.
2. the method that server node carries out source synchronous in distributed server system according to claim 1, special
Sign is that each server node sends to other server nodes that network connection is established with it and carries local resource
The heartbeat data packets of information are provided by the resource information carried in the heartbeat data packets between each server node
Source is synchronous, including:
The server node sends the IP lists for carrying and locally preserving to other server nodes that network connection is established with it
The heartbeat data packets of characteristic value;
After the server node receives the heartbeat data packets that other server nodes are sended over by network connection, carry
The first IP list characteristics values carried in the heartbeat data packets received are taken, by what is carried in the heartbeat data packets received
First IP list characteristics value and the 2nd IP list characteristics values being locally stored are compared, when the first IP list characteristics values are big
When the 2nd IP list characteristics values, then the server node is sent by network connection to other server nodes
Server ip address list update is asked, and receives server ip address list that other server nodes send over more
After new response, the server ip of the other server nodes carried in being responded with the server ip address list update
The local server ip address list originally stored is replaced in location list, and replaces local original with the first IP list characteristics value
The 2nd IP list characteristics values first stored;
When the first IP list characteristics value is not more than the 2nd IP list characteristics values, then the server node is not to institute
It states other server nodes and sends the request of server ip address list update.
3. the method that server node carries out source synchronous in distributed server system according to claim 2, special
Sign is that the method further includes:
Data resource list is managed in server node in distributed server system, which is used for marking
The data resource that home server node is possessed generates resource status characteristic value, the resource according to the data resource list
State characteristic value has corresponded to the version value of the data resource list, and the server node protects the resource status characteristic value
There are locals;
The server node sends the resource shape for carrying and locally preserving to other server nodes that network connection is established with it
The heartbeat data packets of state characteristic value and IP list characteristics values;
After the server node receives the heartbeat data packets that other server nodes are sended over by network connection, carry
The first resource state characteristic value carried in the heartbeat data packets received is taken, will be carried in the heartbeat data packets received
First resource state characteristic value and the Secondary resource state characteristic value that is locally stored be compared, when the first resource state
When characteristic value is more than the Secondary resource state characteristic value, then the server node by network connection to other services
Device node sends resource status update request, receives the resource status update response that other server nodes send over
Afterwards, replaced with the data resource list of the other server nodes carried in resource status update response local original
The data resource list of storage, and replace the local Secondary resource state originally stored with the first resource state characteristic value
Characteristic value;
When the first resource state characteristic value is not more than the Secondary resource state characteristic value, then the server node is not
Resource status update request is sent to other server nodes.
4. the method that server node carries out source synchronous in the distributed server system according to Claims 2 or 3,
It is characterized in that, the method further includes:
Increase a new demand servicing device node in the distributed server system, IP address be set to the new demand servicing device node,
Server ip address list and data the Resources list of the new demand servicing device node are set for sky, IP list characteristics value and resource status
Characteristic value is minimum, an existing server node is chosen in the distributed server system, in the existing clothes
It is engaged in increasing the IP address of the new demand servicing device node in the server ip address list of device node, and updates the existing service
The IP list characteristics values of device node;
Network connection, the existing server are established between the new demand servicing device node and the existing server node
Node sends to the new demand servicing device node and carries the IP list characteristics value being locally stored and resource status characteristic value heartbeat data
Bag, it is special according to the IP lists carried in the heartbeat data packets after the new demand servicing device node receives the heartbeat data packets
Value indicative and resource status characteristic value send the request of server ip address list update and resource to the existing server node
State update request;
The new demand servicing device node receives the server ip address list update that the existing server node sends over
After response, the server ip of the existing server node carried in being responded with the server ip address list update
The local server ip address list originally stored is replaced in location list, and carries IP address list in the heartbeat data packets
Characteristic value replaces the local IP address list characteristic value originally stored;Receive what the existing server node sended over
After resource status update response, provided with the data of the existing server node carried in resource status update response
The local data resource list originally stored is replaced in source list, and with carrying resource status characteristic value in the heartbeat data packets
Replace the local Secondary resource state characteristic value originally stored.
5. the method that server node carries out source synchronous in the distributed server system according to Claims 2 or 3,
It is characterized in that, the method further includes:
When Geju City server node is removed in the distributed server system, the legacy server node and other is disconnected
An existing server node is chosen in network connection between server node in the distributed server system,
The IP address of the legacy server node is deleted in the server ip address list of the existing server node, and described in update
The IP list characteristics values of existing server node;
The existing server node sends the heartbeat for carrying the IP list characteristics values being locally stored to other server nodes
Data packet, after other server nodes receive the heartbeat data packets, according to the IP carried in the heartbeat data packets
List characteristics value sends the request of server ip address list update to the existing server node;
Other server nodes receive server ip address list that the existing server node sends over more
After new response, the server ip of the existing server node carried in being responded with the server ip address list update
Address list replaces the local server ip address list originally stored, and is arranged with IP address is carried in the heartbeat data packets
Table characteristic value replaces the local IP address list characteristic value originally stored.
6. a kind of server node in distributed server system, which is characterized in that including:
For management server IP address list, multiple services have been recorded in the server ip address list for resource management module
The IP address of device node, the IP address generation IP row of multiple server nodes according to described in the server ip address list
Table characteristic value, the IP list characteristics values have corresponded to the version value of the server ip address list, by the IP list characteristics value
It is preserved;
Module is established in network connection, for setting heartbeat listening port in the server node, in the heartbeat listening port
Network connection is established between the heartbeat listening port of other server nodes described in the server ip address list;
Source synchronous processing module carries for being sent to other server nodes that network connection is established with book server node
The heartbeat data packets of local resource information, by the resource information that is carried in the heartbeat data packets each server node it
Between carry out source synchronous.
7. the server node in distributed server system according to claim 6, it is characterised in that:
The source synchronous processing module, specifically for other server sections that network connection is established with book server node
Point sends the heartbeat data packets for carrying the IP list characteristics values locally preserved;
After the heartbeat data packets that other server nodes are sended over by network connection are received, the heart received is extracted
Jump the first IP list characteristics values carried in data packet, the first IP list characteristics that will be carried in the heartbeat data packets received
The 2nd IP list characteristics values for being worth and being locally stored are compared, when the first IP list characteristics value is arranged more than the 2nd IP
During table characteristic value, then server ip address list update is sent to other server nodes by network connection and asked, connect
After receiving the server ip address list update response that other server nodes send over, with the server ip address
The local clothes originally stored are replaced in the server ip address list of the other server nodes carried in list update response
Business device IP address list, and replace local the 2nd IP list characteristics values originally stored with the first IP list characteristics value;
When the first IP list characteristics value is not more than the 2nd IP list characteristics values, then not to other server sections
Point sends the request of server ip address list update.
8. the server node in distributed server system according to claim 7, it is characterised in that:
The resource management module, specifically for managing data resource list, which is used for marking local clothes
The data resource that business device node is possessed generates resource status characteristic value according to the data resource list, and the resource status is special
Value indicative has corresponded to the version value of the data resource list, and the resource status characteristic value is preserved;
The source synchronous processing module, specifically for other server sections that network connection is established with book server node
Point sends the heartbeat data packets for carrying the resource status characteristic value locally preserved and IP list characteristics values;When receiving other services
After the heartbeat data packets that device node is sended over by network connection, first carried in the heartbeat data packets received is extracted
Resource status characteristic value, by the first resource state characteristic value carried in the heartbeat data packets received and be locally stored the
Two resource status characteristic values are compared, when the first resource state characteristic value is more than the Secondary resource state characteristic value
When, then resource status update request is sent to other server nodes by network connection, receive other services
After the resource status update response that device node sends over, with the other services carried in resource status update response
The local data resource list originally stored is replaced in the data resource list of device node, and with the first resource state feature
Value replaces the local Secondary resource state characteristic value originally stored;
When the first resource state characteristic value is not more than the Secondary resource state characteristic value, then not to other services
Device node sends resource status update request.
9. the server node in distributed server system according to claim 6 or 7 or 8, which is characterized in that in institute
One new demand servicing device node of increase in distributed server system is stated, IP address is set to the new demand servicing device node, sets this new
The server ip address list of server node and data the Resources list are sky, and IP list characteristics value and resource status characteristic value are
Minimum chooses an existing server node, in the existing server node in the distributed server system
Server ip address list in increase the IP address of the new demand servicing device node, and update the existing server node
IP list characteristics values;
Network connection, the existing server are established between the new demand servicing device node and the existing server node
Node sends to the new demand servicing device node and carries the IP list characteristics value being locally stored and resource status characteristic value heartbeat data
Bag, it is special according to the IP lists carried in the heartbeat data packets after the new demand servicing device node receives the heartbeat data packets
Value indicative and resource status characteristic value send the request of server ip address list update and resource to the existing server node
State update request;
The new demand servicing device node receives the server ip address list update that the existing server node sends over
After response, the server ip of the existing server node carried in being responded with the server ip address list update
The local server ip address list originally stored is replaced in location list, and carries IP address list in the heartbeat data packets
Characteristic value replaces the local IP address list characteristic value originally stored;Receive what the existing server node sended over
After resource status update response, provided with the data of the existing server node carried in resource status update response
The local data resource list originally stored is replaced in source list, and with carrying resource status characteristic value in the heartbeat data packets
Replace the local Secondary resource state characteristic value originally stored.
10. the server node in distributed server system according to claim 6 or 7 or 8, which is characterized in that
When Geju City server node is removed in the distributed server system, the legacy server node and other servers are disconnected
An existing server node is chosen in network connection between node in the distributed server system, existing at this
Server node server ip address list in delete the IP address of the legacy server node, and update described existing
The IP list characteristics values of server node;
The existing server node sends the heartbeat for carrying the IP list characteristics values being locally stored to other server nodes
Data packet, after other server nodes receive the heartbeat data packets, according to the IP carried in the heartbeat data packets
List characteristics value sends the request of server ip address list update to the existing server node;
Other server nodes receive server ip address list that the existing server node sends over more
After new response, the server ip of the existing server node carried in being responded with the server ip address list update
Address list replaces the local server ip address list originally stored, and is arranged with IP address is carried in the heartbeat data packets
Table characteristic value replaces the local IP address list characteristic value originally stored.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410027678.9A CN104796445B (en) | 2014-01-21 | 2014-01-21 | Server node carries out the method, apparatus of source synchronous |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410027678.9A CN104796445B (en) | 2014-01-21 | 2014-01-21 | Server node carries out the method, apparatus of source synchronous |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104796445A CN104796445A (en) | 2015-07-22 |
CN104796445B true CN104796445B (en) | 2018-06-05 |
Family
ID=53560955
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410027678.9A Active CN104796445B (en) | 2014-01-21 | 2014-01-21 | Server node carries out the method, apparatus of source synchronous |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104796445B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106603588B (en) * | 2015-10-14 | 2020-05-15 | 北京国双科技有限公司 | Server node processing method and device |
CN105610985B (en) * | 2016-03-14 | 2018-10-09 | 北京国电通网络技术有限公司 | A kind of synchronous method of server ip address |
CN106921746A (en) * | 2017-03-22 | 2017-07-04 | 重庆允升科技有限公司 | A kind of data synchronous system and method for data synchronization |
CN107645386B (en) * | 2017-09-25 | 2021-06-22 | 网宿科技股份有限公司 | Method and device for acquiring data resources |
CN109510877B (en) * | 2018-12-21 | 2022-03-15 | 中国航空工业集团公司西安航空计算技术研究所 | Method and device for maintaining dynamic resource group and storage medium |
CN110365809B (en) * | 2019-07-23 | 2021-12-14 | 中南民族大学 | Distributed server address configuration system and method |
CN111031126B (en) * | 2019-12-10 | 2022-08-12 | 江苏满运软件科技有限公司 | Cluster cache sharing method, system, equipment and storage medium |
CN111200538B (en) * | 2019-12-25 | 2022-03-11 | 苏宁云计算有限公司 | Monitoring method and device for intelligent equipment |
CN111259376A (en) * | 2020-01-17 | 2020-06-09 | 中国平安人寿保险股份有限公司 | Authority configuration method, device, server and storage medium |
CN111371639B (en) * | 2020-02-21 | 2021-12-14 | 腾讯科技(深圳)有限公司 | Network delay analysis method and device, storage medium and computer equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217565A (en) * | 2008-01-04 | 2008-07-09 | 华中科技大学 | A network organization method of classification retrieval in peer-to-peer network video sharing system |
CN102035894A (en) * | 2010-12-29 | 2011-04-27 | 北京播思软件技术有限公司 | Distance-based state synchronization method |
CN102769673A (en) * | 2012-07-25 | 2012-11-07 | 楚云汉智武汉网络存储***有限公司 | Failure detection method suitable to large-scale storage cluster |
CN103117901A (en) * | 2013-02-01 | 2013-05-22 | 华为技术有限公司 | Distributed heartbeat detection method, device and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8437280B2 (en) * | 2007-03-22 | 2013-05-07 | Tr Technologies Inc. | Distributed synchronous batch reconfiguration of a network |
-
2014
- 2014-01-21 CN CN201410027678.9A patent/CN104796445B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217565A (en) * | 2008-01-04 | 2008-07-09 | 华中科技大学 | A network organization method of classification retrieval in peer-to-peer network video sharing system |
CN102035894A (en) * | 2010-12-29 | 2011-04-27 | 北京播思软件技术有限公司 | Distance-based state synchronization method |
CN102769673A (en) * | 2012-07-25 | 2012-11-07 | 楚云汉智武汉网络存储***有限公司 | Failure detection method suitable to large-scale storage cluster |
CN103117901A (en) * | 2013-02-01 | 2013-05-22 | 华为技术有限公司 | Distributed heartbeat detection method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN104796445A (en) | 2015-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104796445B (en) | Server node carries out the method, apparatus of source synchronous | |
US20210004297A1 (en) | System and method for managing blockchain nodes | |
CN107579931B (en) | A kind of block chain, that is, Service Source adaptation method based on Kubernetes | |
EP2710470B1 (en) | Extensible centralized dynamic resource distribution in a clustered data grid | |
EP1969476B1 (en) | Peer distribution point feature for system management server | |
RU2417416C2 (en) | Solution deployment in server farm | |
CN105472002B (en) | Based on the session synchronization method copied immediately between clustered node | |
CN105407117B (en) | The methods, devices and systems of distributed backup data | |
CN106528574A (en) | Data synchronization method and device | |
CN106648903A (en) | Method and system for calling distributed file system | |
CN107404509B (en) | Distributed service configuration system and information management method | |
CN109756566B (en) | Block chain based data storage method, related equipment and storage medium | |
CN107231400A (en) | The synchronous method and device of a kind of data | |
EP4050850A1 (en) | Service upgrading method, device and system | |
CN106385455A (en) | CDN (Content Delivery Network) mirror-based whole site lock setting method | |
CN109885612A (en) | The synchronization take-effective method and device of block chain intelligence contract | |
CN110262893A (en) | The method, apparatus and computer storage medium of configuration mirroring memory | |
CN106911769B (en) | Cloud platform routing data processing method and physical server of cloud platform | |
CN106357723A (en) | Synchronous system and method for multi-cluster information caching based on cloud host | |
CN106227470B (en) | A kind of storage resource management method and device | |
CN110290163A (en) | A kind of data processing method and device | |
WO2022034359A1 (en) | Satisfying a set of services over given network resources | |
CN107741994A (en) | A kind of data-updating method and device | |
CN107623705A (en) | Memory module upgrade method, device and system based on video cloud storage system | |
CN107547622B (en) | Resource adjusting method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |