Many electric vehicles connected to the grid will lead to problems such as poor stability of power grid generation. The key to solving these problems is to propose an efficient, stable, and economical valley-filling charging scheme for electric vehicles and grid users in the vehicle network system. Firstly, the convex optimization theory is used to make the grid achieve the optimization effect of valley filling. On this basis, the electricity price scheme with a time-varying coefficient as the variable is proposed to meet the single objective optimization of EV charging cost optimization, and its degree of influence on the grid valley-filling effect is analyzed. Secondly, based on the competitive relationship between EV charging cost and battery life, the P2D model is simplified and analyzed, and the attenuation law of battery capacity is quantitatively described. The multi-objective optimization problem is established to express in a Pareto matrix. Finally, the compatibility between the multi-objective optimization and grid valley charging is analyzed. The simulation results show that: (1) The convexity electricity price scheme can satisfy the requirements of various retention rates to achieve the valley-filling effect; (2) The filling effect is satisfied with the electricity price scheme that minimizes the charging cost, and the key factors affecting the filling effect are analyzed; (3) The multi-objective optimization scheme with charging cost and battery life is compatible with the valley-filling effect.