In consideration of the different charging needs of users,the charging pile with multiple charging modes appears,increasing the complexity of electric vehicle charging control. Aiming at a certain number of charging piles with multiple charging modes,an optimized control strategy of charging piles is proposed. Firstly,according to the matching results of the charging piles and electric vehicles,the load state vector of the charging pile is established. Secondly,according to whether the control system needs to consider the demand response of the peak shaving,different control objectives and strategies are proposed. Finally,an actual industrial park is taken as an example. Considering the PV output,battery storage and time-of-use electricity price in the park,the results under the three conditions of uncontrolled,control without considering demand response,control considering demand response are compared,and the effectiveness of the proposed strategy is verified by simulation.