CN102891763A - Method and device for acquiring CIM (Common Information Model) resource - Google Patents

Method and device for acquiring CIM (Common Information Model) resource Download PDF

Info

Publication number
CN102891763A
CN102891763A CN2011102050571A CN201110205057A CN102891763A CN 102891763 A CN102891763 A CN 102891763A CN 2011102050571 A CN2011102050571 A CN 2011102050571A CN 201110205057 A CN201110205057 A CN 201110205057A CN 102891763 A CN102891763 A CN 102891763A
Authority
CN
China
Prior art keywords
node
cimom
value
information
request message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011102050571A
Other languages
Chinese (zh)
Other versions
CN102891763B (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

Images

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 method for acquiring CIM (Common Information Model) resource. According to the method, Hash algorithm is carried out on the information of in-network CIMOM (CIM Object Manager) through any node of distributed network to generate DHT (Distributed Hash Table) network of CIMOM, and simultaneously a process for acquiring the CIM resource on the in-network CIMOM through DHT algorithm is further provided. The invention further provides a corresponding device for acquiring CIM resource. According to the implementation of the method and the device disclosed by the invention, a CIM client can acquire the CIM resource information on the in-network CIMOM at any node so that the acquisition of the CIM resource under large-scale and distributed multi-host environment is realized.

Description

A kind of method and apparatus that obtains the CIM resource
Technical field
The present invention relates to communication network, relate in particular to a kind of method and apparatus of the CIM of obtaining resource.
Background technology
(the Distributed Management Task Force of distributed management working group, DMTF) having defined a cover standard and framework comes standardized management to use and various network element (the Managed Element that are managed, ME) interface between, existing Common Information Model (Common Information Model, CIM) comprise the CIM client in the system, Common Information Model Object Manager (CIM Object Manager, CIMOM), CIM provider plug-in unit (CIM Provider) and be managed network element, wherein the CIM client is the access end of CIMOM.The CIM client is obtained 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, is used for management model and instance data, reception subscription and the forwarding event etc. relevant with each ME, and wherein CIMOM manages respectively is managed the network element model and instance data is kept among the thesaurus Repository.CIM provider plug-in unit is the adaptation module between CIMOM and the ME, is integrated among the CIMOM in the plug-in unit mode, by obtaining alternately instance data and the event of ME with ME, and reports to CIMOM.Be managed the information model of network element by MOF (the Managed Object Format) format description of definition in the CIM Infrastructure standard (DMTF specification document DSP0004, CIM Infrastructure Specification).
Interface specification between CIM client and the CIMOM comprises CIM-XML (Common Information Model-Extensible Markup Language, in DMTF specification document DSP0200, describe), WS-Management (Web Services for Management, in DMTF specification document DSP0226, describe), SM CLP (Server Management Command Line Protocol Specification describes in DMTF specification document DSP0214).DLL (dynamic link library) between the two mainly is based on the JSR48 (Java Specification Request 48, The Java TM API for Web Based Enterprise Management) of CIM-XML.
Existing method be used to managing the common information model under the multiple hosted environment is managed the access of a plurality of CIMOM by the CIM collector, the CIM collector is registered to long-range CIMOM in the local knowledge base of CIM collector, after receiving the operation requests to the CIM resource of CIM client transmission, the inquiry local knowledge base is to process by the CIMOM processing of local node or by long-range CIMOM with judgement, if need long-range CIMOM to process, then will ask routing forwarding to long-range CIMOM, and return to the request promoter from described long-range CIMOM reception result data.Yet there are 2 deficiencies in this scheme: at first, adopt the CIM collector as the access point of CIMOM, when the CIM collector breaks down, can cause system unavailable; Secondly, in large-scale distributed system, the CIM collector is difficult in time obtain the multidate information of CIMOM in the whole network owing to operations such as registrations.
Summary of the invention
Technical problem to be solved by this invention is, a kind of method and apparatus of the CIM of obtaining resource is provided.
According to a first aspect of the invention, the invention provides a kind of method of obtaining Common Information Model CIM resource, described method comprises:
First node receives the request message of the inquiry CIM resource of CIM client transmission;
Described first node extracts the keyword content in the described request message, judges that according to described keyword content described request message is the resource of the single Common Information Model Object Manager CIMOM of inquiry or the resource of inquiring about the CIMOM of all nodes,
If inquire about the resource of single CIMOM, execution in step a then, if inquire about the resource of the CIMOM of all nodes, execution in step b then,
A, described first node is forwarded to purpose CIMOM according to the positional information that finds with described request message according to the positional information of described keyword content search purpose CIMOM, receives the response message that described purpose CIMOM returns, and described response message is forwarded to described CIM client
B, described first node is searched the positional information of all nodes, described request message is forwarded to the CIMOM of all nodes according to the positional information that finds, receives the response message that the CIMOM of described all nodes returns, and described response message is forwarded to described CIM client.
Further, before the request message of the inquiry CIM resource that first node reception CIM client sends, described method also comprises: described first node carries out Hash operation to described first node IP address and generates the Value value; According to all CIMOM on the described first node of positioning service protocol discovery; Obtain universal resource identifier URI or the uniform resource position mark URL of CIMOM all on the described first node, described URI or URL are carried out Hash operation obtain the Key value to generate the Key-Value information table of CIMOM; The Key-Value information table that generates is published to the distributed hashtable network.
Further, described step a comprises: described first node carries out Hash operation to the URI in the keyword content in the described request message or URL and obtains the Key value; Described first node is searched corresponding Value value according to the Key-Value information table in described Key value and the described distributed hashtable network; Described first node is forwarded to purpose CIMOM corresponding to described Value value with described request message; Described first node receives the response message that described purpose CIMOM returns, and the response message that receives is forwarded to described CIM client.
Further, described step b comprises: described first node with the Value value among first of the Key-Value information table of first node described in the distributed hashtable network as the place information inquiry result; The described request message of transmitting described first node arrives the as a result CIMOM of corresponding node of described place information inquiry; Described first node with described place information inquiry as a result the Value value among first of Key-Value information table of corresponding node self maintained as the place information inquiry result, then repeat above-mentioned request message and transmit step, until first node receive described place information inquiry as a result the node of the Value value correspondence among first of Key-Value information table of corresponding node self maintained be described first node; The response message that the CIMOM of described all nodes of described first node reception returns is forwarded to described CIM client with received response message.
Further, described step b comprises: described first node with the Value value among first of the Key-Value information table of the described first node in the distributed hashtable network as the place information inquiry result; Described first node is transmitted the request message that receives to the CIMOM of node corresponding to described place information inquiry result, and adds described first node address information in described request message; So that node corresponding to the Value value in described first is to the described request message that has added described first node address information of CIMOM forwarding of node corresponding to the Value value among first of the Key-Value information table of himself safeguarding, and so that each node that receives the described request message that has added described first node address information to the described request message that has added described first node address information of CIMOM forwarding of node corresponding to the Value value among first of the Key-Value information table of himself safeguarding, until the Value value corresponding node that receives among in the Key-Value information table of node self maintained of the above-mentioned request message that has added the first node address information first is first node; The response message that the CIMOM of described all nodes of described first node reception returns according to described additional described first node address information is forwarded to described CIM client with received response message.
Further, described step b also comprises: address and port information according to the message identifier of described request message, described CIM client generate the client that new information identifies initial request messages.
Further, the positional information that finds of described basis specifically comprises the CIMOM that described request message is forwarded to all nodes: whether the new information label table of inquiring about described first node according to the message identifier in the described request message comprises new information sign corresponding to this message identifier; If do not comprise, then to the CIMOM Forward-reques message of described first node, and the new information that described message identifier is corresponding sign 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 second aspect present invention, the invention provides a kind of device that obtains Common Information Model CIM resource, described device comprises:
The CIMOM agency, be used for receiving the request message that the CIM client is sent to the inquiry CIM resource of first node, extract the keyword content in the described request message, judge that according to described keyword content described request message is the resource of the single Common Information Model Object Manager CIMOM of inquiry or the resource of inquiring about the CIMOM of all nodes;
The DHT agency is used for when the CIMMOM agency judges that described request message is the resource of the single CIMOM of inquiry, according to the positional information of described keyword content search purpose CIMOM; Or be used for when the CIMMOM agency judges that described request message is the resource of all node CIMOM of inquiry the positional information of searching all nodes;
The CIMOM agency, also be used for according to the positional information that the DHT agency searches described request message being forwarded to CIMOM corresponding to described positional information, receive the response message that CIMOM corresponding to described positional information returns, and the response message that receives is forwarded to described CIM client.
Further, described DHT agency is used for that also Hash operation is carried out in described first node IP address and generates the Value value, according to all CIMOM on the described first node of positioning service protocol discovery, obtain universal resource identifier URI or the uniform resource position mark URL of CIMOM all on the described first node, described URI or URL are carried out Hash operation obtain the Key value to generate the Key-Value information table of CIMOM, the Key-Value information table that generates is published to described distributed hashtable network.
Further, described CIMOM agency also is used for realizing the issue of this node service ability, the issue of described service ability comprises: definition positioning service protocol service type service type:DHT-CIMOM, the service ability of the form publisher node of foundation described positioning service agreement request/response; Or, in the template of distributed management working group definition, increase the 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 purpose CIMOM: the URI/URL in the described keyword content is carried out Hash operation obtain the Key value; Search corresponding Value value according to the Key-Value information table in described Key value and the described distributed hashtable network.
Further, described CIMOM agency also is used for generating the client that new information identifies initial request messages according to address and the port information of the message identifier of described request message, described CIM client.
Further, described CIMOM agency specifically comprises the CIMOM that described request message is forwarded to all nodes according to the positional information that the DHT agency finds: whether the new information label table of inquiring about described first node according to the message identifier in the described request message comprises new information sign corresponding to this message identifier; If do not comprise, then be stored in the new information label table of described first node to the CIMOM Forward-reques message of described first node and the new information sign that described message identifier is corresponding; 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 CIMOM of all nodes of inquiry, described DHT agency specifically is used for: first Value value of the Key-Value information table of first node described in the distributed hashtable network is arrived the as a result CIMOM of corresponding node of described place information inquiry as the place information inquiry result so that the CIMOM agency transmits described request message, again with described place information inquiry as a result the Value value among first of Key-Value information table of corresponding node self maintained transmit step as the place information inquiry result so that described CIMOM agency repeats above-mentioned request message, until described DHT agency receive described place information inquiry as a result the node of the Value value correspondence among first of Key-Value information table of corresponding node self maintained be described first node; Or
When the CIMOM agent determines the request message is a query for all nodes CIMOM resource, specifically for the DHT agents : a distributed hash table of the first node in the network Key-Value information table in the first the Value of the query results as location information , to CIMOM agent to query the location information of the node corresponding to the result CIMOM forwards the received request message , and the request message is added to said first node address information ; facilitate the value of the first entry in the node corresponding to the value of its own maintenance information table key-Value the first corresponds to the value in the Value CIMOM node forwarding the additional address information of said first node request message , and in order to receive the additional address information of said first node a request message , each node maintains its own information key-Value in the first table entry corresponding to the value of the value node forwarding the attached CIMOM said first node address information request message until it receives the first point of the additional address information request message node itself maintained key-Value information table, the first entry in the value node is the first node corresponds .
Implement method and apparatus of the present invention, have following beneficial effect: the CIMOM agency by the node deploy and DHT agency so that the CIM client arbitrary node can obtain net in the CIM resource information of CIMOM of single CIMOM or all nodes, realized obtaining of under extensive, distributed multi-master machine environment CIM resource.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 illustrates the schematic diagram that concerns according to the device that obtains the CIM resource of embodiment of the present invention and CIM client and CIM Object Manager.
Fig. 2 illustrates according to the discovery of CIMOM on the node of embodiment of the present invention and information table issue schematic flow sheet.
Fig. 3 illustrates the method flow schematic diagram that obtains the CIM resource according to embodiment of the present invention.
Fig. 4 illustrates the structural representation according to the device that obtains the CIM resource of embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Referring to Fig. 1, illustrate the schematic diagram that concerns according to the device that obtains the CIM resource of embodiment of the present invention and CIM client and CIM Object Manager.The CIM client can be obtained by the device that obtains the CIM resource resource of CIM Object Manager CIMOM.Wherein, CIMOM runs in the device that obtains the CIM resource, and a device that obtains the CIM resource can move a CIMOM, also can move a plurality of CIMOM.In addition, the device that obtains the CIM resource can be at any one node that moves CIMOM, and wherein node can be a main frame or a virtual machine.And the CIMOM agency who carries out the function of obtaining the CIM resource of this node, DHT agency and CIMOM agency can be undertaken by the processor of main frame.Can be virtual machine even obtain the device of CIM resource, but this virtual machine still is the virtual machine that runs on computer processor, so the CIMOM agency, DHT agency and CIMOM agency still run in the processor of computer.
The method of obtaining the CIM resource that provides in the embodiment of the present invention is by implementing on the arbitrary node in the distributed network.Concrete, the method can realize with the form that hardware combines by the software form on the node or software.For convenience, the node that receives the request message of the inquiry CIM resource that the CIM client sends is called first node, in order to distinguish with other nodes of the request message that receives the first node forwarding, wherein first node can be any one node in the distributed network, can not be understood as restricted explanation.
In the embodiment of the present invention, obtain on the first node after the device startup of CIM resource, before the request message of the inquiry CIM resource that reception CIM client sends, can also comprise by the device that obtains the CIM resource on the first node and find the CIMOM on the first node and Key-Value information table corresponding to CIMOM of finding.Referring to Fig. 2, illustrate discovery and information table issue schematic flow sheet according to CIMOM on the node of embodiment of the present invention, specifically can comprise:
S200 carries out Hash operation to described first node IP address and generates the Value value;
In the 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 is according to all CIMOM on the described first node of positioning service protocol discovery;
In the embodiment of the present invention, may move one or more CIMOM on the node, wherein not have interrelated on the same node between each CIMOM.Node namely obtains the device of CIM resource can find all CIMOM that same node moves according to positioning service agreement (Service Location Protocol, SLP).Can adopt the method for multicast to implement, particularly, the first node address need to be added multicast address, namely safeguard a multicast group of only having the first node address, then first node namely obtains the device of CIM resource, and the CIMOM in multicast address sends SLP multicast request; The CIMOM that receives SLP multicast request returns to himself CIM resource information the device that obtains the CIM resource of first node with the clean culture form.
In other some execution modes of the present invention, can adopt the mode that increases directory agent (Directory Agent) module at first node to implement.Particularly, all CIMOM register the CIM resource information of self to the directory agent module on the node on the first node.
S204 obtains URI or the URL of CIMOM all on the described first node, described URI or URL is carried out Hash operation obtain the Key value to generate the Key-Value information table of CIMOM;
In the embodiment of the present invention, if adopt SLP to find CIMOM all on the first node, first node obtains URI or the URL in the CIM resource information that each CIMOM returns by the clean culture form, the URI that obtains or URL is carried out Hash operation obtain the Key value to generate the Key-Value information table of each CIMOM.Implement the discovery of CIMOM if adopt the directory agent module, then obtain URI or the URL of each CIMOM the directory agent module of first node from node, URI or the URL that obtains carried out the Key-Value information table that Hash operation generates the Key value and then generates each CIMOM.
S206 is published to the distributed hashtable network with the Key-Value information table that generates.
In the embodiment of the present invention, the Key-Value information table of each CIMOM that first node will generate is published in DHT network corresponding to CIMOM according to DHT algorithm well known by persons skilled in the art, the existing distributed network of DHT network that wherein said CIMOM is corresponding.The issue of described Key-Value information table refers to the Key-Value information table is stored on a plurality of nodes dispersedly according to the DHT algorithm, and each node is responsible for storage area Key-Value information table, thereby realizes addressing and the storage of whole DHT network.Each node periodically move each self-corresponding detection algorithm of described DHT algorithm detect the CIMOM on the newly added node or withdraw from or failure node on CIMOM, thereby 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.
Referring to Fig. 6, illustrate the method flow schematic diagram that obtains the CIM resource according to embodiment of the present invention, described method comprises step:
S400, first node receive the request message of the inquiry CIM resource of CIM client transmission;
It is pointed out that first node can be any one node in the distributed network, and the device that obtains the CIM resource can be any one node in the distributed network.Any one node in the embodiment of the present invention can obtain the CIM resource.After first node started, first node just can execution in step 400 and the follow-up step of obtaining the CIM resource.The request message of the inquiry CIM resource that the CIM client sends, it is the request message of the CIM resource on the CIMOM of CIM resource on the single CIMOM of inquiry that initiates of CIM client or all nodes, to inquire about the request message of CIM resource herein referred to as request message, its form can adopt WMI (Windows Management Instrumentation, the Windows management regulation) reference format, also can adopt WBEM (Web-Based Enterprise Management is based on the business administration of Web) reference format etc.
Request message comprises message header and message body, wherein comprises the keyword content of identification request resource in the message body, is used for identifying URI or the URL information of single CIMOM, perhaps identifies the identifier of the CIMOM of all nodes.In an embodiment of the present invention, can adopt host address is the CIMOM that AllHostPath identifies all nodes; Can also adopt in addition host address is the CIMOM that empty (Null) identifies all nodes.If inquire about the CIM resource on the single CIMOM, what then described keyword content comprised is URI or the URL information of the single CIMOM of sign; If inquire about the CIM resource on the CIMOM of all nodes, that then described keyword content comprises is the identifier of the CIMOM of all nodes of sign, i.e. AllHostPath or Null.
S402, first node extracts the keyword content in the described request message, judge that according to described keyword content described request message is the resource of the single CIMOM of inquiry or the resource of inquiring about the CIMOM of all nodes, if inquire about the resource of single CIMOM, execution in step S404 then, if inquire about the resource of all node CIMOM, execution in step S406 then;
In the embodiment of the present invention, the device that obtains the CIM resource of first node extracts the keyword content of message body in the request message, and judge that according to described keyword content request message is the resource of the single CIMOM of inquiry or the resource of inquiring about the CIMOM of all nodes, if what described keyword content comprised is URI or the URL information of the single CIMOM of sign, then be judged as the resource of the single CIMOM of inquiry, execution in step S404; If what described keyword content comprised is the identifier of the CIMOM of all nodes of sign, then be judged as the resource of the CIMOM of all nodes of inquiry, execution in step S406.
S404, first node is according to the positional information of described keyword content search purpose CIMOM, according to the positional information that finds described request message is forwarded to purpose CIMOM, receives the response message that described purpose CIMOM returns, and described response message is forwarded to described CIM client;
In the embodiment of the present invention, the step S404 that first node is carried out specifically can comprise:
URI in the described keyword content or URL are carried out Hash operation obtain the Key value;
Search corresponding Value value according to the Key-Value information table in described Key value and the described DHT network;
Described request message is forwarded to purpose CIMOM corresponding to described Value value;
Receive the response message of described purpose CIMOM, the response message that receives is forwarded to described CIM client;
Searching in the process of Value value according to the Key-Value information table in Key value and the DHT network, can adopt distributed hashtable well known to those skilled in the art to search algorithm and improve search efficiency, the DHT that is not limited to mention in the embodiment of the present invention searches algorithm.In the embodiment of the present invention, what the Value value that finds was corresponding is the positional information of the purpose CIMOM place node of requesting query in the request message, and the generative process by the Value value as can be known, can determine the IP address of place node by the Value value.After request message being forwarded to purpose CIMOM corresponding to Value value, receive the response message to request message that this purpose CIMOM returns, then the response message that receives is forwarded to described CIM client, be the CIM client of initial request messages, wherein said response message comprises the CIM resource information of requesting query in the request message.
S406, first node is searched the positional information of all nodes, described request message is forwarded to the CIMOM of all nodes according to the positional information that finds, receives the response message that the CIMOM of 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 the Null of CIMOM of all nodes of sign, then the request message requests inquiry is CIM resource on the CIMOM of all nodes.
Request message is forwarded in the CIMOM execution mode of all nodes in the positional information of searching all nodes and according to the positional information that finds, issue flow process by above-mentioned Key-Value information table is described as can be known, because the Key-Value information table of different nodes may comprise the Key-Value information table of same CIMOM, for avoiding CIMOM Forward-reques message corresponding in the Key-Value information table of all nodes will cause some CIMOM to receive same request message for many times, utilize again first common unduplicated characteristic of Value value in each node Key-Value information table, the present invention avoids the problems referred to above by the CIMOM Forward-reques message of the Value value corresponding node in first of node Key-Value information table only.Two kinds of embodiment are provided in the embodiment of the present invention.The first embodiment can adopt following steps to process:
With the Value value among first of the Key-Value information table of first node in the DHT network as the place information inquiry result;
Transmit described request message and arrive the as a result CIMOM of corresponding node of described place information inquiry;
With described place information inquiry as a result the Value value among first of Key-Value information table of corresponding node self maintained as the place information inquiry result, then repeat above-mentioned request message and transmit step, until the request first node receive described place information inquiry as a result the node of the Value value correspondence among first of Key-Value information table of corresponding node self maintained be 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 that receives request message (is described for convenient, referred to as " N1 " node, is only described for convenient herein, and can adopt any other symbol to represent, should not be understood as restricted explanation.) with the place information inquiry result of the Value value among first of the Key-Value information table of N1 node (this Key-Value information table can comprise the Key-Value information of the CIMOM of the CIMOM of a node or an above node) as the purpose CIMOM of request message, then to place information inquiry as a result corresponding node (be the next node in the 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, i.e. Value value in first of the Key-Value information table of N2 node self maintained.Then first node is with the place information inquiry result of the Value value among first of the Key-Value information table of N2 node self maintained as the purpose CIMOM of request message, the CIMOM Forward-reques message of the Value value corresponding node (referred to as " N3 " node) in first in the N2 node Key-Value information table, that is: N1->N3.So continue, first node constantly will receive Value value among in the Key-Value information table of node of request message first as the place information inquiry result, until the Value value corresponding node that receives among in the Key-Value information table of node of request message first is the start node N1 that receives the CIM client request message.Need to prove, in the request message repeating process, after knowing positional information Value value, those skilled in the art can adopt known technological means that request message is forwarded to CIMOM on the Value value corresponding node.The device that obtains the CIM resource of first node receives the response message that each CIMOM received request message returns, then the response message that receives 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.Need to prove, the device that obtains the CIM resource is forwarded in the process of CIM client of the request of initiation at the response message that will receive, can receive this response message that just will return behind the response message that CIMOM returns and be forwarded to the CIM client of the request of initiation, also can be after receiving all response messages that all CIMOM on the same node (can comprise an above CIMOM on a node) return with same node on the response message of all CIMOM 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 with the Value value among first of the Key-Value information table of first node in the distributed hashtable network as the place information inquiry result;
The request message that first node receives to the as a result CIMOM forwarding of corresponding node of described place information inquiry, and in described request message, add the first node address information;
The described request message that adds the first node address information of CIMOM forwarding of the Value value corresponding node of the Value value corresponding node in described first in first of the Key-Value information table of himself safeguarding;
The described request message that adds the first node address information of CIMOM forwarding of the Value value corresponding node of each node that receives the described request message that has added the first node address information in first of the Key-Value information table of himself safeguarding is until the Value value corresponding node that receives among in the Key-Value information table of node self maintained of the above-mentioned request message that has added the first node address information first is first node;
The response message that the CIMOM of described all nodes of first node reception returns according to described additional first node address information is forwarded to described CIM client with received response message.
Particularly, can (describe for convenient to first node in the DHT network, referred to as " K1 " node) first of Key-Value information table in the Value value (wherein, Value value in first of the Key-Value information table of first node is the place information inquiry result) CIMOM of corresponding node (referred to as " K2 " node) transmits the request message that has added the K1 node address information, that is: K1->K2, then the device that obtains the CIM resource of K2 node is transmitted the request message that has added the K1 node address information to the Value value corresponding node (referred to as " K3 " node) among first of the Key-Value information table of K2 node self maintained, that is: K2->K3, receive the described request message that adds the K1 node address information of CIMOM forwarding of the Value value corresponding node of the device that obtains the CIM resource in first of the Key-Value information table of himself safeguarding on each node of the described request message that has added the K1 node address information, until the Value value corresponding node that receives among in the Key-Value information table of the above-mentioned node that has added the K1 node address information first is the K1 node.Each CIMOM that has received request message can be back to response message according to node address information additional in the request message device that obtains the CIM resource of first node, the response message that the device that obtains the CIM resource of first node is receiving each CIMOM and returns, can after receiving response message, just received response message be forwarded to the CIM client of the request of initiation, also can after receiving all response messages of (can comprise an above CIMOM on the same node) of all CIMOM on the same node, described all response messages be packaged as a response message and be forwarded to the CIM client that initiation is asked.
In the embodiment of the present invention, except can adopting above-mentioned two kinds of embodiment, can also adopt the mode that generates the new node sign in the process of the CIMOM Forward-reques message of all Value value corresponding node in the Key-Value information table of all nodes, to avoid some CIMOM to receive same request message for many times.
In the embodiment of the present invention, may have the Key-Value information table of same CIMOM in the Key-Value information table of different nodes, in other words, the Key-Value information table of same CIMOM can be kept in the Key-Value information table of a plurality of nodes.In the process of CIMOM Forward-reques message corresponding in the Key-Value information table of all nodes, can be kept at owing to the Key-Value information of same CIMOM in the Key-Value information table of a plurality of nodes and make same CIMOM receive the request message that described a plurality of node is transmitted separately for many times.
For avoiding above-mentioned situation to occur, first node generates new information sign NewMessageID with the client of sign initial request messages by address and the port information according to the CIM client of the message identifier MessageID of described request message, initial request messages, then MessageID and NewMessageID are kept at MessageID and the corresponding table of NewMessageID of first node, it is the new information label table, MessageID and NewMessageID are corresponding one by one in the table, and the message identifier in the request message is replaced with NewMessageID.In the process with the CIMOM that is forwarded to all nodes of request message, whether the new information label table of inquiring about described first node according to the message identifier in the request message comprises new information sign corresponding to this message identifier, if do not comprise, then to the CIMOM Forward-reques message of described first node, and the new information that described message identifier is corresponding sign 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 the judgement of first node CIMOM Forward-reques message on the first node whether is finished dealing with, to the corresponding CIMOM Forward-reques message of the Key-Value information table of first node.
The generation and the judgement that it is pointed out that above-mentioned new information sign are applicable to all nodes, are not limited to receive the first node of CIM client request message, also can be other nodes that receive the request message of first node forwarding.Adopt the mode of above-mentioned new information mark for marking CIM client in the process of the CIMOM of all Value value corresponding node of the information table that request message is forwarded to all nodes, can adopt the mode of the first node address information of the additional CIM of reception client request message in described request message that the CIMOM of each node that receives request message can be returned response message according to described additional first node address information.When the device that obtains the CIM resource of first node is the response message of NewMessageID with the message identifier that receives, the message identifier in the response message is replaced with MessageID and be forwarded to the CIM client of initial request messages.
In the embodiment of the present invention, can generate new information sign NewMessageID according to address and the port information of the CIM client of the message identifier MessageID in the message body of described request message, initial request messages, with the client of sign initial request messages.Concrete, can generate new information sign NewMessageID with the client of sign initial request messages by 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 are carried out the Hash computing.In an embodiment of the present invention, message identifier in the request message is MessageID=" 87872 ", can pass through NewMessageID=Hash (" 87872+10.138.73.32+5900 ")=5986324501 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 the CIM of obtaining resource of the present invention is set forth, described below in conjunction with the device of accompanying drawing to the CIM of obtaining resource of the present invention.
Referring to Fig. 4, illustrate the structural representation according to the device that obtains the CIM resource of embodiment of the present invention, the device 400 that obtains the CIM resource can be the first node of operation CIMOM, specifically can comprise:
CIMOM agency 502, be used for receiving the request message that the CIM client is sent to the inquiry CIM resource of first node, extract the keyword content in the described request message, judge that according to described keyword content described request message is the resource of the single Common Information Model Object Manager CIMOM of inquiry or the resource of inquiring about the CIMOM of all nodes;
DHT agency 504 is used for when the CIMMOM agency judges that described request message is the resource of the single CIMOM of inquiry, according to the positional information of described keyword content search purpose CIMOM; Or be used for when the CIMMOM agency judges that described request message is the resource of all node CIMOM of inquiry the positional information of searching all nodes;
CIMOM agency 502, also be used for according to the positional information that the DHT agency searches described request message being forwarded to CIMOM corresponding to described positional information, receive the response message that CIMOM corresponding to described positional information returns, and the response message that receives is forwarded to described CIM client.
In the embodiments of the present invention, CIMOM agency (CIMOM Agent) receives the request message of the inquiry CIM resource of CIM client transmission, request message is resolved to extract keyword content in the message body, and judge that according to the keyword content of extracting request message is the CIM resource on the CIM resource on the single CIMOM of inquiry or the CIMOM that inquires about all nodes.Wherein said keyword content comprises URI or URL or identifies the identifier of all CIMOM, and in embodiment of the present invention, the identifier of described all CIMOM of sign is AllHostPath or Null.If the keyword content is URI or URL information, then this request message is the CIM resource on the single CIMOM of inquiry, if the 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 can be used for realizing above-mentioned locating function, can also be used for realizing discovery and the information table issue of CIMOM on the node, specifically can comprise:
The Hash computing is carried out in first node IP address generate the Value value;
Find CIMOM all on the described first node according to the positioning service agreement request;
Obtain URI or the URL of CIMOM all on the described first node, described URI or URL are carried out the Hash computing obtain the Key value to generate the Key-Value information table of CIMOM;
The Key-Value information table that generates is published to the DHT network.
In the embodiment of the present invention, the DHT network refers to the URI of CIMOM or URL are carried out that IP address that Hash operation generates Key value and CIMOM place node carries out that Hash operation generates Value composition Key-Value information table and the network that consists of.
In the embodiment of the present invention, may move a plurality of CIMOM on the node.May move one or more CIMOM on the node, wherein not have interrelated on the same node between each CIMOM.Node namely obtains the device of CIM resource can be according to all CIMOM of the same node of positioning service protocol discovery operation.Can adopt the method for multicast to implement, particularly, the first node address need to be added multicast address, namely safeguard a multicast group of only having the first node address, then first node namely obtains the device of CIM resource, and the CIMOM in multicast address sends SLP multicast request; The CIMOM that receives SLP multicast request acts on behalf of the CIM resource information of himself with the DHT that the clean culture form returns to first node; The DHT agency obtains URI or the URL of each CIMOM, described URI or URL are carried out the Hash computing obtain the Key value, and then Key-Value information table corresponding to generation CIMOM, then the Key-Value information table that generates is published to the DHT network according to the DHT algorithm, described issue refers to and will be stored in dispersedly on a plurality of nodes according to the DHT algorithm by the CIM resource information on the Key value uniquely identified CIMOM, each node is responsible for storing sub-fraction Key-Value information table, thereby realize addressing and the storage of whole DHT network, DHT on each node agency periodically moves each self-corresponding detection algorithm of described DHT algorithm and detects the CIMOM on the newly added node or withdraw from/CIMOM on the failure node, thereby 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 of moving on the same node is except can be above-mentioned the multicast form implements, and can also adopt the mode that increases the directory agent module at node to implement.Particularly, the all CIMOM that move on the first node are to the CIM resource information of directory agent module registration self, then the DHT agency extracts the resource information of CIMOM registration from the directory agent module, from the resource information of extracting, obtain URI or the URL of CIMOM, the URI that obtains or URL are carried out the Hash computing obtain the Key value, and then the Key-Value information table of generation CIMOM, then the Key-Value information table that generates is published to the DHT network.Need to prove, although be described as an example of first node example in the execution mode, can adopt aforesaid way to find all CIMOM that move on the node on all nodes.
In the embodiment of the present invention, if inquire about the CIM resource on the single CIMOM, then DHT agency particularly, comprising according to the positional information that the URI in the key words content or URL search purpose CIMOM: the URI in the described keyword content or URL are carried out the Hash computing obtain the Key value; Search corresponding Value value according to the Key-Value information table in described Key value and the DHT network, wherein the Value value is the positional information of the purpose CIMOM of requesting query in the request message.In the DHT agents query after the positional information of purpose CIMOM, the CIMOM agency is forwarded to purpose CIMOM corresponding to Value value with request message, receive the response message that purpose CIMOM returns, and the response message that receives is forwarded to the CIM client of initial request messages.
If inquire about the resource of all node CIMOM, the positional information that the DHT agency searches all nodes in the DHT network, the CIMOM agency will act on behalf of the positional information Forward-reques message of searching according to DHT, the response message that reception is returned, and the response message that receives is forwarded to the CIM client of the request initiated.
Request message is forwarded in the CIMOM execution mode of all nodes in the positional information of searching all nodes and according to the positional information that finds, issue flow process by above-mentioned Key-Value information table is described as can be known, because the Key-Value information table of different nodes may comprise the Key-Value information table of same CIMOM, for avoiding CIMOM Forward-reques message corresponding in the Key-Value information table of all nodes will cause some CIMOM to receive same request message for many times, utilize again first common unduplicated characteristic of Value value in each node Key-Value information table, the present invention avoids the problems referred to above by the CIMOM Forward-reques message of the Value value corresponding node in first of node Key-Value information table only.Two kinds of embodiment are provided in the embodiment of the present invention.
The first embodiments may include steps: first node agent distributed hash table DHT network the first node Key-Value information in the first table's Value query results as location information for the first CIMOM agents node forwards the request message to said location information query results corresponding node CIMOM, the first node DHT agent then said location information query results corresponding node itself maintains key-Value information table in the first the Value of the results as location information of the first node to repeat the CIMOM proxy request message in step (i.e. forwards the request message to the location information query result to the corresponding node forwarding the CIMOM step) until the first point of DHT agent receives the location information query results corresponding node itself maintains key-Value information table in the first term value node corresponding to the value of the first node.
The second embodiments may include steps: first node agent distributed hash table DHT network the first node Key-Value information in the first table 's Value as location information query results, so that the first CIMOM agent node location information query result to the node corresponding CIMOM forwards the received request message , and the request message is added to said first node address information ; so that said first value in the Value the node corresponding to its own maintenance information table key-Value the Value of the first item in the node corresponding to said additional CIMOM forwarding address information of said first node a request message , and to facilitate the reception of the additional said first node address information request message , each node maintains its own information table key-Value the Value of the first item in the node corresponding to said additional CIMOM forwarding address information of said first node a request message until it receives the first point of the additional address information request message node itself maintained key-Value information table, the first entry in the value node is the first node corresponds .
Need to prove, although the description of above-mentioned the first embodiment and the second embodiment is take first node as example, this searches DHT agency and the CIMOM agency who can be applicable to arbitrary node in the distributed network with repeating process.
In the embodiment of the present invention, address and port information that CIMOM agency can also be used for the CIM client of message identifier, initial request messages according to described request message generate the client that new information identifies initial request messages.By this function, when in the process of the CIMOM Forward-reques message of all nodes, adopting the CIMOM Forward-reques message of all Value value corresponding node in the Key-Value information table of all nodes, can avoid the CIMOM of some node to receive same request message for many times.
In the embodiment of the present invention, CIMOM agency generates new information sign NewMessageID with the client of sign initial request messages by 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 are carried out the Hash computing.In an embodiment of the present invention, message identifier in the request message is MessageID=" 87872 ", can pass through NewMessageID=Hash (" 87872+10.138.73.32+5900 ")=5986324501 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 the first node, it is the new information label table, MessageID and NewMessageID are corresponding one by one in the table, and the message identifier in the request message is replaced with NewMessageID.Request message is forwarded in the process of CIMOM of all nodes in the positional information that the CIMOM of first node agency finds according to the DHT agency of first node, whether the new information label table of inquiring about described first node according to the message identifier in the request message comprises the new information sign that this message identifier is corresponding, if do not comprise, then to the CIMOM Forward-reques message of described first node, and the new information that described message identifier is corresponding sign 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 finishing dealing with to the judgement of the CIMOM Forward-reques message of first node whether, to all Value value corresponding node Forward-reques message of the Key-Value information table of first node.The generation and the judgement that it is pointed out that above-mentioned new information sign are applicable to all nodes, are not limited to receive the first node of CIM client request message, also can be other nodes that receive the request message of first node forwarding.Adopt the mode of above-mentioned new information mark for marking CIM client in the process of the CIMOM of all Value value corresponding node of the information table that request message is forwarded to all nodes, can adopt the mode of the first node address information of additional directly reception CIM client request message in described request message to make the CIMOM of each node that receives request message can response message be back to according to described additional first node address information the CIMOM agency of first node, when CIMOM agency is the response message of NewMessageID with the message identifier that receives, the message identifier in the response message is replaced with MessageID and be 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, the CIMOM agency can adopt dual mode to carry out the service ability issue, is respectively the CIMOM service issue attribute field of definition SLP COS and expansion DMTF template.Particularly, comprising: definition positioning service protocol service type service type:DHT-CIMOM, the service ability of the form publisher node of foundation described positioning service agreement request/response; Or, in the template of DMTF definition, increase the service-type=DHT-CIMOM field to indicate the service ability of node.
Implement the method and apparatus that obtains the CIM resource of the present invention, arbitrary node by distributed network carries out flexible management to netting interior CIMOM according to the DHT algorithm, can also make simultaneously from the CIM client of arbitrary node access and can obtain in the distributed network the upper or upper CIM resource of all CIMOM of single CIMOM, realize obtaining of under extensive, distributed multi-master machine environment CIM resource.
In addition, the device that obtains the CIM resource in the above embodiment of the present invention (being node) originally can be the network equipment in the network, also can be the equipment such as computer.Each agency of the above embodiment of the present invention (such as the CIMOM agency, the DHT agency) can be the functional module in the processor that runs on the said equipment, and the present invention does not do restriction at this.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, to come the relevant hardware of instruction to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process such as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above is preferred implementation of the present invention, should be pointed out that for those of ordinary skills, under the prerequisite that does not break away from the principle of the invention, can also make some improvement and variation, and these improvement and variation also are considered as protection scope of the present invention.

Claims (14)

1. a method of obtaining Common Information Model CIM resource is characterized in that, described method comprises:
First node receives the request message of the inquiry CIM resource of CIM client transmission;
Described first node extracts the keyword content in the described request message, judges that according to described keyword content described request message is the resource of the single Common Information Model Object Manager CIMOM of inquiry or the resource of inquiring about the CIMOM of all nodes,
If inquire about the resource of single CIMOM, execution in step a then, if inquire about the resource of the CIMOM of all nodes, execution in step b then,
A, described first node is forwarded to purpose CIMOM according to the positional information that finds with described request message according to the positional information of described keyword content search purpose CIMOM, receives the response message that described purpose CIMOM returns, and described response message is forwarded to described CIM client
B, described first node is searched the positional information of all nodes, described request message is forwarded to the CIMOM of all nodes according to the positional information that finds, receives the response message that the CIMOM of described all nodes returns, and described response message is forwarded to described CIM client.
2. the method for claim 1 is characterized in that, before the request message of the inquiry CIM resource that first node reception CIM client sends, described method also comprises:
Described first node carries out Hash operation to described first node IP address and generates the Value value;
According to all CIMOM on the described first node of positioning service protocol discovery;
Obtain universal resource identifier URI or the uniform resource position mark URL of CIMOM all on the described first node, described URI or URL are carried out Hash operation obtain the Key value to generate the Key-Value information table of CIMOM;
The Key-Value information table that generates is published to the distributed hashtable network.
3. method as claimed in claim 2 is characterized in that, described step a comprises:
Described first node carries out Hash operation to the URI in the keyword content in the described request message or URL and obtains the Key value;
Described first node is searched corresponding Value value according to the Key-Value information table in described Key value and the described distributed hashtable network;
Described first node is forwarded to purpose CIMOM corresponding to described Value value with described request message;
Described first node receives the response message that described purpose CIMOM returns, and the response message that receives is forwarded to described CIM client.
4. method as claimed in claim 2 is characterized in that, described step b comprises:
Described first node with the Value value among first of the Key-Value information table of first node described in the distributed hashtable network as the place information inquiry result;
The described request message of transmitting described first node arrives the as a result CIMOM of corresponding node of described place information inquiry;
Described first node with described place information inquiry as a result the Value value among first of Key-Value information table of corresponding node self maintained as the place information inquiry result, then repeat above-mentioned request message and transmit step, until first node receive described place information inquiry as a result the node of the Value value correspondence among first of Key-Value information table of corresponding node self maintained be described first node;
The response message that the CIMOM of described all nodes of described first node reception returns is forwarded to described CIM client with received response message.
5. method as claimed in claim 2 is characterized in that, described step b comprises:
Described first node with the Value value among first of the Key-Value information table of the described first node in the distributed hashtable network as the place information inquiry result;
Described first node is transmitted the request message that receives to the CIMOM of node corresponding to described place information inquiry result, and adds described first node address information in described request message; So that node corresponding to the Value value in described first is to the described request message that has added described first node address information of CIMOM forwarding of node corresponding to the Value value among first of the Key-Value information table of himself safeguarding, and so that each node that receives the described request message that has added described first node address information to the described request message that has added described first node address information of CIMOM forwarding of node corresponding to the Value value among first of the Key-Value information table of himself safeguarding, until the Value value corresponding node that receives among in the Key-Value information table of node self maintained of the above-mentioned request message that has added the first node address information first is first node;
The response message that the CIMOM of described all nodes of described first node reception returns according to described additional described first node address information is forwarded to described CIM client with received response message.
6. method as claimed in claim 2 is characterized in that, described step b also comprises:
Address and port information according to the message identifier of described request message, described CIM client generate the client that new information identifies initial request messages.
7. method as claimed in claim 6 is characterized in that, the positional information that described basis finds specifically comprises the CIMOM that described request message is forwarded to all nodes:
Whether the new information label table of inquiring about described first node according to the message identifier in the described request message comprises new information sign corresponding to this message identifier,
If do not comprise, then to the CIMOM Forward-reques message of described first node, and the new information that described message identifier is corresponding sign 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. a device that obtains Common Information Model CIM resource is characterized in that, described device comprises:
The CIMOM agency, be used for receiving the request message that the CIM client is sent to the inquiry CIM resource of first node, extract the keyword content in the described request message, judge that according to described keyword content described request message is the resource of the single Common Information Model Object Manager CIMOM of inquiry or the resource of inquiring about the CIMOM of all nodes;
The DHT agency is used for when the CIMMOM agency judges that described request message is the resource of the single CIMOM of inquiry, according to the positional information of described keyword content search purpose CIMOM; Or be used for when the CIMMOM agency judges that described request message is the resource of all node CIMOM of inquiry the positional information of searching all nodes;
The CIMOM agency, also be used for according to the positional information that the DHT agency searches described request message being forwarded to CIMOM corresponding to described positional information, receive the response message that CIMOM corresponding to described positional information returns, and the response message that receives is forwarded to described CIM client.
9. device as claimed in claim 8, it is characterized in that, described DHT agency is used for that also Hash operation is carried out in described first node IP address and generates the Value value, according to all CIMOM on the described first node of positioning service protocol discovery, obtain universal resource identifier URI or the uniform resource position mark URL of CIMOM all on the described first node, described URI or URL are carried out Hash operation obtain the Key value to generate the Key-Value information table of CIMOM, the Key-Value information table that generates is published to described distributed hashtable network.
10. device as claimed in claim 9 is characterized in that, described CIMOM agency also is used for realizing the issue of this node service ability, and the issue of described service ability comprises:
Definition positioning service protocol service type service type:DHT-CIMOM, the service ability of the form publisher node of foundation described positioning service agreement request/response; Or, in the template of distributed management working group definition, increase the service-type=DHT-CIMOM field to indicate the service ability of node.
11. device as claimed in claim 9 is characterized in that, described DHT agency specifically comprises according to the positional information of described keyword content search purpose CIMOM:
URI/URL in the described keyword content is carried out Hash operation obtain the Key value;
Search corresponding Value value according to the Key-Value information table in described Key value and the described distributed hashtable network.
12. device as claimed in claim 9 is characterized in that, described CIMOM agency also is used for generating the client that new information identifies initial request messages according to address and the port information of the message identifier of described request message, described CIM client.
13. device as claimed in claim 12 is characterized in that, described CIMOM agency specifically comprises the CIMOM that described request message is forwarded to all nodes according to the positional information that the DHT agency finds:
Whether the new information label table of inquiring about described first node according to the message identifier in the described request message comprises new information sign corresponding to this message identifier,
If do not comprise, then to the CIMOM Forward-reques message of described first node, and the new information that described message identifier is corresponding sign 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. device as claimed in claim 9 is characterized in that,
When CIMOM agency judges that described request message is the resource of CIMOM of all nodes of inquiry, described DHT agency specifically is used for: first Value value of the Key-Value information table of first node described in the distributed hashtable network is arrived the as a result CIMOM of corresponding node of described place information inquiry as the place information inquiry result so that the CIMOM agency transmits described request message, again with described place information inquiry as a result the Value value among first of Key-Value information table of corresponding node self maintained transmit step as the place information inquiry result so that described CIMOM agency repeats above-mentioned request message, until described DHT agency receive described place information inquiry as a result the node of the Value value correspondence among first of Key-Value information table of corresponding node self maintained be described first node; Or
When the CIMOM agent determines the request message is a query for all nodes CIMOM resource, specifically for the DHT agents : a distributed hash table of the first node in the network Key-Value information table in the first the Value of the results as location information to CIMOM agent to query the location information of the node corresponding to the result CIMOM forwards the received request message and the request message in said first node is added to the address information ; so that on the first the Value of the corresponding one of its own node of the key-Value maintaining the first item information table corresponding to the value in the Value CIMOM node forwarding the additional address information of said first node a request message , and to to a reception point of the additional address information of said first request message for each node maintains its own information key-Value in the first table entry corresponding to the value of the value node forwarding the additional of said CIMOM first node address information request message until it receives the first point of the additional address information request message node itself maintained key-Value information table, the first entry in the value node is the first node corresponds .
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 true CN102891763A (en) 2013-01-23
CN102891763B 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)

Cited By (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
CN109446103A (en) * 2018-11-14 2019-03-08 郑州云海信息技术有限公司 A kind of CIM Provider test method and device
WO2019137439A1 (en) * 2018-01-10 2019-07-18 中兴通讯股份有限公司 Method for managing distributed hash table network, network node, management node, and system

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

Cited By (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
WO2019137439A1 (en) * 2018-01-10 2019-07-18 中兴通讯股份有限公司 Method for managing distributed hash table network, network node, management node, and system
CN109446103A (en) * 2018-11-14 2019-03-08 郑州云海信息技术有限公司 A kind of CIM Provider test method and device

Also Published As

Publication number Publication date
WO2012167660A1 (en) 2012-12-13
CN102891763B (en) 2016-03-09

Similar Documents

Publication Publication Date Title
CN110138606B (en) Container network configuration method and system
EP1542409A1 (en) Protocol for multi-hop ad-hoc networks
CN104040964B (en) Method, device and data center network across service area communication
US8782212B2 (en) Detecting whether components are functioning together according to an operating hybrid solution
US10069941B2 (en) Scalable event-based notifications
WO2009111965A1 (en) Method, device and system of data synchronization
CN101616132A (en) A kind of data capture method and device thereof and system
CN111147308B (en) Network management method and system based on micro-service architecture
KR20190002674A (en) Resource subscription method, resource subscription device, and resource subscription system
US6425014B1 (en) Methods, systems and computer program products for providing network connection information in a cluster of data processing systems
CN101345657B (en) Method and system for cluster management of multiple network elements based on simple network management protocol
CN111901705A (en) OMCI function virtualization system of OLT equipment
US9021013B2 (en) Ubiquitous web service gateway and method
CN111314450A (en) Data transmission method and device, electronic equipment and computer storage medium
CN111352716A (en) Task request method, device and system based on big data and storage medium
CN102891763A (en) Method and device for acquiring CIM (Common Information Model) resource
CN103581353A (en) Method and system of automatic configuration of gateway device
CN112637037B (en) Cross-region container communication system, method, storage medium and computer equipment
CN111600929B (en) Transmission line detection method, routing strategy generation method and proxy server
CN113791733B (en) Information storage method, device, equipment and storage medium
CN111385324A (en) Data communication method, device, equipment and storage medium
Wang et al. Peer-Serv: A framework of Web services in peer-to-peer environment
CN114500341A (en) Terminal real-time control method and control server under wide area network
CN102118409B (en) Network service locating method based on role switching
US7418488B1 (en) Network address assignment server with configuration updating capability

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