The Optimization of Resources Allocation to Minimize Energy Consumption Within Data Center in Cloud