CN101697530A - Service management system based on real-time dynamic service quality - Google Patents

Service management system based on real-time dynamic service quality Download PDF

Info

Publication number
CN101697530A
CN101697530A CN 200910309802 CN200910309802A CN101697530A CN 101697530 A CN101697530 A CN 101697530A CN 200910309802 CN200910309802 CN 200910309802 CN 200910309802 A CN200910309802 A CN 200910309802A CN 101697530 A CN101697530 A CN 101697530A
Authority
CN
China
Prior art keywords
service
quality
information
real
service quality
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
CN 200910309802
Other languages
Chinese (zh)
Other versions
CN101697530B (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.)
Shanghai Jiao Tong University
Original Assignee
Shanghai Jiao Tong 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 Shanghai Jiao Tong University filed Critical Shanghai Jiao Tong University
Priority to CN 200910309802 priority Critical patent/CN101697530B/en
Publication of CN101697530A publication Critical patent/CN101697530A/en
Application granted granted Critical
Publication of CN101697530B publication Critical patent/CN101697530B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Computer And Data Communications (AREA)

Abstract

一种互联网技术领域的基于实时动态服务质量的服务管理系统,包括:若干个服务质量度量模块、服务质量反馈模块和服务注册模块,其中:服务质量反馈模块与服务质量度量模块相连接以传输实时动态服务质量信息,服务质量度量模块与服务注册模块相连接以传输基于服务质量查找的待选服务信息,若干个服务质量度量模块之间相互连接以传输服务查找请求信息;本发明支持基于动态服务质量约束的服务查找,使服务消费者能够在众多的备选服务中精确地选中最符合需要的服务,同时要提高服务查找的准确率,从而提高基于服务计算的应用系统的可靠性和可维护性。

Figure 200910309802

A service management system based on real-time dynamic service quality in the field of Internet technology, including: several service quality measurement modules, service quality feedback modules and service registration modules, wherein: the service quality feedback module is connected with the service quality measurement module to transmit real-time Dynamic service quality information, the service quality measurement module is connected with the service registration module to transmit the candidate service information based on the service quality search, and several service quality measurement modules are connected to each other to transmit the service search request information; the present invention supports dynamic service based Quality-constrained service lookup enables service consumers to accurately select the service that best meets their needs among numerous alternative services, and at the same time improves the accuracy of service lookup, thereby improving the reliability and maintainability of service-based computing application systems sex.

Figure 200910309802

Description

基于实时动态服务质量的服务管理系统Service management system based on real-time dynamic service quality

技术领域 technical field

本发明涉及的是一种互联网技术领域的系统,具体是一种基于实时动态服务质量的服务管理系统。The invention relates to a system in the technical field of the Internet, in particular to a service management system based on real-time dynamic service quality.

背景技术 Background technique

当今,服务计算已经成为分布式计算与信息系统领域内迅速发展的方向,随着网络服务(Web Service)的发展与成熟,服务计算以面向服务架构(Service-orientedArchitecture,SOA)的形式得到了广泛的推广和应用。SOA通过采用独立于底层实现的方式重用现有各种异构的业务逻辑和数据模型,将分布式系统的构建成本、资源和时间开销都降至最低,从而降低了风险,可以使系统具备良好的敏捷性,能够在短期内满足系统业务变更的需求。因此,服务计算是不可逆转的发展潮流,把它向更广泛的领域进行推广势在必行。Today, service computing has become the direction of rapid development in the field of distributed computing and information systems. With the development and maturity of Web Services, service computing has been widely used in the form of Service-oriented Architecture (SOA). promotion and application. SOA reuses various existing heterogeneous business logic and data models in a manner independent of the underlying implementation, minimizing the construction cost, resource and time overhead of the distributed system, thereby reducing risks and enabling the system to have a good The agility of the system can meet the needs of system business changes in a short period of time. Therefore, service computing is an irreversible development trend, and it is imperative to promote it to a wider range of fields.

在基于服务计算的分布式系统中,系统的开发和部署模型都发生了极大的变化,服务的发现与组合成为了系统开发的主要工作。系统的开发者总是在互联网环境下,尽可能地发现符合要求的服务,并且通过组合实现复杂的业务流程,而这种组合并非像基于构件的开发中那样去获取服务的副本,然后在本地进行部署和运行,而是把在网络上发现的服务直接纳入到系统中。因此,对于基于服务计算的应用来说,其质量完全取决于构成它们的服务。由于在互联网环境下,服务的数量呈几何级数增长,在数量浩瀚且质量良莠不齐的服务中,如何保证基于服务计算的应用总是由高质量的服务构成就成为了必须要解决的问题。In the distributed system based on service computing, the development and deployment models of the system have undergone great changes, and the discovery and combination of services have become the main work of system development. The developer of the system always finds services that meet the requirements as much as possible in the Internet environment, and implements complex business processes through combination, but this combination does not obtain a copy of the service as in component-based development, and then locally Instead of deploying and running, services discovered on the network are directly incorporated into the system. Therefore, the quality of service-based computing applications depends entirely on the services that make them up. In the Internet environment, the number of services grows exponentially. Among the vast number of services with varying quality, how to ensure that service-based computing applications are always composed of high-quality services has become a problem that must be solved.

服务质量(Quality of Service,QoS)包含两个部分,即静态属性和动态属性,例如服务的价格和提供者信息等属于前者,而服务的性能、可靠性、安全性等属于后者。服务的动态属性构成了服务的动态服务质量,而其实时状态对于服务的使用者来说具有重要的意义,因为它反映了服务的当前可用的实际状态。因此,如果服务注册模块能够支持基于动态服务质量属性约束的服务查找,那么基于服务计算的应用系统就可以进行动态地服务错误探测和错误修复。Quality of Service (QoS) consists of two parts, namely static attributes and dynamic attributes. For example, service prices and provider information belong to the former, while service performance, reliability, and security belong to the latter. The dynamic properties of the service constitute the dynamic service quality of the service, and its real-time status is of great significance to the user of the service, because it reflects the actual status of the service currently available. Therefore, if the service registration module can support service lookup based on dynamic quality of service attribute constraints, then the application system based on service computing can perform dynamic service error detection and error repair.

但是,现有的服务注册模块,例如开源的jUDDI和IBM、微软等公司提供的服务注册模块都是基于功能性查找的,即按照服务的功能性约束进行服务查找,对于基于服务质量约束的服务查找则不支持。这就使得服务的使用者在进行服务查找时,在功能相同的服务中按照服务质量的进行选择时,缺乏实时客观的依据,只能依靠经验或测试来实现,而这种选择显然不够准确和科学。However, the existing service registration modules, such as the open source jUDDI and service registration modules provided by IBM, Microsoft and other companies are all based on functional search, that is, service search is performed according to the functional constraints of the service. For services based on service quality constraints Lookup is not supported. This makes service users lack real-time and objective basis when searching for services and choosing according to service quality among services with the same function, and can only rely on experience or testing to achieve, and this choice is obviously not accurate enough. science.

经过对现有技术的检索发现,中国专利文献号CN1968322记载了一种“网络服务发现和集成代理系统”,该技术能够针对服务质量方面的度量值进行服务查找,但是这种方法的前提是网络服务必须具有自我描述服务质量的能力。显然,这种方法一方面要扩展网络服务的描述语言,另一方面也无法根据动态服务质量的实时状态进行服务查找。After searching the existing technology, it is found that Chinese Patent Document No. CN1968322 records a "network service discovery and integration agent system". Services must have the ability to describe the quality of service themselves. Obviously, on the one hand, this method needs to expand the description language of network services, and on the other hand, it cannot search services according to the real-time status of dynamic service quality.

有些研究人员致力于基于实时动态服务质量约束的服务发现机制的研究。例如,Makripoulias Y.,Makris C.,Panagis Y.,Sakkopoulos E.,Adamopoulou P.,Tsakalidis A.在Web Service discovery based on Quality of Service(基于服务质量的网络服务发现),(The IEEE International Conference on Computer Systems andApplications 2006,IEEE Computer Society,March 8,2006,pp.196-199)中提到一个实验性系统,它主要使用服务提供者承诺的QoS和服务消费者的反馈信息计算QoS,同时以UDDI(Universal Description,Discovery,and Integration,统一描述、发现和集成)包装器的形式与现有的UDDI透明整合,从而在不影响传统UDDI所提供的服务搜索功能的基础上,提供对QoS搜索的支持。Some researchers are devoted to the research of service discovery mechanism based on real-time dynamic service quality constraints. For example, Makripoulias Y., Makris C., Panagis Y., Sakkopoulos E., Adamopoulou P., Tsakalidis A. in Web Service discovery based on Quality of Service (The IEEE International Conference on Computer Systems and Applications 2006, IEEE Computer Society, March 8, 2006, pp.196-199) mentioned an experimental system, which mainly uses the QoS promised by the service provider and the feedback information of the service consumer to calculate the QoS, and at the same time use UDDI (Universal Description, Discovery, and Integration, unified description, discovery, and integration) The form of the wrapper is transparently integrated with the existing UDDI, so as to provide support for QoS search without affecting the service search function provided by traditional UDDI .

另经检索发现Anup Kumar,Fl-Geniedy A.,Sanjuli Agarwal在A generalizedframework for providing QoS based registry in service oriented architecture,(用于提供面向服务架构中基于服务质量的注册中心的通用框架)(Proceeding of SCC 2005Conference(SCC 2005),IEEE Computer Society,11-15 July 2005,pp.295-301vol.1.)提出了一套增强当前UDDI标准的框架,该框架无需对现有UDDI标准做出任何改动而是通过提供一个用于存储QoS数据的中间件来实现在服务发现中对QoS的支持,使其能够根据用户指定的QoS参数搜索出满足用户需求的服务。After another search, it was found that Anup Kumar, Fl-Geniedy A., Sanjuli Agarwal in A generalized framework for providing QoS based registry in service oriented architecture, (used to provide a general framework for service-oriented architecture based on the registration center of quality of service) (Proceeding of SCC 2005Conference (SCC 2005), IEEE Computer Society, 11-15 July 2005, pp.295-301vol.1.) proposed a framework to enhance the current UDDI standard, which does not require any changes to the existing UDDI standard but By providing a middleware for storing QoS data, it realizes the support for QoS in the service discovery, so that it can search out the service that meets the user's needs according to the QoS parameters specified by the user.

Xu Ziqiang,Martin Patrick,Powley Wendy,Zulkernine Farhana在Reputation-Enhanced QoS-based Web Services Discovery(信誉改进的基于服务质量的网络服务发现),(The IEEE International Conference on Web Services(ICWS 2007),IEEE Computer Society,9-13 July 2007,pp.249-256)中则实现了一个基于QoS的服务信誉增强的服务发现机制,其中包含一个扩展的UDDI服务注册模块(Service Registry)用于发布含有QoS的服务信息、一个根据用户对服务性能的反馈来计算服务信誉的服务信誉计算中心以及一个基于服务信誉实现服务发现、评价和选择的代理。Xu Ziqiang, Martin Patrick, Powley Wendy, Zulkernine Farhana in Reputation-Enhanced QoS-based Web Services Discovery (The IEEE International Conference on Web Services (ICWS 2007), IEEE Computer Society , 9-13 July 2007, pp.249-256) implements a service discovery mechanism based on QoS service reputation enhancement, which includes an extended UDDI service registration module (Service Registry) for publishing service information containing QoS , a service reputation calculation center that calculates service reputation based on user feedback on service performance, and an agent that implements service discovery, evaluation, and selection based on service reputation.

发明内容Contents of the invention

本发明针对现有技术存在的上述不足,提供一种基于实时动态服务质量的服务管理系统,能够支持基于动态服务质量约束的服务查找,使服务消费者能够在众多的备选服务中精确地选中最符合需要的服务,同时要提高服务查找的准确率,从而提高基于服务计算的应用系统的可靠性和可维护性。Aiming at the above-mentioned deficiencies in the prior art, the present invention provides a service management system based on real-time dynamic service quality, which can support service search based on dynamic service quality constraints, enabling service consumers to accurately select among numerous alternative services The service that best meets the needs, and at the same time, it is necessary to improve the accuracy of service search, thereby improving the reliability and maintainability of the application system based on service computing.

本发明是通过以下技术方案实现的,本发明包括:若干个服务质量度量模块(QualityMetric Center,QMC)、服务质量反馈模块和服务注册模块,其中:服务质量反馈模块与服务质量度量模块相连接以传输实时动态服务质量信息,服务质量度量模块与服务注册模块相连接以传输基于服务质量查找的待选服务信息,若干个服务质量度量模块之间相互连接以传输服务查找请求信息。The present invention is achieved through the following technical solutions, the present invention includes: several service quality measurement modules (QualityMetric Center, QMC), service quality feedback module and service registration module, wherein: the service quality feedback module is connected with the service quality measurement module To transmit real-time dynamic service quality information, the service quality measurement module is connected with the service registration module to transmit the candidate service information based on the service quality search, and several service quality measurement modules are connected to each other to transmit service search request information.

所述的实时动态服务质量信息是指随服务运行状态变化的服务质量属性值。The real-time dynamic service quality information refers to the service quality attribute value that changes with the service running state.

所述的基于服务质量查找的待选服务信息是指符合包含在基于服务质量的服务查找请求信息中的有关对动态服务质量属性的查找条件的服务集合。The candidate service information to be searched based on quality of service refers to a collection of services that meet the search conditions for dynamic quality of service attributes contained in the service search request information based on service quality.

所述的服务查找请求信息是指针对服务质量属性提出的查找条件。The service search request information refers to the search conditions proposed for the quality of service attributes.

所述的服务质量度量模块包括:服务质量度量标准模型单元、通信器、服务质量反馈数据存储池、服务质量索引树和服务质量数据管理器,其中:通信器与其他服务质量度量模块相连接以传输服务查找请求信息,服务质量数据管理器分别与服务质量反馈数据存储池、服务质量索引树以及通信器相连接以分别传输约束条件信息、更新索引树信息和协作处理服务查找请求信息,服务质量查询处理器与服务质量数据管理器相连接以传输解析后的约束条件信息。The quality of service measurement module includes: a quality of service measurement standard model unit, a communicator, a quality of service feedback data storage pool, a quality of service index tree and a quality of service data manager, wherein: the communicator is connected with other quality of service measurement modules to To transmit service search request information, the service quality data manager is respectively connected with the service quality feedback data storage pool, service quality index tree and communicator to respectively transmit constraint condition information, update index tree information and cooperatively process service search request information, service quality The query processor is connected with the quality of service data manager to transmit the parsed constraint information.

所述的服务注册模块是指能够存储服务器描述文件,并能够针对服务描述文件内容进行查找的标准的服务注册模块。The service registration module refers to a standard service registration module capable of storing server description files and searching for the contents of the service description files.

所述的约束条件信息是指每个动态服务质量属性的约束条件构成的表达式的集合。The constraint condition information refers to a set of expressions formed by constraints of each dynamic quality of service attribute.

所述的更新索引树信息是指:通过对动态实时服务质量信息散列得到的服务质量索引树的更新信息。The updated index tree information refers to update information of the quality of service index tree obtained by hashing the dynamic real-time quality of service information.

所述的协作处理服务查找请求信息包括:服务查找请求信息、转发节点地址和接收节点地址。The collaborative processing service lookup request information includes: service lookup request information, forwarding node address and receiving node address.

所述的服务质量反馈模块包括:面向方面处理单元、代理模式处理单元和网络底层数据处理单元,其中:面向方面处理单元、代理模式处理单元和网络底层数据处理单元分别与服务质量度量模块相连接并传输实时动态服务质量信息。The service quality feedback module includes: an aspect-oriented processing unit, a proxy mode processing unit and a network bottom data processing unit, wherein: the aspect-oriented processing unit, the proxy mode processing unit and the network bottom data processing unit are respectively connected with the quality of service measurement module And transmit real-time dynamic service quality information.

本发明的意义在于填补服务注册模块在基于动态服务质量约束的服务查找可以在互联网环境下获取大量的有关动态服务质量的反馈信息,向用户提供基于动态服务质量约束的服务查找能力,从而提高服务发现的准确性,使服务消费者能够在大量功能相同的服务中精确地选择最符合自己在质量方面要求的服务。The significance of the present invention is that the service registration module can obtain a large amount of feedback information about dynamic service quality in the Internet environment in the service search based on dynamic service quality constraints, and provide users with service search capabilities based on dynamic service quality constraints, thereby improving service quality. The accuracy of discovery enables service consumers to accurately select the service that best meets their quality requirements among a large number of services with the same function.

本发明的服务管理的优化方法和服务查询的优化方法都是在基于实时动态服务质量的分布式服务质量度量模块、服务注册模块和向该中心反馈信息的服务质量反馈模块的基础上实现的。本发明对于基于服务计算的应用系统具有重要的应用价值,这些应用系统可以通过本发明中的优化方法实现动态地错误发现和错误替换,从而提高其可靠性和可维护性。The optimization method of service management and the optimization method of service query in the present invention are all realized on the basis of the distributed service quality measurement module based on real-time dynamic service quality, the service registration module and the service quality feedback module which feeds back information to the center. The present invention has important application value for application systems based on service computing, and these application systems can realize dynamic error discovery and error replacement through the optimization method in the present invention, thereby improving their reliability and maintainability.

附图说明 Description of drawings

图1为本发明结构示意图。Fig. 1 is a schematic diagram of the structure of the present invention.

图2为服务质量度量模块结构示意图。Fig. 2 is a schematic structural diagram of a QoS measurement module.

图3为实施例拦截方式示意图。Fig. 3 is a schematic diagram of the interception method of the embodiment.

图4为实施例基于代理模式的拦截方式示意图。Fig. 4 is a schematic diagram of an interception method based on a proxy mode in an embodiment.

图5为实施例网络底层数据包拦截方式示意图。FIG. 5 is a schematic diagram of an embodiment of a method for intercepting data packets at the bottom layer of the network.

具体实施方式 Detailed ways

下面对本发明的实施例作详细说明,本实施例在以本发明技术方案为前提下进行实施,给出了详细的实施方式和具体的操作过程,但本发明的保护范围不限于下述的实施例。The embodiments of the present invention are described in detail below. This embodiment is implemented on the premise of the technical solution of the present invention, and detailed implementation methods and specific operating procedures are provided, but the protection scope of the present invention is not limited to the following implementation example.

如图1和图2所示,本实施例包括:若干个服务质量度量模块(Quality Metric Center,质量度量中心)、服务质量反馈模块和服务注册模块,其中:服务质量反馈模块与服务质量度量模块相连接以传输实时动态服务质量信息,服务质量度量模块与服务注册模块相连接以传输基于服务质量查找的待选服务信息,若干个服务质量度量模块之间相互连接以传输服务查找请求信息。As shown in Fig. 1 and Fig. 2, the present embodiment includes: several service quality measurement modules (Quality Metric Center, quality measurement center), service quality feedback module and service registration module, wherein: service quality feedback module and service quality measurement module Connected to transmit real-time dynamic service quality information, the service quality measurement module is connected to the service registration module to transmit candidate service information based on service quality search, and several service quality measurement modules are connected to each other to transmit service search request information.

所述的实时动态服务质量信息是指随服务运行状态变化的服务质量属性值;The real-time dynamic service quality information refers to the service quality attribute value that changes with the service operation state;

所述的基于服务质量查找的待选服务信息是指符合包含在基于服务质量的服务查找请求信息中的有关对动态服务质量属性的查找条件的服务集合;The candidate service information searched based on quality of service refers to a set of services that meet the search conditions for dynamic quality of service attributes included in the service search request information based on service quality;

所述的服务查找请求信息是指针对服务质量属性提出的查找条件。The service search request information refers to the search conditions proposed for the quality of service attributes.

所述的服务质量度量模块包括:服务质量度量标准模型单元、通信器、服务质量反馈数据存储池、服务质量索引树和服务质量数据管理器,其中:通信器与其他服务质量度量模块相连接以传输服务查找请求信息,服务质量数据管理器分别与服务质量反馈数据存储池、服务质量索引树以及通信器相连接以分别传输约束条件信息、更新索引树信息和协作处理服务查找请求信息,服务质量查询处理器与服务质量数据管理器相连接以传输解析后的约束条件信息。The quality of service measurement module includes: a quality of service measurement standard model unit, a communicator, a quality of service feedback data storage pool, a quality of service index tree and a quality of service data manager, wherein: the communicator is connected with other quality of service measurement modules to To transmit service search request information, the service quality data manager is respectively connected with the service quality feedback data storage pool, service quality index tree and communicator to respectively transmit constraint condition information, update index tree information and cooperatively process service search request information, service quality The query processor is connected with the quality of service data manager to transmit the parsed constraint information.

所述的约束条件信息是指每个动态服务质量属性的约束条件构成的表达式的集合。The constraint condition information refers to a set of expressions formed by constraints of each dynamic quality of service attribute.

所述的更新索引树信息是指:通过对动态实时服务质量信息散列得到的服务质量索引树的更新信息。The updated index tree information refers to update information of the quality of service index tree obtained by hashing the dynamic real-time quality of service information.

所述的协作处理服务查找请求信息包括:服务查找请求信息、转发节点地址和接收节点地址。The collaborative processing service lookup request information includes: service lookup request information, forwarding node address and receiving node address.

所述的服务质量度量标准模型单元通过提供可以对服务质量属性进行扩展、删除和修改的框架实现,所述的服务质量属性的描述要遵循OWL-Q(Web Ontology Language-Quality)标准。The service quality metric model unit is implemented by providing a framework that can expand, delete and modify service quality attributes, and the description of the service quality attributes must follow the OWL-Q (Web Ontology Language-Quality) standard.

所述的通信器通过使用P2P通信协议CHORD来实现节点之间的通信。The communicator implements communication between nodes by using the P2P communication protocol CHORD.

所述的服务质量反馈数据存储池通过使用数据库存储来实现,该存储池存储来自于服务消费者或提供者的实时动态服务质量反馈数据,并剔除不合理的信息。The service quality feedback data storage pool is realized by using database storage, the storage pool stores real-time dynamic service quality feedback data from service consumers or providers, and eliminates unreasonable information.

所述的服务质量索引树为各个动态服务质量属性的反馈数据建立索引,该索引树以B+树为数据结构,支持基本的插入、删除、分裂,还可以通过旋转操作使得树不用频繁地做分裂操作。The quality of service index tree establishes an index for the feedback data of each dynamic quality of service attribute. The index tree uses a B+ tree as a data structure, supports basic insertion, deletion, and splitting, and can also rotate the tree so that the tree does not need to be split frequently operate.

所述的服务质量数据管理器使用约束条件信息在服务质量反馈数据存储池进行查找处理、使用更新索引树信息对索引树进行更新处理,并产生协作处理服务查找请求信息传递给通信器做转发处理。The quality of service data manager uses the constraint condition information to perform search processing in the service quality feedback data storage pool, uses the update index tree information to update the index tree, and generates collaborative processing service search request information and transmits it to the communicator for forwarding processing .

所述的服务质量查询处理器对服务查找请求进行解析,获得包含在其中的约束条件并输出至服务质量数据管理器。The service quality query processor parses the service search request, obtains the constraints contained therein and outputs them to the service quality data manager.

所述的服务质量反馈模块包括:面向方面处理单元、代理模式处理单元和网络底层数据处理单元,其中:面向方面处理单元、代理模式处理单元和网络底层数据处理单元分别与服务质量度量模块相连接并传输实时动态服务质量信息。The service quality feedback module includes: an aspect-oriented processing unit, a proxy mode processing unit and a network bottom data processing unit, wherein: the aspect-oriented processing unit, the proxy mode processing unit and the network bottom data processing unit are respectively connected with the quality of service measurement module And transmit real-time dynamic service quality information.

所述的面向方面处理单元通过在发送服务调用请求的最终方法中加入服务质量反馈信息的搜集和发送功能实现;The aspect-oriented processing unit is implemented by adding the function of collecting and sending service quality feedback information into the final method of sending the service invocation request;

所述的代理模式处理单元通过自动替换网络服务的端点接口(endpoint interface),根据替换后的端点接口自动生成客户端和代理服务器来实现。通过此客户端发出所有对网络服务调用的请求,都将首先转发给代理服务器,代理服务器在完成监控和反馈功能的同时,将调用请求转发给相应的网络服务,在得到网络服务的响应之后将其返回给客户端The proxy mode processing unit is realized by automatically replacing the endpoint interface of the network service, and automatically generating a client and a proxy server according to the replaced endpoint interface. All requests for network service calls sent through this client will be forwarded to the proxy server first, and the proxy server will forward the call request to the corresponding network service while completing the monitoring and feedback functions. After receiving the response from the network service, it will which returns to the client

所述的网络底层数据处理单元通过对网络底层数据进行拦截,从而获取服务调用请求和响应的消息来实现。The network bottom layer data processing unit is implemented by intercepting the network bottom layer data to obtain service call request and response messages.

如图3所示,面向方面处理单元在服务调用框架内进行拦截处理;这种方式采用AOP技术,拦截发送服务调用请求的最终方法,加入服务质量反馈信息的搜集和发送功能。As shown in Figure 3, the aspect-oriented processing unit performs interception processing within the service call framework; this method uses AOP technology to intercept the final method of sending service call requests, and adds the function of collecting and sending service quality feedback information.

如图4所示,代理模式处理单元通过代理转发的方式进行拦截处理;这种方式自动替换网络服务的端点接口(endpoint interface),根据替换后的端点接口自动生成客户端和代理类(代理服务器)。通过此客户端发出所有对网络服务调用的请求,都将首先转发给代理服务器,代理服务器在完成监控和反馈功能的同时,将调用请求转发给相应的网络服务,在得到网络服务的响应之后将其返回给客户端。As shown in Figure 4, the proxy mode processing unit intercepts and processes through proxy forwarding; this mode automatically replaces the endpoint interface (endpoint interface) of the network service, and automatically generates the client and proxy classes (proxy server) according to the replaced endpoint interface. ). All requests for network service calls sent through this client will be forwarded to the proxy server first, and the proxy server will forward the call request to the corresponding network service while completing the monitoring and feedback functions. After receiving the response from the network service, it will which is returned to the client.

如图5所示,网络底层数据处理针对网络适配器进行拦截处理;这种方式将对网络底层数据进行拦截,获取服务调用请求和响应的消息,从而实现对服务的监控。As shown in Figure 5, the underlying data processing of the network is intercepted for the network adapter; this method intercepts the underlying data of the network and obtains service call request and response messages, so as to realize the monitoring of the service.

服务质量反馈模块拦截到的原始数据非常多,如果直接向质量度量中心进行反馈,会极大地增加质量度量中心的压力。因此,服务质量反馈模块对拦截到的原始数据要进行预处理,周期性地将数据进行预处理统计之后向质量度量中心反馈。预处理的方式如下:The service quality feedback module intercepts a lot of raw data. If it directly feeds back to the quality measurement center, it will greatly increase the pressure on the quality measurement center. Therefore, the service quality feedback module needs to preprocess the intercepted raw data, periodically preprocess and count the data, and then feed it back to the quality measurement center. The way of preprocessing is as follows:

第1步:针对每个要拦截的服务的每个动态服务质量属性建立一个环形队列,该队列用于存放拦截到的原始数据,其长度为用户设定的初始值;Step 1: Establish a circular queue for each dynamic quality of service attribute of each service to be intercepted, which is used to store the intercepted original data, and its length is the initial value set by the user;

第2步:周期性地对环形队列中的数据求算术平均值,将其作为统计值反馈给质量度量中心。该周期可以由用户设定;Step 2: Calculate the arithmetic mean value of the data in the ring queue periodically, and feed it back to the quality measurement center as a statistical value. The period can be set by the user;

第3步:队列中的队尾指针周期性地向前移动,以剔除过旧的数据,保证数据的实时性;Step 3: The tail pointer in the queue moves forward periodically to remove outdated data and ensure real-time data;

第4步:当队列中的队尾指针由于周期性地前移而碰上队首指针时,队列长度减半;而如果队首指针由于不断插入新的数据而碰上队尾指针式,队列长度加倍;由此可以实现队列长度的动态管理。Step 4: When the tail pointer in the queue hits the head pointer due to periodic forward movement, the queue length is halved; and if the head pointer hits the tail pointer due to continuous insertion of new data, the queue The length is doubled; this enables dynamic management of the queue length.

在本实施例的技术方案的基础上,实现了相应的软件原型来进行验证,并通过实验进行了测试和评估。实验证明,本实施例提出的服务质量反馈模块能够有效地将性能、可靠性、可用性等信息反馈给质量度量中心,而质量度量中心也能够支持服务消费者进行基于实时动态服务质量约束的服务查找,建立在其上的基于实时动态服务质量的服务管理系统科学有效。On the basis of the technical solution of this embodiment, a corresponding software prototype is realized for verification, and tests and evaluations are carried out through experiments. Experiments have proved that the service quality feedback module proposed in this embodiment can effectively feed back information such as performance, reliability, and availability to the quality measurement center, and the quality measurement center can also support service consumers to search for services based on real-time dynamic service quality constraints , the service management system based on real-time dynamic service quality based on it is scientific and effective.

Claims (6)

1.一种基于实时动态服务质量的服务管理系统,其特征在于,包括:若干个服务质量度量模块、服务质量反馈模块和服务注册模块,其中:服务质量反馈模块与服务质量度量模块相连接以传输实时动态服务质量信息,服务质量度量模块与服务注册模块相连接以传输基于服务质量查找的待选服务信息,若干个服务质量度量模块之间相互连接以传输服务查找请求信息;1. A service management system based on real-time dynamic service quality, it is characterized in that, comprises: several service quality measurement modules, service quality feedback module and service registration module, wherein: service quality feedback module is connected with service quality measurement module To transmit real-time dynamic service quality information, the service quality measurement module is connected with the service registration module to transmit the candidate service information based on the service quality search, and several service quality measurement modules are connected to each other to transmit service search request information; 所述的实时动态服务质量信息是指随服务运行状态变化的服务质量属性值;The real-time dynamic service quality information refers to the service quality attribute value that changes with the service operation state; 所述的基于服务质量查找的待选服务信息是指符合包含在基于服务质量的服务查找请求信息中的有关对动态服务质量属性的查找条件的服务集合;The candidate service information searched based on quality of service refers to a set of services that meet the search conditions for dynamic quality of service attributes included in the service search request information based on service quality; 所述的服务查找请求信息是指针对服务质量属性提出的查找条件。The service search request information refers to the search conditions proposed for the quality of service attributes. 2.根据权利要求1所述的基于实时动态服务质量的服务管理系统,其特征是,所述的服务质量度量模块包括:服务质量度量标准模型单元、通信器、服务质量反馈数据存储池、服务质量索引树和服务质量数据管理器,其中:通信器与其他服务质量度量模块相连接以传输服务查找请求信息,服务质量数据管理器分别与服务质量反馈数据存储池、服务质量索引树以及通信器相连接以分别传输约束条件信息、更新索引树信息和协作处理服务查找请求信息,服务质量查询处理器与服务质量数据管理器相连接以传输解析后的约束条件信息。2. The service management system based on real-time dynamic quality of service according to claim 1, characterized in that, said quality of service measurement module comprises: a quality of service measurement standard model unit, a communicator, a quality of service feedback data storage pool, a service Quality index tree and service quality data manager, wherein: the communicator is connected with other service quality measurement modules to transmit service search request information, and the service quality data manager is respectively connected with the service quality feedback data storage pool, service quality index tree and communicator connected to respectively transmit constraint condition information, update index tree information and collaboratively process service lookup request information, and the service quality query processor is connected to the service quality data manager to transmit parsed constraint condition information. 3.根据权利要求2所述的基于实时动态服务质量的服务管理系统,其特征是,所述的约束条件信息是指每个动态服务质量属性的约束条件构成的表达式的集合。3. The service management system based on real-time dynamic quality of service according to claim 2, characterized in that, said constraint information refers to a set of expressions formed by constraints of each dynamic quality of service attribute. 4.根据权利要求2所述的基于实时动态服务质量的服务管理系统,其特征是,所述的更新索引树信息是指:通过对动态实时服务质量信息散列得到的服务质量索引树的更新信息。4. The service management system based on real-time dynamic quality of service according to claim 2, characterized in that, said updated index tree information refers to: update of the quality of service index tree obtained by hashing dynamic real-time quality of service information information. 5.根据权利要求1所述的基于实时动态服务质量的服务管理系统,其特征是,所述的协作处理服务查找请求信息包括:服务查找请求信息、转发节点地址和接收节点地址。5. The service management system based on real-time dynamic quality of service according to claim 1, wherein said collaborative processing service search request information includes: service search request information, forwarding node address and receiving node address. 6.根据权利要求1所述的基于实时动态服务质量的服务管理系统,其特征是,所述的服务质量反馈模块包括:面向方面处理单元、代理模式处理单元和网络底层数据处理单元,其中:面向方面处理单元、代理模式处理单元和网络底层数据处理单元分别与服务质量度量模块相连接并传输实时动态服务质量信息。6. The service management system based on real-time dynamic quality of service according to claim 1, wherein said quality of service feedback module comprises: an aspect-oriented processing unit, a proxy mode processing unit and a network bottom layer data processing unit, wherein: The aspect-oriented processing unit, the proxy mode processing unit and the network bottom layer data processing unit are respectively connected with the service quality measurement module and transmit real-time dynamic service quality information.
CN 200910309802 2009-11-16 2009-11-16 Service management system based on real-time dynamic service quality Expired - Fee Related CN101697530B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910309802 CN101697530B (en) 2009-11-16 2009-11-16 Service management system based on real-time dynamic service quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910309802 CN101697530B (en) 2009-11-16 2009-11-16 Service management system based on real-time dynamic service quality

Publications (2)

Publication Number Publication Date
CN101697530A true CN101697530A (en) 2010-04-21
CN101697530B CN101697530B (en) 2011-07-20

Family

ID=42142604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910309802 Expired - Fee Related CN101697530B (en) 2009-11-16 2009-11-16 Service management system based on real-time dynamic service quality

Country Status (1)

Country Link
CN (1) CN101697530B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873270A (en) * 2010-06-26 2010-10-27 上海交通大学 Multi-angle information feedback service management system
CN104468838A (en) * 2014-12-30 2015-03-25 桂林电子科技大学 P2P network and Web service selection method in publish-subscribe pattern
CN107341044A (en) * 2017-07-13 2017-11-10 郑州云海信息技术有限公司 A kind of distributive data center unified monitoring framework and method
CN112073491A (en) * 2020-08-31 2020-12-11 北京中交创新投资发展有限公司 Gateway agent and service scheduling method for Internet GIS application

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968322A (en) * 2006-09-08 2007-05-23 中山大学 Web service finding and integration proxy system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873270A (en) * 2010-06-26 2010-10-27 上海交通大学 Multi-angle information feedback service management system
CN104468838A (en) * 2014-12-30 2015-03-25 桂林电子科技大学 P2P network and Web service selection method in publish-subscribe pattern
CN104468838B (en) * 2014-12-30 2017-08-11 桂林电子科技大学 A kind of P2P networkings and the web service selection method of publish-subscribe model
CN107341044A (en) * 2017-07-13 2017-11-10 郑州云海信息技术有限公司 A kind of distributive data center unified monitoring framework and method
CN112073491A (en) * 2020-08-31 2020-12-11 北京中交创新投资发展有限公司 Gateway agent and service scheduling method for Internet GIS application
CN112073491B (en) * 2020-08-31 2023-08-22 交信北斗科技有限公司 Gateway proxy and service scheduling method for Internet GIS application

Also Published As

Publication number Publication date
CN101697530B (en) 2011-07-20

Similar Documents

Publication Publication Date Title
US12204593B2 (en) Data search and analysis for distributed data systems
US11755390B1 (en) Using keep-alive markers to extend redelivery deadlines
US11704313B1 (en) Parallel branch operation using intermediary nodes
US10545964B2 (en) Multi-phased data execution in a data processing system
CN101277304B (en) Rule-based web service operating environment management system and management method
CN101697530B (en) Service management system based on real-time dynamic service quality
CN101334727A (en) Service-based collaborative engine system
CN101882290A (en) Service Integration Method Based on Contextual Ontology in Internet Environment
US20230095852A1 (en) Translating between versions of data object schemas for data producers and data consumers
Hahn et al. Modeling data transformations in data-aware service choreographies
Li Design and implementation of distributed asynchronous data aided computer information interaction system
CN117632445A (en) Request processing method and device, task execution method and device
Wu et al. An analysis of web services mediation architecture and pattern in synapse
CN118567964A (en) System for detecting service level of big data service application
CN118819889A (en) A message processing method, device, equipment, medium and program product
CN102609519A (en) A Heterogeneous Service Integration Engine

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: 20110720

Termination date: 20131116