论文部分内容阅读
针对冷连轧过程控制系统的数据特点与需求,运用Oracle 10g数据库及Microsoft Visual Studio 2010,进行数据结构设计。出于数据缓存实现和数据可靠性目标,提出了一种数据库数据缓冲机制,确立了OO4O作为系统的数据库访问方法,并采用模板类实现共享内存设计。同时,给出了基于事件、计时器和消息的3种实际数据的采集方法,并使用Oracle触发器实现数据库操作,最终完成冷连轧过程控制的数据库系统开发,并将其应用到生产实践中。结果表明,该数据库系统有效保证了在线数据库的实时性,大大简化程序设计,有利于提高系统运行效率,适合于工业生产实践。
Aiming at the data characteristic and demand of the cold rolling process control system, the data structure design is realized by using Oracle 10g database and Microsoft Visual Studio 2010. For data cache implementation and data reliability goal, a database data buffering mechanism is proposed, OO4O is established as a system database access method, and a template class is used to implement shared memory design. At the same time, three methods to collect actual data based on events, timers and messages are given, and the database is operated by using Oracle trigger. Finally, the database system of cold rolling process control is developed and applied to production practice . The results show that the database system effectively guarantees the real-time performance of the online database, greatly simplifies the program design, is conducive to improving the system operating efficiency, suitable for industrial production practices.