Realization of Multi-Thread Serial Communication in Sensor Network of Cross-Platform Access Terminal
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.
sensor networkcross platform accessserial communicationmultithreadingtemporal and spatial correlationtiming com-pensation