DOI QR코드

DOI QR Code

Research of Event Notification Subsystem Based on Websocket and GCM Push Services

웹소켓 및 GCM의 푸쉬서비스 기반 이벤트통보 서브시스템에 관한 연구

  • 차영욱 (안동대학교 컴퓨터공학과) ;
  • 정준기 (안동대학교 컴퓨터공학과) ;
  • 김춘희 (DCU 전자정보통신공학과) ;
  • 김경준 (포항공과대학교 정보통신연구소)
  • Received : 2016.08.02
  • Accepted : 2016.10.03
  • Published : 2016.10.31

Abstract

This paper presented push service based subsystem's configuration for event notification, and defined REM (RESTful web service for Event Management)-API for web service based event management. An API acknowledging the reception of an event was included in the REM-API, and reliable event transfer mechanism was defined through the REM-API. We implemented the event notification subsystem as a laboratory model, and compared Websocket, web's push service technology with existing polling and Comet technologies in terms of waiting time of event notification and the number of response messages. The number of request messages was measured as 0, and the waiting time of event notification was measured as 0.025 second for Websocket technology. We also tested event notifications toward smart devices and measured notification delays with GCM3.0-API and REM-API. Average notification delay of Android phones was 2.64 second superior to that of iPhones in the test environment with GCM server.

본 논문은 푸쉬서비스 기반 이벤트통보 서브시스템의 구성도를 제시하였으며, 이벤트 관리를 위하여 웹서비스 기반의 REM(RESTful web service for Event Management)-API를 정의하였다. REM-API에는 이벤트의 수신을 확인하는 API가 포함되며, REM-API를 이용하여 이벤트 통보를 신뢰성 있게 전달하는 절차를 정의하였다. 이벤트통보 서브시스템을 실험실 모델로 구현하여 웹의 푸쉬서비스 기술인 웹소켓을 기존의 폴링 및 Comet 기술과 이벤트 통보대기 시간 및 응답메시지 개수의 관점에서 비교하였다. 웹소켓은 요청메시지 개수가 0이며, 통보대기 시간이 0.025초로 측정되었다. 또한 푸쉬서비스를 제공하는 GCM3.0-API와 REM-API를 이용하여 스마트기기로의 이벤트 통보시험과 이벤트 통보지연을 측정하였다. GCM서버를 이용하는 시험에서 안드로이드폰의 평균 통보지연이 아이폰에 비하여 2.64초 우수하였다.

Keywords

Acknowledgement

Supported by : 국토교통부

References

  1. G. G. Ahn, T. G. Lee, G. S. Kang, and M. P. Hong, "A Study on the Improvement Scheme of Real-time Booking System which is Based on the HTML5 WebSocke", Proceeding of the Summer Conference of the Korean Institute of Information Scientists and Engineers, pp. 962-964, Jun. 2013.
  2. W. R. Park, S. C. Park, and D. Y. Kim, "Design of Message Push System Using WebSocket Based on Hybrid App", Proceeding of the Spring Conference of the Korean Society for Internet Information, pp. 189-190, May 2014.
  3. Mobile push and nPush(2011), http://d2.naver.com/helloworld/1119, [Accessed May 2, 2016].
  4. Y. M. Park, "SOAP-based Web Services vs. RESTful Web Services", Electronics and Telecommunications Trends, Vol. 25, No. 2, pp. 112-120, Apr. 2010.
  5. Google Cloud Messaging(2016), https://developers.google.com/cloud-messaging, [Accessed Jun. 9. 2016].
  6. G. L. Kim, "Design and Implementation Pull and Push Service Based on Sensor Networks", Master's Thesis of Jeju National University, 2009.
  7. S. H. Park, Y. C. Oh, and C. B. Kim, "Image Security System Using Push Server and Smart Device", Journal of Korean Navigation Institute, Vol. 8, No. 6, pp. 588-593, Jun. 2014.
  8. Na Li, Yanhui Du, and Guangxuan Chen, "Survey of Cloud Messaging Push Notification Service", International Conference on Information Science and Cloud Computing Companion, pp. 273-279, Dec. 2013.
  9. M. G. Son, K. S. Park, and Y. H. Kong, "An Improvement of Hospital Reception System using Web Socket", Journal of Korean Society of Computer And Information, Vol. 20, No. 1, pp. 185-195, Jan. 2015. https://doi.org/10.9708/jksci.2015.20.1.185
  10. RESTful URI design(2009), http://blog.2partsmagic.com/restful-uri-design [Accessed May 15, 2016].
  11. I. S. Choi, Y. W. Cha, C. H. Kim, and I. K. Cho, "Design and implementation of integrated management system for gas station using web service and sensor network", Journal of KIIT, Vol. 10, No. 9, pp. 105-115, Sep. 2012.
  12. Jersey 2.0, GlassFish Community(2016), http://jersey.java.net [Accessed Jul. 11. 2016].

Cited by

  1. RESTful-API 기반의 건설현장 품질관리 시스템 개선 모델 vol.11, pp.3, 2020, https://doi.org/10.15207/jkcs.2020.11.3.061
  2. The Companion Animal Monitoring System using Low-Power Protocol Wearable Device vol.25, pp.12, 2020, https://doi.org/10.9708/jksci.2020.25.12.017