This article takes the electricity-gas integrated energy system with power-to-gas devices as the research object. Based on the introduction of time-sharing energy prices to guide users to adjust energy consumption, a new energy consumption behavior and customer satisfaction are established that take into account price-sensitive users. Constrained optimal scheduling model. Energy suppliers guide users to adjust their energy consumption while also taking into account the user"s energy experience level. The model takes the minimum comprehensive operating cost that includes compensation for user load reduction as the decision-making goal to optimize the system globally. Taking the integrated energy system composed of the improved IEEE39-bus power system and the Belgian 20-bus natural gas system as an example, it is verified that the optimal scheduling model improves the system economy.