SlideShare a Scribd company logo
International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 
DOI : 10.5121/ijwest.2014.5402 21 
IMMUNE-INSPIRED METHOD FOR SELECTING THE OPTIMAL SOLUTION IN SEMANTIC WEB SERVICE COMPOSITION 
Merzoug Mohamed1, Chikh Mohammed Amine2 ,and Bekkouche Amina1 
1Department of Computer Science, Abou Bekr Belkaid University, Faculty of Sciences, Tlemcen, Algeria 
2Biomedical Engineering Laboratory, Abou Bekr Belkaid University, Faculty of Technology, Tlemcen, Algeria 
ABSTRACT 
The increasing interest in developing efficient and effective optimization techniques has conducted researchers to turn their attention towards biology. It has been noticed that biology offers many clues for designing novel optimization techniques, these approaches exhibit self-organizing capabilities and permit the reachability of promising solutions without the existence of a central coordinator. In this paper we handle the problem of dynamic web service composition, by using the clonal selection algorithm. In order to assess the optimality rate of a given composition, we use the QOS attributes of the services involved in the workflow as well as, the semantic similarity between these components. The experimental evaluation shows that the proposed approach has a better performance in comparison with other approaches such as the genetic algorithm. 
KEYWORDS 
Web Services ,Semantic Web Service Composition, Clonal Selection Algorithm, Semantic Similarity, QoS. 
1. INTRODUCTION 
Web services provide a promising approach for implementing Enterprise Application Integration (EAI), but their use is not restricted to this domain, in fact they might form the ideal technology for building large scale distributed applications. The elementary units of these applications can be owned by different stakeholders.(such as banking systems , healthcare systems, e-tourism…), and therefore it is not trivial to design and execute this kind of applications with using the service oriented computing principles. 
In the real world, a single web service cannot fulfill a complex requirement of a given enterprise task, however a composition of different web services might meet the complex requirements. 
Nevertheless, to discover and compose Web services, we need several informations that describe the service functionality. These informations are partially represented and supported by the signature of the operations and the message formats, which together form the Web service syntactical interface, captured in the WSDL document. The lack of any machine interpretable semantic requires human intervention in service composition, and consequently, we are not able to automate composition process. Semantic Web services [3] provide a solution to this problem
International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 
22 
by annotating services with semantic concepts, thus assuring a common understanding of the content, the functionality and the behavior of the software components. 
It is worth noting that, the optimization of web service workflow is a crucial step in web service composition, in fact we have to select a set of services that satisfies several functional and non- functional requirements. The Selection of the optimal composition can be seen as a discrete optimization problem which requires specific kinds of optimization algorithms. Recent research studies demonstrated that principles inspired by the biological systems have encouraged the design of efficient optimization techniques. These biologically-inspired techniques are advantageous since they are capable of converging towards the optimal or a near-optimal solution in a short time without processing the entire search space. Such meta-heuristics include Ant Colony Optimization [6], Particle Swarm Optimization [13], Genetic Algorithm [9] or Artificial Immune Systems [5]. 
The objective of this paper is to solve the web service workflow optimization by using bio- inspired solutions, our main contributions are resumed as follows: 
1-we present an optimization algorithm called ClonAlg [5], in order to find a near optimal composition. This later is able to explore intelligently a large space of solutions, in a short time and without processing the entire search space. We assume in this work that the user’s request is described in terms of functional and non-functional properties, the functional aspect represents the service interface (the inputs, the outputs…), and the non-functional properties represent the QoS attributes such as response time, cost, availability, reputation, etc. 
2- We provide an experimental comparison between the proposed approach and the genetic algorithm. 
The reminder of the paper is organized as follows: Section 2 gives an overview of related work. The semantic model and QoS model for web service composition are described respectively in Section 3 and Section 4.In Section 5, we give the details of our immune-inspired technique, and experimental results are presented in Section 6. Finally, in Section 7, we present our conclusion and we give the directions for future work. 
2. RELATED WORK 
Several bio-inspired methods have been proposed for selecting near optimal service compositions. A genetic-based algorithm for selecting the best solution in multi-path web service composition is proposed in [12]. A genetic chromosome is mapped to a service composition solution and each chromosome unit is represented as a triple containing the task context, workflow sign (specifies if the task is part of an AND/OR workflow) and the pointer towards the candidate service [12]. Initially, a set of service compositions (solutions) having different topologies (corresponding to different paths) are randomly generated.Then the actual selection process is performed by iteratively (i) selecting the best solutions based on QoS attributes, (ii)applying a crossover operator between solutions with different topologies, (iii) and randomly mutating a randomly chosen service composition solution. 
In [10] a modified Genetic Algorithm is proposed to identify the best solution in web service composition, which was based on Ant Colony Optimization (ACO) and Genetic Algorithm. The approach aims to learn advantages of both GA and ACO algorithms and overcoming their shortcomings.
International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 
23 
A hybrid method combining Particle Swarm Optimization (PSO)[13]with Simmulated Annealing is proposed in[7] for selecting the optimal service composition solution based on QoS attributes. A composition solution is considered as the position of a particle in PSO, while velocity is used to modify a composition. To avoid the problem of premature stagnation in a local optimal solution, a Simmulated Annealing-based strategy is introduced which produces new compositions (solutions) by randomly perturbing an initial solution. 
Immune-inspired approaches have gained ground in the context of selecting optimal compositions. In [8] and [18], two immune-inspired selection algorithms are proposed in the context of Web service composition. Both approaches use an abstract composition plan which is mapped to concrete services, the service composition is modeled as a graph structure. 
In comparison with the aforementioned approaches, we notice that our contribution uses a fitness function having two types of criteria: the semantic quality of the desired composition and the QOS attributes, however the precedent approaches use only the QOS attributes. 
3. SEMANTIC MODEL FOR WEB SERVICE COMPOSITION 
In this section, we formalize the semantic web service composition problem. Initially we give some definitions about semantic web services, composite service and user request , then we describe the computation of the semantic similarity between a candidate solution (composite service) and the user’s request. 
3.1. Conceptual Representation 
Definition 1 (Semantic Web Service) A semantic web service is described by functional and non- functional properties. Formally: 
Where ID is the service identifier, IC and OC are the input and the output concepts respectively, q is the QoS scores list (e.g., cost, response time, etc.). 
Definition 2 (Composite Service) A composite web service (CS) is represented by a set of semantic web services. Formally: 
Where N is the number of web services. In this work we consider only the sequential compositions case. 
Definition 3 (Request) The user requirements, are defined as follow: 
Where IC and OC represent respectively the inputs and the outputs concepts of R, G is the global QoS constraints list. (See section 4.4 for more details) 
3.2. Computing The Degree Of Composite Service Similarity 
The matching between a composite service (candidate solution) and a request is determined in different ways, depending on the semantic descriptions of the elements to match. There are three main approaches to matching : IO-matching [15] ,PE-matching [16] and IOPE-matching [11]. 
In our approach, we have adopted an IO-matching based on subsumption reasoning; the subsumption test allows the computation of the semantic similarity between the user request and a candidate composite service. Since the adopted benchmark, ie SAWSDL [17] , doesn’t contain the preconditions or the post conditions, we use only IO_matching. For this purpose, we use the
International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 
24 
four kinds of matching Exact, Plug-in, Subsume and Fail introduced in [15]. In what follows we consider a set of hypothesis that permit the formalization of the similarity functions. 
First of all, we assume the existence of 02 consecutive services A and B, the outputs of the first service A are used as inputs for the second service B. in addition to that, we define four types of scores, for matching A and B [15] : 
 Exact: two parameters are called similar if the concept of the output parameter and the concept of input parameter are equivalent. 
 Plug-in: two parameters are called similar if the concept of the output parameter is more specific than the concept of input parameter. 
 Subsume: two parameters are called similar if the concept of the output parameter is more general than the concept of input parameter. 
 Fail: means that there is no subsumption relation between concepts. 
Definition 4 (degree of elementary matching) Given a composite service 
and a request R=, a matching is called elementary, if it is applied on a pair of I/O parameters, we have 03 cases: : means the degree of elementary matching between the output concepts of service Si and the input concepts of service S i+1. : means the degree of elementary matching between the input concepts of request and the input concepts of service S1. : means the degree of elementary matching between the output concepts of request and the output concepts of service SN. 
The functions and return a values in [0,1]. In Table 1,we summarize the semantic matching functions with their scores. 
Table 1. Semantic matching functions 
Match Type 
Exact 
Plug-in 
Subsume 
Fail 
1 
2/3 
1/3 
0 
Logic meaning 
Si.OC 
and S i+1.IC are equivalent 
Si.OC is subsumed by 
S i+1.IC 
Si.OC subsume 
S i+1.IC 
Otherwise 
1 
2/3 
1/3 
0 
Logic meaning 
R.IC 
and S1.IC are equivalent 
R.IC is subsumed by S1.IC 
R.IC subsume S1.IC 
Otherwise 
1 
2/3 
1/3 
0 
Logic meaning 
R.OC 
and SN.OC are equivalent 
R.OC is subsumed by SN.OC 
R.OC subsume SN.OC 
Otherwise
International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 
25 
Definition 5 (degree of global matching) A matching is called global, if it aggregates all the elementary matching functions, formally: Given a composite service and a request, the degree of global matching or degree of composite service similarity can be computed as follows: 
(1) 
Where N represents the number of component services of the sequential composition. 
4. QOS MODEL 
In this section, we first present the quality criteria in the context of elementary services, before turning our attention to composite services. 
4.1. QoS of Web Service 
The QoS of a Web Service is a value representing the non-functional property of the Web Service, such as response time, throughput, cost and so on. The set of QoS attributes can be divided into subsets: positive and negative QoS attributes. The values of positive attributes need to be maximized (e.g., availability), however the value of negative attributes need to be minimized (e.g., response time) [1]. 
We use the vector to represent the QoS attributes of a service S, where determines the value of the ith quality attribute of S. 
4.2. QoS of Composite Service 
Definition 6 (QoS of composite service) The QoS for a composite service can be defined by: 
Where represents the estimated value of the ith QoS attribute of CS. 
4.3. QoS Aggregation 
The QoS of a composite service (CS) is decided by the QoS values of its component as well as the composition model used (e.g. sequential, parallel,etc). In this work, we focus on the sequential composition model. So, the estimated value of the QoS attribute of CS can be aggregated from the QoS values of its component services [4]. Table 2 shows examples of aggregation functions according to some QoS attributes. 
Table 2. QoS Aggregation functions 
Aggregation type 
QoS attributes 
Function 
Summation 
Response Time 
Price
International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 
26 
Reputation 
Multiplication 
Availability 
Reliability 
Minimum 
Throughput 
4.4. Global QoS Constraints 
Global QoS constraints represent the user requirements in terms of QoS. They can be expressed as a lower bound (minimum values) and/or upper bounds (maximum values) values of the overall composite service QoS. 
Global QoS value constraints are proposed by users, for instance, a service cost is lesser than 100$, the service availability is greater than 99.9%. 
5. THE IMMUNE-INSPIRED SELECTION TECHNIQUE 
In order to find, a near optimal composition we adopt the clonAlg approach[5]. We chose to adapt clonAlg [5] to the problem of web service composition because it better converges to the optimum by iteratively introducing new candidate solutions that enlarge the search space (compared to genetic algorithms which may stagnate on local optima). Our algorithm uses the functional and non-functional (QoS attributes) properties of the web services in order to find a near optimal solution. The desired composition must: 
 Optimize a function that calculates the degree of semantic similarity between the user request and a candidate solution. 
 Optimize the aggregated QoS of the composition solution. 
 Satisfy the end to end user’s global QoS constraints (e.g. the service user may have a limited budget and thus the cost is constrained). 
5.1. The Clonal Selection Theory 
Clonal selection is one of the most important processes of the immune system. It is triggered when a B-cell has high affinity to an invading pathogen (antigen presenting cell) and as a result, the B-Cell is stimulated to clone itself. Through cloning, identical copies of the B-cell are obtained. The number of copies is proportional to the affinity value. The clones are involved in an affinity maturation process which helps in improving their specificity to the invading pathogen by means of mutation. Mutation is inverse proportional to the affinity value, meaning that the clones having high affinity do not need to be mutated as much as the ones with low affinity. The affinity matured clones pass through new selection processes aiming at (i) keeping the clones having high affinity to the pathogen and (ii) eliminating the clones with low affinity. The selected clones are then differentiated into memory and effectors cells. 
5.2. The Clonal Selection Algorithm 
In our web service composition problem, clonal selection is mapped as follows: (i) a B-cell (or antibody) is represented by a service composition solution, (ii) a pathogen (or antigen) is represented by a function F that evaluates the set of composition solutions in order to find the optimal one.
International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 
27 
In our approach, the antigen is represented by a multi-criteria function F(CS) (see Formula 3) that maximizes: 
1. The degree of semantic similarity of a composition solution (CS) . 
2. The aggregated QoS of a composition solution (CS) 
In order to obtain a uniform objective function, we convert the negative QoS attributes (cost, response time) into positive attributes by multiplying their values by (-1). 
(3) 
Where refer to (the ith QoS attribute of CS) normalized in the interval [0, 1], l is the number of QoS attributes. 
Є [0, 1] represent the weights established according to user preferences related to the relevance of QoS and semantic similarity during the evaluation of a composition solution . is the weight established according to user preferences related to the relevance of the QoS attributes . 
In addition F must drive the evolution towards global QoS constraints satisfaction, e.g., 10< T (CS) <50 (10 and 50 are respectively the minimal and maximal value of the response time constraint).To this end, compositions that do not meet the constraints are penalized. Several penalty functions are proposed in the literature (static, dynamic, functions, etc.),we have chosen the penalty function adopted by [14](see formula 4). 
Where are respectively the maximum and minimal values of the ith QoS constraint, l is the number of QoS attributes, weights the penalty factor, and is defined as follows: 
The pseudo code of clonal selection Algorithm is given below: 
1. Initialize the population (or antibodies) i.e. each antibody or composition is randomly initialized (n represents the number of web services involved in a composition solution). 
2. Initialize the iteration number: t=1 
3. while (t <=T_Max) do begin 
4. Compute the affinity value (formula 4) for each antibody CS ∈ Population. 
5. Compute the set of clones “Clones_set” for each antibody CS ∈ Population(according to 
the cloning rate) 
6. Hypermutate each antibody CS of “Clones_set” and compute the new affinity value of 
the result. 
7. Union = Population  Clones_set. 
8. Sort Union according to the decreasing order of affinity. 
9. Build the new population by selecting the M first antibodies of Union (M= size of 
Population). 
10. Create L random antibodies, such as L=M*random insertion rate. 
11. Replace low affinity population members with the L random antibodies.
International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 
28 
12. t=t+1; 
13. End while 
14. Return the best antibody CS. 
6. EXPERIMENTAL RESULTS 
We have tested our clonal selection algorithm on SAWSDL-TC service test collection [17], a benchmark containing more than 400 semantically annotated services, SAWSDL-TC allows the evaluation of the performances of service matchmaking techniques. The services belong to the following domains: education,medical care,food and communication. 
We have extended the SAWSD-TC standard collection with estimated values of QoS attributes (in our experiments we have considered two QoS attributes: cost and response time). 
The clonal selection algorithm parameters are changed to get the best results (in terms of optimality): 
The antibodies number M=50. 
The size of the antibody (number of web services) n= 5. 
The cloning rate =0.1. 
The random insertion rate=0.01. 
The maximum number of iterations T_max=100 . 
and the weights are fixed as follow : 
Ws=0.5 (semantic similarity weight), Wq=0.5 (QOS attributes weight), WT=0.5 ( time response weight), WC=0.5 (cost weight). 
Figure. 1. The best fitness score of the clonAlg 
Figure1 shows the best score of the objective function for each iteration. As depicted in this figure, the quick convergence to the optimal solution illustrates the effectiveness and efficiency of the proposed clonAlg. 
Figure 2 shows a comparative study between the proposed approach, and the genetic algorithm (developed in [2]) in terms of fitness (or optimality).The results confirm the superiority of the clonal selection in comparison with the genetic algorithm (GA). 
For instance, after 50 iterations, ClonAlg achieves a fitness of almost 84%, whereas GA only reaches a value of 75%.
International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 
29 
Figure. 2. Fitness vs. Iterations 
In terms of execution time (see Figure 3), the GA spends more time for retrieving the best solution in comparison with ClonAlg. Concretely, ClonAlg takes only about 37 seconds to achieve the optimization with 100 generations, however GA needs more than 60 seconds to do the same task. Therefore, ClonAlg is more efficient and effective than GA. 
Figure. 3. Execution Time vs. Iterations 
7. CONCLUSION 
In this paper we have presented a immune-inspired technique for the selection of the best service compositions that meet the user requirements. The composition process take into account both functional and non-functional properties of web services. In comparison with GA [2], this approach increases the diversity of the population and avoids the trap of local optimality. Using this approach, the composition with better fitness value can be easily found. 
As future work, we want to take into account, both the preconditions and effects of web services in the composition process. In addition to that, we intend to extend our approach to work with other composition patterns of workflow models (parallel, conditional,...) and finally we aim to
International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 
30 
compare our method with other selection approaches (such as, ant colony optimization algorithm, firefly algorithm,....) . 
REFERENCES 
[1] Alrifai, M. and Risse, T, (2009) " Combining global optimization with local selection for 
efficient QoS- aware service composition". In: WWW 2009: Proc. of the 18th International 
Conference on World Wide Web,pages 881- 890. 
[2] Bekkouche, A., Benslimane, S.M.,Merzoug,M (2014) "A Genetic Algorithm Approach to QoS- 
based Semantic Web Service Composition". Book chapter In Business Intelligence and Mobile 
Technology Research: An Information Engineering Perspective.edt.by Sean Eom (Cambridge 
Scholars Publishing). http://www.c-s-p.org/. 
[3] Berners-Lee,T.,Hendler,J.,Lassila,O, (2001) "The semantic web". Scientific American 284(5)34- 
43. 
[4] Cardoso, J,(2002) " Quality of Service and Semantic Composition of Workflows". PhD thesis, 
Univ. of Georgia. 
[5] Castro, L., von Zuben, F,(2002) " Learning and Optimization using the Clonal Selection 
Principle". Proc. Of the IEEE Transactions on Evolutionary Computation, Special Issue on 
Artificial Immune Systems, vol.6, n. 3, pp. 239-251. 
[6] Dorigo, M., Birattari, M., Stützle, T ,(2006) "Ant Colony Optimization - Artificial Ants as 
a Computational Intelligence Technique", IEEE Computational Intelligence Magazine, 1(4), 
28-39. 
[7] Fan, X., Fang,X, (2010) "On Optimal Decision for QoS-Aware Composite Service Selection", 
Information Technology Journal, Volume 9, Issue 6, pp. 1207-1211. 
[8] Gao, Y., Jun, N., Bin, Z., Lei, Y., Qiang, G. and Yu, D,(2006) " Immune Algorithm for Selecting 
Optimum Services in Web Service Composition". In Journal of Natural Sciences, Wuhan 
University Journals Press, Volume 11, Number 1, pp. 221-225. 
[9] Holland,J.H, (1975) “Adaptation in Natural and Artificial Systems”, University of Michigan 
Press, Ann Arbor. 
[10] Huan,L.,Farong,Z., Bang, O., Jiajie,W, (2010) "An Approach for QoS-Aware Web Service 
Composition Based on Improved Genetic Algorithm" , International Conference on Web 
Information Systems and Mining (WISM),vol.1,pp.123-128,23-24 Oct. 
[11] Jaeger, M. C. , Rojec-Goldmann, G., Mühl, G., Liebetruth, C. , and Geihs, K,(2005) " Ranked 
Matching for Service Descriptions using OWL-S". pages 91–102, 2005. In Paul Müller, 
Reinhard Gotzhein, and Jens B. Schmitt, editors, Kommunikation in verteilten Systemen (KiVS 
2005),Kaiserslautern, Germany, February, Springer. 
[12] Jiang, H., Yang,X., Yin,K., Zhang,S., Cristoforo, J. A, (2011) " Multi-path QoS-aware Web 
Service Composition using Variable Length Chromosome Genetic Algorithm", Information 
Technology Journal, Volume 10, Issue 1, pp. 113-119. 
[13] Kennedy, J., Eberhart, R.C, (1995) "Particle swarm optimization",The Proceedings of the 
IEEE International Conference on Neural Networks,Piscataway,NJ.1942-1948. 
[14] Lecue,F, (2009) " Optimizing OoS-Aware Semantic Web Service Composition".In Proceedings 
of the 8th International Semantic Web Conference, ISWC 2009, Chantilly, VA, USA, October 
25- 29. 
[15] Massimo, P., Takahiro,K., Terry, R., Payne, and Katia, S, (2002) " Semantic matching of web 
services capabilities". 
[16] Srinivasan, N., Paolucci,M., and Sycara,K, (2004) "Adding OWL-S to UDDI, implementation 
and throughput". In First International Workshop on Semantic Web Services and Web Process 
Composition (SWSWPC 2004), pages 6–9. 
[17] SAWSDL-TC, http://projects.semwebcentral.org/projects/sawsdl-tc/ 
[18] Xu, J., Reiff-Marganiec,S, (2008) " Towards Heuristic Web Services Composition Using 
Immune Algorithm". In: Proceedings of the 2008 IEEE International Conference on Web 
Services, Beijing, China, pp. 238-245.
International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 
31 
Merzoug Mohamed received his MS degree in computer science from the UABT University of Tlemcen in 2009.He is currently a Ph.D. candidate in the Department of Computer Science,University of Tlemcen, Algeria.His research interests include: web service discovery, service selection, ontology matching. 
Chikh Mohammed Amine received his Ph.D degree in electrical engineering from the UABT University of Tlemcen in 2005.He is currently a professor in the department of electrical engineering, University Tlemcen, Algeria. His research interests include: machine learning, medical decision aiding. 
Bekkouche Amina received her MS degree in computer science from the UABT University of Tlemcen in 2012.He is currently a Ph.D. candidate in the Department of Computer Science,University of Tlemcen, Algeria. Her research interests include: web service composition, web service discovery and optimization techniques.

More Related Content

What's hot (10)

PDF
SERVICE SELECTION BASED ON DOMINANT ROLE OF THE CHOREOGRAPHY
ijwscjournal
 
PDF
Ontology based dynamic business process customization
ieijjournal
 
PDF
Web Service Discovery Mechanisms Based on IR Models
IRJET Journal
 
PDF
A Novel Framework for Reliable and Fault Tolerant Web Services
Abhishek Kumar
 
PDF
A ranking mechanism for better retrieval of data from cloud
eSAT Publishing House
 
PDF
CONTEMPORARY SEMANTIC WEB SERVICE FRAMEWORKS: AN OVERVIEW AND COMPARISONS
ijwscjournal
 
PDF
A novel approach a hybrid semantic
IJNSA Journal
 
PDF
INTELLIGENT SOCIAL NETWORKS MODEL BASED ON SEMANTIC TAG RANKING
dannyijwest
 
PDF
Machine Learning Applications in Grid Computing
butest
 
PDF
Threshold benchmarking for feature ranking techniques
journalBEEI
 
SERVICE SELECTION BASED ON DOMINANT ROLE OF THE CHOREOGRAPHY
ijwscjournal
 
Ontology based dynamic business process customization
ieijjournal
 
Web Service Discovery Mechanisms Based on IR Models
IRJET Journal
 
A Novel Framework for Reliable and Fault Tolerant Web Services
Abhishek Kumar
 
A ranking mechanism for better retrieval of data from cloud
eSAT Publishing House
 
CONTEMPORARY SEMANTIC WEB SERVICE FRAMEWORKS: AN OVERVIEW AND COMPARISONS
ijwscjournal
 
A novel approach a hybrid semantic
IJNSA Journal
 
INTELLIGENT SOCIAL NETWORKS MODEL BASED ON SEMANTIC TAG RANKING
dannyijwest
 
Machine Learning Applications in Grid Computing
butest
 
Threshold benchmarking for feature ranking techniques
journalBEEI
 

Viewers also liked (16)

PDF
Jurnal
Ariz Wandi
 
DOC
Cara mudah
Weika Syafiqah
 
PDF
Image-Based Literal Node Matching for Linked Data Integration
IJwest
 
PDF
An efficient metric of automatic weight generation for properties in instance...
IJwest
 
PPT
Віртуальна виставка
IrinaViktorovna11
 
PDF
Azhary: An Arabic Lexical Ontology
IJwest
 
PPTX
มัลติมีเดีย
ย้ำ ต๊อก
 
PDF
DBPEDIA BASED FACTOID QUESTION ANSWERING SYSTEM
IJwest
 
PPTX
มัลติมีเดีย1
ย้ำ ต๊อก
 
PDF
Using Exclusive Web Crawlers to Store Better Results in Search Engines' Database
IJwest
 
PDF
AGENTS AND OWL-S BASED SEMANTIC WEB SERVICE DISCOVERY WITH USER PREFERENCE SU...
IJwest
 
PDF
OntoSOC: S ociocultural K nowledge O ntology
IJwest
 
PDF
Improve information retrieval and e learning using
IJwest
 
PDF
Using Page Size for Controlling Duplicate Query Results in Semantic Web
IJwest
 
PPTX
City focus: A web-based interactive 2D and 3D GIS application to find the bes...
Carolina Arias Muñoz
 
PDF
AUTOMATIC CONVERSION OF RELATIONAL DATABASES INTO ONTOLOGIES: A COMPARATIVE A...
IJwest
 
Jurnal
Ariz Wandi
 
Cara mudah
Weika Syafiqah
 
Image-Based Literal Node Matching for Linked Data Integration
IJwest
 
An efficient metric of automatic weight generation for properties in instance...
IJwest
 
Віртуальна виставка
IrinaViktorovna11
 
Azhary: An Arabic Lexical Ontology
IJwest
 
มัลติมีเดีย
ย้ำ ต๊อก
 
DBPEDIA BASED FACTOID QUESTION ANSWERING SYSTEM
IJwest
 
มัลติมีเดีย1
ย้ำ ต๊อก
 
Using Exclusive Web Crawlers to Store Better Results in Search Engines' Database
IJwest
 
AGENTS AND OWL-S BASED SEMANTIC WEB SERVICE DISCOVERY WITH USER PREFERENCE SU...
IJwest
 
OntoSOC: S ociocultural K nowledge O ntology
IJwest
 
Improve information retrieval and e learning using
IJwest
 
Using Page Size for Controlling Duplicate Query Results in Semantic Web
IJwest
 
City focus: A web-based interactive 2D and 3D GIS application to find the bes...
Carolina Arias Muñoz
 
AUTOMATIC CONVERSION OF RELATIONAL DATABASES INTO ONTOLOGIES: A COMPARATIVE A...
IJwest
 
Ad

Similar to Immune-Inspired Method for Selecting the Optimal Solution in Semantic Web Service Composition (20)

PDF
MMUNE-INSPIRED METHOD FOR SELECTING THE OPTIMAL SOLUTION IN SEMANTIC WEB SE...
dannyijwest
 
PDF
WEB SERVICE SELECTION BASED ON RANKING OF QOS USING ASSOCIATIVE CLASSIFICATION
ijwscjournal
 
PDF
WEB SERVICE SELECTION BASED ON RANKING OF QOS USING ASSOCIATIVE CLASSIFICATION
ijwscjournal
 
PDF
Semantic Web: A Study on Web Service Composition Approaches
ijtsrd
 
PDF
USER-CENTRIC OPTIMIZATION FOR CONSTRAINT WEB SERVICE COMPOSITION USING A FUZZ...
ijwscjournal
 
PDF
User-Centric Optimization for Constraint Web Service Composition using a Fuzz...
ijwscjournal
 
PDF
USER-CENTRIC OPTIMIZATION FOR CONSTRAINT WEB SERVICE COMPOSITION USING A FUZZ...
ijwscjournal
 
PDF
SERVICE SELECTION BASED ON DOMINANT ROLE OF THE CHOREOGRAPHY
ijwscjournal
 
PDF
SERVICE SELECTION BASED ON DOMINANT ROLE OF THE CHOREOGRAPHY
ijwscjournal
 
PDF
SERVICE SELECTION BASED ON DOMINANT ROLE OF THE CHOREOGRAPHY
ijwscjournal
 
PDF
SERVICE SELECTION BASED ON DOMINANT ROLE OF THE CHOREOGRAPHY
ijwscjournal
 
PDF
CLUSTERING-BASED SERVICE SELECTION FOR DYNAMIC SERVICE COMPOSITION
IJwest
 
PDF
AN ARCHITECTURE FOR WEB SERVICE SIMILARITY EVALUATION BASED ON THEIR FUNCTION...
ijwscjournal
 
PDF
AN ARCHITECTURE FOR WEB SERVICE SIMILARITY EVALUATION BASED ON THEIR FUNCTION...
ijwscjournal
 
PDF
AN ARCHITECTURE FOR WEB SERVICE SIMILARITY EVALUATION BASED ON THEIR FUNCTION...
ijwscjournal
 
PDF
SIMILARITY MEASURES FOR WEB SERVICE COMPOSITION MODELS
ijwscjournal
 
PDF
Similarity measures for web service composition models
ijwscjournal
 
PDF
SIMILARITY MEASURES FOR WEB SERVICE COMPOSITION MODELS
ijwscjournal
 
PDF
An effective method for clustering-based web service recommendation
IJECEIAES
 
PDF
Fc33929934
IJERA Editor
 
MMUNE-INSPIRED METHOD FOR SELECTING THE OPTIMAL SOLUTION IN SEMANTIC WEB SE...
dannyijwest
 
WEB SERVICE SELECTION BASED ON RANKING OF QOS USING ASSOCIATIVE CLASSIFICATION
ijwscjournal
 
WEB SERVICE SELECTION BASED ON RANKING OF QOS USING ASSOCIATIVE CLASSIFICATION
ijwscjournal
 
Semantic Web: A Study on Web Service Composition Approaches
ijtsrd
 
USER-CENTRIC OPTIMIZATION FOR CONSTRAINT WEB SERVICE COMPOSITION USING A FUZZ...
ijwscjournal
 
User-Centric Optimization for Constraint Web Service Composition using a Fuzz...
ijwscjournal
 
USER-CENTRIC OPTIMIZATION FOR CONSTRAINT WEB SERVICE COMPOSITION USING A FUZZ...
ijwscjournal
 
SERVICE SELECTION BASED ON DOMINANT ROLE OF THE CHOREOGRAPHY
ijwscjournal
 
SERVICE SELECTION BASED ON DOMINANT ROLE OF THE CHOREOGRAPHY
ijwscjournal
 
SERVICE SELECTION BASED ON DOMINANT ROLE OF THE CHOREOGRAPHY
ijwscjournal
 
SERVICE SELECTION BASED ON DOMINANT ROLE OF THE CHOREOGRAPHY
ijwscjournal
 
CLUSTERING-BASED SERVICE SELECTION FOR DYNAMIC SERVICE COMPOSITION
IJwest
 
AN ARCHITECTURE FOR WEB SERVICE SIMILARITY EVALUATION BASED ON THEIR FUNCTION...
ijwscjournal
 
AN ARCHITECTURE FOR WEB SERVICE SIMILARITY EVALUATION BASED ON THEIR FUNCTION...
ijwscjournal
 
AN ARCHITECTURE FOR WEB SERVICE SIMILARITY EVALUATION BASED ON THEIR FUNCTION...
ijwscjournal
 
SIMILARITY MEASURES FOR WEB SERVICE COMPOSITION MODELS
ijwscjournal
 
Similarity measures for web service composition models
ijwscjournal
 
SIMILARITY MEASURES FOR WEB SERVICE COMPOSITION MODELS
ijwscjournal
 
An effective method for clustering-based web service recommendation
IJECEIAES
 
Fc33929934
IJERA Editor
 
Ad

Recently uploaded (20)

PDF
Design Thinking basics for Engineers.pdf
CMR University
 
PDF
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
PDF
MODULE-5 notes [BCG402-CG&V] PART-B.pdf
Alvas Institute of Engineering and technology, Moodabidri
 
PDF
Electrical Machines and Their Protection.pdf
Nabajyoti Banik
 
PPTX
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
PPTX
Knowledge Representation : Semantic Networks
Amity University, Patna
 
PPTX
How Industrial Project Management Differs From Construction.pptx
jamespit799
 
PDF
Submit Your Papers-International Journal on Cybernetics & Informatics ( IJCI)
IJCI JOURNAL
 
PPTX
Introduction to Internal Combustion Engines - Types, Working and Camparison.pptx
UtkarshPatil98
 
PPTX
Water Resources Engineering (CVE 728)--Slide 4.pptx
mohammedado3
 
PPT
New_school_Engineering_presentation_011707.ppt
VinayKumar304579
 
PDF
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
PDF
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
PPTX
澳洲电子毕业证澳大利亚圣母大学水印成绩单UNDA学生证网上可查学历
Taqyea
 
PPTX
Final Major project a b c d e f g h i j k l m
bharathpsnab
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PDF
3rd International Conference on Machine Learning and IoT (MLIoT 2025)
ClaraZara1
 
PPTX
MODULE 03 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
PPTX
Biosensors, BioDevices, Biomediccal.pptx
AsimovRiyaz
 
PPT
Footbinding.pptmnmkjkjkknmnnjkkkkkkkkkkkkkk
mamadoundiaye42742
 
Design Thinking basics for Engineers.pdf
CMR University
 
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
MODULE-5 notes [BCG402-CG&V] PART-B.pdf
Alvas Institute of Engineering and technology, Moodabidri
 
Electrical Machines and Their Protection.pdf
Nabajyoti Banik
 
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
Knowledge Representation : Semantic Networks
Amity University, Patna
 
How Industrial Project Management Differs From Construction.pptx
jamespit799
 
Submit Your Papers-International Journal on Cybernetics & Informatics ( IJCI)
IJCI JOURNAL
 
Introduction to Internal Combustion Engines - Types, Working and Camparison.pptx
UtkarshPatil98
 
Water Resources Engineering (CVE 728)--Slide 4.pptx
mohammedado3
 
New_school_Engineering_presentation_011707.ppt
VinayKumar304579
 
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
澳洲电子毕业证澳大利亚圣母大学水印成绩单UNDA学生证网上可查学历
Taqyea
 
Final Major project a b c d e f g h i j k l m
bharathpsnab
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
3rd International Conference on Machine Learning and IoT (MLIoT 2025)
ClaraZara1
 
MODULE 03 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
Biosensors, BioDevices, Biomediccal.pptx
AsimovRiyaz
 
Footbinding.pptmnmkjkjkknmnnjkkkkkkkkkkkkkk
mamadoundiaye42742
 

Immune-Inspired Method for Selecting the Optimal Solution in Semantic Web Service Composition

  • 1. International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 DOI : 10.5121/ijwest.2014.5402 21 IMMUNE-INSPIRED METHOD FOR SELECTING THE OPTIMAL SOLUTION IN SEMANTIC WEB SERVICE COMPOSITION Merzoug Mohamed1, Chikh Mohammed Amine2 ,and Bekkouche Amina1 1Department of Computer Science, Abou Bekr Belkaid University, Faculty of Sciences, Tlemcen, Algeria 2Biomedical Engineering Laboratory, Abou Bekr Belkaid University, Faculty of Technology, Tlemcen, Algeria ABSTRACT The increasing interest in developing efficient and effective optimization techniques has conducted researchers to turn their attention towards biology. It has been noticed that biology offers many clues for designing novel optimization techniques, these approaches exhibit self-organizing capabilities and permit the reachability of promising solutions without the existence of a central coordinator. In this paper we handle the problem of dynamic web service composition, by using the clonal selection algorithm. In order to assess the optimality rate of a given composition, we use the QOS attributes of the services involved in the workflow as well as, the semantic similarity between these components. The experimental evaluation shows that the proposed approach has a better performance in comparison with other approaches such as the genetic algorithm. KEYWORDS Web Services ,Semantic Web Service Composition, Clonal Selection Algorithm, Semantic Similarity, QoS. 1. INTRODUCTION Web services provide a promising approach for implementing Enterprise Application Integration (EAI), but their use is not restricted to this domain, in fact they might form the ideal technology for building large scale distributed applications. The elementary units of these applications can be owned by different stakeholders.(such as banking systems , healthcare systems, e-tourism…), and therefore it is not trivial to design and execute this kind of applications with using the service oriented computing principles. In the real world, a single web service cannot fulfill a complex requirement of a given enterprise task, however a composition of different web services might meet the complex requirements. Nevertheless, to discover and compose Web services, we need several informations that describe the service functionality. These informations are partially represented and supported by the signature of the operations and the message formats, which together form the Web service syntactical interface, captured in the WSDL document. The lack of any machine interpretable semantic requires human intervention in service composition, and consequently, we are not able to automate composition process. Semantic Web services [3] provide a solution to this problem
  • 2. International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 22 by annotating services with semantic concepts, thus assuring a common understanding of the content, the functionality and the behavior of the software components. It is worth noting that, the optimization of web service workflow is a crucial step in web service composition, in fact we have to select a set of services that satisfies several functional and non- functional requirements. The Selection of the optimal composition can be seen as a discrete optimization problem which requires specific kinds of optimization algorithms. Recent research studies demonstrated that principles inspired by the biological systems have encouraged the design of efficient optimization techniques. These biologically-inspired techniques are advantageous since they are capable of converging towards the optimal or a near-optimal solution in a short time without processing the entire search space. Such meta-heuristics include Ant Colony Optimization [6], Particle Swarm Optimization [13], Genetic Algorithm [9] or Artificial Immune Systems [5]. The objective of this paper is to solve the web service workflow optimization by using bio- inspired solutions, our main contributions are resumed as follows: 1-we present an optimization algorithm called ClonAlg [5], in order to find a near optimal composition. This later is able to explore intelligently a large space of solutions, in a short time and without processing the entire search space. We assume in this work that the user’s request is described in terms of functional and non-functional properties, the functional aspect represents the service interface (the inputs, the outputs…), and the non-functional properties represent the QoS attributes such as response time, cost, availability, reputation, etc. 2- We provide an experimental comparison between the proposed approach and the genetic algorithm. The reminder of the paper is organized as follows: Section 2 gives an overview of related work. The semantic model and QoS model for web service composition are described respectively in Section 3 and Section 4.In Section 5, we give the details of our immune-inspired technique, and experimental results are presented in Section 6. Finally, in Section 7, we present our conclusion and we give the directions for future work. 2. RELATED WORK Several bio-inspired methods have been proposed for selecting near optimal service compositions. A genetic-based algorithm for selecting the best solution in multi-path web service composition is proposed in [12]. A genetic chromosome is mapped to a service composition solution and each chromosome unit is represented as a triple containing the task context, workflow sign (specifies if the task is part of an AND/OR workflow) and the pointer towards the candidate service [12]. Initially, a set of service compositions (solutions) having different topologies (corresponding to different paths) are randomly generated.Then the actual selection process is performed by iteratively (i) selecting the best solutions based on QoS attributes, (ii)applying a crossover operator between solutions with different topologies, (iii) and randomly mutating a randomly chosen service composition solution. In [10] a modified Genetic Algorithm is proposed to identify the best solution in web service composition, which was based on Ant Colony Optimization (ACO) and Genetic Algorithm. The approach aims to learn advantages of both GA and ACO algorithms and overcoming their shortcomings.
  • 3. International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 23 A hybrid method combining Particle Swarm Optimization (PSO)[13]with Simmulated Annealing is proposed in[7] for selecting the optimal service composition solution based on QoS attributes. A composition solution is considered as the position of a particle in PSO, while velocity is used to modify a composition. To avoid the problem of premature stagnation in a local optimal solution, a Simmulated Annealing-based strategy is introduced which produces new compositions (solutions) by randomly perturbing an initial solution. Immune-inspired approaches have gained ground in the context of selecting optimal compositions. In [8] and [18], two immune-inspired selection algorithms are proposed in the context of Web service composition. Both approaches use an abstract composition plan which is mapped to concrete services, the service composition is modeled as a graph structure. In comparison with the aforementioned approaches, we notice that our contribution uses a fitness function having two types of criteria: the semantic quality of the desired composition and the QOS attributes, however the precedent approaches use only the QOS attributes. 3. SEMANTIC MODEL FOR WEB SERVICE COMPOSITION In this section, we formalize the semantic web service composition problem. Initially we give some definitions about semantic web services, composite service and user request , then we describe the computation of the semantic similarity between a candidate solution (composite service) and the user’s request. 3.1. Conceptual Representation Definition 1 (Semantic Web Service) A semantic web service is described by functional and non- functional properties. Formally: Where ID is the service identifier, IC and OC are the input and the output concepts respectively, q is the QoS scores list (e.g., cost, response time, etc.). Definition 2 (Composite Service) A composite web service (CS) is represented by a set of semantic web services. Formally: Where N is the number of web services. In this work we consider only the sequential compositions case. Definition 3 (Request) The user requirements, are defined as follow: Where IC and OC represent respectively the inputs and the outputs concepts of R, G is the global QoS constraints list. (See section 4.4 for more details) 3.2. Computing The Degree Of Composite Service Similarity The matching between a composite service (candidate solution) and a request is determined in different ways, depending on the semantic descriptions of the elements to match. There are three main approaches to matching : IO-matching [15] ,PE-matching [16] and IOPE-matching [11]. In our approach, we have adopted an IO-matching based on subsumption reasoning; the subsumption test allows the computation of the semantic similarity between the user request and a candidate composite service. Since the adopted benchmark, ie SAWSDL [17] , doesn’t contain the preconditions or the post conditions, we use only IO_matching. For this purpose, we use the
  • 4. International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 24 four kinds of matching Exact, Plug-in, Subsume and Fail introduced in [15]. In what follows we consider a set of hypothesis that permit the formalization of the similarity functions. First of all, we assume the existence of 02 consecutive services A and B, the outputs of the first service A are used as inputs for the second service B. in addition to that, we define four types of scores, for matching A and B [15] :  Exact: two parameters are called similar if the concept of the output parameter and the concept of input parameter are equivalent.  Plug-in: two parameters are called similar if the concept of the output parameter is more specific than the concept of input parameter.  Subsume: two parameters are called similar if the concept of the output parameter is more general than the concept of input parameter.  Fail: means that there is no subsumption relation between concepts. Definition 4 (degree of elementary matching) Given a composite service and a request R=, a matching is called elementary, if it is applied on a pair of I/O parameters, we have 03 cases: : means the degree of elementary matching between the output concepts of service Si and the input concepts of service S i+1. : means the degree of elementary matching between the input concepts of request and the input concepts of service S1. : means the degree of elementary matching between the output concepts of request and the output concepts of service SN. The functions and return a values in [0,1]. In Table 1,we summarize the semantic matching functions with their scores. Table 1. Semantic matching functions Match Type Exact Plug-in Subsume Fail 1 2/3 1/3 0 Logic meaning Si.OC and S i+1.IC are equivalent Si.OC is subsumed by S i+1.IC Si.OC subsume S i+1.IC Otherwise 1 2/3 1/3 0 Logic meaning R.IC and S1.IC are equivalent R.IC is subsumed by S1.IC R.IC subsume S1.IC Otherwise 1 2/3 1/3 0 Logic meaning R.OC and SN.OC are equivalent R.OC is subsumed by SN.OC R.OC subsume SN.OC Otherwise
  • 5. International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 25 Definition 5 (degree of global matching) A matching is called global, if it aggregates all the elementary matching functions, formally: Given a composite service and a request, the degree of global matching or degree of composite service similarity can be computed as follows: (1) Where N represents the number of component services of the sequential composition. 4. QOS MODEL In this section, we first present the quality criteria in the context of elementary services, before turning our attention to composite services. 4.1. QoS of Web Service The QoS of a Web Service is a value representing the non-functional property of the Web Service, such as response time, throughput, cost and so on. The set of QoS attributes can be divided into subsets: positive and negative QoS attributes. The values of positive attributes need to be maximized (e.g., availability), however the value of negative attributes need to be minimized (e.g., response time) [1]. We use the vector to represent the QoS attributes of a service S, where determines the value of the ith quality attribute of S. 4.2. QoS of Composite Service Definition 6 (QoS of composite service) The QoS for a composite service can be defined by: Where represents the estimated value of the ith QoS attribute of CS. 4.3. QoS Aggregation The QoS of a composite service (CS) is decided by the QoS values of its component as well as the composition model used (e.g. sequential, parallel,etc). In this work, we focus on the sequential composition model. So, the estimated value of the QoS attribute of CS can be aggregated from the QoS values of its component services [4]. Table 2 shows examples of aggregation functions according to some QoS attributes. Table 2. QoS Aggregation functions Aggregation type QoS attributes Function Summation Response Time Price
  • 6. International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 26 Reputation Multiplication Availability Reliability Minimum Throughput 4.4. Global QoS Constraints Global QoS constraints represent the user requirements in terms of QoS. They can be expressed as a lower bound (minimum values) and/or upper bounds (maximum values) values of the overall composite service QoS. Global QoS value constraints are proposed by users, for instance, a service cost is lesser than 100$, the service availability is greater than 99.9%. 5. THE IMMUNE-INSPIRED SELECTION TECHNIQUE In order to find, a near optimal composition we adopt the clonAlg approach[5]. We chose to adapt clonAlg [5] to the problem of web service composition because it better converges to the optimum by iteratively introducing new candidate solutions that enlarge the search space (compared to genetic algorithms which may stagnate on local optima). Our algorithm uses the functional and non-functional (QoS attributes) properties of the web services in order to find a near optimal solution. The desired composition must:  Optimize a function that calculates the degree of semantic similarity between the user request and a candidate solution.  Optimize the aggregated QoS of the composition solution.  Satisfy the end to end user’s global QoS constraints (e.g. the service user may have a limited budget and thus the cost is constrained). 5.1. The Clonal Selection Theory Clonal selection is one of the most important processes of the immune system. It is triggered when a B-cell has high affinity to an invading pathogen (antigen presenting cell) and as a result, the B-Cell is stimulated to clone itself. Through cloning, identical copies of the B-cell are obtained. The number of copies is proportional to the affinity value. The clones are involved in an affinity maturation process which helps in improving their specificity to the invading pathogen by means of mutation. Mutation is inverse proportional to the affinity value, meaning that the clones having high affinity do not need to be mutated as much as the ones with low affinity. The affinity matured clones pass through new selection processes aiming at (i) keeping the clones having high affinity to the pathogen and (ii) eliminating the clones with low affinity. The selected clones are then differentiated into memory and effectors cells. 5.2. The Clonal Selection Algorithm In our web service composition problem, clonal selection is mapped as follows: (i) a B-cell (or antibody) is represented by a service composition solution, (ii) a pathogen (or antigen) is represented by a function F that evaluates the set of composition solutions in order to find the optimal one.
  • 7. International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 27 In our approach, the antigen is represented by a multi-criteria function F(CS) (see Formula 3) that maximizes: 1. The degree of semantic similarity of a composition solution (CS) . 2. The aggregated QoS of a composition solution (CS) In order to obtain a uniform objective function, we convert the negative QoS attributes (cost, response time) into positive attributes by multiplying their values by (-1). (3) Where refer to (the ith QoS attribute of CS) normalized in the interval [0, 1], l is the number of QoS attributes. Є [0, 1] represent the weights established according to user preferences related to the relevance of QoS and semantic similarity during the evaluation of a composition solution . is the weight established according to user preferences related to the relevance of the QoS attributes . In addition F must drive the evolution towards global QoS constraints satisfaction, e.g., 10< T (CS) <50 (10 and 50 are respectively the minimal and maximal value of the response time constraint).To this end, compositions that do not meet the constraints are penalized. Several penalty functions are proposed in the literature (static, dynamic, functions, etc.),we have chosen the penalty function adopted by [14](see formula 4). Where are respectively the maximum and minimal values of the ith QoS constraint, l is the number of QoS attributes, weights the penalty factor, and is defined as follows: The pseudo code of clonal selection Algorithm is given below: 1. Initialize the population (or antibodies) i.e. each antibody or composition is randomly initialized (n represents the number of web services involved in a composition solution). 2. Initialize the iteration number: t=1 3. while (t <=T_Max) do begin 4. Compute the affinity value (formula 4) for each antibody CS ∈ Population. 5. Compute the set of clones “Clones_set” for each antibody CS ∈ Population(according to the cloning rate) 6. Hypermutate each antibody CS of “Clones_set” and compute the new affinity value of the result. 7. Union = Population  Clones_set. 8. Sort Union according to the decreasing order of affinity. 9. Build the new population by selecting the M first antibodies of Union (M= size of Population). 10. Create L random antibodies, such as L=M*random insertion rate. 11. Replace low affinity population members with the L random antibodies.
  • 8. International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 28 12. t=t+1; 13. End while 14. Return the best antibody CS. 6. EXPERIMENTAL RESULTS We have tested our clonal selection algorithm on SAWSDL-TC service test collection [17], a benchmark containing more than 400 semantically annotated services, SAWSDL-TC allows the evaluation of the performances of service matchmaking techniques. The services belong to the following domains: education,medical care,food and communication. We have extended the SAWSD-TC standard collection with estimated values of QoS attributes (in our experiments we have considered two QoS attributes: cost and response time). The clonal selection algorithm parameters are changed to get the best results (in terms of optimality): The antibodies number M=50. The size of the antibody (number of web services) n= 5. The cloning rate =0.1. The random insertion rate=0.01. The maximum number of iterations T_max=100 . and the weights are fixed as follow : Ws=0.5 (semantic similarity weight), Wq=0.5 (QOS attributes weight), WT=0.5 ( time response weight), WC=0.5 (cost weight). Figure. 1. The best fitness score of the clonAlg Figure1 shows the best score of the objective function for each iteration. As depicted in this figure, the quick convergence to the optimal solution illustrates the effectiveness and efficiency of the proposed clonAlg. Figure 2 shows a comparative study between the proposed approach, and the genetic algorithm (developed in [2]) in terms of fitness (or optimality).The results confirm the superiority of the clonal selection in comparison with the genetic algorithm (GA). For instance, after 50 iterations, ClonAlg achieves a fitness of almost 84%, whereas GA only reaches a value of 75%.
  • 9. International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 29 Figure. 2. Fitness vs. Iterations In terms of execution time (see Figure 3), the GA spends more time for retrieving the best solution in comparison with ClonAlg. Concretely, ClonAlg takes only about 37 seconds to achieve the optimization with 100 generations, however GA needs more than 60 seconds to do the same task. Therefore, ClonAlg is more efficient and effective than GA. Figure. 3. Execution Time vs. Iterations 7. CONCLUSION In this paper we have presented a immune-inspired technique for the selection of the best service compositions that meet the user requirements. The composition process take into account both functional and non-functional properties of web services. In comparison with GA [2], this approach increases the diversity of the population and avoids the trap of local optimality. Using this approach, the composition with better fitness value can be easily found. As future work, we want to take into account, both the preconditions and effects of web services in the composition process. In addition to that, we intend to extend our approach to work with other composition patterns of workflow models (parallel, conditional,...) and finally we aim to
  • 10. International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 30 compare our method with other selection approaches (such as, ant colony optimization algorithm, firefly algorithm,....) . REFERENCES [1] Alrifai, M. and Risse, T, (2009) " Combining global optimization with local selection for efficient QoS- aware service composition". In: WWW 2009: Proc. of the 18th International Conference on World Wide Web,pages 881- 890. [2] Bekkouche, A., Benslimane, S.M.,Merzoug,M (2014) "A Genetic Algorithm Approach to QoS- based Semantic Web Service Composition". Book chapter In Business Intelligence and Mobile Technology Research: An Information Engineering Perspective.edt.by Sean Eom (Cambridge Scholars Publishing). http://www.c-s-p.org/. [3] Berners-Lee,T.,Hendler,J.,Lassila,O, (2001) "The semantic web". Scientific American 284(5)34- 43. [4] Cardoso, J,(2002) " Quality of Service and Semantic Composition of Workflows". PhD thesis, Univ. of Georgia. [5] Castro, L., von Zuben, F,(2002) " Learning and Optimization using the Clonal Selection Principle". Proc. Of the IEEE Transactions on Evolutionary Computation, Special Issue on Artificial Immune Systems, vol.6, n. 3, pp. 239-251. [6] Dorigo, M., Birattari, M., Stützle, T ,(2006) "Ant Colony Optimization - Artificial Ants as a Computational Intelligence Technique", IEEE Computational Intelligence Magazine, 1(4), 28-39. [7] Fan, X., Fang,X, (2010) "On Optimal Decision for QoS-Aware Composite Service Selection", Information Technology Journal, Volume 9, Issue 6, pp. 1207-1211. [8] Gao, Y., Jun, N., Bin, Z., Lei, Y., Qiang, G. and Yu, D,(2006) " Immune Algorithm for Selecting Optimum Services in Web Service Composition". In Journal of Natural Sciences, Wuhan University Journals Press, Volume 11, Number 1, pp. 221-225. [9] Holland,J.H, (1975) “Adaptation in Natural and Artificial Systems”, University of Michigan Press, Ann Arbor. [10] Huan,L.,Farong,Z., Bang, O., Jiajie,W, (2010) "An Approach for QoS-Aware Web Service Composition Based on Improved Genetic Algorithm" , International Conference on Web Information Systems and Mining (WISM),vol.1,pp.123-128,23-24 Oct. [11] Jaeger, M. C. , Rojec-Goldmann, G., Mühl, G., Liebetruth, C. , and Geihs, K,(2005) " Ranked Matching for Service Descriptions using OWL-S". pages 91–102, 2005. In Paul Müller, Reinhard Gotzhein, and Jens B. Schmitt, editors, Kommunikation in verteilten Systemen (KiVS 2005),Kaiserslautern, Germany, February, Springer. [12] Jiang, H., Yang,X., Yin,K., Zhang,S., Cristoforo, J. A, (2011) " Multi-path QoS-aware Web Service Composition using Variable Length Chromosome Genetic Algorithm", Information Technology Journal, Volume 10, Issue 1, pp. 113-119. [13] Kennedy, J., Eberhart, R.C, (1995) "Particle swarm optimization",The Proceedings of the IEEE International Conference on Neural Networks,Piscataway,NJ.1942-1948. [14] Lecue,F, (2009) " Optimizing OoS-Aware Semantic Web Service Composition".In Proceedings of the 8th International Semantic Web Conference, ISWC 2009, Chantilly, VA, USA, October 25- 29. [15] Massimo, P., Takahiro,K., Terry, R., Payne, and Katia, S, (2002) " Semantic matching of web services capabilities". [16] Srinivasan, N., Paolucci,M., and Sycara,K, (2004) "Adding OWL-S to UDDI, implementation and throughput". In First International Workshop on Semantic Web Services and Web Process Composition (SWSWPC 2004), pages 6–9. [17] SAWSDL-TC, http://projects.semwebcentral.org/projects/sawsdl-tc/ [18] Xu, J., Reiff-Marganiec,S, (2008) " Towards Heuristic Web Services Composition Using Immune Algorithm". In: Proceedings of the 2008 IEEE International Conference on Web Services, Beijing, China, pp. 238-245.
  • 11. International Journal of Web & Semantic Technology (IJWesT) Vol.5, No.4, October 2014 31 Merzoug Mohamed received his MS degree in computer science from the UABT University of Tlemcen in 2009.He is currently a Ph.D. candidate in the Department of Computer Science,University of Tlemcen, Algeria.His research interests include: web service discovery, service selection, ontology matching. Chikh Mohammed Amine received his Ph.D degree in electrical engineering from the UABT University of Tlemcen in 2005.He is currently a professor in the department of electrical engineering, University Tlemcen, Algeria. His research interests include: machine learning, medical decision aiding. Bekkouche Amina received her MS degree in computer science from the UABT University of Tlemcen in 2012.He is currently a Ph.D. candidate in the Department of Computer Science,University of Tlemcen, Algeria. Her research interests include: web service composition, web service discovery and optimization techniques.