Background. Chronic obstructive pulmonary disease (COPD) is characterized by high morbidity, disability, and mortality, which seriously threatens human life and health. Xixin and Ganjiang are classic herb pairs of Zhongjing Zhang, which are often used to treat COPD in China. However, the substance basis and mechanism of action of Xixin-Ganjiang herb pair (XGHP) in the treatment of COPD remain unclear. Methods. On the website of TCMSP and the DrugBank, effective compounds and targets of XGHP were found. COPD targets were obtained from GeneCards, DisGeNET, and GEO gene chips. Intersecting these databases resulted in a library of drug targets for COPD. Then, intersection targets were used for protein-protein interaction (PPI) and pathway enrichment analysis. Finally, the binding activity between compounds and core genes was evaluated by molecular docking to verify the expression level of PTGS2 and PPARG in rats. Results. Twelve effective compounds and 104 core genes were found in the intersection library, and kaempferol, sesamin, β-sitosterol, PTGS2, and PPARG were particularly prominent in the network analysis. A total of 113 pathways were obtained and enrichment of the TNF signaling pathway, IL-17 signaling pathway, and C-type lectin receptor signaling pathway was particularly obvious. Molecular docking indicated that kaempferol, sesamin, and β-sitosterol were closely related to PTGS2 and PPARG and were superior to aminophylline. Key compounds in XGHP could restrict the expression of PTGS2 in the lung tissues of COPD rats and promote the expression of PPARG. Conclusion. Inhibition of the expression of inflammatory factor PTGS2 and promotion of the expression of PPARG may be an effective target of XGHP in the treatment of COPD.