The present application belongs to the technical field of
raw milk detection, and provides a device and method for
infrared spectrum data collection and storage of
raw milk, which comprises: taking a
raw milk sample, homogenizing the raw
milk sample by using a homogenizing device, evaluating the homogenization by using
ultrasonic detection, determining whether to end the homogenization, if yes, obtaining the homogenized sample to be detected, deploying an
infrared spectrum detection light
path system, a multi-
modal sensor group and a communication networking for
infrared spectrum collection of the sample to be detected, collecting the infrared spectrum of the sample to be detected, marking the actual
collection period and obtaining the actual sample infrared spectrum of the sample to be detected, collecting a multi-
modal data group by using the multi-
modal sensor group, analyzing the multi-
modal data group, determining whether the sample to be detected has a high abnormal risk, if not, triggering multi-
modal data compensation, and compensating the actual sample infrared spectrum.