Abstract
With the broad spectrum of IoT domains, heterogeneous devices can amalgamate the physical world into a digital era. The current need of the hour is to discover and retrieve the most pertinent devices amongst similar capable devices in an IoT environment. This paper presents a novel, multifaceted approach to finding IoT-based innovative office seating using semantically enriched Constrained Application Protocol (CoAP). The multi-layered approach is implemented where the devices’ specifications are considered for attribute extraction. These attributes are enriched in CoAP protocol. The most pertinent device is retrieved and provided to user space based on multi-attribute-based decision-making. User preferences along with system-generated recommendations, are considered for device ranking. The office seating is modelled as an IoT resource, where in multiple such office seatings in a smart office is considered and the best seating is retrieved. The proposed approach is compared with current state of art and the efficiency of the same is evaluated in terms of bandwidth usage, time of retrieval and accuracy.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Avoid common mistakes on your manuscript.
1 Introduction
With the rapid proliferation of the Internet of Things (IoT) [1] paradigm in our everyday lives, making all the spheres as smart, discovery of the most pertinent IoT resource in the user application space is a mandate. The resource most efficient in terms of its core functionality, Quality of Service (QoS) [2], amongst similar capable resources must be retrieved with minimum human intervention and dynamically. Work carried out in the [1] represents the state of art in the resource discovery field in IoT.
The office automation market segment has seen a growth of smart gadgets, which has overwhelmed traditional workplaces with sophisticated monitoring systems [3] to improve staff productivity. However, the abrupt onset of the COVID pandemic has made working from home the new norm. In the post-COVID age, a hybrid work style model is prevalent, allowing employees to choose between working from home and working in an office, depending on their needs. There won’t be any permanent desk seating reserved for the There won’t be any permanent desk seating assigned to the staff. The office administrator may assign the smart desk to the staff based on need. The office manager can select the IoT resources based on the ranking of capabilities and provide the employee with the ideal smart desk. The ideal office seating position can be found and given to the end employee based on the user’s needs and the capabilities provided by the equipment. The remaining paper is organized as Sect. 2 representing the literature review, Sect. 3 presenting the proposed methodology, Sect. 4 depicts the hardware setup employed, Sect. 5 reprsenting the queries executed and showcases the experimental study, followed by Sect. 6 with conclusion and future work.
2 Literature review
The recent work in discovery of devices in IoT domain is summarized in Table 1.
3 Proposed methodology
The pre-processing stage and the resource retrieval stage are the two key stages of the overall technique used for the proposed research work. Unified annotation of the IoT resources from the vendor specified device specifications is carried out in the initial pre-processing stage. Next phase is the attribute selection phase where the key differentiating and QoS specific attributes are selected from the feature set. The IoT protocol enrichment is performed and a semantically enhanced resource repository is created based on the attributes chosen. IoT resources that have been registered are retrieved during the discovery phase based on how closely they fit user requirements. Ranking is done using several criteria decision making. Based on a match between the user’s requirements and the top-ranked IoT resources, the optimum resource is returned.
In Fig. 1, the approach used in the proposed research project is depicted diagrammatically. As demonstrated, the semantic annotation of IoT resources is the first step in the pre-processing stage followed by attribute selection phase. In the CoAP IoT protocol [5], these chosen attributes are enhanced for resource registration and discovery, which is followed by ranked device retrieval [18, 19, 20, 21] based on multi-attribute decision-making. The resource annotated to the standard format from specifications is carried out and the effectiveness of the same is shown in our previous work [22, 23].
The discovery engine comprises of solving a multi criteria decision making problem, where the various attributes of the device for the criteria. The protocol is enriched with the attributes and the user query is also semantically eniched. The system generated recommendation for the devices and devices choice based on user preferences, both are considered for ranking the devices. Figure 2 depicts the discovery engine and corresponging discovery workflow. The MADM [24] model based on proximity calculation to the ideal values is computed (Fig. 3).
4 Hardware setup
Case study was conducted in an office setting using the testbed architecture depicted in Fig. 4. Post COVID era, the office administrator would designate the seating arrangement (smart desk) depending on the capabilities of the available smart devices, instead of allocating a dedicated office space. Each smart desk is represented by a smart sensor board. The seating sections of the office are surrounded by a total of 5 smart sensor boards. Each sensor is made up of a variety of different sensor types that can identify the workplace setting. The on-board sensors are interconnected with the Arduino Uno [25]. The seated position is represented by a sensor board with five different types of sensors on each side.
A sensor board that includes five various types of sensors, each capable of monitoring ambient data, serves as a representation of the seated position. The hardware elements utilised to create a single sensor board are displayed in Table 2. Figure 5 shows the circuit diagram for a single board. The Arduino Uno MCU is used to control the four sensors (temperature, light, gas, and occupancy), as shown in Fig. 6. The LED is linked to enable resource search and the visual realisation of sensor board selection. The wireless interface and battery power source for the board are provided by Node MCU Esp8266.
Using the vendor specifications as a guide, annotation of 20 sensors in a common format is carried out. The framework is developed using Python 3.x.The Arduino Software Development Kit (SDK) is used to register and manage the sensors that the Arduino MCU controls. The language used to interface the sensors with the Arduino MCU is embedded C. RDFLib is used to implement semantically enhanced RD on Berkeley DB.Real-time data collection from the sensors is done using the cloud platform ThingSpeak. Tkinter is used to create a Graphical User Interface (GUI) that visualises all of the aforementioned steps of the suggested framework. The vendor specifications folder is selectable using a GUI interface that is provided in annotated format. An interface for attribute selection that shows the selected attributes. Based on a CoAP client request, the UI will display the semantically enhanced CoAP CORELink format for device registration. The GUI offers resource retrieval that is ranked, captures user preferences, and visualises user queries. The office administrator uses the UI created to choose the ideal seating position for the end employee.
The cloud service ThingsSpeak [17] collects and stores real-time sensor data. The ESP8266WiFi built-in WiFi module allows the sensor boards to communicate wirelessly with the gateway [23]. The enriched CoAP is deployed on the gateway to function as a CoAP server with enriched RD implementation. The CoAP client offers an interface that makes capturing user requirements easier and building queries using SPARQL [26].
5 Result analysis
The Table 3 depicts the various queries executed for device discovery in the smart office setup. All the smart devices in the office setup would register with enriched CoAP repository.The enriched CoAP client would make request to the central enriched CoAP server. The requested query parameters and values are used to perform CoAP repository lookup.
This section explains the results of the experimental study carried out using proposed methodology. Figure 7 depicts the device registration Table 4 depicts the CoAP CoRELink format for the various queries corresponding to Table 3. The attributes selected in the previous step are enriched in CoRELink and Resorce Directory (RD). The queries are executed and the responses are captured. The queries are executed on traditional CoAP and enriched CoAP and the performance improvement is measured.
The source code for the implementation is available at [link 1] GitHub - vandanacp/IoTResourceDiscoveryProject.
The devices with the device id as shown in left hand panel of UI in Fig. 7 gets registered to the enriched COAP repository. Th attribute-values are enriched in the COAP COReLink format and sent to COAP server for registration (Fig. 8).
As shown in Fig. 9, there is a reduction of average response time during discovery process by 28% for S-COAP (Semantically enriched) compared to traditional COAP. The discovery time improvement is due to the precise discovery of the devices with the enriched semantics.
5.1 Ranked Resource Retrieval
The time taken to rank the devices based on AHP-TOPSIS approach is compared with proposed approach. The SPARQL query is exceuted 20 times and the average time taken is considered for comparison. There is an improvement of 37% in amount of time to rank the devices as shown in the Fig. 10.
The COAP request and response payload is compared with enriched COAP request and response payload size for all the 5 main queries as shown in Fig. 11. During the registration phase, query1, the response size of enriched COAP is nearly comparable with COAP due to the initial registration process in RD. The exact matching resource is retrieved for all the other queries compared to the traditional query, which does a match based on resposnse type. Hence a bandwidth usage reduction of 40% is observed with semantically enriched COAP protocol compared to traditional COAP.
6 Conclusion and future work
Through this work, we demonstrate the utility of the suggested framework for resource discovery in a smart IoT-based office test bed for locating the optimal seating arrangement. The discovery of smart office seating based on the proposed methodology was culminated by implementation comprising resource description annotation, attribute selection, protocol enrichment, and ranked resource retrieval. The framework can be extended to design a method to detect the collapse of IoT devices. In case of fault management, the detection of the IoT resource fault and its recovery needs to be modelled. Hence, the discovery framework can be extended in the future to detect the faults of these discovered IoT resources.
Data availability
Not applicable.
References
Pattar, S., Buyya, R., Venugopal, K. R., Iyengar, S. S., & Patnaik, L. M. (2018). Searching for the IoT resources: Fundamentals, requirements, comprehensive review, and future directions. IEEE Commun Surv Tutorials, 20(3), 2101–2132. https://doi.org/10.1109/COMST.2018.2825231.
Gorantla, V. A. K. (2023). An intelligent optimization framework to predict the vulnerable range of tumor cells using Internet of things. 2023 IEEE 2nd International Conference on Industrial Electronics: Developments & Applications (ICIDeA). IEEE.
Ranjan Vikas, S., Priyalakshmi, B., Gautam, N., & Potti, S. (2018). Co-operative detection for malicious nodes in under-attack WSN. International Journal of Engineering & Technology, 7(2.24), 489–491. https://doi.org/10.14419/ijet.v7i2.24.12143.
Ferdousi, R., & Mandal, P. K. (2019). LOAMY: A cloud-based middleware for CoAP-based IoT service discovery. In Second international conference on advanced computational and communication paradigms (ICACCP), Gangtok, India, pp. 1–6. https://doi.org/10.1109/ICACCP.2019.8883000
Khanna, A., & Kaur, S. (2020). Internet of things (IoT), Applications and challenges: A Comprehensive Review. Wirel Pers Commun, 114, 1687–1762. https://doi.org/10.1007/s11277-020-07446-4.
Venanzi, R., Kantarci, B., Foschini, L., & Bellavista, P. (March 2018). MQTT-driven node discovery for integrated IoT-Fog settings revisited: The impact of advertiser dynamicity. IEEE Symposium On Service-Oriented System Engineering. SOSE, Germany. IEEE Computer Society. 31–39. https://doi.org/10.1109/SOSE.2018.00013.
Pereira, E., Pinto, R., Reis, J., & Goncalves, G. (2019). MQTT-RD: A MQTT based Resource Discovery for Machine to Machine Communication, in IoTBDS. 115–124.
Xia, H., Hu, C.-Q., Xiao, F, Cheng, X.-G., Pan, Z.-K. (2019). An efficient social-like semantic-aware service discovery mechanism for large-scale. Internet of Things Computer Networks152, 210–220. https://doi.org/10.1016/j.comnet.2019.02.006.
Kowshalya, A. M., & Gao, X. Z. (2020). Valarmathi ML,efficient service search among Social Internet of Things through construction of communities. Cyber-Physical Systems. https://doi.org/10.1080/23335777.2019.1678198.
Perera, C., Zaslavsky, A., Liu, C. H., Compton, M., Christen, P., & Georgakopoulos, D. (2014). Sensor search techniques for sensing as a service architecture for the internet of things. Ieee Sensors Journal, 14(2), 406–420. https://doi.org/10.1109/JSEN.2013.2282292.139.
Ebrahimi, M., ShafieiBavani, E., Wong, R. K., Fong, S., & Fiaidhi, J. (2017). An adaptive meta-heuristic search for the internet of things. Future Generation Computer Systems, 76, 486–494, Nov. https://doi.org/10.1016/J.FUTURE.2015.12.006.
Kandavalli, S., Ratna, S. R., Kandavalli, R. S., Ruban, C. H., Lo, R., Kumar, & Catalin, I. (2022). Pruncu. A conceptual analysis on ceramic materials used for dental practices: Manufacturing techniques and microstructure. ECS Journal of Solid State Science and Technology, 11(5), 053005.
Ojagh, S., Malek, M. R., Saeedi, S., & Liang, S. (2020). A location-based orientation-aware recommender system using IoT smart devices and Social Networks. Future Generation Computer Systems, 108, 97–118. Jul. https://doi.org/10.1016/J.FUTURE.2020.02.041.
Pattar, S., et al. (2019). Location-aware IoT Search Framework based on data messaging and aggregation techniques. Proceedings– 2019 Women Institute Technology Conference Electrical and Computer Engineering WITCON ECE 2019. 138–145. https://doi.org/10.1109/WITCONECE48374.2019.9092903.
Singh, M., Baranwal, G., & Tripathi, A. K. (2020). QoS-Aware selection of IoT-Based service. Arabian Journal for Science and Engineering, 45(12), 10033–10050. https://doi.org/10.1007/s13369-020-04601-8.
Kaur, R., & Mittal, S. (2020). Enhanced handoff decision making for application-aware environment by using blended Approach. International Journal of Intelligent Systems, 14(1), 433–443. https://doi.org/10.22266/IJIES2021.0228.40.
Robles, M. I., Narendra, N. C., & Kiviranta, S. M. (2020). Pragmatic Distance in IoT devices. IEEE Transactions on Network and Service Management, 17(4), 2731–2743. https://doi.org/10.1109/TNSM.2020.3008840.
Pavendan, R. T., Sankar, K., & Kumar, V. (2023). A Graph Theory Based Self-Learning Honeypot to detect persistent threats. Intelligent Automation and Soft Computing, 35(3), 3331–3348.
Abdelfadeel, K. Q. & Elsayed, K. (eds.), (2016). 6LoWDIS: A lightweight service discovery protocol for 6LoWPAN. 2016 IEEE International Conference on Communications Workshops ICC, 284–289. https://doi.org/10.1109/ICCW.2016.7503801.
Priyadarshini, R., Alagirisamy, M., Rajendran, N., Marandi, A. K., & Patil, V. V. (2022). Minimization of Makespan and Energy Consumption in Task Scheduling in Heterogeneous Cloud Environment. International Journal of Intelligent Systems and Applications in Engineering, 10(2s), 276–280.
Rachana, Y., Patil, Y. H., Kachhoria, R., & Lonare, S. (2022). A provably secure data sharing scheme for smart gas distribution grid using fog computing. International Journal of Information Technology. https://doi.org/10.1007/s41870-022-01043-3.
Vandana, C. P., & Chikkamannur, A. A. (2020). SCOAP: Semantic Enrichment of COAP for Resource Discovery. Springer SN Computer Science, 1, 88. https://doi.org/10.1007/s42979-020-0104-y.
Vandana, C. P., & Chikkamannur, A. A. (2021). An ameliorated ensemble approach for IoT Resource feature selection based on discriminating and service relevance criteria. International Journal of Intelligent Engineering and Systems, 14(3), 435–446.
Vandana, C. P., & Chikkamannur, A. A. (2021). Multi criteria decision based Ranked Discovery Framework for IoT resources. Indian Journal of Computer Science and Engineering, 12(5), 1425–1441.
Priyadarshini, R., Alagirisamy, M., Rajendran, N., & Varunkumar, K. A. (2022). Invalidation of tunneling attacks in ubiquitous IoT & wireless sensor environments using ML methods. Optik, 271, 170163.
Vandana, C. P., & Chikkamannur, A. A. (2021). Semantic Annotation of IoT Resource with ontology orchestration. Proceedings of 3rd International IEEE Conference on Advances in Electronics, Computers and Communications, ICAECC. India. 1–7. https://doi.org/10.1109/ICAECC50550.2020.9339490.
Funding
This research received no external funding.
Author information
Authors and Affiliations
Contributions
Dr. Vandana C.P led the conceptualization and supervised the project, while Syed Asif Basha implemented the CoAP protocol and conducted data analysis. Dr. M. Madiajagan contributed expertise in analytics and decision-making methodologies, and Dr. Sachin Jadhav provided insights into IoT device specifications. Mohammed Abdul Matheen contributed to data collection and feature selection, and Lakshmana Phaneendra Maguluri brought expertise in IoT systems and resource modeling. All authors participated in reviewing and editing the manuscript, ensuring its intellectual integrity and ethical standards. The final version has been collectively approved by all authors.
Corresponding author
Ethics declarations
Ethical approval
This article does not contain any studies with human participants or animals performed by any of the authors.
Conflict of interest
The authors declare that they have no conflict of interest.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Vandana, C., Basha, S.A., Madiajagan, M. et al. IoT resource discovery based on multi faected attribute enriched CoAP: smart office seating discovery. Wireless Pers Commun (2024). https://doi.org/10.1007/s11277-024-11157-5
Accepted:
Published:
DOI: https://doi.org/10.1007/s11277-024-11157-5