摘要
并行程序设计由于需要考虑进程之间的同步等问题使得编码过程十分复杂。可视化的并行程序设计为程序员提供了图形化的编程模板和骨架来进行并行程序的设计工作,在一定程度上减小了并行程序的设计难度。首先研究软件事务性内存模型,它相对于传统的并行程序设计方法而言有着接口简单灵活,可扩展性强等特点,之后将STM模型运用到可视化程序设计中来,使得其编程接口以UML活动图的形式提供给编程人员使用,不用依赖特定的软件或硬件环境,提高了可视化并行程序设计的通用性与可扩展性。
The encoding process of parallel programming is quite complicated due to the necessity of the consideration of interprocess synchronisation. Visual parallel p.rogramming provides the programmers a graphic programming template and skeleton to carry out the design work of parallel programs, this attenuates to certain extent the difficulty of parallel programming. In the paper we first study the model of software transactional memory (STM), compared with conventional parallel programming approaches, it has some advantages such as simple and flexible interface and strong scalability; Then we apply the STM model to visual programming and make its programming interfaces in the form of UML activity graph for the utilisation by the programmers, which no longer relies on the specific software or hardware environment, this improves the universality and scalability of the visual parallel programming.
出处
《计算机应用与软件》
CSCD
北大核心
2012年第12期161-163,170,共4页
Computer Applications and Software
关键词
可视化
并行程序设计
软件事务性内存
扩展性
Visual Parallel programming Software transactional memory Scalability