A Novel Method of Adopting Graph Reduction for Resource Management in Parallel Computing Model