摘要
以煤矿监控系统为平台,监控分站为设计对象,设计了带有多线程安全的双数据缓存技术,传感器数据帧进入队列存放后,监控分站对数据帧逐一进行解析处理后,封装成以太网数据包发送给中心站软件,另外考虑避免饥饿或死锁发生,设计的数据缓存技术加入了多线程安全保护。实际应用证明:该数据缓存队列软件架构清晰,占用内存小,易实现,提升了系统数据处理能力,解决了分站对中心站指令、传感器数据处理不及时、丢失等问题。
Taking the coal mine monitoring system as the platform and the monitoring substation as the design object,the dual data cache technology with multi-thread safety is designed.After the sensor data frames are stored in the queue,the monitoring substation analyzes and processes the data frames one by one,and then encapsulates them into Ethernet packets,which are sent to the central station,the data cache technology designed in this paper adds multi-thread safety protection.The practical application shows that the data cache queue software architecture is clear,occupies less memory,and is easy to implement.It improves the data processing ability of the substation,and solves the problems such as the delay and loss of substation instructions to the central station and sensor data.
作者
丁远
DING Yuan(China Coal Technology and Engineering Group Shenyang Research Institute Co.,Ltd.,Fushun 113122,China;State Key Laboratory of Coal Safety Technology,Fushun 113122,China)
出处
《煤矿安全》
CAS
北大核心
2021年第4期152-155,共4页
Safety in Coal Mines
基金
煤科集团沈阳研究院有限公司创新引导基金资助项目(SYYD-20CK-005)。
关键词
煤矿监控系统
监控分站
多线程安全
数据缓存
双缓存队列
coal mine safety monitoring and control
monitoring substation
multi-threading safety
data cache queue
double cache queue