Research and Implementation of Heuristic Algorithm in Advanced Scheduling Plan