Fog computing, a non-trivial extension of cloud computing to the edge of the network, has great advantage in providing services with a lower latency. In smart grid, the application of fog computing can greatly facilitate the collection of consumer’s fine-grained energy consumption data, which can then be used to draw the load curve and develop a plan or model for power generation. However, such...