The invention provides a product tracing method based on a flow code, and the method comprises the steps: generating a unique sub-flow code on a production
transmission belt in a production link, scanning the code, recording a production date and a flow line position, and storing the production date and the flow line position in a
central database; thirdly, classifying according to the sub-
assembly codes, generating a mother
assembly code for external packaging, scanning the code to
record the delivery time of the packaged product and the position of the storage warehouse, and updating the storage information of the
database; and before the product is delivered, scanning the code again to
record the delivery time and the delivery destination, and updating the logistics information. And during sales in the retail store, scanning the product flow code, recording sales time and place information and transmitting the information to the
central database. And finally, a
consumer or an enterprise inputs a flow code for query through a specific platform, and the platform retrieves production, logistics and sales information and displays a result. According to the method, accurate recording and efficient tracing of the whole
process information of the product from production to sales are realized, the logistics efficiency is improved, the production management and control are optimized, and the product quality is guaranteed.