All optical soliton communication is a new generation of ultra-long distance and ultra-high speed optical fiber communication technology. Optical cavity solitons (CSs), whose pulse property is unique, have shown great potentials in optical soliton communication systems. Here, a theoretical model of nonlinear fiber resonator for CS generation is proposed. The effect of pump laser and resonant cavity parameters on the CS pulse performance is detailedly investigated and deeply analysed. Furthermore, the synergistic effect of continuous wave (CW) pump laser power and pump pulse peak power, and the synergistic effect of dispersion condition, fiber nonlinear coefficient and fiber length on the generation and property of CS pulse are respectively discussed and summarized. Finally, the launch conditions and parameter variation tolerances of cavity soliton in nonlinear fiber resonant cavity have been successfully generalized. These results can provide important instruction to the experimental generation and optimization of CS pulse.