In the face of the dual challenges of global economic growth and ecological damage, ecological protection and biodiversity maintenance are particularly urgent. Studies have shown that the sex ratio of lampreys is an important indicator of ecological health. To this end, this paper develops an integrated system that combines the Lotka-Volterra model, sex ratio function, and food web model for predicting the interactions between the sex ratio of the lamprey and the ecological environment. The Lotka-Volterra model was optimized to incorporate a sex ratio function for the female-to-male ratio and the number of lampreys, and the data were analyzed for recent years and years. It was shown that changes in sex ratio had a significant effect on population dominance, especially under resource-rich conditions, and that increasing the proportion of females may be beneficial to population growth. In addition, a food web model was constructed to investigate the effects of changes in the sex ratio of lampreys on the structure of predator and prey populations.