of searching services. Services are mapped using a
semantic distance function in order to improve the
service searching efficiency. Dynamicity of nodes,
and especially directory nodes, is managed by ap-
plying a dynamic clustering algorithm inspired from
the Weighted Clustering Algorithm (WCA) origi-
nally proposed for ad hoc mobile networks (Chatter-
jee et al., 2001). We adapted the WCA algorithm
to cope with the specificities of ubiquitous environ-
ments. Hence, we aim in this work to define a system
that manages the high dynamicity of the environment
while guaranteeing the scalability requirement.
The rest of the paper is organized as follows. Sec-
tion 2 addresses related work and identifies some lim-
itations. Section 3 describes the SDC-WSD system.
Finally, Section 4 concludes the paper and discusses
some future directions.
2 RELATED WORK
Web service discovery systems proposed in the liter-
ature used a diversity of architectures ranging from
centralized systems to fully distributed systems. De-
spite the fact that availability and rapidity of access
are guaranteed with systems using centralized direc-
tories (Chen et al., 2006), (Hwang et al., 2007), these
systems suffer from problems like SPOF and bot-
tleneck as the number of registration and discovery
queries increases. To address the scalability issues
related to centralized architectures, solutions have
been proposed dealing mainly with decentralization
of directory nodes (Kang et al., 2007), (Xu et al.,
2008), (Gao and Steenkiste, 2004), (Kim et al., 2005),
(Liu et al., 2002). Kim et al. proposed a fully
distributed architecture by electing for every service
requestor or provider, K volunteer nodes (directory
nodes) to which publication and discovery queries are
sent (Kim et al., 2005). Problems of SPOF and bottle-
neck are thus avoided but this decentralization has its
cost because voluntary nodes are announced by flood-
ing the query and even in case of updating the volun-
teers list, flooding is used. To avoid the flooding prob-
lem, Xu et al. and Kang et al. proposed web service
discovery systems based on a clustered architecture
that reduces the search space and thus avoids over-
loading the network (Kang et al., 2007), (Xu et al.,
2008). To add semantic search capability, Kang et
al. proposed a clustering method based on seman-
tic similarity where each cluster contains descriptions
of the most semantically similar services. Services
are in fact, defined by attribute-value pairs (AV- Pairs)
and semantics of each attribute is described using an
ontology (Kang et al., 2007). In order to manage
nodes dynamicity characterizing ubiquitous environ-
ments, many solutions have been proposed ranging
from choosing nodes that have the highest resources
capacity and the lowest mobility to be directory server
nodes (Kim et al., 2005), to proposing a cluster forma-
tion algorithm inspired from the cluster head selection
method (Liu et al., 2002).
In our web service discovery system SDC-WSDS,
we propose 1) a clustering algorithm inspired from
the Weighted Clustering Algorithm (WCA) originally
proposed for ad hoc mobile networks and which we
adapted to meet with ubiquitous environments chal-
lenges and 2) a semantic service publication and dis-
covery model based on AV-Pairs and a semantic dis-
tance function.
3 SDC-WSDS DESCRIPTION
In this section, we present our web service discov-
ery system SDC-WSDS which is designed to en-
hance scalability, and dynamicity while discovering
web services in ubiquitous environments. To provide
scalable web service discovery, we adopt a clustered
architecture in order to reduce the number of publi-
cation and discovery queries (the access is limited to
the directory nodes). Each cluster is organized in a
two level hierarchical architecture containing a Direc-
tory Server (DS) and a number of web service servers
(WSS) (Xu et al., 2008). Thus, the ubiquitous envi-
ronment is partitioned into dynamic clusters using a
clustering algorithm as detailed in section 3.1. In our
proposed architecture, as described in figure 1, each
node can be mobile and can take one of four roles:
• A Directory Server (DS): is responsible of a cer-
tain region in the ubiquitous environment. It
maintains descriptions of all existing web services
distributed within its region (Xu et al., 2008). Dif-
ferent from those in USDM-PerCom (Xu et al.,
2008), each DS contains, in addition to the de-
scriptions of web services within its region, de-
scriptions of the most semantically similar web
services according to the AV-Pairs assigned to
each DS. In fact, in order to be able to cal-
culate the semantic distance, AV-Pairs (provided
from the first service description that a local WSS
sends) are assigned to DSs. After registering its
first service, each DS sends the AV-Pairs, that it
will be responsible of, to all other DSs. The DS
having not yet been assigned any values, when re-
ceiving a new service description, checks the val-
ues supported by the other DSs by calculating a
semantic distance between them and the received
values. If the calculated distance is lower than a
ICEIS2012-14thInternationalConferenceonEnterpriseInformationSystems
296