CN102170449A - Web service QoS prediction method based on collaborative filtering - Google Patents

Web service QoS prediction method based on collaborative filtering Download PDF

Info

Publication number
CN102170449A
CN102170449A CN201110114933XA CN201110114933A CN102170449A CN 102170449 A CN102170449 A CN 102170449A CN 201110114933X A CN201110114933X A CN 201110114933XA CN 201110114933 A CN201110114933 A CN 201110114933A CN 102170449 A CN102170449 A CN 102170449A
Authority
CN
China
Prior art keywords
web service
client user
sigma
overbar
con
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
CN201110114933XA
Other languages
Chinese (zh)
Other versions
CN102170449B (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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201110114933.XA priority Critical patent/CN102170449B/en
Publication of CN102170449A publication Critical patent/CN102170449A/en
Application granted granted Critical
Publication of CN102170449B publication Critical patent/CN102170449B/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)

Abstract

The invention discloses a Web service QoS prediction method based on collaborative filtering. The result of the QoS predicted by the server terminal is more accurate through calculating the degree of similarity of the Web services by the A-Cosine method and solving the data sparseness problem by using the information of QoS of a similar Web service aiming at a similar client-side user.

Description

A kind of Web service QoS Forecasting Methodology based on collaborative filtering
Technical field
The invention belongs to the web service field, mainly realize a kind of Web service QoS Forecasting Methodology based on collaborative filtering.
Background technology
Along with the rise of networking application and " software is as service " theory, huge variation is just taking place in software system in main shape, operational mode, the mode of production and occupation mode under the internet environment.Reuse and dynamic aggregation becomes the important trend of future network software development with the distribution application system of the loose coupling that makes up on-demand by service.Yet along with the explosive increase of quantity of service, how a large amount of services that function is identical, nonfunctional characteristics is different that distributing on the network select the more excellent service of quality to become a ubiquitous problem in the suitable services set of function.Web service based on QoS is selected to a popular domain of research in recent years.
Suppose all that about the research of selecting based on the Web service of QoS all web services all are known at the QoS of target customer's end subscriber at present, then by solving this problem based on Optimum Theory or graph theory method.Yet, in true application scenarios, suppose all Web services at the QoS of target customer's end subscriber all be known be unpractiaca, the reasons are as follows: 1) because the difference of factors such as different clients user's geographical position or network environment, identical Web service may be different at different clients user's QoS; 2) client user is difficult to call all Web services.Therefore, in real scene, existing some Web service is unknown at the QoS of target customer's end subscriber, and these unknown QoS have influenced accuracy and the completeness of selecting based on the Web service of QoS.QoS at the unknown predicts the accuracy of the Web service selection that is based on QoS and the important leverage of completeness.
In the prior art, the QoS of the unknown predicted mainly contain following some deficiency:
1. existing Web service QOS Forecasting Methodology mainly adopts Pearson Correlation Coefficient (PCC) method to come between the computing client end subscriber or the similarity between the Web service.By observation to real Web service QoS data, we find the different clients user the QoS range differences apart from obviously, it is all lower to be that some client user calls the QoS of all Web services, and has some client users to call the QoS of any Web service all than higher.Because residing network gateway is more, and fail safe is stronger as, client user A, and it is all long that he calls the time that all Web services need, and client user B is owing to be in the fast network, and it is all shorter to call all Web service times.
2. existing Web service QoS Forecasting Methodology all is to use based on the client user or based on the QoS of Web service prediction, also has some researchs all will combine based on the client user with based on the Forecasting Methodology of Web service and predicts.Yet because the sparse property of QoS data, the information that obtains from similar client user and similar Web service also is not enough to provide accurate QoS prediction.
Summary of the invention
At the deficiencies in the prior art, the present invention proposes a kind of Web service QoS Forecasting Methodology based on collaborative filtering, by calculating similarity between the Web service with the A-Cosine method, utilizing similar web service that similar client user's QoS information is solved the sparse problem of data, make prediction result more accurate.
In order to solve the problems of the technologies described above, technical scheme of the present invention is as follows:
A kind of Web service QoS Forecasting Methodology based on collaborative filtering comprises the steps:
1) client user proposes to select demand based on the Web service of QoS to service end;
2) described service end if described web service is crossed in existing client user's never call, then is changed to sky according to described client user's demand and the QoS data generating feature vector between existing client user and the described service end web service;
3) described server end is by the similarity between the described client user of formula 1 calculating, by the similarity between the described web service of formula 2 calculating
Sim ( u 1 , u 2 ) = Σ s ∈ S ( r u 1 , s - r u 1 ‾ ) ( r u 2 , s - r u 2 ‾ ) Σ s ∈ S ( r u 1 , s - r u 1 ‾ ) 2 Σ s ∈ S ( r u 2 , s - r u 2 ‾ ) 2 - - - 1
S = S u 1 ∩ S u 2
Sim ( s 1 , s 2 ) = Σ u ∈ U ( r u , s 1 - r u ‾ ) ( r u , s 2 - r u ‾ ) Σ u ∈ U ( r u , s 1 - r u ‾ ) 2 Σ u ∈ U ( r u , s 2 - r u ‾ ) 2 - - - 2
U = U s 1 ∩ U s 2 ;
Wherein
Figure BSA00000488866100035
Be client user u 1With the set of all Web services of crossing,
Figure BSA00000488866100036
For all called Web service s 1Client user's set, r U, sThe QoS of expression client user u called Web service s,
Figure BSA00000488866100037
The mean value of the QoS of the Web service of being called for client user u;
4) according to the Top-K principle, described server end is selected client user similar in the step 3) and similar web service;
5) described server end calculates the similarity of QoS between the similar web service of similar client user by formula 3;
Sim(u 1s 1,us)=Sim(u 1,u)×Sim(s 1,s) 3
6) described server end calculates predicting the outcome based on the client user by formula 4, calculate predicting the outcome by formula 5 based on the web service, calculate based on predicting the outcome that the similar web of similar client user serves by formula 6, and calculate the confidence level that predicts the outcome separately respectively;
UPre ( r u , s ) = r u ‾ + Σ u 1 ∈ S ( u ) S im ′ ( u 1 , u ) ( r u 1 , s - r u 2 ‾ ) Σ u 1 ∈ S ( u ) Sim ′ ( u 1 , u ) - - - 4
con u = Σ u 1 ∈ S ( u ) Sim ( u 1 , u ) Σ u 1 ∈ S ( u ) Sim ( u 1 , u ) × Sim ( u 1 , u ) ,
Con wherein uBe the confidence level that predicts the outcome based on the client user,
SPre ( r u , s ) = r s ‾ + Σ s 1 ∈ S ( s ) S im ′ ( s 1 , s ) ( r u , s 1 - r s 1 ‾ ) Σ s 1 ∈ S ( s ) Sim ′ ( s 1 , s ) - - - 5
con s = Σ s 1 ∈ S ( s ) Sim ( s 1 , s ) Σ s 1 ∈ S ( s ) Sim ( s 1 , s ) × Sim ( s 1 , s ) ,
Con sBe the confidence level that predicts the outcome based on the web service
USPre ( r u , s ) = Σ u 1 ∈ S ( u ) , s 1 ∈ S ( s ) Sim ( u 1 s 1 , us ) P u , s ( u 1 , s 1 ) Σ u 1 ∈ S ( u ) , s 1 ∈ S ( s ) Sim ( u 1 s 1 , us ) , - - - 6
con us = Σ u 1 ∈ S ( u ) , s 1 ∈ S ( s ) Sim ( u 1 s 1 , us ) 2 Σ u 1 ∈ S ( u ) , s 1 ∈ S ( s ) Sim ( u 1 s 1 , us )
Con wherein UsBe the confidence level that predicts the outcome based on the similar Web service of similar client user, P U, s(u 1, s 1) expression by
Figure BSA00000488866100045
To r U, sWhat go out predicts the outcome, and it is calculated as follows:
P u , s ( u 1 , s 1 ) = ( r u 1 , s 1 - r u 1 ‾ + r s 1 ‾ - r u ‾ - r s ‾ 2 ) ;
7) described server end calculates described three kinds of weights that predict the outcome respectively by formula 7,8,9, and obtains final predicting the outcome by formula 10
w u = θ ( 1 - δ ) con u δ con us + θ ( 1 - δ ) con u + ( 1 - θ ) ( 1 - δ ) con s , - - - 7
w s = ( 1 - θ ) ( 1 - δ ) con s δ con us + θ ( 1 - δ ) con u + ( 1 - θ ) ( 1 - δ ) con s , - - - 8
w us = δ con us δ con us + θ ( 1 - δ ) con u + ( 1 - θ ) ( 1 - δ ) con s - - - 9
Pre(r u,s)=w u×UPre(r u,s)+w s×SPre(r u,s)+w us×USPre(r u,s) 10
Wherein, w u, w s, w UsBe based on predicting the outcome of client user respectively, based on predicting the outcome and the weight that predicts the outcome of serving of web service based on the similar web of similar client user;
8) described server end is according to finally predicting the outcome, and choosing is deleted in service to candidate web;
9) the candidate web service that screening obtains according to step 8) according to described client user's QoS demand, is carried out the web services selection.
As possibility: comprise also between described step 4) and the step 5 that Qos to described similar client user and described similar web service carries out Data Smoothing by formula 11 and handles;
r ′ u τ , s = r u τ ‾ + Δ r C u ( s ) , - - - 11
Wherein
Figure BSA00000488866100052
Expression cluster C uMiddle client user is to the average QoS deviation of Web service s, and concrete computing formula is as follows:
Δ r C u ( s ) = Σ u ′ ∈ C u ( s ) ( r u ′ , s - r u ′ ‾ ) | C u ( s ) | ,
Wherein, C u(s) expression cluster C uIn all called the client user's of web service s set.Beneficial effect of the present invention is: by calculate the similarity between the Web service with the A-Cosine method, use
Figure BSA00000488866100054
Eliminated the influence that different clients user's different QoS scope predicts the outcome to final QoS; And use Data Smoothing method to improve the accuracy rate of prediction more; Utilize similar web service that similar client user's QoS information is solved the sparse problem of data, make prediction result more accurate.
Description of drawings
Fig. 1 selects Organization Chart based on the Web service of collaborative filtering;
Fig. 2 is Web service QoS Forecasting Methodology internal process figure.
Embodiment
The present invention will be further described below in conjunction with the drawings and specific embodiments.
As shown in Figure 1, select to comprise following components based on the Web service of collaborative filtering:
(1) Request: the client user proposes to select demand based on the Web service of QoS;
(2) QoS Prediction: server end is predicted the QoS of each web service to target customer's end subscriber according to client user's demand and the QoS data of collecting.
(3) Pruning: server end is according to predicting the outcome, and service is deleted and cut to candidate web, with some obviously by other services " domination " and service from candidate queue, remove.
(4) QoS-based Selection: the candidate web service that screening obtains according to the Pruning process, according to client user's QoS demand, carry out Web service and select.
Above-mentioned steps 2) in, it is a ring of most critical that server end QoS predicts the outcome, and mainly adopts the PCC method to come between the computing client end subscriber or the similarity between the Web service in existing Web service QoS Forecasting Methodology.But by to the observation of real Web service QoS data, find the different clients user the QoS range differences apart from obviously, in order to eliminate the gap of this QoS scope, propose in this example to calculate the similarity of web between serving with the A-Cosine method.
At first variable and the formula that needs in the Forecasting Methodology to use carried out some definition;
Figure BSA00000488866100061
Be client user u 1With the set of all Web services of crossing, For all called Web service s 1Client user's set, r U, sThe QoS of expression client user u called Web service s,
Figure BSA00000488866100063
The mean value of the QoS of the Web service of being called for client user u.
Client user's calculating formula of similarity:
Sim ( u 1 , u 2 ) = Σ s ∈ S ( r u 1 , s - r u 1 ‾ ) ( r u 2 , s - r u 2 ‾ ) Σ s ∈ S ( r u 1 , s - r u 1 ‾ ) 2 Σ s ∈ S ( r u 2 , s - r u 2 ‾ ) 2 - - - ( 2.1 )
Wherein S = S u 1 ∩ S u 2 .
Web service calculating formula of similarity based on A-Cosine:
Sim ( s 1 , s 2 ) = Σ u ∈ U ( r u , s 1 - r u ‾ ) ( r u , s 2 - r u ‾ ) Σ u ∈ U ( r u , s 1 - r u ‾ ) 2 Σ u ∈ U ( r u , s 2 - r u ‾ ) 2 - - - ( 2.2 )
Wherein U = U s 1 ∩ U s 2 .
In formula 2.2, we have introduced the A-Cosine method, by using
Figure BSA00000488866100072
Eliminated the influence that different clients user's different QoS scope predicts the outcome to final QoS.
In the prior art about the Forecasting Methodology of the QoS of Web service in final prediction, often the QoS with the Web service of client user's never call is made as Null, though method is simple for this, final predicted value is reduced, influenced the precision of prediction of QoS.The method of a DataSmoothing has been proposed in the present invention, QoS to the Web service of client user's never call carries out an interpolation processing, by the client user is carried out cluster according to similarity, from the residing cluster of this client user, get average qos value to this Web service as the qos value of this client user, thereby improve the accuracy rate of prediction this Web service.The client user gathers U={u 1, u 2..., u n, the client user's similarity that obtains according to formula 1 by the K-Means clustering method obtains K cluster, wherein client user u with its cluster tBelong to cluster C u
Data?Smoothing:
r ′ u τ , s = r u τ ‾ + Δ r C u ( s ) , - - - ( 2.3 )
Wherein
Figure BSA00000488866100074
Expression cluster C uMiddle client user is to the average QoS deviation of Web service s, and concrete computing formula is as follows:
Δ r C u ( s ) = Σ u ′ ∈ C u ( s ) ( r u ′ , s - r u ′ ‾ ) | C u ( s ) | ,
Wherein, C u(s) expression cluster C uIn all called the client user's of Web service s set.
The advantage of above-mentioned Data Smoothing is to make the accuracy improved prediction more, but at some accuracy to be required be not under the very harsh situation, uses prior art also can.
QoS prediction based on the client user
UPre ( r u , s ) = r u ‾ + Σ u 1 ∈ S ( u ) S im ′ ( u 1 , u ) ( r u 1 , s - r u 2 ‾ ) Σ u 1 ∈ S ( u ) Sim ′ ( u 1 , u ) - - - ( 2.4 )
QoS prediction based on Web service
SPre ( r u , s ) = r s ‾ + Σ s 1 ∈ S ( s ) S im ′ ( s 1 , s ) ( r u , s 1 - r s 1 ‾ ) Σ s 1 ∈ S ( s ) Sim ′ ( s 1 , s ) - - - ( 2.5 )
Existing Web service QoS Forecasting Methodology all be to use in formula 2.4 and the formula 2.5 based on the client user or based on the QoS of Web service prediction, also there are some researchs all will combine and predict " Zibin Zheng, ICWS ' 09 " based on the client user with based on the Forecasting Methodology of Web service.Yet because the sparse property of QoS data, the information that obtains from similar client user and similar Web service also is not enough to provide accurate QoS prediction.Therefore, can utilize similar Web service that similar client user's QoS information is solved the sparse problem of data (Data Sparsity Problem).Given u 1Be the similar client user of u, s 1Be the similar Web service of Web service s, then and r U, sBetween similarity calculate by following formula 2.6.
Sim(u 1s 1,us)=Sim(u 1,u)×Sim(s 1,s) (2.6)
Based on formula 2.7, this example proposes a kind of QoS Forecasting Methodology based on the similar Web service of similar client user.
QoS prediction based on the similar Web service of similar client user
USPre ( r u , s ) = Σ u 1 ∈ S ( u ) , s 1 ∈ S ( s ) Sim ( u 1 s 1 , us ) P u , s ( u 1 , s 1 ) Σ u 1 ∈ S ( u ) , s 1 ∈ S ( s ) Sim ( u 1 s 1 , us ) , - - - ( 2.7 )
Wherein
Figure BSA00000488866100085
Expression is by right
Figure BSA00000488866100087
That makes predicts the outcome, and it is calculated as follows:
P u , s ( u 1 , s 1 ) = ( r u 1 , s 1 - r u 1 ‾ + r s 1 ‾ - r u ‾ - r s ‾ 2 )
By with formula 2.4,2.5, three in 2.7 predict the outcome and carry out combination, obtain final predicting the outcome.
Because three predict the outcome and drawn by different data, so its credibility also differs, and can calculate its result's credibility by its similarity.Concrete formula is as follows:
The reliability forecasting formula:
con u = Σ u 1 ∈ S ( u ) Sim ( u 1 , u ) Σ u 1 ∈ S ( u ) Sim ( u 1 , u ) × Sim ( u 1 , u ) ,
con s = Σ s 1 ∈ S ( s ) Sim ( s 1 , s ) Σ s 1 ∈ S ( s ) Sim ( s 1 , s ) × Sim ( s 1 , s ) , - - - ( 2.8 )
con us = Σ u 1 ∈ S ( u ) , s 1 ∈ S ( s ) Sim ( u 1 s 1 , us ) 2 Σ u 1 ∈ S ( u ) , s 1 ∈ S ( s ) Sim ( u 1 s 1 , us )
Wherein, con uBe the confidence level that predicts the outcome based on the client user, con sBe the confidence level that predicts the outcome based on Web service, con UsBe the confidence level that predicts the outcome based on the similar Web service of similar client user.Simultaneously, in the present invention, designed two parameter δ and θ and adjusted three kinds of weights that predict the outcome in final result.
Weight predicts the outcome:
w u = θ ( 1 - δ ) con u δ con us + θ ( 1 - δ ) con u + ( 1 - θ ) ( 1 - δ ) con s ,
w s = ( 1 - θ ) ( 1 - δ ) con s δ con us + θ ( 1 - δ ) con u + ( 1 - θ ) ( 1 - δ ) con s , - - - ( 2.9 )
w us = δ con us δ con us + θ ( 1 - δ ) con u + ( 1 - θ ) ( 1 - δ ) con s
Wherein, w u, w s, w UsBe based on predicting the outcome of client user respectively, based on predicting the outcome and the weight that predicts the outcome of Web service based on the similar Web service of similar client user.The final formula that predicts the outcome is as follows:
Finally predict the outcome:
Pre(r u,s)=w u×UPre(r u,s)+w s×SPre(r u,s)+w us×USPre(r u,s)(2.10)
Web service QoS predicts internal process as shown in Figure 2:
(1) according to the QoS data between client user who has had and the web service, the generating feature vector if this web service is crossed in client user's never call, then is changed to null;
(2) according between formula 2.1, the 2.2 computing client end subscribers and the similarity between the Web service;
(3) according to Top-K principle (K Web service before selecting), select similar client user and similar Web service;
(4) QoS to similar client user and similar Web service uses formula 2.3 to carry out Data Smoothing processing;
(5) pass through the similarity that formula 2.6 calculates QoS between the similar Web service of similar client users;
(6) calculate based on the predicting the outcome of client user, based on predicting the outcome of Web service and predicting the outcome by formula 2.4,2.5,2.7 based on the similar Web service of similar client user;
(7) calculate three kinds of confidence levels that predict the outcome and weight by formula 2.8,2.9,2.10, and obtain final predicting the outcome.
Test result:
QoS Forecasting Methodology that proposes among the present invention for representing of quantizing and the quality between traditional Forecasting Methodology, we use NMAE (Normalized Mean Absolute Error) to come the accuracy of evaluation prediction.In order to explain NMAE better, our first simple defining is MAE once:
MAE = Σ u , s | r u , s - r ^ u , s | N
Wherein, r U, sThe disappearance QoS predicted value of expression client user u called Web service s,
Figure BSA00000488866100102
The true qos value of expression client user u called Web service s, N represents the disappearance QoS sum predicted, MAE be all predict the outcome with separately between the actual value the total institute of the mean value of error known, different Web services qos value size separately is can difference very big, uses the problem that MAE can not very objective reflection accuracy therefore merely.For the influence of the gap between the QoS span of eliminating different Web services to the quantitative evaluation objectivity, we have adopted the NMAE after the normalization:
NMAE = MAE Σ i , j r i , j N - - - ( 2.11 )
From formula 2.11 we as can be seen, QoS predicts the outcome more accurately, the NMAE of generation calculates in institute will be more little.
Data centralization that experiment is used has comprised the detailed recalls information of 100 client users to 150 Web services, so we use the client user-Web service matrix of a 150*100 size to store.In experiment, this matrix has been divided into two parts, wherein, the capable training matrix that is used as of p wherein, remaining (150-p) row is then as test matrix.Simultaneously, in order to simulate actual environment for use truly as far as possible, we suppose that each client user in the training set only called 5% in 100 Web services separately, and therefore, we are sparse in 5% with the density of training matrix randomly.In addition, we have also carried out to a certain degree sparse to test matrix, for each client user only keeps Given qos value, promptly suppose the Web service that each client user to be predicted only called Given quantity, the value of Given is respectively 5,10,20.Simultaneously, we are provided with θ=0.1, δ=0.05, top-K=10.
Figure BSA00000488866100112
With present method UPCC, IPCC compares with WSRec, and the NMAE value of the method ADF in this patent is littler, and it is more accurate promptly to predict the outcome.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, without departing from the inventive concept of the premise; can also make some improvements and modifications, these improvements and modifications also should be considered within the scope of protection of the present invention.

Claims (2)

1. the Web service QoS Forecasting Methodology based on collaborative filtering is characterized in that: comprise the steps:
1) client user proposes to select demand based on the Web service of QoS to service end;
2) described service end if described web service is crossed in existing client user's never call, then is changed to sky according to described client user's demand and the QoS data generating feature vector between existing client user and the described service end web service;
3) described server end is by the similarity between the described client user of formula 1 calculating, by the similarity between the described web service of formula 2 calculating
Sim ( u 1 , u 2 ) = Σ s ∈ S ( r u 1 , s - r u 1 ‾ ) ( r u 2 , s - r u 2 ‾ ) Σ s ∈ S ( r u 1 , s - r u 1 ‾ ) 2 Σ s ∈ S ( r u 2 , s - r u 2 ‾ ) 2 - - - 1
S = S u 1 ∩ S u 2
Sim ( s 1 , s 2 ) = Σ u ∈ U ( r u , s 1 - r u ‾ ) ( r u , s 2 - r u ‾ ) Σ u ∈ U ( r u , s 1 - r u ‾ ) 2 Σ u ∈ U ( r u , s 2 - r u ‾ ) 2 - - - 2
U = U s 1 ∩ U s 2
Wherein Be client user u 1With the set of all Web services of crossing,
Figure FSA00000488866000016
For all called Web service s 1Client user's set, r U, sThe QoS of expression client user u called Web service s,
Figure FSA00000488866000017
The mean value of the QoS of the Web service of being called for client user u;
4) according to the Top-K principle, described server end is selected client user similar in the step 3) and similar web service;
5) described server end calculates the similarity of QoS between the similar web service of similar client user by formula 3;
Sim(u 1s 1,us)=Sim(u 1,u)×Sim(s 1,s) 3
6) described server end calculates predicting the outcome based on the client user by formula 4, calculate predicting the outcome by formula 5 based on the web service, calculate based on predicting the outcome that the similar web of similar client user serves by formula 6, and calculate the confidence level that predicts the outcome separately respectively;
UPre ( r u , s ) = r u ‾ + Σ u 1 ∈ S ( u ) S im ′ ( u 1 , u ) ( r u 1 , s - r u 2 ‾ ) Σ u 1 ∈ S ( u ) Sim ′ ( u 1 , u ) - - - 4
con u = Σ u 1 ∈ S ( u ) Sim ( u 1 , u ) Σ u 1 ∈ S ( u ) Sim ( u 1 , u ) × Sim ( u 1 , u ) ,
Con wherein uBe the confidence level that predicts the outcome based on the client user,
SPre ( r u , s ) = r s ‾ + Σ s 1 ∈ S ( s ) S im ′ ( s 1 , s ) ( r u , s 1 - r s 1 ‾ ) Σ s 1 ∈ S ( s ) Sim ′ ( s 1 , s ) - - - 5
con s = Σ s 1 ∈ S ( s ) Sim ( s 1 , s ) Σ s 1 ∈ S ( s ) Sim ( s 1 , s ) × Sim ( s 1 , s ) ,
Con sBe the confidence level that predicts the outcome based on the web service
USPre ( r u , s ) = Σ u 1 ∈ S ( u ) , s 1 ∈ S ( s ) Sim ( u 1 s 1 , us ) P u , s ( u 1 , s 1 ) Σ u 1 ∈ S ( u ) , s 1 ∈ S ( s ) Sim ( u 1 s 1 , us ) , - - - 6
con us = Σ u 1 ∈ S ( u ) , s 1 ∈ S ( s ) Sim ( u 1 s 1 , us ) 2 Σ u 1 ∈ S ( u ) , s ∈ S ( s ) Sim ( u 1 s 1 , us )
Con wherein UsBe the confidence level that predicts the outcome based on the similar service of similar client user, P U, s(u 1, s 1) expression by
Figure FSA00000488866000027
To r U, sThat makes predicts the outcome, and it is calculated as follows:
P u , s ( u 1 , s 1 ) = ( r u 1 , s 1 - r u 1 ‾ + r s 1 ‾ - r u ‾ - r s ‾ 2 ) ;
7) described server end calculates described three kinds of weights that predict the outcome respectively by formula 7,8,9, and obtains final predicting the outcome by formula 10
w u = θ ( 1 - δ ) con u δ con us + θ ( 1 - δ ) con u + ( 1 - θ ) ( 1 - δ ) con s , - - - 7
w s = ( 1 - θ ) ( 1 - δ ) con s δ con us + θ ( 1 - δ ) con u + ( 1 - θ ) ( 1 - δ ) con s , - - - 8
w us = δ con us δ con us + θ ( 1 - δ ) con u + ( 1 - θ ) ( 1 - δ ) con s - - - 9
Pre(r u,s)=w u×UPre(r u,s)+w s×SPre(r u,s)+w us×USPre(r u,s)?10
Wherein, w u, w s, w UsBe based on predicting the outcome of client user respectively, based on predicting the outcome and the weight that predicts the outcome of serving of web service based on the similar web of similar client user;
8) described server end is according to finally predicting the outcome, and choosing is deleted in service to candidate web;
9) the candidate web service that screening obtains according to step 8) according to described client user's QoS demand, is carried out the web services selection.
2. a kind of Web service QoS Forecasting Methodology based on collaborative filtering according to claim 1 is characterized in that: comprise also between described step 4) and the step 5 that the Qos to described similar client user and described similar web service carries out Data Smoothing processing by formula 11;
r ′ u τ , s = r u τ ‾ + Δ r C u ( s ) , - - - 11
Wherein
Figure FSA00000488866000035
(s) expression cluster C uMiddle client user is to the average QoS deviation of Web service s, and concrete computing formula is as follows:
Δ r C u ( s ) = Σ u ′ ∈ C u ( s ) ( r u ′ , s - r u ′ ‾ ) | C u ( s ) | ,
Wherein, C u(s) expression cluster C uIn all called the client user's of web service s set.
CN201110114933.XA 2011-04-28 2011-04-28 Web service QoS prediction method based on collaborative filtering Expired - Fee Related CN102170449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110114933.XA CN102170449B (en) 2011-04-28 2011-04-28 Web service QoS prediction method based on collaborative filtering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110114933.XA CN102170449B (en) 2011-04-28 2011-04-28 Web service QoS prediction method based on collaborative filtering

Publications (2)

Publication Number Publication Date
CN102170449A true CN102170449A (en) 2011-08-31
CN102170449B CN102170449B (en) 2015-01-07

Family

ID=44491426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110114933.XA Expired - Fee Related CN102170449B (en) 2011-04-28 2011-04-28 Web service QoS prediction method based on collaborative filtering

Country Status (1)

Country Link
CN (1) CN102170449B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404173A (en) * 2011-12-27 2012-04-04 重庆大学 Prediction method of Web service throughput rate
CN102521362A (en) * 2011-12-15 2012-06-27 北京航空航天大学 Web service recommendation method and device
CN102629341A (en) * 2012-04-13 2012-08-08 浙江大学 Web service QoS (Quality of Service) on-line prediction method based on geographic position information of user
CN103209102A (en) * 2013-03-11 2013-07-17 北京邮电大学 Web quality of service distributed measurement system and method
CN103218675A (en) * 2013-05-06 2013-07-24 国家电网公司 Short-term load prediction method based on clustering and sliding window
CN103647673A (en) * 2013-12-24 2014-03-19 博元森禾信息科技(北京)有限公司 Method and device for QoS (quality of service) prediction of Web service
CN103684850A (en) * 2013-11-25 2014-03-26 浙江大学 Service neighborhood based Web Service quality prediction method
CN103840985A (en) * 2014-02-28 2014-06-04 浙江大学 Web service quality prediction method and device based on user neighborhoods
CN104601385A (en) * 2013-10-31 2015-05-06 浙江大学 WebService service quality prediction method based on geographic location
CN104834967A (en) * 2015-04-24 2015-08-12 南京邮电大学 User similarity-based business behavior prediction method under ubiquitous network
CN105430099A (en) * 2015-12-22 2016-03-23 湖南科技大学 Collaborative Web service performance prediction method based on position clustering
CN105956015A (en) * 2016-04-22 2016-09-21 四川中软科技有限公司 Service platform integration method based on big data
CN106027317A (en) * 2016-07-21 2016-10-12 中国人民解放军海军工程大学 Trust-aware Web service quality prediction system and method
WO2019056571A1 (en) * 2017-09-25 2019-03-28 深圳大学 Method for predicting quality of web service
CN110266539A (en) * 2019-06-24 2019-09-20 公安部第一研究所 A kind of Internet of Things service QoS prediction technique based on collaborative filtering

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895581A (en) * 2010-07-16 2010-11-24 浙江大学 QoS technology perception-based dynamic web service selection method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895581A (en) * 2010-07-16 2010-11-24 浙江大学 QoS technology perception-based dynamic web service selection method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邵凌霜等: "一种Web Service的服务质量预测方法", 《软件学报》 *

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521362A (en) * 2011-12-15 2012-06-27 北京航空航天大学 Web service recommendation method and device
CN102521362B (en) * 2011-12-15 2014-04-09 北京航空航天大学 Web service recommendation method and device
CN102404173B (en) * 2011-12-27 2013-11-27 重庆大学 Prediction method of Web service throughput rate
CN102404173A (en) * 2011-12-27 2012-04-04 重庆大学 Prediction method of Web service throughput rate
CN102629341B (en) * 2012-04-13 2015-09-09 浙江大学 A kind of Web service QoS on-line prediction method based on user's geographical location information
CN102629341A (en) * 2012-04-13 2012-08-08 浙江大学 Web service QoS (Quality of Service) on-line prediction method based on geographic position information of user
CN103209102A (en) * 2013-03-11 2013-07-17 北京邮电大学 Web quality of service distributed measurement system and method
CN103209102B (en) * 2013-03-11 2015-11-04 北京邮电大学 The Distributed Measurement System of Web service quality and method
CN103218675A (en) * 2013-05-06 2013-07-24 国家电网公司 Short-term load prediction method based on clustering and sliding window
CN103218675B (en) * 2013-05-06 2016-06-01 国家电网公司 A kind of based on the short-term load forecasting method of cluster and moving window
CN104601385A (en) * 2013-10-31 2015-05-06 浙江大学 WebService service quality prediction method based on geographic location
CN103684850B (en) * 2013-11-25 2017-02-22 浙江大学 Service neighborhood based Web Service quality prediction method
CN103684850A (en) * 2013-11-25 2014-03-26 浙江大学 Service neighborhood based Web Service quality prediction method
CN103647673A (en) * 2013-12-24 2014-03-19 博元森禾信息科技(北京)有限公司 Method and device for QoS (quality of service) prediction of Web service
CN103647673B (en) * 2013-12-24 2017-03-15 博元森禾信息科技(北京)有限公司 The service quality QoS Forecasting Methodology of Web service and device
CN103840985A (en) * 2014-02-28 2014-06-04 浙江大学 Web service quality prediction method and device based on user neighborhoods
CN104834967A (en) * 2015-04-24 2015-08-12 南京邮电大学 User similarity-based business behavior prediction method under ubiquitous network
CN105430099A (en) * 2015-12-22 2016-03-23 湖南科技大学 Collaborative Web service performance prediction method based on position clustering
CN105430099B (en) * 2015-12-22 2018-09-28 湖南科技大学 A kind of cooperating type Web service performance prediction method based on position cluster
CN105956015A (en) * 2016-04-22 2016-09-21 四川中软科技有限公司 Service platform integration method based on big data
CN106027317A (en) * 2016-07-21 2016-10-12 中国人民解放军海军工程大学 Trust-aware Web service quality prediction system and method
CN106027317B (en) * 2016-07-21 2018-12-14 中国人民解放军海军工程大学 The Web service quality prediction system and method for trust-aware
WO2019056571A1 (en) * 2017-09-25 2019-03-28 深圳大学 Method for predicting quality of web service
CN110266539A (en) * 2019-06-24 2019-09-20 公安部第一研究所 A kind of Internet of Things service QoS prediction technique based on collaborative filtering
CN110266539B (en) * 2019-06-24 2022-03-01 公安部第一研究所 Internet of things service QoS prediction method based on collaborative filtering

Also Published As

Publication number Publication date
CN102170449B (en) 2015-01-07

Similar Documents

Publication Publication Date Title
CN102170449B (en) Web service QoS prediction method based on collaborative filtering
CN105550275B (en) A kind of microblogging transfer amount prediction technique
CN106933649B (en) Virtual machine load prediction method and system based on moving average and neural network
CN106776660A (en) A kind of information recommendation method and device
CN110149237A (en) A kind of Hadoop platform calculate node load predicting method
CN103473291A (en) Personalized service recommendation system and method based on latent semantic probability models
CN103854065A (en) Customer loss prediction method and device
CN102163230B (en) Method for implementing personalized information retrieval system for customizing privacy protection
CN107491996A (en) A kind of webpage advertisement delivery method and system
CN110287250B (en) User grade quantification method and device
CN106407477A (en) Multidimensional interconnection recommendation method and system
CN109754135B (en) Credit behavior data processing method, apparatus, storage medium and computer device
CN104035987A (en) Method for ranking microblog network user influence
CN106204103B (en) A kind of method that moving advertising platform finds similar users
CN107133268B (en) Collaborative filtering method for Web service recommendation
CN103840985A (en) Web service quality prediction method and device based on user neighborhoods
Sun et al. QoS uncertainty filtering for fast and reliable web service selection
CN114301935A (en) Reputation-based method for selecting edge cloud collaborative federated learning nodes of Internet of things
CN114385376A (en) Client selection method for federated learning of lower edge side of heterogeneous data
CN115879542A (en) Federal learning method oriented to non-independent same-distribution heterogeneous data
Tang et al. EICache: A learning-based intelligent caching strategy in mobile edge computing
Gao et al. A deep learning framework with spatial-temporal attention mechanism for cellular traffic prediction
Németh et al. A snapshot of the frontiers of client selection in federated learning
CN114092162B (en) Recommendation quality determination method, and training method and device of recommendation quality determination model
CN113962417A (en) Video processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Wu Jian

Inventor after: Chen Liang

Inventor after: Feng Yipeng

Inventor after: Li Ying

Inventor after: Deng Shuiguang

Inventor after: Yin Jianwei

Inventor after: Wu Chaohui

Inventor before: Wu Jian

Inventor before: Chen Liang

Inventor before: Feng Yipeng

Inventor before: Li Ying

Inventor before: Deng Shuiguang

Inventor before: Yin Jianwei

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: WU JIAN CHEN LIANG FENG YIPENG LI YING DENG SHUIGUANG YIN JIANWEI TO: WU JIAN CHEN LIANG FENG YIPENG LI YING DENG SHUIGUANG YIN JIANWEI WU ZHAOHUI

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150107

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