Creating an ecological security pattern is crucial for balancing the sustainable development of areas where human activities and the natural environment intersect. Using Hefei, an internationally recognized Wetland City, as a case study, we extracted ecological sources through ecological service function (ESF) analysis and morphological spatial pattern analysis (MSPA) core area connectivity analysis. Based on these ecological sources, we developed an ecological resistance surface system and identified ecological corridors and nodes using circuit theory. The findings are as follows: (1) Ecological source areas: The primary ecological sources in Hefei are located in the water bodies, forested areas, and scattered grasslands in the central and eastern parts of the city. This ecological source area covers 978.96 km2, which constitutes 8.55% of the city's total area. (2) Ecological corridors: Hefei contains 43 ecological corridors with a total length of 940.3km, averaging 21.87km each. These corridors are crucial for maintaining ecological connectivity and facilitating species movement. (3) Ecological nodes: There are 13 significant ecological nodes in Hefei, including 6 ecological obstacle points and 7 ecological pinpoints. These nodes play a vital role in supporting ecological processes and ensuring habitat connectivity. (4) Evaluation metrics: The α and β values for the source identification method that integrates MSPA with ecological service functions were 2.15 and 0.8, respectively, which are higher than those of the control group. Conversely, the γ-value was 0.18, lower than that of the control group. These results indicate that the combined ecological source extraction method provides significant advantages in terms of ecological corridor integrity, connectivity, and ecological flow management.