A novel multi-stage time scale economic dispatch scheme is proposed for virtual power plants, taking into account the uncertainties arising from the connection of distribution network sources. This research introduces specific scheduling schemes tailored to various time scales within distribution networks, including a fuzzy optimized day ahead scheduling scheme, an intra-day scheduling scheme combined with Deep Q Network, and an adaptive optimized real-time scheduling scheme. This plan mainly considers the impact of photovoltaic output and conducts scheduling one day in advance through fuzzy optimization. In the intraday scheduling, different strategies were adopted in the study. By combining with Deep Q Network, research on scheduling for intraday demand within the power system. The analysis is conducted through rigorous modeling. Experimental tests were conducted to evaluate the performance of the proposed schemes. The day ahead dispatching primarily considers the impact of photovoltaic output and calculates the cost associated with each link in the grid under three different meteorological conditions. In the intra-day scheduling, the total costs for Scenario 1, Scenario 2, and Scenario 3 are found to be 34,724.5 yuan, 36,296.5 yuan, and 33,275.8 yuan, respectively. Notably, strategies 1 and 2 demonstrate lower costs compared to the pre-day scheduling, with the exception of Scenario 3. In real-time scheduling, considering the matching between sources and sources, the matching rate between sources and sources can be maintained at over 95%, and the stability and cost of the power grid have significantly decreased. In summary, by proposing a multi-stage time scale economic scheduling scheme, this study fully considers the uncertainty of the power supply of the distribution network access, as well as the different needs of day, day and real-time scheduling, providing an effective solution for the power dispatching of virtual power plants and providing important technical support for the reliability and economy of the power system.