Celery-MongoDB 를 활용한 센서정보 관리시스템 설계 및 구현

Design and Implementation of Sensor Information Management System based on Celery-MongoDB

  • 투고 : 2021.04.28
  • 심사 : 2021.06.24
  • 발행 : 2021.06.30

초록

센서정보 관리를 위해서는 다양하고 수많은 센서의 정보를 신속하게 저장, 수정, 삭제 할 수 있는 기능을 제공해야 한다. 본 연구에서는 Celery 와 MongoDB 를 활용하여 위의 조건에 부합한 센서정보 관리 시스템을 설계 및 구현하였다. Celery 는 파이썬으로 개발된 비동기 통신을 기반으로 하는 큐구조를 제공하고 있다. 그리고 이것은 분산된 작업 큐 구조이고 단순하지만 많은 양의 메시지를 처리하기에 적합한 신뢰성 있는 분산 시스템이다. MongoDB 는 NoSQL 데이터베이스로써 다양한 정보 표현을 저장할 수 있고 검색할 수 있다. 본 연구에서는 개발한 시스템을 활용한 실험을 통해 IoT 환경에서 제공되는 다양한 센서를 관리할 수 있음을 확인할 수 있었다. 센서데이터를 갖는 메시지를 처리하기 위한 성능을 개선하기 위해 본 시스템은 클라우드 하부구조의 에지단에 배치되어 사용한다.

The management of sensor information requires the functions for registering, modifying and deleting rapidly sensor information about various many sensors. In this research, Celery and MongoDB are used for developing a sensory data management system. Celery supplies a queue structure based on asynchronous communication in Python. Celery is a distributed simple job-queue but reliable distributed system suitable for processing large message. MongoDB is a NoSQL database that is capable of managing various informal information. In this experiment, we have checked that variety of sensor information can be processed with this system in a IoT environment. To improve the performance for handling a message with sensory data, this system will be deployed in the edge of a cloud infrastructure.

키워드

과제정보

이 논문은 2021 학년도 백석대학교 대학연구비에 의하여 수행된 것임

참고문헌

  1. Ali, H., Soe, J. K., and Weller, S. R.. "A real-time ambient air quality monitoring wireless sensor network for schools in smart cities," in Proceedings of the 2015 IEEE First International Smart Cities Conference (ISC2)
  2. Luigi Atzori, Antonio Iera, and Giacomo Morabito, "The Internet of Things: A survey," Computer Networks: The International Journal of Computer and Telecommunications Networking, vol. 54, no. 15 pp. 2787-2805, 2010. https://doi.org/10.1016/j.comnet.2010.05.010
  3. Jayavardhana Gubbi, Rajkumar Buyya, Slaven Marusic, and Marimuthu Palaniswami, "Internet of Things (IoT): A vision, architectural elements, and future directions," Future Generation Computer Systems, vol. 29, no. 7, pp 1645-1660, 2013. https://doi.org/10.1016/j.future.2013.01.010
  4. L. D. Xu, W. He, and S. Li, "Internet of Things in Industries: A Survey," IEEE Trans. Industrial Informatics, vol. 10, no. 4, pp. 2233-2243, 2014. https://doi.org/10.1109/TII.2014.2300753
  5. Reeves G, Liu J, Nath S, Zhao F. Managing massive time series streams with multi-scale compressed trickles. Proceedings of the VLDB Endowment. 2009;2(1):97-108 https://doi.org/10.14778/1687627.1687639
  6. Mohamed Ali Feki, Fahim Kawsar, Mathieu Boussard, and Lieven Trappeniers, "The Internet of Things: The Next Technological Revolution," Computer, vol. 46, no. 2, pp. 24 - 25, February 2013. https://doi.org/10.1109/MC.2013.63
  7. http://docs.celeryproject.org/en/latest/getting-started/introduction.html
  8. https://medium.com/sunhyoups-story/Celery-b96eb337b9cf
  9. Kristina Chodorow and Michael Dirolf. 2010. MongoDB: The Definitive Guide (1st. ed.). O'Reilly Media, In
  10. Nicola Iarocci. Developing RESTful Web APIs with Python, Flask and MongoDB. https://speakerdeck.com/nicola/developing-restful-web-apiswith-python-flask-and-mongodb