To address the negative impact of large-scale disorderly grid connection of EVs on the stable operation of the power grid, a cooperative game cooperative control strategy for EVs based on tariff leverage is proposed, taking the grid-side and user-side economy as the objective function, taking into account the EV load state constraint, distribution grid power constraint, bi-directional charging and discharging pile power constraint, dynamic tariff constraint, and cooperative game members' revenue constraint. A dynamic cooperative game model based on bi-directional charging and discharging piles is established, and the weight of users in the game is increased. Based on the cooperative game model, an optimal real-time tariff is determined for both the electric power operators and the charging and discharging pile users and based on the real-time updated dynamic tariff and the EV power connected to the charging and discharging pile at the current moment, a genetic algorithm is used to solve the simulation based on the Receding Horizon Control principle. The simulation results show that this control strategy has a smoother load curve and better peak and valley reduction than the fixed tariff and the time-of-use tariff, and it reduces the operating cost of the electric power operators. In addition, it brings the best economic benefits to the users, with the overall revenue of the charging and discharging piles increasing by up to 6.3% under the dynamic tariff.