Skip to Main Content
Pervasive computing environment is high dynamic, and programs need to be enough intelligent to adapt to the dynamicity. Flexibility and adaptability are important features of programs in that environment. Our research team had proposed an Isotope Programming Model (IPM) to support developers in programming the environment. IPM mainly changes the traditional object-oriented approach that put all logic judgment of context in one method, and separates method from object of main program to isotope methods files by adding context block to each isotope one. Through computing the logic value in the context block using the given context, the system will choose the proper isotope method to execute. IPM promotes the adaptability of programs, but it is incomplete to some extent. In this paper, we extent IPM by utilizing ontology-based context model to separate attributes values from object. Object attributes values, parts of the context of environment, are modeled and stored in context ontologies database. An execution container will accomplish the matching procedure and return exact attributes values to object in programs. This makes the programs logic be more sensitive to changing of the environments. We also illustrate how to program in extended IPM (EIPM), and show that the separation will further promote flexibility and adaptability of programs.
Convergence and Hybrid Information Technology, 2008. ICCIT '08. Third International Conference on (Volume:1 )
Date of Conference: 11-13 Nov. 2008