The storage of food, health products and other products has certain requirements on the warehouse environment. First of all, hygiene must be ensured, professional insect and rat prevention measures must be taken to ensure the safety of food storage, and secondly, ventilation and dust removal must be required. Food entry and exit are managed strictly in accordance with the first-in, first-out principle. The system binds product batches to the warehouse location to form the only existence of each batch on the warehouse location. When the system allocates products to orders, it automatically follows the principle of expiration period priority, thereby automatically completing expiration period control.