The application of plug-in flow meters in urban sewage is a product of urban development. A large amount of sewage is poured into water bodies and soil, damaging the natural ecology of water bodies and soil, causing species in water bodies to disappear, fish and shrimp to disappear, and turning into smelly rivers and dead lakes. Heavy metals and toxic substances are enriched in soil, and pollutants harm our physical health through the food chain, causing huge economic losses and restricting the sustainable development of urban social economy. Therefore, we have to carry out sewage treatment projects to improve our living environment.