This study explored the medication rules of Chinese herbal compound prescriptions for the treatment of angina based on the Chinese herbal compound patents in the patent database of the China National Intellectual Property Administration. The data of eligible Chinese herbal compound patents for the treatment of angina were collected from the patent database of the China National Intellectual Property Administration from database inception to November 10, 2022, and subjected to data modeling, analysis of main syndromes, medication frequency analysis, cluster analysis, association rule analysis, and data visualization by using Excel 2021, IBM SPSS Statistics 26.0, IBM SPSS Modeler 18.0, Cytoscape 3.9.1, and Rstudio R 4.2.2.2 to explore the medication rules for angina. The study included 636 pieces of patent data for angina that met the inclusion criteria, involving 815 drugs, with a total frequency of 6 586. The most common main syndromes were blood stasis obstructing the heart syndrome(222, 34.91%) and Qi deficiency and blood stasis syndrome(112, 17.61%). The top 10 most frequently used drugs were Salviae Miltiorrhizae Radix et Rhizoma, Chuanxiong Rhizoma, Notoginseng Radix et Rhizoma, Astragali Radix, Angelicae Sinensis Radix, Carthami Flos, Glycyrrhizae Radix et Rhizoma, Ginseng Radix et Rhizoma, Borneolum Syntheticum, and Corydalis Rhizoma. High-frequency drugs included blood-activating and stasis-resolving drugs(1 197, 18.17%) and deficiency-tonifying drugs(809, 12.28%). Cluster analysis identified eight drug combinations, including five new prescriptions suitable for clinical use and new drug development, and three drug pairs. The core drug combination of Salviae Miltiorrhizae Radix et Rhizoma-Chuanxiong Rhizoma-Carthami Flos was identified through the complex co-occurrence network analysis of Chinese medicines. Association rule analysis yielded a total of 17 rules, including 13 drug pairs and 4 tripartite combinations. Common drug pairs included Salviae Miltiorrhizae Radix et Rhizoma-Chuanxiong Rhizoma(support degree 25.79%, confidence coefficient 69.49%, lift 1.30) and Salviae Miltiorrhizae Radix et Rhizoma-Notoginseng Radix et Rhizoma(support degree 22.01%, confidence coefficient 61.95%, lift 1.16). Common tripartite combinations included Salviae Miltiorrhizae Radix et Rhizoma-Chuanxiong Rhizoma-Astragali Radix(support degree 10.85%, confidence coefficient 73.40%, lift 1.37) and Salviae Miltiorrhizae Radix et Rhizoma-Chuanxiong Rhizoma-Notoginseng Radix et Rhizoma(support degree 10.69%, confidence coefficient 79.07%, lift 1.48). The results showed that the underlying pathogenesis of angina involved blood stasis obstructing the heart and Qi deficiency and blood stasis. The overall nature of the disease was characterized as asthenia in origin and sthenia in superficiality. In the prescription formulation, blood-activating and stasis-resolving drugs, such as Salviae Miltiorrhizae Radix et Rhizoma, Chuanxiong Rhizoma, and Carthami Flos were often used to resolve the excess manifestation, which were combined with tonifying drugs such as Astragali Radix, Angelicae Sinensis Radix, Glycyrrhizae Radix et Rhizoma, and Ginseng Radix et Rhizoma to reinforce the deficiency. The syndrome, pathogenesis, disease nature, and medication were consistent with clinical practice. Additionally, the new compound prescriptions and drug combinations derived from the multiple data mining in this study could provide references and insights for the clinical diagnosis and treatment of angina and the development of new drugs.