摘要
在PC机与多个单片机构成的应用系统中,一方面需要PC机与单片机稳定可靠的通信,另一方面需要PC机端有功能强大的管理系统。文中将管理系统设计成表示层、业务层和通信层三层结构。通信层上采用对象池模式可以使业务层中对下位机对象的使用与对象的产生、管理分离。通信层中使用双重检测和下位机中采用状态重复检测保证了向上层提供高可靠性的信息。文中提出的主控机软件三层结构和通信层中采用对象池模式和双重检测技术可以应用到其它相似的系统中。
The system which composed of PC and multiple microprocessors needs not only the reliable communication between PC and microprocessors,but a powerful management system. The management system in this paper is designed to three layers: Presentation, Business and Communication. The Object Pool Pattern is used in Communication layer in order to separate using of singlechip objects from creating and managing of objects.Excellently reliable information is provided by dual checkings in Communication layer and repeating check status in microprecessors.The three layers architecture , the Object Pool Pattern, and dual checkings in Communication layer in the paper can apply to other similary application systems.
出处
《微计算机信息》
北大核心
2006年第12Z期71-73,87,共4页
Control & Automation
关键词
模式
设计模式
主控机
通信层
对象池模式
Pattern,Design Pattern,master computer,Communication Layer,Object Pool Pattern