research article agriculture sensor-cloud infrastructure...

13
Research Article Agriculture Sensor-Cloud Infrastructure and Routing Protocol in the Physical Sensor Network Layer Kyuhyung Kim, 1 Sungwon Lee, 2 Hongseok Yoo, 3 and Dongkyun Kim 2 1 Embedded System Research Team, Daegu-Gyeongbuk Research Center, ETRI, Daegu 711-880, Republic of Korea 2 Wireless & Mobile Internet Laboratory, School of Computer Science and Engineering, Kyungpook National University, Daegu 702-701, Republic of Korea 3 Department of Mobile Engineering, Kyungwoon University, Gumi 730-739, Republic of Korea Correspondence should be addressed to Dongkyun Kim; [email protected] Received 6 December 2013; Accepted 3 February 2014; Published 9 March 2014 Academic Editor: Yujin Lim Copyright © 2014 Kyuhyung Kim et al. is is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. Nowadays, wireless sensor networks (WSNs) are used in a variety of areas. However, it is difficult to efficiently manage a large number of sensor nodes and their sensing data owing to the limitations of WSNs. Particularly, in agricultural applications, a WSN installed in a specific region is used for multiple services (i.e., greenhouse environment monitoring and control). However, the network resources (i.e., channel, battery, etc.) are currently being utilized for redundant operations requested from multiple service users owing to the lack of an efficient system for managing large WSN data. In this paper, we propose an agriculture sensor-cloud infrastructure (ASCI) to effectively provide various agricultural services using WSNs. In addition, we propose hierarchical source routing (HSR), aggregation gradient routing (AGR), and a priority-based data transmission technique in order to allow packets to be delivered to the destination fast and reliably in large-scale WSNs. 1. Introduction Wireless sensor networks (WSNs) are used in various applica- tion fields such as military surveillance, healthcare, building automation, precision agriculture, and public safety [18]. Among them, precision agriculture is known as a solution for effectively mitigating the problems of food shortage and environmental pollution because it can manage the variability in crop yields by maximizing the production and profitability while minimizing the risk. Many researchers have paid increasing attention to the applicability of WSNs to precision agriculture [510] owing to such a potential benefit. In addition, most of the existing works focused on the development of routing and medium access protocols for monitoring and controlling the agricultural environment [9, 10]. Recently, several sensor-cloud infrastructures have been proposed as a remedy for the deterioration of the service performance caused by the limitations of WSNs in terms of memory, energy, computation, communication, and scalabil- ity. For efficient management of a large number of WSNs and their data, these infrastructures integrate cloud computing with the WSNs. In particular, because a sensor-cloud infras- tructure is an open, flexible, and reconfigurable platform for monitoring and controlling applications [1113], we believe it to be suitable and beneficial for precision agriculture with large-scale WSNs. e possible services over the precision agriculture system based on the sensor-cloud infrastructure are air/soil monitoring, cultural control for maintaining the growing environments at a constant level, precise monitoring of the growth status, agricultural surveillance, and so forth. Although several sensor-cloud infrastructures have been envisioned by many researchers, there remain some impor- tant issues to deal with, for example, efficient management of sensors, real-time processing and storage of the WSN data, and offering various services: (1) efficient data com- munication over the physical WSNs, (2) multipath source routing for guaranteeing reliability and fault-tolerance, and Hindawi Publishing Corporation International Journal of Distributed Sensor Networks Volume 2014, Article ID 437535, 12 pages http://dx.doi.org/10.1155/2014/437535

Upload: others

Post on 30-Apr-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Research Article Agriculture Sensor-Cloud Infrastructure ...downloads.hindawi.com/journals/ijdsn/2014/437535.pdf · Research Article Agriculture Sensor-Cloud Infrastructure and Routing

Research ArticleAgriculture Sensor-Cloud Infrastructure and Routing Protocolin the Physical Sensor Network Layer

Kyuhyung Kim,1 Sungwon Lee,2 Hongseok Yoo,3 and Dongkyun Kim2

1 Embedded System Research Team, Daegu-Gyeongbuk Research Center, ETRI, Daegu 711-880, Republic of Korea2Wireless & Mobile Internet Laboratory, School of Computer Science and Engineering, Kyungpook National University,Daegu 702-701, Republic of Korea

3 Department of Mobile Engineering, Kyungwoon University, Gumi 730-739, Republic of Korea

Correspondence should be addressed to Dongkyun Kim; [email protected]

Received 6 December 2013; Accepted 3 February 2014; Published 9 March 2014

Academic Editor: Yujin Lim

Copyright © 2014 Kyuhyung Kim et al.This is an open access article distributed under the Creative Commons Attribution License,which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Nowadays, wireless sensor networks (WSNs) are used in a variety of areas. However, it is difficult to efficiently manage a largenumber of sensor nodes and their sensing data owing to the limitations of WSNs. Particularly, in agricultural applications, a WSNinstalled in a specific region is used for multiple services (i.e., greenhouse environment monitoring and control). However, thenetwork resources (i.e., channel, battery, etc.) are currently being utilized for redundant operations requested frommultiple serviceusers owing to the lack of an efficient system for managing large WSN data. In this paper, we propose an agriculture sensor-cloudinfrastructure (ASCI) to effectively provide various agricultural services using WSNs. In addition, we propose hierarchical sourcerouting (HSR), aggregation gradient routing (AGR), and a priority-based data transmission technique in order to allow packets tobe delivered to the destination fast and reliably in large-scale WSNs.

1. Introduction

Wireless sensor networks (WSNs) are used in various applica-tion fields such as military surveillance, healthcare, buildingautomation, precision agriculture, and public safety [1–8].Among them, precision agriculture is known as a solutionfor effectively mitigating the problems of food shortageand environmental pollution because it can manage thevariability in crop yields by maximizing the production andprofitability while minimizing the risk. Many researchershave paid increasing attention to the applicability of WSNsto precision agriculture [5–10] owing to such a potentialbenefit. In addition, most of the existing works focused onthe development of routing and medium access protocolsfor monitoring and controlling the agricultural environment[9, 10].

Recently, several sensor-cloud infrastructures have beenproposed as a remedy for the deterioration of the serviceperformance caused by the limitations of WSNs in terms of

memory, energy, computation, communication, and scalabil-ity. For efficient management of a large number of WSNs andtheir data, these infrastructures integrate cloud computingwith the WSNs. In particular, because a sensor-cloud infras-tructure is an open, flexible, and reconfigurable platform formonitoring and controlling applications [11–13], we believeit to be suitable and beneficial for precision agriculture withlarge-scale WSNs. The possible services over the precisionagriculture system based on the sensor-cloud infrastructureare air/soil monitoring, cultural control for maintaining thegrowing environments at a constant level, precise monitoringof the growth status, agricultural surveillance, and so forth.

Although several sensor-cloud infrastructures have beenenvisioned by many researchers, there remain some impor-tant issues to deal with, for example, efficient managementof sensors, real-time processing and storage of the WSNdata, and offering various services: (1) efficient data com-munication over the physical WSNs, (2) multipath sourcerouting for guaranteeing reliability and fault-tolerance, and

Hindawi Publishing CorporationInternational Journal of Distributed Sensor NetworksVolume 2014, Article ID 437535, 12 pageshttp://dx.doi.org/10.1155/2014/437535

Page 2: Research Article Agriculture Sensor-Cloud Infrastructure ...downloads.hindawi.com/journals/ijdsn/2014/437535.pdf · Research Article Agriculture Sensor-Cloud Infrastructure and Routing

2 International Journal of Distributed Sensor Networks

Various kinds of physical sensors/sensor network

Application 1

Service

Application 2 Application n

Virtual sensor/virtual sensor groups

SN1SN2

SN3 SN4

SN5 SN6

SN7

SN1SN2

SN3 SN4

SN5 SN6

SN7

SN1SN2

SN3 SN4

SN5 SN6

SN7

Virt

ualiz

ed

GW GW GW

SR1

SR2

SR3

SR4

SR5

SR6 SR7

· · ·

Figure 1: Sensor-cloud infrastructure.

(3) hierarchical routing for solving the scalability of thenetwork.

Therefore, we propose a new agriculture sensor-cloudinfrastructure (ASCI) for processing large volumes of WSNdata as well as providing various types of agricultural servicesand design a new efficient routing protocol forWSNs belong-ing to ASCI. The rest of our paper is organized as follows.A brief introduction to existing sensor-cloud infrastructuresystems and routing protocols for typical WSNs is presentedin Section 2. Section 3 addresses the proposed ASCI. And theproposed multipath routing protocol for large-scale WSNsis described in Section 4. In Section 5, we evaluate theperformance of the routing protocol using the ns-2 simulatorconsidering various aspects. Finally, the conclusions aredrawn in Section 6.

2. Related Works

2.1. Sensor-Cloud Infrastructure. A sensor-cloud infrastruc-ture is an extended form of cloud computing for manag-ing sensors scattered throughout a network, and its mainobjective is to collect, store, and process the data from thesesensors [14]. In particular, another objective of the sensor-cloud infrastructure is to support a number of services atlow cost. In order to achieve these goals, this infrastructurevirtualizes physical sensors and allows the users to monitorand control the physical sensors without the knowledge ofthe deployment of the physical sensors. The provisioningof services from the virtualized sensors is automaticallyfacilitated on demand by users in this infrastructure, andthis system monitors the virtual sensors regularly and allowsthe users to destroy their virtual sensors when they becomemeaningless. In addition, it also provides a user interface forregistering and deleting the physical sensors and admittingthe deleting users [15]. In the sensor-cloud infrastructureshown in Figure 1, various functional modules (i.e., virtual-ization, standardization, automation, monitoring, grouping,service modeling, etc.) should be implemented for the suc-cessful realization of large-scale WSNs integrated with cloudcomputing.

2.2. Sensor Network Routing Protocol. For efficient manage-ment of sensors and real-time processing of a large amountof data from sensors, the communication between the sen-sors should be performed in a fast and efficient manner.Particularly, a WSN for precision agriculture applicationsconsists of hundreds of thousands of sensors, and it shouldprovide reliable communication for sophisticated control ofthe sensors and actuators. Therefore, a routing protocol forthis application should be reliable, fault-tolerant, and scalablewith the network size (i.e., the number of sensors).

Currently, there exists a number of routing protocolsfor WSNs, and they can be classified into flat-based rout-ing, hierarchical-based routing, and location-based rout-ing depending on the network structure [16, 17]. Further-more, these protocols can be classified into multipath-based,query-based, negotiation-based, QoS-based, or coherent-based routing techniques depending on the protocol oper-ation. Among those protocols, it is known that multipath-based routing protocols can guarantee reliability and faulttolerance through redundant transmissions. It is notedthat the multipath-based routing protocol can be furtherdivided into alternative path routing and concurrent mul-tipath routing according to the usage pattern of multiplepaths [18].

Recently, the scalable multipath source routing (SMSR)protocol has been proposed to meet the requirements of bothreliability and fault tolerance [19]. Figure 2 depicts the basicoperation of the SMSR protocol. In SMSR, the source routingapproach is used for downstream traffic, and the upstreamtraffic is delivered to the sink according to gradient-basedrouting, where the gradient is determined on the basis ofthe hop count value. In the initialization phase, each sensoracquires the identification of a one-hop neighbor (calledthe next-hop node) that can relay its upstream packet. Theidentification of the next-hop node is piggybacked onto theupstream packet, and the packet is transmitted to the next-hop node and finally reaches the sink. The sink collects thenext-hop node information and calculates the shortest node-disjoint path toward each sensor. The downstream packet isdelivered to this destination according to the source routing

Page 3: Research Article Agriculture Sensor-Cloud Infrastructure ...downloads.hindawi.com/journals/ijdsn/2014/437535.pdf · Research Article Agriculture Sensor-Cloud Infrastructure and Routing

International Journal of Distributed Sensor Networks 3

1

S

2

3

4

5

6

7

Dest. HC Active Neighbor 1 Neighbor 2

1 1 True Sink None

2 1 True Sink None

3 2 True 1 2

4 2 True 2 None

5 3 True 3 4

6 3 True 3 None

7 4 True 5 6

1

S

2

3

4

5

6

7

Routing table of sink node (downstream)

Downstream paths to node 7

Routing table of sensor node 3 (upstream)

Sink node address Upstream node address HC Active Priority

S 3 3 1

S 4 3 2

IREQIREPDownstream

HC = 1 HC = 2 HC = 3 HC = 4

T

T

Figure 2: Scalable multipath source routing.

on the basis of the shortest node-disjoint path. Accordingto this operation, the SMSR facilitates the shortest routingbetween each sensor and the sink with lowmessage overheadand allows each sensor to maintain a light-weight routingtable.

However, in large-scale WSNs with hundreds of thou-sands of sensors (i.e., WSNs for precision agriculture), theaverage length of the paths used in SMSR is relatively longas compared with that in small-scale WSNs. The reliabilityof packet delivery over the given path decreases as the pathlength increases. In addition, an excessive amount of trafficfrom the sensor nodes exacerbates the hot-spot problem.Traditionally, WSNs are composed of a large number ofsensor nodes and a single sink. The sensor nodes shouldtransmit their data packets to the sink in a multihop mannerbecause the distance from each sensor node to a sink (exceptthe one-hop neighbor nodes of the sink) is greater than thetransmission range of the sensor nodes.Therefore, the sensornodes near the sink tend to dissipate their energy fasterthan the nodes located far away from the sink because theyhave to forward a large amount of data. This uneven energy

depletion, known as the hot-spot problem, drastically reducesthe lifetime of the sensor networks.

3. System Models and Problem Formulation

3.1. Agriculture Sensor-Cloud Infrastructure. Figure 3 depictsthe architecture of the proposed ASCI, which is designedto support various agricultural applications (i.e., air/soilmonitoring, cultural control for constantly maintaining thegrowing environments precise monitoring of the growthstatus, agricultural surveillance, etc.) with a low cost for thesensor equipment and system operation/management.

The components of the ASCI are organized in a hierarchi-cal manner consisting of a physical sensor network (physicallayer), virtual sensor cloud (virtual layer), and service cloud(service layer). The number of sensors in the physical sensornetworks can be up to hundreds of thousands of sensors, andit varies depending on the type of the agricultural applicationstargeted. Each sensor node is equipped with various sensors(temperature, humidity, electrical conductivity, etc.) and

Page 4: Research Article Agriculture Sensor-Cloud Infrastructure ...downloads.hindawi.com/journals/ijdsn/2014/437535.pdf · Research Article Agriculture Sensor-Cloud Infrastructure and Routing

4 International Journal of Distributed Sensor Networks

Physical sensor

network

(physical layer)

Virtual sensor cloud

(virtual layer)

Service cloud

(service layer)

Sensor

Actuator Virtual actuator

Virtual sensor

Microclimatemonitoringservice

Microclimatecontrollingservice

Plant growthmonitoringservice

TemperatureHumidity

ECVentilation Heating

Irrigation

Temperature

TemperatureHumidity Humidity

EC

EC

pHSolar

radiationVentilation Windows

HeatingIrrigation

Optimalirrigationservice

Windows

Service lifecycle

Gateway

GW GW GW

V-GW V-GW

Virtual gateway

Service template Service templateService template · · ·

Service

MonitoringControlling

Provisioning

Destroying

Registering

Deleting

CO2

CO2

CO2

Figure 3: Agriculture sensor-cloud infrastructure architecture.

controllers (ventilation, irrigation, etc.). The physical sensorscan be registered at the ASCI, and they can be deleted fromthe system when required by the users. The virtual sensorcloud virtualizes the sensors and controllers. A single sensoror a group of sensors can be virtualized according to thedemand of the user. The ASCI provides a user interface forprovisioning and destroying the virtual sensors. The servicecloud is a layer for providing various services using anindividual sensor or a group of virtual sensors. In order toprovide various services to the users in a convenient manner,the service cloud exploits the concept of service template.Therefore, a user should select an appropriate service tem-plate for a specific service. Furthermore, the service layeraccesses the sensors and controllers in the physical layer withthe aid of the virtual layer for controlling and monitoringthem.

Throughout the service life cycle, the resources (sensorsand controllers) in the physical layer are shared by thelayers via tasks such as monitoring/controlling, provision-ing, destroying, registering, and deleting. In particular, therouting protocols used in the physical sensor network shouldbe reliable, fault-tolerant, and scalable for efficient resourcesharing.

3.2. Problem Formulation in the Physical Sensor Network.Figure 4 depicts the structure of the physical sensor networkin the proposed ASCI architecture. The physical sensornetwork has a layer structure inwhich the upper layer consistsof sensor routers with high process capability, and the lowerlayer includes multiple sensor networks with typical sensornodes. As shown in Figure 4, each sensor network in the lowerlayer is used for a specific application.TheASCI does not limitthe range of applications. It is noted that the example applica-tions are plant growth information sharing/monitoring andmicroclimate environment controlling/information sharing.

The upper layer consists of sensor routers and an agri-culture service andmanagement server (ASMS). Each sensorrouter collects the environmental and growth informationfrom the sensor networks in the lower layer and deliversthe collected information to the ASMS. The ASMS managesthe sensors and controllers in the physical sensor networks,virtualizes the sensors and sensor networks, and providesthe users with various services according to the service lifecycle.

The data traffic exchange between the sensor nodes canbe categorized into four classes: (1) traffic related to theservice life cycle, (2) traffic for managing the sensor networks

Page 5: Research Article Agriculture Sensor-Cloud Infrastructure ...downloads.hindawi.com/journals/ijdsn/2014/437535.pdf · Research Article Agriculture Sensor-Cloud Infrastructure and Routing

International Journal of Distributed Sensor Networks 5

ASMS

ASMS: agriculture service and management server

Lower layer network

Upper layer network

SR SR SR

SN SN

SN

SNSN SN

SN

SN

SN

SN

SR

SR

S

NNNNNNNNNNNNNNNNNNN

N

SSSSNSSSSSSSSSSSSSSSSS

SNSNSNSNSNSNSNSNSNSNSNSNNNNSNNNNNNNNSSSSSSSSSSSSSSSSSNNNNNNNNNNNS

SR: sensor router (>256)

SN: sensor node (>40,000)

Microclimate environmentInformation monitoring

Sensor network

Microclimate environmentInformation monitoring

Sensor network

Plant growthInformation monitoring

Sensor network

Plant growthInformation monitoring

Sensor network

Microclimate environmentControlling

Sensor network

Microclimate environmentControlling

Sensor network

Figure 4: Wireless physical sensor network (physical layer).

and traffic carrying information regarding events such asfire, heavy snow, heavy rain, and trespassing, (3) trafficfor monitoring and controlling the crop environment, and(4) crop environment and growth status traffic periodicallyoriginating from an individual sensor node.The transmissionof the first three classes of traffic does not occur frequently;however, it should be performed reliably. On the other hand,the amount of data for the last class of traffic is significantlygreater than the others; however, a certain level of loss ratecan be considered to be tolerable in this system.

In this work, we extend the SMSR protocol in order toallow it to work properly in the ASCI architecture. In theexisting SMSR protocol, the hop length of the path betweenthe ASMS and each sensor node increases with the number ofsensor nodes. When a packet is transmitted over a long path,the size of the header specifying the source address can belarger than the size of the payload of the packet. In additionto the message overhead, the packet delivery over the longerpath is likely to be exposed to collisions more frequently.In particular, collisions frequently occur around the ASMSbecause of the hot-spot problem.

Therefore, we propose a hierarchical SMSR (H-SMSR)protocol that uses hierarchical source routing (HSR) andaggregation gradient routing (AGR) in order to overcome theabovementioned problems occurring in large-scale sensornetworks. In addition, the H-SMSR exploits priority-baseddata transmission for mitigating the hot-spot problem.

4. H-SMSR for AgricultureSensor-Cloud Infrastructure

The operations of the H-SMSR with HSR and AGR aresummarized below.

(1) ASMS configures and manages the network of sensorrouters (upper layer).

(2) Each sensor router configures and manages a typicalsensor network in the lower layer.

(3) The data packet destined for a specific sensor node(denoted by s) is delivered from theASMS to a specificsensor router managing s (called one-step sourcerouting).

Page 6: Research Article Agriculture Sensor-Cloud Infrastructure ...downloads.hindawi.com/journals/ijdsn/2014/437535.pdf · Research Article Agriculture Sensor-Cloud Infrastructure and Routing

6 International Journal of Distributed Sensor Networks

SensorrouterASMS

Sensorrouter

Waiting (during time t)

SR address HC Active 1st neighbor SR address

2nd neighborSR address

ASMS address Upstream SR address HC Active Priority

SR1

SR2

SR3

SR4

SR5

SR6 SR7

ASMS

SRHC = 1SRHC = 2 SRHC = 3 SRHC = 4

Upper layer network

ULN IREQ (ASMS addr, ++SRHC, −−SEQ num) ULN IREQ (ASMS addr, ++SRHC, −−SEQ num)

ULN IREP (SR addr, HD, and list of upstream neighbor)ULN IREP (SR addr, HD, and list of upstream neighbor)

ASMS DownstreamRoutingTableSR UpstreamRoutingTable

Figure 5: Upper-layer network configuration.

(4) The sensor router delivers the packet to s (called two-step source routing).

(5) The packet originating from a sensor node (denotedby s) is delivered to the sensor router managing saccording to gradient-based routing.

(6) A sensor router aggregates packets from the sensornodes and delivers the aggregated packet to the ASMS(called aggregation gradient routing).

(7) When a node has a packet with the highest priority,it advertises this fact to the neighboring nodes viaflooding before it transmits its pending packet.

4.1. Network Configuration. The H-SMSR first configuresthe network in the upper layer and configures the sensornetworks in the lower layer. Figure 5 shows the configurationprocedure of the network of the sensor routers. First, theASMS floods all sensor routers in the network with theULN IREQ message. ULN IREQ includes the address of theASMS, the number of hops (called the hop count) that theULN IREQmessage has traversed, and the sequence number.Whenever a sensor router receives a ULN IREQ message, itupdates the routing table (called SR UpstreamRoutingTable)for upstream packet delivery and it calculates the shortestpath to the ASMS according to the greedy forwarding mech-anism on the basis of the fields in the received packet. Therouting table of the sensor router stores the ASMS address,the address of the next-hop node over the shortest path, thepath length of the shortest path, and so forth. After updatingthe routing table, a sensor router increases the value of thehop count field by one and decreases the value of the sequencenumber field by one. When the sequence number is equal tozero, a sensor router cancels its rebroadcasting. Otherwise, itperforms rebroadcasting of the ULN IREQ message.

After waiting a predefined time (called 𝑇) from the timewhen the sensor router first receives a ULN IREQ message,a sensor router transmits a ULN IREP message to its next-hop node. The ULN IREP message includes the address ofthe sensor router, the length of the shortest path, and theaddress of the next-hop node. The ULN IREP message isfinally delivered to the ASMS according to the next-hopforwarding mechanism. The ASMS collects the ULN IREPmessages from all sensor routers and constructs the routingtable for the delivery of the downstream packets accordingto the source route construction algorithm of the SMSR.It is noted that the sensor routers can provide informationon multiple next-hop nodes to the ASMS depending on theperformance of the ASMS and the network configurationpolicy.

Figure 5 shows the configuration procedure for the sensornetworks in the lower layer. After configuring the sensorrouters, the ASMS allows a sensor router to begin theconfiguration of a sensor network in the lower layer byflooding the network with the LLN CREQ message. Whenthe address of the sensor router in the LLN CREQ messageis zero, all sensor routers initiate the configuration. On theother hand, only the designated sensor router initiates theconfiguration when the address of the sensor router in theLLN CREQ message is equal to that of a specific sensorrouter.

A sensor router begins the configuration by flooding thenetwork with the LLN CREQ message. LLN IREQ includesthe address of the sensor router, the length of the shorterhop path to the ASMS, and the sequence number. Whenevera sensor node receives an LLN IREQ message, it updatesthe routing table (called SN UpstreamRoutingTable) for thedelivery of upstream packets and a sensor node calculates theshortest path to theASMS according to the greedy forwarding

Page 7: Research Article Agriculture Sensor-Cloud Infrastructure ...downloads.hindawi.com/journals/ijdsn/2014/437535.pdf · Research Article Agriculture Sensor-Cloud Infrastructure and Routing

International Journal of Distributed Sensor Networks 7

Sensor node

SR7 Sensor node

Waiting (during time )

SNdest. HC Active 1st neighbor

SN address2nd neighbor

SN address

SR address Upstream SN address HC Active Priority

ASMS

SR address SN address Active

SR/SN mapping table

ASMSSR2

SR4

SR7SR6

SN1SN2

SN3 SN4

SN5 SN6

SN7

Upper layer network

Lower layer network

SR7SSSRRRR

SR4SRSRRSRSRSSRRRRRSRSRR

SR2R2RRRRRRRRR2R22R2RRR

SR1SR3

SR5

SN7SNSNSNNNNNNNNNN

S

SN

LLN CREP (array (SN addr))

LLN CREQ (SR = 0 or 7)

LLN IREQ (SR addr = 7, ++HC, −−SEQ num)LLN IREQ (SR addr = 7, ++HC, −−SEQ num)

LLN IREP (SN addr, HD, , list of upstream neighbor)

LLN IREP (SN addr, HD, , list of upstream neighbor)

SR DownstreamRoutingTableSN UpstreamRoutingTable

SRHC = 4, SRA = 7, SHC = 1

SRHC = 4, SRA = 7, SHC = 2

SRHC = 4, SRA = 7, SHC = 3

SRHC = 4, SRA = 7, SHC = 4

SRHC = 1 SRHC = 2 SRHC = 3 SRHC = 4

t

Figure 6: Lower-layer network configuration.

mechanism on the basis of the fields in the received packet.The routing table of the sensor node stores the ASMS address,the address of the next-hop node over the shortest path,the path length of the shortest path, and so forth. Afterupdating the routing table, a sensor node increases the valueof the hop count field by one and decreases the value of thesequence number field by one. When the sequence numberis equal to zero, a sensor node cancels its rebroadcasting.Otherwise, it performs the rebroadcasting of the LLN IREQmessage.

Similar to the sensor routers, each sensor node transmitsan LLN IREP message to its next-hop node after receivingsome of the LLN IREQmessages for a predefined time (called𝑇).The LLN IREPmessage includes the address of the sensornode, the length of the shortest path to the sensor router,and the address of next-hop node. The LLN IREP message isfinally delivered to the sensor router according to the next-hop forwarding mechanism. The sensor router collects theLLN IREP messages from all sensor nodes and constructsthe routing table for the delivery of the downstream pack-ets according to the source route construction algorithmof SMSR. It is noted that the sensor routers can provideinformation regarding multiple next-hop nodes to the ASMSdepending on the performance of the sensor router andnetwork configuration policy. After receiving the LLN IREPmessages from all sensor nodes, the sensor router transmitsan LLN CREP message to the ASMS in order to deliverthe information about the lower layer to the ASMS. TheLLN CREP message includes the address information of thesensor nodes. The ASMS creates a mapping table (calledSR/SN MappingTable) between a sensor router and thesensor nodes belonging to the sensor router and terminates

the entire procedure of the network configuration on thebasis of the address information.

Figure 7 shows examples of the routing tables. Therouting tables of SR7 and SN4 are constructed accordingto the configuration procedure depicted in Figures 5 and6. The sensor routers and sensor nodes can exchange thedownstream and upstream packets on the basis of theserouting tables.

4.2. Hierarchical Source Routing. HSR is used for deliver-ing the downstream packets and divides the entire sourcerouting between the ASMS and a sensor node into twosteps: source routing between the ASMS and the sen-sor router and source routing between the sensor routerand the sensor node. Through this approach, the HSRcan prevent the length of the entire route specified inthe packet header from becoming extremely long. Forexample, as shown in Figure 7, SR/SN MappingTable andSR DownstreamRoutingTable constructed by the ASMS andSN DownstreamRoutingTable constructed by SR7 are lookedup for delivering the packet from the ASMS to SN4. TheASMS looks up the SR/SN MappingTable in order to deter-mine the sensor router that SN4 belongs to. After deter-mining the appropriate sensor router (i.e., SR7), the ASMStransmits the packet to the target sensor router accordingto the souring routing mechanism. Finally, SR7 transmitsthe packet to SN4 using the route information in SNSN DownstreamRoutingTable.

4.3. Aggregation Gradient Routing. HSR is used for the deliv-ery of the downstream packets. Each sensor node transmits

Page 8: Research Article Agriculture Sensor-Cloud Infrastructure ...downloads.hindawi.com/journals/ijdsn/2014/437535.pdf · Research Article Agriculture Sensor-Cloud Infrastructure and Routing

8 International Journal of Distributed Sensor Networks

SN4

ASMS

UpstreamRoutingTable

SN Address HC Active 1st neighbor SN address

2nd neighborSN address

SN1 1 SR7SN2 1 SR7SN3 2 SN1SN4 2 SN1 SN2

DownstreamRoutingTable

SR address Upstream SN address HC Active Priority

SR7 SN1 2 1SR7 SN2 2 1

SR address SN address Active

SR7 SN1SR7 SN2SR7SR7 SN7

ASMS SR/SN mapping table

SR address HC Active 1st neighbor SR address

2nd neighborSR address

SR1 1 ASMSSR2 1 ASMSSR3 2 SR1 SR2SR4 2 SR2SR5 3 SR3SR6 3 SR3 SR4SR7 4 SR5 SR6

ASMS DownstreamRoutingTable

ASMS address Upstream SR address HC Active Priority

ASMS SR5 4 1ASMS SR6 4 2

SR7

UpstreamRoutingTable

ASMS SR2

SR4

SR7SR6

SN1SN2

SN3 SN4

SN5 SN6

SN7

Upper layer network

Lower layer network

SR1SR3

SR5

SRHC = 4, SRA = 7, SHC = 1

SRHC = 4, SRA = 7, SHC = 2

SRHC = 4, SRA = 7, SHC = 3

SRHC = 4, SRA = 7, SHC = 4

SRHC = 1 SRHC = 2 SRHC = 3 SRHC = 4

——

——

———

· · ·

· · ·

T

T

T

T

t

t

t

t

t

t

t

t

tt

t

t

t

t

t

Figure 7: Example routing tables.

its packet to the sensor router it belongs to using the gradientrouting mechanism. When a sensor router receives a packetfrom a sensor, it does not forward the packet to the ASMSimmediately. The sensor router collects the packets frommultiple sensor nodes, aggregates them, and finally transmitsthe aggregated packet to the ASMS according to the gradientrouting mechanism. For example, as shown in Figure 7,SN4 first transmits its packet to SR7. SR7 then collects thepackets from the sensor nodes during a predefined time andaggregates them. Finally, SR7 transmits the aggregated packetto the ASMS using the gradient routing mechanism.

4.4. Priority-Based Data Transmission. The ASCI assignsdifferent priorities to different types of messages. A messagewith a higher priority is transmitted earlier than a messagewith a lower priority.

These messages are transmitted in both upstream anddownstream directions. The messages with the second pri-ority are the downstream messages from the ASMS to theSR or SN whose transmission is triggered by the users forcontrolling and monitoring the environment. Finally, thelowest priority is assigned to the messages carrying thesensing data from the sensor node to the ASMS.

Figure 8 depicts the method of transmitting the upstreammessage with the highest priority. The sensor node hav-ing a message with the highest priority first broadcasts

the EmergencyData ready message in order to advertise itspending transmission to the neighboring nodes. When thesensor nodes receive the notification message, it stops itstransmission for a predefined time (denoted by T) and relaysthemessagewith the highest priority first to the sensor router.The sensor router also broadcasts the EmergencyData readymessage in order to advertise its pending transmission to theneighboring nodes before it starts the transmission of themessage with the highest priority and transmits the messageto the ASMS.

Figure 9 depicts the method of transmitting a down-stream message with the highest priority. The ASMS firstfloods the network with the EmergencyData ready messagein order to advertise its pending transmission to all the nodesin the upper layer. After flooding, the ASMS transmits themessage to the SR. Similar to theASMS, the SR first advertisesits pending transmission to all the nodes in the lower layerusingmessage flooding and then transmits themessage to thesensor node, which is the final destination.

5. Simulation

In this section, we discuss performance evaluations usingthe most recent version of the ns-2 simulator (i.e., ns-2.35).Figure 10 shows an example of the test topologies. The sinknode is located at the center of network, and the sensor

Page 9: Research Article Agriculture Sensor-Cloud Infrastructure ...downloads.hindawi.com/journals/ijdsn/2014/437535.pdf · Research Article Agriculture Sensor-Cloud Infrastructure and Routing

International Journal of Distributed Sensor Networks 9

SendData (priority = 1, data)

EmergencyData ready (SR = )

SendData (priority = 1, data)

EmergencyData ready (SN = 2)

ASMSSR1

SN2 SNmSN1SR2 SRn

BroadcastingBroadcasting

Broadcasting

n

Figure 8: 1st priority-based message transmission (upstream).

FloodingFlooding

FloodingFlooding

FloodingFlooding

ASMSSR1

SN2 SNmSN1SR2 SRn

SendData (priority = 1, data)

SendData (priority = 1, data)

EmergencyData ready (SN = m)

EmergencyData Ready (SR = n)

Figure 9: 1st priority-based message transmission (downstream).

routers are placed on the network in a grid pattern. Thehorizontal and vertical distances between the adjacent sensorrouters are identical to each other, and the distance is set to100m.The sensor nodes are randomly placed throughout thenetwork.Thenumber of senor nodes is varied from32 to 1024.

We have assumed that no mobile nodes exist. The sizeof the data packet is set to 64 bytes, and the channelbit rate is set to 250 kbps. Both the transmission and RFinterference ranges are set to 50m. Our proposed schemeis compared with the SMSR protocol over IEEE802.15.4MAC/PHY.The simulation environments are summarized asin Table 1. The performance metrics of interest for evaluatingthe effectiveness and efficiency of the proposed scheme arethe configuration time, packet delivery ratio, end-to-end

Table 1: Simulation environments.

Environments InformationSimulator ns-2 simulator (ns-2.35)Topology RandomNumber of sensor nodes 32 nodes and 1024 nodesNode distance 100MRF interference range 50MMAC/PHY IEEE 802.15.4Size of data packet 64 bytesBit rate 250Kbps

Page 10: Research Article Agriculture Sensor-Cloud Infrastructure ...downloads.hindawi.com/journals/ijdsn/2014/437535.pdf · Research Article Agriculture Sensor-Cloud Infrastructure and Routing

10 International Journal of Distributed Sensor Networks

Test network environment (case 1: 64 sensor nodes)

Sink Node Router Node Sensor Node

Test network environment (case 2: 1024 sensor nodes)

Sink node

Router node

Sensor node

Figure 10: Simulation environment.

Con

figur

atio

n tim

e (s)

SMSRH-SMSR

Number of sensor nodes

0.40.45

0.50.55

0.60.65

0.70.75

0.80.85

32 40 48 56 64

(a)

Con

figur

atio

n tim

e (s)

0

5

10

15

512 640 768 896 1024

SMSRH-SMSR

Number of sensor nodes

(b)

Figure 11: Network configuration time.

packet delay, and priority packet delivery ratio and they areshown in Figures 11–14.

Figure 11 shows the network configuration time accordingto the network scale. The performance gain achieved bythe proposed scheme in terms of the configuration time ismarginal in a small-scale network. However, our proposedscheme yielded approximately two times shorter configura-tion time in a large-scale network.

Figures 12 and 13 show the upstream packet deliveryratio and end-to-end downstream packet delay according tothe network scale, respectively. The upstream packet deliveryratio of our proposed scheme is higher than that of SMSR.The performance of the end-to-end downstream packet delayis approximately two times less than that of the SMSR in alarge-scale network. These results indicate that our proposedscheme can provide more reliable and scalable services.

Page 11: Research Article Agriculture Sensor-Cloud Infrastructure ...downloads.hindawi.com/journals/ijdsn/2014/437535.pdf · Research Article Agriculture Sensor-Cloud Infrastructure and Routing

International Journal of Distributed Sensor Networks 11

90

92

94

96

98

100

32 40 48 56 64Number of sensor nodes

Pack

et d

eliv

ery

ratio

(u

pstre

am)

SMSRH-SMSR

(a)

70

75

80

85

90

95

512 640 768 896 1024Number of sensor nodes

Pack

et d

eliv

ery

ratio

(u

pstre

am)

SMSRH-SMSR

(b)

Figure 12: Packet delivery ratio (upstream).

End-

to-e

nd p

acke

t del

ay(d

owns

tream

)

0

0.25

0.5

0.75

1

32 40 48 56 64Number of sensor nodes

SMSRH-SMSR

(a)

End-

to-e

nd p

acke

t del

ay(d

owns

tream

)

0

5

10

512 640 768 896 1024Number of sensor nodes

SMSRH-SMSR

(b)

Figure 13: End-to-end packet delay (downstream).

1st p

riorit

y pa

cket

del

iver

y ra

tio(u

pstre

am)

90

92

94

96

98

100

32 40 48 56 64Number of sensor nodes

SMSRH-SMSR

(a)

75

85

95

512 640 768 896 1024Number of sensor nodes

SMSRH-SMSR

1st p

riorit

y pa

cket

del

iver

y ra

tio(u

pstre

am)

(b)

Figure 14: First priority packet delivery ratio (upstream).

Figure 14 shows the highest priority upstream packetdelivery ratio according to the network scale. Our proposedscheme can successfully deliver the approximately 99% ofthe highest priority upstream packets to the destination in asmall-scale network, and it can deliver greater than 90% ofthe messages in a large-scale network.

6. Conclusion

In this paper, we proposed an ASCI designed to providevarious services efficiently and process large-scale sensor dataeffectively. In addition, we proposed H-SMSR, which is anextended version of the existing SMSR design and composed

Page 12: Research Article Agriculture Sensor-Cloud Infrastructure ...downloads.hindawi.com/journals/ijdsn/2014/437535.pdf · Research Article Agriculture Sensor-Cloud Infrastructure and Routing

12 International Journal of Distributed Sensor Networks

of HSR and AGR. Our proposed H-SMSR protocol candecrease the network configuration time, increase the packetdelivery ratio, decrease the end-to-end packet delay, andprovide reliable transmission of packets with high priority inlarge-scale WSNs. It is verified from the simulation resultsthat our proposed scheme ismore suitable for providingmorereliable and scalable service in large-scaleWSNs as comparedwith the existing scheme.

Conflict of Interests

The authors declare that there is no conflict of interestsregarding the publication of this paper.

Acknowledgment

This work was supported by the IT R&D program ofMSIP/KEIT (10041145, Self-Organizing Software Platform(SoSp) for Welfare Devices).

References

[1] N. A. Benjamin and S. Sankaranarayanan, “Failure performancestudy of hierarchical agent based patient health monitoringin wireless body sensor mesh network,” in Proceedings of theInternational Conference on Advances in Computing, Controland Telecommunication Technologies (ACT ’09), pp. 85–87,December 2009.

[2] W. Vandenberghe, B. Latre, F. De Greve, P. DeMil, I. Moerman,and P. Demeester, “A system architecture for wireless buildingautomation,” in Proceedings of the 15th IST Mobile and WirelessCommunications Summit, 2006.

[3] M. Dohler, T.Watteyne, T.Winter, and D. Barthel, “Urban wsnsrouting requirements in low power and lossy networks,” draft-ietf-roll-urbanrouting-reqs-05, 2009.

[4] T. Wark, P. Corke, P. Sikka et al., “Transforming agriculturethrough pervasive wireless sensor networks,” IEEE PervasiveComputing, vol. 6, no. 2, pp. 50–57, 2007.

[5] S. Yin, L. Liu, R. Zhou, Z. Sun, and S. Wei, “Design of wirelessmulti-media sensor network for precision agriculture,” IEEEChina Communications, vol. 10, no. 2, pp. 71–88, 2008.

[6] Y.-D. Kim, Y.-M. Yang, W.-S. Kang, and D.-K. Kim, “On thedesign of beacon based wireless sensor network for agriculturalemergencymonitoring systems,”Computer Standards and Inter-faces, 2011.

[7] M. Heather, M. Amine, P. Anna, and F. John, “Monitoring soilmoisture to support risk reduction for the agriculture sectorusing RADARSAT-2,” IEEE Journal of Selected Topics in AppliedEarth Observations and Remote Sensing, vol. 5, no. 3, pp. 824–8834, 2012.

[8] A. D. Siuli Roy and S. Bandyopadhyay, “Agro-sense: precisionagriculture using sensor-based wireless mesh networks,” inProceedings of the 1st ITU-T Kaleidoscope Academic Conference,Innovations in NGN (K-INGN ’08), May 2008.

[9] L. Yan-ju, L. Xiaoyang, Z. Ying, and Y. Yang, “MAC protocol forwireless sensor networks based on environmental monitoringof vegetable greenhouse,” in Proceedings of the InternationalConference onWeb Information Systems andMining (WISM ’10),vol. 2, pp. 337–340, 2010.

[10] H.-C. Lee, J.-H. Hwang, and H. Yoe, “Energy efficient MACprotocol for ubiquitous agriculture,” International Journal ofSmart Home, vol. 4, no. 3, pp. 15–26, 2010.

[11] A. Alamri, W. S. Ansari, M. M. Hassan, M. S. Hossain, A.Alelaiwi, and M. A. Hossain, “A survey on sensor-cloud: archi-tecture, applications, and approaches,” International Journal ofDistributed Sensor Networks, vol. 2013, Article ID 917923, 18pages, 2013.

[12] H. T. Dinh, C. Lee, D. Niyato, and P. Wang, “A survey of mobilecloud computing: architecture, applications, and approaches,”Wireless Communications andMobile Computing, vol. 13, no. 18,pp. 1587–1611, 2013.

[13] M. Yuriyama and T. Kushida, “Sensor-cloud infrastructurephysical sensor management with virtualized sensors on cloudcomputing,” in Proceedings of the 13th International Conferenceon Network-Based Information Systems (NBiS ’10), pp. 1–8,September 2010.

[14] L. P. D. Kumar, S. S. Grace, A. Krishnan, V. M. Manikandan,R. Chinraj, and M. R. Sumalatha, “Data filtering in wirelesssensor networks using neural networks for storage in cloud,”in Proceedings of the IEEE International Conference on RecentTrends in Information Technology (ICRTIT ’11), 2012.

[15] M. Yuriyama and T. Kushida, “Sensor-cloud infrastructurephysical sensor management with virtualized sensors on cloudcomputing,” in Proceedings of the 13th International Conferenceon Network-Based Information Systems (NBiS ’10), pp. 1–8,September 2010.

[16] K. Akkaya and M. Younis, “A survey on routing protocols forwireless sensor networks,” Ad Hoc Networks, vol. 3, no. 3, pp.325–349, 2005.

[17] J. N. Al-Karaki andA. E. Kamal, “Routing techniques inwirelesssensor networks: a survey,” IEEEWireless Communications, vol.11, no. 6, pp. 6–27, 2004.

[18] M. Radi, B. Dezfouli, K. A. Bakar, and M. Lee, “Multipathrouting in wireless sensor networks: survey and research chal-lenges,” Sensors, vol. 12, no. 1, pp. 650–685, 2012.

[19] S. Oh, D. Kim, H. Kang, and H.-J. Jeong, “SMSR: a scalablemultipath source routing protocol forwireless sensor networks,”in Ubiquitous Intelligence and Computing, vol. 5585 of LectureNotes in Computer Science, pp. 121–135, 2009.

Page 13: Research Article Agriculture Sensor-Cloud Infrastructure ...downloads.hindawi.com/journals/ijdsn/2014/437535.pdf · Research Article Agriculture Sensor-Cloud Infrastructure and Routing

International Journal of

AerospaceEngineeringHindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

RoboticsJournal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Active and Passive Electronic Components

Control Scienceand Engineering

Journal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

International Journal of

RotatingMachinery

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Hindawi Publishing Corporation http://www.hindawi.com

Journal ofEngineeringVolume 2014

Submit your manuscripts athttp://www.hindawi.com

VLSI Design

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Shock and Vibration

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Civil EngineeringAdvances in

Acoustics and VibrationAdvances in

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Electrical and Computer Engineering

Journal of

Advances inOptoElectronics

Hindawi Publishing Corporation http://www.hindawi.com

Volume 2014

The Scientific World JournalHindawi Publishing Corporation http://www.hindawi.com Volume 2014

SensorsJournal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Modelling & Simulation in EngineeringHindawi Publishing Corporation http://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Chemical EngineeringInternational Journal of Antennas and

Propagation

International Journal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Navigation and Observation

International Journal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

DistributedSensor Networks

International Journal of