In order to solve the problem of resource ecological compensation, this paper proposed a model of resource ecological compensation mechanism based on a rural leisure sports environment. The model is carried out in many places in China. The survey data involves 31 provinces, 10 years, and 43 indicators, with a total of 43 × 10 × 31 = 13,330 data. The preliminary basis of mechanism construction is summarized from four aspects. Finally, make full use of modern information technology to improve the network platform of the compensation mechanism, promote the efficient allocation and comprehensive utilization of ecotourism resources, and lay a solid foundation for establishing a reasonable and perfect resource ecological compensation mechanism and ensuring the long-term and stable operation of the mechanism. Through the experiment, it is found that the timely and effective publication of information can eliminate the inner estrangement between the two sides, so as to make the behavior of both sides more rational. A special information feedback department is established to deal with the opinions put forward by all compensation parties in tourism development, extract effective information, summarize and publish reasonable guidance information, and guide the compensation of both sides to an ideal balance through the feedback of this information. The effectiveness of the experiment is verified.