The task assignment of AGV is a sophisticated combinational optimal prob-lem.It is NP complete.A new method,which is different from the general searching from task node to task sequence,is given in this paper.The new planning process goes from key route to the clustering based on key route then to task sequence.So the method is called“cloud room effect”algorithms.As a satisfied solution is given.the ability of real time of the algorithms is improved.