用户名: 密码: 验证码:
计算机支持协同设计系统的研究与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
计算机支持协同工作(Computer Supported Cooperative Work——CSCW)是一种将人类合作行为模式与计算机支持技术融合为一体的新兴技术,即在计算机技术支持的环境下,一个群体协作完成一项共同的任务。
    计算机支持的协同设计(CSCD)是计算机支持的协同工作中的一个重要领域,将协同工作的理论应用于设计系统就是计算机支持的协同设计。主要研究如何利用计算机网络对多人参与的协同设计工作和所涉及的数据和设计过程进行组织、管理和协调。
    本文在国内外相关研究的基础上,重点探讨了多代理协同体系结构、基于区域对象划分的协同控制策略和在AutoCAD系统上实现协同设计的方法,并基于AutoCAD实现了一个同步的协同设计系统。
    本文首先对计算机支持的并行工作(CSCW)作了简要介绍,然后介绍了针对AutoCAD进行二次开发可采用的技术(SCR、AutoLISP、ADS、Object ARX、VBA),重点介绍了本系统采用的Object ARX技术,并根据本人的实际开发经验对使用Object ARX开发AutoCAD系统所需要注意的几点事项作了简要说明。
    本文重点讨论了针对并发操作的各种协同机制。用户并发操作的冲突主要是对各种系统共享资源操作的冲突,系统资源有三种级别的共享方式:表示级共享(紧耦合):对于公共信息区的同一信息为用户提供统一的显示输出方式;视图级共享(中等耦合):每个用户使用的显示数据相同,但显示方式不同;对象级共享(松耦合):每个用户使用的显示数据都不相同。
    本文对四种常用的并发操作协同机制(发言权控制机制、基于对象的锁控制机制、操作转换机制和串行化机制)作了详细介绍和分析,然后根据企业(机械工业部第九设计研究院)的实际情况提出了工作任务的局部性原理,并结合基于对象的锁控制机制,提出了基于工作区域对象的并发操作协同机制。
    工作任务的局部性原理是指:一项复杂工作的完成需要多学科知识的综合运用,由于每个人都有其知识领域的局限性,所以从整个工作的角度看,每个人的工作都只完成了整个工作的一个局部,从整个的虚拟工作空间看,每个人的工作活动范围都只限定于一定的局部区域。也可以说是由于人们知识领域的局限性,才导致了其工作任务的局部性。
    
    工作区域是把共享的虚拟工作空间依据某种原则划分为若干个在一定程度上相互独立的虚拟工作区域,工作区域是对虚拟工作空间的一个划分,而不是覆盖。每个虚拟工作区域只能从属于一个用户,每个用户只在从属于自己的工作区中有操作权,而在其它工作区只能有观察权。只有该区域所从属的用户对该区域的操作客体对象有操作的权利,其他用户只能有观察的权利,从而避免了对共享客体对象操作冲突的发生。每个用户在自己的领域内的各种操作都会产生其所期望的正确结果。
    在这种基于工作区域对象的并行操作协同机制下,也同时划分了每个员工的工作责任区,保证了出现错误时工作责任的明确,从根本上消除了当错误出现时互相推诿工作责任的现象。
    工作区域对象只是一个抽象的概念,在涉及到具体的协同应用时,可以对应到不同的应用程序级的概念,在AutoCAD系统中可以把工作区域对象映射到AutoCAD的图层对象。虚拟工作空间是整个图形文档数据库,图形文档数据库由若干个图层对象组成,所有的图形实体对象都存在于图层上,而且图形实体对象不能同时存在于两个或两个以上的图层,图层对象完全满足虚拟工作区域对象的要求,所以在AutoCAD系统中可以采用图层对象作为虚拟工作区域对象。
    本文还重点讨论了协同系统的三种结构模型,即集中式结构、分散式结构和混合式结构。集中式机构由服务器集中负责整个系统的管理、控制和调度,客户机只有应用工具、用户界面等模块,负责与用户的交互;分散式结构遵循每个程序模块均处于同等地位,没有主从之分,与系统相关的控制和管理模块,同样也分散在各客户端;混合式结构由服务器和客户端共同完成系统的管理、控制和调度等,服务器实现信息的一致性维护、用户管理和全局信息的管理等功能,而客户端实现与用户的交互,以及其它一些可以在客户端完成的工作,如基本的权限检查等。
    单纯的集中式和单纯的分散式结构都不能较好地满足协同工作的需要,集中式容易使服务器成为系统瓶颈,分散式占用资源比较多,且一致性维护比较困难。混合式集集中式和分布的优点于一体,它在数据一致性、用户动态连接性、慢速网络的支持等方便都有很好的表现,本系统采用了混合式的结构。
    
    在第五章,本文提出了系统的实现方案。在这一部分本文介绍了系统的功能:为企业员工的协同设计工作提供一个网络支撑平台,并对用户的领域应用(AutoCAD)进行整合,使用户能够方便地使用AutoCAD完成协同设计工作,保证设计过程中的数据一致性、结果正确性等,然后分别介绍了系统的服务器和客户端所要实现的功能。
    在该系统的详细介绍部分,首先介绍了全局共享数据的存储管理方式——采用Oracle数据库进行管理,和需要管理的全局数据以及这些数据在系统中所起的作用等;
    然后详细介绍了系统服务器的实现方案、功能接口和程序模块结构,对服务器的各个功能模块和服务器提供给客户端的功能接口作了详细介绍;
    最后详细介绍了客户端的
Computer Supported Cooperative Work (CSCW) is a new technology, which syncretizes human's cooperation behavior mode and computer technology. It makes all members of a team complete a common work based on computer technologies.
    When CSCW is introduced to design area, it is CSCD (Computer Supported Cooperative Design). CSCD is an important domain of CSCW. It studies how to organize and manage the work, the data and the design processes.
    Based on the relevant research home and abroad, the thesis emphasizes the framework of multi-agent cooperative work, the control policy based on work area object and the implementation means on AutoCAD. And a synchronous cooperative design system is implemented.
    The thesis introduces the relevant knowledge of CSCW briefly first, then it introduces the available development techniques, which include SCR, AutoLisp, ADS, Object ARX and VBA etc. I take emphasis on the Object ARX which was adopted in this system. According to the experience of development using Object ARX on AutoCAD, I illustrate the problems that should be noticed.
    I take emphases on some collaborative principles which aim at the means to avoid the collision of the concurrent operation. The reason of the collision is simultaneous access to the same resource of the system. There are three grade modes of sharing the resource, the show grade sharing(tighten coupling), the view grade sharing(middle coupling) and the object grade sharing(loose coupling).
    I analyse four common collaborative principles in detail in the thesis, then according to the facts of the enterprise, I bring forward the principle of the part of the work mission and the collaborative principle based on area object.
    
    The principle of the part of the work mission is that the completion of a complicated work demands many courses knowledge be used integrated. Everyone is limited by his knowledge, he can do only a part of the work, in other words, his activities are limited in a part area of the whole working space.
    The working area is a part of the whole working space, which is compartmentalized into several parts according to some principle, these parts are independent in a way. One part belongs to a user. The user can operate objects only in his own part, in other part he only can read. Thus a shared object can be operated by only one user, the collision is eliminated and the duty of each employee is made clear.
    Working area object is abstract conception, it should be mapped to the application conception in different applications. In AutoCAD, it can be mapped to the layer. The whole working space is mapped to the graph document which consists of layers. Any graph object must exist in a layer and no graph object can exist in more than one layers. So the layer meets the request of the working area object, we can use layer as working area object in AutoCAD.
     Three architectures of collaborative system are discussed in detail in the thesis, they are centralized architecture, decentralized architecture and combination architecture. In centralized architecture, the server takes the responsibility of managing and controlling the whole system, the client only takes charge of serving the user by receiving inputs and showing data; In decentralized architecture, there is no server, all management and control functions are distributed into client agents, every agent is equal to others, no one can control others, they transfer messages to others to inform what happened; In combination architecture, the management and control functions of the system are taken charge of by the server and the client agents together, the server manages the coherence of the data and other
    
    
    global data, the client agents take charge of receiving data from user, showing data to user and some other functions that can be performed at client machine such as examining the user’s permission etc.
     The pure centralized architecture and pure decentralized architecture can’t meet the need of collaborative work. The centralized architecture makes the server bottleneck, the decentr
引文
[1]、李人厚、郑庆华、鲍家元,《CSCW的概念、结构、理论与应用》,计算机工程与应用,1997-12,P28
    [2]、刘鲁、刘军,《CSCW共享环境的结构模型》,决策与决策支持系统,1997-3,Vol.7,No.3,P1
    [3]、赵亚伟、张海盛、古乐野,《CSCW环境中动态信息感知技术》,计算机应用,2003-4,Vol.23,No.4,P29
    [4]、王兆青、顾尚杰,《CSCW系统的共享运行空间》,上海交通大学学报,1997,Vol.31,No.12
    [5]、郑庆华、李人厚,《CSCW的一种建模与实现方法》,计算机学报,1998-8,Vol.21,P270
    [6]、郑庆华、李人厚,《CSCW协作多用户接口的设计与实现》,小型微型计算机系统,1998-1,Vol.19,No.1,P40
    [7]、孙艳春,《CSCW系统体系结构中协作机制的研究》,小型微型计算机系统,2001-10,Vol.22,No.10,P1182
    [8]、贾阳、李磊、孙济洲,《CSCW系统的群组通信管理机制》,计算机应用,2003-4,Vol.23,No.4,P50
    [9]、冯晨华、徐捷、王鸿谷、庄钊文,《CSCW系统中共享对象的协作支持模型》,计算机研究与发展,1999-3,Vol.36,No.3,P304
    [10]、林建明、陈庆章、赵小敏、吕灵燕,《CSCW系统中群体感知技术的研究》,计算机工程,2001-9,Vol.27,No.9,P43
    [11]、王魁生、李人厚、李宏敏、张鹏程、任艳华,《CSCW系统中实时协同设计模型的研究》,计算机工程,2001-1,Vol.27,No.1,P8
    [12]、李敏强、王琛、周静,《CSCW系统中协同机制及协同活动模型》,系统工程与电子技术,2000-4,Vol.22,No.4,P28
    [13]、冯晨华、徐捷、王鸿谷、庄钊文,《CSCW系统中协作感知技术的研究》,小型微型计算机系统,1998-9,Vol.19,No.9,P61
    [14]、张鹏程、李人厚、秦明、田峰、顾新华,《基于Agent的开放式协同工作系统结构模型》,计算机应用,2002-3,Vol.22,No.3,P1
    
    [15]、何发智、高曙明、王少梅、孙国正,《基于CSCW的CAD系统协作支持技术与支持工具的研究》,计算机辅助设计与图形学学报,2002-2,Vol.14,No.2,P163
    [16]、张冰、张文英、张素伟,《基于CSCW的协同编著系统》,计算机工程与应用,2001-5,P80
    [17]、李成锴、詹永照、茅兵、谢立,《基于角色的CSCW系统访问控制模型》,软件学报,2000-11,Vol.11,No.7,P931
    [18]、肖波、张东、诸鸿文,《计算机支持的协同工作并发控制策略》,上海交通大学学报,1999-1,Vol.33,No.1,P101
    [19]、姜进磊、史美林,《CSCW中的对象同步与合并》,计算机研究与发展,2003-9,Vol.40,No.9,P1312
    [20]、徐文胜、熊光楞、钟佩思,《并行工程冲突管理总论》,计算机集成制造系统,2001-1,Vol.7,No.1,P2
    [21]、张新宇、张三元、叶修梓,《基于消息的协同设计中的冲突》,工程图学学报,2002-3,No.3,P24
    [22]、窦万峰、谢立,《协同CAD系统并发操作冲突推理》,机械设计,2001-5,No.5,P5
    [23]、李健,张鸿梁,王计斌,熊光楞,《基于网络的协同设计方法研究》,清华大学学报(自然科学版),2000,Vol.40,NO.9, P93-96
    [24]、邵俊昌、李旭东,《AutoCAD ObjectARX 2000开发技术指南》,电子工业出版社,2000年3月第1版
    [25]、Kevin L Mills,《Introduction to the electronic symposium on computer-supported cooperative work》,ACM Computing Surveys,V 31 I2(1999),P105
    [26]、J.Grudin,《Computer Supported Cooperative Work》,History and Focus,IEEE COMPUTER,V27 I5(1994)
    [27]、Oliver Stiemerling,Armin B.Cremers,《The Use of Cooperation Scenarios in the Design and Evaluation of a CSCW System》,IEEE TRANSACTIONS ON SOFTWARE ENGINEERING,V 24 N12(1998)

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700