With the increasing penetration of new energy sources, the volatility and intermittency of new energy output and load will further increase the risk of integrated energy system operation. In order to reduce the risk and improve the flexibility of the integrated energy system, the paper proposes an integrated energy system optimization model considering integrated demand response resource trading. The energy trading platform is constructed by combining blockchain technology and energy management system to introduce integrated demand response resources into the energy trading market. A two-layer optimization model is built considering users and load aggregators. The algorithm results show that based on the model and trading framework constructed in the paper, the trading of integrated demand response resources among users is realized, which effectively promotes the participation of non-responsive users in demand response, significantly reduces the energy cost of users and improves the revenue of load aggregators.