CN102143181B - Method and device for acquiring resources in grid environment - Google Patents
Method and device for acquiring resources in grid environment Download PDFInfo
- Publication number
- CN102143181B CN102143181B CN201110080086.XA CN201110080086A CN102143181B CN 102143181 B CN102143181 B CN 102143181B CN 201110080086 A CN201110080086 A CN 201110080086A CN 102143181 B CN102143181 B CN 102143181B
- Authority
- CN
- China
- Prior art keywords
- grid
- node
- grid node
- resources
- communication
- 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
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000004044 response Effects 0.000 claims abstract description 12
- 238000004891 communication Methods 0.000 claims description 44
- 238000005538 encapsulation Methods 0.000 claims description 6
- 239000000344 soap Substances 0.000 description 38
- 238000012545 processing Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a method and a device for acquiring resources in a grid environment. The method comprises the following steps: a first grid node logins an extensible managing and presence protocol (XMPP) server according to a user identification and acquires a grid node list; a target grid node is selected from the grid node list by the first grid node according to any requirement; a consultation message carried by the XMPP is sent to the target grid node by the first grid node according to the user identification of the target grid node; a task is encapsulated into a simple object access protocol (SOAP) message by the first grid node according to a response message carried by the XMPP and returned according to the target grid node; and the SOAP message is sent to the target grid node through the XMPP. According to the technical scheme provided by the invention, the combination of the SOAP and the XMPP is realized under the grid environment, and the grid node is accessed and managed through the user identification, thus improving the efficiency of acquiring the node resources in the grid environment.
Description
Technical field
The present invention relates to the network communications technology, relate in particular to a kind of method and device of acquiring resources in grid environment.
Background technology
Because the calculating in people's daily life and work becomes increasingly complex, therefore, just require the data-handling capacity of computer from strength to strength, but the price of supercomputer is conventionally more expensive, be difficult to enter general work field.On the other hand, owing to existing a large amount of computing equipments on network, its most of disposal ability, storage capacity and other resource are all left unused at any time.The rare formation sharp contrast of the idle and resource of resource.So there is being known as the novel computation schema of grid, logically integrate the various computational resources in the Internet geographically distributing, form unlimited computing capability, in feasible and rational time and cost, solve the computational problem of all kinds of complexity.At present increasing grid computing is upper a large amount of personal computers (the Personal Computer that makes full use of internet; Referred to as: PC) the idle computing cycle of resource is supported mass computing, both need not buy expensive supercomputer, takes full advantage of again a large amount of idle resources on the Internet.
In mesh services, generally adopt Simple Object Access Protocol (Simple Object Access Protocol; Referred to as: the message that SOAP) encapsulation will transmit.SOAP is a kind of agreement of lightweight, in decentralized, distributed environment switching fabric information.SOAP utilizes extend markup language (Extensible Markup Language; Referred to as: XML) technology has defined a kind of extendible Message Processing Framework, and a kind of message structure that can exchange by multiple underlying protocol is provided.For a SOAP node, receiving and send soap message finally will be by having bound with certain bottom communication agreement.Wherein, SOAP and HTML (Hypertext Markup Language) (Hyper Text Transfer Protocol; Referred to as: HTTP) binding of agreement is used the most extensive.Under this pattern, SOAP request/response is mapped as HTTP request/response protocol, to realize the transmission of SOAP information between each node.
But, because http protocol is based on Internet protocol (Internet Protocol; Referred to as: IP) manage, therefore, must know that the IP address of the other side's node just can communicate.But grid nodes a large amount of in grid environment are usually in local area network (LAN), for example, in a laboratory Huo Yige company, this local area network (LAN) is a public network address of application externally, in local area network (LAN), use local ip address, for in local area network (LAN), these do not have the grid node of public network IP address (there is no independent IP address), cannot have access to these grid nodes by IP address.In addition, some grid node is mobile, and their IP address usually changes, and this has just brought inconvenience to resource management.Therefore,, for the ease of the development of grid, the access problem of grid node and the problem of management of mobile node that solve without independent IP address are very necessary.
Summary of the invention
The invention provides a kind of method and device of acquiring resources in grid environment, in order to by SOAP with can expand communication and presentation protocol is bound, realization conducts interviews to grid node by user ID and manages, and solves in existing grid environment access problem and the problem of management to mobile grid node without the grid node of independent IP address.
A kind of method that the invention provides acquiring resources in grid environment, comprising:
The first grid node can be expanded communication and presentation protocol server according to the user ID login generating in advance, obtain grid node list, described grid node list comprises the user ID of available grids node, the available resources of available grids node and resource available quantity;
Described the first grid node is according to mission requirements, select target grid node from described grid node list;
Described the first grid node is according to the user ID of described target gridding node, to described target gridding node, send by expanding the negotiation packet of communication and presentation protocol carrying, described negotiation packet comprises the user ID of described the first grid node, resource type used, stock number used and service time;
Described the first grid node returns according to described target gridding node passes through the described response message of expanding communication and presentation protocol carrying, and task is encapsulated as to simple object access protocol message and expands communication and presentation protocol sends to target gridding node by described simple object access protocol message by described.
The device that the invention provides a kind of acquiring resources in grid environment, comprising:
Acquisition module, for expanding communication and presentation protocol server according to the user ID login generating in advance, obtain grid node list, described grid node list comprises the user ID of available grids node, the available resources of available grids node and resource available quantity;
Select module, for according to described mission requirements, select target grid node from described grid node list;
Consult sending module, be used for according to the user ID of described target gridding node, to described target gridding node, send by expanding the negotiation packet of communication and presentation protocol carrying, described negotiation packet comprises the user ID of described the first grid node, resource type used, stock number used and service time;
Encapsulation sending module, for the described response message of expanding communication and presentation protocol carrying of passing through of returning according to described target gridding node, task is encapsulated as to simple object access protocol message and expands communication and presentation protocol sends to described target gridding node by described simple object access protocol message by described.
The method of acquiring resources in grid environment of the present invention and device, grid node is logined and can be expanded communication and presentation protocol server according to user ID, from expanding communication and presentation protocol server obtains grid node list, and then choose target gridding node, then by user ID to target gridding node by expanding communication and presentation protocol and send negotiation packet and target gridding node is held consultation and by expanding communication and presentation protocol, the task of being encapsulated as soap message is sent to target gridding node, SOAP and the combination that can expand communication and presentation protocol under grid environment have been realized, by user ID, grid node conducted interviews and manage, the problem that cannot access the grid node that there is no independent IP address and the problem of management to mobile grid node that in prior art, exist have been solved, improved the efficiency that in grid environment, node resource obtains.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The flow chart of the method for resource acquisition in the grid environment that Fig. 1 provides for the embodiment of the present invention one;
The structural representation of the device of the acquiring resources in grid environment that Fig. 2 provides for the embodiment of the present invention two;
The structural representation of the device of the acquiring resources in grid environment that Fig. 3 provides for the embodiment of the present invention three;
The structural representation of the grid node that Fig. 4 provides for the embodiment of the present invention four.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
In the mesh services in SOAP and http protocol binding realization, be subject to the restriction of IP address, existence cannot have access to problem and the problems such as management inconvenience to mobile grid node of the grid node that there is no independent IP address, based on this, the following embodiment of the present invention provide a kind of by SOAP with can expand communication and presentation protocol (The Extensible Messaging and Presence Protocol; Referred to as: XMPP) bind the technical scheme that realizes mesh services.Wherein, XMPP agreement is a kind of based on user management, rather than the agreement managing based on static ip address, therefore, mesh services based on XMPP agreement and SOAP binding realization is no longer subject to the restriction of IP address, solve the problem that cannot access the grid node that there is no independent IP address, also solved the problem of management to mobile grid node simultaneously.
Wherein, XMPP agreement is supported the communication mechanism of pre-connection, first client need to sign in on XMPP server and connect, client in the following embodiment of the present invention under XMPP agreement specifically refers to each grid node (comprising the client software under the XMPP agreement of installing on grid node entity and grid node), and XMPP server is called to grid service server.Below will introduce in detail technical scheme of the present invention by specific embodiment.
The flow chart of the method for resource acquisition in the grid environment that Fig. 1 provides for the embodiment of the present invention one.As shown in Figure 1, the method for the present embodiment comprises:
Step 11, the first grid node, according to the user ID login grid service server generating in advance, obtain grid node list, and described grid node list comprises the user ID of available grids node, the available resources of available grids node and resource available quantity;
In the present embodiment, grid node can be the various arithmetic facilities such as personal computer or supercomputer.Each grid node communicates based on XMPP agreement, and each grid node is an XMPP entity.Each grid node has a unique user ID, is commonly called JID.An effective user ID consists of in order domain identifier, node identification and resource identification, and its presentation format is node@domain.
Grid service server is mainly in charge of the dialogue between each grid node or grid node, at the mode message transfer of authorizing between grid node, other grid service servers or any two grid nodes with XML information flow.Between grid node in LAN, by grid service server, just can realize mutual access like this, and can direct communication between different grid service server.In addition, on grid service server, also store the related data information of each grid node, such as user ID, grid node list, state demonstration etc.
Concrete, each grid node, according to the rule of XMPP agreement, generates user ID separately in advance.Then, grid node is registered according to its user ID login grid service server, to set up the catalogue file that this grid node is corresponding on grid service server, wherein, the related data information of this catalogue file for storing this grid node, information such as user ID, available resources, resource available quantity, current state.When grid node is set up catalogue file on grid service server, its related data information can be stored under this catalogue file, so that the information such as available resources of itself are offered to the grid node of other login grid service servers.In network, a large amount of grid nodes are all logined after grid service server registers and set up catalogue file storage related data information, the information such as available resources that will store a large amount of grid nodes on grid service server.
Concrete, the first grid node also can, according to the rule of XMPP agreement, generate its user ID in advance.Then, the first grid node is registered according to this user ID login grid service server, and sets up its catalogue file, and the information such as the available resources of the first grid node, resource available quantity are stored under this catalogue file; Meanwhile, the first grid node also can be selected available grids node and set up grid node list in other grid nodes of login grid service server.Wherein, each grid node has grid node list separately, and the available grids node in this grid node list is selected to add by grid node oneself.Grid node can be selected to add and its related grid node, such as belonging to other grid nodes in same local area network (LAN) etc., can guarantee to a certain extent the reliability of selected grid node like this, the fail safe when improving the resource of using selected grid node.In addition, grid node also can select to add geographical position other grid nodes closer or registration login on same server, can so that communication, can improve the efficiency of communication like this.Wherein, each network node can select any one grid node in the grid node list of oneself.
When the first grid node needs other grid nodes that service is provided, the first grid node login grid service server, obtain grid node list, specifically refer to information such as obtaining the user ID of available grids node, the available resources of each available grids node and resource available quantity.
In the present embodiment, grid service server manages each grid node based on user ID.When same grid node is during with different IP addresses access network, as long as with identical user ID login grid service server, grid service server will be thought and be always same grid node.Based on this, grid service server can manage grid node easily, has especially solved in generally application the inconvenient problem of managing of mobile grid node.
Step 12, the first grid node be according to mission requirements, select target grid node from grid node list;
Concrete, the first grid node is according to mission requirements, and from grid node list, selecting to provide for it target gridding node of service.Wherein, can be one can be also a plurality of to target gridding node.
Step 13, the first grid node are according to the user ID of target gridding node, to target gridding node, send the negotiation packet carrying by XMPP agreement, described negotiation packet comprises the user ID of the first grid node, resource type used, stock number used and service time;
Concrete, the first grid node can obtain user ID and available resources and the resource available quantity of target gridding node when select target grid node simultaneously, and the available resources of for example obtaining target network node are CPU (Central Processing Unit; Referred to as: CPU) and internal memory, and each self-corresponding resource available quantity is respectively 10% and 15%.Now, the first grid node will be carried out the resource type of its required by task, CPU for example, stock number used, for example 10%, with the time that will use, such as 10 minutes negotiation packets such as Information generation such as grade, at this negotiation packet, comprise the user ID of target gridding node and the user ID of the first grid node; Afterwards, the first grid node sends to target gridding node by XMPP agreement by negotiation packet.
Step 14, the first grid node return according to target gridding node passes through the response message that XMPP agreement is carried, and task is encapsulated as to soap message and by XMPP agreement, soap message is sent to target gridding node.
Wherein, for example, if target gridding node is used its resource (CPU) to execute the task with purpose the first grid node, by XMPP agreement, to the first grid node, return to response message.Concrete, target gridding node, by the Information generation response message agreeing, then sends to the first grid node by XMPP agreement.When the first grid node receives the response message carrying by XMPP agreement, know that it provides resource to target gridding node with purpose, the first grid node forms soap message by task, then by XMPP agreement, soap message is sent to target gridding node.
Wherein, target gridding node is that the first grid node is executed the task by its grid service server container.After task finishes, target gridding node can return to the first grid node by XMPP agreement by the execution result of task.Wherein, target gridding node forms soap message by the execution result of task, then by XMPP agreement, carries this soap message to send to the first grid node.
The method of the acquiring resources in grid environment that the present embodiment provides, the first grid node is logined grid service server according to user ID, from grid service server, obtain grid node list, and then choose target gridding node, then according to user ID, by XMPP agreement, to target gridding node transmission negotiation packet and target gridding node, hold consultation and by XMPP agreement, the task of being encapsulated as soap message sent to target gridding node, realized the combination of SOAP and XMPP agreement under grid environment, by user ID, grid node conducted interviews and manage, the problem that cannot access the grid node that there is no independent IP address and the problem of management to mobile grid node that in prior art, exist have been solved, improved the efficiency that in grid environment, node resource obtains.
In this explanation, in above-described embodiment, the first grid node can be any grid node in network, and the first grid node, when the resource of utilizing target gridding node is carried out its task, also can be used as the target gridding node of other grid nodes, for other grid nodes provide resource.
Further, in above-described embodiment, between the first grid node and target gridding node, by XMPP agreement, carry out the process of information interaction, that is the binding procedure of SOAP and XMPP agreement can be realized by software, below the software implementing course to this process is elaborated.Wherein, because Axis engine and host-host protocol are irrelevant, and in order clearly to describe the binding procedure of SOAP and XMPP agreement, the present embodiment be take object that Axis engine is SOAP processing and is described as example, be that the Axis engine of the present embodiment is mainly for the treatment of soap message, can also for grid service server or each grid node provide the framework that creates soap message such as: when there is temporal information that task need to carry out etc. soap message the inside, Axis engine can be by processing soap message so, extract the information such as time, and give target gridding node, make target gridding node carry out mesh services according to these information.
Concrete, the XMPP transmitter of the first grid node given soap message by the Axis engine of the first grid node; XMPP transmitter is encapsulated as XMPP message by soap message, and sends to XMPP write device; XMPP write device writes XMPP message in transmit queue; Then, transmit queue is given Socket by XMPP message, by Socket by bottom host-host protocol by XMPP message transmissions to target gridding node.
The XMPP message being transmitted by Socket that target gridding node receives can be stored in it and receive in buffer area; The XMPP reader of target gridding node extracts and parses XMPP message from receive buffer area, and hands to XMPP receiver; XMPP receiver extracts the soap message in XMPP message, and hands to Axis engine, by the Axis engine of target gridding node, the request of the first grid node is processed.
Wherein, above-mentioned XMPP transmitter, XMPP write device, transmit queue, Socket, XMPP reader, XMPP receiver and Axis engine all can be realized by software, and the combination of above-mentioned each functional unit of being realized by software will form a concrete application software.
The structural representation of the device of the acquiring resources in grid environment that Fig. 2 provides for the embodiment of the present invention two.The device of the acquiring resources in grid environment of the present embodiment can be the grid node in grid environment, such as personal computer or supercomputer etc., as shown in Figure 2, the device of the present embodiment comprises: acquisition module 21, selection module 22, negotiation sending module 23 and encapsulation sending module 24.
Each functional module in the device of the present embodiment acquiring resources in grid environment can be used for carrying out the flow process of said method embodiment, and its operation principle repeats no more, and refers to the description of embodiment of the method.
The device of the acquiring resources in grid environment of the present embodiment, according to user ID login XMPP server, from XMPP server, obtain grid node list, and then choose target gridding node, then according to user ID, by XMPP agreement, to target gridding node transmission negotiation packet and target gridding node, hold consultation and by XMPP agreement, the task of being encapsulated as soap message sent to target gridding node, realized the combination of SOAP and XMPP agreement under grid environment, by user ID, grid node conducted interviews and manage, the problem that cannot access the grid node that there is no independent IP address and the problem of management to mobile grid node that in prior art, exist have been solved, improved the efficiency that in grid environment, node resource obtains.
The structural representation of the device of the acquiring resources in grid environment that Fig. 3 provides for the embodiment of the present invention three.The present embodiment is realized based on embodiment bis-, and as shown in Figure 3, the device of the present embodiment also comprises: Registering modules 31, memory module 32 and generation module 33.
Wherein, Registering modules 31, be connected with acquisition module 21 with XMPP server, for registering according to the user ID login XMPP server generating in advance, to set up the catalogue file of the device correspondence of Gains resources in present networks environment on XMPP server, and set up grid node list according to the catalogue file of the device correspondence of Gains resources in other network environments of login XMPP server, for acquisition module 21, obtain described grid node list.
Further, the device of the acquiring resources in grid environment of the present embodiment also comprises: update module 34.Update module 34, is connected with XMPP server, for upgrading available resources and the available volume of resources under the catalogue file of device correspondence of this acquiring resources in grid environment.
Above-mentioned each functional module can be used for carrying out the corresponding flow process in said method embodiment, and its operation principle repeats no more, and refers to the description of embodiment of the method.
The device of the acquiring resources in grid environment of the present embodiment, by above-mentioned each Implement of Function Module the combination of SOAP and XMPP agreement under grid environment, by user ID, grid node conducted interviews and manage, solve the problem that cannot access the grid node that there is no independent IP address and the problem of management to mobile grid node that in prior art, exist, improved the efficiency that in grid environment, node resource obtains.
Further, for example, within the functional module that the device of the acquiring resources in grid environment of the present embodiment can be used as grid node (personal computer) is arranged at grid node, and be connected with other mesh services modules of grid node, jointly to complete mesh services.Following examples of the present invention provide a kind of grid node that comprises the device of the acquiring resources in grid environment that above-described embodiment provides.
The structural representation of the grid node that Fig. 4 provides for the embodiment of the present invention four.As shown in Figure 4, the grid node of the present embodiment comprises: grid container interface module 41, resource processing module 42, resource control module 43, instant messaging module 44 and graphical module 45.The operation principle of grid node is as follows:
Resource processing module 42 is mainly used in the various resources of local grid node, and resources such as CPU, internal memory, network is published on grid service server, by grid service server, by above-mentioned Resource Supply, gives other grid nodes.In addition, when local grid node has task to carry out, resource processing module 42 also can be logined grid service server and obtain other grid nodes of executing the task required.Registering modules 31, memory module 32, generation module 33, acquisition module 21 and select module 22 to realize in the device of the acquiring resources in grid environment that wherein, the resource processing module 42 of the present embodiment can be as shown in Figure 3.Wherein, this grid node is carried out by instant messaging module 44 with mutual negotiation, required transmission of executing the task and the returning all of execution result of other grid nodes; Be in the device of the acquiring resources in grid environment that the instant messaging module 44 of the present embodiment can be as shown in Figure 3, to consult sending module 23 and encapsulation sending module 24 is realized.And resource control module 43 is mainly used in the resource of this grid node to carry out control of consumption, such as controlling the maximum of all kinds of resources that this grid node provides and using duration etc., and the information issued on grid service server of real-time update etc.; Be that in the device of the acquiring resources in grid environment that resource control module 43 in this grid node can be as shown in Figure 3, update module 34 realizes.And grid container interface module 41, for being connected with the grid container on grid node, task of being mainly used in this grid node to receive is given corresponding grid container and is carried out this task.And graphical module 45 is connected with above-mentioned each functional module, be mainly used in providing a graphic user interface so that user by this interface with and operate each functional module and complete mesh services.
Each functional module in the present embodiment grid node comprises the function of the device of above-mentioned acquiring resources in grid environment, but not corresponding realization one by one, it will be appreciated by those skilled in the art that: when actual realization, each functional module is optimized to merge and processes, to improve the realizability of grid node.
The present embodiment is no longer done detailed discussion to the concrete function of grid node, can be referring to the description of embodiment of the method.The grid node of the present embodiment carries out combination by SOAP and XMPP agreement equally under grid environment, by user ID, grid node conducted interviews and manage, solve the problem that cannot access the grid node that there is no independent IP address and the problem of management to mobile grid node that in prior art, exist, improved the efficiency that in grid environment, node resource obtains.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. a method for acquiring resources in grid environment, is characterized in that, comprising:
The first grid node can be expanded communication and presentation protocol server according to the user ID login generating in advance, obtain grid node list, described grid node list comprises the user ID of available grids node, the available resources of available grids node and resource available quantity;
Described the first grid node is according to mission requirements, select target grid node from described grid node list;
Described the first grid node is according to the user ID of described target gridding node, to described target gridding node, send by expanding the negotiation packet of communication and presentation protocol carrying, described negotiation packet comprises the user ID of described the first grid node, resource type used, stock number used and service time;
Described the first grid node returns according to described target gridding node passes through the described response message of expanding communication and presentation protocol carrying, and task is encapsulated as to simple object access protocol message and expands communication and presentation protocol sends to described target gridding node by described simple object access protocol message by described.
2. the method for acquiring resources in grid environment according to claim 1, is characterized in that, described the first grid node can be expanded communication and presentation protocol server according to the user ID login generating in advance, obtains grid node list and comprises before:
Described the first grid node is according to expanding communication described in the user ID login generating in advance and presentation protocol server is registered, to set up catalogue file corresponding to described the first grid node on communication and presentation protocol server described expansion, and set up described grid node list according to catalogue file corresponding to other grid nodes that can expand communication and presentation protocol server described in login.
3. the method for acquiring resources in grid environment according to claim 2, is characterized in that, described the first grid node also comprises according to expanding described in the user ID login generating in advance when communication and presentation protocol server are registered:
Described the first grid node is stored in described can expansion under catalogue file corresponding with described the first grid node on communication and presentation protocol server by the available resources of described the first grid node and available volume of resources.
4. according to the method for the acquiring resources in grid environment described in claim 2 or 3, it is characterized in that, described the first grid node is registered and is comprised before according to described communication and the presentation protocol server can expanded of the user ID login generating in advance:
Described the first grid node, according to the described rule of expanding communication and presentation protocol, generates the user ID of described the first grid node.
5. the method for acquiring resources in grid environment according to claim 1, is characterized in that, also comprises:
Described the first grid node upgrades available resources and the available volume of resources under the catalogue file that described the first grid node is corresponding.
6. a device for acquiring resources in grid environment, is characterized in that, comprising:
Acquisition module, for expanding communication and presentation protocol server according to the user ID login generating in advance, obtain grid node list, described grid node list comprises the user ID of available grids node, the available resources of available grids node and resource available quantity;
Select module, for according to mission requirements, select target grid node from described grid node list;
Consult sending module, be used for according to the user ID of described target gridding node, to described target gridding node, send by expanding the negotiation packet of communication and presentation protocol carrying, described negotiation packet comprises the user ID of the device of this acquiring resources in grid environment, resource type used, stock number used and service time;
Encapsulation sending module, for the described response message of expanding communication and presentation protocol carrying of passing through of returning according to described target gridding node, task is encapsulated as to simple object access protocol message and expands communication and presentation protocol sends to described target gridding node by described simple object access protocol message by described.
7. the device of acquiring resources in grid environment according to claim 6, is characterized in that, also comprises:
Registering modules, for according to expanding communication described in the user ID login generating in advance and presentation protocol server is registered, with described expand on communication and presentation protocol server, set up present networks environment in the catalogue file of device correspondence of Gains resources, and set up described grid node list according to the catalogue file that can expand the device correspondence of Gains resources in other network environments of communication and presentation protocol server described in login.
8. the device of acquiring resources in grid environment according to claim 7, is characterized in that, also comprises:
Memory module, for login is described can expand communication and presentation protocol server and register time, described in being stored in, the available resources of the device of this acquiring resources in grid environment and available volume of resources can expand under catalogue file corresponding with the device of this acquiring resources in grid environment on communication and presentation protocol server.
9. according to the device of the acquiring resources in grid environment described in claim 7 or 8, it is characterized in that, also comprise:
Generation module, for expanding described in login before communication and presentation protocol server register, according to the described rule of expanding communication and presentation protocol, generates the user ID of the device of this acquiring resources in grid environment.
10. the device of acquiring resources in grid environment according to claim 6, is characterized in that, also comprises:
Update module, for upgrading available resources and the available volume of resources under the catalogue file of device correspondence of this acquiring resources in grid environment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110080086.XA CN102143181B (en) | 2011-03-31 | 2011-03-31 | Method and device for acquiring resources in grid environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110080086.XA CN102143181B (en) | 2011-03-31 | 2011-03-31 | Method and device for acquiring resources in grid environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102143181A CN102143181A (en) | 2011-08-03 |
CN102143181B true CN102143181B (en) | 2014-03-05 |
Family
ID=44410403
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110080086.XA Active CN102143181B (en) | 2011-03-31 | 2011-03-31 | Method and device for acquiring resources in grid environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102143181B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105704069B (en) * | 2014-11-26 | 2020-02-14 | 中兴通讯股份有限公司 | Method and device for saving processing resources in network element |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101273593A (en) * | 2005-06-10 | 2008-09-24 | 湍溪系统有限责任公司 | Method, system, and data structure for providing a general request/response messaging protocol using a presence protocol |
CN101677319A (en) * | 2008-09-19 | 2010-03-24 | 华为技术有限公司 | Method, apparatus and system for service access on the basis of XMPP protocol |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1760989A1 (en) * | 2005-08-30 | 2007-03-07 | Alcatel | Web Services in a peer to peer network |
JP4548503B2 (en) * | 2008-04-01 | 2010-09-22 | ソニー株式会社 | Server apparatus, network system, data transfer method and program |
-
2011
- 2011-03-31 CN CN201110080086.XA patent/CN102143181B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101273593A (en) * | 2005-06-10 | 2008-09-24 | 湍溪系统有限责任公司 | Method, system, and data structure for providing a general request/response messaging protocol using a presence protocol |
CN101677319A (en) * | 2008-09-19 | 2010-03-24 | 华为技术有限公司 | Method, apparatus and system for service access on the basis of XMPP protocol |
Also Published As
Publication number | Publication date |
---|---|
CN102143181A (en) | 2011-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Abadía et al. | A systematic survey of Internet of Things frameworks for smart city applications | |
Khan et al. | Wireless sensor network virtualization: early architecture and research perspectives | |
Huang et al. | Web-integrated manufacturing: recent developments and emerging issues | |
Jin et al. | Secure edge computing management based on independent microservices providers for gateway-centric IoT networks | |
CN103580937A (en) | Web service simulating method and system and service agent system thereof | |
CN109451014A (en) | A kind of WebService agency plant and its transparent proxy method | |
CN114615096B (en) | Event-driven architecture-based telecommunication charging method, system and related equipment | |
Yan et al. | Researching and Designing the Architecture of E-government Based on SOA | |
Pfandzelter et al. | Managing data replication and distribution in the fog with fred | |
CN115349117B (en) | Multi-level cache grid system for multi-tenant, serverless environments | |
CN102143181B (en) | Method and device for acquiring resources in grid environment | |
Jin et al. | Integrated service composition approach based on transparent access to heterogeneous IoT networks using multiple service providers | |
Lee et al. | Itinerary-based mobile agent as a basis for distributed OSGi services | |
CN104378411A (en) | Service exchange system | |
CN104243560A (en) | WEB service system on mobile device | |
Ullah et al. | IoT resource management using direct discovery mechanism in OCF framework | |
Li | An integrated web service framework for mobile device hosted web service and its performance analysis | |
CN102065133A (en) | Method and system for constructing complex service logic by supporting Portlet cooperation | |
Kosmajac et al. | MasterBroker: REST oriented service broker | |
Magurano | Development of a scalable architecture for Industrial Internet of Things | |
Chowdhury | Service Discovery in Hybrid Environments | |
Xi et al. | Sky Computing: A Path Forward Toward the Cloud of Clouds. | |
Zhang et al. | Mobile computing architecture in next generation network | |
Widya et al. | MOBILE COMPUTING MODEL TO IMPROVE E-GOVERNMENT SERVICE IN VILLAGE LEVEL (Case Study: Sumbermulyo Village Jogoroto District Jombang Regency East Java Province) | |
Qureshi | Performance evaluation of IoT platforms in green ICT applications |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |