实时数据库系统是DCS组态软件体系结构的关键部分。通过分析实时数据库的特点和DCS系统的使用要求,提出了采取传统数据库系统、文件系统和内存数据库系统兼用的多种存储介质来构建的实时数据库系统,并利用DLL来建立动态实时数据库,从而实现代码和资源共享,进而实现任务间的快速通信。最后给出了实时数据库及相关数据模型的实现方法实例。
Real time database is the critical component of architecture of DCS configuration software. Through analyzing the features of real time database and the requirement of operation of DCS, a real time database system is established with compatible multiple media for conventional database system, file system and memory database system. In addition, by using DLL, the dynamic real time database is established to implement sharing of codes and resources, thus fast speed communication between tasks is realized. Practical examples of implementing methods for real time database and relevant data models are given.