In conclusion, the expression of IL-18, hs-CRP, and TNF-α factors in Hp-infected gastric cancer patients is correlated, and IL-6, IL-18, and TNF-α are involved in the entire process from the onset to the development of inflammation in the Hp-positive gastric mucosa of patients, which is of great value in the diagnosis of gastric cancer and helps to assess the degree of progression and prognosis. Here, TNF is linked to gastric cancer.