摘要
在医检仪器领域,经常使用通信中间件来简化软件结构,提高可维护性。医检仪器随着技术发展,逐渐需要与更多的网络设备使用多种协议进行通讯,若在同一台仪器上运行多个单一中间件会引起资源浪费。介绍了一种支持多种协议的通信中间件,使用事件驱动的方式设计多协议中间件服务器,减少使用线程,提高资源利用率;同时使用观察者模式,解耦通信中间件与管理机系统,提高系统可维护性、扩展性。
In the field of medical examination instruments, communication middleware is often used to simplify the software structure and improve maintainability.With the development of technology,medical examination instruments gradually need to communicate with more network devices using multiple protocols.If multiple single middleware are run on the same instrument,it will cause a waste of resources.This paper introduces a communication middleware supporting multiple protocols.The multi protocol middleware server is designed in an event driven manner to reduce the use of threads and improve the utilization of resources.At the same time,the observer mode is used to decouple the communication middleware and the manager system to improve the maintainability and scalability of the system.
出处
《工业控制计算机》
2022年第5期1-3,共3页
Industrial Control Computer
关键词
多协议中间件
分布式通信
医检仪器
观察者模式
multi protocol middleware
distributed communication
medical examination instruments
observer mode