From the production angle of combining agriculture with tourism, the functional types of rural tourism ecosystem are divided into three types: production type, protection type and consumption type, and three types of rural compound resource management are put forward: ecological restoration type, ecological protection type and consumption type, ecological production and ecological living environment. The basic requirement of human society for the revitalization of rural tourism ecosystem is the export of tourism products and agricultural products. Production function is considered to be the most important functional type of rural tourism ecosystem, and production function and protection function restrict and interact with each other