Activities of traditional longwall mining will result in ground subsidence and therefore cause issues such as damages to buildings and farmlands, water pollution and loss, and potential ecological and environmental problems in the mining region. With advantages of the longwall backfill mining method, as well as the room and pillar mining method, a continuous excavation and continuous backfill (CECB) method in longwall mining is recommended to effectively control the ground subsidence. In this method, mining roadways (MRs) are initially planned in a panel, and then they are excavated and backfilled in several stages until the whole panel is mined out and backfilled. According to the geologic conditions of an underground coal mine, and the elastic foundation beam theory, a mechanical model was built to study the subsidence of the roof while using this new mining method. In addition, methods to calculate roof subsidence in various stages in CECB were also provided. The mechanical parameters of backfilling materials, which were used in the theoretical calculation and the numerical analysis for mutual check, were defined through analyzing the stability conditions of the coal pillars and the filling bodies. The control effect for the ground subsidence of using the newly proposed mining method was analyzed based on both simulation results and site monitoring results, including the ground subsidence, horizontal displacement, tilt, curvature and horizontal strain. This research could provide suggestions to effectively control ground subsidence for a mine site with similar geologic conditions.