By screening genes involved in KEGG signaling pathway, it was found that plant-derived drugs were mainly associated with PI3K-Akt signaling pathway, tumor necrosis factor signaling pathway, MAPK signaling pathway, Toll-like receptor signaling pathway, and HIF-1 signaling pathway in alleviating cancer pain. The gene discussed is TNF; the disease is cancer.