In order to meet the demand of Jiangmen Underground Neutrino Observatory (JUNO) experimental electronics system for large data transmission,Huffman coding is used to study the data processing of electronics.Real-time processing and compression of large amounts of data was achieved by combining the Huffman Coding with deviation calculation.The results of a large number of simulation show that the algorithm can reach compression rate of 25% while maintain the original information;the algorithm has good stability and can maintain stable compression rate for different experimental data.This paper provides a reference scheme for data compression in JUNO.%为适应江门中微子实验电子学系统大量数据传输的需求,对将Huffman编码用于电子学的数据处理进行了研究.通过差值计算结合Huffman编码的方法,实现对大量数据的实时处理并进行压缩.大量数据仿真结果显示,该算法在保留原信息的同时压缩率可以达到25%;算法稳定性好,针对不同的实验数据均能保持较为稳定的压缩率.为江门中微子实验中的数据压缩提供了一种参考方案.
展开▼