To improve the efficiency of storage system, this paper adopt the method of least time storage location to optimization, using the firefly algorithm for searching, in order to find out the optimal scheme of the slotting optimization; and through relevant case analysis verified the algorithm in improving the effectiveness of slotting optimization, which are beneficial for improve the application of radio frequency identification (RFID) technology.