For implementing efficiently and safely cloud tasks scheduling, a task scheduling game algorithm based on cost optimization is presented. Tasks execution cost, resource utilization cost, security-assured cost and load balance cost are considered comprehensively into the game's cost function in our algorithm. To optimize the cost function, the cloud tasks scheduling problem is formalized as a non-cooperative game model. The users' cost of playing the game is interpreted as a total cost of the efficient tasks scheduling in clouds and a hierarchic...