As an important part of the ubiquitous power internet of things, the configuration and fault location of electric energy acquisition terminal for electric vehicle charging pile network has become an important issue. An optimal configuration model and fault location model based on integer linear programming for charging pile network electric energy acquisition terminal were proposed. The objective function of the configuration model was to minimize the cost of configuration. By planning the access location of the acquisition terminal, the measurability of each node voltage and branch current can be guaranteed. The fault location model can accurately locate the fault branch according to the disturbance power when the system is in fault. The model was solved by binary particle swarm optimization. The simulation results show that the proposed model can improve the economy on the premise of satisfying the system fault detection and location. Compared with the basic particle swarm optimization, the binary particle swarm optimization algorithm has better performance in solving the established model.