Real-time database system applied to weak current integrated system of tram
-
摘要: 由于传统关系型数据库无法满足基于组态软件的有轨电车弱电集成系统对于实时性的要求,提出利用内存数据库技术、面向对象模块化设计方法实现实时数据库系统的设计思路。通过分析有轨电车弱电集成系统实际数据特点,建立实时数据库数据模型,采用基于优先级2PL算法的锁式事务并发控制技术解决了实时数据库系统中实时事务冲突问题,利用面向对象的模块化设计方法以及动态链接库技术提供实时数据库的部分接口函数,并以有轨电车弱电集成系统子系统之一的电力监控系统为例,对实时数据库系统进行验证。结果表明,该实时数据库系统能够满足实时性要求,目前已成功应用在深圳龙华线有轨电车弱电集成系统项目。Abstract: As the traditional relational database can not meet the requirement of the weak current integrated system which is developed by using configuration software for real-time. A design method of RTDB applied to the weak current integrated system of trame was put forward by using main memory database technology and object-oriented modular design method. By analyzing the actual data characteristics, the data model of the RTDB was built. The lock transaction concurrency control technology based on priority two-phase lock algorithm was used to solve the real-time transaction conflict problem in RTDB. By using object-oriented modular design method and dynamic link library technology, some interface functions of the RTDB were provided. Taking the power supervisory system of one of the subsystems of the weak current integrated system as an example, it is proved that the RTDB meets the real-time requirements and has been successfully applied to the tram weak current integrated system in Shenzhen Longhua Line tram project for the moment.
-
-
[1] 王荃,垒壹,李福中.工控组态软件实时数据库系统的设计与实现[J]. 化工自动化及仪表,2000,27(3):40-43. [2] 张维. 实时事务处理的研究与设计[D].武汉:华中科技大学,2008:4-5. [3] 刘云生,易岚.一个实时数据模型[J].小型微型计算机系统,2000,21(5):550-551. [4] 雷建,王润孝,沈昕.流程工业生产调度与控制集成系统数据库设计[J].工业仪表与自动化装置,2008(3):74-74. [5] P.A.Thopmpson.A temporal data model based on accounting principles.[D]PhD thesis,Dept. of Computer Science. Univ. of Calgary,Calgary,Alta.,Canada,Mar.1991. [6] 程昌秀,申排伟,陆锋.面向拓扑空间实体的扩展锁技术[J].计算机辅助设计与图形学学报,2005,17(2):209-210. [7] 姚晓玲,吴哲辉. 2PL协议的Petri网模型[J].计算机工程与应用,2004,40(24):160-161. [8] 金久强,王浩.北京地铁6号线行车综合自动化系统设计与实现[J].铁路计算机应用,2015,24(8):56-57.
计量
- 文章访问数: 61
- HTML全文浏览量: 0
- PDF下载量: 24