Theories and applications of the large deviation principles for the mean-field model and the conservation laws