CN101820365B - 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
CN101820365B
CN101820365B CN2010100336688A CN201010033668A CN101820365B CN 101820365 B CN101820365 B CN 101820365B CN 2010100336688 A CN2010100336688 A CN 2010100336688A CN 201010033668 A CN201010033668 A CN 201010033668A CN 101820365 B CN101820365 B CN 101820365B
Authority
CN
China
Prior art keywords
service
qos
composite services
composite
services
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.)
Expired - Fee Related
Application number
CN2010100336688A
Other languages
Chinese (zh)
Other versions
CN101820365A (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 like traditional service QoS attribute: the response time: the duration that the request of service requester institute is served is accomplished in service; Service price: the expense of using service that the ISP provided to produce because of service requester; Accessibility: services 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 complex 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.To certain specific demand for services, there are multiple choices in the user, hopes to obtain inquiring about the service of books like the user, may have the service of the inquiry books that a plurality of different enterprises provide, and possibly there is 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 (like 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 services request; When carrying out service often through reading routing forwarding information; How this transmits and whether message need be modified to obtain current Simple Object Access Protocol (Simple Object Access Protocol is hereinafter to be referred as SOAP) message, and such service bus all is artificially to define forwarding strategy in advance to transmit 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 that the service bus of prior art is when carrying out composite services, and 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 the stability of the QoS of the composite services that can not guarantee to carry 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 service bus is that the composite services that the user provides 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 composite services analysis module; Be used to receive the request of the composite services that client sends and the QoS constraints of said composite services; Resolve the flowage structure of said composite services, and the QoS constraints of the request of said composite services, said composite services and the flowage structure of said composite services are sent to the service matching module;
Said service matching module; Be used to obtain the QoS information of the atomic service of said composite services; QoS information according to said atomic service; Carry out the service QoS dynamical Matching Algorithm, the atomic service in atomic service in the flowage structure of said composite services and the Service Source storehouse is mated, so that the QoS of the said composite services after the matching treatment satisfies the QoS constraints of said composite services;
The service call proxy module; Be used for matching result, obtain the atomic service of said coupling according to said atomic service, and according to the request of said composite services; The atomic service of said coupling is sent to the service execution engine, carries out the atomic service of said coupling for the service execution engine;
The service monitoring module, whether the QoS that is used to monitor composite services satisfies the QoS constraints of said composite services; When the QoS that detects said composite services does not satisfy the QoS constraints of said composite services, then send the adjustment request to service adjustment module, ask said 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 said service monitoring module is sent; Carry out the dynamic adjustment algorithm of service QoS the atomic service in the said composite services is adjusted, so that the QoS of adjusted said composite services satisfies the QoS constraints of said composite services.
Said service monitoring module; Whether the QoS that is used to detect the atomic service of said composite services has change; When the QoS of the atomic service that detects said composite services has change; Whether the QoS that further detects current composite services can satisfy the QoS constraints of said composite services, when the QoS that detects said current composite services does not satisfy the QoS constraints of said composite services, then sends the adjustment request to said service adjustment module.
Said service adjustment module is used to carry out the dynamic adjustment algorithm of preset service QoS, unenforced atomic service in the said composite services is adjusted, so that the QoS of adjusted said composite services satisfies the QoS constraints of said composite services.
Said service bus also comprises:
The composite services scheduler module is used to receive the request of said composite services, and carries out the dynamic dispatching algorithm of services request, said composite services is dispatched on the minimum composite services execution engine of load carries out.
The service bus of the support composite services QoS dynamic optimization that the embodiment of the invention provides; Through 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 said composite services, then the atomic service of composite services is adjusted accordingly, so that adjusted composite services can be satisfied the QoS constraints of said 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; To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, intactly description; 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 are not paying the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
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 with lower module at least, 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 through service matching module 12 and service call proxy module 13 by combinatory analysis module 11, carry out these composite services for the service execution engine.The function of this each module of service bus is following:
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, the 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, this atomic service of this coupling is sent to the service execution engine according to the request of these composite services, carry 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 services request, composite services is dispatched on the minimum composite services execution engine of load carries out.
Optional, 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,, then need carry out real-time monitoring to the QoS of composite services for the QoS that guarantees composite services satisfies the preset restriction condition; 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 monitoring module 15 and service adjustment module 16 realizations through inside are monitored and adjusted to service bus to the QoS of composite services.
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 adjustment request 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 is sent; 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.
Optional, 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 been carried out adjustment.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, the 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.
Can find out through above-mentioned explanation, when the QoS that detects composite services in service monitoring module 15 does not satisfy the QoS constraints of these composite services.Adjust through 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 adjustment request to service adjustment module 16.
When service adjustment module 16 receives the adjustment request; No longer adjust for executed atomic service; Therefore; Service adjustment module 16 is carried out the preset 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 preset QoS constraint.
The service bus of the support composite services QoS dynamic optimization that the embodiment of the invention provides; Through 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 that service bus is that the composite services that the user provides can have reliable and stable QOS.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of program command; Aforesaid program can be stored in the computer read/write memory medium; This program 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.
What should explain at last is: above embodiment is only in order to technical scheme of the present invention to be described but not limit it; Although the present invention has been carried out detailed explanation 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, also can not make amended technical scheme break away from the spirit and the scope of technical scheme of the present invention and these are revised or be equal to replacement.

Claims (4)

1. a service bus of supporting composite services service quality QoS dynamic optimization is characterized in that, comprising:
The composite services analysis module; Be used to receive the request of the composite services that client sends and the QoS constraints of said composite services; Resolve the flowage structure of said composite services, and the QoS constraints of the request of said composite services, said composite services and the flowage structure of said composite services are sent to the service matching module;
Said service matching module; Be used to obtain the QoS information of the atomic service of said composite services; QoS information according to said atomic service; Carry out the service QoS dynamical Matching Algorithm, the atomic service in atomic service in the flowage structure of said composite services and the Service Source storehouse is mated, so that the QoS of the said composite services after the matching treatment satisfies the QoS constraints of said composite services;
The service call proxy module; Be used for matching result, obtain the atomic service of said coupling according to said atomic service, and according to the request of said composite services; The atomic service of said coupling is sent to the service execution engine, carries out the atomic service of said coupling for the service execution engine;
The service monitoring module, whether the QoS that is used to monitor composite services satisfies the QoS constraints of said composite services; When the QoS that detects said composite services does not satisfy the QoS constraints of said composite services, then send the adjustment request to service adjustment module, ask said 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 said service monitoring module is sent; Carry out the dynamic adjustment algorithm of service QoS the atomic service in the said composite services is adjusted, so that the QoS of adjusted said composite services satisfies the QoS constraints of said composite services.
2. the service bus of support composite services QoS dynamic optimization according to claim 1 is characterized in that,
Said service monitoring module; Whether the QoS that is used to detect the atomic service of said composite services has change; When the QoS of the atomic service that detects said composite services has change; Whether the QoS that further detects current composite services can satisfy the QoS constraints of said composite services, when the QoS that detects said current composite services does not satisfy the QoS constraints of said composite services, then sends the adjustment request to said service adjustment module.
3. the service bus of support composite services QoS dynamic optimization according to claim 1 is characterized in that,
Said service adjustment module is used to carry out the dynamic adjustment algorithm of preset service QoS, unenforced atomic service in the said composite services is adjusted, so that the QoS of adjusted said composite services satisfies the QoS constraints of said 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 scheduler module is used to receive the request of said composite services, and carries out the dynamic dispatching algorithm of services request, said composite services is dispatched on the minimum composite services execution engine of load carries 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 CN101820365A (en) 2010-09-01
CN101820365B true 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)

Families Citing this family (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
CN102594851A (en) * 2011-01-07 2012-07-18 中国科学院遥感应用研究所 Method for dynamically building marine application service chain
CN102201995B (en) * 2011-06-03 2013-12-04 北京邮电大学 Combination service method for realizing network load optimization
CN103001892B (en) * 2012-12-12 2015-08-19 中国联合网络通信集团有限公司 Based on network resource allocation method and the system of 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
CN108681789B (en) * 2018-05-09 2021-10-08 浙江财经大学 Cloud manufacturing service optimization method

Citations (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
CN101064652A (en) * 2006-04-28 2007-10-31 Sap股份公司 Service-to-device mapping for smart items using a genetic algorithm
CN101465773A (en) * 2007-12-18 2009-06-24 闪联信息技术工程中心有限公司 Method and system for implementing interconnection between different isomery household network standards

Patent Citations (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
CN101064652A (en) * 2006-04-28 2007-10-31 Sap股份公司 Service-to-device mapping for smart items using a genetic algorithm
CN101465773A (en) * 2007-12-18 2009-06-24 闪联信息技术工程中心有限公司 Method and system for implementing interconnection between different isomery household network standards

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘书雷 等.《一种服务聚合中QoS 全局最优服务动态选择算法》.《软件学报》.2007,第18卷(第3期), *

Also Published As

Publication number Publication date
CN101820365A (en) 2010-09-01

Similar Documents

Publication Publication Date Title
CN101820365B (en) Service bus supporting dynamic optimization of QoS of composite service
US7949999B1 (en) Providing support for multiple interface access to software services
US9185006B2 (en) Exchange of server health and client information through headers for request management
US7949712B2 (en) High availability presence engine for instant messaging
US9471392B2 (en) Use of metrics to control throttling and swapping in a message processing
US20100037225A1 (en) Workload routing based on greenness conditions
US20060179059A1 (en) Cluster monitoring system with content-based event routing
JP2006528387A5 (en)
CN110308983A (en) Method for balancing resource load and system, service node and client
JP2000090058A (en) Device and method for publication and subscription data processing and computer program product
US8954592B1 (en) Determining computing-related resources to use based on client-specified constraints
KR20040000441A (en) Dynamic deployment of services in a computing network
CN102143237A (en) Grid-based Internet content delivery method and system
US20100191796A1 (en) Method and system for a service intermediary selection in a web service management system
CN105516238B (en) Data request method, device, node server and CDN system
CA2395444C (en) Method and apparatus for anonymous subject-based addressing
US7689685B2 (en) Autonomic monitoring for web high availability
CN102024233A (en) Transaction processing system
Sharma et al. Managing QoS through prioritization in web services
JP5208613B2 (en) Server system
US20060179342A1 (en) Service aggregation in cluster monitoring system with content-based event routing
CN108270857A (en) A kind of cloud computing operating system load-balancing method and system
KR20040110647A (en) Sysem and its method for load distribution between servers
Wang et al. Enhance resilience and qos awareness in message oriented middleware for mission critical applications
CN108075972A (en) A kind of automatic route system of integrated layer and method

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