检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]南京大学计算机软件新技术国家重点实验室,南京210093
出 处:《计算机科学》2005年第6期169-175,共7页Computer Science
基 金:国家自然科学基金(6027036;602339291);863计划(2002AA116090);江苏省自然科学基金(BK2002079)
摘 要:对于实时系统来说,UML顺序图描述了对象之间的交互。对象之间的交互展现了系统行为的场景。本文中,我们针对描述多场景的UML顺序图组合中的可达性问题进行研究。尽管这个问题可以转换为相应的时间自动机,然后进行处理,但其转化为之后,状态空间巨大,解决的开销比较大,效率不高。针对部分可达性问题,本文采用更为高效的基于线性规划的解决方案,其思想如下:首先遍历所有到达给定节点的简单路径片断来验证可达性,随后遍历到达给定节点的并且包含所有循环至多一次的路径片断来验证可达性。由于我们并没有遍历所有路径片断,因此用本文的方法判定给定节点的可达性的时候,结果会有三种:可达,不可达和不确定。由于有些循环与可达性是无关的,我们进一步通过识别哪些循环与可达性无关,对算法进行改进。For real-time systems,UML sequence diagrams describe interaction among objects,which shows the sce- narios of system behaviour. In this paper,we discuss about the reachability of the composition of UML sequence dia- grams,which can describe multi-scenarios. We can transform this problem to the corresponding timed automata,but the corresponding time automata has a large state space and the cost is large and not efficient. For these reasons,to solve part of the problem of reachability,we adapt a solution based on linear programming for its higher efficiency. The method of the solution is shown as follows: firstly,we traverse all simple path segments that can reach the given node to check the reachability; secondly,we traverse the path segments reaching the given node to check the reacha- bility,such path segments include all the loops at most once. In this paper,when we try to check the reachability of the given node,there may be three results: true,false and uncertain,for we haven't traversed all the path segments. Since some loops has nothing to do with the reachability,we try to distinguish those loops that have no relationship with the reachability in order to improve the algorithm.
关 键 词:顺序图 UML 可达性分析 时间自动机 实时系统 系统行为 状态空间 解决方案 线性规划 行处理 片断 路径 节点 遍历 循环 不确定 交互 对象 场景 验证 算法
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论] TP393[自动化与计算机技术—计算机科学与技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.28