Abstract:
Virtual Laboratory of Cryptology based on Components(VLCC) uses topological sorting in Directed Acyclic Graph(DAG) to manage the data-dependant and execute-order between components. Based on the Java thread and “wake” mechanism, this paper proposes a new DAG parallel arithmetic. Compared with topological sorting, new arithmetic’s time-complexity is highly reduced. Experimental result shows that VLCC works much faster and the usage rate of resource is heightened, and makes user more satisfied. New arithmetic is a better solution for VLCC.
Key words:
Virtual Laboratory of Cryptology based on Components(VLCC),
Directed Acyclic Graph(DAG),
topological sorting,
parallel
摘要: 基于组件的密码学虚拟实验室(VLCC)采用有向无环图(DAG)的拓扑排序机制管理组件。在分析VLCC各组件之间的数据依赖和运行次序关系的基础上,提出一种新的基于Java多线程机制和“唤醒”机制的DAG并行算法。与拓扑排序算法相比,具有低算法时间复杂度的特点。实验结果表明,系统在新算法下较大地缩短了系统运行时间,提高资源使用效率和用户满意度,能更好地完善VLCC。
关键词:
基于组件的密码学虚拟实验室,
有向无环图,
拓扑排序,
并行
CLC Number:
ZHOU Shen; YANG Lu-ming; DUAN Gui-hua. DAG Parallel Arithmetic in Virtual Laboratory of Cryptology Based on Components[J]. Computer Engineering, 2009, 35(19): 151-153.
周 深;杨路明;段桂华. VLCC中的DAG并行算法[J]. 计算机工程, 2009, 35(19): 151-153.