Abstract
Nowadays, wireless sensor network (WSN) applications have been used in several important areas, such as healthcare, military, critical infrastructure monitoring, environment monitoring, and manufacturing. However, due to the limitations of WSNs in terms of memory, energy, computation, communication, and scalability, efficient management of the large number of WSNs data in these areas is an important issue to deal with. There is a need for a powerful and scalable high-performance computing and massive storage infrastructure for real-time processing and storing of the WSN data as well as analysis (online and offline) of the processed information under context using inherently complex models to extract events of interest. In this scenario, cloud computing is becoming a promising technology to provide a flexible stack of massive computing, storage, and software services in a scalable and virtualized manner at low cost. Therefore, in recent years, Sensor-Cloud infrastructure is becoming popular that can provide an open, flexible, and reconfigurable platform for several monitoring and controlling applications. In this paper, we present a comprehensive study of representative works on Sensor-Cloud infrastructure, which will provide general readers an overview of the Sensor-Cloud platform including its definition, architecture, and applications. The research challenges, existing solutions, and approaches as well as future research directions are also discussed in this paper.
1. Introduction
The advancement and application of wireless sensor networks become an invincible trend into the various industrial, environmental, and commercial fields. A typical sensor network may consist of a number of sensor nodes acting upon together to monitor a region and fetch data about the surroundings. A WSN contains spatially distributed self-regulated sensors that can cooperatively monitor the environmental conditions, like sound, temperature, pressure, motion, vibration, pollution, and so forth [1, 2]. Each node in a sensor network is loaded with a radio transceiver or some other wireless communication device, a small microcontroller, and an energy source most often cells/battery. The nodes of sensor network have cooperative capabilities, which are usually deployed in a random manner. These sensor nodes basically consist of three parts: sensing, processing, and communicating [3]. Some of the most common sensor devices deployed in sensor network as sensor nodes are camera sensor, accelerometer sensor, thermal sensor, microphone sensor, and so forth.
Currently, WSNs are being utilized in several areas like healthcare, defense such as military target tracking and surveillance [4, 5], government and environmental services like natural disaster relief [6], hazardous environment exploration, and seismic sensing [7], and so forth. These sensors may provide various useful data when they are closely attached to each of their respective applications and services directly [8]. However, sensor networks have to face many issues and challenges regarding their communications (like short communication range, security and privacy, reliability, mobility, etc.) and resources (like power considerations, storage capacity, processing capabilities, bandwidth availability, etc.). Besides, WSN has its own resource and design constraints. Design constraints are application specific and dependent on monitored environment. Based on the monitored environment, network size in WSN varies. For monitoring a small area, fewer nodes are required to form a network whereas the coverage of a very large area requires a huge number of sensor nodes. For monitoring large environment, there is limited communication between nodes due to obstructions into the environment, which in turn affects the overall network topology (or connectivity) [9]. All these limitations on sensor networks would probably impede the service performance and quality. In the midst of these issues, the emergence of cloud computing is seen as a remedy.
Cloud computing has been evolved as the future generation's computing paradigm. The US NIST (National Institute of Standards and Technology) defines the concept of Cloud computing as follows:
Cloud computing is a model for enabling convenient, on demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction [5].
Cloud computing allows the systems and users to use Platform as a Service (PaaS), for example, Operating Systems (OSs), Infrastructure as a Service (IaaS), for example, storages and servers, and Software as a Service (SaaS), for example, application level programs, and so forth at a very low cost which are being provided by several cloud providers (e.g., example Amazon, Google, and Microsoft) on the basis of pay per use services [10]. Cloud computing platform dynamically provisions, configures, and reconfigures the servers as and when needed by end users. These servers can be in the form of virtual machines or physical machines in the cloud. Cloud computing renders the two major trends in IT: (1) efficiency, which is achieved through the highly scalable hardware and software resources, and (2) agility, which is achieved through parallel batch processing, using computer-intensive business analytics and real-time mobile interactive applications that respond to user requirements [11]. The benefits of cloud computing are that the end users need not to worry about the exact location of servers and switch to their application by connecting to the server on cloud and start working without any hassle.
Sensor-Cloud infrastructure [12] has been evolved and proposed by several IT people in the present days. Sensor-Cloud infrastructure is the extended form of cloud computing to manage the sensors which are scattered throughout the network (WSN). Due to the increasing demand of sensor network applications and their support in cloud computing for a number of services, Sensor-Cloud service architecture is introduced as an integration of cloud computing into the WSN to innovate a number of other new services. When WSN is integrated with cloud computing environment, several shortfalls of WSN like storage capacity of the data collected on sensor nodes and processing of these data together would become much easier. Since cloud computing provides a vast storage capacity and processing capabilities, it enables collecting the huge amount of sensor data by linking the WSN and cloud through the gateways on both sides, that is, sensor gateway and cloud gateway. Sensor gateway collects information from the sensor nodes of WSN, compresses it, and transmits it back to the cloud gateway which in turn decompresses it and stores it in the cloud storage server, which is sufficiently large [13].
Sensor-Cloud can be used in many real-life applications like environmental monitoring, disaster monitoring, telemetric, agriculture, irrigation, healthcare, and so forth. As an illustration, we can use the Sensor-Cloud infrastructure for deploying health-related applications such as monitoring patients with cardiovascular disease, blood sugar followup, sleep activity pattern monitoring, diabetics monitoring, and so forth. In traditional approach, the trials of individual's data like level of blood sugar, weight, heart rate, pulse rate, and so forth are reported everyday through some telemedicine interface [14]. The patient's trial information is sent to a dedicated server and is stored there for doctors or caregivers to analyze it sometime later. This system suffers from a level of adversity when the patient randomly moves from its current location, that is, when a patient is “on the go.” Thus, a more progressive, rapid, and mobile approach is needed where the recorded data from several sensor nodes of a WSN can be processed in pipelined and parallel fashion, and thereby to make the system easier to scale and be cost-effective in terms of resources available. The pipeline processing of data sets or instructions enable the overlapped operations into a conceptual pipe with all the stages of pipes processing simultaneously but handling of the sensor data stream is not that straight forward and will be dependent on the nature of the algorithm [15]. The integration of Sensor-Cloud can serve as a remedy in this direction.
This paper presents a comprehensive survey on Sensor-Cloud. Section 2 of this paper provides a brief overview of this concept, including its definition, architecture, and its advantage. Section 3 discusses the service life cycle model and layered approach of Sensor-Cloud architecture. Section 4 provides the Sensor-Cloud service creation and renovation capabilities. Section 5 presents the multiservice provisioning on multiple platforms. Section 6 discusses the technical comparison of different approaches in sensor-cloud infrastructure. Next, Section 7 presents several issues that may arise in Sensor-Cloud and some approaches to address these issues. Finally, we summarize and conclude the survey in Section 8.
2. Overview and Related Works
Sensor-Cloud is a new paradigm for cloud computing that uses the physical sensors to accumulate its data and transmit all sensor data into a cloud computing infrastructure. Sensor-Cloud handles sensor data efficiently, which is used for many monitoring applications.
2.1. What is a Sensor-Cloud?
According to IntelliSys, Sensor-Cloud can be defined as follows:
An infrastructure that allows truly pervasive computation using sensors as an interface between physical and cyber worlds, the data-compute clusters as the cyber backbone and the internet as the communication medium [16, 17].
According to MicroStrains's Sensor-Cloud definition “it is a unique sensor data storage, visualization and remote management platform that leverage [sic] powerful cloud computing technologies to provide excellent data scalability, rapid visualization, and user programmable analysis. It is originally designed to support long-term deployments of MicroStrain wireless sensors, Sensor-Cloud now supports any web-connected third party device, sensor, or sensor network through a simple OpenData API” [18].
A Sensor-Cloud collects and processes information from several sensor networks, enables information sharing on big scale, and collaborates with the applications on cloud among users. It integrates several networks with a number of sensing applications and cloud computing platform by allowing applications to be cross-disciplinary that may span over multiple organizations [17]. Sensor-Cloud enables users to easily gather, access, process, visualize, analyze, store, share, and search for a large number of sensor data from several types of applications and by using the computational IT and storage resources of the cloud.
In a sensor network, the sensors are utilized by their specific application for a special purpose, and this application handles both the sensor data and the sensor itself such that other applications cannot use this. This makes wastage of valuable sensor resources that may be effectively utilized when integrating with other application's infrastructure. To realize this scenario, Sensor-Cloud infrastructure is used that enables the sensors to be utilized on an IT infrastructure by virtualizing the physical sensor on a cloud computing platform. These virtualized sensors on a cloud computing platform are dynamic in nature and hence facilitate automatic provisioning of its services as and when required by users [19]. Furthermore, users need not to worry about the physical locations of multiple physical sensors and the gapping between physical sensors; instead, they can supervise these virtual sensors using some standard functions [12].
Within the Sensor-Cloud infrastructure, to obtain QoS, the virtual sensors are monitored regularly so users can destroy their virtual sensors when they becomes meaningless [20]. A user interface is provisioned by this Sensor-Cloud infrastructure for administering, that is, for controlling or monitoring the virtual sensors, provisioning and destroying virtual sensors, registering and deleting of physical sensors, and for admitting the deleting users. For example, in a health monitoring environment, a patient may use a wearable computing system (that may include wearable accelerometer sensors, proximity sensors, temperature sensors, etc.) like Life Shirt [21] and Smart Shirt [22] or may use a handheld device loaded with sensors, and consequently the data captured by the sensors may be made accessible to the doctors. But out of these computing systems, active continuous monitoring is most demanding, and it involves the patient wearing monitoring devices to obtain pervasive coverage without being inputted or intervened [23]. However, the diverse monitoring scheme defers in their QoS requirements, which are as follows.
Patient-Centric Healthcare-QoS refers to monitoring delay and reliability of message delivery. Network-Centric Healthcare-QoS refers to a number of patients supported and message throughput. Healthcare professional-centric Healthcare-QoS refers to cognitive load of healthcare professionals and the number of correct medical decisions.
Sensor modeling language (SML) [24] can be used to represent any physical sensor's metadata like their type, accuracy, their physical location, and so forth. It also uses XML encoding for the measurement and description processes of physical sensors. This XML encoding for physical sensors enabled these to be implemented across several different hardware, platforms (OS), applications, and so forth with relatively less human intervention. To transliterate the commands coming from users to virtual sensors and in turn to the commands for their pertinent physical sensors, a mapping is done between the physical and virtual sensors.
2.2. Architecture of Sensor-Cloud
Cloud computing service framework delivers the services of shared network through which the users are benefited by the services, and they are not concerned with the implementation details of the services provided to them. When a user requests, the service instances (e.g., virtual sensors) generated by cloud computing services are automatically provisioned to them [12, 19].
Some previous studies on physical sensors focused on routing [25], clock synchronization [26], data processing [27], power management [28], OS [29], localization [30], and programming [31]. However, few studies concentrate on physical sensor management because these physical sensors are bound closely to their specific application as well as to its tangible users directly. However, users, other than their relevant sensor services, cannot use these physical sensors directly when needed. Therefore, these physical sensors should be supervised by some special sensor-management schemes. The Sensor-Cloud infrastructure would subsidize the sensor system management, which ensures that the data-management usability of sensor resources would be fairly improved.
There exists no application that can make use of every kind of physical sensors at all times; instead, each application required pertinent physical sensors for its fulfillment. To realize this concept, publish/subscription [32] mechanism is being employed for choosing the appropriate physical sensor [33]. In multiple sensor networks, every sensor network publishes its sensor data and metadata. The metadata comprises of the types, locations, and so forth for the physical sensors. Application either subscribes to one or maybe to more sensor networks to retrieve real-time data from the physical sensors by allowing each application to opt for the appropriate physical sensors' type. The Sensor-Cloud infrastructure procreates virtual sensors from multiple physical sensors, which can then be utilized by users. However, prior to availing the virtual sensor facility, users should probe first for the physical sensors' availability and might also inspect the physical sensors' faults to maintain the data quality emerging from these physical sensors. Also on every sensor node, application program senses the application and sends the sensor data back to the gateway in the cloud directly through the base station or in multihop manner through other nodes [5, 13].
Sensor-Cloud infrastructure provides service instances (virtual sensors) automatically to the end users as and when requested, in such a way that these virtual sensors are part of their IT resources (like disk storage, CPU, memory, etc.) [34]. These service instances and their associated appropriate sensor data can be used by the end users via a user interface through the web crawlers as described in Figure 1. However, for the service instance generation, the IT resources (like CPU, storage devices, etc.), sensor capable devices, and service templates (which is used to create virtual sensors) should be prepared first in Sensor-Cloud infrastructure. Users make the request for service instances according to their needs by selecting an appropriate service template of Sensor-Cloud, which will then provide the needed service instances freely and automatically because of cloud computing services integration. Once service instances become useless, they can then be deleted quickly by users to avoid the utilization charges for these resources. Sensor service provider will manage the service templates (ST) and it can add or delete the new service template when the required template is no longer needed by applications and services [12]. Automation of services played a vital role in provisioning of cloud computing services, and automation can cause the delivery time of services to be better [19]. Before the emergence of cloud computing, services were provided by human influence and the performance metrics like efficiency, flexibility, delivery times, and so forth would have experienced an adverse effect on the system. However, the cloud computing service model has reduced the cost expenses and delivery time and has also improved the efficiency and flexibility.

Brief overview of Sensor-Cloud architecture.
The physical sensors are ranked on a basis of their sensor readings as well as on their actual distance from an event. The authors of [35] proposed a technique (FIND) to locate physical sensors having data faults by assuming a mismatch between the distance rank and sensor data rank. However, the study led by FIND aims at the assessment of physical sensors faults, and there is a close relation between the virtual and physical sensors and hence a virtual sensor will provide incorrect results if their relevant physical sensors are faulty. It concludes that the virtual and physical sensors cooperate while delivering the sensor data report to its applications, and to maintain the best report both the virtual and physical sensors should be faultless.
Since the cloud computing enables the physical sensors to be virtualized, the users of the Sensor-Cloud infrastructure need not to worry about the status of their connected physical sensors (i.e., whether a fault free or not). However, they should concern only with the status of their virtual sensors provided only when the users are not concerned with the accurate results. To achieve accurate results, users must be concerned about the status of physical sensors too. In a Sensor-Cloud infrastructure, sensors owners are free to register or unregister their physical sensors and can join this infrastructure. These IT resources (physical sensors, database servers, processors, etc.) and sensor devices are then prepared to become operational. After that, templates are created for generating the service instances (virtual sensors) and its groups (virtual sensors). Once templates are prepared, the virtual sensors are able to share the related and contiguous physical sensors to receive quality sensor data. Users then request these virtual sensors by choosing the appropriate service templates, use their service instances (virtual sensors) after being provisioned, and discharge them when became useless [12].
2.3. Advantages of Sensor-Cloud
Cloud computing is very encouraging solution for Sensor-Cloud infrastructure due to several reasons like the agility, reliability, portability, real-time, flexibility, and so forth. Structural health and environment-based monitoring contains highly sensitive data and applications of these types cannot be handled by normal data tools available in terms of data scalability, performance, programmability, or accessibility. So a better infrastructure is needed that may contain tools to cope with these highly sensitive applications in real time. In the following, we describe the several advantages and benefits of Sensor-Cloud infrastructure that may be the cause of its glory, and these are as follows.
Analysis. The integration of huge accumulated sensor data from several sensor networks and the cloud computing model make it attractive for various kinds of analyses required by users through provisioning of the scalable processing power [34]. Scalability. Sensor-Cloud enables the earlier sensor networks to scale on very large size because of the large routing architecture of cloud [16]. It means that as the need for resources increases, organizations can scale or add the extra services from cloud computing vendors without having to invest heavily for these additional hardware resources [36]. Collaboration. Sensor-Cloud enables the huge sensor data to be shared by different groups of consumers through collaboration of various physical sensor networks [16]. It eases the collaboration among several users and applications for huge data sharing on the cloud. Visualization. Sensor-Cloud platform provide a visualization API to be used for representing the diagrams with the stored and retrieved sensor data from several device assets. Through the visualization tools, users can predict the possible future trends that have to be incurred [37]. Free Provisioning of Increased Data storage and Processing Power. It provides free data storage and organizations may put their data rather than putting onto private computer systems without hassle. It provides enormous processing facility and storage resources to handle data of large-scale applications [16, 38]. Dynamic Provisioning of Services. Users of Sensor-Cloud can access their relevant information from wherever they want and whenever they need rather than being stick to their desks [38]. Multitenancy. The number of services from several service providers can be integrated easily through cloud and Internet for numerous service innovations to meet user's demand [17]. Sensor-Cloud allows the accessibility to several numbers of data centers placed anywhere on the network world [36]. Automation. Automation played a vital role in provisioning of Sensor-Cloud computing services. Automation of services improved the delivery time to a great extent [19]. Flexibility. Sensor-Cloud provides more flexibility to its users than the past computing methods. It provides flexibility to use random applications in any number of times and allows sharing of sensor resources under flexible usage environment [16]. Agility of Services. Sensor-Cloud provides agile services and the users can provision the expensive technological infrastructure resources with less cost [37]. The integration of wireless sensor networks with cloud allows the high-speed processing of data using immense processing capability of cloud. Resource Optimization. Sensor-Cloud infrastructure enables the resource optimization by allowing the sharing of resources for several number of applications [37]. The integration of sensors with cloud enables gradual reduction of resource cost and achieves higher gains of services. With Sensor-Cloud, both the small and midsized organizations can benefit from an enormous resource infrastructure without having to involve and administer it directly [36]. Quick Response Time. The integration of WSN's with cloud provides a very quick response to the user, that is, in real-time due to the large routing architecture of cloud [39]. The quick response time of data feeds from several sensor networks or devices allows users to make critical decisions in near real time.
3. Sensor-Cloud Service Life-Cycle Model and Its Layered Structure
The service life-cycle model and the layered structure of Sensor-Cloud infrastructures are illustrated in the following.
3.1. Service Life Cycle Model of Sensor-Cloud
Before creating the service instances within Sensor-Cloud infrastructure, preparation phase [12] is needed, and this includes the following.
Preparing the IT resources (processors, storage, disk, memory etc.). Preparing the physical sensor devices. Preparing the service templates.
Figure 2 depicts the Sensor-Cloud service life cycle. The users of the sensors can select the appropriate service template and request the required service instances. These service instances are provided automatically and freely to the users, which can then be deleted quickly when they become useless. From a single service template, multiple numbers of service instances can be created. Service provider regulates the service templates and can add new service templates as and when required by a different number of users [8].

Demonstration of Sensor-Cloud life cycle development phases.
3.2. Layered Structure of Sensor-Cloud
Figure 3 depicts the layered architecture of the Sensor-Cloud platform, which is divided mainly into three layers:
user and application layers, Sensor-Cloud and virtualization layers, template creation and tangible sensors layers [8].

Layered structure of Sensor-Cloud model.
Layer 1. This layer deals with the users and their relevant applications. Several users want to access the valuable sensor data from different OS platforms, such as mobile phones OS, Windows OS, or Mac OS for a variety of applications. This structure allows users of different platforms to access and utilize the sensor data without facing any problem because of the high availability of cloud infrastructure and storage.
Layer 2. This layer deals with virtualization of the physical sensors and resources in the cloud. The virtualization enables the provisioning of cloud-based sensor services and other IT resources remotely to the end-user without being worried about the sensors exact locations. The virtualized sensors are created by using the service templates automatically. Service templates are prepared by the service providers as service catalog, and this catalog enables the creation of service instances automatically that are accessed by multiple users [8, 19].
Layer 3. This is the last layer which deals with the service template creation and service catalog definition layers in forming catalog menu. Physical sensors are located and retrieved from this layer. Since each physical sensor has its own control and data collection mechanism, standard mechanisms are defined and used to access sensors without concerning the differences among various physical sensors [12]. Standard functions are defined to access the virtual sensors by the users. In Layer 2, Sensor-Cloud infrastructure translates standard functions of virtual sensors into some specific functions for diverse physical sensors in Layer 3. Physical sensors are XML encoded that enable the services provided through these sensors to be utilized on various platforms without being worried to convert them onto several platforms [8].
Sensor-Cloud provides a web-based aggregation platform for sensor data that is flexible enough to help in developing user-based applications. It allows users quick development and deployment of data processing applications and gives programming language flexibility in accordance to their needs [18].
4. Service Creation and Innovation Capabilities
Sensors are very limited and specific to their applications or services when they are linked to a typical sensor network. Therefore, the numbers of organizations that can provide the sensor services are very limited. However, when the services of sensors move onto the cloud, it is possible to include them to realize a variety of applications [8, 12]. A number of services can be provided to the users for different applications such as health applications, environmental monitoring, industrial tasks (e.g., refining), surveillance, senior residents monitoring, or even the applications that monitor the vibration in buildings during an earthquake.
In the Sensor-Cloud infrastructure, the sensors and service templates are constructed as catalog menu service on the cloud, and the requesters can create new sensor services with the existing sensors in these service instances. For example, service requester can create a sensor service to analyze the impact of earthquake to each floor or room of the rehabilitation center or hospital, and at the same time it can also create sensor services to support older residents with the same set of sensors (virtualized sensors). This service will then help the caregiver to shift the older adults one by one into a safe place. Using the identical sensor services for healthcare, another service requester can create dissimilar sensor service to track the patient's medicine intake and then to analyze the effectiveness of pills through the use of some selected healthcare sensors. Thus, the service requesters can be provided with new services using the same set of sensors on cloud service platforms. This will reduce the cost for resource usage and could have numerous elastic merits to it. In this section, several existing Sensor-Cloud applications are described.
4.1. Existing Sensor-Cloud Applications
There exist a number of services based on Sensor-Cloud infrastructure to store and process the sensor-based information. Few of them are described briefly as below.
4.1.1. Nimbits
Nimbit [40] is a free and social service that is used to record and share sensor data on cloud. It is a cloud-based data processing service and is an open-source platform for the IoT (Internet of Things). We can feed the versatile numeric, text-based, JSON, GPS, or XML values by creating a data point in the cloud. The data points can be connected to Scalable Vector Graphic (SVG) process control, spreadsheets, diagrams, websites, and more. Data points can also be configured to generate alerts data-relay to social networks and to perform calculations. Nimbits also provide an alert management mechanism, data compression mechanism, and data calculation on received sensor data by employing some simple mathematical formulas.
4.1.2. Pachube Platform
Pachube [41] is one of the first online database service providers, which allows us to connect sensor data to the web. It is a real-time cloud-based platform for IoT with a scalable infrastructure that enables us to configure IoT products and services, store, share, and discover real-time energy, environment, and healthcare sensor data from devices and buildings around us. Pachube has a very interactive website for managing the sensor data and an open easily-accessible API. Pachube system provides free usage and has several numbers of interfaces for producing a sensor or mobile-based applications for managing the sensor data within a cloud framework anytime.
4.1.3. IDigi
iDigi [42] is a machine-to-machine (M2M) platform as a service PaaS that minimizes the barriers to build scalable, secure, and cost-effective solutions, which can bind the enterprise applications and device assets together. iDigi eases the connectivity of remote assets devices and provides all the tools to manage, store, connect, and move the information across the enterprise irrespective of its reache. To simplify the remote device connectivity and integration, it uses connector software called iDigi Dia. Regardless of the network location, iDigi platform manages communication between remote device assets and enterprise applications.
4.1.4. ThingSpeak
ThingSpeak [43] is another open source IoT application and has an open API to store and retrieve data from device assets or things via LAN or using HTTP over the Internet. With this platform, location tracking applications, sensor logging applications, and social network of device assets with proper update of its status can be created. ThingSpeak allows numeric data processing like averaging, time-scaling, rounding, median, summing, and so forth to store and retrieve the numeric and alphanumeric data. ThingSpeak application features a JavaScript-based charts, read/write API key management, and a time-zone management.
Although the above services are able to visualize the sensor data and sensor-driven information, they are lacking secure access to data and interface availability for linking the external or mobile applications for further processing. It means that most of these aforementioned projects do not address the issues of data management and interoperability issues caused by heterogeneous data resources found in the present modern environmental tracking or electronic healthcare systems. But introducing these aforementioned works with Cloud computing infrastructure may overcome the issues related to heterogeneous data access and data management functionality [37].
4.2. Emerging Sensor-Cloud Applications
There are many other applications that are emerging based on the Sensor-Cloud infrastructure, which can be summarized as follows.
4.2.1. Ubiquitous Healthcare Monitoring
Sensor-Clouds can be used for health monitoring by using a number of easily available and most often wearable sensors like accelerometer sensors, proximity, ambient light and temperature sensors, and so forth to collect patient's health-related data for tracking sleep activity pattern, blood sugar, body temperature, and other respiratory conditions [44]. These wearable sensor devices must have support of BWI (Bluetooth's wireless interface), UWB (Ultra wideband), and so forth interface for streaming of data and are connected wirelessly to any smartphone through this interface. These smart phone devices pretend to function like a gateway between the remote server and sensor through the Internet, maybe GPRS/Wi-Fi, or other sort of gateways.
To transform this system into services-based structure, web-services-based interfaces are used by smart phone device to connect to the server [45]. The system prototype should have made to be robust, mobile, and scalable. Robust in the sense means that it should recover itself from circumstances, which may lack connectivity issues due to power (i.e., battery), failure, or gateway cutoff to patient's wearable devices [46]. Mobile in the sense means that it should be capable of tracking signals into heterogeneous environments; that is, it must catch the signals irrespective of whether the patient went outside or still resided into the hospital/building. It should be scalable so that it could be deployed easily for several users concurrently without affecting the performance metrics.
Finally, such prototype system should be retargetable and extensible in nature. Retargetable refers to the fact that it can handle various displays with distinct form factors and screen resolution. It means that the same health applications can be displayed to any smartphone display like PDA (personal digital assistant) or to a bigger console device in a hospital where doctors, helpers, or nurses may track the acquired data or processed information from distance. The extensibility aspect requires that if any newer sensing devices are introduced into the system for acquiring the patient's health-based information, the system should function efficiently and conveniently without affecting backend server of the services [47]. In this platform, context awareness can be achieved that can direct us to derive a better level of emergency services to the patient [20]. The information regarding recent operational laboratories, missing doses of pills, number of handicaps, and other situations would be helpful in health monitoring. The system should not adhere to any changes made into the operating system or intermediate components of sensing devices and is designed in such a way that it would cause minimal disturbance to services provided to existing end users of the system [15]. The whole scenario for monitoring the healthcare department sensors is shown in Figure 4.

Sensor-Cloud implementation in healthcare.
In this scenario, several numbers of sensors pick up the patient data, and these accumulated data are uploaded to a server on cloud. If any noise data is found, they are filtered using some filtering mechanism on a server. The doctors/health employees, nurses, and others can then access the patients' data on cloud through a web service portal after being authenticated/permitted by the patient.
4.2.2. Environmental Monitoring for Emergency/Disaster Detection
In environmental applications, it is possible to detect the earthquake and volcano explosion before its eruption by continuously monitoring them through the use of several numbers of different sensors like strain, temperature, light, image, sound, acceleration, barometer sensors, and so forth through the use of wireless sensor networks [48]. Through the Sensor-Cloud infrastructure, the sensor instances engaged in environmental monitoring can be used in parallel with several other sensor instances, for example, by the healthcare department to avoid any future casualty, or with crop harvesting application services to avoid the damage caused by bad weather condition.
4.2.3. Telematics
Sensor-Clouds can be used for telematics, meant to deploy the long distance transmission of our computerized or information to a system in continuum. It enables the smooth communication between system and devices without any intervention [17].
4.2.4. Google Health
It is a centralization service of Google that provides personal health information [49] and serves as cloud health data storages. Google users are allowed to monitor their health records by logging into their accounts at collaborated cloud health service providers into the Google health system. However, in a recent declaration Google has announced the discontinuation of this health service.
4.2.5. Microsoft HealthVault
This cloud platform is developed by Microsoft to store and maintain health and fitness-related information [50]. HealthVault helps users to store, gather, and share their health relevant information and its data can be acquired from several pharmacies, cloud providers, health employees, health labs, equipment, and from the users itself.
4.2.6. Agriculture and Irrigation Control (Field Server Sensors)
Sensor-Cloud can be used in the field of agriculture to monitor the crop fields in order to upkeep it. For this, a field server is developed that comprises of a camera sensors, air sensor, temperature sensor,
4.2.7. Earth Observation
A sensor grid is developed for data gathering from several GPS stations, to process, analyze, manage, and visualize the GPS data [52]. This GPS data would then be uploaded onto the cloud for efficient monitoring, early warning, and decision-making capability for critical situations like the volcanic eruptions, earthquakes, tsunamis, cyclones, and so forth to the users all around the world.
4.2.8. Transportation and Vehicular Traffic Applications
Sensor-Cloud can be used to provide an efficient, stable, equilibrium, and sustainable tracking system. Earlier existing technologies like GPS navigation can only track the status and current location of vehicle. On the other hand, when vehicle monitoring is implemented using cloud computing, it is possible to incorporate centralized web service, GPS and GSM enabled devices, and embedded device with sensors [36], which will provide the following benefits:
to identify the current name of the location, to predict the time of arrival, to find status of driver via alcohol breath sensor, to find the total distance covered, to track the level of fuel.
All the data fetched are stored onto some centralized server that will be resided into the cloud. The vehicle owner can access this data on cloud via web portal and can retrieve all data on cloud in real time to visualize the vehicle information.
4.2.9. Tunnel Monitoring
WSN can be used to implement the distributed sensing of light levels inside the tunnel and under-bridges to provide necessary input information for adapting light functionality. This tunnel information can be put onto the cloud and is used to monitor the light intensity in real time to avoid the automobile users (drivers) casualty and to save the energy spent unnecessarily for lightening throughout the day [53].
4.2.10. Wildlife Monitoring
Sensor-Cloud can also be used for tracking the wildlife sanctuaries, forests, and so forth to regularly monitor the endangered species in real time.
5. Multiservice Provisioning on Multiple Platforms
Integrating the WSN into heterogeneous networks is a typical task. The reason behind this is the absence of standardized data exchange functions, which may support the participating subnetworks of heterogeneous network. Using XML in sensor networks encourages the interchangeability of different types of sensors and systems. The lower part of Figure 5 deals with the XML [24] encoded physical sensors. The XML encoding defines some set of rules for these physical sensors such that it will be both human readable and machine readable with less intervention and will enable these to be implemented on several numbers of different platforms. XML enables documents to give physical sensor's metadata, that is, the type of the physical sensors, its specifications, the accuracy or intensity of these physical sensors, the exact location, and so forth. But sensor nodes have limited storage and power constraints, and conflict may occur while using the XML encoding. For this reason, the XML support should be based on efficient data binding techniques to preserve the time, space, and energy by minimizing the XML overhead [34]. This whole scenario can be depicted by Figure 5.

XML encoded physical sensors into the Sensor-Cloud.
The author in [54] has proposed to access the sensor information by using the Web Service Description Language (WSDL) and structure data, so that the multiple applications may access sensor information. But the key issue in using the web services on sensor nodes is energy and bandwidth overhead of structured data formats used in the web services [34]. In heterogeneous sensor networks, integration is a complex task because there is an absence of standardized data exchange format between the heterogeneous systems and networks. XML has evolved to overcome this insufficiency by providing a standard data exchange format between heterogeneous network and systems. Because of the limited hardware resources within sensor networks, XML usage was not fully introduced earlier. But now XML usage in sensor networks is made applicable by introducing the XML template objects in an optimized manner [55]. XML is basically a key feature towards the service-oriented sensor networks and a proper medium to support complex data management and heterogeneous sensor networks.
To enable the applications to communicate with each other and to provide remote access to the services offered by Sensor-Cloud platform, web services are introduced [37]. Web services mainly refers to access the services over Internet connection. It has WSDL (Web Service Description Language) definitions, which describe what the web service can do, how a web service can be used by client applications, and where the web service is located. SOAP messages are used to communicate with web services, and these SOAP messages are XML based that are transported over the Internet protocols like SMTP, FTP, and HTTP.
6. Comparison of Different Approaches in Sensor-Cloud Infrastructure
In this section, we first present the advantages and disadvantages of Sensor-Cloud infrastructure in terms of agility, reliability, portability, real-time, and flexibility. Next, we provide a technical comparison of different messaging approaches and algorithms used in several existing research on Sensor-Cloud.
Pros of Sensor-Cloud Infrastructure:
Service requesters or end users can control the service instances freely [12]. End users can inspect the status of their relevant virtual sensors. Service requesters can use the virtual sensors without worrying about the implementations detail [12]. The client/users need not to worry about the exact locations and detailed description of their sensors [45]. The service instances are automatically provisioned whenever a request is made [19]. The IT resources and sensors are released as and when the required job is over, which means that users can delete them when they become nonuseful. Usage of physical sensors can be tracked by the sensor owner. Sensor data are available all the time for a number of various applications until the connection is provided [12]. The Sensor-Cloud architecture provides an extensible, open, interoperable, and intelligent sensor network for service provisioning in health care [56]. The cost of IT resources and WSN infrastructure is reduced when integrating with Internet/Cloud [57]. End users can also create the sensors group dynamically in the form of virtual-sensor groups to innovate the new services [12].
Besides these advantages, the Sensor-Cloud infrastructure also has some drawbacks and these are as follow.
Cons of Sensor-Cloud Infrastructure:
The IT resources and physical sensors should be prepared prior to operation of the Sensor-Cloud infrastructure [8]. The Sensor-Cloud infrastructure will not provide much accurate data as in the case of direct sharing of physical sensors data [12]. Sensor-Cloud infrastructure is vulnerable and more prone to sophisticated distributed intrusion attacks like DDOS (distribute denial of service) and XSS (cross-site scripting) [58]. A continuous data connectivity is needed between end users and Sensor-Cloud server [15].
Because of continuous processing and wireless transmission, power is another factor that has to be dealt with carefully in CSI [45].
We now highlight the differences among the existing works on Sensor-Cloud in terms of message passing protocols, data caching, QoS routing, processing, event matching, and other algorithms, as shown in Table 1.
Technical comparison of different messaging approaches and algorithms being used in several papers of Sensor-Cloud.
SPWS: sensor profile for web services.
SGIM: statistical group index matching.
SPMC: stream monitoring and processing component.
7. Issues and Challenges While Designing Sensor-Cloud Infrastructure in Several Applications
There are several issues like designing, engineering, reliable connection, continuous data flow, power issues, and so forth that need to be handled while proposing Sensor-Cloud infrastructure for health care and other different applications [68]. Some of the main issues are as follows.
7.1. Design Issues
There are several issues while designing the system in real scenario like nursing home, health care, hospitals, and so forth, which require fault-tolerant and reliable continuous transfer of data from sensor devices to the server. For example, in a private health care, the patient may be out of coverage area from the smart-phone gateway because of patients coming in and out frequently. This scenario would be more prone to connection failure between the server and smart phone (or any other display device, like PDA) and thus this scenario must be considered while designing such system in order to avoid accumulation of errors [15, 69].
7.2. Storage Issues
Some engineering issues like storage of data at server side and transferring data from phone to server must have to be considered. To tackle this, timestamps are sent with each data packet to assist in reconstruction of data on the server side. Most of the data processing is done at server end so the system must be designed to avoid the bursty processing due to multiple users connected simultaneously to the system. The system must be designed to accommodate multiple users to connect at the same time [15].
Storage issues can be tackled with the introduction of predictive storage concept proposed by the authors in [70]. This concept of storage keeps it easily fit to the correlated behavior of the physical environment and builds an architecture that focuses the sensor data archival at some remote sensors of Sensor-Cloud infrastructure. It also uses predictive caching at proxies.
7.3. Authorization Issues
A web-based user interface is used for doctors, patients, helpers, care-givers, and so forth to inspect and analyze the patients' health-related results remotely. Therefore, the system should offer different authorization roles for different types of users and authenticated via this web interface. This will enable the privacy to some extent by allowing the care givers to restrict them to the patients that he/she will take care of.
7.4. Power (Battery) Issues
While using smart phone as a gateway, power (battery) is the main issue that has to be taken care of because the continuous processing and wireless transmission would drain out the mobile battery within few hours or days. Thus, it is important to tackle power issues while connecting mobile phone gateway with the Sensor-Cloud infrastructure [45].
7.5. Event Processing and Management
Sensor-Cloud has to cope with very complex event processing and management issues [16, 17], such as the following.
How the events have to be synchronized that may come from different sources in different time because of delays in network? How the event processing rules have to be changed without affecting the system? How the messages and events of varying types are supported? How to support the enormous numbers of events and its conditions in an optimal way? How can we recognize the context (i.e., spatial, temporal, semantic) to its relevant situation detection?
7.6. Service Level Agreement (SLA) Violation
Consumers dependency on cloud providers for their applications' computing needs (i.e. their processing, storage, and analysis of enormous sensor data) on demand may require a specific Quality of Service (QoS) to be maintained. But if cloud providers are unable to provide QoS on user's demand even in the case of processing huge sensor data in critical environmental situations, it would result in SLA violation and cloud provider must be responsible for that. So, we need a reliable dynamic collaboration among cloud providers. But opting for the best combination of cloud providers in dynamic collaboration is a big challenge in terms of cost, time, and discrepancy between providers and QoS [38].
7.7. Need for Efficient Information Dissemination
In Sensor-Cloud an efficient information dissemination mechanism is needed that can match the published events or sensor data to appropriate user's applications. But there are some issues like maintaining flexibility in providing a powerful subscription schema, which may capture information about events, guaranteeing the scalability with respect to a number of subscribers and published events or sensor data [38]. Since the data sets and their relevant access services are distributed geographically, the allocation of data storage and dissemination becomes critical challenges.
7.8. Security and Privacy Support Issues
There are fewer standards available to ensure the integrity of the data in response to change due to authorized transactions. The consumers need to know whether his/her data at cloud center is well encrypted or who supervises the encryption/decryption keys (i.e., the cloud vendor or customer himself). Private health data may become public due to fallacy or inaccuracy; that is, consumer's privacy may be lost into cloud and sensor data or information uploaded into clouds may not be supervised correctly by user. The US WellPoint disclosed that 130,000 records of its consumers had leaked out and become available publicly over the Internet. So better privacy policies are the demand of the time that can offer the services themselves while maintaining the privacy [37, 38].
7.9. Real-Time Multimedia Content Processing and Massive Scaling
Usage of large amount of multimedia data and information in real time and its mining is a big challenge in the integration of heterogeneous and massive data sources with cloud. To classify this real-time multimedia information and contents such that it may trigger the relevant services and assist the user in his current location is also a big challenge to be handled [16].
7.10. Collective Intelligence Harvesting
The heterogeneous real-time sensor data feed enhances the decision-making capability by using the appropriate data and decision level fusion mechanisms. But maximization of intelligence developed from the massively collocated information in cloud is still a very big challenge [16].
7.11. Energy Efficiency Issues
The basic disadvantages of a WSN and cloud computing are almost the same, and energy efficiency of sensor nodes is lost due to the limited storage and processing capacity of nodes. The authors of [37] have proposed a system for health monitoring using the textile sensors, which work much better and give more accurate results. These textile sensors can be easily sewed and are even washable. Although the proposed system of textile sensors is performing well in the majority of aspects, the battery can last only 24 hours after continuous monitoring and data transmitting regarding user's heartbeat rate, movement, respiratory conditions, and so forth. The gathered accumulated data can then be visualized in charts using some web applications and the results are received at user end through an alert message remotely on user's smartphone. But in order to extend system independency, energy efficiency of such systems (textile sensors and microcontroller based) is a primary issue that has to be handled.
Data caching mechanism [71] can be used to reuse bygone sensor data for applications that are tolerant to time, for example, an application related to variant room temperature. If this bygone sensor data is used to satisfy the various requests for a common sensor data, the energy consumption will be reduced [11]. Still more work is needed to overcome the energy consumption.
To improve the energy efficiency and memory usage in a Sensor-Cloud infrastructure, there should be a middleware which can tackle the adverse situation in case of continuous and long-duration monitoring of data. This can be done through the gateway that is acting as a middleware and collects the huge sensor data from sensor nodes [13]. This middleware should be able to compress the sensor data to avoid the transmission load and then transmits it back to the gateway acting as a middleware on cloud side which in turn decompresses and stores it there. When the transmission overload reduces, the energy consumption of sensor nodes improves automatically due to less processing.
7.12. Bandwidth Limitation
Bandwidth limitation is one of the current big challenges that has to be handled in Sensor-Cloud system when the number of sensor devices and their cloud users increases dramatically [71]. However, there are a number of optimal and efficient bandwidth allocation methods proposed, but to manage the bandwidth allocation with such a gigantic infrastructure consisting of huge device assets and cloud users, the task of allocating bandwidth to every devices and users becomes very difficult.
7.13. Network Access Management
There are various numbers of networks to deal with in Sensor-Cloud architecture applications. So a proper and efficient access management scheme for these networks is needed because this will optimize the bandwidth usage and improve link performance [72].
7.14. Pricing Issues
Access to the services of Sensor-Cloud involves both the sensor-service provider (SSP) and cloud-service provider (CSP). However, both SSPs and CSPs have different customer's management, services management, and modes and methods of payments and pricing. So all this together will lead to a number of issues [10] such as
how to set the price? how the payment is to be made? how the price is be distributed among different entities?
The growing demand for controlling and monitoring the environment and its applications results in the growth of a large number of devices while the cost of deployment and connecting them to heterogeneous network continues to drop. However, the interfaces, protocols, connections, and so forth increase at exponential rate, thereby making it difficult and expensive for information technology (IT) people to integrate the devices (sensor devices) into the cloud world. To eradicate the complexity and cost associated with integrating the sensors into cloud or any highly distributed system, the authors of [34] proposed emerging and existing standards from both domains, for example, embedded sensor and IT domains within a service-oriented sensor architecture (SOSA).
The authors in [34] extend the service oriented paradigm to a sensor network and use the service oriented process parameter (like profiling sensors for web services), which helps in intelligence integration into the Internet. This solution when extended to Sensor-Cloud would result in high availability and reliability. It was found that the energy consumption of sensor nodes reduced drastically when the data exchange is done among sensors into a heterogeneous network with gateway through the SPWS (sensor profiles for web services) as compared to traditional SOAP messages. It has been observed also that the cost of memory usage in sensor nodes remains constant with SPWS whereas it is increased with SOAP messages.
The entity which is most responsible for the cost of Sensor-Cloud service model is the message exchanged among sensors into a heterogeneous network environment. Using SPWS, power consumption of sensor nodes as well as the memory usages in sensor nodes are reduced drastically. In the Sensor-Cloud infrastructure, the cost of communication among sensors is more than the processing cost. Hence the reduction in power consumption and memory usage leads to less communication cost which also enables an energy efficient model of Sensor-Cloud.
7.15. Interface Standardization Issues
Web interfaces currently provide the interface among Sensor-Cloud users (may be smartphone users) and cloud. But web interface may cause overhead because the web interfaces are not specifically designed for smart phones or mobile devices. Also, there would be compatibility issues for web interface among devices and in this case signaling, standard protocol, and interface for interacting between Sensor-Cloud users and the cloud would require seamless services for implementation. Thus, interoperability would be a big issue when the Sensor-Cloud users need to access the services with cloud [10].
7.16. Maintenance Issues
In order to keep the end users' loyalty, the cloud should cope with the service failure [73]. For this a regular maintenance is needed and redundancy techniques should be implemented to ensure the smooth and continuous flow of services. This can be done by backing up the data regularly and by distributing their multiple data centers geographically across the world.
7.17. Resource and Hardware Compatibility Issues
Hardware compatibility as well as software compatibility both can be solved in cloud computing environment by allowing the sharing of hardware or software resources or services [5], but there may be the case when sensor or some other resources being used are lost due to some calamity or severe weather condition. To handle these issues, the authors in [70] have proposed PRESTO architecture that enables users/clients to view the data in a single logical view which is distributed across several sensor proxies and remote sensors. This enables the users to view variability at several lossy levels and unreliable remote sensor network resources. The PRESTO also supports archival queries on data resources that enable the historical data query to prevent any unusual events to better understand them for future application scenarios.
8. Conclusion
In this paper, we surveyed the use of Sensor-Cloud architecture in the context of several applications. The Sensor-Cloud architecture enables the sensor data to be categorized, stored, and processed in such a way that it becomes cost-effective, timely available, and easily accessible. Earlier, most WSN systems which were included to several controlling/monitoring schemes were closed in nature, zero, or less interoperability, specific application oriented, and nonextensible. However, integrating the existing sensors with cloud will enable an open, extensible, scalable, interoperable, and easy to use, re-constructible network of sensors for numerous applications. In this paper, we have discussed the opportunities of implementing the technology to handle more complex situations of a real world through the service innovation capability of Sensor-Cloud infrastructure.
Footnotes
Acknowledgment
The authors extend their appreciation to the Deanship of Scientific Research at King Saud University for funding this work through the research group project no. RGP-VPP-049.
