You are on page 1of 12

APPLICATIONS OF WEB TECHNOLOGY IN WIRELESS SENSORS

KAMBAN ENGINEERING COLLEGE TIRUVANNAMALAI

D.HINDUMATHI, CSE 3rd yr S.MANJUVERSHINI,CSE 3rd yr

(Email-id:hinds.cs@gmail.com)

ABSTRACT-Along with the infiltration of wireless sensor network in every field of our life, sharing sensor network resources in Internet environment is one of key problems which must be solved by wireless sensor network application. This paper expounds Web Service technology and uses Web Service technical framework for reference to design a new kind of service-oriented sensor network structure. And finally, it introduces in detail the established wireless sensor network from software and hardware, etc.KeywordsWeb application; Web Service; wireless sensor network; gateway I. INTRODUCTION

Wireless sensor network extends human's capability of understanding the real world and provides people with the

most direct, effective and real physical information of the objective world. Convenient acquisition of monitoring data is the basis of wireless sensor network application, along with the development of technology, releasing the monitoring data got by wireless sensor network through Internet has become a key problem that the wide application of sensor network needs to face.Web service is a new kind of distributed calculation paradigm, it has characteristics of crossplatfonn,componentoriented and loose coupling, etc, and it is becoming a kind of mainstream middleware technology of interoperation and integration between heterogeneous applications and resource sharing in Internet environment.

The combination of wireless sensor network and Web Service technology can achieve the goal of sensor network resource sharing and reuse in Internet environment, this technology has attracted the attention of various academic institutions and produced some academic achievements, ISO has also set about making related standards. II. WIRELESS SENSOR NETWORK BASED ON WEB SERVICE

A. Web Service system architecture and workflow Web Service adopts a service-oriented architecture (SOA) model as its system structure and SOA is composed of three roles and three basic operations, Web Service includes three basic roles: 1. Service provider: it is deployed on SOAP server and realizes the WebService of enterprise specific business logic. 2. Servicerequester: it calls the client of Web Service. 3.Service agent :namely UDDI server, the client searches for and calls Web Service through it. Service requester can be regarded as a network node and it finds and calls other software services to provide

commercial solutions. When a Web service needs to be used, it will go to service registration center to interface and real position of the needed Web service and then find the Web service through the real position and finally bind itself on this service. Service provider is also the provider of final Web Service and it provides service interfaces of software resources which handle a series of specific tasks, including service interfaces of commercial entities or reusable subsystems. Service agent is a place which helps to search for Web services and it can also be a Web Service registration place which is a storehouse of a large number of on-line Webservices. Generally, service provider releases its various services to the registration center. The working mechanism of Web Service can be

understood that client application accesses to SOAP server which provides Web Service through SOAP protocol and uses WSDL file to explain and quote; Web Service registers and describes through UDDI server for SOAP client application to search and call. B. Structure of wireless sensor network based on Web Service Referring to the structure frames of traditional Web Services, combined with the characteristics of wireless sensor network, this paper regards sensor network as the provider of service and designs a kind of sensor network structure based on Web Service Wireless Sensor Network Structure Based on Web Service Sensor layer includes various sensor nodes and gateway

nodes. Sensor nodes collect the data people are interested in and send the data to gateway nodes. Gateway nodes define a set of standard Web Service interface (WS-API) to shield the diversity of wireless sensor network, for example,different sensor nodes (different manufacturers and types,etc) and perception objects (perception temperature,humidity and illumination, etc) encapsulate the functions of sensor network, such as receiving monitoring data and issuing monitoring commands, etc. The main tasks of service layer include integrating heterogeneous information resources and supporting the registration, discovery and binding of sensor layer services,

etc. For example, registration service is responsible for registering the metainformation description of services of various sensor nodes to service registration center when they are added dynamically; index service is mainly responsible for inquiring about sensor nodes and entities users are interested in aiming at the service metainformation of registration. Binding service mainly provides the detailed information about binding in the related services, convenient for service requesters to connect and call a Web Service. Information layer provides users with the basic function of displaying wireless sensor network information and it is responsible for calling corresponding Web services in browser pages and displaying

these services in some graphic modes to provide a friendly interactive interface for users. When deploying a sensor network, administrators call registration services through browser and release the service description information of wireless sensor network to the registration center. Users search for the related applications of sensor network from registration center and access to the228 corresponding services by calling the corresponding service interfaces and finally display the information they need at client browser in a visual mode. III. SOFTWARE AND HARDWARE DESIGN A. Design of hardware platform

The wireless sensor nodes introduced in this paper have functions of collecting indoor temperature and humidity data, etc, and abilities of storing, processing and transmitting data. Nodes can exchange information with each other and realize the access to network resources through network. A sensor node is mainly composed of four parts, namely sensor module, processor module, wireless communication module and power supply module.The temperature-humidity sensor is single-chip

full-calibration digital relative temperature and humidity sensor SHT11 developed by Swiss Sensirion Company. The sensor adopts unique CMOSens TM technology and it has characteristics of digital output, debugging-free, calibration-free, peripheral circuit-free and full-interchange. Central processing unit is mainly used to process the data collected from sensor nodes and finish some control functions, according to the requirements of gateway nodes for performance indexes, such as data throughput, data processing ability, low power consumption, easy extension, high-end applicationoriented and embedded operating system, etc, this paper chooses PHILIPS single-chip 32bitARM7 microcontroller LPC2194. LPC2194 is a CPU supporting real-time

simulation and tracking and it has a 256KB embedded high speed Flash memory. It can use32-bit ARM instructions and 16-bit THUMB instructions, for the applications which strictly control code size, it can use16-bit Thumb mode to decrease code size by more than 30%,but performance loss is very little. Storage unit adopts four Intel 28F128J3A StrataFlashs to form a 64M-byte memory and two Samsung K4S281632E-TC1L75 SDRAMs to form a 64M-byte SDRAM memory. Radio-frequency transceiver module is connected to sensor nodes through a 51-needle interface and it is used for receiving the data sent by sensor nodes and sending commands to sensor nodes. Communication module realizes

Ethernet communication by directly connecting CS8900 chip with processor and GPRS communication by dual-frequency module SIMlOO, users can observe the data collected by the sensor through common PC and GPRS mobile phone terminal. This paper selects MAXIM MAX604 minor switch voltage stabilizer as the voltage stabilizer of power supply module, its quiescent current is much smaller than LM78xxlinear voltage stabilizer; its encapsulation format is an extremely small surface mount SO-8, all of its inductors and diodes are integrated in chips, like linear voltage stabilizer, it can work with a decoupling capacitor. Its hardware part is composed of core board and expansion board Its software platform mainly includes

embedded operating system, RF communication module, serial transceiver module, sensor information analysis and processing module, data storage module, system configuration module and Web Service interfaces. Embedded operating system adopts an open source code, portable and easily tailored and customized Linux operating system. RF communication module transmits sensor node information to serial ports through RF link:, serial transceiver module takes out the data and hands the data to sensor information analysis and processing module for information extraction and analysis and then the information is stored in different XML files according to information types. Web Service interfaces encapsulate XML data into SOAP message and

send the message to user browser through standard HTTP communication protocol to make users get visual and vivid sensor network data through a unified interface. System configuration module allows users to carry out system configuration of sensor network through Web browser after verifying users' identities. C. Web Service interface design Define three Web Services interfaces, namely 1.GetObservation, 2.GetTopology and 3.Describe Sensor and shield the bottom realization details of sensor network applications to provide a unified interface for users and make users access to sensor network information they need by calling corresponding services. Get

Observation interface encapsulates data collection service and GetTopology and describeSensor interfaces encapsulate network topology dIsplay and sensor node state monitoring services. When receiving a request message, they extract the corresponding information, encapsulate the information into SOAP message and return the SOAP message to the service requester.Connect SOAP server and call the corresponding Web Service. IV. APPLICATION EXAMPLE . Take a sunlight greenhouse as experimental subject, install a sensor node at its four comers and center respectively, every node collects temperature and humidity data of the

greenhouse and collection cycle is one hour. Various sensor nodes pack the collected data in single-hop mode and transmit the packed data to gateway node. Gateway node collects the field data of various sensor nodes in active polling mode and then analyzes, classifies and stores the data and finally encapsulates data collection and mitoring functions into services to register in regIstration center. Remote users can directly visit homepage through IP address, When users click these buttons, such as "data collection", "state monitoring" and "network topology", etc, JavaScript script running in the browser will search for the related services in registration center automatically and realize user demands by calling

the corresponding gateway interfaces, this process is completed automatically in asynchronous mode and it is crystal clear to users.Take obtaining real-time temperature for example, the user clicks "data collection" button to enter "sensor network data collection" JavaScript script running in the browser will call the service provided by Get Observation. GetObservation: The main part of GetObservation interface returning the message is as follows: <? xml version=" 1. 0" encoding=" UTF-8" ?> <GetObservation> <Observation> <eventTime> <gml:timePosition> 2008-517T10:00:00.000Z </gml:timePosition> </eventTime>

<observedProperty xlink:href=" urn:ogc:def: phenomenon:OGC:1. O. 30: Temperature30Minut e" I> <result uom=" urn: ogc: def: uom: OGC: 1. O. 30: degC" xsi:type=" gml:Measure Type" >16.0 </result> <IObservation> </GetObservation> interface of gateway node periodically and the service encapsulates the current temperature value in the data information it obtains into an XML message and returns the messa ge to client browser. V. CONCLUSION Wireless sensor network is an emerging research field inrecent years and it has a wide application prospect. This paper combines wireless sensor network with Web 230technology to introduce in detail a kind

of design scheme of hardware and software platforms based on wireless sensor network and finish the design and realization of sensorgateway node from low cost, low power consumption and miniaturization requirements of Since Web Service technology has become one of the IT topics that everyone is talking about, it will create potential benefits for those who understand all working process ofweb service. Starting from creating web service, connecting to database including create webapplication that can be used to retrieved information by applying method of web service properly.Nowadays there is plenty of information which is important assets as it is the knowledge source.Therefore it is important for all organizations to carefully keep and record confidential information in

place. Creating Web Service can help on this issue. In case that some organizationswould like external parties to access to some level of information, they can create web service toconnect to database. By using web service user name and password will not be disclosed, onlysome level of information can be retrieved according to web service developer. Moreover usageof Visual Stiudio.net (ASP.NET) language can be learned through creating web service. This Visual Stiudio.net (ASP.NET) is the essential language in the .NET world because it is widely used. There are many Visual Stiudio.net (ASP.NET) language developers nowadays; therefore it is important to exchange knowledge and ideas for future development.proves that it achieves the goal of sharing sensor networkresources in Internet environment.

The next work is to make a deep study of wireless sensor network and it applications,enrich sensor network models, define more Web service interfaces and study these security mechanisms, such as access authentication mechanism and information transmission mechanism, etc.

You might also like