The invention discloses a polarity direct envelope inversion method based on seismic trace attribute analysis, and the method specifically comprises the steps: 1, setting a shot point and a detectionpoint, and carrying out the collection to obtain observation data uobs(t, xr, xs); 2, constructing a rectangular grid geologic model; 3, giving the initial speed model v0(x) of the speed model v(x) toobtain calculation data ucal(t, xr, xs); 4, solving an envelope eobs(t, xr, xs) of the observation data and an envelope ecal(t, xr, xs) of the calculation data; 5, solving phases and instantaneous frequencies of the observation data and the calculation data; 6, solving the polar envelope of the observation data uobs(t, xr, xs) and a polar envelope given target function Je(v(x)) of the calculationdata ucal(t, xr, xs); 7, optimizing the target function Je(v(x)) through direct envelope inversion and iterative optimization algorithms to obtain a long-wavelength component vl(x) of the speed model; 8, giving a new to-be-optimized objective function J(v(x)) of the next stage; and 9, optimizing the target function J(v(x)) to obtain a fine speed structure vf (x). According to the method, a more accurate polar envelope can be obtained, and the method is used for inversion of a strong scattering speed model.