## 1 Introduction  
Landscape patterns and ecosystem services form the foundation of sustainable research [1]. Ecosystem services not only offer a variety of ecological products for humanity but also encompass the essential elements for production and life, providing natural conditions vital for maintaining ecosystems and the processes essential for human life [2]. The value of ecosystem services represents the monetary worth of these services, adding humans in comprehending the consequences of their actions regarding ecosystems and their well-being, thereby enhancing ecological awareness [3]. Nevertheless, rapid urbanization has spurred the expansion of construction land, altering land use and landscape patterns, diminishing ecosystem services and habitat quality, resulting in adverse ecological impacts, and ultimately leading to the degradation of ecosystem services [4]. Evaluating ecosystem service value and assessing landscape ecological risk are integral components of regional ecological security evaluation. These assessments epitomize the sustainable development of the intricate relationship between humans and their environment [5] and contribute to the sustainable growth of regional economies [6,7]. Research on ecosystem service value primarily delves into the impact of changes in land use types and landscape patterns on ecosystem service functions, alongside examining the spatial and temporal evolution and driving factors influencing these services. Landscape ecological risk studies concentrate on evaluating and quantifying landscape ecological risk as well as understanding their spatial and temporal evolution. This research also involves constructing an ecological security pattern based on landscape ecological risk [8]. As research into ecosystem service value and landscape ecological risk advances, some scholars have proposed a landscape ecological risk assessment system rooted in ecosystem services. They explore the spatial and temporal correlations and clustering patterns between the two [9], advocating for their integration from an independent standpoint. This integration primarily involves three aspects. First, it entails analyzing the correlation between ecosystem service value and landscape ecological risk. Various methods, such as using the coupling coordination degree model and spatial autocorrelation analysis, are employed to investigate this relationship. The study area is categorized into different types based on value and risk, followed by the implementation of stringent zoning control [10; 11; 12]. Second, it involves incorporating ecosystem services into the ecological risk assessment framework, thereby enhancing the assessment's scientific rigor [13; 14; 15]. The third aspect delves into studying the impact of changes in landscape patterns on ecosystem service value [3]. With the progression of territorial spatial planning and the construction of an ecological civilization, landscape ecological risk assessment has progressively entered the domain of territorial spatial ecological restoration. Certain scholars have concentrated on the spatial efficacy of policies in regional planning [16] or proposed spatial planning strategies to address risks [17]. However, in most existing studies, ecosystem service value and landscape ecological risks often exist independently, leading to insufficiently targeted risk management and control. There has been limited integration of these elements. In practical management and control, integrating these aspects into urban and county land space ecological restoration planning poses challenges, making the implementation of plans complex. Sichuan Province serves as a vital economic hub in western China and acts as a significant ecological shield in the upper reaches of the Yangtze River [18]. During the 'Twelfth Five-Year Plan' period, Sichuan Province's urbanization rate surpassed the national average, undergoing rapid urbanization.