CN102025554B - Method for detecting node state - Google Patents
Method for detecting node state Download PDFInfo
- Publication number
- CN102025554B CN102025554B CN2009101739429A CN200910173942A CN102025554B CN 102025554 B CN102025554 B CN 102025554B CN 2009101739429 A CN2009101739429 A CN 2009101739429A CN 200910173942 A CN200910173942 A CN 200910173942A CN 102025554 B CN102025554 B CN 102025554B
- Authority
- CN
- China
- Prior art keywords
- node
- network segment
- package
- server
- management server
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 230000004044 response Effects 0.000 description 7
- 238000001514 detection method Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000004083 survival effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a method for detecting the state of the system node in a system with N nodes. Polling is replaced by a broadcast technology so that managed nodes in the same network segment of a management server in the system respond to the broadcast of the management server together, therefore, the defection for many minutes can be finished just in short time.
Description
Technical field
The present invention relates to the method whether a kind of detecting is survived by management node, relate in particular to a kind of method of utilizing regional broadcast to come the detecting of acceleration management server whether to be survived by management node.
Background technology
In whether the survive detection practice of (alive) of server system node on said system inventory of exploitation on the market do; Make the management server go singly to survey with poll (polling) mode whether node has response on the inventory at set intervals; Judge whether also survival of its state (status); If node is survived on the inventory, said survival node is then seen a signal off and is given said management server.
Fig. 1 discloses traditional polling mode, and it may further comprise the steps: obtain N the node inventory (N for greater than one integer) that can be managed; Whether first node of surveying said inventory has response, if there is response to judge that then said node is what survive; Whether second node surveying said inventory has response, if there is response to judge that then said node is what survive; ... whether N node surveying said inventory has response, if there is response to judge that then said node is what survive; Survey and finish.
So when node is numerous on the said system inventory; Normal (the N value big poll time long more) more for a long time of having spent several minutes of node node to the last said system inventory on first said system inventory of poll, so cause server system usefulness not good, can't manage a large amount of nodes in the short time.
Therefore, the inventor of this case works out the method whether a kind of detecting is survived by management node, and in particular to a kind of method of utilizing regional broadcast to come the detecting of acceleration management server whether to be survived by management node, it is to improve present situation of the prior art.
Summary of the invention
A purpose of the present invention is the method that has the state of system node described in the system of N node about a kind of detecting one; Utilize broadcast technology to replace poll; Make and the server broadcasting of being responded server by management node together in the same network segment mutually, so will make the detection that reached several minutes only need just can accomplish in the extremely short time.
For reaching above purpose, it comprises the disclosed method of the present invention at least:
(a) obtain the inventory of this N node;
(b) send a broadcasting packages to this N node by the management server;
(c) in this N node with the management server mutually M node of same network segment receive that answer one package is managed server to this after this broadcasting packages, M is the natural number that is less than or equal to N; And
(d) wait one section user's setting-up time after, carry out (b).
For reaching above purpose, it also comprises the disclosed method of the present invention at least:
(a) obtain the inventory of this N node;
(b) send a broadcasting packages to this N node by the management server at this management server place network segment;
(c) in this N node with the management server mutually M node of same network segment receive that answer one package is to this server after this broadcasting packages, M is the natural number that is less than or equal to N; And
(d) when M be during less than N, choose other network segment, and the network segment that will manage server changes to the selected network segment, and carries out (b).
Description of drawings
Fig. 1 is the burning pattern action sketch map of prior art;
Fig. 2 is the schematic flow sheet of a method for detecting of the present invention; And
Fig. 3 is the schematic flow sheet that is used for another method for detecting of the present invention.
Embodiment
The invention relates to the method for the state of system node described in the system that a kind of detecting one has N node; Utilize broadcast technology to replace poll; Make and the broadcasting of being responded server by management node together in the same network segment mutually of management server, so will make the detection that reached several minutes only need just can accomplish in the extremely short time.
Fig. 2 is about a preferred embodiment of the present invention, and it discloses the method for the state of system node described in the system that a kind of detecting one has N node, and N is a natural number, and it may further comprise the steps:
S201: the inventory of obtaining a said N node;
S202: send a broadcasting packages to a said N node by a management server;
S203: in the said N node with said management server mutually M node of same network segment receive and reply a package to said management server after the said broadcasting packages that M is the natural number that is less than or equal to N; And
S204: after waiting one section user's setting-up time, carry out s202.
Wherein preferably, its aforesaid be further to comprise:
All the other nodes of not replying of poll, when M greater than 0 the time.
Wherein preferably, the purpose address of the package seen off of an aforesaid N node equals the source address of the package that aforesaid management server sees off.
Wherein preferably, in the network segment at aforesaid management server place and the aforesaid N node part of nodes to belong to maximum network segments identical.
Wherein preferably, node comprises a baseboard management controller (Baseboard ManagementController).
Wherein preferably, said baseboard management controller is inserted the purpose address of loopback package with the source address of said broadcasting packages and the Internet address of said node is inserted the source end address of loopback package.
The above, for said management server mutually the node of same network segment use the node of broadcasting and the said server network segment inequality then to use traditional poll to confirm the method for all node states.
Yet by of the present invention open, its another preferred embodiment is disclosed like Fig. 3; It is about another preferred embodiment of the present invention; It discloses the method for the state of system node described in the system that a kind of detecting one has N node, and N is a natural number, and it may further comprise the steps:
S301: the inventory of obtaining a said N node;
S302: the network segment sends a broadcasting packages to a said N node at said management server place by a management server;
S303: reply a package to said server after M the node with the management server place network segment in the said N node received said broadcasting packages, M is the natural number that is less than or equal to N; And
S304: when M is during less than N, choose other network segment, and the network segment of said server is changed to the selected network segment, and carry out s302.
The places different with the embodiment of Fig. 2 are; If all nodes are distributed on three network segments; Like the network segment 1, the network segment 2, the network segment 3; The network segment of said like this server changes to the network segment 1, the network segment 2, the network segment 3 respectively and does broadcasting, just can not need poll fully but can reach the effect of all node states of detecting.
Wherein preferably, the purpose address of the package seen off of an aforesaid N node equals the source address of the package that aforesaid server sees off.
Wherein preferably, in the network segment at aforesaid management server place and the aforesaid N node part of nodes to belong to maximum network segments identical.
Wherein preferably, node comprises a baseboard management controller (Baseboard ManagementController).
Wherein preferably, said baseboard management controller is inserted the purpose address of loopback package with the source address of said broadcasting packages and the Internet address of said node is inserted the source end address of loopback package.
More than explanation is just illustrative for the purpose of the present invention, and nonrestrictive, those of ordinary skills understand; Under the situation of spirit that does not break away from following accompanying claims and limited and scope, can make many modifications, change; Or equivalence, but all will fall in protection scope of the present invention.
Claims (9)
1. a detecting one has the method for the state of system node described in the system of N node, and N is a natural number, it is characterized in that, it may further comprise the steps:
(a) obtain the inventory of a said N node;
(b) send a broadcasting packages to a said N node by a management server;
(c) in the said N node with the management server mutually M node of same network segment receive and reply extremely said management server of a package after the said broadcasting packages that M is the natural number that is less than or equal to N; And
(d) wait one section user's setting-up time after, carry out (b).
2. method as claimed in claim 1 is characterized in that, it further comprises all the other nodes of not replying of (e) poll, when M greater than 0 the time.
3. method as claimed in claim 1 is characterized in that, the purpose address of the package that a said M node is seen off equals the source address of the package that said server sees off.
4. method as claimed in claim 1 is characterized in that, to belong to maximum network segments identical for part of nodes in the network segment at said server place and the said N node.
5. method as claimed in claim 1 is characterized in that said node comprises a baseboard management controller.
6. method as claimed in claim 5 is characterized in that, said baseboard management controller is inserted the purpose address of loopback package with the source address of said broadcasting packages and the Internet address of said node inserted the source end address of loopback package.
7. a detecting one has the method for the state of system node described in the system of N node, and N is a natural number, it is characterized in that, it may further comprise the steps:
(a) obtain the inventory of a said N node;
(b) network segment sends a broadcasting packages to a said N node at said management server place by a management server;
(c) in the said N node with said management server mutually M node of same network segment receive and reply a package to said server after the said broadcasting packages that M is the natural number that is less than or equal to N; And
(d) when M be during less than N, choose other network segment, and the network segment of said server changed to the selected network segment, and carry out (b).
8. method as claimed in claim 7 is characterized in that, the purpose address of the package that a said M node is seen off equals the source address of the package that said server sees off.
9. method as claimed in claim 7 is characterized in that said node comprises a baseboard management controller.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101739429A CN102025554B (en) | 2009-09-22 | 2009-09-22 | Method for detecting node state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101739429A CN102025554B (en) | 2009-09-22 | 2009-09-22 | Method for detecting node state |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102025554A CN102025554A (en) | 2011-04-20 |
CN102025554B true CN102025554B (en) | 2012-07-04 |
Family
ID=43866446
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101739429A Expired - Fee Related CN102025554B (en) | 2009-09-22 | 2009-09-22 | Method for detecting node state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102025554B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102055616A (en) * | 2009-10-27 | 2011-05-11 | 英业达股份有限公司 | Method for detecting node state |
TWI551097B (en) * | 2015-09-23 | 2016-09-21 | sheng-fu Zhang | A narrow data transmission method and a system using the same |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1540532A (en) * | 2003-04-23 | 2004-10-27 | 明基电通股份有限公司 | Processing system and method for updating networked devices |
CN1972281A (en) * | 2005-11-25 | 2007-05-30 | 英业达股份有限公司 | System and method for searching target apparatus in same network segment |
CN101364878A (en) * | 2007-08-10 | 2009-02-11 | 海华科技股份有限公司 | Method and system for automatically network connection port monitoring |
CN102055616A (en) * | 2009-10-27 | 2011-05-11 | 英业达股份有限公司 | Method for detecting node state |
-
2009
- 2009-09-22 CN CN2009101739429A patent/CN102025554B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1540532A (en) * | 2003-04-23 | 2004-10-27 | 明基电通股份有限公司 | Processing system and method for updating networked devices |
CN1972281A (en) * | 2005-11-25 | 2007-05-30 | 英业达股份有限公司 | System and method for searching target apparatus in same network segment |
CN101364878A (en) * | 2007-08-10 | 2009-02-11 | 海华科技股份有限公司 | Method and system for automatically network connection port monitoring |
CN102055616A (en) * | 2009-10-27 | 2011-05-11 | 英业达股份有限公司 | Method for detecting node state |
Also Published As
Publication number | Publication date |
---|---|
CN102025554A (en) | 2011-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019072294A3 (en) | Achieving consensus among network nodes in a distributed system | |
CN102932352B (en) | The method that communicates and server is carried out with client | |
CN102638586A (en) | Sharing method, system and device for application program information | |
US20140351419A1 (en) | Automatic data ring discovery and configuration | |
CN107634964B (en) | WAF (Wireless Access Filter) testing method and device | |
CN104159299A (en) | Transmission method and device for service bulletin message | |
CN101483571B (en) | RRPP configuring method, system and device | |
CN108880972B (en) | Information processing method, server and terminal | |
CN103841206A (en) | Thematic message subscripting and releasing method | |
CN109784928B (en) | Information processing method and information processing device based on block chain | |
CN102231739A (en) | Code matching method and device | |
CN104506330A (en) | Message synchronizing method and system | |
CN102025554B (en) | Method for detecting node state | |
CN104301990A (en) | Data synchronizing method and device | |
CN102055616A (en) | Method for detecting node state | |
CN102253969A (en) | Information processing method and device, and server | |
CN103995901A (en) | Method for determining data node failure | |
CN105656996A (en) | Data node survival detection method and device | |
CN106209561B (en) | The sending method and device of loop detection message | |
CN104079663A (en) | Distributed type real-time synchronizing network system and data annunciating method thereof | |
CN101969395A (en) | Method for configuring code, method and system for detecting path and network equipment | |
CN103580953A (en) | Method and devices for detecting faults | |
WO2002011371A1 (en) | Communication system, communication device, and communication method | |
CN102764504B (en) | Information output method and electronic equipment | |
CN103368988B (en) | resource sharing method, system and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120704 |