CN102891763B - A kind of method and apparatus obtaining CIM resource - Google Patents

A kind of method and apparatus obtaining CIM resource Download PDF

Info

Publication number
CN102891763B
CN102891763B CN201110205057.1A CN201110205057A CN102891763B CN 102891763 B CN102891763 B CN 102891763B CN 201110205057 A CN201110205057 A CN 201110205057A CN 102891763 B CN102891763 B CN 102891763B
Authority
CN
China
Prior art keywords
node
cimom
value
request message
information
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
CN201110205057.1A
Other languages
Chinese (zh)
Other versions
CN102891763A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201110205057.1A priority Critical patent/CN102891763B/en
Priority to PCT/CN2012/073543 priority patent/WO2012167660A1/en
Publication of CN102891763A publication Critical patent/CN102891763A/en
Application granted granted Critical
Publication of CN102891763B publication Critical patent/CN102891763B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of method obtaining CIM resource, the information of CIMOM in net is carried out Hash computing by any node of distributed network and generates the DHT network of CIMOM by described method, additionally provides the flow process being obtained CIM resource on CIMOM in net by DHT algorithm simultaneously.Present invention also offers the corresponding device obtaining CIM resource.Implement method and apparatus of the present invention, CIM client can obtain the CIM resource information in net on CIMOM in any node, achieves the acquisition of CIM resource under extensive, distributed multi-master machine environment.

Description

A kind of method and apparatus obtaining CIM resource
Technical field
The present invention relates to communication network, particularly relate to a kind of method and apparatus obtaining CIM resource.
Background technology
Distributed management working group (DistributedManagementTaskForce, DMTF) define a set of specification and framework to carry out standardized management application and be managed network element (ManagedElement with various, ME) interface between, existing Common Information Model (CommonInformationModel, CIM) system comprises CIM client, Common Information Model Object Manager (CIMObjectManager, CIMOM), CIM provider plug-in unit (CIMProvider) and be managed network element, wherein CIM client is the access end of CIMOM.CIM client obtains model and instance data, subscription and the reception event of each ME from CIMOM by standard interface.CIMOM is the core of whole CIM system architecture, for managing the model relevant to each ME and instance data, reception are subscribed to and forward event etc., wherein CIMOM management be respectively managed managed element model and instance data is kept in thesaurus Repository.CIM provider plug-in unit is the adaptation module between CIMOM and ME, is integrated in CIMOM in plug-in unit mode, by obtaining instance data and the event of ME alternately with ME, and reports to CIMOM.The information model being managed network element is described by MOF (ManagedObjectFormat) form of definition in CIMInfrastructure specification (DMTF specification document DSP0004, CIMInfrastructureSpecification).
Interface specification between CIM client and CIMOM comprises CIM-XML (CommonInformationModel-ExtensibleMarkupLanguage, describe in DMTF specification document DSP0200), WS-Management (WebServicesforManagement, describe in DMTF specification document DSP0226), SMCLP (ServerManagementCommandLineProtocolSpecification describes in DMTF specification document DSP0214).Therebetween DLL (dynamic link library) is mainly based on the JSR48 (JavaSpecificationRequest48, TheJavaTMAPIforWebBasedEnterpriseManagement) of CIM-XML.
The existing method for managing the common information model under multiple hosted environment manages the access of multiple CIMOM by CIM collector, long-range CIMOM is registered in the local knowledge base of CIM collector by CIM collector, after receiving the operation requests to CIM resource of CIM client transmission, inquiry local knowledge base is by the CIMOM process of local node or by long-range CIMOM process to judge, if need long-range CIMOM process, then Request routing is forwarded to long-range CIMOM, and returns to request promoter from described long-range CIMOM reception result data.But the program exists 2 deficiencies: first, adopt CIM collector as the access point of CIMOM, when CIM collector breaks down, system can be caused unavailable; Secondly, in large-scale distributed system, CIM collector is difficult to because registration waits operation the multidate information obtaining CIMOM in the whole network in time.
Summary of the invention
Technical problem to be solved by this invention is, provides a kind of method and apparatus obtaining CIM resource.
According to a first aspect of the invention, the invention provides a kind of method obtaining Common Information Model CIM resource, described method comprises:
First node receives the request message of the inquiry CIM resource that CIM client sends;
Described first node extracts the keyword content in described request message, judges that described request message is inquired about the resource of single Common Information Model Object Manager CIMOM or inquires about the resource of CIMOM of all nodes according to described keyword content,
If inquire about the resource of single CIMOM, then perform step a, if inquire about the resource of the CIMOM of all nodes, then perform step b,
A, described request message, according to the positional information of described keyword content search object CIMOM, is forwarded to object CIMOM according to the positional information found, receives the response message that described object CIMOM returns by described first node, and described response message is forwarded to described CIM client
B, described first node searches the positional information of all nodes, according to the positional information found, described request message is forwarded to the CIMOM of all nodes, the response message that the CIMOM receiving described all nodes returns, and described response message is forwarded to described CIM client.
Further, receive the request message of the inquiry CIM resource that CIM client sends at first node before, described method also comprises: described first node carries out Hash operation to described first node IP address and generates Value value; CIMOM all on described first node is found according to Service Location Protocol; Obtain universal resource identifier URI or the uniform resource position mark URL of CIMOM all on described first node, described URI or URL is carried out Hash operation and obtain Key value to generate the Key-Value information table of CIMOM; The Key-Value information table of generation is published to distributed hashtable network.
Further, described step a comprises: described first node carries out Hash operation to URI or URL in the keyword content in described request message and obtains Key value; Described first node searches corresponding Value value according to the Key-Value information table in described Key value and described distributed hashtable network; Described request message is forwarded to object CIMOM corresponding to described Value value by described first node; Described first node receives the response message that described object CIMOM returns, and the response message received is forwarded to described CIM client.
Further, described step b comprises: described first node using the Value value in the Section 1 of the Key-Value information table of first node described in distributed hashtable network as place information inquiry result; Described first node forwards the CIMOM of described request message to described place information inquiry result corresponding node; Described first node using the Value value in the Section 1 of the Key-Value information table of described place information inquiry result corresponding node self maintained as place information inquiry result, then repeat above-mentioned request message forward step, until first node receive in the Section 1 of the Key-Value information table of described place information inquiry result corresponding node self maintained Value value correspondence node be described first node; The response message that the CIMOM that described first node receives described all nodes returns, is forwarded to described CIM client by received response message.
Further, described step b comprises: described first node using the Value value in the Section 1 of the Key-Value information table of the described first node in distributed hashtable network as place information inquiry result, described first node forwards to the CIMOM of node corresponding to described place information inquiry result the request message received, and in described request message additional described first node address information, so that CIMOM forwarding from node corresponding to Value value in described Section 1 to the node of the Value value correspondence in the Section 1 of the Key-Value information table himself safeguarded described in addition of the request message of described first node address information, and so that each node of addition of the request message of described first node address information described in receiving forward to the CIMOM of node corresponding to the Value value in the Section 1 of the Key-Value information table himself safeguarded described in addition of the request message of described first node address information, until the Value value corresponding node received in the Section 1 in the above-mentioned Key-Value information table that addition of the node self maintained of the request message of first node address information is first node, the response message that the CIMOM that described first node receives described all nodes returns according to described additional described first node address information, is forwarded to described CIM client by received response message.
Further, described step b also comprises: generate new information mark with the client identifying initial request messages according to the message identifier of described request message, the address of described CIM client and port information.
Further, the CIMOM that described request message is forwarded to all nodes specifically comprises by the positional information that described basis finds: whether the new information label table inquiring about described first node according to the message identifier in described request message comprises new information mark corresponding to this message identifier; If do not comprise, then to the CIMOM Forward-reques message of described first node, and new information corresponding for described message identifier mark is stored in the new information label table of described first node; Otherwise, not to the CIMOM Forward-reques message of described first node.
According to a second aspect of the present invention, the invention provides a kind of device obtaining Common Information Model CIM resource, described device comprises:
CIMOM acts on behalf of, the request message of the inquiry CIM resource of first node is sent to for receiving CIM client, extract the keyword content in described request message, judge that described request message is inquired about the resource of single Common Information Model Object Manager CIMOM or inquires about the resource of CIMOM of all nodes according to described keyword content;
DHT acts on behalf of, for when CIMMOM agency judges that described request message is the resource of inquiring about single CIMOM, according to the positional information of described keyword content search object CIMOM; Or for when CIMMOM agency judges that described request message is the resource of inquiring about all node CIMOM, search the positional information of all nodes;
CIMOM acts on behalf of, also for the positional information according to DHT proxy lookups, described request message is forwarded to CIMOM corresponding to described positional information, receive the response message that CIMOM corresponding to described positional information returns, and the response message received is forwarded to described CIM client.
Further, described DHT agency also generates Value value for carrying out Hash operation to described first node IP address, CIMOM all on described first node is found according to Service Location Protocol, obtain universal resource identifier URI or the uniform resource position mark URL of CIMOM all on described first node, described URI or URL is carried out Hash operation and obtain Key value to generate the Key-Value information table of CIMOM, the Key-Value information table of generation is published to described distributed hashtable network.
Further, described CIMOM agency is also for realizing the issue of this node service ability, the issue of described service ability comprises: definition Service Location Protocol COS servicetype:DHT-CIMOM, according to the service ability of the form publisher node of described Service Location Protocol request/response; Or, in the template of distributed management working group definition, increase service-type=DHT-CIMOM field to indicate the service ability of node.
Further, described DHT agency specifically comprises according to the positional information of described keyword content search object CIMOM: carry out Hash operation to the URI/URL in described keyword content and obtain Key value; Corresponding Value value is searched according to the Key-Value information table in described Key value and described distributed hashtable network.
Further, described CIMOM agency also generates new information mark with the client identifying initial request messages for the address of the message identifier according to described request message, described CIM client and port information.
Further, described CIMOM agency according to DHT proxy lookups to positional information the CIMOM that described request message is forwarded to all nodes is specifically comprised: whether the new information label table inquiring about described first node according to the message identifier in described request message comprises new information mark corresponding to this message identifier; If do not comprise, then to described first node CIMOM Forward-reques message and by new information corresponding for described message identifier mark be stored in the new information label table of described first node; Otherwise, not to the CIMOM Forward-reques message of described first node.
Further, when CIMOM agency judges that described request message is the resource of the CIMOM inquiring about all nodes, described DHT agency specifically for: using the Value value in the Section 1 of the Key-Value information table of first node described in distributed hashtable network as place information inquiry result so that CIMOM agency forwarding described request message is to the CIMOM of described place information inquiry result corresponding node, again using the Value value in the Section 1 of the Key-Value information table of described place information inquiry result corresponding node self maintained as place information inquiry result in case described CIMOM agency repeat above-mentioned request message forward step, until the node that described DHT acts on behalf of the Value value received in the Section 1 of the Key-Value information table of described place information inquiry result corresponding node self maintained corresponding is described first node, or
When CIMOM agency judges that described request message is the resource of CIMOM inquire about all nodes, described DHT agency specifically for: using the Value value in the Section 1 of the Key-Value information table of first node described in distributed hashtable network as place information inquiry result so that the CIMOM CIMOM acted on behalf of to node corresponding to described place information inquiry result forwards the request message that receives and add described first node address information in described request message; So that CIMOM forwarding from node corresponding to Value value in described Section 1 to the node of the Value value correspondence in the Section 1 of the Key-Value information table himself safeguarded described in addition of the request message of described first node address information, and so that each node of addition of the request message of described first node address information described in receiving forward to the CIMOM of node corresponding to the Value value in the Section 1 of the Key-Value information table himself safeguarded described in addition of the request message of described first node address information, until the Value value corresponding node received in the Section 1 in the above-mentioned Key-Value information table that addition of the node self maintained of the request message of first node address information is first node.
Implement method and apparatus of the present invention, there is following beneficial effect: by the CIMOM of node deploy agency and DHT agency make CIM client any node can obtain net in the CIM resource information of CIMOM of single CIMOM or all nodes, achieve the acquisition of CIM resource under extensive, distributed multi-master machine environment.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 illustrates the device of acquisition CIM resource according to embodiment of the present invention and the relation schematic diagram of CIM client and CIM Object Manager.
Fig. 2 illustrates discovery and the information table issue schematic flow sheet of CIMOM on the node according to embodiment of the present invention.
Fig. 3 illustrates the method flow schematic diagram of the acquisition CIM resource according to embodiment of the present invention.
Fig. 4 illustrates the structural representation of the device of the acquisition CIM resource according to embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
See Fig. 1, illustrate the device of acquisition CIM resource according to embodiment of the present invention and the relation schematic diagram of CIM client and CIM Object Manager.CIM client can obtain the resource of CIM Object Manager CIMOM by the device obtaining CIM resource.Wherein, CIMOM runs in the device obtaining CIM resource, and a device obtaining CIM resource can run a CIMOM, also can run multiple CIMOM.In addition, the device obtaining CIM resource can be at any one node running CIMOM, and its interior joint can be a main frame or a virtual machine.And performing the CIMOM agency of the function of the acquisition CIM resource of this node, DHT agency and CIMOM agency can be undertaken by the processor of main frame.Even if the device obtaining CIM resource can be virtual machine, but this virtual machine is still for running on the virtual machine of computer processor, therefore CIMOM agency, DHT agency and CIMOM agency still run in the processor of computer.
The method of the acquisition CIM resource provided in embodiment of the present invention is by any node in distributed network is implemented.Concrete, the form that the method can be combined with hardware by the software form on node or software realizes.For convenience, the node of the request message receiving the inquiry CIM resource that CIM client sends is called first node, to distinguish with other nodes receiving the request message that first node forwards, wherein first node can be any one node in distributed network, can not be understood as restricted explanation.
In embodiment of the present invention, after first node obtaining the device startup of CIM resource, before receiving the request message of the inquiry CIM resource that CIM client sends, can also comprise by the Key-Value information table corresponding with the CIMOM found of the CIMOM on the device discovery first node of the acquisition CIM resource on first node.See Fig. 2, the discovery and the information table that illustrate CIMOM on the node according to embodiment of the present invention issue schematic flow sheet, specifically can comprise:
S200, carries out Hash operation to described first node IP address and generates Value value;
In embodiment of the present invention, the Value value that Hash operation generates the Key-Value information table of the CIMOM on this node is carried out in the IP address of first node.
S202, finds CIMOM all on described first node according to Service Location Protocol;
In embodiment of the present invention, a node may run one or more CIMOM, wherein not interrelated between each CIMOM on same node.The device that namely node obtains CIM resource can find according to Service Location Protocol (ServiceLocationProtocol, SLP) all CIMOM that same node runs.The method of multicast can be adopted to implement, particularly, need first node address to add multicast address, namely a multicast group only having first node address is safeguarded, then first node, namely obtains the device of CIM resource, sends SLP Measurement Request to the CIMOM in multicast address; The CIM resource information of himself is returned to the device of the acquisition CIM resource of first node by the CIMOM receiving SLP Measurement Request with unicast fashion.
In other some execution modes of the present invention, the mode increasing directory agent (DirectoryAgent) module on first node can be adopted to implement.Specifically, all on first node CIMOM are to the CIM resource information of the directory agent Module registers on node self.
S204, obtains URI or URL of CIMOM all on described first node, described URI or URL is carried out Hash operation and obtains Key value to generate the Key-Value information table of CIMOM;
In embodiment of the present invention, if adopt SLP to find CIMOM all on first node, first node obtains URI or URL in the CIM resource information that each CIMOM returned by unicast fashion, obtained URI or URL is carried out Hash operation and obtains Key value to generate the Key-Value information table of each CIMOM.If adopt directory agent module to implement the discovery of CIMOM, then first node obtains URI or URL of each CIMOM from the directory agent module node, obtained URI or URL is carried out the Key-Value information table that Hash operation generates Key value and then generates each CIMOM.
S206, is published to distributed hashtable network by the Key-Value information table of generation.
In embodiment of the present invention, the Key-Value information table of each CIMOM generated is published in DHT network corresponding to CIMOM according to DHT algorithm well known by persons skilled in the art by first node, the existing distributed network of DHT network that wherein said CIMOM is corresponding.The issue of described Key-Value information table refers to and is stored on multiple node by Key-Value information table dispersedly according to DHT algorithm, and each node is responsible for storage area Key-Value information table, thus realizes addressing and the storage of whole DHT network.Each node periodically runs each self-corresponding detection algorithm of described DHT algorithm to the CIMOM detected on newly added node or exit or CIMOM on failure node, thus upgrade the Key-Value information table of described each node self, wherein said DHT algorithm comprises, but be not limited to, Chord, CAN, Tapestry and Pastry algorithm.
See Fig. 3, illustrate the method flow schematic diagram of the acquisition CIM resource according to embodiment of the present invention, described method comprises step:
S400, first node receives the request message of the inquiry CIM resource that CIM client sends;
It is pointed out that first node can be any one node in distributed network, and the device obtaining CIM resource can for any one node in distributed network.Any one node in embodiment of the present invention can obtain CIM resource.After first node starts, first node just can perform the step of step 400 and follow-up acquisition CIM resource.The request message of the inquiry CIM resource that CIM client sends, namely the request message of CIM resource on the CIM resource on the single CIMOM of inquiry that initiates of CIM client or the CIMOM of all nodes, to the request message of CIM resource be inquired about referred to as request message herein, its form can adopt WMI (WindowsManagementInstrumentation, Windows management regulation) reference format, also WBEM (Web-BasedEnterpriseManagement, web-based negotiation support system) reference format etc. can be adopted.
Request message comprises message header and message body, and wherein message body comprises the keyword content of identification request resource, for identifying URI or the URL information of single CIMOM, or identifies the identifier of CIMOM of all nodes.In an embodiment of the present invention, host address can be adopted to be that AllHostPath is to identify the CIMOM of all nodes; Host address can also be adopted in addition to be the CIMOM that empty (Null) identifies all nodes.If inquire about the CIM resource on single CIMOM, then what described keyword content comprised is the URI or the URL information that identify single CIMOM; If inquire about the CIM resource on the CIMOM of all nodes, then the identifier of what described keyword content comprised the is CIMOM identifying all nodes, i.e. AllHostPath or Null.
S402, first node extracts the keyword content in described request message, judge that described request message is inquired about the resource of single CIMOM or inquires about the resource of CIMOM of all nodes according to described keyword content, if inquire about the resource of single CIMOM, then perform step S404, if inquire about the resource of all node CIMOM, then perform step S406;
In embodiment of the present invention, the device of the acquisition CIM resource of first node extracts the keyword content of message body in request message, and judge that request message inquires about the resource of single CIMOM or inquires about the resource of CIMOM of all nodes according to described keyword content, if what described keyword content comprised is the URI or the URL information that identify single CIMOM, then be judged as the resource of inquiring about single CIMOM, perform step S404; If the identifier of what described keyword content comprised the is CIMOM identifying all nodes, be then judged as the resource of the CIMOM inquiring about all nodes, perform step S406.
S404, first node is according to the positional information of described keyword content search object CIMOM, according to the positional information found, described request message is forwarded to object CIMOM, receives the response message that described object CIMOM returns, and described response message is forwarded to described CIM client;
In embodiment of the present invention, the step S404 that first node performs specifically can comprise:
Hash operation is carried out to URI or URL in described keyword content and obtains Key value;
Corresponding Value value is searched according to the Key-Value information table in described Key value and described DHT network;
Described request message is forwarded to the object CIMOM that described Value value is corresponding;
Receive the response message of described object CIMOM, the response message received is forwarded to described CIM client;
Searching in the process of Value value according to the Key-Value information table in Key value and DHT network, distributed hashtable lookup algorithm well known to those skilled in the art can be adopted to improve search efficiency, be not limited to the DHT lookup algorithm mentioned in embodiment of the present invention.In embodiment of the present invention, the positional information of what the Value value that finds was corresponding the is object CIMOM place node of requesting query in request message, and known by the generative process of Value value, the IP address of place node can be determined by Value value.After request message being forwarded to object CIMOM corresponding to Value value, receive the response message to request message that this object CIMOM returns, then the response message received is forwarded to described CIM client, the i.e. CIM client of initial request messages, wherein said response message comprises the CIM resource information of requesting query in request message.
S406, first node searches the positional information of all nodes, according to the positional information found, described request message is forwarded to the CIMOM of all nodes, the response message that the CIMOM receiving described all nodes returns, and described response message is forwarded to described CIM client.
In embodiments of the present invention, if the keyword content of request message comprises is identifier AllHostPath or Null of the CIMOM identifying all nodes, then request message requests inquiry be all nodes CIMOM on CIM resource.
Searching the positional information of all nodes and according to the positional information found, request message be forwarded in the CIMOM execution mode of all nodes, described from the issue flow process of above-mentioned Key-Value information table, Key-Value information table due to different node may comprise the Key-Value information table of same CIMOM, some CIMOM will be caused to receive same request message for many times for avoiding CIMOM Forward-reques message corresponding in the Key-Value information table of all nodes, utilize again the usual unduplicated characteristic of Section 1 Value value in each node Key-Value information table, the present invention is by only avoiding the problems referred to above to the CIMOM Forward-reques message of the Value value corresponding node in the Section 1 of node Key-Value information table.Two kinds of embodiments are provided in embodiment of the present invention.The first embodiment can adopt following steps to process:
Using the Value value in the Section 1 of the Key-Value information table of first node in DHT network as place information inquiry result;
Forward the CIMOM of described request message to described place information inquiry result corresponding node;
Using the Value value in the Section 1 of the Key-Value information table of described place information inquiry result corresponding node self maintained as place information inquiry result, then repeat above-mentioned request message and forward step, until the node of the Value value correspondence of asking first node to receive in the Section 1 of the Key-Value information table of described place information inquiry result corresponding node self maintained is described first node;
Receive the response message of the CIMOM passback of described all nodes, received response message is forwarded to described CIM client.
Particularly, the first node receiving request message (for convenience of describing, referred to as " N1 " node, herein only for convenience of describing, and can adopt any other symbol to represent, should not be understood as restricted explanation.) using the place information inquiry result of the Value value in the Section 1 of the Key-Value information table (this Key-Value information table can comprise the Key-Value information of the CIMOM of more than CIMOM or node of a node) of N1 node as the object CIMOM of request message, then to the place information inquiry result corresponding node (next node namely in N1 node Key-Value information table, referred to as " N2 " node) CIMOM Forward-reques message, that is: N1-> N2, and obtain the place information inquiry result that N2 returns, Value value in the Section 1 of the i.e. Key-Value information table of N2 node self maintained.Then first node is using the place information inquiry result of the Value value in the Section 1 of the Key-Value information table of N2 node self maintained as the object CIMOM of request message, to the CIMOM Forward-reques message of the Value value corresponding node (referred to as " N3 " node) in the Section 1 in N2 node Key-Value information table, that is: N1-> N3.Continuation like this, first node constantly using the Value value in the Section 1 in the Key-Value information table receiving the node of request message as place information inquiry result, until the Value value corresponding node received in the Section 1 in the Key-Value information table of the node of request message is the start node N1 receiving CIM client request message.It should be noted that, in request message repeating process, after knowing positional information Value value, those skilled in the art can adopt known technological means request message to be forwarded to CIMOM in Value value corresponding node.The device of the acquisition CIM resource of first node receives the response message that each CIMOM of having received request message returns, then the response message received is forwarded to the CIM client of the request of initiation, wherein said response message comprises the CIM resource information of request message requests inquiry.It should be noted that, obtain the device of CIM resource in the process of the CIM client response message received being forwarded to the request of initiation, after receiving the response message that CIMOM returns, just this response message returned can be forwarded to the CIM client of the request of initiation, also after receiving all response messages that all CIMOM on same node (node can comprise more than one CIMOM) return, the response message of CIMOM all on same node can be packaged as the CIM client that a response message is forwarded to the request of initiation.
The concrete steps of the second embodiment can comprise:
First node using the Value value in the Section 1 of the Key-Value information table of first node in distributed hashtable network as place information inquiry result;
First node forwards to the CIMOM of described place information inquiry result corresponding node the request message received, and in described request message additional first node address information;
Value value corresponding node in described Section 1 addition of the request message of first node address information described in forwarding to the CIMOM of the Value value corresponding node in the Section 1 of the Key-Value information table himself safeguarded;
The request message of first node address information is addition of, until the Value value corresponding node received in the Section 1 in the above-mentioned Key-Value information table that addition of the node self maintained of the request message of first node address information is first node described in each node that addition of the request message of first node address information described in receiving forwards to the CIMOM of the Value value corresponding node in the Section 1 of the Key-Value information table himself safeguarded;
The response message that the CIMOM that first node receives described all nodes returns according to described additional first node address information, is forwarded to described CIM client by received response message.
Specifically, can to first node in DHT network (for convenience of describing, referred to as " K1 " node) Key-Value information table Section 1 in Value value (wherein, Value value in the Section 1 of the Key-Value information table of first node is place information inquiry result) CIMOM of corresponding node (referred to as " K2 " node) forwards the request message that addition of K1 node address information, that is: K1-> K2, then the device of the acquisition CIM resource of K2 node forwards the request message that addition of K1 node address information to the Value value corresponding node (referred to as " K3 " node) in the Section 1 of the Key-Value information table of K2 node self maintained, that is: K2-> K3, the request message of K1 node address information is addition of described in the device that addition of the acquisition CIM resource on each node of the request message of K1 node address information described in receiving forwards to the CIMOM of the Value value corresponding node in the Section 1 of the Key-Value information table himself safeguarded, until the Value value corresponding node received in the Section 1 in the Key-Value information table of the node of the above-mentioned K1 of addition of node address information is K1 node.Response message can be back to the device of the acquisition CIM resource of first node by each CIMOM having received request message according to node address information additional in request message, the response message that the device of the acquisition CIM resource of first node is receiving each CIMOM and returns, after receiving response message, just received response message can be forwarded to the CIM client of the request of initiation, also described all response messages can be packaged as the CIM client that a response message is forwarded to the request of initiation after all response messages receiving all CIMOM on same node (same node can comprise more than one CIMOM).
In embodiment of the present invention, except can adopting above-mentioned two kinds of embodiments, the mode generating new node mark can also be adopted to avoid some CIMOM to receive same request message for many times in the process of the CIMOM Forward-reques message of Value value corresponding node all in the Key-Value information table of all nodes.
In embodiment of the present invention, may have the Key-Value information table of same CIMOM in the Key-Value information table of different node, in other words, the Key-Value information table of same CIMOM can be kept in the Key-Value information table of multiple node.In the process of CIMOM Forward-reques message corresponding in the Key-Value information table of all nodes, can be kept in the Key-Value information table of multiple node due to the Key-Value information of same CIMOM the request message making same CIMOM receive described multiple node for many times to forward separately.
Occur for avoiding above-mentioned situation, first node is by generating new information mark NewMessageID to identify the client of initial request messages according to the address of the message identifier MessageID of described request message, the CIM client of initial request messages and port information, then MessageID and NewMessageID is kept at MessageID and the NewMessageID correspondence table of first node, i.e. new information label table, MessageID and NewMessageID one_to_one corresponding in table, and the message identifier in request message is replaced with NewMessageID.Request message is being forwarded in the process of the CIMOM of all nodes, whether the new information label table inquiring about described first node according to the message identifier in request message comprises new information mark corresponding to this message identifier, if do not comprise, then to the CIMOM Forward-reques message of described first node, and new information corresponding for described message identifier mark is saved to the new information label table of described first node, otherwise, not to the CIMOM Forward-reques message of described first node.After whether first node completes to the judgement process of the CIMOM Forward-reques message on first node, to the corresponding CIMOM Forward-reques message of the Key-Value information table of first node.
It is pointed out that the generation that above-mentioned new information identifies and judgement are applicable to all nodes, be not limited to the first node receiving CIM client request message, also can be other nodes receiving the request message that first node forwards.Adopt the mode of above-mentioned new information mark for marking CIM client request message is forwarded to all nodes information table all Value value corresponding node CIMOM process in, response message can return according to described additional first node address information by the CIMOM that the mode of the first node address information of additional receptive CIM client request message in described request message can be adopted to make to receive each node of request message.When the message identifier that receives is the response message of NewMessageID by the device of the acquisition CIM resource of first node, the message identifier in response message is replaced with MessageID and is forwarded to the CIM client of initial request messages.
In embodiment of the present invention, new information mark NewMessageID can be generated, to identify the client of initial request messages according to the address of the CIM client of the message identifier MessageID in the message body of described request message, initial request messages and port information.Concrete, Hash computing can be carried out by the address of the CIM client of the message identifier MessageID in the message body to described request message, initial request messages and port information and generate new information mark NewMessageID to identify the client of initial request messages.In an embodiment of the present invention, message identifier in request message is MessageID=" 87872 ", NewMessageID=Hash (" 87872+10.138.73.32+5900 ")=5986324501 can be passed through and generate NewMessageID, wherein 10.138.73.32 is the address information of client, and 5900 is port information.
Below by reference to the accompanying drawings the method for acquisition CIM resource of the present invention is set forth, be described below in conjunction with the device of accompanying drawing to acquisition CIM resource of the present invention.
See Fig. 4, illustrate the structural representation of the device of the acquisition CIM resource according to embodiment of the present invention, the device 400 obtaining CIM resource for running the first node of CIMOM, specifically can be able to comprise:
CIMOM agency 502, the request message of the inquiry CIM resource of first node is sent to for receiving CIM client, extract the keyword content in described request message, judge that described request message is inquired about the resource of single Common Information Model Object Manager CIMOM or inquires about the resource of CIMOM of all nodes according to described keyword content;
DHT agency 504, for when CIMMOM agency judges that described request message is the resource of inquiring about single CIMOM, according to the positional information of described keyword content search object CIMOM; Or for when CIMMOM agency judges that described request message is the resource of inquiring about all node CIMOM, search the positional information of all nodes;
CIMOM agency 502, also for the positional information according to DHT proxy lookups, described request message is forwarded to CIMOM corresponding to described positional information, receive the response message that CIMOM corresponding to described positional information returns, and the response message received is forwarded to described CIM client.
In embodiments of the present invention, CIMOM agency (CIMOMAgent) receives the request message of the inquiry CIM resource that CIM client sends, request message is resolved to the keyword content extracted in message body, and judge that request message inquires about CIM resource on single CIMOM or the CIM resource of inquiring about on the CIMOM of all nodes according to the keyword content extracted.Wherein said keyword content comprises URI or URL or identifies the identifier of all CIMOM, and in embodiments of the present invention, the identifier of all CIMOM of described mark is AllHostPath or Null.If keyword content is URI or URL information, then this request message is the CIM resource on the single CIMOM of inquiry, if keyword content is AllHostPath or Null, then this request message is the CIM resource on all CIMOM of inquiry.
DHT agency provided by the invention not only may be used for realizing above-mentioned locating function, can also issue, specifically can comprise for the discovery and information table realizing CIMOM on node:
Hash computing is carried out to first node IP address and generates Value value;
CIMOM all on described first node is found according to Service Location Protocol request;
Obtain URI or URL of CIMOM all on described first node, described URI or URL is carried out Hash computing and obtain Key value to generate the Key-Value information table of CIMOM;
The Key-Value information table of generation is published to DHT network.
In embodiment of the present invention, DHT network refers to that URI or URL of CIMOM being carried out IP address that Hash operation generates Key value and CIMOM place node carries out Hash operation and generate Value composition Key-Value information table and the network that forms.
In embodiment of the present invention, a node may run multiple CIMOM.A node may run one or more CIMOM, wherein not interrelated between each CIMOM on same node.The device that namely node obtains CIM resource can find according to Service Location Protocol all CIMOM that same node runs.The method of multicast can be adopted to implement, particularly, need first node address to add multicast address, namely a multicast group only having first node address is safeguarded, then first node, namely obtains the device of CIM resource, sends SLP Measurement Request to the CIMOM in multicast address, the CIM resource information of himself is returned to the DHT agency of first node by the CIMOM receiving SLP Measurement Request with unicast fashion, DHT agency obtains URI or URL of each CIMOM, described URI or URL is carried out Hash computing and obtains Key value, and then generate Key-Value information table corresponding to CIMOM, then the Key-Value information table of generation is published to DHT network according to DHT algorithm, described issue refers to and will be stored on multiple node dispersedly according to DHT algorithm by the CIM resource information on Key value uniquely identified CIMOM, each node is responsible for storing sub-fraction Key-Value information table, thus realize addressing and the storage of whole DHT network, DHT agency on each node periodically run each self-corresponding detection algorithm of described DHT algorithm to the CIMOM detected on newly added node or exit/failure node on CIMOM, thus upgrade the Key-Value information table of described each node self, wherein said DHT algorithm comprises, but be not limited to, Chord, CAN, Tapestry and Pastry algorithm.
In embodiments of the present invention, the discovery of all CIMOM resource informations that same node runs is except can except above-mentioned multicast form implements, adopting the mode increasing directory agent module on node to implement.Specifically, all CIMOM that first node runs are to the CIM resource information of directory agent Module registers self, then DHT agency extracts the resource information of CIMOM registration from directory agent module, URI or URL of CIMOM is obtained from the resource information extracted, URI or URL of acquisition is carried out Hash computing and obtains Key value, and then generate the Key-Value information table of CIMOM, then the Key-Value information table of generation is published to DHT network.It should be noted that, although be described for first node in execution mode, all nodes can adopt aforesaid way to find all CIMOM that node runs.
In embodiment of the present invention, if inquire about the CIM resource on single CIMOM, then DHT agency searches the positional information of object CIMOM according to URI or URL in key words content, particularly, comprising: carry out Hash computing to URI or URL in described keyword content and obtain Key value; Search corresponding Value value according to the Key-Value information table in described Key value and DHT network, wherein Value value is the positional information of the object CIMOM of requesting query in request message.After DHT agents query to the positional information of object CIMOM, request message is forwarded to object CIMOM corresponding to Value value by CIMOM agency, receive the response message that object CIMOM returns, and the response message received is forwarded to the CIM client of initial request messages.
If inquire about the resource of all node CIMOM, the positional information of all nodes in DHT proxy lookups DHT network, CIMOM agency is by the positional information Forward-reques message according to DHT proxy lookups, receive the response message returned, and the response message received is forwarded to the CIM client of the request of initiation.
Searching the positional information of all nodes and according to the positional information found, request message be forwarded in the CIMOM execution mode of all nodes, described from the issue flow process of above-mentioned Key-Value information table, Key-Value information table due to different node may comprise the Key-Value information table of same CIMOM, some CIMOM will be caused to receive same request message for many times for avoiding CIMOM Forward-reques message corresponding in the Key-Value information table of all nodes, utilize again the usual unduplicated characteristic of Section 1 Value value in each node Key-Value information table, the present invention is by only avoiding the problems referred to above to the CIMOM Forward-reques message of the Value value corresponding node in the Section 1 of node Key-Value information table.Two kinds of embodiments are provided in embodiment of the present invention.
The first embodiment can comprise step: the DHT of first node acts on behalf of the Value value in the Section 1 of the Key-Value information table of first node described in distributed hashtable network as place information inquiry result so that the CIMOM agency of first node forwards the CIMOM of described request message to described place information inquiry result corresponding node, the DHT agency of first node again using the Value value in the Section 1 of the Key-Value information table of described place information inquiry result corresponding node self maintained as place information inquiry result so that the CIMOM agency of first node repeats above-mentioned request message forward step (namely forwarding described request message is to the forwarding step of the CIMOM of described place information inquiry result corresponding node), until the node that the DHT of first node acts on behalf of the Value value received in the Section 1 of the Key-Value information table of described place information inquiry result corresponding node self maintained corresponding is described first node.
Second embodiment can comprise step: the DHT of first node agency using the Value value in the Section 1 of the Key-Value information table of first node described in distributed hashtable network as place information inquiry result so that the CIMOM agency of first node forwards to the CIMOM of node corresponding to described place information inquiry result the request message that receives and add described first node address information in described request message; So that CIMOM forwarding from node corresponding to Value value in described Section 1 to the node of the Value value correspondence in the Section 1 of the Key-Value information table himself safeguarded described in addition of the request message of described first node address information, and so that each node of addition of the request message of described first node address information described in receiving forward to the CIMOM of node corresponding to the Value value in the Section 1 of the Key-Value information table himself safeguarded described in addition of the request message of described first node address information, until the Value value corresponding node received in the Section 1 in the above-mentioned Key-Value information table that addition of the node self maintained of the request message of first node address information is first node.
It should be noted that, although the description of the first embodiment above-mentioned and the second embodiment is for first node, this searches the DHT agency and CIMOM agency that can be applicable to any node in distributed network with repeating process.
In embodiment of the present invention, CIMOM agency can also be used for message identifier according to described request message, the address of CIM client of initial request messages and port information and generate new information mark with the client identifying initial request messages.By this function, when adopting the CIMOM Forward-reques message of all Value value corresponding node in the Key-Value information table of all nodes in the process of the CIMOM Forward-reques message to all nodes, the CIMOM of some node can be avoided to receive same request message for many times.
In embodiment of the present invention, CIMOM agency carries out Hash computing by the address of the CIM client of the message identifier MessageID in the message body to described request message, initial request messages and port information and generates new information mark NewMessageID to identify the client of initial request messages.In an embodiment of the present invention, message identifier in request message is MessageID=" 87872 ", NewMessageID=Hash (" 87872+10.138.73.32+5900 ")=5986324501 can be passed through and generate NewMessageID, wherein 10.138.73.32 is the address information of client, and 5900 is port information.MessageID and NewMessageID can be saved to the correspondence table of MessageID and NewMessageID on first node, i.e. new information label table, MessageID and NewMessageID one_to_one corresponding in table, and the message identifier in request message is replaced with NewMessageID.First node CIMOM agency according to the DHT proxy lookups of first node to positional information request message is forwarded in the process of the CIMOM of all nodes, whether the new information label table inquiring about described first node according to the message identifier in request message comprises new information mark corresponding to this message identifier, if do not comprise, then to the CIMOM Forward-reques message of described first node, and new information corresponding for described message identifier mark is saved to the new information label table of described first node, otherwise, not to the CIMOM Forward-reques message of described first node, after whether completing to the judgement process of the CIMOM Forward-reques message of first node, to all Value value corresponding node Forward-reques message of the Key-Value information table of first node.It is pointed out that the generation that above-mentioned new information identifies and judgement are applicable to all nodes, be not limited to the first node receiving CIM client request message, also can be other nodes receiving the request message that first node forwards.Adopt the mode of above-mentioned new information mark for marking CIM client request message is forwarded to all nodes information table all Value value corresponding node CIMOM process in, response message can be back to the CIMOM agency of first node by the CIMOM that the additional mode directly receiving the first node address information of CIM client request message in described request message can be adopted to make to receive each node of request message according to described additional first node address information, when the message identifier that receives is the response message of NewMessageID by CIMOM agency, message identifier in response message is replaced with MessageID and is forwarded to the CIM client of initial request messages.
In embodiments of the present invention, in order to make the service ability of CIM client terminal to discover node, CIMOM agency can adopt and carry out service ability issue in two ways, and attribute field is issued in the CIMOM service being respectively definition SLP COS and expansion DMTF template.Specifically, comprising: definition Service Location Protocol COS servicetype:DHT-CIMOM, according to the service ability of the form publisher node of described Service Location Protocol request/response; Or, in the template of DMTF definition, increase service-type=DHT-CIMOM field to indicate the service ability of node.
Implement the method and apparatus of acquisition CIM resource of the present invention, by any node of distributed network, according to DHT algorithm, flexible management is carried out to CIMOM in net, can also make can to obtain in distributed network single CIMOM or CIM resource on all CIMOM from the CIM client of any node access simultaneously, achieve the acquisition of CIM resource under extensive, distributed multi-master machine environment.
In addition, the device (i.e. node) of the acquisition CIM resource in the above embodiment of the present invention originally can be the network equipment in network, also can be the equipment such as computer.Each agency (as CIMOM agency, DHT acts on behalf of) of the above embodiment of the present invention can for running on the functional module in the processor of the said equipment, and the present invention does not limit at this.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
The above is the preferred embodiment of the present invention, it should be pointed out that for those of ordinary skills, under the premise without departing from the principles of the invention, can also make some improvement and change, and these improve and change is also considered as protection scope of the present invention.

Claims (14)

1. obtain a method for Common Information Model CIM resource, it is characterized in that, described method comprises:
First node receives the request message of the inquiry CIM resource that CIM client sends;
Described first node extracts the keyword content in described request message, judges that described request message is inquired about the resource of single Common Information Model Object Manager CIMOM or inquires about the resource of CIMOM of all nodes according to described keyword content,
If inquire about the resource of single CIMOM, then perform step a, if inquire about the resource of the CIMOM of all nodes, then perform step b,
A, described request message, according to the positional information of described keyword content search object CIMOM, is forwarded to object CIMOM according to the positional information found, receives the response message that described object CIMOM returns by described first node, and described response message is forwarded to described CIM client
B, described first node searches the positional information of all nodes, according to the positional information found, described request message is forwarded to the CIMOM of all nodes, the response message that the CIMOM receiving described all nodes returns, and described response message is forwarded to described CIM client.
2. the method for claim 1, is characterized in that, receive the request message of the inquiry CIM resource that CIM client sends at first node before, described method also comprises:
Described first node carries out Hash operation to described first node IP address and generates Value value;
CIMOM all on described first node is found according to Service Location Protocol;
Obtain universal resource identifier URI or the uniform resource position mark URL of CIMOM all on described first node, described URI or URL is carried out Hash operation and obtain Key value to generate the Key-Value information table of CIMOM;
The Key-Value information table of generation is published to DHT distributed hashtable network.
3. method as claimed in claim 2, it is characterized in that, described step a comprises:
Described first node carries out Hash operation to URI or URL in the keyword content in described request message and obtains Key value;
Described first node searches corresponding Value value according to the Key-Value information table in described Key value and described distributed hashtable network;
Described request message is forwarded to object CIMOM corresponding to described Value value by described first node;
Described first node receives the response message that described object CIMOM returns, and the response message received is forwarded to described CIM client.
4. method as claimed in claim 2, it is characterized in that, described step b comprises:
Described first node using the Value value in the Section 1 of the Key-Value information table of first node described in distributed hashtable network as place information inquiry result;
Described first node forwards the CIMOM of described request message to described place information inquiry result corresponding node;
Described first node using the Value value in the Section 1 of the Key-Value information table of described place information inquiry result corresponding node self maintained as place information inquiry result, then repeat above-mentioned request message forward step, until first node receive in the Section 1 of the Key-Value information table of described place information inquiry result corresponding node self maintained Value value correspondence node be described first node;
The response message that the CIMOM that described first node receives described all nodes returns, is forwarded to described CIM client by received response message.
5. method as claimed in claim 2, it is characterized in that, described step b comprises:
Described first node using the Value value in the Section 1 of the Key-Value information table of the described first node in distributed hashtable network as place information inquiry result;
Described first node forwards to the CIMOM of node corresponding to described place information inquiry result the request message received, and in described request message additional described first node address information, so that CIMOM forwarding from node corresponding to Value value in described Section 1 to the node of the Value value correspondence in the Section 1 of the Key-Value information table himself safeguarded described in addition of the request message of described first node address information, and so that each node of addition of the request message of described first node address information described in receiving forward to the CIMOM of node corresponding to the Value value in the Section 1 of the Key-Value information table himself safeguarded described in addition of the request message of described first node address information, until the Value value corresponding node received in the Section 1 in the above-mentioned Key-Value information table that addition of the node self maintained of the request message of first node address information is first node,
The response message that the CIMOM that described first node receives described all nodes returns according to described additional described first node address information, is forwarded to described CIM client by received response message.
6. method as claimed in claim 2, it is characterized in that, described step b also comprises:
New information mark is generated with the client identifying initial request messages according to the message identifier of described request message, the address of described CIM client and port information.
7. method as claimed in claim 6, it is characterized in that, the CIMOM that described request message is forwarded to all nodes specifically comprises by the positional information that described basis finds:
Whether the new information label table inquiring about described first node according to the message identifier in described request message comprises new information mark corresponding to this message identifier,
If do not comprise, then to the CIMOM Forward-reques message of described first node, and new information corresponding for described message identifier mark is stored in the new information label table of described first node,
Otherwise, not to the CIMOM Forward-reques message of described first node.
8. obtain a device for Common Information Model CIM resource, it is characterized in that, described device comprises:
CIMOM acts on behalf of, the request message of the inquiry CIM resource of first node is sent to for receiving CIM client, extract the keyword content in described request message, judge that described request message is inquired about the resource of single Common Information Model Object Manager CIMOM or inquires about the resource of CIMOM of all nodes according to described keyword content;
DHT distributed hashtable is acted on behalf of, for when CIMMOM agency judges that described request message is the resource of inquiring about single CIMOM, according to the positional information of described keyword content search object CIMOM; Or for when CIMMOM agency judges that described request message is the resource of inquiring about all node CIMOM, search the positional information of all nodes;
CIMOM acts on behalf of, also for the positional information according to DHT proxy lookups, described request message is forwarded to CIMOM corresponding to described positional information, receive the response message that CIMOM corresponding to described positional information returns, and the response message received is forwarded to described CIM client.
9. device as claimed in claim 8, it is characterized in that, described DHT agency also generates Value value for carrying out Hash operation to described first node IP address, CIMOM all on described first node is found according to Service Location Protocol, obtain universal resource identifier URI or the uniform resource position mark URL of CIMOM all on described first node, described URI or URL is carried out Hash operation and obtain Key value to generate the Key-Value information table of CIMOM, the Key-Value information table of generation is published to distributed hashtable network.
10. device as claimed in claim 9, is characterized in that, described CIMOM agency is also for realizing the issue of this node service ability, and the issue of described service ability comprises:
Definition Service Location Protocol COS servicetype:DHT-CIMOM, according to the service ability of the form publisher node of described Service Location Protocol request/response; Or, in the template of distributed management working group definition, increase service-type=DHT-CIMOM field to indicate the service ability of node.
11. devices as claimed in claim 9, is characterized in that, described DHT agency specifically comprises according to the positional information of described keyword content search object CIMOM:
Hash operation is carried out to the URI/URL in described keyword content and obtains Key value;
Corresponding Value value is searched according to the Key-Value information table in described Key value and described distributed hashtable network.
12. devices as claimed in claim 9, is characterized in that, described CIMOM agency also generates new information mark with the client identifying initial request messages for the address of the message identifier according to described request message, described CIM client and port information.
13. devices as claimed in claim 12, is characterized in that, described CIMOM agency according to DHT proxy lookups to positional information the CIMOM that described request message is forwarded to all nodes is specifically comprised:
Whether the new information label table inquiring about described first node according to the message identifier in described request message comprises new information mark corresponding to this message identifier,
If do not comprise, then to the CIMOM Forward-reques message of described first node, and new information corresponding for described message identifier mark is stored in the new information label table of described first node,
Otherwise, not to the CIMOM Forward-reques message of described first node.
14. devices as claimed in claim 9, is characterized in that,
When CIMOM agency judges that described request message is the resource of the CIMOM inquiring about all nodes, described DHT agency specifically for: using the Value value in the Section 1 of the Key-Value information table of first node described in distributed hashtable network as place information inquiry result so that CIMOM agency forwarding described request message is to the CIMOM of described place information inquiry result corresponding node, again using the Value value in the Section 1 of the Key-Value information table of described place information inquiry result corresponding node self maintained as place information inquiry result in case described CIMOM agency repeat above-mentioned request message forward step, until the node that described DHT acts on behalf of the Value value received in the Section 1 of the Key-Value information table of described place information inquiry result corresponding node self maintained corresponding is described first node, or
When CIMOM agency judges that described request message is the resource of CIMOM inquire about all nodes, described DHT agency specifically for: using the Value value in the Section 1 of the Key-Value information table of first node described in distributed hashtable network as place information inquiry result so that the CIMOM CIMOM acted on behalf of to node corresponding to described place information inquiry result forwards the request message that receives and add described first node address information in described request message; So that CIMOM forwarding from node corresponding to Value value in described Section 1 to the node of the Value value correspondence in the Section 1 of the Key-Value information table himself safeguarded described in addition of the request message of described first node address information, and so that each node of addition of the request message of described first node address information described in receiving forward to the CIMOM of node corresponding to the Value value in the Section 1 of the Key-Value information table himself safeguarded described in addition of the request message of described first node address information, until the Value value corresponding node received in the Section 1 in the above-mentioned Key-Value information table that addition of the node self maintained of the request message of first node address information is first node.
CN201110205057.1A 2011-07-21 2011-07-21 A kind of method and apparatus obtaining CIM resource Active CN102891763B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110205057.1A CN102891763B (en) 2011-07-21 2011-07-21 A kind of method and apparatus obtaining CIM resource
PCT/CN2012/073543 WO2012167660A1 (en) 2011-07-21 2012-04-05 Method and apparatus for obtaining cim resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110205057.1A CN102891763B (en) 2011-07-21 2011-07-21 A kind of method and apparatus obtaining CIM resource

Publications (2)

Publication Number Publication Date
CN102891763A CN102891763A (en) 2013-01-23
CN102891763B true CN102891763B (en) 2016-03-09

Family

ID=47295456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110205057.1A Active CN102891763B (en) 2011-07-21 2011-07-21 A kind of method and apparatus obtaining CIM resource

Country Status (2)

Country Link
CN (1) CN102891763B (en)
WO (1) WO2012167660A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239428A (en) * 2014-08-26 2014-12-24 国家电网公司 IEC61970 (international electrotechnical commission 61970) CIM (common information model) data query access method
CN110022222B (en) * 2018-01-10 2022-02-25 中兴通讯股份有限公司 Management method, network node, management node and system of DHT network
CN109446103A (en) * 2018-11-14 2019-03-08 郑州云海信息技术有限公司 A kind of CIM Provider test method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1523817A (en) * 2003-02-20 2004-08-25 �Ҵ���˾ Method and system for managing devices in a network
CN1921413A (en) * 2005-08-25 2007-02-28 国际商业机器公司 Method and system for unified support of multiple system management information models in a multiple host environment
CN101917452A (en) * 2008-09-29 2010-12-15 英特尔公司 Platform discovery in a pre-boot environment using web services
CN101989923A (en) * 2009-07-31 2011-03-23 国际商业机器公司 Method and system for registering computer integrated manufacturing (CIM) agency to management agency and management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1523817A (en) * 2003-02-20 2004-08-25 �Ҵ���˾ Method and system for managing devices in a network
CN1921413A (en) * 2005-08-25 2007-02-28 国际商业机器公司 Method and system for unified support of multiple system management information models in a multiple host environment
CN101917452A (en) * 2008-09-29 2010-12-15 英特尔公司 Platform discovery in a pre-boot environment using web services
CN101989923A (en) * 2009-07-31 2011-03-23 国际商业机器公司 Method and system for registering computer integrated manufacturing (CIM) agency to management agency and management system

Also Published As

Publication number Publication date
WO2012167660A1 (en) 2012-12-13
CN102891763A (en) 2013-01-23

Similar Documents

Publication Publication Date Title
US7962605B2 (en) Distributed device discovery framework for a network
CN103051740B (en) Domain name analytic method, dns server and domain name analysis system
CN109474936B (en) Internet of things communication method and system applied among multiple lora gateways
CN110138606B (en) Container network configuration method and system
RU2483455C2 (en) Methods and apparatus for detecting peer-to-peer overlay networks
US20020095488A1 (en) System and method for discovering, advertising, and finding networked services using dynamic directory
WO2009111965A1 (en) Method, device and system of data synchronization
KR20190002674A (en) Resource subscription method, resource subscription device, and resource subscription system
US9021013B2 (en) Ubiquitous web service gateway and method
CN103618801A (en) Method, device and system for sharing P2P (Peer-to-Peer) resources
CN113556413B (en) Message processing method and device
US7523170B1 (en) Service locator technique implemented in a data network
CN112637332A (en) Service registration discovery method and system
EP3937502A1 (en) Method, apparatus and device for pushing video stream, and storage medium
CN103503413B (en) Method and device for transmitting network information
CN102891763B (en) A kind of method and apparatus obtaining CIM resource
KR20110063328A (en) Remote procedure call(rpc) bind service with physical interface query and selection
CN103581353A (en) Method and system of automatic configuration of gateway device
CN105681249A (en) Network access method and network conversion equipment
CN111600929B (en) Transmission line detection method, routing strategy generation method and proxy server
US20050125550A1 (en) Location information via DHCP
JP3609948B2 (en) Multiprotocol network management method, multiprotocol network management proxy server system, multiprotocol address management server system, and multiprotocol network management system
Wang et al. Peer-Serv: A framework of Web services in peer-to-peer environment
CN115225606A (en) Domain name access method and system of cross-network protocol of container cloud platform
US7860099B2 (en) Method for managing and setting many network devices

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