Microgrids are one of the most effective ways in which renewable resources are utilized. The fluctuations of wind power and solar power make it hard to maintain the balance between generation and demand, which raises operating cost and bad experiences of users. To solve this problem, we propose a strategy which combines the micro-grid interconnections and dynamic pricing. First, the interconnected micro-grids are spare to each other. Second, spot price can make people who are sensitive to the energy price change their power use. And the interconnection and dynamic pricing correlates to each other towards a better result. This strategy will change the micro-grids to a new equilibrium point, and operators of microgrids will decide which direction to buy or sell to maximize its own benefits based on new equilibriums. Simulation results show that the combination of interconnection and spot pricing can relieve the stress of matching problem and the more positive users are in demand response, the better optimization results will be.