EI is an integration of DRERs, DESDs, real-time energy monitoring, information sharing, real-time pricing, and energy transactions. The Internet of Energy (IoE) represents a significant evolution in energy management, integrating Internet of Things (IoT) technology with distributed energy systems. As technological advancements persist, IoE is poised to become an integral part of our daily lives, enhancing the efficiency of. Energy Internet is a concept proposed to harness, control, and manage energy resources effectively, with the help of information and communication technology. The CPHPT approach leverages graph theory to optimize P2P subscriber matching by regulating the maximum.