1. A fingerprint recognition method, the method comprising: retrieving, by a fingerprint recognition device comprising a memory and a processor in communication with the memory, a first fingerprint image acquired by a fingerprint sensor and a second fingerprint image stored in a database; performing, by the fingerprint recognition device, feature extraction on the first fingerprint image and the second fingerprint image with an auto encode decode network to obtain a first fingerprint feature corresponding to the first fingerprint image and a second fingerprint feature corresponding to the second fingerprint image, the first fingerprint feature and the second fingerprint feature having equal dimensionality; performing, by the fingerprint recognition device, dimensionality reduction on the first fingerprint feature and the second fingerprint feature to respectively obtain a third fingerprint feature and a fourth fingerprint feature, the third fingerprint feature and the fourth fingerprint feature having equal dimensionality that is smaller than the dimensionality of the first fingerprint feature and the second fingerprint feature; calculating, by the fingerprint recognition device, a cosine distance between the third fingerprint feature and the fourth fingerprint feature; comparing, by the fingerprint recognition device, the calculated cosine distance with a preset threshold; when the cosine distance is greater than the preset threshold, determining, by the fingerprint recognition device, that the first fingerprint image and the second fingerprint image belong to the same fingerprint; and when the cosine distance is less than or equal to the preset threshold, determining, by the fingerprint recognition device, that the first fingerprint image and the second fingerprint image belong to different fingerprints.