To address the challenging issue of gas control in the working faces of the Hegang mining area, based on segmented directional hydraulic fracturing technology, ABAQUS simulation software was employed to simulate and analyze the fracturing process of coal-rock masses under the action of segmented hydraulic fracturing. The study focused on the engineering application research within the mining roadway of the 23# coal seam in the Junde Coal Mine, China. The results indicate that the numerical simulation analysis reveals elliptical patterns in the stress, strain, and fracture width variation of the coal-rock masses influenced by the fracturing action. The width of the fractures exhibits a periodic variation pattern, initially increasing and then slightly decreasing with the injection of water pressure. Additionally, each successive variation shows a decreasing magnitude. After applying segmented hydraulic fracturing technology, the average gas extraction concentration increased by a maximum of 1.73 times, the average mixed flow rate increased by a maximum of 2.16 times, and the average gas extraction pure quantity increased by a maximum of 3.10 times. Segmented hydraulic fracturing can effectively improve gas extraction efficiency, reduce coal seam gas content, and have a depressurizing effect on coal-rock layers. The research findings provide new means for safe and efficient coal mining, particularly in enhancing gas extraction efficiency, alleviating strata pressure, and preventing gas disasters.