[go: up one dir, main page]

CN106961356A - Web service choosing method and its device based on dynamic QoS and subjective and objective weight - Google Patents

Web service choosing method and its device based on dynamic QoS and subjective and objective weight Download PDF

Info

Publication number
CN106961356A
CN106961356A CN201710282821.2A CN201710282821A CN106961356A CN 106961356 A CN106961356 A CN 106961356A CN 201710282821 A CN201710282821 A CN 201710282821A CN 106961356 A CN106961356 A CN 106961356A
Authority
CN
China
Prior art keywords
qos
service
weight
subjective
similarity
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
CN201710282821.2A
Other languages
Chinese (zh)
Other versions
CN106961356B (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.)
PLA Information Engineering University
Original Assignee
PLA Information Engineering 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 PLA Information Engineering University filed Critical PLA Information Engineering University
Priority to CN201710282821.2A priority Critical patent/CN106961356B/en
Publication of CN106961356A publication Critical patent/CN106961356A/en
Application granted granted Critical
Publication of CN106961356B publication Critical patent/CN106961356B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5019Ensuring fulfilment of SLA
    • H04L41/5025Ensuring fulfilment of SLA by proactively reacting to service quality change, e.g. by reconfiguration after service quality degradation or upgrade
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5009Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明涉及一种基于动态QoS和主客观权重的Web服务选取方法及其装置,该方法包含:根据用户QoS需求的模糊性和候选服务QoS值的波动范围,建立区间QoS模型;计算每个基本服务下的候选服务的相似度;结合用户主观偏好计算QoS指标综合权重;根据QoS指标综合权重及相似度,获取每个候选服务的推荐度,通过推荐度对所有候选服务进行排序;根据排序结果选取符合用户QoS需求的服务。本发明计算复杂度小,可行性高,结合主客观偏好向量算出QoS指标综合权重,避免了仅仅利用主观赋权模式或客观赋权模式的片面性,使得权重的确定更加合理;通过推荐度作为衡量候选服务符合用户需求的程度,综合考虑了客观QoS数据和用户主观偏好信息,提高了服务选取的准确性。

The present invention relates to a method and device for selecting Web services based on dynamic QoS and subjective and objective weights. The method includes: establishing an interval QoS model according to the fuzziness of user QoS requirements and the fluctuation range of candidate service QoS values; calculating each basic The similarity of candidate services under the service; combined with the user's subjective preference to calculate the comprehensive weight of QoS indicators; according to the comprehensive weight and similarity of QoS indicators, obtain the recommendation degree of each candidate service, and sort all candidate services according to the recommendation degree; according to the ranking results Select the service that meets the user's QoS requirements. The present invention has small calculation complexity and high feasibility, and combines the subjective and objective preference vectors to calculate the comprehensive weight of the QoS index, which avoids the one-sidedness of only using the subjective weighting mode or the objective weighting mode, and makes the determination of the weight more reasonable; the degree of recommendation is used as a measure The degree to which the candidate service meets the user's needs comprehensively considers the objective QoS data and the user's subjective preference information, which improves the accuracy of service selection.

Description

基于动态QoS和主客观权重的Web服务选取方法及其装置Web service selection method and device based on dynamic QoS and subjective and objective weights

技术领域technical field

本发明属于计算机应用技术领域,特别涉及一种基于动态QoS和主客观权重的Web服务选取方法及其装置。The invention belongs to the field of computer application technology, and in particular relates to a method and device for selecting Web services based on dynamic QoS and subjective and objective weights.

背景技术Background technique

随着云计算技术的迅速发展和商业应用,越来越多的数据资源、计算资源和应用资源依托Internet以Web服务的形式提供应用。近些年来,部署在Internet上的Web服务呈爆炸式增长,具有相同功能属性、不同非功能属性的Web服务也越来越多。因此,传统的依据功能属性进行服务选取的方法已经不能够满足用户的需求,如何依据服务的非功能属性,如服务质量(QualityofService,QoS)来进行服务选取,成为学术界关注的热点。申利民等人提出的一种考虑QoS数据不确定性的服务选取方法,根据服务QoS数据的分布情况自定义合理准确的QoS约束条件;建立QoS属性云模型,对Web服务的QoS数据进行不确定决策,过滤掉QoS数据表现波动比较大的Web服务,在保证服务可靠性的基础上缩小Web服务选取的搜索空间,提高服务选取效率;对过滤后服务的QoS数据进行规范化处理,计算用户对服务评价的QoS聚合值;依据服务使用者的QoS评价及其数量计算服务的推荐度,并依此对服务排序完成服务推荐。该方法仅仅利用云模型来过滤QoS不确定性的服务,且假定用户已经给出具体的QoS指标权重值,用户主观随意性较大。With the rapid development and commercial application of cloud computing technology, more and more data resources, computing resources and application resources rely on the Internet to provide applications in the form of Web services. In recent years, the number of Web services deployed on the Internet has exploded, and there are more and more Web services with the same functional attributes but different non-functional attributes. Therefore, the traditional method of selecting services based on functional attributes can no longer meet the needs of users. How to select services based on non-functional attributes of services, such as Quality of Service (QoS), has become a hot spot in the academic circle. A service selection method considering the uncertainty of QoS data was proposed by Shen Limin et al. According to the distribution of service QoS data, reasonable and accurate QoS constraints are customized; a QoS attribute cloud model is established to make uncertain decisions on the QoS data of Web services , to filter out the Web services whose QoS data performance fluctuates greatly, narrow down the search space for Web service selection on the basis of ensuring service reliability, and improve the efficiency of service selection; standardize the QoS data of the filtered service, and calculate the user's evaluation of the service The QoS aggregation value of the service; calculate the recommendation degree of the service according to the QoS evaluation and quantity of the service user, and then rank the services to complete the service recommendation. This method only uses the cloud model to filter services with QoS uncertainty, and assumes that the user has given a specific weight value of the QoS index, and the user's subjectivity is relatively large.

现有基于QoS的服务选取方法存在以下缺点:(1)没有考虑到Web服务QoS属性值的不确定性。该不确定性体现在两个方面。一个方面是Web服务运行在动态的网络环境中,任何因素如网络带宽、位置、时间等都会影响到Web服务的QoS属性值,因此根据精确的QoS属性值进行服务选取,准确性不高。另一个方面是由于人的思维模式的模糊性,用户更倾向于使用区间数而不是精确值来表达其对服务的需求。考虑QoS的不确定性应作为服务选取和服务组合的前提,而已有的大多数模型均没有考虑到QoS数据的不确定性。(2)服务QoS属性权重确定不合理。目前主要有两种确定权重的方法,主观赋权模式和客观赋权模式。在主观赋权模式下服务的QoS权重完全由用户确定,这虽然体现了用户的个性化需求,但具有很大的主观随意性,且大多数用户不具有服务领域的相关知识,给定精确的权重值给用户带来额外负担。相对来说,用户更加倾向于使用偏好顺序来表达其需求,如服务价格>响应时间>可靠性等。客观赋权模式是由客观数据确定,虽然其结果具有较强的数字理论依据,但忽略了用户的主观偏好。因此,在确定QoS权重时同时考虑用户主观偏好和客观数据更符合服务选取的实际情况。The existing QoS-based service selection methods have the following disadvantages: (1) The uncertainty of QoS attribute values of Web services is not considered. This uncertainty manifests itself in two ways. One aspect is that Web services run in a dynamic network environment, and any factors such as network bandwidth, location, time, etc. will affect the QoS attribute values of Web services, so the accuracy of service selection based on precise QoS attribute values is not high. Another aspect is that due to the ambiguity of human thinking patterns, users are more inclined to use interval numbers rather than precise values to express their needs for services. Considering the uncertainty of QoS should be taken as the premise of service selection and service combination, and most existing models have not considered the uncertainty of QoS data. (2) The determination of service QoS attribute weight is unreasonable. At present, there are mainly two methods of determining the weight, subjective weighting mode and objective weighting mode. In the subjective weighting mode, the QoS weight of the service is completely determined by the user. Although this reflects the individual needs of the user, it has great subjective randomness, and most users do not have relevant knowledge in the service field. The weight value places an additional burden on the user. Relatively speaking, users are more inclined to use preference order to express their needs, such as service price>response time>reliability, etc. The objective empowerment model is determined by objective data. Although the result has a strong numerical theoretical basis, it ignores the user's subjective preference. Therefore, it is more in line with the actual situation of service selection to consider both the user's subjective preference and objective data when determining the QoS weight.

发明内容Contents of the invention

针对现有技术中的不足,本发明提供一种基于动态QoS和主客观权重的Web服务选取方法及其装置,提高服务选取的准确性。Aiming at the deficiencies in the prior art, the present invention provides a method and device for selecting Web services based on dynamic QoS and subjective and objective weights, so as to improve the accuracy of service selection.

按照本发明所提供的设计方案,一种基于动态QoS和主客观权重的Web服务选取方法,包含如下内容:According to the design scheme provided by the present invention, a method for selecting web services based on dynamic QoS and subjective and objective weights includes the following content:

根据用户QoS需求的模糊性和候选服务QoS值的波动范围,建立区间QoS模型;According to the ambiguity of user QoS requirements and the fluctuation range of candidate service QoS values, an interval QoS model is established;

计算每个基本服务下候选服务的相似度;Calculate the similarity of candidate services under each basic service;

结合用户主观偏好计算QoS指标综合权重;Calculate the comprehensive weight of QoS indicators in combination with the user's subjective preference;

根据QoS指标综合权重及相似度,获取每个候选服务的推荐度,通过推荐度对所有候选服务进行排序;According to the comprehensive weight and similarity of QoS indicators, the recommendation degree of each candidate service is obtained, and all candidate services are sorted by the recommendation degree;

根据排序结果选取符合用户QoS需求的服务。Select the service that meets the user's QoS requirements according to the sorting results.

上述的,根据QoS属性对Web服务质量的影响,将Web服务的QoS属性定义为四维向量Qos=(T,E,A,R),并采用区间来表示QoS值的波动范围,其中,T为响应时间;E为服务信誉度;A为服务可用性;R为服务可靠性。As mentioned above, according to the influence of QoS attributes on the quality of Web services, the QoS attributes of Web services are defined as a four-dimensional vector Qos=(T, E, A, R), and intervals are used to represent the fluctuation range of QoS values, where T is Response time; E is service reputation; A is service availability; R is service reliability.

上述的,计算每个基本服务下的候选服务的相似度,包含如下内容:假设组合服务WSC由m个基本服务WSi构成,记为WSC={WS1,WS2,…WSm},每个基本服务WSi有n个候选服务,记为WSi={s1,s2,…sn},k个QoS指标记为集合QCS;利用区间相似度公式,得到每个候选服务的各个QoS属性的相似度;将每个基本服务下的n个候选服务列为一个n×k的相似度矩阵Vi,得到m个矩阵,As mentioned above, the calculation of the similarity of candidate services under each basic service includes the following content: Assume that the combined service WSC is composed of m basic services WS i , recorded as WSC={WS 1 ,WS 2 ,...WS m }, each A basic service WS i has n candidate services, denoted as WS i ={s 1 , s 2 ,…s n }, and k QoS indicators are denoted as set QCS; using the interval similarity formula, each candidate service can be obtained The similarity of QoS attributes; the n candidate services under each basic service are listed as an n×k similarity matrix V i to obtain m matrices,

,其中,pij表示该基本服务的第i个候选服务的QoS指标j的相似度。, where p ij represents the similarity of the QoS index j of the i-th candidate service of the basic service.

上述的,利用逼近理想点的多属性决策方法,通过建立过目标规划模型,求解基本服务QoS指标客观权重。As mentioned above, using the multi-attribute decision-making method approaching the ideal point, the objective weight of the basic service QoS index is solved by establishing a goal programming model.

优选的,求解基本服务QoS指标客观权重,包含如下内容:基本服务的QoS指标权重向量为W=<w1,w2,...wk>,pij表示该基本服务的第i个候选服务的QoS指标j的相似度;令正理想点为1,则候选服务i与正理想点之间的加权距离为:建立多目标决策模型:求解一个权重向量W,使得将多目标优化问题转化为单目标优化,即:通过求解计算出基本服务l关于QoS指标的客观权重向量WlPreferably, solving the objective weight of the QoS index of the basic service includes the following content: the weight vector of the QoS index of the basic service is W=<w 1 ,w 2 ,...w k >, p ij represents the ith candidate of the basic service The similarity of the QoS index j of the service; let the positive ideal point be 1, then the weighted distance between the candidate service i and the positive ideal point is: Establish a multi-objective decision-making model: solve a weight vector W, so that Transform the multi-objective optimization problem into single-objective optimization, namely: Calculate the objective weight vector W l of the basic service l with respect to the QoS index by solving.

上述的,结合用户主观偏好计算QoS指标综合权重,包含如下内容:结合用户主观偏好,采用基于偏移量相似度度量的方法获取基本服务的重要性权重;根据QoS指标客观权重及重要性权重,计算QoS指标综合权重。As mentioned above, the comprehensive weight of the QoS index is calculated in combination with the user's subjective preference, including the following content: combined with the user's subjective preference, the importance weight of the basic service is obtained by using the method based on the offset similarity measurement; according to the objective weight and importance weight of the QoS index, Calculate the comprehensive weight of the QoS indicator.

优选的,计算QoS指标综合权重,包含如下内容:QoS指标客观权重Wl=<wl1,wl2,...wlk>,1≤l≤m,将其列为客观权重矩阵W,即:Preferably, the calculation of the comprehensive weight of the QoS index includes the following content: the objective weight of the QoS index W l =<w l1 ,w l2 ,...w lk >, 1≤l≤m, which is listed as the objective weight matrix W, namely :

,根据该系列基本服务的重要性权重向量U=<u1,u2,…um>,通过公式计算得到考虑用户偏好的综合QoS指标权重Ω=<Ω12,…Ωk>。, according to the importance weight vector U=<u 1 ,u 2 ,…u m > of this series of basic services, the comprehensive QoS index weight Ω=<Ω 12 ,…Ω k > considering user preference is calculated by formula .

更进一步,通过公式计算得到考虑用户偏好的综合QoS指标权重Ω=<Ω12,…Ωk>,计算公式为: Furthermore, the comprehensive QoS index weight Ω=<Ω 12 ,...Ω k > considering user preference is obtained through formula calculation, and the calculation formula is:

上述的,通过推荐度对所有候选服务进行排序,具体包含如下内容:每个基本服务的候选服务的推荐度按照由大到小的顺序进行排列,并用服务链表形式存储,并通过设定推荐度阈值进行筛选。As mentioned above, all candidate services are sorted by recommendation degree, which specifically includes the following content: the recommendation degree of candidate services for each basic service is arranged in order from large to small, and stored in the form of a service link list, and by setting the recommendation degree Threshold to filter.

一种基于动态QoS和主客观权重的Web服务选取装置,包含:QoS模型建立模块、相似度获取模块、综合权重计算模块、服务排序模块及服务选取模块,A Web service selection device based on dynamic QoS and subjective and objective weights, comprising: a QoS model building module, a similarity acquisition module, a comprehensive weight calculation module, a service sorting module and a service selection module,

QoS模型建立模块,用于根据用户QoS需求的模糊性和候选服务QoS值的波动范围建立区间QoS模型;The QoS model building module is used to build an interval QoS model according to the ambiguity of user QoS requirements and the fluctuation range of candidate service QoS values;

相似度获取模块,用于根据区间QoS模型采用区间相似度公式计算每个候选服务的各个QoS属性的相似度;A similarity acquisition module is used to calculate the similarity of each QoS attribute of each candidate service by adopting an interval similarity formula according to the interval QoS model;

综合权重计算模块,用于利用逼近理想点的多属性决策方法通过建立多目标规划模型求解基本服务QoS指标客观权重;并结合用户主观偏好采用基于偏移量相似度度量的方法获取基本服务的重要性权重;根据QoS指标客观权重和重要性权重,计算QoS指标综合权重;The comprehensive weight calculation module is used to use the multi-attribute decision-making method approaching the ideal point to solve the objective weight of the basic service QoS index through the establishment of a multi-objective programming model; combined with the user's subjective preference, the method based on the offset similarity measurement is used to obtain the importance of the basic service. Calculate the comprehensive weight of QoS indicators according to the objective weight and importance weight of QoS indicators;

服务排序模块,用于根据综合权重计算模块得到的QoS指标综合权重及相似度获取模块得到的相似度,获取每个候选服务的推荐度,并通过推荐度对所有候选服务进行排序;The service sorting module is used to obtain the recommendation degree of each candidate service according to the QoS index comprehensive weight obtained by the comprehensive weight calculation module and the similarity degree obtained by the similarity degree acquisition module, and sort all candidate services through the recommendation degree;

服务选取模块,根据服务排序模块的排序结果选取符合用户QoS需求的服务。The service selection module selects services that meet the user's QoS requirements according to the sorting results of the service sorting module.

本发明的有益效果:Beneficial effects of the present invention:

本发明针对现有基于QoS的服务选取方法中存在的问题,通过设计区间QoS模型来表示候选服务QoS值的波动范围和用户QoS需求的模糊性,通过区间来表示动态网络环境下服务QoS值的波动范围以及用户对其QoS需求表达的模糊性;利用区间相似度计算方法,衡量候选服务提供的QoS属性与用户请求的接近程度,基于区间相似度,利用逼近理想点的多属性决策方法(TOPSIS),通过建立多目标规划模型来求解基本服务的QoS指标客观权重,计算复杂度小,可行性高。并通过用户偏好向量来表示用户对于QoS指标的偏好,不需要用户给定精确的权重值,减轻了用户的负担。并结合客观偏好向量算出QoS指标综合权重,避免了仅仅利用主观赋权模式或客观赋权模式的片面性,使得权重的确定更加合理。通过推荐度作为衡量候选服务符合用户需求的程度,综合考虑了客观QoS数据和用户主观偏好信息,提高了服务选取的准确性。Aiming at the problems existing in the existing QoS-based service selection method, the present invention expresses the fluctuating range of candidate service QoS values and the ambiguity of user QoS requirements by designing an interval QoS model, and expresses the range of service QoS values in a dynamic network environment through intervals The fluctuating range and the ambiguity of the user's QoS requirements expression; the interval similarity calculation method is used to measure the closeness of the QoS attributes provided by the candidate service to the user's request, and based on the interval similarity, the multi-attribute decision-making method (TOPSIS ), by establishing a multi-objective programming model to solve the objective weight of the QoS index of the basic service, the calculation complexity is small, and the feasibility is high. And the user preference vector is used to represent the user's preference for the QoS index, which does not require the user to give an accurate weight value, which reduces the burden on the user. Combined with the objective preference vector, the comprehensive weight of the QoS index is calculated, which avoids the one-sidedness of only using the subjective or objective weighting model, and makes the determination of the weight more reasonable. The degree of recommendation is used to measure the extent to which candidate services meet user needs, and the objective QoS data and user subjective preference information are considered comprehensively, which improves the accuracy of service selection.

附图说明:Description of drawings:

图1为本发明的方法流程示意图;Fig. 1 is a schematic flow chart of the method of the present invention;

图2为本发明实施例中服务推荐链表示意图;FIG. 2 is a schematic diagram of a service recommendation linked list in an embodiment of the present invention;

图3为本发明的装置示意图。Fig. 3 is a schematic diagram of the device of the present invention.

具体实施方式:detailed description:

为使本发明的目的、技术方案和优点更加清楚、明白,下面结合附图和技术方案对本发明作进一步详细的说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the purpose, technical solution and advantages of the present invention more clear and understandable, the present invention will be further described in detail below in conjunction with the accompanying drawings and technical solutions. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

本发明中:服务质量(Quality of Service,QoS):代表Web服务的非功能属性,包括响应时间、信誉度、可用性、可靠性等,是评价服务好坏的另一重要标准。响应时间:是指从用户发出服务请求到获取到服务所花费的时间,其受到网络运行状况的影响,因此具有动态变化性。信誉度:指服务的可信程度。服务的信誉度主要是由用户使用后的评价所决定的。由于服务环境的差异性和动态性,不同用户使用同一服务可能会产生不同的评价。可用性:Web服务被正常调用的概率。服务的可用性也会随着网络环境的好坏而动态变化。可靠性:Web服务能够正确响应用户请求的概率。除了服务本身的服务质量以外,网络环境也会影响到服务的可靠性。主观赋权模式:是指服务的QoS权重完全由用户主观确定。客观赋权模式:指服务的QoS权重由客观数据所确定。用户偏好向量:是指按照用户偏好程度对QoS指标由大到小进行排序得到的向量,代表用户对于不同QoS指标的偏好。推荐度:综合考虑客观数据和用户主观偏好后,得到的候选服务的综合评价值。In the present invention: Quality of Service (QoS): represents the non-functional attributes of Web services, including response time, reputation, availability, reliability, etc., and is another important criterion for evaluating service quality. Response time: refers to the time it takes from the user sending a service request to obtaining the service, which is affected by the network operation status, so it is dynamic. Credibility: Refers to the credibility of the service. The credibility of the service is mainly determined by the user's evaluation after use. Due to the differences and dynamics of the service environment, different users may have different evaluations when using the same service. Availability: The probability that the Web service is called normally. The availability of services also changes dynamically with good or bad network conditions. Reliability: The probability that a Web service can correctly respond to user requests. In addition to the service quality of the service itself, the network environment will also affect the reliability of the service. Subjective weighting mode: It means that the QoS weight of the service is completely determined subjectively by the user. Objective weighting mode: means that the QoS weight of the service is determined by objective data. User preference vector: refers to the vector obtained by sorting the QoS indicators from large to small according to the degree of user preference, representing the user's preference for different QoS indicators. Recommendation degree: the comprehensive evaluation value of candidate services obtained after comprehensive consideration of objective data and user subjective preferences.

实施例,参见图1所示,一种基于动态QoS和主客观权重的Web服务选取方法,包含如下内容:Embodiment, referring to shown in Fig. 1, a kind of Web service selection method based on dynamic QoS and subjective and objective weight, comprises the following content:

101、根据用户QoS需求的模糊性和候选服务QoS值的波动范围,建立区间QoS模型;101. Establish an interval QoS model according to the ambiguity of user QoS requirements and the fluctuation range of candidate service QoS values;

102、计算每个基本服务下候选服务的相似度;102. Calculate the similarity of candidate services under each basic service;

103、结合用户主观偏好计算QoS指标综合权重;103. Calculate the comprehensive weight of the QoS index in combination with the user's subjective preference;

104、根据QoS指标综合权重及相似度,获取每个候选服务的推荐度,通过推荐度对所有候选服务进行排序;104. According to the comprehensive weight and similarity of the QoS indicators, the recommendation degree of each candidate service is obtained, and all candidate services are sorted by the recommendation degree;

105、根据排序结果选取符合用户QoS需求的服务。105. Select a service meeting the user's QoS requirement according to the sorting result.

首先对动态环境下web服务的QoS不确定性进行分析,通过区间QoS模型来表示Web服务QoS属性值的动态变化。由于用户思维模式的模糊性,用户更倾向于使用一个大致范围而不是精确值来表达其对服务的需求,因此本实施例也用区间QoS模型来表示用户的QoS需求。通过相似度的概念衡量候选服务QoS属性区间与用户需求值区间的接近程度。相似度越大,表示该候选服务在这一QoS属性上越符合用户提出的需求,被选中的概率越大。当得到每个候选服务的各个QoS属性的相似度以后,结合对应的权重,便可以得到每个候选服务的推荐值,从而对候选服务进行排序和选择,在服务选取时考虑用户主观偏好和客观数据的实际情况;解决传统基于QoS的服务选取方法存在的缺陷,包括建立区间QoS模型来表示QoS属性值的动态变化,克服QoS不确定性的影响;利用逼近理想点的多属性决策方法求解出QoS指标客观权重,并结合用户主观偏好确定综合权重,使得QoS权重确定更加合理。Firstly, the QoS uncertainty of web service in dynamic environment is analyzed, and the dynamic change of QoS attribute value of web service is represented by interval QoS model. Due to the ambiguity of the user's thinking mode, the user is more inclined to use an approximate range rather than a precise value to express their service requirements. Therefore, this embodiment also uses an interval QoS model to express the user's QoS requirements. The concept of similarity is used to measure the closeness of the candidate service QoS attribute interval to the user demand value interval. The greater the similarity, the more the candidate service meets the user's requirements on this QoS attribute, and the higher the probability of being selected. After the similarity of each QoS attribute of each candidate service is obtained, combined with the corresponding weight, the recommendation value of each candidate service can be obtained, so as to sort and select the candidate services, and consider the user's subjective preference and objective The actual situation of the data; to solve the defects existing in the traditional QoS-based service selection method, including establishing an interval QoS model to represent the dynamic change of the QoS attribute value, to overcome the influence of QoS uncertainty; to use the multi-attribute decision-making method approaching the ideal point to solve The objective weight of the QoS index is combined with the subjective preference of the user to determine the comprehensive weight, which makes the determination of the QoS weight more reasonable.

所述方法还可以包含下述特点:The method can also include the following features:

进一步地,根据QoS属性对Web服务质量的影响,将Web服务的QoS属性定义为四维向量Qos=(T,E,A,R),并采用区间来表示QoS值的波动范围,其中,T为响应时间;E为服务信誉度;A为服务可用性;R为服务可靠性。Further, according to the influence of QoS attributes on the quality of Web services, the QoS attributes of Web services are defined as a four-dimensional vector Qos=(T, E, A, R), and intervals are used to represent the fluctuation range of QoS values, where T is Response time; E is service reputation; A is service availability; R is service reliability.

Web服务的QoS属性有多个方面,如响应时间、服务费用、吞吐量、可用性、安全性等,它们分别从不同的角度对Web服务的质量进行评估。本发明将Web服务的QoS属性定义为一个四维向量Qos=(T,E,A,R),并采用区间来表示其数值的波动范围。响应时间T:用户发出服务请求到获取到服务所花费的时间,响应时间受到网络运行状况的影响,具有动态变化性;将其描述为区间为其中μT为均值,为方差。信誉度E:服务的可信程度,服务的信誉度主要是由用户使用后的评价所决定的;由于服务环境的差异性和动态性,不同用户使用同一服务可能会产生不同的评价;其区间形式为可用性A:Web服务被正常调用的概率;服务的可用性也会随着网络环境的好坏而动态变化;其区间形式为可靠性R:Web服务能够正确响应用户请求的概率;除了服务本身的服务质量以外,网络环境也会影响到服务的可靠性,例如网络阻塞导致服务信息在传输过程中丢失或者失效;其区间形式为 The QoS attributes of Web services have many aspects, such as response time, service cost, throughput, availability, security, etc., and they evaluate the quality of Web services from different angles. The invention defines the QoS attribute of the Web service as a four-dimensional vector Qos=(T, E, A, R), and uses intervals to represent the fluctuation range of its values. Response time T: the time it takes for the user to send a service request to obtain the service. The response time is affected by the network operation status and has dynamic variability; it is described as an interval of where μT is the mean value, is the variance. Credibility E: The credibility of the service. The credibility of the service is mainly determined by the evaluation of the user after use; due to the differences and dynamics of the service environment, different users may have different evaluations when using the same service; its range in the form of Availability A: The probability that the Web service is called normally; the availability of the service will also change dynamically with the quality of the network environment; its interval form is Reliability R: the probability that a web service can correctly respond to user requests; in addition to the service quality of the service itself, the network environment will also affect the reliability of the service, such as network congestion causing service information to be lost or invalid during transmission; its interval form for

QoS区间中的μMM={T,E,A,R}的计算过程如下:μ M in the QoS interval, The calculation process of M={T,E,A,R} is as follows:

区间数的相关定义如下:The relevant definitions of interval numbers are as follows:

定义1:记Q=[x-,x+]=[x|x-≤x≤x+],其中x-,x+∈R,R为实数集,称Q为一个区间数,若x-=x+,则Q退化为一个实数。在本文中,区间数均指正区间数,即0≤x-≤x+Definition 1: Record Q=[x - ,x + ]=[x|x - ≤x≤x + ], where x - ,x + ∈R, R is a set of real numbers, and Q is called an interval number, if x - =x + , then Q degenerates into a real number. In this paper, interval numbers refer to positive interval numbers, that is, 0≤x - ≤x + .

定义2:若有两个区间数Qx、Qy,其中Qx=[x-,x+],Qy=[y-,y+],记lx=x+-x-,ly=y+-y-,称:Definition 2: If there are two interval numbers Q x , Q y , where Q x =[x - ,x + ], Q y =[y - ,y + ], record l x =x + -x - ,l y =y + -y - , says:

为Qx≥Qy的相似度。is the similarity of Q x ≥ Q y .

根据定义可以证明,p(Qx≥Qy)有如下性质:According to the definition, it can be proved that p(Q x ≥ Q y ) has the following properties:

(1)0≤p(Qx≥Qy)≤1,当且仅当y+≤x-时p(Qx≥Qy)=1,当且仅当x+≤y-时p(Qx≥Qy)=0。(1) 0≤p(Q x ≥Q y )≤1, p(Q x ≥Q y )=1 if and only if y + ≤x - , p(Q x ≥ Q y )=0.

(2)互补性:p(Qx≥Qy)+p(Qy≥Qx)=1。(2) Complementarity: p(Q x ≥ Q y )+p(Q y ≥ Q x )=1.

(3)当且仅当x++x-≥y++y-时,有特别地,当且仅当x++x-=y++y-时,有 (3) If and only if x + +x - ≥ y + +y - , there is In particular, if and only if x + +x - =y + +y - , we have

(4)传递性:如果则有 (4) Transitivity: if and then there is

令用户对某QoS属性提出的需求为区间数某候选服务的该QoS属性区间数为p表示相似度。对于效益型QoS指标来说,其区间数值越大越好;对于成本型QoS指标来说,其区间数值越小越好。则Let the user's demand for a certain QoS attribute be the interval number The QoS attribute interval number of a candidate service is p means similarity. For benefit-type QoS indicators, the larger the interval value, the better; for cost-type QoS indicators, the smaller the interval value, the better. but

基于以上性质可知,利用相似度来衡量候选服务提供的QoS属性与用户请求的接近程度。相似度越大,表示该候选服务在这一QoS属性上越符合用户提出的需求,被选中的概率越大。Based on the above properties, it can be seen that the similarity is used to measure the closeness of the QoS attributes provided by the candidate service to the user's request. The greater the similarity, the more the candidate service meets the user's requirements on this QoS attribute, and the higher the probability of being selected.

上述的,计算每个基本服务下的候选服务的相似度,包含如下内容:假设组合服务WSC由m个基本服务WSi构成,记为WSC={WS1,WS2,…WSm},每个基本服务WSi有n个候选服务,记为WSi={s1,s2,…sn},k个QoS指标记为集合QCS;利用区间相似度公式,得到每个候选服务的各个QoS属性的相似度;将每个基本服务下的n个候选服务列为一个n×k的相似度矩阵Vi,得到m个矩阵,As mentioned above, the calculation of the similarity of candidate services under each basic service includes the following content: Assume that the combined service WSC is composed of m basic services WS i , recorded as WSC={WS 1 ,WS 2 ,...WS m }, each A basic service WS i has n candidate services, denoted as WS i ={s 1 , s 2 ,…s n }, and k QoS indicators are denoted as set QCS; using the interval similarity formula, each candidate service can be obtained The similarity of QoS attributes; the n candidate services under each basic service are listed as an n×k similarity matrix V i to obtain m matrices,

其中,pij表示该基本服务的第i个候选服务的QoS指标j的相似度。Among them, p ij represents the similarity of the QoS index j of the ith candidate service of the basic service.

上述的,利用逼近理想点的多属性决策方法,通过建立多目标规划模型,求解基本服务QoS指标客观权重。As mentioned above, by using the multi-attribute decision-making method approaching the ideal point, the objective weight of the basic service QoS index is solved by establishing a multi-objective programming model.

优选的,求解基本服务QoS指标客观权重,包含如下内容:基本服务的QoS指标权重向量为W=<w1,w2,...wk>,pij表示该基本服务的第i个候选服务的QoS指标j的相似度;令正理想点为1,则候选服务i与正理想点之间的加权距离为:候选服务越接近正理想点越优,即越小,候选服务越优,建立多目标决策模型:求解一个权重向量W,使得由于且每个候选服务之间没有优劣之分,故将多目标优化问题转化为单目标优化,即:通过求解计算出基本服务l关于QoS指标的客观权重向量WlPreferably, solving the objective weight of the QoS index of the basic service includes the following content: the weight vector of the QoS index of the basic service is W=<w 1 ,w 2 ,...w k >, p ij represents the ith candidate of the basic service The similarity of the QoS index j of the service; let the positive ideal point be 1, then the weighted distance between the candidate service i and the positive ideal point is: The closer the candidate service is to the positive ideal point, the better, that is The smaller the value, the better the candidate service. Establish a multi-objective decision-making model: solve a weight vector W, so that because And there is no distinction between each candidate service, so the multi-objective optimization problem is transformed into single-objective optimization, namely: Calculate the objective weight vector W l of the basic service l with respect to the QoS index by solving.

上述的,结合用户主观偏好计算QoS指标综合权重,包含如下内容:结合用户主观偏好,采用基于偏移量相似度度量的方法获取基本服务的重要性权重;根据QoS指标客观权重及重要性权重,计算QoS指标综合权重。As mentioned above, the comprehensive weight of the QoS index is calculated in combination with the user's subjective preference, including the following content: combined with the user's subjective preference, the importance weight of the basic service is obtained by using the method based on the offset similarity measurement; according to the objective weight and importance weight of the QoS index, Calculate the comprehensive weight of the QoS indicator.

设用户的偏好向量为pref,该向量中的组成元素为Web服务的QoS指标,用户对QoS指标的偏好程度按照向量中元素排列顺序由前向后递减。例如pref=<T,E,A,R>表示用户的QoS指标偏好优先顺序依次为响应时间、信誉度、可用性、可靠性。Suppose the user's preference vector is pref, and the elements in the vector are the QoS indicators of Web services. The user's preference for the QoS indicators decreases from front to back according to the order of the elements in the vector. For example, pref=<T, E, A, R> indicates that the priority order of the user's QoS index preference is response time, reputation, availability, and reliability.

客观偏好向量:指基本服务的QoS指标偏好。已知基本服务l的QoS指标客观权重向量Wl=<wl1,wl2,...wlk>,则其对应的客观偏好向量为其中各QoS指标的权重值满足即按照计算出来的权重从大到小将QoS指标进行重新排序得出。Objective preference vector: refers to the QoS index preference of basic services. Knowing the objective weight vector W l of the QoS index of the basic service l =<w l1 ,w l2 ,...w lk >, the corresponding objective preference vector is The weight value of each QoS index satisfies That is, it is obtained by reordering the QoS indicators from large to small according to the calculated weights.

已知组合服务中有m个基本服务,则根据上节可以分别计算得到m个基本服务的QoS客观权重向量Wl,1≤l≤m,以及对应的客观偏好向量prefl,1≤l≤m。用户的主观偏好向量为pref。由经验可知,如果某一基本服务的客观偏好向量与用户的主观偏好向量接近甚至相等,则说明该基本服务更加符合用户的心理预期,其在综合QoS权重的确定上应该占有更大的比例。本发明把这种比例称为基本服务的重要性权重。则m个基本服务的重要性权重可组成一个向量,记为向量U=<u1,u2,…um>。通过采用一种基于偏移量的相似程度度量方法,用客观偏好向量中QoS指标元素相对于主观偏好向量中相应元素的偏移程度来刻画相似性。由于偏好向量具有有序性,不同位置的偏移在相似性度量中所占比重递减。如假设用户主观偏好向量为pref=<响应时间T,信誉度E,可用性A,可靠性R>,客观偏好向量为It is known that there are m basic services in the composite service, then according to the previous section, the QoS objective weight vector W l of the m basic services, 1≤l≤m, and the corresponding objective preference vector pref l , 1≤l≤ m. The user's subjective preference vector is pref. It can be known from experience that if the objective preference vector of a basic service is close to or even equal to the user's subjective preference vector, it means that the basic service is more in line with the user's psychological expectations, and it should occupy a larger proportion in the determination of the comprehensive QoS weight. The present invention refers to this ratio as the importance weight of the basic service. Then the importance weights of m basic services can form a vector, which is recorded as vector U=<u 1 , u 2 ,... u m >. By using an offset-based similarity measurement method, the similarity is described by the offset degree of the QoS index elements in the objective preference vector relative to the corresponding elements in the subjective preference vector. Due to the ordered nature of the preference vector, the offsets at different positions account for decreasing proportions in the similarity measure. For example, assuming that the user’s subjective preference vector is pref=<response time T, reputation E, availability A, reliability R>, the objective preference vector is

prefl=<可用性A,响应时间T,可靠性R,信誉度E>,可见相对于客观偏好向量,响应时间T向后偏移了1位,信誉度E向后偏移了2位,而由于用户对于响应时间T的重视程度大于信誉度E,因此在计算相似性度量时响应时间T的偏移程度所占比重要大于信誉度E。pref l = <availability A, response time T, reliability R, reputation E>, it can be seen that relative to the objective preference vector, the response time T shifts backward by 1 digit, and the reputation E shifts backward by 2 digits, while Since the user attaches more importance to the response time T than the reputation E, the offset degree of the response time T is more important than the reputation E when calculating the similarity measure.

优选的,计算QoS指标综合权重,包含如下内容:QoS指标客观权重Wl=<wl1,wl2,...wlk>,1≤l≤m,将其列为客观权重矩阵W,即:Preferably, the calculation of the comprehensive weight of the QoS index includes the following content: the objective weight of the QoS index W l =<w l1 ,w l2 ,...w lk >, 1≤l≤m, which is listed as the objective weight matrix W, namely :

,根据该系列基本服务的重要性权重向量U=<u1,u2,…um>,通过公式计算得到考虑用户偏好的综合QoS指标权重Ω=<Ω12,…Ωk>。, according to the importance weight vector U=<u 1 ,u 2 ,…u m > of this series of basic services, the comprehensive QoS index weight Ω=<Ω 12 ,…Ω k > considering user preference is calculated by formula .

更进一步,通过公式计算得到考虑用户偏好的综合QoS指标权重Ω=<Ω12,…Ωk>,计算公式为: Furthermore, the comprehensive QoS index weight Ω=<Ω 12 ,...Ω k > considering user preference is obtained through formula calculation, and the calculation formula is:

上述的,通过推荐度对所有候选服务进行排序,具体包含如下内容:每个基本服务的候选服务的推荐度按照由大到小的顺序进行排列,并用服务链表形式存储,并通过设定推荐度阈值进行筛选。As mentioned above, all candidate services are sorted by recommendation degree, which specifically includes the following content: the recommendation degree of candidate services for each basic service is arranged in order from large to small, and stored in the form of a service link list, and by setting the recommendation degree Threshold to filter.

已计算得到每个基本服务的相似度矩阵Vi,1≤i≤m,将其乘以综合QoS指标权重,便得到每一个基本服务所对应的推荐度矩阵Xi,即:The similarity matrix V i of each basic service has been calculated, 1≤i≤m, multiplied by the weight of the comprehensive QoS index, and the recommendation matrix X i corresponding to each basic service is obtained, namely:

对于组合服务WSC={WS1,WS2,…WSm}来说,其每个基本服务WSi(1≤i≤m)有n个候选服务si(1≤i≤n),每个候选服务的推荐度为xi,将其按照由大到小的顺序进行排列,并用链表形式进行存储。如图2所示,利用服务推荐链表进行服务选取时,可以设定一个推荐度阈值,根据这个阈值可以剔除掉推荐度低的候选服务,从而缩小候选服务空间,进一步提高服务选取的准确性。For composite service WSC={WS 1 ,WS 2 ,…WS m }, each basic service WS i (1≤i≤m) has n candidate services s i (1≤i≤n), each The recommendation degree of the candidate service is x i , which are arranged in descending order and stored in the form of a linked list. As shown in Figure 2, when using the service recommendation linked list for service selection, a recommendation degree threshold can be set, and candidate services with low recommendation degrees can be eliminated according to this threshold, thereby reducing the candidate service space and further improving the accuracy of service selection.

本发明实施例还提供一种基于动态QoS和主客观权重的Web服务选取装置,如图3所示,包含:QoS模型建立模块201、相似度获取模块202、综合权重计算模块203、服务排序模块204及服务选取模块205,The embodiment of the present invention also provides a Web service selection device based on dynamic QoS and subjective and objective weights, as shown in FIG. 204 and service selection module 205,

QoS模型建立模块201,用于根据用户QoS需求的模糊性和候选服务QoS值的波动范围建立区间QoS模型;The QoS model building module 201 is used to build an interval QoS model according to the ambiguity of user QoS requirements and the fluctuation range of candidate service QoS values;

相似度获取模块202,用于根据区间QoS模型采用区间相似度公式计算每个候选服务的各个QoS属性的相似度;The similarity acquisition module 202 is used to calculate the similarity of each QoS attribute of each candidate service by using the interval similarity formula according to the interval QoS model;

综合权重计算模块203,用于利用逼近理想点的多属性决策方法通过建立多目标规划模型求解基本服务QoS指标客观权重;并结合用户主观偏好采用基于偏移量相似度度量的方法获取基本服务的重要性权重;根据QoS指标客观权重和重要性权重,计算QoS指标综合权重;The comprehensive weight calculation module 203 is used to solve the objective weight of the basic service QoS index by using the multi-attribute decision-making method approaching the ideal point by establishing a multi-objective programming model; and combining the user's subjective preference with a method based on offset similarity measurement to obtain the basic service Importance weight: Calculate the comprehensive weight of QoS indicators according to the objective weight and importance weight of QoS indicators;

服务排序模块204,用于根据综合权重计算模块得到的QoS指标综合权重及相似度获取模块得到的相似度,获取每个候选服务的推荐度,并通过推荐度对所有候选服务进行排序;The service sorting module 204 is used to obtain the recommendation degree of each candidate service according to the QoS index comprehensive weight obtained by the comprehensive weight calculation module and the similarity degree obtained by the similarity degree acquisition module, and sort all candidate services through the recommendation degree;

服务选取模块205,根据服务排序模块的排序结果选取符合用户QoS需求的服务。The service selection module 205 selects services that meet the user's QoS requirements according to the sorting results of the service sorting module.

通过区间QoS模型来表示候选服务QoS值的波动范围和用户的QoS需求,克服了动态网络环境中QoS的不确定性影响,以及用户需求表达的模糊性;利用逼近理想点的多属性决策方法求解出QoS指标客观权重,时间复杂度小,计算效率高;定义用户偏好向量来表示用户的主观偏好,只需用户给出其QoS指标的偏好排序即可,减轻了用户的负担,且更适用于实际情况;综合利用QoS客观数据和用户主观偏好信息,定义推荐度来衡量候选服务的优劣程度,提高了服务选取的准确性。The interval QoS model is used to represent the fluctuation range of the QoS value of candidate services and the QoS requirements of users, which overcomes the uncertain influence of QoS in the dynamic network environment and the ambiguity of user demand expression; it uses the multi-attribute decision-making method approaching the ideal point to solve the problem The objective weight of the QoS index is calculated, the time complexity is small, and the calculation efficiency is high; the user preference vector is defined to represent the user's subjective preference, and the user only needs to give the preference ranking of the QoS index, which reduces the burden on the user and is more suitable for Actual situation: By comprehensively using QoS objective data and user subjective preference information, the recommendation degree is defined to measure the pros and cons of candidate services, which improves the accuracy of service selection.

本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如:只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现,相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。Those of ordinary skill in the art can understand that all or part of the steps in the above method can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium, such as: a read-only memory, a magnetic disk or an optical disk, and the like. Optionally, all or part of the steps in the above embodiments can also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiments can be implemented in the form of hardware, or can be implemented in the form of software function modules. The form is realized. The present invention is not limited to any specific combination of hardware and software.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the application. Therefore, the present application will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. a kind of Web service choosing method based on dynamic QoS and subjective and objective weight, it is characterised in that include following content:
According to the ambiguity of user's QoS demand and the fluctuation range of candidate service qos value, interval QoS model is set up;
Calculate the similarity of candidate service under each basic service;
QoS index comprehensive weight is calculated with reference to user's subjective preferences;
According to QoS index comprehensive weight and similarity, the recommendation degree of each candidate service is obtained, by degree of recommendation to all candidates Service is ranked up;
The service for meeting user's QoS demand is chosen according to ranking results.
2. the Web service choosing method according to claim 1 based on dynamic QoS and subjective and objective weight, it is characterised in that Influence according to QoS attributes to Web service quality, by the QoS attribute definitions of Web service be four dimensional vector Qos=(T, E, A, R the fluctuation range of qos value), and using interval is represented, wherein, T is the response time;E is credit degree of service;A is available for service Property;R is service reliability.
3. the Web service choosing method according to claim 1 based on dynamic QoS and subjective and objective weight, it is characterised in that The similarity of the candidate service under each basic service is calculated, following content is included:Assuming that composite services WSC is by m basic clothes Be engaged in WSiConstitute, be designated as WSC={ WS1,WS2,…WSm, each basic service WSiThere is n candidate service, be designated as WSi={ s1, s2,…sn, k QoS index is designated as set QCS;Using similarity between intervals formula, each QoS category of each candidate service is obtained The similarity of property;N candidate service under each basic service is classified as to n × k similarity matrix Vi, obtain m square Battle array,
V i = p 11 p 12 ... p 1 k p 21 p 22 ... p 2 k . . . . . . . . . . . . p n 1 p n 2 ... p n k , ( 1 &le; i &le; m ) ,
Wherein, pijRepresent the QoS index j of i-th of candidate service of basic service similarity.
4. the Web service choosing method according to claim 1 based on dynamic QoS and subjective and objective weight, it is characterised in that Using the multiple attributive decision making method for approaching ideal point, by setting up Multiobjective programming models, basic service QoS index is solved objective Weight.
5. the Web service choosing method according to claim 4 based on dynamic QoS and subjective and objective weight, it is characterised in that Basic service QoS index objective weight is solved, following content is included:The QoS index weight vectors of basic service are W=<w1, w2,...wk>, pijRepresent the QoS index j of i-th of candidate service of basic service similarity;It is 1 to make Positive ideal point, then Weighted distance between candidate service i and Positive ideal point is:Set up multiobjective decision-making mould Type:Solve a weight vectors W so thatMulti-objective optimization question is converted into single goal excellent Change, i.e.,:The objective weight vector for calculating basic service l on QoS index by solving Wl
6. the Web service choosing method according to claim 1 based on dynamic QoS and subjective and objective weight, it is characterised in that QoS index comprehensive weight is calculated with reference to user's subjective preferences, following content is included:With reference to user's subjective preferences, using based on inclined The method of shifting amount measuring similarity obtains the weights of importance of basic service;According to QoS index objective weight and weights of importance, Calculate QoS index comprehensive weight.
7. the Web service choosing method according to claim 6 based on dynamic QoS and subjective and objective weight, it is characterised in that QoS index comprehensive weight is calculated, following content is included:QoS index objective weight Wl=<wl1,wl2,...wlk>, 1≤l≤m will It is classified as objective weight matrix W, i.e.,:
W = W 1 W 2 . . . W m = w 11 w 12 ... w 1 k w 21 w 22 ... w 2 k ... ... ... ... w m 1 w m 2 ... w m k
According to the weights of importance of serial basic service vector U=<u1,u2,…um>, calculated by formula and obtain considering user The comprehensive QoS index weight Ω of preference=<Ω12,…Ωk>。
8. the Web service choosing method according to claim 7 based on dynamic QoS and subjective and objective weight, it is characterised in that By formula calculate obtain consider user preference comprehensive QoS index weight Ω=<Ω12,…Ωk>, computing formula is:
&Omega; = U * W = < u 1 , u 2 , ... u m > * W 1 W 2 . . . W m = u 1 W 1 + u 2 W 2 + ... u m W m = < &Omega; 1 , &Omega; 2 , ... &Omega; k > .
9. the Web service choosing method according to claim 1 based on dynamic QoS and subjective and objective weight, it is characterised in that All candidate services are ranked up by degree of recommendation, specifically comprising following content:The candidate service of each basic service is pushed away Degree of recommending is arranged according to descending order, and is stored with service chaining sheet form, and is carried out by setting recommendation degree threshold value Screening.
10. a kind of Web service selecting device based on dynamic QoS and subjective and objective weight, it is characterised in that include:QoS model is built Module is chosen in formwork erection block, similarity acquisition module, comprehensive weight computing module, service ranking module and service,
QoS model sets up module, is set up for the ambiguity according to user's QoS demand and the fluctuation range of candidate service qos value Interval QoS model;
Similarity acquisition module, for calculating each of each candidate service using similarity between intervals formula according to interval QoS model The similarity of individual QoS attributes;
Comprehensive weight computing module, the multiple attributive decision making method of ideal point is approached for utilizing by setting up Multiobjective programming models Solve basic service QoS index objective weight;And user's subjective preferences are combined using the method based on offset measuring similarity Obtain the weights of importance of basic service;According to QoS index objective weight and weights of importance, QoS index comprehensive weight is calculated;
Service ranking module, QoS index comprehensive weight and similarity for being obtained according to comprehensive weight computing module obtain mould The similarity that block is obtained, obtains the recommendation degree of each candidate service, and all candidate services are ranked up by degree of recommendation;
Module is chosen in service, and the service for meeting user's QoS demand is chosen according to the ranking results of service ranking module.
CN201710282821.2A 2017-04-26 2017-04-26 Web service selection method and device based on dynamic QoS and subjective and objective weight Active CN106961356B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710282821.2A CN106961356B (en) 2017-04-26 2017-04-26 Web service selection method and device based on dynamic QoS and subjective and objective weight

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710282821.2A CN106961356B (en) 2017-04-26 2017-04-26 Web service selection method and device based on dynamic QoS and subjective and objective weight

Publications (2)

Publication Number Publication Date
CN106961356A true CN106961356A (en) 2017-07-18
CN106961356B CN106961356B (en) 2020-01-10

Family

ID=59483855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710282821.2A Active CN106961356B (en) 2017-04-26 2017-04-26 Web service selection method and device based on dynamic QoS and subjective and objective weight

Country Status (1)

Country Link
CN (1) CN106961356B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109784722A (en) * 2019-01-15 2019-05-21 齐鲁工业大学 Web service selection method and system based on user preference
CN109948898A (en) * 2019-02-02 2019-06-28 中国北方车辆研究所 A kind of mobile robot selection method based on probability of demand
CN110321489A (en) * 2019-07-11 2019-10-11 重庆邮电大学 A kind of smart travel recommended method and system based on improvement proposed algorithm
CN110555156A (en) * 2018-03-26 2019-12-10 中移(苏州)软件技术有限公司 optimal berth recommendation method and device
CN111683141A (en) * 2020-06-06 2020-09-18 中国科学院电子学研究所苏州研究院 User demand-oriented dynamic QoS service selection method and system
CN115964570A (en) * 2023-03-17 2023-04-14 湖南师范大学 Cloud service recommendation method and device based on QoS multi-period change feature prediction
CN116860820A (en) * 2023-07-26 2023-10-10 盐城师范学院 User product preference analysis method and system based on data security
CN117056043A (en) * 2023-07-27 2023-11-14 广东工业大学 A service selection and orchestration method and system for SCOS
CN118733005A (en) * 2024-06-28 2024-10-01 浙江大学 A virtual mapping method and system based on large model

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404589A (en) * 2008-11-14 2009-04-08 北京邮电大学 WEB service single Qos attribute appraisement method based on user requirement
CN102855333A (en) * 2012-09-27 2013-01-02 南京大学 Service selection system based on group recommendation and selection method thereof
CN103034963A (en) * 2012-11-28 2013-04-10 东南大学 Service selection system and selection method based on correlation
CN103473291A (en) * 2013-09-02 2013-12-25 中国科学院软件研究所 Personalized service recommendation system and method based on latent semantic probability models

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404589A (en) * 2008-11-14 2009-04-08 北京邮电大学 WEB service single Qos attribute appraisement method based on user requirement
CN102855333A (en) * 2012-09-27 2013-01-02 南京大学 Service selection system based on group recommendation and selection method thereof
CN103034963A (en) * 2012-11-28 2013-04-10 东南大学 Service selection system and selection method based on correlation
CN103473291A (en) * 2013-09-02 2013-12-25 中国科学院软件研究所 Personalized service recommendation system and method based on latent semantic probability models

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
付晓东: ""Web服务组合服务质量保障关键问题研究"", 《中国博士学位论文全文数据库信息科技辑》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110555156A (en) * 2018-03-26 2019-12-10 中移(苏州)软件技术有限公司 optimal berth recommendation method and device
CN110555156B (en) * 2018-03-26 2022-04-15 中移(苏州)软件技术有限公司 Optimal berth recommendation method and device
CN109784722A (en) * 2019-01-15 2019-05-21 齐鲁工业大学 Web service selection method and system based on user preference
CN109948898B (en) * 2019-02-02 2023-09-19 中国北方车辆研究所 A mobile robot selection method based on demand probability
CN109948898A (en) * 2019-02-02 2019-06-28 中国北方车辆研究所 A kind of mobile robot selection method based on probability of demand
CN110321489A (en) * 2019-07-11 2019-10-11 重庆邮电大学 A kind of smart travel recommended method and system based on improvement proposed algorithm
CN111683141A (en) * 2020-06-06 2020-09-18 中国科学院电子学研究所苏州研究院 User demand-oriented dynamic QoS service selection method and system
CN111683141B (en) * 2020-06-06 2022-06-28 中国科学院电子学研究所苏州研究院 User demand-oriented dynamic QoS service selection method and system
CN115964570A (en) * 2023-03-17 2023-04-14 湖南师范大学 Cloud service recommendation method and device based on QoS multi-period change feature prediction
CN115964570B (en) * 2023-03-17 2023-06-02 湖南师范大学 Cloud service recommendation method and device based on QoS multi-period change feature prediction
CN116860820A (en) * 2023-07-26 2023-10-10 盐城师范学院 User product preference analysis method and system based on data security
CN117056043A (en) * 2023-07-27 2023-11-14 广东工业大学 A service selection and orchestration method and system for SCOS
CN118733005A (en) * 2024-06-28 2024-10-01 浙江大学 A virtual mapping method and system based on large model
CN118733005B (en) * 2024-06-28 2025-10-28 浙江大学 A virtual mapping method and system based on large model

Also Published As

Publication number Publication date
CN106961356B (en) 2020-01-10

Similar Documents

Publication Publication Date Title
CN106961356A (en) Web service choosing method and its device based on dynamic QoS and subjective and objective weight
Yang et al. Towards personalized task matching in mobile crowdsensing via fine-grained user profiling
CN110728437A (en) Quality evaluation method and system for open data
CN108092798B (en) Variable-granularity-based cloud service optimization method and cloud server
CN105207821B (en) A Service-Oriented Network Comprehensive Performance Evaluation Method
CN108256689B (en) An Artificial Neural Network Prediction Method for Thermoplastic Formability of Amorphous Alloys
CN107194721A (en) Service recommendation person based on reputation record analysis has found method
CN102722577B (en) The determination method and device of index changeable weight
CN110650032A (en) A method for building a QoS-based application optimization deployment scheme in a multi-cloud environment
CN105512465B (en) Based on the cloud platform safety quantitative estimation method for improving VIKOR methods
CN105956757A (en) Comprehensive evaluation method for sustainable development of smart power grid based on AHP-PCA algorithm
CN104837184A (en) Heterogeneous wireless network selection method based on interval triangular fuzzy number
CN113988441A (en) Power wireless network link quality prediction and model training method and device
CN105930645A (en) Evaluation Method of Communication Station Equipment Maintenance Support Capability Based on Principal Component Analysis
CN108563749A (en) On-line education system resource recommendation method based on various dimensions information and knowledge network
CN111210072B (en) Predictive model training and user resource quota determination method and device
CN116665489A (en) Identification method of airway network congestion area
Fu et al. DEA cross‐efficiency aggregation based on preference structure and acceptability analysis
De Iudicibus et al. Assessing the role of technological districts in regional innovation policies: A network analysis of collaborative R&D projects
CN109167806A (en) A kind of uncertain QoS perception web service selection method based on prospect theory
CN113763210B (en) Scenic spot information recommendation method, device, electronic device and storage medium
CN110058942A (en) Resource allocation system and method based on analytic hierarchy process (AHP)
CN115271092A (en) Crowd funding incentive method for indoor positioning federal learning
CN104820719A (en) Web service creditworthiness measuring method based on context data of user
CN112115507B (en) Cloud business interaction method and big data platform based on cloud computing and information digitization

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant