Study and Application of Data Storage Algorithm for Multi-channel Serial Communication
Aiming at the problems of data loss and baud rate identification in multi-channel serial communication data,a multi-stream and multi-buffered Ping-Pong algorithm was proposed to store serial communication data,which solved the problem of receiving and storing multi-channel serial communication data with uncertain frame interval time and variable length.A multi-channel serial communication data storage algorithm was studied,in order to solve the problems of data loss and difficult baud-rate identification for serial communication data.Using DMA(direct memory access)and serial communication interrupting technology of microprocessors,a multi-serial communication data recorder was designed.Tests show that using data recorders with multi-serial storage algorithm can effectively solve the issues of serial data loss and self-identification baud-rate,and the data recorder is suit-able for the application of large capacity.
serial communication data storagePing-Pong algorithmadaptive baud-ratedata recorder