Transmission Document Design Based on Serial Port Definition Agreement

Jing Zhang · Computer Technology and Development · 2012

In order to use the serial port to transmit the document correctly,it selected the seal data frame method to realize this goal.First the circulation process is divided into 3 parts:the transmission filename,the transmission document size and the transmission document content.In view of each process to design different data frame structure,use the order character of the structure to differentiate the different period of the transmission.In the sending process,there possibly presents the data missing or line fault to influence data transmissions,this question is avoided to establish the reproduction mechanism.Before sealing the data,carry on the contrast to the data part byte one by one,transmit the keywords of frame head and frame tail to carry on the replace,guarantee the key words is only in the transmission data.The result indicated that this method can complete the document transmission highly effective and accurate using the definition data frame structure to seal data to the transmit data.

Read the paper · More papers on PaperTik