In this paper, model construction of random matrix theory is carried out to analyze water leakage of urban water supply pipeline network, and a multivariate statistical model of water leakage of urban water supply pipeline network based on random matrix theory is proposed. This paper presents a three-level DMA, short-term water demand prediction method based on water use patterns, aiming to solve the problem of inaccurate water demand prediction caused by climate and social factors. Correlation analysis and factor analysis analyze the main factors affecting daily water demand changes. The extracted information of the main influencing factors and historical monitoring data are used to establish the Elman water demand prediction model. At the same time, the daily water consumption pattern was extracted by correlation analysis, matched with the water consumption pattern of the predicted day, and combined with the expected value of water demand for momentary water demand allocation, which improved the prediction accuracy of short-term water demand. This paper is based on the precise leakage location based on the real-time hydraulic model. The real-time hydraulic model under leakage conditions is established, GA and NSGA2 are designed, and the nondominated ranking algorithm with elite strategy is used to achieve accurate leakage location using hydraulic model calibration search. This paper uses a random matrix algorithm to establish the leakage estimation model. A laboratory case pipe network is built to simulate the water supply conditions in residential areas, and the operating data of the laboratory case pipe network are used to confirm that the random matrix leakage estimation model can estimate the leakage. The applicability of the random matrix leakage estimation model and the wavelet transform algorithm for leakage calculation are compared in an engineering example. The example confirms that the leakage amount calculated by the random matrix model has a less relative error and more similar trend than the wavelet transform algorithm.