Energy storage charging pile charging principle