跨平台访问端传感网络串口通信多线程实现  

Realization of Multi-Thread Serial Communication in Sensor Network of Cross-Platform Access Terminal

在线阅读下载全文

作  者:许弟建 吴云君 孙韬[2] XU Dijian;WU Yunjun;SUN Tao(School of Electrical Engineering,Chongqing University of Science and Technolog,Chongqing 401331,China;School of Electrical Engineering,Chongqing University,Chongqing 400044,China)

机构地区:[1]重庆科技大学电气工程学院,重庆401331 [2]重庆大学电气工程学院,重庆400044

出  处:《传感技术学报》2024年第1期130-135,共6页Chinese Journal of Sensors and Actuators

基  金:重庆市教委科技项目(KJQN202101519)。

摘  要:串口是外部串行设备与计算机之间的关键数据传输通道,由于跨平台访问端的传感器数据来自不同平台,具有显著独立性,融合难度较大,直接影响多线程通信效率。提出一种针对跨平台访问端传感网络的串口通信多线程实现方法。构建跨平台访问端,采用统计概率置信度算法,修正或剔除传感网络数据中的异常值。从时间相关性和空间相关性,完成传感网络的数据融合。依据信标时序补偿网络时钟同步法、父子链路时序轮转调度法,分配多线程执行信息传输,实现跨平台访问端传感网络串口多线程通信。实验表明:当线程数量由1增加至16时,在低网络流量和高网络流量负载情况下,所提方法的传感网络延迟可控制在0.53 ms以内。且在相同传输错漏率下,所提方法的进程平均超限步数始终更低。Serial port is the key data transmission channel between external serial devices and computers.Because the sensor data of cross platform access terminal comes from different platforms,it has significant independence and is difficult to integrate,which directly affects the efficiency of multi-threaded communication.A multithreading implementation method of serial communication for cross plat-form access sensor networks is presented.The cross platform access terminal is constructed,and the statistical probability confidence al-gorithm is used to correct or eliminate the outliers in the sensor network data.From the time correlation and space correlation,the data fusion of the sensor network is completed.According to the beacon timing compensation network clock synchronization method and the parent-child link timing rotation scheduling method,multithreading is allocated to perform information transmission,and serial port mul-tithreaded communication of the cross platform access end sensor network is realized.Experiments show that when the number of threads increases from 1 to 16,the sensor network delay of the proposed method can be controlled within 0.53 ms under the conditions of low network traffic and high network traffic load.Moreover,under the same transmission error and leakage rate,the average process overrun steps of the proposed method are always lower.

关 键 词:传感网络 跨平台访问端 串口通信 多线程 时空关联性 时序补偿 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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