In this thesis, we proposed MapTalk2.0, an integrated operation center for IoT applications. MapTalk2.0 is a web-based smart map platform that allows users to quickly deploy personalized digital maps and integrate different data to create IoT applications.
MapTalk2.0 allows users to interact with physical objects through their cyber representations in a map and administrators can add new applications to MapTalk2.0 without extra programming effort.
MapTalk2.0 is built on top of the IoTtalk platform, which has a friendly GUI to help us easily establish a data transmission between IoT applications and MapTalk2.0. In the current version of the MapTalk2.0, we enhance the attributes of a cyber object, including the geometric shape of the cyber object, the offline time-out setting, and the implementation of the “Show All” function. For the route planning service, we have added a rerouting function to make this service more comprehensive. We used the freeway No.5 information to show how to integrate different data such as speed, accidents, and real-time videos into MapTalk2.0.
We also implemented the electronic fence service, which combines the tracking application and Line Notify to detect the tracked users and send alert messages to the administrator. The electronic fence service has been applied on campus to ensure the safety of students in specific areas. Also, the tracking application can be used for more purposes. For example, we can let members of the cycling team know the location of their partners through the tracking application. Members of the cycling team can register the tracking application by scanning a specific QR code. Without this QR code, other users can not register on this application, so that only the specific users can view each other’s location information.
55
In the future, we will focus on the following issues:
For the mobile tracking application:
Develop the iOS version of the tracking application: The main differences in the development of Android and iOS applications includes the programming language changed from Java to Objective-C or Swift, and the development environment for iOS applications must be on a device with macOS.
Provide dynamically changing the frequency of accessing the GPS based on the user’s travel distance to save power on the mobile device: We use the
setCurrentLocation() function in the TrackingService.java to get the user’s location
information. The frequency of GPS access is related to the power of the mobile device and is set via the
gps_permission()
function in the TrackingMainViewActivity.java. The gps_permission() function will create aLocationRequest, and then store the parameters in the request. The parameters are
used to determine the level of accuracy for location requests, including update
interval, fastest update interval, and priority. The details of parameter setting
method are described in [18]. Therefore, we can save power on the mobile device by dynamically adjusting the above parameters based on the user’s travel distance.
For the route planning service:
Provide the function of setting relay points to have more flexibility to use this service.
For the electronic fence service:
Implement load testing to calculate the maximum number of people that the server
56
can afford.
Move the entry and leaving fence detection method from the server to the mobile device to reduce the burden on the server: The entry and leaving detection method is determined by the Boolean function called Polygon.contains() provided by Python Shapely package. In the electronicfence.py, we get fence information from the static_icon_table in the MapTalk2.0 database and use the vertices of the fence to form a Polygon object, and then pass in the user’s location to contains() function to determine whether the point is within the Polygon object. Then, we also need to use the project_trans() function in the electronicfence.py to project the latitude and longitude values to the Projection Coordination System (PCS). Therefore, we will move the above-mentioned functions to the TrackingMainViewActivity.java of the mobile tracking application for execution and then send the detection result back to the server to reduce the server’s computational load.
In the current version, we use Google Map as a map resource, but with the increase of network traffic in the MapTalk2.0, the fees charged by Google Map will also increase.
Therefore, we will port the platform to open-source maps (e.g., Leaflet [19]). Finally, we will continue to promote MapTalk2.0 and cooperate with different organizations and take user feedback as the direction for future improvements of MapTalk2.0.
57
Reference
[1] S. Kraijak and P. Tuwanut, “A survey on IoT architectures, protocols, applications, security, privacy, real-world implementation and
future trends,” 11th International Conference on Wireless Communications, Networking and Mobile Computing (WiCOM 2015),
Shanghai, 2015, pp. 1-6, doi: 10.1049/cp.2015.0714.
[2] A. Al-Fuqaha, M. Guizani, M. Mohammadi, M. Aledhari and M. Ayyash, “Internet of Things: A Survey on Enabling Technologies, Protocols, and Applications,” in IEEE Communications Surveys & Tutorials, vol. 17, no. 4, pp. 2347-2376, Fourthquarter 2015, doi:
10.1109/COMST.2015.2444095.
[3] X. Li, R. Lu, X. Liang, X. Shen, J. Chen and X. Lin, “Smart community: an internet of things application,” in IEEE Communications Magazine, vol. 49, no. 11, pp. 68-75, November 2011, doi: 10.1109/MCOM.2011.6069711.
[4] D. Evans, “The Internet of things: How the next evolution of the Internet is changing everything,” CISCO, San Jose, CA, USA White Paper, 2011.
[5] R. Khan, S. U. Khan, R. Zaheer and S. Khan, “Future Internet: The Internet of Things Architecture, Possible Applications and Key Challenges,” 2012 10th International Conference on Frontiers of Information Technology, Islamabad, 2012, pp. 257-260, doi:
10.1109/FIT.2012.53.
[6] A. M. Luthfi, N. Karna and R. Mayasari, “Google Maps API Implementation On IOT Platform For Tracking an Object Using GPS,”
2019 IEEE Asia Pacific Conference on Wireless and Mobile (APWiMob), BALI, Indonesia, 2019, pp. 126-131, doi:
10.1109/APWiMob48441.2019.8964139.
[7] S. Shinde, A. Patil, S. Chavan, S. Deshmukh and S. Ingleshwar, “IoT based parking system using Google,” 2017 International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC), Palladam, 2017, pp. 634-636, doi:
10.1109/I-SMAC.2017.8058256.
[8] M. Konarski and W. Zabierowski, "Using Google Maps API along with technology .NET," 2010 International Conference on Modern Problems of Radio Engineering, Telecommunications and Computer Science (TCSET), 2010, pp. 180-182.
[9] R. Aisuwarya, Melisa and R. Ferdian, “Monitoring and Notification System of the Position of a Person with Dementia Based on Internet of Things (IoT) and Google Maps,” 2019 International Conference on Electrical Engineering and Computer Science (ICECOS), Batam Island, Indonesia, 2019, pp. 396-400, doi: 10.1109/ICECOS47637.2019.8984591.
[10] Yi-Bing Lin & Min-Zheng Shieh & Yun-Wei Lin & Hsin-Ya Chen, 2018. “MapTalk: mosaicking physical objects into the cyber world,” Cyber-Physical Systems, Taylor & Francis Journals, vol. 4(3), pages 156-174, July.
58
[11] Y.-B. Lin, Y.-W. Lin, C.-M. Huang, C.-Y. Chih and P. Lin, “IoTtalk: A Management Platform for Reconfigurable Sensor Devices,” in
IEEE Internet of Things Journal, vol. 4, no. 5, pp. 1552-1562, Oct. 2017
[12] Y.-B. Lin, L.-K. Chen, M.-Z. Shieh, Y.-W. Lin and T.-H. Yen, “CampusTalk: IoT Devices and Their Interesting Features on Campus
Applications,” in IEEE Access, vol. 6, pp. 26036-26046, 2018.
[13] Y.-B. Lin et al., “EasyConnect: A Management System for IoT Devices and Its Applications for Interactive Design and Art,” in IEEE
Internet of Things Journal, vol. 2, no. 6, pp. 551-561, Dec. 2015.
[14] Google Map JavaScript online document. [Online]. Available: https://developers.google.com/maps/documentation/javascript/reference
[15] Google Map Direction API document. [Online]. Available: https://developers.google.com/maps/documentation/directions/start
[16] Y.-B. Lin. IoTtalk-Manual (English). [Online]. Available: http://liny.csie.nctu.edu.tw/document/IoTtalk_Manual-Eng.docx Accessed on: Jul. 7, 2020.
[17] Y. Lin, H. Tseng, Y. Lin and L. Chen, "NB-IoTtalk: A Service Platform for Fast Development of NB-IoT Applications," in IEEE
Internet of Things Journal, vol. 6, no. 1, pp. 928-939, Feb. 2019, doi: 10.1109/JIOT.2018.2865583.
[18] Android location settings document. [Online]. Available: https://developer.android.com/training/location/change-location-settings
[19] Leaflet introduction website. [Online]. Available: https://leafletjs.com