Approaches to composition independent energy reconstruction of cosmic rays based on the LHAASO-KM2A detector