节点文献

实时软件开发技术的研究与实现

【作者】 胡靖宇

【导师】 胡正国;

【作者基本信息】 西北工业大学 , 计算机软件与理论, 2002, 硕士

【摘要】 随着实时系统应用领域的不断扩大,系统的复杂度也越来越大,导致软件的规模也越来越大了,这就对实时软件开发的工程化方向提出了新的要求。 在实时计算中,系统的正确性不仅仅依赖于计算的逻辑结果而且依赖于结果产生的时间。这决定了实时系统中需要处理的问题会比通用系统中更多,也更需要系统有更高的能力去满足要求。 针对实时系统设计中出现的问题,本文全面分析并系统地阐述了多种实时系统的性能评价方法、工作原理和设计方法。在系统的分析设计过程中,把当前和软件工程结合的UML方法引入到实时系统的分析和设计中,希望能给我们现在的实时系统设计带来点新的设计思想。 首先,本文从实时系统的性能评价方法入手,介绍了实时系统设计中自上而下的一种分析方法,使得设计人员可以更好的在软件和硬件间做到平衡。 然后指出了实时系统设计中,需要注意的一些重要问题,并提出了相应的设计方法,包括任务的分配和调度方法,实时通讯技术和容错技术。并讨论了一个实时程序设计语言及其工具应该所有的特征。 进一步,为了让实时软件的开发更好的符合软件工程的思想,提出了实时系统用UML进行系统设计和建模的方法和过程,并用UML描述了关口表计费采集系统的需求、分析和设计。在系统中,为了增加Socket连接请求的有效性和数据存储的瓶颈问题,在数据库服务器中使用了Socket连接池和数据库连结池,以减少这两个问题对系统造成的影响。为了保持系统的高可靠性,在整个系统中使用了守护狗模式,对通讯服务器使用了主备保护模式,并对数据库服务器进行了集群。对数据库服务器进行集群带来的另一个好处是,解决了数据库服务器的负载均衡问题。通讯服务器还支持数据的磁盘备份,以允许数据传输的延迟服务,来消除数据库服务器端Socket请求数的瞬间过载对数据传输服务造成的影响。 在文章的最后,总结了本次研究工作的缺点和不足,提出了日后需要改进和完善的地方。

【Abstract】 The complex of system becomes increased when the application area of real-time system expands, thus the scale of the software becomes larger and larger. So it brings new requirement in software development in real-time system.The correct of the system depends on not only the logic result computed but also the time the computation spent. Thus it needs to handle more issues and hold more sufficient ability in real-time system than in general system.It expatiates working principle in real-time system and a number of ways to evaluate performance, to design the system. It brings the development method of UML which is combined with software engineering, and hopes that it will bring a new design idea to the way in designing real-time system.This article begins to discuss the performance evaluation in real-time system to tell us a method to analysis of real-time system in top-down, and thus we can make a balance between software and hardware.Then it presents some important issues we should be noticed, and makes the corresponding methods to design including task assignment and scheduling, real-time communication and fault-tolerance techniques, and discuss the characteristic that a real-time language and tools should hold.And, it presents the way in designing and modeling system with UML in real-time for that it can meet the concept of software engineering better. It also describes the requirement, analysis and design of Meter-fee collection System with UML. Socket connect-pool and database connect-pool are used in the system for increasing the validity of socket connection-request and the speed of data storage. And there are the watch-dog pattern used in the system, the master-salve pattern used in the communication servers and the cluster used in the database servers for the high reliability to the system. The cluster technology also is a solution for load-equilibrium for all the database servers. Support disk-store for data when the instant overload of socket-request happened and the data-transit service can be delayed.The defect in the research and work are summarized lastly, and presents the improvement which can be done in the future.

  • 【分类号】TP311.52
  • 【被引频次】3
  • 【下载频次】182
节点文献中: 

本文链接的文献网络图示:

本文的引文网络