the java context awareness framework(jcaf) ji-yeon lee
TRANSCRIPT
The Java Context Awareness Framework(JCAF)
Ji-Yeon Lee
Introduction
Context-awareness 는 유비쿼터스의 핵심컨셉이다
Java Context-Awareness Framework(JCAF) Java 를 기반으로 한 context-awareness infrastructure Context-awareness application 개발을 도움
Including Design principles Runtime architecture Programming API Case study
Design Princiles for JCAF
Runtime infrastructure Distributed and cooperating services Event-based infrastructure Security and privacy Extensible
Programming API Semantic-free modeling abstractions Context quality Support for activities
The JCAF Runtime Architecture
The JCAF Runtime Architecture Context Service
Long-lived process analog to a J2EE application server entity 들을 위한 context 정보를 받고 , 관리하고 , 저장하고 ,
분배한다 . Context 정보들을 handle
Entity context 정보를 통해 관리하고자 하는 대상 ex. a person, a patient, a TV, a PC …
Context entity 가 가지는 환경으로 context item 들의 set 을 포함 ex. home, office, hospital …
Context client : entity 의 context 정보를 감지하고 수집 Entity Listener : 특정 entity 의 context 변화 감지하여 처리 Context Monitor : sensor 를 통한 context 정보 수집하여 update Context Actuator : context item 의 변화 처리
Context Transformers : developer 가 작성하고 transformer repository 에 추가하여 사용하는 작은 java program Context item 의 type 을 다른 것으로 변환
Access Control : client 의 request 가 인증된 것인지 보증
The JCAF Application Programmer interface(1)
The JCAF Application Programmer interface(2)
1. Context Service and Entity Environment Context Service
Entity 와 context 정보를 set, get, add, remove 하는 메소드 포함 TransformerRepository 상속 : transformer adding, getting ContextClienthandler 상속 : context client 의 adding 과 인증 EntityListenerHandler 상속 : entity listener 를 adding, removing,
accessing 하는 메소드 포함 Entity Environment
Context service 에서 모든 entity 가 공유 Attribute setting, getting context service 정보 accessing transformerRepository accessing
The JCAF Application Programmer interface(3)
1. Context Service and Entity Environment(cont.)
The JCAF Application Programmer interface(4)
2. Entity and Context Context item
getAccuracy() : context item 의 quality 평가 isSecure() : 믿을 수 있고 인증된 context monitor 로부터
얻어진 context 정보인지 return
The JCAF Application Programmer interface(5)
2. Entity and Context(cont.)
The JCAF Application Programmer interface(6)
3. EntityListeners and ContextEvent
EntityListeners : context 의 변화를 감지하도록 구현할 수 있다
ContextEvent : context 의 변화를 야기한 entity 나 context item access
The JCAF Application Programmer interface(7)
4. Context Client – Monitors and Actuators
The JCAF Application Programmer interface(8)
4. Context Client – Monitors and Actuators(cont.)
The JCAF Application Programmer interface(9)
5. Context Transformers
Implementation and Future Work
JCAF v15 는 J2SE 1.4 로 구현 Remote communication 은 Java RMI 를 사용해
구현 Security 는 Java Security API 를 사용한 디지털
서명기반의 인증 매커니즘 사용
Applicaton of JCAF
Proximity-Based User Authentication User 가 컴퓨터에 접근하면 인증해주는 시스템 User 가 접근하면 token(ex. Java Smartcard) 이 public key
암호법을 사용해 인증된다 .
Applicaton of JCAF
Proximity-Based User Authentication
Applicaton of JCAF
The Context – Aware Hospital Bed 컴퓨터 , 각종 sensor 들 , touch sensitive display 등이
갖추어진 병원 침대를 관리하는 시스템 Ex. 간호사가 약을 가지고 환자에게 오면 가지고 온 medic
inetray 가 환자의 것이 맞는지 감지하고 display
Applicaton of JCAF
Applicaton of JCAF
Applicaton of JCAF
The AWARE Framework for Social Awareness User 들의 context 에 대한 공급으로 social awareness
support 다른 동료들의 work context 정보를 볼 수 있도록 제공 AWARE platform 에서는 사람들의 context 를 monitor 한다 .
Location monitor – Bluetooth location beacons Calendar monitor – user 의 online calendar 에서 정보추출