摘要
如果构件含有冗余的行为,特别是有用户不想要的功能,则用户无法使用。因此,如何从构件中保留场景规约中用户需要的行为便是一个亟待解决的问题。给出了一种解决方法。该方法通过舍弃用户不需要的行为,保留场景规约中用户需要的行为,得到一个用户可以使用的构件。用带注释的接口自动机为构件的行为建模,用带注释的消息序列图(MSC)描述场景规约,给出了基于场景进行构件行为舍弃的方法。并用一个实例对文中所述的方法进行了说明。
Components with redundant functionalities, especially with undesired functionalities, can not be used by users. Therefore, the scenario-based behavior abnegation of components is an urgent problem, where the scenario specifies the user's desired behavior. An approach was proposed to abnegate the undesired behavior to get components that can be used, Annotate interface automata was used to model the behavior of components. The scenario specification was pictured by annotate Message Sequence Chart (MSC). The relevant algorithm was illustrated by an example.
出处
《计算机应用》
CSCD
北大核心
2008年第11期2936-2939,共4页
journal of Computer Applications
关键词
接口自动机
消息序列图
流体变量
构件
行为舍弃
interface automaton
Message Sequence Chart (MSC)
fluent
component
behavior abnegation