检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]华中科技大学国家CAD支撑软件工程技术研究中心,武汉430074
出 处:《计算机工程与应用》2012年第4期61-64,169,共5页Computer Engineering and Applications
基 金:国家自然科学基金(No.50275060;60573178);国家高技术研究发展计划(No.2002AA4Z3370)
摘 要:CAX系统中,对于复杂操作和关联操作,现有Undo/Redo机制很难保证Undo/Redo操作语义一致性,避免破坏图形数据,从而导致实现具体的Undo和Redo方法困难、二次开发难度大的问题。分析了CAX复杂操作和关联操作的特点,讨论了Undo操作中事务的原子性和一致性以及触发器机制,提出了基于事务保证操作语义一致性和基于触发器机制降低操作复杂度和关联度的解决策略,描述了具体的执行流程及主要算法。在大型CAD软件开发中实例分析证明了该方法的有效性。In CAX system, for complex operation and related operation, existing Undo/Redo mechanism is difficult to ensure the Undo/ Redo operation semantic consistency, avoid the destruction of graphic data, thus it leads to realize specific methods of Undo/Redo and further development difficultly. This paper analyzes the characteristics of complex and related operation in CAX systems, discusses the atomicity and consistency of transaction and the reactor mechanism, introduces the transaction-based to ensure the Undo/Redo opera- tion semantic consistency and the reactor mechanism to reduce the relationship and complexity of operations as the resolution method, and describes the concrete implementation process and main algorithms. A case analysis in large-scale CAD software shows the effectiveness of the strategy.
关 键 词:UNDO/REDO 事务 触发器 一致性维护 关联操作
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.16.164.60