With the development of today"s society, the traditional power system can no longer meet the needs of the development of the times. It is imperative to connect multiple energy sources into the power system and form an energy interconnection system. Based on information technology and intelligent management, Energy Internet can effectively improve the utilization efficiency of multi-energy systems and enhance the ability of energy equipment interconnection and interoperability, which has received widespread attention. Therefore, this paper proposes a method of constructing a smart campus based on the Internet of Energy technology. Then, this paper takes the optimal daily operating economic cost as the optimization goal, comprehensively considers the flexible load composed of smart homes, and establishes an optimal scheduling model for smart parks. Finally, an example is given to analyze the working conditions of various energy equipments in the park, and the correctness and effectiveness of the proposed model are proved.