@techreport{oai:ipsj.ixsq.nii.ac.jp:00021729, author = {鵜林尚靖 and 玉井, 哲雄 and Naoyasu, Ubayashi and Tetsuo, Tamai}, issue = {110(1997-SE-117)}, month = {Nov}, note = {現在,サブルーチン,手続き,オブジェクト,クフスなどいくつかのモジュール化方式が提案されている.機能中心型モジュールであるサブルーチンや手続きは「上位?下位」「全体?部分」という特性をもつトップダウン型階層構造のシステムを,オブジェクトやクラスはメッセージ通信により相互結合するネットワーク型構造のシステムを構成する.ところが,複数のモジュールをクロスして初めて意味を持つような機能の記述は,トップダウン型階層構造にも単純なネットワーク構造にも適していない.お互いに関連し合った機能が複数のモジュールに分散してしまい,一つの大域的モジュールとして表現することが困難だからである.このような処理の例として,リアルタイムシステムにおける例外処理やビジネスシステムにおけるユースケースなどかある.本稿では,このような問題を解決するため,コンテクストという概念をもつ新しいモジュール化方式COMM(Context Oriented Module Method)を提案する.コンテクストとは,ユースケースやシステムが動作する局面であり,これを一つのモジュールとみなす.COMMでは,コンテクスト単位にシステムを分割しプログラミングするという方式をとる.すなわち,システムはコンテキスト記述の複合体として構築される., A number of ideas on modularization mechanisms have been proposed based on such module units as subroutines, procedures, objects and classes. With subroutines and procedures, which are function oriented modules, top down hierarchies can be constructed that have "higher-lower" and "whole-part" relations. With objects and classes, which are object oriented modules, network structures can be constructed that connects components by message passing mechanism. Using these modularization mechanisms, it is difficult to build system functions that range over several modules. Such system functions fit to neither top down hierarchies nor simple network structures, because inter-related sub-functions are distributed among some different modules and an aspect of the system functions cannot be described within a global module. Examples of this kind of system functions include failure handling in real time systems and use-cases in business systems. To solve this problem, we propose COMM(Context Oriented Module Method), a new modularization mechanism based on a concept of contexts. Contexts correspond to use-cases or aspects of system functions. A context is regarded as a global module. In COMM, a system is divided into a set of contexts and implemented per context, that is, a system is composed of context descriptions.}, title = {コンテクスト概念に基づいたモジュール化機構}, year = {1997} }