4 DISCUSSION
The procedure of discovering environmental services
can be automated by selecting some sensor device
from the list returned by the .env DNS server, pars-
ing its WADL file and constructing HTTP requests.
This process can even be personalized, by select-
ing only devices that meet particular user preferences.
For example, some users may wish to interact solely
with devices having positive online feedback or those
belonging to well-known authorities such as govern-
mental organizations. User characteristics could be
extracted from their online social networking status.
Since the whole idea is participatory-based, only
people who are willing to share their sensor devices
with the online community would do so. We believe
that in the future a culture could be created around
the concept of sharing environmental services with
the rest of the world.
Even though our proposal targets environmental
services, it could be well generalized to support any
kind of physical devices and/or pervasive services.
To achieve this, standardized ”domain vocabularies”
need to be created, for facilitating the construction of
queries by end users. For example, a user that wishes
to park his car in Barcelona could just need to type in
his Web browser parking.cars.Barcelona.
Finally, defining extended environmental ontolo-
gies would encourage automatic information re-
trieval, generalized inferences and advanced Web
mashup development very easily. For example, when
the temperature in Porto is obtained, then the general
temperature of Portugal can be automatically inferred.
5 CONCLUSIONS
Embedded computing is becoming ubiquitous in our
everyday lives, being slowly-slowly blended with the
Web. Discovering in real-time miniaturized Web-
enabled sensor devices, deployed around the world,
is a problem that needs to be effectively solved.
In this paper, we investigated theoretically how the
DNS could be extended to support global discovery of
environmental services. Our small research indicates
that it may be feasible to achieve automatic, real-time
discovery of sensor devices, by means of specialized
domain name servers. Definitely, our proposal con-
stitutes only a novel idea and it would require a great
willingness from Web engineers to be realized.
It would be interesting to study ways for extending
DNS-based discovery of any Web resource offering a
RESTful Web API. Security is another crucial factor
not discussed that requires extensive research.
For future work, we plan to experiment with
BIND
11
, which is an open-source DNS software for
Linux, implementing a .env DNS server in a local
environment, demonstrating the potential of this ap-
proach. In parallel, we will develop a Mozilla Firefox
extension that automatically discovers sensor devices
just by typing relevant URLs, constructs their host-
names and interacts with them.
REFERENCES
Cheshire, S. and Krochmal, M. (2011a). DNS-Based Ser-
vice Discovery. IETF Draft, draft-cheshire-dnsext-
dns-sd.txt.
Cheshire, S. and Krochmal, M. (2011b). Multicast DNS.
IETF Draft, draft-cheshire-dnsext-multicastdns.txt.
Cheshire, S., Krochmal, M., and Sekar, K. (2006). Dynamic
DNS Update Leases. IETF Draft, draft-sekar-dns-ul-
01.txt.
Dunkels, A., Voigt, T., and Alonso, J. (2004). Making
TCP/IP Viable for Wireless Sensor Networks. In Proc.
EWSN 2004, Berlin, Germany.
Fielding, R. T. (2000). Architectural Styles and the Design
of Network-based Software Architectures. PhD thesis,
University of California, Irvine, California.
Gershenfeld, N., Krikorian, R., and Cohen, D. (2004). The
Internet of Things. Scientific American, 291(4):76–81.
Guinard, D., Trifa, V., and Wilde, E. (2010). Architecting a
Mashable Open World Wide Web of Things. Techni-
cal Report No. 663, ETH Zurich.
Gulbrandsen, A., Vixie, P., and Esibov, L. (2000). A DNS
RR for specifying the location of services. RFC 2782.
Kamilaris, A., Trifa, V., and Pitsillides, A. (2011). The
Smart Home meets the Web of Things. IJAHUC Jour-
nal, 7(3):145–154.
Mockapetris, P. (1987). Domain Names - Implementation
and Specifications. STD 13, RFC 1035.
Ostermaier, B., Roemer, K., Mattern, F., Fahrmair, M., and
Kellerer, W. (2010). A Real-Time Search Engine for
the Web of Things. In Proc. of the Internet of Things
2010 Conference, Tokyo, Japan.
Rekhter, Y., Thomson, S., Bound, J., and Vixie, P. (1997).
Dynamic Updates in the Domain Name System (DNS
UPDATE). RFC 2136.
Richardson, L. and Ruby, S. (2007). RESTful Web Services.
O’Reilly.
Wang, H., Tan, C., and Li, Q. (2008). Snoogle: A Search
Engine for the Physical World. In IEEE INFOCOM
2008, pages 1382 –1390, Phoenix, AZ, USA.
Wilde, E. (2007). Putting things to REST. Technical Report
UCB iSchool Report 2007-015, UC Berkeley.
Yazar, D. and Dunkels, A. (2009). Efficient Application In-
tegration in IP-based Sensor Networks. In First ACM
Workshop On Embedded Sensing Systems For Energy-
Efficiency In Buildings (BuildSys), California, USA.
11
http://www.isc.org/software/bind
WEBIST2012-8thInternationalConferenceonWebInformationSystemsandTechnologies
284