n antenna attitude measurement method, wherein the method is based on an antenna attitude measurement sensor, the antenna attitude measurement sensor comprising a shell , and a sun position sensor , a three-axis gravity acceleration sensor , a Global Positioning System (GPS) module , a central processing unit, a power module and a storage and output module, which are arranged in the shell , wherein an input end of the central processing unit is connected with output ends of the sun position sensor , the three-axis gravity acceleration sensor and the GPS module respectively, and an output end of the central processing unit is connected with the storage and output module, wherein the power module is connected with the sun position sensor , the three-axis gravity acceleration sensor , the GPS module , the central processing unit and the storage and output module respectively, and wherein a three-axis coordinate system of the sun position sensor forms a translation relationship with a three-axis coordinate system of the three-axis gravity acceleration sensor , the method comprising: f a. stably mounting the antenna attitude measurement sensor on a measured antenna to enable a three-axis coordinate system of the antenna attitude measurement sensor to be parallel to a three-axis coordinate system of the antenna ; b. acquiring, by the GPS module , a geographical position and height of the antenna and standard time at a corresponding azimuth angle, obtaining, by the three-axis gravity acceleration sensor , a pitch angle γ and a roll angle θ of the antenna and acquiring, by the sun position sensor , an azimuth angle φ of incident sunlight on a reference surface of the antenna relative to the sun position sensor ; c. deducing a vertical incident angle α and a horizontal incident angle β of the sunlight relative to a local geographical reference surface in combination with sun orbit information according to the geographical position of the antenna and the standard time, which are acquired by the GPS module in the antenna attitude measurement sensor; d. calculating an azimuth angle δ of the antenna according to data obtained in steps b and c by virtue of a formula as follows: tan (φ - θ) = sin (β - δ)/(sin γ tan α + cos γ cos (β - δ)) ; and e. repeating steps b to d, and measuring, storing and outputting multiple sets of antenna project parameter data optimization results, wherein the project parameter data include an azimuth angle, a pitch angle, a roll angle, a height and a physical position of the antenna . a. stably mounting the antenna attitude measurement sensor on a measured antenna to enable a three-axis coordinate system of the antenna attitude measurement sensor to be parallel to a three-axis coordinate system of the antenna ; b. acquiring, by the GPS module , a geographical position and height of the antenna and standard time at a corresponding azimuth angle, obtaining, by the three-axis gravity acceleration sensor , a pitch angle γ and a roll angle θ of the antenna and acquiring, by the sun position sensor , an azimuth angle φ of incident sunlight on a reference surface of the antenna relative to the sun position sensor ; c. deducing a vertical incident angle α and a horizontal incident angle β of the sunlight relative to a local geographical reference surface in combination with sun orbit information according to the geographical position of the antenna and the standard time, which are acquired by the GPS module in the antenna attitude measurement sensor; d. calculating an azimuth angle δ of the antenna according to data obtained in steps b and c by virtue of a formula as follows: tan (φ - θ) = sin (β - δ)/(sin γ tan α + cos γ cos (β - δ)) ; and e. repeating steps b to d, and measuring, storing and outputting multiple sets of antenna project parameter data optimization results, wherein the project parameter data include an azimuth angle, a pitch angle, a roll angle, a height and a physical position of the antenna . <EOS>