In this paper we deal with two classes of fractional partial differential equation: n order linear fractional partial differential equation and nonlinear fractional reaction diffusion convection equation, by using the Lie group analysis method. The infinitesimal generators general formula of n order linear fractional partial differential equation is obtained. For nonlinear fractional reaction diffusion convection equation, the properties of their infinitesimal generators are considered. The four special cases are exhaustively investigated respectively. At the same time some examples of the corresponding case are also given. So it is very convenient to solve the infinitesimal generator of some fractional partial differential equation.