With the development of power internet of things technology, the application of internet of vehicles technology in the field of electric vehicles (EVs) is constantly maturing and improving. In line with the concept of building an environment-friendly society, distributed generations (DGs) and EVs are being built and put into use in large numbers. In this context, in order to improve the accuracy of distribution network planning, this paper proposes a distribution network planning method based on big data technology. The upper layer aims to minimize the present value of the comprehensive cost of the distribution network, and the lower layer aims to minimize the construction, operation, and maintenance costs of electric vehicle charging stations (EVCSs) and DGs. Under the constraint of relevant constraints, the optimal grid structure of the distribution network including DGs and EVCSs is obtained. The effectiveness of the proposed method is demonstrated using a 54-bus distribution system.