This study provides a systematic analysis into the application role of smart building technologies in enhancing in earthquake resilience prone within cities. The seismic resilience is one of the vital issues which are improving with due to global climate changes, in terms of new plate tectonic parts inducing more disasters like earthquakes and destroying some built-up structures the increasing frequency of natural disasters such as earthquakes. Consequently, urban planning and disaster management mitigation actions play a key role in reducing regression effects. By taking Using Chengdu as an example case study, this study tries aims to establish an over all construct a comprehensive evaluation framework for smart building technologies in earthquake situations to evaluate the performance of smart building technologies during earthquakes and investigate the influence explore the impact of different technology portfolios combinations on urban resilience. This study adopts a quantitative approach, combining historical earthquake data and sophisticated advanced simulation models to simulate smart building dynamic responses in earthquakes as well as post-earthquake recovery the dynamic response and post-disaster recovery process of smart buildings during earthquakes. Through a multi-objective optimization model, the research further investigates the optimal technology combinations and configuration schemes under various budget constraints. The results show that smart building technologies, particularly the integration of monitoring and emergency response systems, significantly enhance urban resilience during earthquakes. Moreover, the study found that through rational cost allocation, it is possible to maximize building resilience performance while minimizing investment. The research concludes that smart building technologies play a crucial role in improving urban seismic resilience, and the proposed assessment framework and optimization model provide scientific decision support for future urban planning and building design.