With the wide application of artificial intelligence and big data technology in the medical field, the problems of high cost and low efficiency of traditional pharmacy management were becoming more and more obvious. Therefore, this paper proposed to use data mining technology to design and develop the dispensing process and equipment of intelligent pharmacy. Firstly, it summarized the existing data mining technology and association rule methods and expounded its application value in the related fields. Secondly, the data standard and integration platform of dispensing in intelligent pharmacy were established. Web service technology was used to design the interactive interface and call it to the intelligent device of pharmacy. Finally, an intelligent pharmacy management system based on association rule mining was constructed through the data mining of intelligent pharmacy equipment, in order to improve the intelligence and informatization of modern pharmacy management. For the emergency dispensing process of intelligent equipment failure, data mining was used to optimize the intelligent pharmacy equipment and dispensing process and change the pharmacy management from traditional prescription to patient drug treatment, so as to improve the dispensing efficiency of intelligent pharmacy equipment. Through the systematic test and analysis, the results showed that through the real-time risk prevention and control, the formula accuracy and operation speed of the intelligent dispensing machine were improved and the dispensing time was shortened. Through intelligent drug delivery, the unreasonable drug use of patients was reduced, the safety and effectiveness of clinical drug use were ensured, and the contradiction between doctors and patients was reduced. This study can not only optimize the medical experience of patients and provide patients with more high-quality and humanized pharmaceutical technical services but also provide some support for the intelligent management of modern hospitals.