In response to the problem that the factors affecting room temperature and its influence on load modeling and the problems of user comfort and energy consumption expenditure when rigidly bundling residential integrated energy system (RIES) and users are not fully considered in the energy management of RIES,the RIES energy management optimization model and its solution method are proposed in the paper for the participation of cooling and heating loads in tiered subsidy and electric loads in the tariff-type integrated demand response. Firstly,the discrete building heat balance equation is obtained by comprehensively considering the factors affecting the room temperature,and the mathematical model of the flexible but not fixed cold,heat and electricity loads of the building is established. Secondly,a tiered subsidy for cold and heat load participation and a tariff-type integrated demand response mechanism for electric load participation should be established. Then,taking into account of RIES's cost of purchase energy from the outside,cost of affording integrated demand response (IDR),and profit of selling energy to the users,an optimization model for optimizing energy management is established that maximizes RIES's net profit with consideration a series of operation constraints of the components and the system. The Cplex is used to solve the linearized model. Finally,a simulation example shows that the residential integrated energy system optimization strategy that takes into account the comprehensive demand response can coordinate the resources on both sides of supply and demand,thus improving the economic benefits of the system and users.