基于DCOM的分布式多层体系结构在PSMIS中的设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着Internet/Intranet技术的发展与壮大,企业业务运作模式发生相应的变化,计算机应用系统也由单机模式向网络模式发展。分布式多层结构模式正是在这种环境下产生并发展的。与传统的两层结构模式相比较,多层体系结构实现了业务的集中控制,真正实现了“瘦客户”体系结构,使得系统更具扩展性与伸缩性。
     牵引供电运营管理信息系统简称PSMIS系统,通过计算机技术可为铁路供电部门复杂的传统业务提供可靠实现,并能实时监测现场设备运行状态和人员工作情况,为管理决策者提供及时准确的辅助信息和决策依据。在诸如PSMIS系统的大型应用系统中,企业业务庞大而复杂,用户数量多,系统体系结构的选择和设计是其中的关键,它将关系到系统业务如何控制、系统的可扩展性、可维护行、负载均衡能力与数据安全性等诸多问题。因此,PSMIS系统的结构设计与实现作为课题具有一定现实意义的。
     多层结构模式是建立在分布式技术基础之上的。当今流行的分布式技术主要有DCOM和CORBA。本文对当今流行的两种分布式技术:DCOM和CORBA的技术特点与工作原理做了介绍。由于DCOM技术具有安装配置简单、速度快等特点,并且结合PSMIS系统的操作系统平台的特点选择其作为系统的分布式环境。在对多层体系结构和传统的两层结构进行分析对比的基础上,结合PSMIS系统资源分布、业务特点以及用户分布的特点,本文突出了前者在系统的可扩展性、可维护性以及数据安全性等方面的特点和优点。本文提出了PSMIS系统的分级的多层结构的解决方案,实现业务层次分布式与层次结构上的分布式,以适应供电段各部门在业务划分、地理分布、资源分布上的特点。
     为了保证系统结构层次清晰明确和其它良好特性,在实现当中要严格遵循多层结构的开发规范,逐层实现各个层次。本文给出PSMIS系统中一个简单业务的实现作为例子,通过MIDAS技术实现分布式多层结构。文中的例子对多层结构的开发标准作了强调,列出相关功能的关键性Delphi代码。
With the development of the Internet/Intranet, the operation mode of enterprisers in the past have been changed accordingly, and the system of computer application have changed the computing method from mode of single machine to network computing. The mode of multi-tier distributed architecture came into being in this environment. Compared with the conventional tow-tier mode, the multi-tier architecture makes the business centralized control, and brings the real "thin client" into success, all this will cause more expandability and scalability in the system.
    PSMIS is the shortened form of Power Supply Management Information System. Through the computer technology, PSMIS, which can provide the reliable implementation of the complex business for power supply department, and monitor the real-time state of the devices and the state of the employees in the spot, will provide the veracious information and warrant of decision for managers and decision-makers in time. In the large-scale application system of the enterpriser such as PSMIS, because of heavy and complex business, multitudinous user, the key for success will be the choice for the architecture. The system architecture will affect the control methods of the business rule, expandability and maintainability in the system, the capability of load balance and the security of the data. Therefore the subject study for the design and implementation of the multi-tier distributed architecture in PSMIS has practical meaning in some degree.
    The multi-tier architecture mode is based on the distributed technology that include tow main technology: DCOM and CORBA. The paper will introduce the technical feature and operating principle of DCOM and CORBA. Because of the merits of DCOM in installation and rate of execution we choose it for the basic technology of the distributed environment. Based on the comparison and analysis between multi-tier distributed architecture and conventional tow-tier mode of C/S, the paper puts the focus on the merits of the former in maintainability, scalability and data security of the system. The paper presents the resolution of hierarchical multi-tier architecture for PSMIS, which will
    
    
    implement the distributed computing in business an architecture hierarchy.
    In order to ensure the well-known feature clarity and definitude in the architecture hierarchy, we severely follow the development standard of the multi-tier architecture and complete the code layer by layer in the implementation of the PSMIS. The paper presents a simple example of PSMIS business, and gives the code of the implementation that based on MIDAS. The paper emphasizes the development standard and code rule of the multi-tier architecture.
引文
[1] Steve Teixeira,Xavier Pacheco.Delphi 6开发人员指南.任旭均 等译.机械工业出版社,2002
    [2] Tbuan L.Tbai.DCOM 入门.陈逸 译.中国电力出版社,2001
    [3] Box,D.COM 本质论.潘爱民 译.中国电力出版社,2001
    [4] 潘爱民.COM 原理与应用.清华大学出版社,2001
    [5] Dale Rogerson.COM 技术内幕——微软组件对象模型.杨秀章 译.清华大学出版社,1999
    [6] 约翰·斯万科.COM 编程精彩实例.许颖 译.中国电力出版社,2001
    [7] 李维.Delphi 5.X 分布式多层应用系统篇.机械工业出版社,2000
    [8] 李维.Delphi 5.X 分布式多层应用电子商务篇.机械工业出版社,2000
    [10] 李维.Delphi 5.X 高效率数据库应用系统篇.机械工业出版社,2000
    [11] 李维.Delphi 5.X ADO/MTS/COM+ 高级程序设计篇.机械工业出版社,2000
    [12] 王涛.多层分布式数据库实战.清华大学出版社,2000
    [13] 陈锐.Delphi 分布式多层应用程序开发.清华大学出版社,2002
    [14] Corry,Mayfield,Cadman.COM/DCOM 编程指南.刘云 孔雷 译.清华大学出版社,2000
    [15] Randy Abernethy.COM/DCOM 技术内幕.汪浩 郭钰 等译.电子工业出版社,2000
    [16] http://www.omg.org/
    [17] Don Box.Effective COM 中文版.余蒲澜 译.中国电力出版社,2003
    [18] Jason Pritchard.COM与CORBA 本质与互用.徐金梧 等译.北京科海电子出版社,2002
    [19] Dirk Slama Jason Garbis Perry Russell.CORBA 企业解决方案.李师贤 郑红 吴涛 译.机械工业出版社,2001
    [20] 朱其亮 郑斌.CORBA 原理及应用.北京邮电大学出版社,2001
    [21] O.Otte,P.Patrick,M.Roy.CORBA 教程:公共对象请求代理体系结构.李师贤 译.清华大学出版社,2000
    [22] OMG.CORBA 系统结构原理与规范.电子工业出版社,2000
    
    
    [23] OMG.CORBA 语言映射.韦乐平 薛君敖 孟洛明 译.电子工业出版社,2001
    [24] Julian Bucknall.DELPHI 算法与数据结构.林琪 朱涛江 译.中国电力出版社,2003
    [25] 李维.DELPHI 7 高效数据库程序设计.机械工业出版社,2003
    [26] 陈宽达.DELPHI 深度历险.科学出版社,2001
    [27] 刘艺.DELPHI 面向对象编程思想.机械工业出版社,2003
    [28] 赛奎春 郑骁鹏 郑齐心等.DELPHI 数据库开发实例解析.机械工业出版社,2004
    [29] Ray Lischner. Delphi in a Nutshell. O'Reilly, 2000
    [30] Subrata Mazumdar. Network Management Using Distributed Object Technologies.URL:http://www.bell-labs.com/~mazum/
    [31] Paul Kimmel. Building Delphi 6 Applications. McGraw-Hill, 2001
    [32] Cantu,U.Delphi 6 从入门到精通.王辉译 等译.电子工业出版社,2002
    [33] 刘艺.DELPHI5 企业级解决方案及应用剖析.机械工业出版社,2000
    [34] 张人千 孙壮志.分布式多层应用系统实证研究.计算机工程与应用,2002(5)
    [35] 陈耿 文登敏.一个基于 MIDAS 的分布式数据库软件的实现.计算机应用,2002(09)
    [36] 严芬 汤克明.一个基于分布式多层结构的安全应用系统的实现.计算机应用研究,2002(11)
    [37] 许斌 张浩文.基于COM的分布式多层应用软件开发.计算机系统应用,2002(02)
    [38] 谢军.利用ASP和DCOM技术构建多层分布式应用.计算机系统应用,2002(05)
    [39] http://www.huihoo.com/corba/index.html
    [40] 施建美 孙全国.Delphi 的COM/DCOM 线程模型和多层应用系统.微型电脑应用,2002(04)
    [41] 薛恩.分布式数据库系统的体系结构浅析.武汉职业技术学院学报,2003(01)
    [42] 周劲 谷岩.基于中间件技术的多层分布式应用系统的开发.微机发展,2003(08)
    
    
    [43] 章丽平 朱莉 等.提高分布式多层系统执行效率方法的研究.微机发展,2004(02)
    [44] http://forum.Borland.com
    [45] http://www.huihoo.com/document/middleware.html
    [46] Andrew S.Tanenbaum,Maarten van Steen. Distributed Systems:Principles and Paradigms. Prentice Hall/Pearson 2002
    [47] Borland Co. Why Multi-tier? Awhite paper discussing the benefits of a multi-tier application system
    [48] 吴庆星 叶思敏.基于分布式多层结构的水泥厂 MIS 系统.四川大学学报,2002(06)
    [49] http://www.csdn.net
    [50] http://msdn.microsoft.com/library/ default.asp ?url=/library/en-us/dndcom/html/msdn_dcomtec.asp
    [51] Kevin Loney,George Koch.ORACLE 9ⅰ参考手册.钟鸣 石永平 郝玉洁译.机械工业出版社,2003

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

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

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