This invention discloses a
data classification method, apparatus, storage medium, and terminal for
chip failure types. The method includes acquiring
design information of the
chip under test (DUT), and based on the
design information, acquiring the DUT's size information, logical location-to-physical location correspondence information, and
failure type information; acquiring
test data of the DUT, and converting the
test data into test physical location information based on the size information and logical location-to-physical location correspondence information; clustering the failure positions of the DUT using an optimized clustering
algorithm based on the test physical location information to obtain failure clustering results; and classifying the failure positions of the DUT based on the
failure type information and the failure clustering results to obtain failure classification results for the DUT. This method improves the efficiency of clustering operations by optimizing the clustering
algorithm, saves memory occupied by the operation, and greatly improves the efficiency of
chip failure type acquisition; it also improves data reading and saving efficiency and saves storage space.