Text this: Edge computing smart grid resource scheduling algorithm based on reinforcement learning