CN102917065B - A kind of searching method, cloud computing node and cloud computing management end of node - Google Patents

A kind of searching method, cloud computing node and cloud computing management end of node Download PDF

Info

Publication number
CN102917065B
CN102917065B CN201210407658.5A CN201210407658A CN102917065B CN 102917065 B CN102917065 B CN 102917065B CN 201210407658 A CN201210407658 A CN 201210407658A CN 102917065 B CN102917065 B CN 102917065B
Authority
CN
China
Prior art keywords
cloud computing
broadcast
management end
node
response message
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
Application number
CN201210407658.5A
Other languages
Chinese (zh)
Other versions
CN102917065A (en
Inventor
闫冬冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201210407658.5A priority Critical patent/CN102917065B/en
Publication of CN102917065A publication Critical patent/CN102917065A/en
Application granted granted Critical
Publication of CN102917065B publication Critical patent/CN102917065B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of searching method, cloud computing node and cloud computing management end of node, comprise: the cloud computing node in cloud computing center receives the request message of the cloud computing management end transmission of cloud computing center, receiving after request message, described request message is resolved, obtain the port numbers of described cloud computing management end, send response message according to described port numbers to described cloud computing management end, in described response message, carry the IP address of self, make described cloud computing management end get the IP address of the each cloud computing node in cloud computing center. The present invention can effectively reduce the manually-operated workload of keeper and improve accuracy rate, prevent the IP address error causing because of human error, avoided because the keeper's that the expansion of cloud environment causes workload increases, and accurately convenient, without configuration, system is easy to expansion and upgrading.

Description

A kind of searching method, cloud computing node and cloud computing management end of node
Technical field
The present invention relates to the node administration field in cloud computing, relate in particular to a kind of node searching method,Cloud computing node and cloud computing management end.
Background technology
Current cloud computing center is more and more huger, the management of cloud computing center is become increasingly complex, for realityThe now management to the node in cloud computing center, need to all join each node in management system. AndIt is generally using the IP address of node as input that node is joined to management system, so just need to know instituteHave the IP address of node, then the IP address by node one by one joins in management system.
The IP address that so just needs keeper to remove to record each node, has increased keeper's workload,Especially in the time of the change of the IP address of node, for the IP address after the variation of definite node, incite somebody to actionThe more workload of extra increase, very consuming time, be unfavorable for operation and management.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of searching method, cloud computing node and cloud of nodeManagement of computing end can be searched for and find node, without by manually carrying out record in huge computing environment.
For solving the problems of the technologies described above, the searching method of a kind of node of the present invention, comprising:
Cloud computing node in cloud computing center receives the request of the cloud computing management end transmission of cloud computing centerMessage, is receiving after request message, and described request message is resolved, and obtains described cloud computing pipeThe port numbers of reason end, sends response message according to described port numbers to described cloud computing management end, describedIn response message, carry the IP address of self, described cloud computing management end is got in cloud computing centerThe IP address of each cloud computing node.
Further, the cloud computing node in described cloud computing center receives the cloud computing pipe of cloud computing centerThe request message that reason end sends, comprising: the cloud computing node in described cloud computing center all joins firstIn broadcast group, and all receive by described the first broadcast group the request message that cloud computing management end is broadcasted;
Described cloud computing node sends response message according to described port numbers to described cloud computing management end, bagDraw together: described cloud computing node is second wide to described cloud computing management end place by described the first broadcast groupBroadcast the response message that group sends the described port numbers of configuration.
Further, the cloud computing node in described cloud computing center all joins in the first broadcast group, andThe request message that all receives the broadcast of cloud computing management end by described the first broadcast group, comprising: described cloud meterOperator node is all tied on the multicast socket Socket of the first port, by the multicast of described the first portSocket adds in the first broadcast group, and described cloud computing node is all by the multicast of the first port of selfSocket receives the request message of cloud computing management end broadcast;
Described cloud computing node is second wide to described cloud computing management end place by described the first broadcast groupBroadcast the response message that group sends described port numbers, comprising: described cloud computing node is all by self firstThe multicast Socket of port sends described response report to the second broadcast group at described cloud computing management end placeLiterary composition.
Further, a kind of searching method of node, comprising:
The cloud computing management end of cloud computing center sends request report to the cloud computing node in cloud computing centerLiterary composition, and receive the response message that described cloud computing node sends, from described response message, obtain response reportThe IP address of the cloud computing node carrying in literary composition, obtains the IP of the each cloud computing node in cloud computing centerAddress.
Further, the cloud computing management end of described cloud computing center saves to the cloud computing in cloud computing centerPoint sends request message, and receives the response message that described cloud computing node sends, and comprising:
Described cloud computing management end adds in the second broadcast group, saves to described cloud computing by the second broadcast groupThe first broadcast group broadcast described request message at some place, and receive described cloud computing by the second broadcast groupThe response message that node sends.
Further, described cloud computing management end adds in the second broadcast group, by the second broadcast group to instituteState the first broadcast group broadcast described request message at cloud computing node place, and receive by the second broadcast groupThe response message that described cloud computing node sends, comprising:
Described cloud computing management end is tied on the multicast socket Socket of the second port, by described secondThe multicast Socket of port adds in the second broadcast group, and described cloud computing management end is by the group of the second portBroadcast the first broadcast group broadcast request message of Socket to cloud computing node place, and by the second portMulticast Socket receives the response message that cloud computing node sends.
Further, a kind of cloud computing node, comprising: receiving element, resolution unit and transmitting element,Wherein:
Described receiving element, the request message sending for receiving the cloud computing management end of cloud computing center;
Described resolution unit, for receiving after request message at described receiving element, to described request reportLiterary composition is resolved, and obtains the port numbers of described cloud computing management end;
Described transmitting element, manages to described cloud computing for the port numbers of obtaining according to described resolution unitEnd sends response message, carries the IP address of self in described response message, makes described cloud computing managementEnd gets the IP address of the each cloud computing node in cloud computing center.
Further, described receiving element, specifically for joining in the first broadcast group, and described in passing throughThe first broadcast group receives the request message of cloud computing management end broadcast;
Described transmitting element, specifically for by described the first broadcast group to described cloud computing management end placeSecond broadcast group send configuration described port numbers response message.
Further, a kind of cloud computing management end, comprising: transmitting element, receiving element and address acquisitionUnit, wherein:
Described transmitting element, sends request message for the cloud computing node to cloud computing center;
Described receiving element, the response message sending for receiving described cloud computing node;
Described address acquisition unit, for obtaining the cloud meter carrying response message from described response messageThe IP address of operator node, obtains the IP address of the each cloud computing node in cloud computing center.
Further, described transmitting element, specifically for adding in the second broadcast group, by the second broadcastGroup is to the first broadcast group broadcast described request message at described cloud computing node place;
Described receiving element, the sound sending specifically for receive described cloud computing node by the second broadcast groupAnswer message.
In sum, medium cloud management of computing end of the present invention sends request message to cloud computing node, cloud computingNode is receiving after request message, obtains the port numbers of cloud computing management end, according to port numbers to cloud meterCalculate management end and send response message, in response message, carry the IP address of self, realize the search of node,Can effectively reduce the manually-operated workload of keeper and improve accuracy rate, preventing because of human errorThe IP address error causing, has avoided because the keeper's that the expansion of cloud environment causes workload increases,And accurately convenient, without configuration, system is easy to expansion and upgrading.
Brief description of the drawings
Fig. 1 is the flow chart of the searching method of the node in cloud computing node side of present embodiment;
Fig. 2 is the flow chart of the searching method of the node at cloud computing management end of present embodiment;
Fig. 3 is the Organization Chart of the cloud computing node of present embodiment;
Fig. 4 is the Organization Chart of the cloud computing management end of present embodiment.
Detailed description of the invention
In cloud computing environment, need the cloud computing node of management can be along with the upgrading expansion of cloud computing center byCumulative many, each cloud computing node is brought into the IP address that needs to know each cloud computing node in management,So just need the artificial IP address of recording each cloud computing node and add cloud computing management end to. WithThe quantity of the cloud computing node of management increases, and the work meeting of recording cloud computing node IP address is more and more numerousAssorted, very consuming time. Present embodiment has proposed a kind of mode that can automatically find all cloud computing nodes.In deployed environment, in order to manage better all cloud computing nodes, in present embodiment at cloud meterOperator node deploy node-agent, utilizes node-agent to realize the function of search of cloud computing node.
In present embodiment, cloud computing node receives the request message that cloud computing management end sends, and is receivingAfter request message, request message is resolved, obtain the port numbers of cloud computing management end, according to portNumber send response message to cloud computing management end, in response message, carry self IP address, make cloud meterCalculation management end gets the IP address of the each cloud computing node in cloud computing center.
Present embodiment is utilized multicast mechanism, and each cloud computing node is joined in same broadcast group.When cloud computing management end sends the request message of multicast, cloud computing node receives this request by broadcast groupAfter message, send response message, in response message, carry the IP address of self, like this cloud computing management endReceive the IP address of just having collected all cloud computing nodes after response message.
In the present embodiment all cloud computing nodes are joined in the first broadcast group; By cloud computing pipeReason end adds in the second broadcast group; Cloud computing management end by the second broadcast group to cloud computing node placeThe first broadcast group is sent the request message of multicast, and the each cloud computing node in the first broadcast group is by firstBroadcast group receives after this request message, can be by the first broadcast group to second of cloud computing management end placeBroadcast group is sent response message, can comprise the IP address of cloud computing node in response message, cloud computing managementEnd receives all response messages that send by the second broadcast group and collects the IP ground of all cloud computing nodesLocation.
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, this is implementedMode is described in further detail.
Present embodiment, in deployed environment, is installed a node-agent on each cloud computing node,And move this node-agent. In agency, do following realization, as shown in Figure 1, present embodiment at cloudThe searching method of the node of computing node one side, comprising:
Step 101: the cloud computing node in cloud computing center is tied to the multicast of the first port (port-a)Socket (socket) is upper, and this multicast Socket is joined in the first broadcast group (group-a);
Step 102: cloud computing node all constantly receives by the multicast Socket of the first port of self pleaseAsk message, receiving after request message, resolve this request message, obtain the port of cloud computing management endNumber (as port-b), by self the multicast Socket of the first port to cloud computing management end placeIn the second broadcast group (group-b), send the response message of configuration port-b.
As shown in Figure 2, present embodiment in cloud computing management end (being a request message originating end) sideThe searching method of node, comprising:
Step 201: cloud computing management end is tied on the multicast Socket of the second port (port-b), andThis multicast Socket is joined in the second broadcast group (group-b);
Step 202: cloud computing management end uses the multicast Socket of the second port first to cloud computing node instituteThe first broadcast group (group-a) in the request message of broadcast configuration the first port (port-a), and logicalThe multicast Socket that crosses the second port constantly receives, collects response message, obtains cloud meter from response messageThe IP address of operator node, obtains the IP address of the each cloud computing node in cloud computing center.
Cloud computing management end can arrange an acquisition time to the multicast Socket of the second port, exceedes thisAfter time, will no longer receive response message.
So just complete whole flow process, can collect the IP address of all cloud computing nodes, greatly fallenLow keeper's workload, has saved a large amount of time.
As shown in Figure 3, present embodiment also provides a kind of cloud computing node, comprising: receiving element,Resolution unit and transmitting element, wherein:
Receiving element, the request message sending for receiving the cloud computing management end of cloud computing center;
Resolution unit, for receiving after request message at receiving element, resolves request message,Obtain the port numbers of cloud computing management end;
Transmitting element, sends response report for the port numbers of obtaining according to resolution unit to cloud computing management endLiterary composition carries self IP address in response message, and cloud computing management end is got in cloud computing centerThe IP address of each cloud computing node.
Receiving element, specifically for joining in the first broadcast group, and receives cloud meter by the first broadcast groupCalculate the request message of management end broadcast;
Transmitting element, specifically for the second broadcast group to cloud computing management end place by the first broadcast groupSend the response message of configured port number.
Receiving element, specifically for being all tied on the multicast socket Socket of the first port, by firstThe multicast Socket of port adds in the first broadcast group, connects by the multicast Socket of the first port of selfReceive the request message of cloud computing management end broadcast;
Transmitting element, specifically for the multicast Socket of the first port by self to cloud computing management endThe second broadcast group at place sends response message.
As shown in Figure 4, present embodiment also provides a kind of cloud computing management end, comprising: transmitting element,Receiving element and address acquisition unit, wherein:
Transmitting element, sends request message for the cloud computing node to cloud computing center;
Receiving element, the response message sending for receiving cloud computing node;
Address acquisition unit, for obtaining the cloud computing node that carries response message from response messageIP address, obtains the IP address of the each cloud computing node in cloud computing center.
Transmitting element, specifically for adding in the second broadcast group, by the second broadcast group to cloud computing nodeThe first broadcast group broadcast request message at place;
Receiving element, specifically for receiving by the second broadcast group the response message that cloud computing node sends.
Transmitting element, specifically for being tied on the multicast socket Socket of the second port, by the second endThe multicast Socket of mouth adds in the second broadcast group, saves to cloud computing by the multicast Socket of the second portThe first broadcast group broadcast request message at some place;
Receiving element, sends specifically for the multicast Socket reception cloud computing node by the second portResponse message.
Obviously, it is apparent to those skilled in the art that above-mentioned of the present invention each module or each step canTo realize with general calculation element, they can concentrate on single calculation element, or distributeOn the network forming at multiple calculation elements, alternatively, they can use the executable journey of calculation elementOrder code is realized, thereby they can be stored in storage device and be carried out by calculation element, orThey are made into respectively to each integrated circuit modules, or the multiple modules in them or step are madeBecome single integrated circuit module to realize. Like this, the present invention is not restricted to any specific hardware and softwareIn conjunction with.
This is only the preferred embodiments of the present invention above, is not limited to the present invention, for abilityThe technical staff in territory, the present invention can have various modifications and variations. All in spirit of the present invention and former, any amendment of doing, be equal to replacement, improvement etc., all should be included in protection model of the present inventionWithin enclosing.

Claims (4)

1. a searching method for node, comprising:
What the cloud computing management end of the cloud computing node reception cloud computing center in cloud computing center sent pleaseAsk message, receiving after request message, described request message is resolved, obtain described cloud computingThe port numbers of management end, sends response message according to described port numbers to described cloud computing management end, in instituteState the IP address of carrying self in response message, described cloud computing management end is got in cloud computing centerThe IP address of each cloud computing node; Wherein,
The cloud computing management end that cloud computing node in described cloud computing center receives cloud computing center sendsRequest message, comprising: the cloud computing node in described cloud computing center all joins in the first broadcast group,And all receive by described the first broadcast group the request message that cloud computing management end is broadcasted;
Described cloud computing node sends response message according to described port numbers to described cloud computing management end, bagDraw together: described cloud computing node is second wide to described cloud computing management end place by described the first broadcast groupBroadcast the response message that group sends the described port numbers of configuration;
Cloud computing node in described cloud computing center all joins in the first broadcast group, and described in all passing throughThe first broadcast group receives the request message of cloud computing management end broadcast, comprising: described cloud computing node is all tied upThe fixed multicast socket Socket to the first port is upper, and the multicast Socket of described the first port is addedIn the first broadcast group, described cloud computing node all by self the first port multicast Socket receive cloudThe request message of management of computing end broadcast;
Described cloud computing node by described the first broadcast group to second of described cloud computing management end placeBroadcast group sends the response message of described port numbers, comprising: described cloud computing node is all by selfThe multicast Socket of one port sends described response to the second broadcast group at described cloud computing management end placeMessage;
Described cloud computing management end arranges an acquisition time, exceedes after this time and will no longer receive response reportLiterary composition.
2. a searching method for node, comprising:
The cloud computing management end of cloud computing center sends request report to the cloud computing node in cloud computing centerLiterary composition, and receive the response message that described cloud computing node sends, from described response message, obtain response reportThe IP address of the cloud computing node carrying in literary composition, obtains each cloud computing node in cloud computing centerIP address; Wherein,
The cloud computing management end of described cloud computing center sends to the cloud computing node in cloud computing center pleaseAsk message, and receive the response message that described cloud computing node sends, comprising:
Described cloud computing management end adds in the second broadcast group, saves to described cloud computing by the second broadcast groupThe first broadcast group broadcast described request message at some place, and receive described cloud computing by the second broadcast groupThe response message that node sends;
Described cloud computing management end adds in the second broadcast group, saves to described cloud computing by the second broadcast groupThe first broadcast group broadcast described request message at some place, and receive described cloud computing by the second broadcast groupThe response message that node sends, comprising:
Described cloud computing management end is tied on the multicast socket Socket of the second port, by described secondThe multicast Socket of port adds in the second broadcast group, and described cloud computing management end is by the group of the second portBroadcast the first broadcast group broadcast request message of Socket to cloud computing node place, and by the second portMulticast Socket receives the response message that cloud computing node sends;
Described cloud computing management end arranges an acquisition time, exceedes after this time and will no longer receive response reportLiterary composition.
3. a cloud computing node, comprising: receiving element, resolution unit and transmitting element, wherein:
Described receiving element, the request message sending for receiving the cloud computing management end of cloud computing center;
Described resolution unit, for receiving after request message at described receiving element, to described request reportLiterary composition is resolved, and obtains the port numbers of described cloud computing management end;
Described transmitting element, manages to described cloud computing for the port numbers of obtaining according to described resolution unitEnd sends response message, carries the IP address of self in described response message, makes described cloud computing managementEnd gets the IP address of the each cloud computing node in cloud computing center; Wherein,
Described receiving element, specifically for joining in the first broadcast group, and by described the first broadcast groupReceive the request message of cloud computing management end broadcast; Comprise: the multicast socket that is tied to the first portSocket is upper, the multicast Socket of described the first port is added in the first broadcast group, by selfThe multicast Socket of one port receives the request message of cloud computing management end broadcast;
Described transmitting element, specifically for by described the first broadcast group to described cloud computing management end placeSecond broadcast group send configuration described port numbers response message; Comprise: by the first port of selfMulticast Socket send described response message to the second broadcast group at described cloud computing management end place;
Described receiving element arranges an acquisition time, will no longer receive response message after exceeding this time.
4. a cloud computing management end, comprising: transmitting element, receiving element and address acquisition unit,Wherein:
Described transmitting element, sends request message for the cloud computing node to cloud computing center;
Described receiving element, the response message sending for receiving described cloud computing node;
Described address acquisition unit, for obtaining the cloud meter carrying response message from described response messageThe IP address of operator node, obtains the IP address of the each cloud computing node in cloud computing center; Wherein,
Described transmitting element, specifically for adding in the second broadcast group, by the second broadcast group to described cloudThe first broadcast group broadcast described request message at computing node place; Comprise: the group that is tied to the second portBroadcast socket Socket upper, the multicast Socket of described the second port is added in the second broadcast group, logicalCross the multicast Socket of the second port to the first broadcast group broadcast request message at cloud computing node place;
Described receiving element, the sound sending specifically for receive described cloud computing node by the second broadcast groupAnswer message;
Described receiving element arranges an acquisition time, will no longer receive response message after exceeding this time.
CN201210407658.5A 2012-10-23 2012-10-23 A kind of searching method, cloud computing node and cloud computing management end of node Active CN102917065B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210407658.5A CN102917065B (en) 2012-10-23 2012-10-23 A kind of searching method, cloud computing node and cloud computing management end of node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210407658.5A CN102917065B (en) 2012-10-23 2012-10-23 A kind of searching method, cloud computing node and cloud computing management end of node

Publications (2)

Publication Number Publication Date
CN102917065A CN102917065A (en) 2013-02-06
CN102917065B true CN102917065B (en) 2016-05-18

Family

ID=47615295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210407658.5A Active CN102917065B (en) 2012-10-23 2012-10-23 A kind of searching method, cloud computing node and cloud computing management end of node

Country Status (1)

Country Link
CN (1) CN102917065B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660639B (en) * 2013-11-22 2020-03-27 南京中兴新软件有限责任公司 Cloud terminal upgrade processing method and device
CN103634422B (en) * 2013-11-29 2017-03-08 北京奇安信科技有限公司 A kind of IP address recognition methodss of CDN source station and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101958805A (en) * 2010-09-26 2011-01-26 中兴通讯股份有限公司 Terminal access and management method and system in cloud computing
CN102340409A (en) * 2010-07-23 2012-02-01 希姆通信息技术(上海)有限公司 Network equipment management method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340409A (en) * 2010-07-23 2012-02-01 希姆通信息技术(上海)有限公司 Network equipment management method
CN101958805A (en) * 2010-09-26 2011-01-26 中兴通讯股份有限公司 Terminal access and management method and system in cloud computing

Also Published As

Publication number Publication date
CN102917065A (en) 2013-02-06

Similar Documents

Publication Publication Date Title
CN105229591B (en) The method and computer system of global polymerization NameSpace are created for storage management
Salim et al. Design and implementation of web-based GPS-GPRS vehicle tracking system
CN103281673B (en) A kind of business information Push Service system and method
CN112698953A (en) Power grid intelligent operation and detection platform based on micro-service
CN104683164A (en) Method of generating monitoring topological graph by using simplified configuration item correlation model
CN103607476A (en) System and method for distributed multi-stage persistence of huge number of messages
CN105306556A (en) File management method, server and network auxiliary storage equipment
CN103856354A (en) Method for achieving unified management of logs of cluster storage system
CN105119648A (en) Beidou foundation navigation network operation and managing system
CN102917065B (en) A kind of searching method, cloud computing node and cloud computing management end of node
CN104240070A (en) Data release service system and method
CN101854305B (en) Flow collection system and method, device
Sacoto-Cabrera et al. Internet of Things: Informatic system for metering with communications MQTT over GPRS for smart meters
Cha et al. Service mesh based distributed tracing system
CN104394209B (en) A kind of real-time database data transmission method for distributed energy management
CN114615096A (en) Telecommunication charging method, system and related equipment based on event-driven architecture
CN103841187A (en) System and method for rainfall and water level issuing, inquiring and early warning
CN102572006B (en) A kind of data transmission method based on NAT address transition and equipment
CN101547110A (en) Method, system and device for registering multicast source
WO2019140415A3 (en) System and method for managing project and business records
CN102740390B (en) Machine-to-machine/man (M2M) system and communication method thereof, M2M platform and terminal
US10979345B2 (en) Remote medium access control (MAC) based networks
Farrell et al. Report on an Arctic summer DTN trial
CN207650812U (en) A kind of remote sensing image data management and dissemination system based on space time information cloud platform
US11106656B2 (en) Method and apparatus for a software-seamed and augmented view of an asynchronous network fabric

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