The embodiment of the invention discloses a grain storage method of a tall and flat warehouse. The method comprises the following steps: acquiring data parameters of a warehouse, a warehouse gate, to-be-stored grains and binning equipment; according to the data parameters, determining a position that a grain discharging opening of the binning equipment can reach in the warehouse, and determining grain bulk morphology at each point in the warehouse; determining an operable path in the warehouse, dividing the operable path into m operable stations, and setting an exit station; based on locationsof the operable stations and the exit station, obtaining multiple grain storage paths by virtue of an ant colony algorithm; and according to a predetermined target, selecting an optimal grain storagepath. Therefore, transfer probability of each operable hole location in the warehouse towards the exit station is calculated by virtue of the ant colony algorithm, and then the optimal grain storagepath is selected according to the predetermined target, so that binning quantity of a binning machine is high when grain storage is performed in the warehouse, a warehouse supplementing quantity is low, grain surface is flat, and grain surface flattening workload is less.