With the rapid development of new power systems and 5G communication technology, the demand for electric hybrid services becomes more complex and diversified. However, the existing 5G interface management and resource allocation methods are difficult to adapt to the application scenario of electric hybrid service. In this paper, the 5G uplink communication system adapted to electric hybrid service scenarios is modeled. 5G interface management and resource allocation algorithm based on reinforcement learning is adopted to maximize the uplink transmission rate of the overall network system. Simulation results show that the proposed algorithm has excellent performance compared to the existing algorithms.