The results of multivariate logistic regression model analysis of independent risk factors for gastric cancer showed that IL-18, hs-CRP, and TNF-α were risk factors for Hp infection in gastric cancer, and the comparative differences were all statistically significant (P < 0.05). The gene discussed is CRP; the disease is gastric cancer.