In the cloud computing system environment, combined with the first-level scheduling model of task-virtual machine resource nodes, the individual coding, fitness function, selection replication and cross-variation process are redesigned, and the cloud computing resource scheduling model based on genetic algorithm is established. Corresponding to fireflies and virtual machine resource nodes, this paper redesigned the firefly decision domain update method, selected attraction probability formula and location movement strategy, and combined with genetic algorithm to establish cloud computing resource scheduling model based on firefly-genetic algorithm. Experiment with the CloudSim cloud computing simulation platform. The results show that the task completion time of the resource scheduling model is smaller than that of the single genetic algorithm. The virtual machine load is more balanced, the task completion time is short, and the overall optimization effect of the resource scheduling scheme is obvious.