With the continuous improvement of social and economic level, the relationship between human and nature is deteriorating. The ecological concept has been attached importance, so the concept of ecological sports has been born. For physical education, if the ecological physical education teaching resources can be effectively developed, it will be a lifelong benefit for students and teachers. Based on the DCN deep learning method, this paper makes an innovative research on ecological sports, aiming to promote the efficient development of sports, train the samples according to the physical quality of different individuals, get the most suitable sports events, and then promote the development of physical education.