Among the HP negative group, there were statistically significant differences in tumor sites between the uninfected group and the previously infected group (P<0.05).There were significant differences in monocyte infiltration and neutrophil infiltration between the positive and negative groups (P<0.05).The differentiated adenocarcinoma in the positive group was significantly lower than that in the negative group. The gene discussed is HP; the disease is neoplasm.