To overcome shortcomings in traditional nitrogen injection fire prevention techniques, such as discontinuous nitrogen distribution, poor inerting effects, and severe waste of pipeline resources, a method for continuous and precise nitrogen injection fire extinguishing was proposed. To implement this method, this study utilizes FLUENT, FLAC 3D simulations, and principles of elasticity to determine the process and dynamic parameters of nitrogen injection. This information guides the selection, design, and manufacturing of equipment components, leading to the development of a novel “rotating towing type” continuous and precise nitrogen injection fire extinguishing equipment. Taking Wenzhuang 15,102 working face as an example, the inerting effect was compared and analyzed by using CO, Graham coefficient R2 (ΔCO/ΔO2), R3 (ΔCO/ΔCO2) and other quantitative indicators. The findings revealed following results: after deploying this equipment, there was an approximate 70 % reduction in CO concentration. Comparatively, R2 in the extraction area decreased by 45 % compared to the 0.38 % observed in the buried pipe nitrogen injection process. Similarly, the R3 values for the gob and upper corner were reduced by about 56 % and 60 %, respectively. These substantial improvements highlight the superior efficacy of the continuous and precise nitrogen injection fire extinguishing method for nitrogen injection and fire suppression in gobs.