Western blot results showed that after infection with H1N1 influenza, the viral infection affected the STAT3 activity, and its gray value expression was 0.8, but after the addition of the compound carambolaside W, it exerted an anti-apoptotic effect, and the expression of the STAT3 protein was increased to 1.8. The gene discussed is STAT3; the disease is swine influenza.