Historical Data Service Optimization Scheme for Smart Grid Dispatching and Control Systems