Text this: Real-time monitoring and optimization methods for user-side energy management based on edge computing