Patent attributes
Disclosed are a method and a system for scheduling a task in cloud computing. The feature information of the task is parameterized; the task is classified; the best working node is obtained by computation through a Bacteria Foraging Optimization Algorithm (BFOA) according to the classification result; and the best working node is matched with the task. Obviously, the BFOA is adopted to implement task scheduling and resource allocation in cloud computing, so that the cloud computing has the advantages of group, intelligent and parallel search, simplicity in escaping from a local minimum and the like for the scheduling of a user task group, is favourable for keeping the diversity of the task group in the cloud computing, can meet the requirement of the user better, and improves the degree of satisfaction of user experience.