Using Machine Learning Methods to Provision Virtual Sensors in Sensor-Cloud
Abstract
:1. Introduction
- (1)
- We propose an energy-efficient virtual sensor provisioning scheme based on the similarity of sensing data. Differently from the spatial similarity based scheme, the physical sensors in our scheme with the highest correlation of measurement values can be divided into one cluster, even though they are far from each other in geographical areas.
- (2)
- To ensure the accuracy of results, we first use the linear regression model to classify all the physical sensors into several classes according to the historical data, then exploit the k-means clustering algorithm to optimize the selection. As a result, we use fewer physical sensors to provide a higher quality of service.
- (3)
- In addition to paying attention to the changing trends of physical sensors, we also consider the number of sensory parameters. The sensors chose in our schemes can sense two kind parameters that differ from the scheme using single parameter sensors.
2. Related Works
3. System Model
- (1)
- The user layer: The user layer is responsible for providing standard interfaces and various application services, which can be applied for users with different operating systems (e.g., Windows, Linux or Android). They are mainly two kinds of users: farmers and device owners. Farmers can request all the applications according to their demands. Device owners are the providers of the infrastructural, they should provide all the information about the sensors when registering on the platform.
- (2)
- The middleware layer: The middleware layer acts as an intermediary between the user layer and the physical layer, which is responsible for agricultural data analysis, storage, and virtual sensor provisioning. Leveraging the benefits of cloud computing, the sensing data can be processed efficiently. Users can obtain these data from the corresponding services. Each service may consist of multiple virtual sensors, and each virtual sensor may belong to multiple services.
- (3)
- The physical layer: The physical layer contains various physical sensors and agricultural devices, which are applied for data communication and implementing the users’ strategies, respectively. In this layer, each physical sensor transmits its information (e.g., position, type, and values) to the corresponding sink through the ZigBee network, which is assumed to be star topology here for simplicity description [8]. Then, the sink will act as relay nodes and forward the collected data to the cloud platform using 4G [29] or 5G [30] networks.
Problem Definition
- (1)
- The physical sensor: A physical sensor (P) is the basic resource unit to create virtual sensors. They are deployed by sensor owners to monitor the specific environment parameters. The sensor owners should provide the information (e.g., identifier, position, and type) of each physical sensor when registering in the portal of sensor-cloud platform. Moreover, the position of physical sensors is usually fixed. For each physical sensor (), it can be defined as a tuple with the following parameters:
- (2)
- The virtual sensor: The virtual sensor (V) can be regarded as a data provider in sensor-cloud and obtains its data from the underlying physical sensors. It can have a data processing program to process the sensing data in response to the user’s service requests. Similarly, for each , it can be defined as:
- (3)
- Service: The sensor-cloud platform provides various services (S) (e.g., irrigation, weather, or GPS service) for users. They can log in to the website via the browser or mobile device and choose the services according to their demands. A service () may be supported by multiple virtual sensors. For instance, an irrigation service may contain the following virtual sensor services: soil moisture, air humidity, and temperature. Here, can be denoted as:
- (4)
- Virtual sensor provisioning: After receiving the user’s service request, the middleware will retrieve the catalog of physical sensors in the service area. Then, all the related physical sensors send their sensing data to the sensor-cloud platform via the sink node. The middleware will combine these fresh data with the historical data stored in the storage server, grouping these physical sensors into several clusters according to the measurement similarity. Thus, for , , , if and belong to the same cluster, then there is:For each cluster, only one representative physical sensor is selected to activate. The residual physical sensors will switch to dormant to save energy. As a result, all the representative nodes create a virtual sensor in response to the user’s request. This process is called virtual sensor provisioning.Problem definition: For a given substrate physical sensor set (P). The task of virtual sensor provisioning is to find the optimal subset to create a virtual sensor () in response to the user’s request. In this paper, we implement the virtual sensor provisioning as a clustering problem. The object is to select the representative physical sensor from each cluster. Finally, achieving a decrease in energy consumption and redundant data, meanwhile, improving the service quality.
4. Proposed Virtual Sensors Provisioning Scheme
4.1. Model
4.2. Strategy
4.3. Algorithm
Algorithm 1 Virtual sensor provisioning algorithm. |
Input: Sample set X
|
4.4. Computational Complexity
- (1)
- Select k samples as the initial centroids, ;
- (2)
- Calculate the distance between sample and . Then divide into the cluster corresponding to the centroid with the smallest distance;
- (3)
- For each new cluster (), calculate the new centroid ;
- (4)
- Repeat the above two steps until the centroids do not move significantly.
5. Performance Evaluation
5.1. Simulation Settings
5.2. Performance Metrics
- (1)
- Energy consumption: We exploit the average energy consumption of the whole network to evaluate the energy efficiency of our scheme and the benchmark schemes. In each round, the energy consumption of our sensor-cloud based scheme and the LEACH scheme can be calculated by:
- (2)
- Network lifetime: We define the network lifetime as in the percentage of network which has not yet depleted their energy or their energy level is greater than the predefined threshold. In this paper, we choose the number of iteration round when the total remaining energy is above 10% as the evaluation indicator.
- (3)
- Data accuracy: The proposed scheme groups all the physical sensors into several clusters and chooses some representative nodes to provide services. However, whether these selected physical sensors can represent the whole network is uncertain. Thus for any cluster (), we exploit Equation (24) to evaluate the data accuracy of our scheme.
5.3. Benchmark
5.4. Results and Analysis
6. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- Zhu, C.; Leung, V.; Wang, K.; Yang, L.; Zhang, Y. Multi-method data delivery for green sensor-cloud. IEEE Commun. Mag. 2017, 55, 176–182. [Google Scholar] [CrossRef]
- Chatterjee, S.; Misra, S. Target tracking using sensor-cloud: Sensor-target mapping in presence of overlapping coverage. IEEE Commun. Lett. 2014, 18, 1435–1438. [Google Scholar] [CrossRef]
- Srimathi, C.; Park, C.; Rajesh, N. Proposed framework for underwater sensor cloud for environmental monitoring. In Proceedings of the 2013 Fifth International Conference on Ubiquitous and Future Networks (ICUFN), Da Nang, Vietnam, 2–5 July 2013. [Google Scholar]
- Gharaibeh, A.; Salahuddin, M.A.; Hussini, S.J.; Khreishah, A.; Khalil, I.; Guizani, M.; Fuqaha, A.A. Smart cities: A survey on data management, security, and enabling technologies. IEEE Commun. Surv. Tutor. 2017, 19, 2456–2501. [Google Scholar] [CrossRef]
- Fragkos, G.; Tsiropoulou, E.E.; Papavassiliou, S. Disaster Management and Information Transmission Decision-Making in Public Safety Systems. In Proceedings of the 2019 IEEE Global Communications Conference (GLOBECOM), Waikoloa, HI, USA, 9–13 December 2019; pp. 1–6. [Google Scholar]
- Tyagi, S.; Obaidat, M.; Tanwar, S.; Kumar, S.; Lal, M. Sensor Cloud Based Measurement to Management System for Precise Irrigation. In Proceedings of the GLOBECOM 2017-2017 IEEE Global Communications Conference, Singapore, 4–8 December 2017. [Google Scholar]
- Alamri, A.; Ansari, W.; Hassan, M. A survey on sensor-cloud: architecture, applications, and approaches. Int. J. Distrib. Sens. Netw. 2013, 9, 917–923. [Google Scholar] [CrossRef]
- Ojha, T.; Misra, S.; Raghuwanshi, N. Sensing-cloud: Leveraging the benefits for agricultural applications. Comput. Electron. Agric. 2017, 135, 96–107. [Google Scholar] [CrossRef]
- Madoka, Y.; Kushida, T. Sensor-Cloud infrastructure-physical sensor management with virtualized sensors on cloud computing. In Proceedings of the 2010 13th International Conference on Network-Based Information Systems, Takayama, Japan, 14–16 September 2010. [Google Scholar]
- Misra, S.; Chatterjee, S.; Obaidat, M. On theoretical modeling of sensor cloud: A paradigm shift from wireless sensor network. IEEE Syst. J. 2014, 11, 1084–1093. [Google Scholar] [CrossRef]
- Lim, Y.; Park, J. Sensor resource sharing approaches in sensor-cloud infrastructure. Int. J. Distrib. Sens. Netw. 2014, 10, 1–8. [Google Scholar] [CrossRef]
- Madria, S.; Kumar, V.; Dalvi, R. Sensor cloud: A cloud of virtual sensors. IEEE Softw. 2013, 31, 70–77. [Google Scholar] [CrossRef]
- Ojha, T.; Misra, S.; Raghuwanshi, N.S.; Poddar, H. DVSP: Dynamic Virtual Sensor Provisioning in Sensor-Cloud based Internet of Things. IEEE Internet Things J. 2019, 6, 5265–5272. [Google Scholar] [CrossRef]
- Lemos, M.; Filho, R.; Rabelo, R.; Carvalho, C.; Mendes, D.; Costa, V. An energy-efficient approach to enhance virtual sensors provisioning in sensor clouds environments. Sensors 2018, 18, 689. [Google Scholar] [CrossRef] [Green Version]
- Li, T.; Zhao, M.; Wong, K. Machine learning based code dissemination by selection of reliability mobile vehicles in 5G networks. Comput. Commun. 2020, 152, 109–118. [Google Scholar] [CrossRef]
- Liu, X.; Liu, A.; Wang, T.; Ota, K.; Dong, M.X.; Liu, Y.X.; Cai, Z.P. Adaptive data and verified message disjoint security routing for gathering big data in energy harvesting networks. J. Parallel Distrib. Comput. 2020, 135, 140–155. [Google Scholar] [CrossRef]
- Goap, A.; Sharma, D.; Shukla, A.K.; Krishna, C.R. An IoT based smart irrigation management system using Machine learning and open source technologies. Comput. Electron. Agric. 2018, 155, 41–49. [Google Scholar] [CrossRef]
- Vuran, M.C.; Akan, O.B.; Akyildiz, I.F. Spatio-temporal correlation: theory and applications for wireless sensor networks. Comput. Netw. 2004, 45, 245–259. [Google Scholar] [CrossRef]
- Sohn, I.; Lee, J.H.; Lee, S.H. Low-energy adaptive clustering hierarchy using affinity propagation for wireless sensor networks. IEEE Commun. Lett. 2016, 20, 558–561. [Google Scholar] [CrossRef]
- Shrestha, S.; Kim, Y.M.; Jung, K.; Lee, J.Y. The Improved Energy Efficient LEACH Protocol Technology of Wireless Sensor Networks. Int. J. Internet Broadcast. Commun. 2015, 7, 30–35. [Google Scholar]
- Kim, K.; Lee, S.; Yoo, H.; Kim, D. Agriculture sensor-cloud infrastructure and routing protocol in the physical sensor network layer. Int. J. Distrib. Sens. Netw. 2014, 10, 1–13. [Google Scholar] [CrossRef]
- Liu, Y.X.; Zeng, Z.W.; Liu, X.; Zhu, X.Y.; Bhuiyan, M.A. A novel load balancing and low response delay framework for edge-cloud network based on SDN. IEEE Internet Things J. 2019. [Google Scholar] [CrossRef]
- Khan, I.; Belqasmi, F.; Glitho, R.; Crespi, N.; Morrow, M.; Polakos, P. Wireless sensor network virtualization: A survey. IEEE Commun. Surv. Tutor. 2015, 18, 553–576. [Google Scholar] [CrossRef] [Green Version]
- Sarkar, C.; Rao, V.S.; Prasad, R.V.; Das, S.N.; Misra, S.; Vasilakos, A. VSF: An energy-efficient sensing framework using virtual sensors. IEEE Sens. J. 2016, 16, 5046–5059. [Google Scholar] [CrossRef]
- Dinh, T.; Kim, Y. An energy efficient integration model for sensor cloud systems. IEEE Access 2018, 7, 3018–3030. [Google Scholar] [CrossRef]
- Lemos, M.; Rabelo, R.; Mendes, D.; Carvalho, C.; Holanda, R. An approach for provisioning virtual sensors in sensor clouds. Int. J. Netw. Manag. 2019, 29, 1–21. [Google Scholar] [CrossRef]
- Lin, C.R.; Gerla, M. Adaptive clustering for mobile wireless networks. IEEE J. Sel. Areas Commun. 1997, 15, 1265–1275. [Google Scholar] [CrossRef] [Green Version]
- Tsiropoulou, E.; Koukas, K.; Papavassiliou, S. A socio-physical and mobility-aware coalition formation mechanism in public safety networks. EAI Endorsed Trans. Future Internet 2018, 4, 1–9. [Google Scholar] [CrossRef]
- Dimitris, E.C.; Stavroula, G.V.; Athanasios, D.; Philip, C. Cooperation Incentives in 4G Networks. In Game Theory for Wireless Communications and Networking; Zhang, Y., Mohsen, G., Eds.; CRC Press: Boca Raton, FL, USA, 2011; pp. 295–314. [Google Scholar]
- Bighnaraj, P.; Hemant, K.R.; Bhushan, J.; Anantha, S. D2D- and DTN-Based Efficient Data Offloading Techniques for 5G Networks. In Resource Allocation in Next-Generation Broadband Wireless Access Networks; Chetna, S., Swades, D., Eds.; IGI Global: Hershey, PA, USA, 2017; pp. 190–209. [Google Scholar]
Parameter | Value |
---|---|
Simulation area | 100 m * 100 m |
Location of sink | (50 m, 100 m) |
Number of nodes | 50 |
Transmission range | 100 m |
Initial energy | 0.3 j |
Message length | 256 bits |
Physical Sensors | |
---|---|
() | {} |
() | {} |
() | { |
} | |
() | {} |
Cluster | |
---|---|
() | {} |
() | {}, {}, {} |
() | {}, {23} |
{}, {}, | |
() | {}, {}, {} |
Parameter | ||||
---|---|---|---|---|
Temperature(T) | 0.8797 | 0.6376 | 1.0537 | 0.8570 |
Humidity(H) | 1.2364 | 1.6984 | 1.0439 | 1.3262 |
Parameter | |||||||
---|---|---|---|---|---|---|---|
Temperature(T) | 1.3297 | 0.4875 | 2.2456 | 1.6793 | 3.3555 | 2.3367 | 1.9089 |
Humidity(H) | 3.5117 | 4.5019 | 1.8327 | 3.3690 | 0.9170 | 2.0327 | 2.6942 |
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zhang, M.-Z.; Wang, L.-M.; Xiong, S.-M. Using Machine Learning Methods to Provision Virtual Sensors in Sensor-Cloud. Sensors 2020, 20, 1836. https://doi.org/10.3390/s20071836
Zhang M-Z, Wang L-M, Xiong S-M. Using Machine Learning Methods to Provision Virtual Sensors in Sensor-Cloud. Sensors. 2020; 20(7):1836. https://doi.org/10.3390/s20071836
Chicago/Turabian StyleZhang, Ming-Zheng, Liang-Min Wang, and Shu-Ming Xiong. 2020. "Using Machine Learning Methods to Provision Virtual Sensors in Sensor-Cloud" Sensors 20, no. 7: 1836. https://doi.org/10.3390/s20071836
APA StyleZhang, M. -Z., Wang, L. -M., & Xiong, S. -M. (2020). Using Machine Learning Methods to Provision Virtual Sensors in Sensor-Cloud. Sensors, 20(7), 1836. https://doi.org/10.3390/s20071836