The invention belongs to the field of
artificial intelligence quality tracing, and mainly relates to a
traditional Chinese medicine decoction piece production tracing method based on
the Internet of Things, which comprises the following steps: deploying different sensors at nodes for different machines, connecting interfaces of the sensors with an MUC interface, integrating acquisition frames, uploading through DMA, preprocessing and analyzing data, performing
differential coding operation on a mean value, a variance and a
peak value, and obtaining a
traditional Chinese medicine decoction piece production tracing result. The method comprises the following steps of: inputting a sliding window, merging the sliding window with fluctuation of the sliding window, outputting a
feature vector, merging the
feature vector into a sequence for model training, deploying a
deep learning framework, training by adopting a prototype calculation function and a Siamese
distance measurement model, outputting a model after the training is finished, issuing an
edge node, and training and recording abnormal data after the
edge node receives the model. And training the abnormal data, automatically adjusting parameters, enhancing monitoring, calculating an abnormal risk and marking potential abnormal data when an abnormal probability is output, solving an absolute value of a
feature vector of the potential abnormal data, normalizing gradient weight, generating a fixed-point report, and issuing the fixed-point report to a quality tracing
database.