Differential Privacy: From the Central Model to the Local Model and their Generalization