Based on the classical model of SEIR infection, this paper studies infection with temporary duration immunity by increasing infectivity incubation period and after infection. differential equations, python language is used for modeling, modeling results are analyzed compared real data. The can preliminarily predict development trend influenza in a time conforming to above basic characteristics.