CN101340368A - Web service distributed management system and method based on WSDM - Google Patents

Web service distributed management system and method based on WSDM Download PDF

Info

Publication number
CN101340368A
CN101340368A CNA2008101181278A CN200810118127A CN101340368A CN 101340368 A CN101340368 A CN 101340368A CN A2008101181278 A CNA2008101181278 A CN A2008101181278A CN 200810118127 A CN200810118127 A CN 200810118127A CN 101340368 A CN101340368 A CN 101340368A
Authority
CN
China
Prior art keywords
resource
management
function
container
web service
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
CNA2008101181278A
Other languages
Chinese (zh)
Other versions
CN101340368B (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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN 200810118127 priority Critical patent/CN101340368B/en
Publication of CN101340368A publication Critical patent/CN101340368A/en
Application granted granted Critical
Publication of CN101340368B publication Critical patent/CN101340368B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a Web service distributed management system based on WSDM, which comprises a resource case, a function realization module and a function selection module; the steps of the management method are that: A. the basic characteristics and attributes of the managed objects are analyzed; B. based on the analysis of the manageability and attributes, modeling is carried out on the managed objects, and the managed objects are modeled in the form of Web service resource; C. by the management system, the resource which is modeled is managed; D. consumers are managed to obtain management data by the management system, and the data is analyzed and displayed. In the management system, all the managed objects are expressed uniformly as the form of Web service resource, by the management of the Web service resource, the aim of managing the managed objects is realized, therefore, isomerism of the managed objects is shielded, at the same time, compatibility of models is improved, furthermore, the management port is not need to be opened, so safety disguise does not exist.

Description

Web service distributed management system and management method based on WSDM
Technical field
The present invention relates to a kind of Web service distributed management system and management method, be mainly used in management, also can be used for management other the IT objects that can be managed to Web service and Web service operation container based on WSDM.
Background technology
Nowadays Web service has become most popular example in the Distributed Calculation, realizes Enterprise SOA by the Web service technology, and enterprise can solve the business integration problem in the enterprise and between enterprise flexibly.Because Web service more and more is incorporated in the business application of enterprise widely, problems such as the management of service and performance monitoring also day by day highlight, and make the demand of monitoring and managing them become particularly important.Yet because the application of Web service can be striden different enterprises, main frame, operating system, therefore measurement, the control to Web service will become a problem.Web service is managed, comprise to the management of Web service itself and use Web service to isomery and distributed systems manage two parts.But use the Web service management to be meant the management interface of developing managed object or assembly by Web service, make management system have a kind of uniform way to obtain the information and the transmitting control commands of managed object.And Web service itself management attention be to detect and control Web service itself and support the environment that their move, to guarantee the quality of Web service.
In the present distributed management technology relatively commonly used be the Java administration extensions (JavaManagementeXtensions, JMX).JMX is one and implants the framework of management functions for application program, equipment, system etc., and it provides the method for standard to come management resource, and realized that dynamic proxy manages these resources.Though JMX is a kind of framework that can expand, it can't utilize the existing capability of Web service container, and needs open management port, has caused potential safety hazard.Another kind of administrative skill is that (Web Services DistributedManagement WSDM), is the standard about the Web service management that the OASIS tissue proposes to the Web service distributed management, and it is to utilize Web service to solve the integrated problem of management.This standard comprises management (MOWS) two parts that use Web service management (MUWS) and Web service.Use Web service management (MUWS) normalized definition how to represent and visit manageability interface as the resource of Web service.The management of Web service (MOWS) normalized definition how Web service is managed as resource and how to be used MUWS to describe and the visit manageability.But this web administration technology is a management regulation, specifically how to realize also unspecified.
Summary of the invention
Technology of the present invention is dealt with problems: overcome the deficiencies in the prior art, a kind of Web service distributed management system and management method based on WSDM is provided, this invention has shielded the isomerism of managed object, improved the interoperability of the compatible and management of model, and do not need open management port, therefore do not have safe concealment.
Technical solution of the present invention: a kind of Web service distributed management system based on WSDM comprises: resource container, function realize module and function selecting module, wherein:
The resource container provides the searching of storage that state resource WS-Resource is arranged, resource, and resource life cycle management, and wherein the resource life cycle management comprises the establishment and the destruction of resource;
Function selecting module has the resource WS-Resource of state all to preserve a mapping table from Resource Properties to concrete management function in the resource container each, and the Property Name of concrete consumer's management request is mapped in the concrete management function;
Function realizes module, is used for realization to concrete management function, equal state of in store corresponding management attribute during each function realizes;
When the management consumer will manage when asking to send to management system, at first by the request of resource container receiving management, and parse the sign and the Resource Properties of resource, give function selecting module with the resource identification and the Resource Properties that parse then, function selecting module finds the attribute function mapping table of this resource correspondence according to resource identification, then by finding corresponding management function in the Resource Properties title dependency function mapping table, function realizes that module realizes concrete management function, then management function is consigned to concrete management object, from managed object, obtain concrete management data and return to function realization module, function realizes that module consigns to the resource container with concrete management data again, the soap message that the resource container structure returns returns to the management consumer.
A kind of Web service management method based on WSDM, it may further comprise the steps:
The first step, the essential characteristic and the attribute of analysis managed object;
Second step, based on above manageability and attributive analysis managed object is carried out modeling, these managed objects are modeled as the form of Web service resource;
In the 3rd step, the resource that above modeling is good is put into above-mentioned management system, is about to the good resource of modeling and puts into the resource container of management system and manage, and management process is as follows:
A. when the management consumer managed managed object, the management consumer at first sent based on the management of soap message and asks the resource container;
B. this soap message request of resource container analysis, therefrom extract resource identifier and Property Name, each soap message request to bookkeeping all is an XML fragment, and all include resource ID and concrete Resource Properties title in the soap message request, can obtain the ID and the Resource Properties title of resource by the XML resolver resolves;
C. resource container analysis soap message, therefrom extract resource identifier and Property Name, each soap message to bookkeeping all is an XML fragment, and all include resource ID and concrete Resource Properties title in the soap message, can obtain the ID and the Resource Properties title of resource by the XML resolver resolves;
D. resource ID and the Resource Properties title that obtains sent to function selecting module, obtain the title of management function in the attribute function mapping table of from function selecting module, preserving;
E. realize that according to the management function title calling function that is resolved among the step c the concrete management function in the module realizes, obtain the state value of attribute, return to the resource container.Since function realize providing in the module function realize in the synchronous mechanism of attribute status value of property value and concrete management object, be the current state value of managed object so guaranteed the attribute status value of returning;
F. the resource container obtains the attribute status value that steps d is returned, and the soap message that structure returns returns to the management consumer, has finished management process once;
The present invention's advantage compared with prior art is:
(1) the present invention is because the form based on the Web service resource of WSDM of being expressed as that all managed object is unified, reach the purpose that managed object is managed by management to the Web service resource, therefore the present invention has shielded the isomerism of managed object towards resource.
(2) compatibility of model.The Web service distribution management method that the present invention is based on WSDM is because based on WSDM, therefore can describe and encapsulate any resource model (as CIM, SMNP, SID etc.) and any resource model of encapsulation, and for it provides the relevant Web service interface, therefore, model of the present invention compatible good.
(3) the present invention does not need open management port, does not therefore have potential safety hazard.JMX of the prior art need open management port, has caused potential safety hazard like this, and the present invention is based on WSDM, and WSDM does not need open management port, therefore makes WSDM compare with JMX, is more suitable in the relevant management of Web service.
Description of drawings
Fig. 1 is a management system structural representation of the present invention;
Fig. 2 is the realization flow figure of management method of the present invention;
Fig. 3 realizes the flow chart of the first method that the maintenance function realizes in the module for function of the present invention.
Embodiment
The present invention proposes following three notions: but management object, management system, management consumer make an explanation to these three notions respectively below.
But management object, promptly need the object managed, assembly logic or physics in certain field, as printer, disk, application server such as Web service operation container and workflow engine or CRM programs, Web service, flow process etc., these objects all have the attribute of being managed, and all can be managed.
Management system mainly contains following three parts and forms: resource container, function realize module and function selecting module.The resource container provides the searching of storage that state resource WS-Resource is arranged, resource, and resource life cycle management, and wherein the resource life cycle management comprises the establishment and the destruction of resource; Function selecting module has the resource WS-Resource of state all to preserve a mapping table from Resource Properties to concrete management function in the resource container each, and the Property Name of concrete consumer's management request is mapped in the concrete management function; Function realizes module, is used for realization to concrete management function, equal state of in store corresponding management attribute during each function realizes.
The management consumer, but but the user of the management function of related one or more management resources can communicate and then realization management function according to given data format and management system.
The present invention is described in more detail below in conjunction with accompanying drawing
As shown in Figure 1, management system of the present invention is divided into resource container, function selecting module and function realization module three parts.
1, resource container
The resource container is described, the notion of Web service resource at first is described.
The Web service resource is the modeling to the resource that state is arranged, and obtains data context when being used for the Web service message, can be created, and distribution marker also can be destroyed.WS-Resource is that (Web ServicesResource FrameWork, WSRF) the important notion in propose in order to solve the stateless problem of traditional Web service the Web service resource framework.A Web service realizes being regarded as a stateless message handling device, it responds user's request and return results, but the state that the visit that the message that it is realized can be frequent, renewal other system assembly are kept may be database, file system or other entities." state " is an ambiguous notion, and it can be the attribute of a resource object, here is the resources definition that state is arranged: the detailed set of status data; The sign and the life cycle of good definition; Known, operate by one or more Web services.
The resource container provides the storage to resource status, the mechanism of searching, reach the resource life cycle management of resource, and wherein the resource life cycle management comprises the establishment and the destruction of resource.
The establishment of resource: during establishing resource, the corresponding resource example of resource container meeting instantiation is to its resource identification that carries out initialization and return this resource correspondence.In order to guarantee the uniqueness of resource identification between a large amount of resource examples, the resource container using system current time adds that a random number identifies a resource, thereby guarantees the uniqueness of resource ID.
The destruction of resource: the destruction of resource is meant when the life cycle of resource exhausts the deletion to resource.The resource container at first obtains the example of this resource by the ID of resource, the resource container is deleted it then.
Searching of resource: the searching of resource is meant that the resource container finds the attribute of the correspondence in the resource according to title, then the value of getattr or upgrade operation.At first obtain the example of this resource by resource ID, if resource exists, obtain its daughter element tabulation so, then the element in the tabulation is judged, if element term is identical with the Property Name of input, so just carry out obtaining or upgrading operation of property value, otherwise make recursive operation, up to finding this Resource Properties or visit failure.
The storage of resource status: the resource container is to store three kinds of resource, is stored in the internal memory, is stored in the hard disk neutralization and is stored in the database.Resource status is stored in the internal memory this mode performance that can offer the best, and can respond to request in the shortest time.Resource status is stored in and is meant in the hard disk form of some state of resources with file is stored on the hard disk, can effectively prevent the loss that system crash brings.State of resources is stored in the database, and the advantage of this mode is that it can provide powerful inquiry mechanisms such as using SQL statement.
2, function selecting module
Function selecting module is to the mapping table of all in store Resource Properties of each resource in the resource container to concrete management function, and is as shown in the table:
The attribute function mapping table
Resource Properties Management function
ResourceId IdentityCapability
Description DescriptionCapability
OperationalStatus OperationalStatusCapability
Metrics MetricsCapability
State StateCapability
Wherein the Property Name of resource comprises: the sign ResourceId of resource, the description Description of resource are the mode of operation OperationalStatus of resource, the statistics Metrics of resource, state of resources State; The management function title comprises: identification function IdentityCapability, representation function DescriptionCapability, mode of operation function OperationalStatusCapability, statistical function MetricsCapability, mode of operation function StateCapability.
To the difference of the management function of each management object, the length of mapping table is also different.Management function in the above-mentioned mapping table is the general management function that each management object all may have.Different management objects also has its distinctive attribute and corresponding management function.
When the management consumer will manage when asking to send to management system, at first by the resource container receiving management request in the management system, and parse the sign ResourceId and the Resource Properties of resource, give function selecting module with the resource identification ResourceId and the Resource Properties that parse then.
Function selecting module finds the attribute function mapping table of this resource correspondence according to resource identification ResourceId.Then by finding corresponding management function in the Resource Properties title dependency function mapping table.Concrete method is the attribute column that travels through mapping table from front to back successively, if find, then returns corresponding management function, if traverse being much to seek at last of mapping table, then returns sky.Function selecting module realizes that according to the title calling function of the management function that finds management function corresponding in the module realizes then.
3, function realizes module
Function realization module is used for to the realization of concrete management function, the state of in store corresponding management attribute during each function realizes.The state consistency of the management attribute in realizing in order to ensure each function in the state of in store management attribute and the real management object has adopted two kinds of methods.First method is that the realization attribute status value to corresponding in the managed object at set intervals of management function is inquired about, if attribute status value corresponding in the managed object has changed, function realizes just revising the state of the management attribute of wherein preserving, and it is consistent (as shown in Figure 3).After method was the attribute status value change of managed object in second, proactive notification feature realized that the function in the module realizes, function realization module is made amendment to the state of the management attribute of its preservation then.
Simultaneously, the management consumer may send the request of revising the managed object state.When the user sends when request, function realizes at first revising the state of the attribute of wherein preserving, and will be worth synchronously and be modified in the managed object.
4. the correlation between three modules
Fig. 1 has clearly illustrated the correlation between three modules, and when a managed object manages by this management system, flow process is divided into following a few step as shown in Figure 3:
When the management consumer will manage when asking to send to management system, at first by the request of resource container receiving management, and parse the sign and the Resource Properties of resource, give function selecting module with the resource identification and the Resource Properties that parse then, function selecting module finds the attribute function mapping table of this resource correspondence according to resource identification, then by finding corresponding management function in the Resource Properties title dependency function mapping table, function realizes that module realizes concrete management function, then management function is consigned to concrete management object, from managed object, obtain concrete management data and return to function realization module, function realizes that module consigns to the resource container with concrete management data again, the soap message that the resource container structure returns returns to the management consumer.
5. management method of the present invention mainly is divided into following step:
The first step: essential characteristic and the attribute of analyzing managed object
The basic management feature of managed object has performance, security strategy, stability, observability, controllability, state model, exercisable state, metric etc.Be example with the Web service container below, the characteristics of management and the attribute of managed object is described.Management to the Web service container comprises the management that Web service itself is reached support operation Web service assembly.
(1) Web service
At first be Web service, the management of Web service is comprised their quality such as the management of validity, performance etc. and their state.Be its detailed management information below.
◆ the QOS of Web service
Availability (Availability): whether immediately availability is to be used for portraying the Web service service quality of available aspect.
Performance (Performance): performance is to be used for measuring the throughput of Web service and the service quality of response time aspect.Throughput is used for being illustrated in the number of times that Web service is requested to serve in given a period of time.Response time is meant to send a request message from client and begins to turn back to turnaround time between the client to response message.
Stability: stability is meant the tolerance of Web service when service is provided.Stability comprises availability factor, success rate and can reach rate.Availability factor is meant the time ratio of Web service container operate as normal, and the rate that can reach is meant that under the situation that the Web service container can be used, it can receive the percentage of request, and success rate is meant the ratio that the Web service request is successfully handled.
◆ the tolerance of Web service
In MOWS, define the Web service metric attribute, comprised NumberOfRequests, NumberOfFailedRequests, NumberOfSuccessfulRequets, ServiceTime, MaxResponseTime, AvarageResponseTime.
NumberOfRequests is meant the request number that the Web service end points is received, NumberOfFailedRequests is meant Web service end points reception soap message and returns the number of wrong soap message, ServiceTime refers to that the processing of Web service end points is correctly called or the total time of error calls, AvarageResponseTime is meant the average response time of Web service when handling request call, and it is an extremely important and useful index that is used to measure the Web service load.
◆ the life cycle of Web service
The Web service object is the same with object in the other technologies framework, exists the notion of life cycle.Wherein the state of the whole life of Web service has two kinds of run mode and inoperative attitudes.Run mode is divided into two kinds of Idle state and busy attitudes again.The inoperative attitude is divided into again and stops three kinds of attitude, middle off-state and saturated mode.
(2) the Web service container is the Web service run time infrastructure
The startup of container, suspend, stop.
System's work-load monitors, comprising:
Figure A20081011812700111
The request number of finishing
Request number undetermined
Figure A20081011812700113
The request number of carrying out
Figure A20081011812700114
The request number of improper execution
Figure A20081011812700115
Maximum wait time
Figure A20081011812700116
The current stand-by period
The essential information of system comprises title, state, operation conditions, listening port, start-up time, version information, OS title, the os release of container.
The essential information of associated component monitors as thread pool statistical information, object pool statistical information, memory usage, Java Virtual Machine.
Second step: based on above manageability and attributive analysis managed object is carried out modeling, these managed objects are expressed as the form of resource.
Because based on the key concept of the distribution management method of WSDM be exactly with managed object as the Web service resource management, the notion of Web service resource is illustrated in management system.
The notion of Web service resource has been arranged, just can define the WSDM resource, the resource that defines among WSRF is injected into about managerial attribute and function and promptly is called the WSDM resource.What " resource " speech that uses later referred to all is " WSDM resource ".
With the Web service container is example, resource entity is used as in Web service itself, it has state, and the life cycle that Web service has, the index of the QOS of the Web service for example throughput, response time, stability etc. of Web service can be the states of this resource entity.And for the run time infrastructure of Web service, its object pool, thread pool, Java Virtual Machine can be regarded resource as, the use schedule information of the size of object pool, thread pool, the operating position of Java Virtual Machine can be regarded their state as, and Web service running environment itself also can be regarded as resource, and the basic service data of it some can be regarded as its state.When the notion of using WSDM manages them, use WS-Resource that they are carried out modeling with regard to needs so.
Modeling method a: attribute that each level of control is created as resource, here provide a kind of form to represent the attribute of resource with XML document, but the top layer element in the document has comprised all properties of this management resource, is example with the Web service container, is concrete steps below:
A. the identification function of establishing resource, the target of sign is to judge whether two entities are identical, the attribute description of this function correspondence is ResourceID.But each management resource all must provide this attribute, the definition of XML document Schema:
<xs:schema targetNamespace=″http://example.org/services/Container.xsd″>
<xs:element name=″Container″>
<xs:complexType>
<xs:sequence>
<xs:element ref=″muws-p1-xs:ResourceId″/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
B. the representation function of creating resource is Description, and this function comprises three attributes:
Caption,Description,and Version。Above-mentioned Schema is expanded, as follows:
<xs:schema targetNamespace=″http://example.org/services/Container.xsd″>
<xs:element name=″Container″>
<xs:complexType>
<xs:sequence>
<xs:element ref=″muws-p1-xs:ResourceId″/>
<xs:element ref=″muws-p2-xs:Caption″
min0ccurs=″0″max0ccurs=″unbounded″/>
<xs:element ref=″muws-p2-xs:Description″
min0ccurs=″0″max0ccurs=″unbounded″/>
<xs:element ref=″muws-p2-xs:Version″
min0ccurs=″0″/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
C. the mode of operation function of establishing resource is Operational Status, this functional definition the availability of a resource.The mode of operation attribute comprises following: Available: the resource operational excellence can receive new request; Unavailable: the resource collapse does not receive new request; PartiallyAvailable: half good half is bad; Unknown: the unknown.Continuation is expanded Schema:
<xs:schema targetNamespace=″http://example.org/servi ces/Container.xsd″>
<xs:element name=″Container″>
<xs:compl exType>
<xs:sequence>
<xs:element ref=″muws-p1-xs:ResourceId″/>
<xs:element ref=″muws-p2-xs:Caption″
min0ccurs=″0″max0ccurs=″unbounded″/>
<xs:element ref=″muws-p2-xs:Description″
min0ccurs=″0″max0ccurs=″unbounded″/>
<xs:element ref=″muws-p2-xs:Version″
min0ccurs=″0″/>
<xs:element ref=″muws-p2-xs:OperationalStatus″/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
The method of all establishing resource attributes is all shown in top a, b, c, but for all management resources, more common attribute is measured Metrics, state State in addition.Certainly for specific resource its specific management function is arranged, so can define some specific attribute.For example, for the Web service container, need be to its object pool, thread pool monitoring, then need to expand definition and object pool, attribute that thread pool is relevant.As follows:
<xs:schema targetNamespace=″http://example.org/services/Container.xsd″>
<xs:element name=″Container″>
<xs:complexType>
<xs:sequence>
<xs:element ref=″muws-p1-xs:ResourceId″/>
<xs:element ref=″muws-p2-xs:Caption″
min0ccurs=″0″max0ccurs=″unbounded″/>
<xs:element ref=″muws-p2-xs:Description″
min0ccurs=″0″max0ccurs=″unbounded″/>
<xs:element ref=″muws-p2-xs:Version″
min0ccurs=″0″/>
<xs:element ref=″muws-p2-xs:OperationalStatus″/>
<xs:element name=″ObjectPool″>
<xs:complexType>
<xs:sequence>
<xs:element name=″InPoolSize″/>
<xs:element name=″OutPoolSize″/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name=″ThreadPool″>
<xs:complexType>
<xs:sequence>
<xs:element name=″ActiveCount″/>
<xs:element name=″CompletedTaskCount″/>
<xs:element name=″CurrentTreadCount″/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
This step has illustrated how managed object is carried out modeling, comprises general management attribute and peculiar management attribute how to create corresponding modeling resource.
The 3rd step: the resource that above modeling is good is put into aforesaid management system
(1) resource that modeling is good is put into the resource container of management system.
The resource container provides the storage to resource status, the mechanism of searching, reach the resource life cycle management of resource, and wherein the resource life cycle management comprises the establishment and the destruction of resource.Thus the management of managed object is just converted to management to resource.
(2) can manage this resource by management system.Concrete management method is as follows:
A. when the management consumer managed managed object, the management consumer at first sent based on the management of soap message and asks the resource container;
B. this soap message request of resource container analysis, therefrom extract resource identifier and Property Name, each soap message request to bookkeeping all is an XML fragment, and all include resource ID and concrete Resource Properties title in the soap message request, can obtain the ID and the Resource Properties title of resource by the XML resolver resolves;
C. resource container analysis soap message, therefrom extract resource identifier and Property Name, each soap message to bookkeeping all is an XML fragment, and all include resource ID and concrete Resource Properties title in the soap message, can obtain the ID and the Resource Properties title of resource by the XML resolver resolves;
D. resource ID and the Resource Properties title that obtains sent to function selecting module, obtain the title of management function in the attribute function mapping table of from function selecting module, preserving;
E. realize that according to the management function title calling function that is resolved among the step c the concrete management function in the module realizes, obtain the state value of attribute, return to the resource container.Since function realize providing in the module function realize in the synchronous mechanism of attribute status value of property value and concrete management object, be the current state value of managed object so guaranteed the attribute status value of returning;
F. the resource container obtains the attribute status value that steps d is returned, and the soap message that structure returns returns to the management consumer, has finished management process once;
The 4th step: manage the management of consumer's management request realization to managed object by processing
In the middle of the application of reality, in the time of certain certain management function of management consumer wants request, the request at first will managed is mapped to the attribute of resource, send to management system by the request message that meets resource specification then, processing by management system, when getting response packet from management system, therefrom extract the value of predefined attribute, because this management method is based on the WSDM agreement, the form of all corresponding messages of managed object all is identical, has therefore improved interoperability and extensibility.Managing the consumer then will return the result who comes and represent to the user according to unified processing mode.
So far, finish dealing with, thereby realized management managed object from the management whole management process of consumer to management system to managed object.
Realization provided by the invention is mainly used in management to Web service and Web service operation container based on the Web service distributed management system of WSDM and management method, also can be used for the management to other the IT objects that can be managed.Therefore the present invention has shielded the isomerism of managed object because the form that is expressed as the Web service resource that all managed objects is unified reaches the purpose that managed object is managed by the management to the Web service resource.Simultaneously because this management system has defined the management function of series of standards, there is a kind of agreement the management consumer with between by management resource, which type of message the management consumer understands and could carry out between consumer and resource alternately, has therefore improved the interoperability of the compatible and management of model.The unspecified part of the present invention belongs to techniques well known.
Although disclose most preferred embodiment of the present invention and accompanying drawing for the purpose of illustration, it will be appreciated by those skilled in the art that: without departing from the spirit and scope of the invention and the appended claims, various replacements, variation and modification all are possible.Therefore, the present invention should not be limited to most preferred embodiment and the disclosed content of accompanying drawing.

Claims (9)

1, a kind of Web service distributed management system based on WSDM is characterized in that comprising: resource container, function realize module and function selecting module, wherein:
The resource container provides the searching of storage that state resource WS-Resource is arranged, resource, and resource life cycle management, and wherein the resource life cycle management comprises the establishment and the destruction of resource;
Function selecting module has the resource WS-Resource of state all to preserve a mapping table from Resource Properties to concrete management function in the resource container each, and the Property Name of concrete consumer's management request is mapped in the concrete management function;
Function realizes module, is used for realization to concrete management function, equal state of in store corresponding management attribute during each function realizes;
When the management consumer will manage when asking to send to management system, at first by the request of resource container receiving management, and parse the sign and the Resource Properties of resource, give function selecting module with the resource identification and the Resource Properties that parse then, function selecting module finds the attribute function mapping table of this resource correspondence according to resource identification, then by finding corresponding management function in the Resource Properties title dependency function mapping table, function realizes that module realizes concrete management function, then management function is consigned to concrete management object, from managed object, obtain concrete management data and return to function realization module, function realizes that module consigns to the resource container with concrete management data again, the soap message that the resource container structure returns returns to the management consumer.
2, the Web service distributed management system based on WSDM according to claim 1, it is characterized in that: the establishment of resource is embodied as in the described resource container: during establishing resource, the corresponding resource example of resource container meeting instantiation, to its resource identification that carries out initialization and return this resource correspondence, in order between a large amount of resource examples, to guarantee the uniqueness of resource identification, the resource container using system current time adds that a random number identifies a resource, thereby guarantees the uniqueness of resource ID.
3, the Web service distributed management system based on WSDM according to claim 1, it is characterized in that: the destruction of resource is embodied as in the described resource container: the destruction of resource is meant when the life cycle of resource exhausts the deletion to resource, the resource container at first obtains the example of this resource by the ID of resource, the resource container is deleted it then.
4, the Web service distributed management system based on WSDM according to claim 1, it is characterized in that: searching of resource is embodied as in the described resource container: the searching of resource is meant that the resource container finds the attribute of the correspondence in the resource according to title, then the value of getattr or upgrade operation.At first obtain the example of this resource by resource ID, if resource exists, obtain its daughter element tabulation so, then the element in the tabulation is judged, if element term is identical with the Property Name of input, so just carry out obtaining or upgrading operation of property value, otherwise make recursive operation, up to finding this Resource Properties or visit failure.
5, the Web service distributed management system based on WSDM according to claim 1, it is characterized in that: the storage of resource status in the described resource container: the resource container is to store three kinds of resource, promptly be stored in the internal memory, be stored in hard disk neutralization and be stored in the database, wherein resource status is stored in the performance that can offer the best in the internal memory, and can respond to request in the shortest time; Resource status is stored in and is meant in the hard disk form of some state of resources with file is stored on the hard disk, can effectively prevent the loss that system crash brings; State of resources is stored in the database, can provide to use the powerful inquiry mechanism of statement.
6, the Web service distributed management system based on WSDM according to claim 1, it is characterized in that: the mapping table in the described function selecting module comprises following content at least:
The attribute function mapping table
The Resource Properties title The management function title ResourceId IdentityCapability Description DescriptionCapability OperationalStatus OperationalStatusCapability Metrics MetricsCapability State StateCapability
Wherein the Property Name of resource comprises: the sign ResourceId of resource, the description Description of resource are the mode of operation OperationalStatus of resource, the statistics Metrics of resource, state of resources State; The management function title comprises: identification function IdentityCapability, representation function DescriptionCapability, mode of operation function OperationalStatusCapability, statistical function MetricsCapability, mode of operation function StateCapability; To the difference of the management function of each management object, the length of mapping table is also different.
7, the Web service distributed management system based on WSDM according to claim 1.
It is characterized in that: described function realize module each function is realized in all the implementation method of the state of in store corresponding management attribute be two kinds: first method is that the realization of management function is inquired about attribute status value corresponding in the managed object at set intervals, if attribute status value corresponding in the managed object has changed, function realizes that the function in the module realizes just revising the state of the management attribute of wherein preserving, and is consistent it; After method was the attribute status value change of managed object in second, proactive notification feature realized that the function in the module realizes, function realization module is made amendment to the state of the management attribute of its preservation then.
8, a kind of Web service distribution management method based on WSDM is characterized in that may further comprise the steps:
The first step, the essential characteristic and the attribute of analysis managed object;
Second step, based on above manageability and attributive analysis managed object is carried out modeling, with these managed object modelings, be expressed as the resource WS-Resource form of state;
In the 3rd step, the resource container that the resource WS-Resource that state is arranged that above modeling is good puts into the described management system of claim 1 manages, and management process is as follows:
A. when the management consumer managed managed object, the management consumer at first sent based on the management of soap message and asks the resource container;
B. this soap message request of resource container analysis, therefrom extract resource identifier and Property Name, each soap message request to bookkeeping all is an XML fragment, and all include resource ID and concrete Resource Properties title in the soap message request, can obtain the ID and the Resource Properties title of resource by the XML resolver resolves;
C. resource container analysis soap message, therefrom extract resource identifier and Property Name, each soap message to bookkeeping all is an XML fragment, and all include resource ID and concrete Resource Properties title in the soap message, can obtain the ID and the Resource Properties title of resource by the XML resolver resolves;
D. resource ID and the Resource Properties title that obtains sent to function selecting module, obtain the title of management function in the attribute function mapping table of from function selecting module, preserving;
E. realize that according to the management function title calling function that is resolved among the step c the concrete management function in the module realizes, obtain the state value of attribute, return to the resource container.Since function realize providing in the module function realize in the synchronous mechanism of attribute status value of property value and concrete management object, be the current state value of managed object so guaranteed the attribute status value of returning;
F. the resource container obtains the attribute status value that steps d is returned, and the soap message that structure returns returns to the management consumer, has finished management process once.
9, the Web service distribution management method based on WSDM according to claim 8, it is characterized in that: the mapping table in the described function selecting module comprises following content at least:
The attribute function mapping table
The Resource Properties title The management function title ResourceId IdentityCapability Description DescriptionCapability OperationalStatus OperationalStatusCapability Metrics MetricsCapability State StateCapability
Wherein the Property Name of resource comprises: the sign ResourceId of resource, the description Description of resource are the mode of operation OperationalStatus of resource, the statistics Metrics of resource, state of resources State; The management function title comprises: identification function IdentityCapability, representation function DescriptionCapability, mode of operation function OperationalStatusCapability, statistical function MetricsCapability, mode of operation function StateCapability; To the difference of the management function of each management object, the length of mapping table is also different.
CN 200810118127 2008-08-12 2008-08-12 Web service distributed management system and method based on WSDM Expired - Fee Related CN101340368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810118127 CN101340368B (en) 2008-08-12 2008-08-12 Web service distributed management system and method based on WSDM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810118127 CN101340368B (en) 2008-08-12 2008-08-12 Web service distributed management system and method based on WSDM

Publications (2)

Publication Number Publication Date
CN101340368A true CN101340368A (en) 2009-01-07
CN101340368B CN101340368B (en) 2013-02-06

Family

ID=40214325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810118127 Expired - Fee Related CN101340368B (en) 2008-08-12 2008-08-12 Web service distributed management system and method based on WSDM

Country Status (1)

Country Link
CN (1) CN101340368B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035890A (en) * 2010-12-08 2011-04-27 中国科学院声学研究所 Web service concurrency control method and system based on IOT (Internet of Things)-oriented application
CN102420697A (en) * 2011-09-07 2012-04-18 北京邮电大学 Service-configurable comprehensive resource monitoring managing system and method
CN102571405A (en) * 2010-12-31 2012-07-11 中国移动通信集团设计院有限公司 Method and device for acquiring resource information
CN103236954A (en) * 2013-04-07 2013-08-07 北京航空航天大学 Web service evaluation system in mobile network
CN103780629A (en) * 2014-02-14 2014-05-07 北京工业大学 Concurrent access request incidence relation-oriented access control harmonizing method and device
CN106528294A (en) * 2016-11-04 2017-03-22 郑州云海信息技术有限公司 Resource pool management method and system
CN107135103A (en) * 2017-05-08 2017-09-05 网宿科技股份有限公司 The method and system of content construction distribution network platform on heterogeneous resource
CN108574712A (en) * 2017-03-13 2018-09-25 阿里巴巴集团控股有限公司 A kind of creation method and device of container service cluster

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805345B (en) * 2005-01-12 2010-09-08 北京航空航天大学 Web service work flow processor
CN100411355C (en) * 2005-08-20 2008-08-13 华为技术有限公司 Information service hierarchy inheritance relation realizing method in network management interface

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035890A (en) * 2010-12-08 2011-04-27 中国科学院声学研究所 Web service concurrency control method and system based on IOT (Internet of Things)-oriented application
CN102035890B (en) * 2010-12-08 2013-05-29 中国科学院声学研究所 Web service concurrency control method and system based on IOT (Internet of Things)-oriented application
CN102571405B (en) * 2010-12-31 2016-01-20 中国移动通信集团设计院有限公司 The acquisition methods of resource information and device
CN102571405A (en) * 2010-12-31 2012-07-11 中国移动通信集团设计院有限公司 Method and device for acquiring resource information
CN102420697B (en) * 2011-09-07 2015-08-19 北京邮电大学 A kind of comprehensive resources management system for monitoring of configurable service and method thereof
CN102420697A (en) * 2011-09-07 2012-04-18 北京邮电大学 Service-configurable comprehensive resource monitoring managing system and method
CN103236954A (en) * 2013-04-07 2013-08-07 北京航空航天大学 Web service evaluation system in mobile network
CN103236954B (en) * 2013-04-07 2016-05-25 北京航空航天大学 Mobile network's Web service evaluation system
CN103780629A (en) * 2014-02-14 2014-05-07 北京工业大学 Concurrent access request incidence relation-oriented access control harmonizing method and device
CN103780629B (en) * 2014-02-14 2017-01-18 北京工业大学 Concurrent access request incidence relation-oriented access control harmonizing method and device
CN106528294A (en) * 2016-11-04 2017-03-22 郑州云海信息技术有限公司 Resource pool management method and system
CN108574712A (en) * 2017-03-13 2018-09-25 阿里巴巴集团控股有限公司 A kind of creation method and device of container service cluster
CN108574712B (en) * 2017-03-13 2021-06-01 阿里巴巴集团控股有限公司 Method and device for creating container service cluster
CN107135103A (en) * 2017-05-08 2017-09-05 网宿科技股份有限公司 The method and system of content construction distribution network platform on heterogeneous resource
US11102089B2 (en) 2017-05-08 2021-08-24 Wangsu Science & Technology Co., Ltd. Method and system for constructing content delivery network platform on heterogeneous resources

Also Published As

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

Similar Documents

Publication Publication Date Title
CN101340368B (en) Web service distributed management system and method based on WSDM
US9256413B2 (en) Automatic identification of services
García et al. SLA-driven dynamic cloud resource management
US8200628B2 (en) Multi-tenancy data storage and access method and apparatus
CN101277304B (en) Management system and management method for Web service operational environment based on rules
EP2477355B1 (en) Method and device for managing association of network resources
US10120886B2 (en) Database integration of originally decoupled components
CN102650953B (en) Concurrently-optimized BPMN (Business Process Modeling Notation) combined service execution engine and method
CN109656879B (en) Big data resource management method, device, equipment and storage medium
CN106843945B (en) PaaS-based GIS application deployment method and system
US20080235387A1 (en) Method and Apparatus for the Dynamic Introduction of New Attributes into Policies
CN107844274B (en) Hardware resource management method, device and terminal based on super-fusion storage system
CN100481783C (en) Control system of grid service container
KR100845234B1 (en) Apparatus and method for parsing domain profile in software communication architecture
US8549129B2 (en) Live migration method for large-scale IT management systems
US10831565B2 (en) Fault tolerant adapter system to consume database as a service
CN101661584A (en) Dynamic order workflow template instantiator tracking system
US7937711B2 (en) Method and apparatus for providing a consolidated namespace to client applications in multi-tenant common information model (CIM) environments
CN105224296B (en) Web service Qos attribute evaluation system and its evaluation method based on independent third party
US7580989B2 (en) System and method for managing access points to distributed services
Boumhamdi et al. A flexible approach to compose web services in dynamic environment
US20140019410A1 (en) Using Database Content for Multiple Business Data Systems Connected to One Database
CN114900449B (en) Resource information management method, system and device
Lin et al. A web services status monitoring technology for distributed system management in the cloud
CN112422308A (en) Method and device for realizing operation and maintenance monitoring

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130206

Termination date: 20130812