The results showed that 38 compounds in RYNM are involved in the regulation of related target proteins and regulate the IL-17 signalling pathway, TNF signalling pathway, NF-κB signalling pathway and other related pathways to play a role in treating pneumonia. The gene discussed is NFKB1; the disease is susceptibility to pneumonia measurement.