In this paper, the analysis of intracavitary electrocardiograms is used to guide the mining of abnormal cardiac rhythms in patients with hidden heart disease, and the algorithm is improved to address the data imbalance problem existing in the abnormal electrocardiogram signals, and a weight-based automatic classification algorithm for deep convolutional neural network electrocardiogram signals is proposed. By preprocessing the electrocardiogram data from the MIT-BIH arrhythmia database, the experimental dataset training algorithm model is obtained, and the algorithm model is migrated into the project. In terms of system design and implementation, by comparing the advantages and disadvantages of the electrocardiogram monitoring system platform, the overall design of the system was carried out in terms of functional and performance requirements according to the system realization goal, and a mobile platform system capable of classifying common abnormal electrocardiogram signals was developed. The system is capable of long-term monitoring and can invoke the automatic classification algorithm model of electrocardiogram signals for analysis. In this paper, the functional logic test and performance test were conducted on the main functional modules of the system. The test results show that the system can run stably and monitor electrocardiogram signals for a long time and can correctly call the deep convolutional neural network-based automatic electrocardiogram signal classification algorithm to analyze the electrocardiogram signals and achieve the requirements of displaying the electrocardiogram signal waveform, analyzing the heartbeat type, and calculating the average heart rate, which achieves the goal of real-time continuous monitoring and analysis of the electrocardiogram signals.