This paper introduces a new rural microgrid model, including residents and agricultural greenhouses. Based on the new model framework, the precise energy scheduling of a rural microgrid is realized by means of load classification and load forecasting. Moreover, we also adopt a new energy-storage mode, cloud energy storage (CES), as the shared energy-storage unit of rural microgrid, and analyze the service and operation mechanism of CES in detail. The shared storage characteristic and adjustable storage capacity of CES are helpful for the precise management of power dispatching. At the same time, in order to accurately implement energy scheduling, we fully consider the load characteristics of rural areas and divide the load into residential load and agricultural load. Then the extreme gradient boosting (XGBoost) algorithm is used to predict the short-term power consumption of the two types of load respectively, which can effectively alleviate the uncertainty of load power consumption and improve the accuracy of scheduling. Finally, an illustrative example of rural energy scheduling is given. The example studies the impact of energy-storage capacity on the cost of the scheduling scheme, and designs a power-dispatching scheme based on load forecasting, which accurately solves the energy charging and discharging planning and grid energy trading planning.