Stroke is one of the major causes of disability and death worldwide. The lack of effective medical treatment for stroke heightens the need for new therapeutic targets. In this study, we obtained two microarray data sets from the Gene Expression Omnibus (GEO) database and identified differential genes (DEGs) between MCAO and control groups. Then, enrichment analysis of the DEGs was performed using DAVID and Metascape. The results show 27 DEGs shared between the two datasets. The functional enrichment analysis showed that these genes are mainly enriched in immune response, complement and coagulation cascades, apoptotic processes. The four hub genes (C1qc, Fcgr2b, C1qb, and Cd14) were screened out using the Cytoscape. Next, real-time PCR and Western blot analysis showed that expression of C1q and CD14 increased at 14 days after tMCAO. Furthermore, we took eight small molecule compounds with the lowest score using Cmap and studied their background characteristics. These results are built on a meta-analysis of data, which are generally accessible from the online space. Finally, we evaluated the protective effect of the rolipram through behavior tests after tMCAO, and results showed that the rolipram significantly attenuated neurobehavioral dysfunction at 14 days after brain ischemia. The present results provide novel insights into the biological process and potential therapeutic drugs involved in stroke.