The invention discloses an online monitoring and cleaning system for oil-water well operation, the cleaning system and the monitoring system. The cleaning system includes a heat exchange main engine, a water supply pump, a recovery pump, a recovery tank sewage pump, a flushing pump, a vacuum superconducting heating furnace, a water supply tank, Recovery box, distribution box, flushing nano-hose, drain short, winder, washer, monitoring system includes total magnetic flux detection system and leakage magnetic flux detection system, after the oil pipe is cleaned, the magnetic flux detection system is used to monitor The pipe wall of the oil pipe is monitored, and the total magnetic flux detection system uses a measuring coil to measure the area change of the cross-sectional part of the oil pipe passing through it, and the detected signal is used for data processing and defect analysis.