DOI QR코드

DOI QR Code

분산되어 있는 OSGi 프레임워크에서 효과적인 서비스 공유 방안

An Effective Service Sharing Scheme on Distributed OSGi Frameworks

  • 윤기현 (숭실대학교 컴퓨터학과) ;
  • 김은회 (숭실대학교 정보미디어기술연구소) ;
  • 최재영 (숭실대학교 컴퓨터학부)
  • 발행 : 2009.08.31

초록

홈 네트워크 분야에서 주로 적용되었던 OSGi 기술은 현재 다양한 도메인의 이질적인 장치에 탑재되고 있다. 분산되어 있는 OSGi 프레임워크 환경에서 효과적인 서비스를 제공하기 위해서는 프레임워크들간의 상호작용이 필수적이다. 하지만 현재까지 공개된 OSGi 스펙에서는 원격 OSGi 프레임워크에 등록된 서비스를 공유할 수 있는 방안을 제공하지 않고 있다. 이와 같은 문제점을 해결하기 위하여 기존의 분산 미들웨어기술인 JXTA 또는 Web Services를 활용하는 기술들이 연구되었으나, 이러한 기술들은 컴퓨팅 자원을 많이 소모하고 또한 부가적인 서비스 변환과정이 필요하다는 문제점이 있다. R-OSGi는 OSGi 기술만을 사용하여 원격 서비스를 공유할 수 있는 방안을 제공하지만, 중앙집중적인 구조를 가짐으로써 병목현상이나 SPOF (Single Point Of failure)가 발생할 수 있다. 본 논문에서는 P2P 기반의 효과적인 서비스 공유 방안인RSP (Remote Service Provider)를 제안한다. RSP는 OSGi 자체 기술만을 사용하므로 서비스를 공유하기 위하여 추가적으로 다른 소프트웨어를 설치하거나, 그 소프트웨어를 사용하기 위한 변환과정이 필요 없다. 또한 P2P 방식의 서비스 발견 메커니즘을 사용하여 병목현상을 해결하고 확장성을 높일 수 있다. 그리고 RSP는 원격 서비스에 대한 투명성을 제공하고, 원격 서비스의 상태 변화를 즉각 통보하여 원격 서비스의 신뢰성을 보장하는 특징을 가진다.

OSGi technology has applied to Home Network, but now it is loaded into even heterogeneous devices in various domains. Therefore, it is necessary to cooperate with each other framework for offering effective services in distributed OSGi frameworks. However until now, OSGi specification doesn't provide any methodthat can share the services registered on remote OSGi frameworks. In order to solve this problem, there have been several researches that used existing distributed middleware technologies such as JXTA and Web Services. However these technologies have some weakness, that is, they consume lots of computing resources and need additional process to transform the services. A middleware called R-OSGi uses only OSGi technology for sharing remote OSGi services, but R-OSGi may have a communication bottleneck and SPOF (Single Point of Failure) problem, because it has a central service registry. In this paper we present RSP (Remote Service Provider), which is a P2P-based effective service sharing scheme on distributed OSGi framework. RSP doesn't need to install additional software nor have the additional transformation process of the service representation, because it uses only OSGi technology. In addition it doesn't have any bottleneck problem and improves scalability by providing the service discovery mechanism using P2P. RSP can also access remote services transparently and it can guarantee reliability by sending an immediate notice about changes of the remote services.

키워드

참고문헌

  1. About the OSGi Alliance, http://www.osgi.org/About/HomePage
  2. Choonhwa Lee, Nordstedt. D, Helal. S, 'Enabling smart spaces with OSGi,' Pervasive Computing, IEEE, Volume 2, Issue 3, pp. 89-94, July-Sept, 2003 https://doi.org/10.1109/MPRV.2003.1228530
  3. Haitao. Zhang, Fei-Yue. Wang, Yunfeng. Ai, 'An OSGi and agent based control system architecture for smart home,' Networking, Sensing and Control, 2005. Proceedings, pp.13-18, 2005 https://doi.org/10.1109/ICNSC.2005.1461152
  4. Gu. T, Pung. H.K, Zhang. D.Q, 'Toward an OSGi-based infrastructure for context-aware applications,' Pervasive Computing, IEEE, Vol. 3, Issue 4, pp.66-74, Oct.-Dec., 2004 https://doi.org/10.1109/MPRV.2004.19
  5. Hiroo Ishikawa, Yuuki Ogata, Kazuto Adachi, Tatsuo Nakajima, 'Building Smart Appliance Integration Middleware on the OSGi Framework,' pp.139-146, ISORC '04 https://doi.org/10.1109/ISORC.2004.1300339
  6. Deepak Kamlani, 'OSGi Alliance to Participate in CES Track Session,' OSGi Alliance, Jan., 2004
  7. OSGi Alliance, 'About the OSGi Service Platform,' June, 2007
  8. Why did we let Jini out of OSGi R4, http://www.osgi.org/blog/2005/11/why-did-we-let-jini-out-of-osgi-r4.html
  9. JXTA . Project JXTA, 2003. http://www.jxta.org
  10. A Ferscha, M Hechinger, R Mayrhofer, R Oberhauser, 'A Light-Weight Component Model for Peer-to-Peer Applications,' Distributed Computing Systems Workshops, 2004
  11. CL Wu, CF Liao, LC Fu, 'Service-Oriented Smart-Home Architecture Based on OSGi and Mobile-Agent Technology,' IEEE Transactions on Systems, Man, and Cybernetics, Part C: Applications and Reviews, Vol.37, No.2, pp.193-205, March, 2007 https://doi.org/10.1109/TSMCC.2006.886997
  12. Erik guttman, 'Service Location Protocol : Automatic Discovert of IP Network Services,' IEEE Internet Computing Magazine, pp.71-80, July-August, 1999 https://doi.org/10.1109/4236.780963
  13. SLP White Paper, http://playground.sun.com/srvloc/slp_white_paper.html
  14. J. S. Rellermeyer, G. Alonso, 'Service Everywhere: OSGi in Distributed Environments,' In EclipseCon, 2007
  15. J. S. Rellermeyer, G. Alonso, 'Service Everywhere: OSGi in Distributed Environments,' In EclipseCon, 2007
  16. ASM, http://asm.objectweb.org/index.html