农业工程学报
農業工程學報
농업공정학보
2014年
13期
153-159
,共7页
杨敬锋%张南峰%李勇%薛月菊%吕伟%何堃
楊敬鋒%張南峰%李勇%薛月菊%呂偉%何堃
양경봉%장남봉%리용%설월국%려위%하곤
农业机械%数据传输%数据压缩%作业状态%Huffman编码
農業機械%數據傳輸%數據壓縮%作業狀態%Huffman編碼
농업궤계%수거전수%수거압축%작업상태%Huffman편마
agricultural machinery%data transfer%data compression%operation state%Huffman coding
为解决通讯环境较差的农业机械作业状态数据的传输难题,该文提出了基于改进Huffman编码技术的数据压缩方法实现数据的压缩、传输、解析与解压。数据压缩与解压测试的结果表明,数据采集周期为5 s、数据长度为918.38 kb时,基于改进Huffman算法压缩的数据长度为412.56 kb,同样条件下对比传统Huffman算法压缩的数据长度498.56 kb小86 kb,压缩率从传统Huffman算法的45.71%提升至改进Huffman算法的55.08%;传统Huffman算法中数据传输出错率和数据传输丢包率为2.47%和4.18%,而在同样传输要求下的筛选压缩传输中数据传输出错率和数据传输丢包率降至2.06%和0.78%。该方法能满足农业机械作业状态数据压缩传输要求,在单个数据包数据较少、传输时间短的压缩传输方式下能够获得较低的传输出错率和丢包率,且该方法具有计算量少、压缩效率较高特点,适合在农业机械作业区域进行数据传输。
為解決通訊環境較差的農業機械作業狀態數據的傳輸難題,該文提齣瞭基于改進Huffman編碼技術的數據壓縮方法實現數據的壓縮、傳輸、解析與解壓。數據壓縮與解壓測試的結果錶明,數據採集週期為5 s、數據長度為918.38 kb時,基于改進Huffman算法壓縮的數據長度為412.56 kb,同樣條件下對比傳統Huffman算法壓縮的數據長度498.56 kb小86 kb,壓縮率從傳統Huffman算法的45.71%提升至改進Huffman算法的55.08%;傳統Huffman算法中數據傳輸齣錯率和數據傳輸丟包率為2.47%和4.18%,而在同樣傳輸要求下的篩選壓縮傳輸中數據傳輸齣錯率和數據傳輸丟包率降至2.06%和0.78%。該方法能滿足農業機械作業狀態數據壓縮傳輸要求,在單箇數據包數據較少、傳輸時間短的壓縮傳輸方式下能夠穫得較低的傳輸齣錯率和丟包率,且該方法具有計算量少、壓縮效率較高特點,適閤在農業機械作業區域進行數據傳輸。
위해결통신배경교차적농업궤계작업상태수거적전수난제,해문제출료기우개진Huffman편마기술적수거압축방법실현수거적압축、전수、해석여해압。수거압축여해압측시적결과표명,수거채집주기위5 s、수거장도위918.38 kb시,기우개진Huffman산법압축적수거장도위412.56 kb,동양조건하대비전통Huffman산법압축적수거장도498.56 kb소86 kb,압축솔종전통Huffman산법적45.71%제승지개진Huffman산법적55.08%;전통Huffman산법중수거전수출착솔화수거전수주포솔위2.47%화4.18%,이재동양전수요구하적사선압축전수중수거전수출착솔화수거전수주포솔강지2.06%화0.78%。해방법능만족농업궤계작업상태수거압축전수요구,재단개수거포수거교소、전수시간단적압축전수방식하능구획득교저적전수출착솔화주포솔,차해방법구유계산량소、압축효솔교고특점,괄합재농업궤계작업구역진행수거전수。
In order to solve the poor communication environment problem of agricultural machinery operation state data transmission caused by the unbalanced coverage of a mobile communication base station, a data filtering and data compression method based on an improved Huffman coding technique was proposed for data selecting, compression, transmission, parsing, and extracting in this paper. First, the agricultural machinery operation data types, exchange mode, and compression mode were defined. Then, data collection and exchange were realized based on a Compass/GPS dual-mode state data collection terminal. Finally, an improved Huffman coding technique was proposed. At present, most of the data transmission is using a compression-decompression method to ensure data integrity of data transmission, which can reduce the data traffic and save many communication costs, but its disadvantages are also obvious. The disadvantages are fewer on the terminal in the data transmission, and are mainly manifested in the need to compress the data of each group, leading to delayed transmission time, which will affect the platform performance. Considering the common problem of an agricultural machinery state data collection terminal and monitoring platform, a driving state data optimization method combined with platform data recognition was proposed in this paper, whose research has practical significance for the platform designing of data collection, transmission, and monitoring. To achieve data transmission and access, the design of a monitoring platform necessarily must use data extraction methods combined with terminal data optimization. That is, adding the terminal data processing optimization algorithm while designing a terminal data transmission module to overcome the pressure of the data management system for wireless communications and the corresponding pressure for a backstage management system. At the same time, adding data extraction and recognition algorithms while monitoring platform receiving data could optimize the expression of data and reduce the amount of data, so as to improve the efficiency of the whole system. Data compression and decompression testing results showed that it could obtain a 55.08% compression ratio with 412.56 kb transmission operation data length by the data acquisition cycle of 5 seconds, and the error rate of data transmission and data transmission packet loss rate were 2.47% and 4.18% respectively, while the error rate of data transmission and data transmission packet loss rate fell to 2.06% and 0.78% respectively at the same screening requirements of the selecting compression and transmission. This method can achieve the requirements of agricultural machinery operation state data compression and transmission. In the compression and transmission mode of single data packet with less data and short transmission time, it could obtain a lower transmission error rate and transmission packet loss rate. Moreover, the method has less computation and high compression efficiency characteristics, which are suitable for data transmission in the agricultural machinery operation area.