With the distributed generation such as wind power generation and photovoltaic generation connected to the distribution network, the distribution network becomes more and more complex, the existing distribution mode can not meet the actual production requirements of power. In order to solve this problem, based on the distributed power supply technology and distribution network operation mode, this paper studies the distributed distribution network operation optimization method, fully considering the uncertainty of wind power generation, photovoltaic power generation, load and so on, This paper presents a method for optimizing the operation mode of intelligent distribution network with stochastic power flow, According to the unique closed-loop structure and open-loop operation mode of the distribution network, the Neighborhood Search algorithm is used to solve the problem, and the performance of the system is analyzed by simulation. The work in this paper provides a reference for Chinaundefineds distribution network to access the distributed generation.