Various pet peripheral products such as pet food, pet supplies, and pet toys have many SKUs and small object shapes. They are often placed on shelves, so that the rental space can be used more rationally and costs can be saved for customers. Due to the special products, pet products usually require high packaging requirements and require anti-pressure and anti-collision filling to ensure that customers will not affect the purchasing experience when receiving the baby. For pet food products such as cat food and dog food, entry and exit management needs to be carried out strictly in accordance with the first-in, first-out principle. The system binds product batches to the warehouse location to form a unique existence on the warehouse location of each batch. When the system allocates products to orders, it automatically follows the principle of expiration period priority, thereby automatically completing expiration period control.