A method for controlling unlocking of a terminal, comprising: receiving from a fingerprint recognition sensor of a terminal a plurality of first fingerprint images when a touch operation of a finger of a user on the fingerprint recognition sensor of the terminal is detected; determining, according to the plurality of first fingerprint images, whether the finger is in a steady state and whether the finger is a sweaty finger, wherein, when a difference in clarity of any two of the plurality of first fingerprint images is less than or equal to a default value, the finger of the user is determined to be in the steady state, and wherein, determining that the finger of the user is a sweaty finger comprises: determining a second target fingerprint image from the plurality of first fingerprint images, wherein the second target fingerprint image has the best clarity; extracting feature points of the second target fingerprint image; and determining that the finger is the sweaty finger when a number of the feature points of the second target fingerprint image is less than a threshold; receiving a plurality of second fingerprint images, wherein, upon determining that the finger of the user is the sweaty finger and is in the steady state, receiving the plurality of second fingerprint images according to a plurality of CAC parameters corresponding to the sweaty finger, and upon determining that the finger of the user is a dry finger and the finger of the user is in an unsteady state, receiving the plurality of second fingerprint images according to a plurality of pre-stored CAC parameters, wherein each CAC parameter comprises an offset of an analog-to-digital converter, ADC, an ADC gain, and a pixel gain; determining a first target fingerprint image from the plurality of second fingerprint images, wherein the first target fingerprint image has the best clarity; matching the first target fingerprint image; and unlocking the terminal when the first target fingerprint image is matched. receiving from a fingerprint recognition sensor of a terminal a plurality of first fingerprint images when a touch operation of a finger of a user on the fingerprint recognition sensor of the terminal is detected; determining, according to the plurality of first fingerprint images, whether the finger is in a steady state and whether the finger is a sweaty finger, wherein, when a difference in clarity of any two of the plurality of first fingerprint images is less than or equal to a default value, the finger of the user is determined to be in the steady state, and wherein, determining that the finger of the user is a sweaty finger comprises: determining a second target fingerprint image from the plurality of first fingerprint images, wherein the second target fingerprint image has the best clarity; extracting feature points of the second target fingerprint image; and determining that the finger is the sweaty finger when a number of the feature points of the second target fingerprint image is less than a threshold; wherein, when a difference in clarity of any two of the plurality of first fingerprint images is less than or equal to a default value, the finger of the user is determined to be in the steady state, and wherein, determining that the finger of the user is a sweaty finger comprises: determining a second target fingerprint image from the plurality of first fingerprint images, wherein the second target fingerprint image has the best clarity; extracting feature points of the second target fingerprint image; and determining that the finger is the sweaty finger when a number of the feature points of the second target fingerprint image is less than a threshold; determining a second target fingerprint image from the plurality of first fingerprint images, wherein the second target fingerprint image has the best clarity; extracting feature points of the second target fingerprint image; and determining that the finger is the sweaty finger when a number of the feature points of the second target fingerprint image is less than a threshold; receiving a plurality of second fingerprint images, wherein, upon determining that the finger of the user is the sweaty finger and is in the steady state, receiving the plurality of second fingerprint images according to a plurality of CAC parameters corresponding to the sweaty finger, and upon determining that the finger of the user is a dry finger and the finger of the user is in an unsteady state, receiving the plurality of second fingerprint images according to a plurality of pre-stored CAC parameters, wherein each CAC parameter comprises an offset of an analog-to-digital converter, ADC, an ADC gain, and a pixel gain; determining a first target fingerprint image from the plurality of second fingerprint images, wherein the first target fingerprint image has the best clarity; matching the first target fingerprint image; and unlocking the terminal when the first target fingerprint image is matched.