The application relates to a self-
correlation clustering ectopic
heartbeat recognition method, which comprises the following steps: step 1, collecting electrocardio
signal data; step 2, data preprocessing; step 3, moving sliding window; step 4, establishing a function; step 5, obtaining atrial premature beat, ventricular premature beat and normal
heartbeat correlation data sets; step 6, obtaining the minimum
Euclidean distance of vectors in the atrial premature beat, ventricular premature beat and normal
heartbeat correlation data sets; step 7, obtaining the maximum
Euclidean distance of vectors in the atrial premature beat, ventricular premature beat and normal heartbeat correlation data sets; step 8, obtaining a to-be-detected electrocardio
signal segment and performing data preprocessing, constructing a correlation
data set phi of the
signal segment, and constructing a function of phi and the
Euclidean distance in the previous step; and step 9, judging the type of the to-be-detected electrocardio signal according to the function in step 8. The application has the beneficial effect that the position of an R wave and the heartbeat type can be given simultaneously, and the superposition of errors is avoided.