Model of Smart Locating Application for Small Businesses
Abstract
:1. Introduction
- The paper proposes an accessible solution for small businesses to gather statistics on the presence of their customers in and around their institutions using 802.15.1 technology [9].
- The paper presents a model of a mobile system based on Bluetooth technology that can provide information about detectable devices’ relative position to create statistics on users’ presence in a specific timeframe.
- The paper discusses the possibility of using Bluetooth technology for logging the user’s relative position and shows that such a solution is feasible.
- The paper presents a two-component system that was designed and a prototype that was implemented to confirm that 802.15.1 technology [9] is efficiently used to log the user’s relative position.
- The paper highlights the modular design of the app, which guarantees that Bluetooth technology can be easily exchanged in favor of other technology if needed.
- The paper presents the developed prototype application as a foundation for further commercial development.
- The paper discusses the importance of Bluetooth technology in the business world by providing a reliable, low-cost wireless communication solution for a wide range of applications, including location-based services, proximity marketing, and indoor navigation.
- A lack of empirical validation. This paper does not provide any empirical evidence to support the claims made about the efficiency and accuracy of the proposed solution. While the prototype implementation is described, no results of its performance are provided.
- A limited scope. This paper only focuses on the usage of Bluetooth technology and does not consider other technologies that can be used to log the user’s relative position. Additionally, this paper only considers the Android operating system, limiting the potential user base.
- Privacy concerns. This paper does not address the potential privacy concerns that may arise from collecting location data from users’ mobile devices. The implications of collecting and processing personal data should be considered and addressed.
- Generalizability. This paper does not provide information on the generalizability of the proposed solution to different types of small businesses or institutions. The specific context of This study may not be applicable to other settings, and further research is needed to validate its effectiveness in different environments.
2. Materials and Methods
2.1. Bluetooth
2.2. The Pros and Cons of Using Bluetooth Technology for Positioning
2.3. The Way of Communication
2.4. Detecting Devices
- A device performing a scan sends a broadcast to find other devices;
- All devices in the range that are in discoverable mode receive the broadcast;
- Recipients knowing the address of the sender respond only to this specific addressee providing the following information:
- Device name;
- Device class;
- List of services;
- Technical information.
2.5. Relative Position Logging
2.6. Similar Existing Solutions
3. Prototype
3.1. Technology Overview
- Lifecycle package—for building lifecycle-aware components that automatically adjust to the current state of the application;
- Room Persistence Library—to take care of the SQLite database of the application;
- Azure Mobile SDK—to connect to the REST API provided by the Microsoft Azure cloud service;
- Easy Permissions—to properly ask the end user for needed permissions.
- Develop a mobile application: The first step is to develop a mobile application for the Android operating system that is compatible with all system versions from 5.0 Lollipop and above. The application should use Bluetooth 802.15.1 technology [9] to detect nearby Bluetooth-enabled devices and log their relative position.
- Implement a prototype: Once the mobile application is developed, a prototype should be implemented to test its functionality and performance. The prototype should provide a convenient interface for users to view and analyze the collected data.
- Collect data: The mobile application should be deployed on the business premises, and the Bluetooth-enabled devices’ relative position should be logged for a specific timeframe. The collected data should be stored in a cloud-based database for further analysis.
- Analyze data: The collected data can be analyzed to gain insights into customer behavior, such as their presence in specific areas of the business premises at particular times. The data can be used to optimize business operations, such as improving the coverage and reliability of the Wi-Fi network or measuring the number of people passing by a shop.
- Use machine learning algorithms: Machine learning algorithms can be used to analyze the collected data and provide more in-depth insights into customer behavior. For example, clustering algorithms can be used to group customers based on their presence in specific areas, and regression algorithms can be used to predict future customer behavior.
- Use other wireless communication technologies: the mobile application can be designed to support other wireless communication technologies, such as Wi-Fi or RFID, to provide more accurate location data.
- Integrate with other business systems: the mobile application can be integrated with other business systems, such as point-of-sale systems or inventory management systems, to provide a more comprehensive view of customer behavior.
- Enhance data privacy and security: to protect customer privacy, the mobile application should be designed to collect only anonymous data, and the cloud-based database should be secured using encryption and other security measures.
3.2. Architecture Model
- The model—is responsible for data, current state, and business logic. It should not be tied to other components so it can be reused in other contexts;
- The view—is in charge of displaying the user interface (UI), taking advantage of data binding, which reduces the amount of code needed to connect the view and the model by being bound to observable variables in the ViewModel;
- The ViewModel—wraps around the model to allow the view to pass events to the model and provide the observable data needed by the view, without actually being tied to it.
3.3. Cloud Configuration
3.4. Resource Management
4. Testing Procedure for Bluetooth Devices
4.1. Testing Environment for Smart Locator App’s Presence Detection Using Bluetooth-Enabled Device Logger
4.2. Testing Environment for the Smart Locator App—Second Stage with Two Devices
4.3. Smart Locator for Presence Monitoring and Tracking at a Limited Range
5. Discussion
5.1. Bluetooth Technology
5.2. Mobile Application
5.3. Cloud Service and Data Visualization
6. Conclusions
- Integration of other technologies. Although the developed prototype application was based on Bluetooth 802.15.1 technology, the modular design of the app allows for easy integration with other technologies. Future research could explore the integration of other technologies, such as Wi-Fi or GPS, to further improve the accuracy and reliability of the smart locating application.
- Expansion of the application’s functionalities. The smart locating application designed in this research provides valuable statistics on users’ presence in a particular area in a specific timeframe. Future research could focus on expanding the application’s functionalities to include features such as indoor navigation, proximity marketing, and personalized recommendations based on users’ behavior patterns.
- Point-of-interest data. The authors highlighted important future implications of BLE, including location-based services, proximity marketing, etc. By adding on to this point, coupling Bluetooth Low Energy technology with POI data could be very useful for similar future applications, including BLE-POI-based route planning and recommendation. It can also be a good alternative to GPS technology.
- Improving the accuracy of the application. The accuracy of the smart locating application depends on various factors, such as signal strength and interference from other devices. Future research could explore techniques to improve the accuracy of the application, such as machine learning algorithms and signal processing techniques.
- Security and privacy concerns. As the smart locating application collects data on users’ presence and behavior patterns, it is essential to address security and privacy concerns. Future research could focus on developing secure and privacy-preserving solutions to ensure the protection of users’ data.
- Commercialization and real-world deployment. The developed prototype application was designed as a foundation for further commercial development. Future research could focus on the commercialization and real-world deployment of the application, including its integration with existing business systems and processes, and user acceptance testing.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Fidelis, O.F.; Gbenga, A.T. Bluetooth Technology: Overview and Applications. South East. J. Res. Sustain. Dev. SEJRSD 2019, 1, 9–19. Available online: https://sejrsd.org.ng/index.php/SEJRSD/article/view/2 (accessed on 11 April 2023).
- Alzoubi, H.; Alshurideh, M.; Kurdi, B.; Akour, I.; Aziz, R. Does BLE technology contribute towards improving marketing strategies, customers’ satisfaction and loyalty? The role of open innovation. Int. J. Data Netw. Sci. 2022, 6, 449–460. [Google Scholar] [CrossRef]
- Elkanishy, A.; Furth, P.M.; Rivera, D.T.; Badawy, A.H.A. Low-overhead Hardware Supervision for Securing an IoT Bluetooth-enabled Device: Monitoring Radio Frequency and Supply Voltage. ACM J. Emerg. Technol. Comput. Syst. JETC 2021, 18, 1–28. [Google Scholar] [CrossRef]
- Karthick, S.; Sundramurthy, V.P.; Devaru, S.D.; Narayanaswamy, R.; Mohan, A.; Akkaraju, S.C.; Carmichael, M.J.; Manjunath, T.C. WITHDRAWN: Realization of Industrial Automation Using Bluetooth Technologies. Mater. Today Proc. 2021. Available online: https://www.sciencedirect.com/science/article/pii/S2214785320396048 (accessed on 20 January 2023).
- Chowdhury, M.Z.; Shahjalal, M.; Hasan, M.K.; Jang, Y.M. The role of optical wireless communication technologies in 5G/6G and IoT solutions: Prospects, directions, and challenges. Appl. Sci. 2019, 9, 4367. [Google Scholar] [CrossRef]
- George, D.; Tim Hatt, T. GSMA Intelligence—Research—Global Mobile TrendsSept. 2017. Available online: https://www.gsmaintelligence.com/research/2017/09/global-mobile-trends-2017/639/ (accessed on 12 April 2023).
- Number of Smartphone Subscriptions Worldwide from 2016 to 2021, with Forecasts from 2022 to 2027. Available online: https://www.statista.com/statistics/330695/number-of-smartphone-users-worldwide/ (accessed on 12 April 2023).
- Verma, D.; Shehzad, K.; Khan, D.; Ain, Q.; Kim, S.; Lee, D.; Lee, K. A Design of 8 fJ/conversion-step 10-bit 8MS/s low power asynchronous SAR ADC for IEEE 802.15. 1 IoT sensor based applications. IEEE Access 2020, 8, 85869–85879. [Google Scholar] [CrossRef]
- IEEE 802.15.1-2005—IEEE Standard for Information Technology—Local and Metropolitan Area Networks—Specific Requirements—Part 15.1a: Wireless Medium Access Control (MAC) and Physical Layer (PHY) Specifications for Wireless Personal Area Networks (WPAN). Available online: https://ieeexplore.ieee.org/document/1490827 (accessed on 13 March 2023).
- Poniszewska-Maranda, A.; Matusiak, R.; Kryvinska, N.; Yasar, A.-U.-H. A real-time service system in the cloud. J. Ambient. Intell. Hum. Comput. 2020, 11, 961–977. [Google Scholar] [CrossRef]
- Pivoto, D.; de Almeida, L.; da Rosa Righi, R.; Rodrigues, J.; Lugli, A.; Alberti, A. Cyber-physical systems architectures for industrial internet of things applications in Industry 4.0: A literature review. J. Manuf. Syst. 2021, 58, 176–192. [Google Scholar] [CrossRef]
- Poniszewska-Maranda, A.; Kaczmarek, D.; Kryvinska, N.; Xhafa, F. Studying usability of AI in the IoT systems/paradigm through embedding NN techniques into mobile smart service system. Computing 2019, 101, 1661–1685. [Google Scholar] [CrossRef]
- Ray, S.; Mishra, K.N.; Dutta, S. Sensitive Data Identification and Security Assurance in Cloud and IoT based Networks. Int. J. Comput. Netw. Inf. Secur. IJCNIS 2022, 14, 11–27. [Google Scholar] [CrossRef]
- Štefanič, M.; Stankovski, V. A review of technologies and applications for smart construction. Proc. Inst. Civ. Eng. Civ. Eng. 2018, 172, 83–87. [Google Scholar] [CrossRef]
- Novotný, R.; Kuchta, R.; Kadlec, J. Smart city concept, applications and services. J. Telecommun. Syst. Manag. 2014, 3, 1–5. [Google Scholar]
- Al Nuaimi, E.; Al Neyadi, H.; Mohamed, N.; Al-Jaroodi, J. Applications of big data to smart cities. J. Internet Serv. Appl. 2015, 6, 1–15. [Google Scholar] [CrossRef]
- Ojuh, D.; Isabona, J. Empirical and Statistical Determination of Optimal Distribution Model for Radio Frequency Mobile Networks Using Realistic Weekly Block Call Rates Indicator. Int. J. Math. Sci. Comput. IJMSC 2021, 7, 12–23. [Google Scholar] [CrossRef]
- Sultana, S.; Enayet, A.; Mouri, I.J. A smart, location based time and attendance tracking system using Android application. Int. J. Comput. Sci. Eng. Inf. Technol. IJCSEIT 2015, 5, 1–5. [Google Scholar] [CrossRef]
- Nashwan, S.; Hamarsheh, A. An Extended Approach for Enhancing Packet-Loss of inter-SGSN in 3G Mobile Networks. Int. J. Comput. Netw. Inf. Secur. IJCNIS 2017, 9, 43–51. [Google Scholar] [CrossRef]
- Kim, J.H.; Lee, S.C.; Lee, B.G.; Chung, W. Mobile healthcare system based on Bluetooth medical device. J. Sens. Sci. Technol. 2012, 21, 241–248. [Google Scholar] [CrossRef]
- Mane, A.; Khot, U.Q. Improvement for Dynamic Adaptive Streaming of Multimedia in LTE Cellular Network Using Cross-layer Communication. Int. J. Wirel. Microw. Technol. IJWMT 2022, 12, 51–59. [Google Scholar] [CrossRef]
- Liang, K.; Zhang, X.; Wang, Y.; Huang, S.; Ning, G.; Pang, W.; Li, B.; Chen, H. A system of portable ECG monitoring based on Bluetooth mobile phone. In Proceedings of the 2011 IEEE International Symposium on IT in Medicine and Education, Guangzhou, China, 9–11 December 2011; Volume 2, pp. 309–312. [Google Scholar] [CrossRef]
- Bin, L.; Xiaoyun, C. Home intelligent sports action automation system based on Bluetooth. Microprocess. Microsyst. 2021, 80, 103335. [Google Scholar] [CrossRef]
- Coombs, J. The Straight Goods on Bluetooth: How Many Consumers Have it on? April 2015. Available online: https://m.rover.io/the-straight-goods-on-bluetooth-how-many-consumers-have-it-on-d0ebe3b5d718 (accessed on 12 April 2022).
- Thompson, D. iBeacon: Is Bluetooth On? And Other Insights from Empatika. March 2014. Available online: http://beekn.net/2014/03/ibeacon-bluetooth-insights-empatika/ (accessed on 12 April 2022).
- Filippoupolitis, A.; Oliff, W.; Loukas, G. Bluetooth low energy based occupancy detection for emergency management. In Proceedings of the 15th International Conference on Ubiquitous Computing and Communications and International Symposium on Cyberspace and Security (IUCC-CSS), Granada, Spain, 14–16 December 2016; pp. 31–38. [Google Scholar]
- Tekler, Z.D.; Low, R.; Gunay, B.; Andersen, R.K.; Blessing, L. A scalable Bluetooth Low Energy approach to identify occupancy patterns and profiles in office spaces. Build. Environ. 2020, 171, 106681. [Google Scholar] [CrossRef]
- Collotta, M.; Pau, G. A novel energy management approach for smart homes using Bluetooth low energy. IEEE J. Sel. Areas Commun. 2015, 33, 2988–2996. [Google Scholar] [CrossRef]
- Tekler, Z.D.; Low, R.; Yuen, C.; Blessing, L. Plug-Mate: An IoT-based occupancy-driven plug load management system in smart buildings. Build. Environ. 2022, 223, 109472. [Google Scholar] [CrossRef]
- Low, R.; Tekler, Z.D.; Cheah, L. An end-to-end point of interest (POI) conflation framework. ISPRS Int. J. Geo. Inf. 2021, 10, 779. [Google Scholar] [CrossRef]
- Zhao, P.; Luo, A.; Liu, Y.; Xu, J.; Li, Z.; Zhuang, F.; Sheng, V.S.; Zhou, X. Where to go next: A spatio-temporal gated network for next poi recommendation. IEEE Trans. Knowl. Data Eng. 2020, 34, 2512–2524. [Google Scholar] [CrossRef]
- Global Market Share Held by the Leading Smartphone Operating Systems in Sales to End Users from 1st Quarter 2009 to 2nd Quarter 2018. Available online: https://www.statista.com/statistics/266136/global-market-share-held-by-smartphone-operating-systems/ (accessed on 12 April 2023).
- Smartphone Market Size, Share & Trends Analysis, By Operating System (Android, iOS), By Distribution Channel (OEM, Retailer), Region and Forecast Period 2022–2030. Available online: https://marketresearchcommunity.com/smartphone-market/?gclid=CjwKCAiArNOeBhAHEiwAze_nKIREmq0Wg1NDWOkSM-OxOCnOSRdlKlGFR6FuIeGXuRG7ijThP8JrbRoClGMQAvD_BwE (accessed on 13 March 2023).
- IEEE 802.15.10-2017 IEEE Recommended Practice for Routing Packets in IEEE 802.15.4 Dynamically Changing Wireless Networks. Available online: https://standards.ieee.org/ieee/802.15.10/5752/ (accessed on 13 March 2023).
- IEEE 802.11. The Working Group Setting the Standards for Wireless LANs. Available online: http://www.ieee802.org/11/ (accessed on 12 April 2022).
- Bluetooth Technology Website. Available online: https://www.bluetooth.com/ (accessed on 12 April 2019).
- Nallappan, K.; Skorobogatiy, M. Photonics based frequency hopping spread spectrum system for secure terahertz communications. Opt. Express 2022, 30, 27028–27047. [Google Scholar] [CrossRef]
- Goode, S.H. A comparison of Gaussian minimum shift keying to frequency shift keying for land mobile radio. In Proceedings of the 34th IEEE Vehicular Technology Conference, Pittsburgh, PA, USA, 21–23 May 1984; Volume 34, pp. 136–141. [Google Scholar]
- The History of Bluetooth. Available online: https://www.androidauthority.com/history-bluetooth-explained-846345/ (accessed on 15 April 2023).
- Bluetooth Radio Interface|Modulation & Channels|Electronics Notes. Available online: https://www.electronics-notes.com/articles/connectivity/bluetooth/radio-interface-modulation-channels.php (accessed on 15 April 2022).
- Sauter, M. From GSM to LTE-Advanced: An Introduction to Mobile Networks and Mobile Broadband; John Wiley & Sons: Hoboken, NJ, USA, 2014; 450p. [Google Scholar]
- How to Do Accurate Indoor Positioning with Bluetooth Beacons? July 2017. Available online: https://proximi.io/accurate-indoor-positioning-bluetooth-beacons/ (accessed on 15 April 2023).
- Tiwari, C.; Jha, V. Enhancing Security of Medical Image Data in the Cloud Using Machine Learning Technique. Int. J. Image Graph. Signal Process. IJIGSP 2022, 14, 13–31. [Google Scholar] [CrossRef]
- Maduranga, M.W.; Sithara, J.P. Real-Time Animal Location Estimation Using Wearable Sensors and Cellular Mobile Networks. Int. J. Wirel. Microw. Technol. IJWMT 2022, 12, 61–68. [Google Scholar] [CrossRef]
- Meshlium IOT Gateway. Available online: https://cdn.shopify.com/s/files/1/1386/3791/products/meshlium_iot_gateway_1024x1024.jpg?v=1525581043 (accessed on 15 April 2023).
- Detecting iPhone and Android Smartphones by WiFi and Bluetooth [Cellular-MobileHand Phone Detection]|Libelium. Available online: http://www.libelium.com/products/meshlium/smartphone-detection (accessed on 15 April 2023).
- Meshlium. Available online: http://www.libelium.com/resources/images/content/products/meshlium/smartphones-detection/bluetooth_ street_wifi_bt_shops_big.png (accessed on 18 April 2023).
- Libelium Meshlium Xtreme—Plug&Play Multichannel IoT Gateway. Available online: https://www.iot-store.com.au/products/libelium-meshlium-xtreme-plug-play-multichannel-iot-gateway (accessed on 11 April 2022).
- I Want to Develop Android Apps—What Languages Should I Learn? Available online: https://www.androidauthority.com/develop-android-apps-languages-learn-391008/ (accessed on 11 April 2023).
- Microsoft Azure. Available online: https://portal.azure.com (accessed on 10 May 2022).
- Das, S.; Grbic, M.; Ilic, I.; Jovandic, I.; Jovanovic, A.; Narasayya, V.R.; Chaudhuri, S. Automatically Indexing Millions of Databases in Microsoft Azure Sql Database. Int. Conf. Manag. Data 2019, 666–679. [Google Scholar] [CrossRef]
- Guay Paz, J. Introduction to azure cosmos db. In Microsoft Azure Cosmos DB Revealed: A Multi-Model Database Designed for the Cloud; Springer: Berlin/Heidelberg, Germany, 2018; p. 1–23. [Google Scholar] [CrossRef]
- Poppe, O.; Guo, Q.; Lang, W.; Arora, P.; Oslake, M.; Xu, S.; Kalhan, A. Moneyball: Proactive auto-scaling in Microsoft Azure SQL database serverless. Proc. VLDB Endow. 2022, 15, 1279–1287. [Google Scholar] [CrossRef]
- Soh, J.; Copeland, M.; Puca, A.; Harris, M. Microsoft Azure: Planning, Deploying, and Managing the Cloud; Apress: New York, NY, USA, 2020; 560p. [Google Scholar]
- IntelliJ IDEA and Android Studio FAQ|IntelliJ IDEA Blog. en-US. 2020. Available online: https://blog.jetbrains.com/idea/2013/05/intellij-idea-and-android-studio-faq/ (accessed on 11 April 2023).
- Lisowski, M.; Michalska, J.; Kacki, M.; Precht, J. Smart Locator. Modern IT Methodologies and Services; Lodz University of Technology: Lodz, Poland, 2019; Student work. [Google Scholar]
- What Is Azure—Microsoft Cloud Services|Microsoft Azure. Available online: https://azure.microsoft.com/en-us/overview/what-is-azure/ (accessed on 13 April 2023).
- MVC vs. MVP vs. MVVM on Android. Available online: http://academy.realm.io/posts/eric-maxwellmvc-mvp-and-mvvm-on-android/ (accessed on 11 April 2023).
- Ramirez, R.; Huang, C.-Y.; Liao, C.-A.; Lin, P.-T.; Lin, H.-W.; Liang, S.-H. A Practice of BLE RSSI Measurement for Indoor Positioning. Sensors 2021, 21, 5181. [Google Scholar] [CrossRef]
Pros | Cons |
---|---|
Low-power consumption: Bluetooth technology is known for its low power consumption, which means that it can be used in devices that require a long battery life, such as beacons. | Limited range: Bluetooth technology has a limited range, typically up to 30 m, which may not be sufficient for certain positioning applications. |
Widespread adoption: Bluetooth technology is one of the most widely adopted wireless communication standards, which means that it is readily available and can be easily integrated into devices. | Interference: Bluetooth signals can be interfered with by other wireless signals, such as Wi-Fi, which can affect the accuracy of positioning. |
Ease of use: Bluetooth technology is relatively easy to set up and use, which makes it accessible to a wide range of users. | Line of sight: Bluetooth signals require a clear line of sight between the transmitting and receiving devices, which can be a challenge in certain environments, such as urban areas with tall buildings. |
Cost-effective: Bluetooth technology is relatively inexpensive compared to other positioning technologies, such as GPS. | Limited accuracy: Bluetooth technology may not be accurate enough for certain positioning applications, such as those that require sub-meter accuracy. |
Indoor positioning: Bluetooth technology can be used for indoor positioning, which is a valuable asset in locations where GPS signals are weak or non-existent. | Privacy concerns: Bluetooth signals can be used to track the movement of individuals, which raises privacy concerns. |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Shlyakhetko, O.; Syerov, Y.; Gregus, M. Model of Smart Locating Application for Small Businesses. Electronics 2023, 12, 1993. https://doi.org/10.3390/electronics12091993
Shlyakhetko O, Syerov Y, Gregus M. Model of Smart Locating Application for Small Businesses. Electronics. 2023; 12(9):1993. https://doi.org/10.3390/electronics12091993
Chicago/Turabian StyleShlyakhetko, Olena, Yuriy Syerov, and Michal Gregus. 2023. "Model of Smart Locating Application for Small Businesses" Electronics 12, no. 9: 1993. https://doi.org/10.3390/electronics12091993
APA StyleShlyakhetko, O., Syerov, Y., & Gregus, M. (2023). Model of Smart Locating Application for Small Businesses. Electronics, 12(9), 1993. https://doi.org/10.3390/electronics12091993