Design and Implementation of GUI in CVM on Real-Time Operating System, iRTOS

실시간 운영체제에서 iRTOS에서의 CVM GUI 설계 및 구현

  • 최찬우 (충남대학교 컴퓨터공학과) ;
  • 이철훈 (충남대학교 컴퓨터공학과)
  • Published : 2008.05.01

Abstract

JVM(Java Virtual Machine) has GUI(Graphical User Interface) facility and Platform Independance and is used on the embedded device such as set-top box and smart phone. This needs JVM to execute Java application in the embedded device. CVM(Classic Virtual Machine) which is the kind of JVM is designed for embedded device to have limited resources. To support GUI facility of JAVA uses PBP(Personal Basis Profile) which is included on CVM. The PBP defines the GUI Stardard API to support GUI facility. When the GUI Stardard API is implemented, JNI(Java Native Interface) is used to connect between Java Native Method and Native function in Operating System. In this pater, PBP which is defined by CVM has designed and implemented on the Real-Time Operating System, iRTOS.

셋탑박스나 스마트폰과 같은 임베디드 장비는 GUI(Graphical User Interface)기능 제공 및 플랫폼 독립성(Platform Independance) 유지를 위해 자바 환경을 사용한다. 이러한 장비에 자바 환경을 적용하기 위해 SUN에서 제공하는 임베디드용 자바가상머신의 하나인 CVM(Classic Virtual Machine)을 탑재하여 사용하게 된다. 자바의 GUI를 제공하기 위해서는 CVM에 포함된 PBP(Personal Basis Profile)에서 명세하고 있는 GUI표준 API를 사용해야 한다. GUI 표준 API를 구현 할때에 자바의 네이티브 메서드와 운영체제의 네이티브 함수간에 상호 연동이 될 수 있도록 JNI(Java Native Interface)를 사용하여 구현한다. 이에 본 논문에서는 실시간 운영체제 iRTOS를 기반으로 CVM GUI를 구현하기 위해 그래픽 원도우 시스템과 GUI 표준 API와의 상호 연동을 하는 네이티브 함수와 각종 이벤트 처리에 대해 설계 및 구현한 내용을 기술한다.

Keywords