In view of the characteristics of low delay and low energy consumption of cloud computing,real-time analysis of massive manufacturing data and fast task processing can be realized in the intelligent manufacturing environment.On this basis,taking cloud computing resource allocation as the research object,an improved genetic algorithm is proposed.By adding variation cases,different variation cases of the same gene fragment point are analyzed by targeted fitness function,and the excellent variation cases are compared to enter the next generation.A numerical example shows that the proposed model and algorithm are effective,and both iteration times and task completion time are obviously better than the classical genetic algorithm.