CN101820365A - Service bus supporting dynamic optimization of QoS of composite service - Google Patents

Service bus supporting dynamic optimization of QoS of composite service Download PDF

Info

Publication number
CN101820365A
CN101820365A CN201010033668A CN201010033668A CN101820365A CN 101820365 A CN101820365 A CN 101820365A CN 201010033668 A CN201010033668 A CN 201010033668A CN 201010033668 A CN201010033668 A CN 201010033668A CN 101820365 A CN101820365 A CN 101820365A
Authority
CN
China
Prior art keywords
service
qos
composite services
described composite
atomic
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
CN201010033668A
Other languages
Chinese (zh)
Other versions
CN101820365B (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
Beijing University of Aeronautics and Astronautics
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 CN2010100336688A priority Critical patent/CN101820365B/en
Publication of CN101820365A publication Critical patent/CN101820365A/en
Application granted granted Critical
Publication of CN101820365B publication Critical patent/CN101820365B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Exchange Systems With Centralized Control (AREA)

Abstract

The invention discloses a service bus supporting the dynamic optimization of QoS of composite service, which comprises a service monitoring module and a service adjustment module, wherein the service monitoring module is used for monitoring whether the QoS of the composite service meets QoS constraint conditions of the composite service, and sending an adjustment request to the service adjustment module when detecting that the QoS of the composite service does not meet the QoS constraint conditions of the composite service; and the service adjustment module is used for adjusting atomic services in the composite service by executing a dynamic adjusting algorithm for the QoS of the service so as to make the QoS of the composite service meet the QoS constraint conditions of the composite service. By monitoring the QoS of the composite service in real time and carrying out corresponding adjustment in the process of executing the composite service, the service bus supporting the dynamic optimization of the QoS of the composite service guarantees the stability of the QoS of the composite service, and makes the composite service provided by the service bus for a user have steady and reliable QoS.

Description

Support the service bus of composite services QoS dynamic optimization
Technical field
The present invention relates to field of computer technology, particularly a kind of service bus of supporting composite services QoS dynamic optimization.
Background technology
Growth along with the web quantity of service, the user is to service quality (the Quality ofService of web service, hereinafter to be referred as QoS) certain requirement also proposed, the QoS of service can go to weigh from many aspects, comprises as traditional service QoS attribute: the response time: service is finished service requester and is asked the duration of serving; Service price: the expense of using service that the ISP provided to produce because of service requester; Accessibility: service request can arrive the probability of web service; Credit worthiness: Web service sometime the section in the generation the formed global assessment of trading activity.
In the application of web service, service bus provides complicated conversion, route and loose coupling linkage function as the bridge that service connects.Along with the growth of web quantity of service, the service that service bus can be selected also increases thereupon.At certain specific demand for services, there are multiple choices in the user, wishes to obtain inquiring about the service of books as the user, may have the service of the inquiry books that a plurality of different enterprises provide, and may there be very big difference in the QoS of these services.
In the web environment, the web service of satisfying the identical function demand and having a different QoS (as time of implementation, expense, accessibility, credit worthiness etc.) exists a plurality of, service bus needs therefrom selection to satisfy the atomic service of each service node functional requirement, forms composite services of satisfying user QoS demand.Usually, the QoS of the atomic service of composite services is dynamic change, so the QoS of composite services also is dynamic change.
Existing service bus is when using, all be that the routing policy that needs predefined to serve well carries out static forwarding to service request, when carrying out service often by reading routing forwarding information, obtain current Simple Object Access Protocol (Simple Object Access Protocol, hereinafter to be referred as SOAP) message this how to transmit and whether message needs to be modified, such service bus all is that the people transmits for pre-defining forwarding strategy again.Perhaps carrying out dynamic routing by service bus according to the content of service request information transmits.
In realizing process of the present invention, the inventor finds, the service bus of prior art is when carrying out composite services, the QoS according to service does not carry out the corresponding dynamic routing forwarding, and the QoS of composite services is dynamic changes, composite services its QoS when carrying out processings that be not optimized, so can not guarantee the stability of the QoS of the composite services carried out, service bus can not guarantee to have reliable and stable QoS for the composite services that the user provides.
Summary of the invention
The embodiment of the invention provides a kind of service bus of supporting composite services QoS dynamic optimization, to realize dynamic monitoring and the optimization process to composite services, guarantees that the composite services that service bus provides for the user have reliable and stable QoS.
The embodiment of the invention provides a kind of service bus of supporting composite services service quality QoS dynamic optimization, comprising:
The service monitoring module, whether the QoS that is used to monitor composite services satisfies the QoS constraints of described composite services; When the QoS that detects described composite services does not satisfy the QoS constraints of described composite services, then send the request of adjustment to service adjustment module, ask described service adjustment module that the atomic service in the composite services is adjusted;
Service adjustment module, be used for after receiving the adjustment request that described service monitoring module sends, carry out the dynamic adjustment algorithm of service QoS the atomic service in the described composite services is adjusted, so that the QoS of adjusted described composite services satisfies the QoS constraints of described composite services.
Described service monitoring module, whether the QoS that is used to detect the atomic service of described composite services has change, when the QoS of the atomic service that detects described composite services has change, whether the QoS that further detects current composite services can satisfy the QoS constraints of described composite services, when the QoS that detects described current composite services does not satisfy the QoS constraints of described composite services, then send the request of adjustment to described service adjustment module.
Described service adjustment module is used to carry out the dynamic adjustment algorithm of default service QoS, unenforced atomic service in the described composite services is adjusted, so that the QoS of adjusted described composite services satisfies the QoS constraints of described composite services.
Described service bus also comprises:
The composite services analysis module, be used to receive the request of the composite services that client sends and the QoS constraints of described composite services, resolve the flowage structure of described composite services, and the QoS constraints of the request of described composite services, described composite services and the flowage structure of described composite services are sent to the service matching module;
Described service matching module, be used to obtain the QoS information of the atomic service of described composite services, QoS information according to described atomic service, carry out the service QoS dynamical Matching Algorithm, atomic service in atomic service in the flowage structure of described composite services and the Service Source storehouse is mated, so that the QoS of the described composite services after the matching treatment satisfies the QoS constraints of described composite services;
The service call proxy module, be used for matching result, obtain the atomic service of described coupling according to described atomic service, and according to the request of described composite services, the atomic service of described coupling is sent to the service execution engine, carries out the atomic service of described coupling for the service execution engine.
Described service bus also comprises:
The composite services scheduler module is used to receive the request of described composite services, and carries out the dynamic dispatching algorithm of service request, and the composite services that described composite services are dispatched to the load minimum are carried out on the engine and carried out.
The service bus of the support composite services QoS dynamic optimization that the embodiment of the invention provides, by in the process of carrying out composite services, the QoS of monitoring composite services in real time, when the QoS of composite services can not satisfy the QoS constraints of described composite services, then the atomic service of composite services is adjusted accordingly, so that adjusted composite services can be satisfied the QoS constraints of described composite services at QoS, guaranteed the stability of the QoS of composite services, made service bus can have reliable and stable QoS for the composite services that the user provides.
Description of drawings
The service bus structural representation of the support composite services QoS dynamic optimization that Fig. 1 provides for one embodiment of the invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, 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 paying the every other embodiment that is obtained under the creative work prerequisite.
Fig. 1 is the service bus of the support composite services QoS dynamic optimization that provides of one embodiment of the invention, as shown in Figure 1, this service bus comprises at least with lower module, composite services analysis module 11, service matching module 12, service call proxy module 13, composite services scheduler module 14, service monitoring module 15 and service adjustment module 16.
When client when service bus has sent the composite services request, then receive the composite services requests, and carry out relevant treatment by service matching module 12 and service call proxy module 13 by combinatory analysis module 11, carry out this composite services for the service execution engine.The function of this each module of service bus is as follows:
Composite services analysis module 11, be used to receive the request of the composite services that client sends and the QoS constraints of these composite services, resolve the flowage structure of these composite services, and the request of these composite services, the QoS constraints of these composite services and the flowage structure of these composite services are sent to service matching module 12.
Service matching module 12, be used to obtain the QoS information of the atomic service of these composite services, QoS information according to this atomic service, carry out the service QoS dynamical Matching Algorithm, atomic service in atomic service in the flowage structure of these composite services and the Service Source storehouse is mated, so that the QoS of these composite services after the matching treatment satisfies the QoS constraints of these composite services.
Wherein, atomic service promptly constitutes each service of composite services, and the service execution engine can directly be carried out each atomic service, and the QoS of atomic service can have nothing in common with each other, and composite services can be selected the atomic service of various combination, and its QoS also has nothing in common with each other accordingly.
Service call proxy module 13, be used for matching result according to each atomic service of these composite services, obtain the atomic service of this coupling, and according to the request of these composite services, this atomic service of this coupling is sent to the service execution engine, carries out the atomic service of this coupling for the service execution engine.
Wherein, when carrying out composite services, the composite services scheduler module 14 of this service bus is used to receive the request of these composite services, and carries out the dynamic dispatching algorithm of service request, and the composite services that composite services are dispatched to the load minimum are carried out on the engine and carried out.
Optionally, in the present embodiment, the service QoS dynamical Matching Algorithm can be selected genetic algorithm for use.
Further, the QoS of the atomic service in the composite services is dynamic change, when carrying out the composite services of client, for the QoS that guarantees composite services satisfies the preset restriction condition, then need the QoS of composite services is carried out real-time monitoring, when the QoS that detects composite services change has taken place and when not satisfying the QoS constraints of these composite services, then adjusts accordingly.Wherein, the attribute of QoS can comprise: response time, service price, accessibility and credit worthiness etc., the QoS constraints of these composite services can be the constraints to these attributes, as to the constraint of response time or to constraint of credit worthiness etc.
Service bus is realized service monitoring module 15 and the service adjustment module 16 that the QoS of composite services monitors and adjusts by inside.
Service monitoring module 15, whether the QoS that is used to monitor composite services satisfies the QoS constraints of these composite services; When the QoS that detects these composite services does not satisfy the QoS constraints of these composite services, then send the request of adjustment to service adjustment module 16, the atomic service in 16 pairs of composite services of request service adjustment module is adjusted.
Wherein, information such as the response time of service, accessibility, service price and credit worthiness all are stored in the Service Source storehouse, and service monitoring module 15 can be obtained the relevant information of composite services from the Service Source storehouse, and the QoS of composite services is monitored.
Service adjustment module 16, be used for after receiving the adjustment request that service monitoring module 15 sends, carry out the dynamic adjustment algorithm of service QoS the atomic service in these composite services is adjusted, so that the QoS of adjusted these composite services satisfies the QoS constraints of these composite services.
Optionally, in the present embodiment, the dynamic adjustment algorithm of service QoS can be selected genetic algorithm for use.
After the atomic service of 16 pairs of composite services of service adjustment module has carried out adjusting.Then by service matching module 12, obtain the QoS information of the atomic service of these adjusted composite services, QoS information according to this atomic service, carry out the service QoS dynamical Matching Algorithm, atomic service in this atomic service and the Service Source storehouse is mated, so that the QoS of these composite services after the matching treatment satisfies the QoS constraints of these composite services.
Further, service call proxy module 13 is according to the matching result of each atomic service of these adjusted composite services, obtain the atomic service of this coupling, and this atomic service that will mate is sent to the service execution engine, carries out the atomic service of this coupling for the service execution engine.
When by above-mentioned explanation as can be seen, the QoS that detects composite services in service monitoring module 15 does not satisfy the QoS constraints of these composite services.Adjust by 16 pairs of composite services of service adjustment module, handle accordingly by service matching module 12 and service call proxy module 13 then, just realized dynamic adjustment thus composite services QoS.
Service monitoring module 15 is when the QoS of monitoring composite services, whether the atomic service that can detect respectively in the composite services has unusual change and causes QoS that variation has taken place, if the QoS of atomic service does not change, then the QoS of composite services can not change yet.When service monitoring module 15 detects atomic service in the composite services variation has taken place, whether the QoS that then further detects current composite services can satisfy the QoS constraints of these composite services, when the QoS that detects these composite services does not satisfy the QoS constraints of these composite services, then send the request of adjustment to service adjustment module 16.
Service adjustment module 16 receives when adjusting request, no longer adjust for executed atomic service, therefore, service adjustment module 16 is carried out the default dynamic adjustment algorithm of service QoS, unenforced atomic service in these composite services is adjusted, so that the QoS of adjusted these composite services satisfies default QoS constraint.
The service bus of the support composite services QoS dynamic optimization that the embodiment of the invention provides, by in the process of carrying out composite services, the QoS of monitoring composite services in real time, when the QoS of composite services can not satisfy the QoS constraints of these composite services, then the atomic service of composite services is adjusted accordingly, so that adjusted composite services can be satisfied the QoS constraints of composite services at QoS, guaranteed the stability of the QoS of composite services, made service bus can have reliable and stable QOS for the composite services that the user provides.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment is only in order to technical scheme of the present invention to be described but not limit it, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement technical scheme of the present invention, and these modifications or be equal to replacement and also can not make amended technical scheme break away from the spirit and scope of technical solution of the present invention.

Claims (5)

1. a service bus of supporting composite services service quality QoS dynamic optimization is characterized in that, comprising:
The service monitoring module, whether the QoS that is used to monitor composite services satisfies the QoS constraints of described composite services; When the QoS that detects described composite services does not satisfy the QoS constraints of described composite services, then send the request of adjustment to service adjustment module, ask described service adjustment module that the atomic service in the composite services is adjusted;
Service adjustment module, be used for after receiving the adjustment request that described service monitoring module sends, carry out the dynamic adjustment algorithm of service QoS the atomic service in the described composite services is adjusted, so that the QoS of adjusted described composite services satisfies the QoS constraints of described composite services.
2. the service bus of support composite services QoS dynamic optimization according to claim 1 is characterized in that,
Described service monitoring module, whether the QoS that is used to detect the atomic service of described composite services has change, when the QoS of the atomic service that detects described composite services has change, whether the QoS that further detects current composite services can satisfy the QoS constraints of described composite services, when the QoS that detects described current composite services does not satisfy the QoS constraints of described composite services, then send the request of adjustment to described service adjustment module.
3. the service bus of support composite services QoS dynamic optimization according to claim 1 is characterized in that,
Described service adjustment module is used to carry out the dynamic adjustment algorithm of default service QoS, unenforced atomic service in the described composite services is adjusted, so that the QoS of adjusted described composite services satisfies the QoS constraints of described composite services.
4. the service bus of support composite services QoS dynamic optimization according to claim 1 is characterized in that, also comprises:
The composite services analysis module, be used to receive the request of the composite services that client sends and the QoS constraints of described composite services, resolve the flowage structure of described composite services, and the QoS constraints of the request of described composite services, described composite services and the flowage structure of described composite services are sent to the service matching module;
Described service matching module, be used to obtain the QoS information of the atomic service of described composite services, QoS information according to described atomic service, carry out the service QoS dynamical Matching Algorithm, atomic service in atomic service in the flowage structure of described composite services and the Service Source storehouse is mated, so that the QoS of the described composite services after the matching treatment satisfies the QoS constraints of described composite services;
The service call proxy module, be used for matching result, obtain the atomic service of described coupling according to described atomic service, and according to the request of described composite services, the atomic service of described coupling is sent to the service execution engine, carries out the atomic service of described coupling for the service execution engine.
5. the service bus of support composite services QoS dynamic optimization according to claim 4 is characterized in that, also comprises:
The composite services scheduler module is used to receive the request of described composite services, and carries out the dynamic dispatching algorithm of service request, and the composite services that described composite services are dispatched to the load minimum are carried out on the engine and carried out.
CN2010100336688A 2010-01-04 2010-01-04 Service bus supporting dynamic optimization of QoS of composite service Expired - Fee Related CN101820365B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010100336688A CN101820365B (en) 2010-01-04 2010-01-04 Service bus supporting dynamic optimization of QoS of composite service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010100336688A CN101820365B (en) 2010-01-04 2010-01-04 Service bus supporting dynamic optimization of QoS of composite service

Publications (2)

Publication Number Publication Date
CN101820365A true CN101820365A (en) 2010-09-01
CN101820365B CN101820365B (en) 2012-07-04

Family

ID=42655318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010100336688A Expired - Fee Related CN101820365B (en) 2010-01-04 2010-01-04 Service bus supporting dynamic optimization of QoS of composite service

Country Status (1)

Country Link
CN (1) CN101820365B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997779A (en) * 2010-11-22 2011-03-30 华为技术有限公司 Method and device for controlling service quality
CN102201995A (en) * 2011-06-03 2011-09-28 北京邮电大学 Combination service system and method for realizing network load optimization
CN102594851A (en) * 2011-01-07 2012-07-18 中国科学院遥感应用研究所 Method for dynamically building marine application service chain
CN103001892A (en) * 2012-12-12 2013-03-27 中国联合网络通信集团有限公司 Network resource distribution method and system based on cloud computing
CN103888495A (en) * 2012-12-20 2014-06-25 ***通信集团辽宁有限公司 Execution method and system for combination service
CN103974101A (en) * 2014-06-03 2014-08-06 王军明 Video-related task routing scheduling method
CN108681789A (en) * 2018-05-09 2018-10-19 浙江财经大学 A kind of cloud manufacturing service optimization method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1764183A (en) * 2005-11-03 2006-04-26 西安交通大学 QoS driven computer system for providing combined Web service based on computer network
US7890568B2 (en) * 2006-04-28 2011-02-15 Sap Ag Service-to-device mapping for smart items using a genetic algorithm
CN101465773B (en) * 2007-12-18 2011-09-14 闪联信息技术工程中心有限公司 Method and system for implementing interconnection between different isomery household network standards

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997779A (en) * 2010-11-22 2011-03-30 华为技术有限公司 Method and device for controlling service quality
CN102594851A (en) * 2011-01-07 2012-07-18 中国科学院遥感应用研究所 Method for dynamically building marine application service chain
CN102201995A (en) * 2011-06-03 2011-09-28 北京邮电大学 Combination service system and method for realizing network load optimization
CN103001892A (en) * 2012-12-12 2013-03-27 中国联合网络通信集团有限公司 Network resource distribution method and system based on cloud computing
CN103888495A (en) * 2012-12-20 2014-06-25 ***通信集团辽宁有限公司 Execution method and system for combination service
CN103974101A (en) * 2014-06-03 2014-08-06 王军明 Video-related task routing scheduling method
CN108681789A (en) * 2018-05-09 2018-10-19 浙江财经大学 A kind of cloud manufacturing service optimization method
CN108681789B (en) * 2018-05-09 2021-10-08 浙江财经大学 Cloud manufacturing service optimization method

Also Published As

Publication number Publication date
CN101820365B (en) 2012-07-04

Similar Documents

Publication Publication Date Title
CN101820365B (en) Service bus supporting dynamic optimization of QoS of composite service
CA2644124C (en) Managing rich presence collections
US7949999B1 (en) Providing support for multiple interface access to software services
US8108345B2 (en) Managing rich presence collections in a single request
US8234559B2 (en) Managing rich presence collections
KR101634409B1 (en) Techniques for resource location and migration across data centers
US7949712B2 (en) High availability presence engine for instant messaging
US9185006B2 (en) Exchange of server health and client information through headers for request management
US20100037225A1 (en) Workload routing based on greenness conditions
US8954592B1 (en) Determining computing-related resources to use based on client-specified constraints
CN102143237A (en) Grid-based Internet content delivery method and system
US20100180002A1 (en) System for autonomic monitoring for web high availability
CN101883103A (en) The method and system of the client-side extensions of Web server gang fight structure in the cloud data center
JP2014530415A (en) Adjustment engine for cloud selection
JP2000090058A (en) Device and method for publication and subscription data processing and computer program product
JP2013516719A (en) Syndication of multiple service instances
CN102024233B (en) Transaction processing system
Sharma et al. Managing QoS through prioritization in web services
JP5208613B2 (en) Server system
US20080294728A1 (en) Service Discovery for Electronic Messaging Clients
KR20040110647A (en) Sysem and its method for load distribution between servers
Chen et al. Using service brokers for accessing backend servers for web applications
JP5556227B2 (en) Bus system
US8903977B2 (en) Data supply apparatus, system, and method for supplying data to hierarchically-connected data supply destinations
Heilgeist et al. Design and implementation of a distributed metascheduler

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

Granted publication date: 20120704

Termination date: 20170104

CF01 Termination of patent right due to non-payment of annual fee