The application discloses a
data processing method and device for a front-end
electronics module, which comprises the following steps: collecting waveform data from a
detector according to channels, merging data of 8 adjacent channels into a group, and storing the group into a first-level
FIFO memory; compressing the collected data, compressing the data according to the characteristics of pulse signals, and storing compressed data of 64 adjacent channels into a second-level
FIFO memory; dividing a DDR into 16 independent caches, and performing partition
cache management; dynamically transferring data between different cache regions according to the storage conditions of the 16 cache regions of the DDR; transferring data between multiple front-end
electronics modules through a GT port according to the storage conditions of the multiple front-end
electronics modules; and uploading data to a back-end
data acquisition system through a high-speed link. The method reduces the waveform
data rate and reduces the transmission pressure through segmented compression, layered caching, intra-module balancing and inter-module balancing.