Using the NIMBUS-7 SAMS GRID-T data,the variations of the middle atmosphere temperature induced by solar flare events classed larger than 3.5 during 1979-1982 is discussed. The results show that the temperature of the upper mesosphere is obviously decreased and that, of the lower mesosphere is obviously increased,while the stratospheric temperature does not varies obviously,within sevaral days around the Ha flare bursts day.