As the process of energy transition progresses, the integrated energy system (IES), as a key carrier for achieving carbon neutrality, faces the challenge of balancing energy efficiency improvements with equipment safety risks in its optimized operation. At the same time, IES consolidate diverse energy streams such as electrical power, thermal energy, and gaseous fuels. Nevertheless, the inherent intermittency of renewable energy sources often results in equipment overloading or accelerated degradation, making it challenging for traditional single-time-scale optimization to balance economic and safety considerations. This paper focuses on multi-time scale optimization strategies. Specifically, first, the energy efficiency-safety collaborative evaluation index is introduced to combine energy utilization rate with risk probability quantification; Secondly, a dynamic safety constraint model is developed to modify the operational limits in real-time according to equipment status. Lastly, a rolling optimization algorithm combining day-ahead planning, intraday adjustments, and real-time feedback is proposed to enhance system adaptability. The experiment uses actual IES data from a specific region. Results show that compared to the benchmark, the new strategy increases system energy efficiency by 12.8% (from 85% to 97.8%), reduces equipment safety risks by 15.3% (from 10% to 8.47%), and achieves a 14.5% energy cost saving and 96.2% reliability. These data verify the effectiveness of the strategy and provide support for the robust operation of IES.