基于状态机与线程级多任务并行模型的数据采集传输调度设计  被引量:1

Data Acquisition Transmission Scheduling Design Based on State Machine and Thread-level Multitasking Parallel Model

在线阅读下载全文

作  者:王荣杰 孙煜 刘文军 陈根华[1,2] 冯祥胜 黄志开[1,2] WANG Rongjie;SUN Yu;LIU Wenjun;CHEN Genhua;FENG Xiangsheng;HUANG Zhikai(Nanchang Institute of Technology,School of Information Engineering,Nanchang Jiangxi 330224;Jiangxi Yishan Environmental Protection Co.,Ltd.,Nanchang Jiangxi 330224)

机构地区:[1]南昌工程学院信息工程学院,江西南昌330224 [2]江西怡杉环保股份有限公司,江西南昌330224

出  处:《软件》2022年第11期50-53,共4页Software

基  金:国家重点研发计划资助项目(环保专用智能数据采集传输仪)(2019YFB1704502)。

摘  要:为解决水质污染物数据采集传输系统中多任务事件响应及数据传输不稳定问题,将数据采集传输功能分为若干子任务模块,引入状态机理论作为多任务调度研究理论基础,设计线程级多任务并行模型作为调度研究支持,由状态机维护多任务、多线程数据请求,基于实际数据采集过程中建立采集传输事件与控制任务的关联关系,实现对采集传输事件的快速响应。采用基于线程级多任务并行模型调度方法实现自检、告警、配置和通信等功能,利用互斥锁达到通道隔离目的,提高系统的抗干扰性。最后对采集传输系统进行实地污染物数据采集监测实验。实验表明:基于状态机与线程级多任务并行模型的调度方法可以有效稳定地完成数据的采集和传输。To solve the problem of multi-task event response and data transmission instability in the water quality pollutant data collection and transmission system, the data collection and transmission function are divided into several sub-task modules, and the state machine theory is introduced as the theoretical basis for multi-task scheduling research, the thread-level multi-task parallel model is designed as scheduling research support, and the correlation between the collection and transmission events and control tasks is established based on the actual data collection process by the state machine maintains multi-task and multi-thread data requests to achieve fast response to acquisition and transmission events. The thread-level multi-task parallel model scheduling method is used to realize the functions of self-test, alarm, configuration, and communication, and the use of mutual exclusion lock to achieve the purpose of channel isolation and improve the anti-interference of the system. Finally, field pollutant data collection and monitoring experiments are conducted on the collection and transmission system. The experiments show that the scheduling method based on a state machine and thread-level multitasking parallel model can effectively and stably complete the data acquisition and transmission.

关 键 词:环保专用 多线程 多任务调度 任务判别状态机 线程级多任务并行模型 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象