At present, China exists a problem that the cost of food sampling inspection is too high. This paper attempts to reduce number items in same category, inspection, and improve work efficiency through association analysis national data. And this applies Apriori algorithm analyse rules, which based on unqualified pastry data 2019 database. Finally, we obtain 10 strong rules experiments. The result...