A fingerprint recognition method, wherein the method is applied to an electronic device comprising a touch screen, the electronic device further comprises a fingerprint sensor, and the method comprises: displaying, by the electronic device, a first interface; capturing, by the electronic device, first fingerprint information that is input by a user at the first interface; determining, by the electronic device, whether the touch screen is in a first state, wherein the first state is used to indicate that the touch screen is in a screen protector state in which a protective film is applied to the touch screen, wherein the determining, by electronic device, whether the touch screen is in a first state comprises obtaining, by the electronic device, raw fingerprint data for the first fingerprint information and obtaining preset fingerprint data, wherein the preset fingerprint data is pre-configured on the electronic device and comprises noisy image data that is generated based on actual hardware parameters of the touch screen and the fingerprint sensor and that affects a success rate of fingerprint recognition, performing, by the electronic device, feature fusion on the raw fingerprint data and the preset fingerprint data to obtain a first fusion image, and running, by the electronic device, a preset AI recognition model with the first fusion image used as input to determine whether the touch screen is in the first state; restoring, by the electronic device if the touch screen is in the first state, the first fingerprint information by using a first preset artificial intelligence AI restoration model to obtain second fingerprint information, wherein quality of a fingerprint image in the second fingerprint information is higher than quality of a fingerprint image in the first fingerprint information, wherein the restoring, by the electronic device, the first fingerprint information by using a first preset artificial intelligence AI restoration model to obtain second fingerprint information comprises running, by the electronic device, the first preset AI restoration model with the first fingerprint information used as input to obtain the second fingerprint information, wherein the first preset AI restoration model is trained by using a plurality of first groups of fingerprint images as training samples, each first group of fingerprint images comprises a first fingerprint image and a second fingerprint image, the first fingerprint image is captured when the touch screen is in the first state, and the second fingerprint image is a pre-configured image obtained after the first fingerprint image is restored; and determining, by the electronic device, whether the second fingerprint information matches preset fingerprint information, and displaying a second interface if the first fingerprint information passes fingerprint recognition. displaying, by the electronic device, a first interface; capturing, by the electronic device, first fingerprint information that is input by a user at the first interface; determining, by the electronic device, whether the touch screen is in a first state, wherein the first state is used to indicate that the touch screen is in a screen protector state in which a protective film is applied to the touch screen, wherein the determining, by electronic device, whether the touch screen is in a first state comprises obtaining, by the electronic device, raw fingerprint data for the first fingerprint information and obtaining preset fingerprint data, wherein the preset fingerprint data is pre-configured on the electronic device and comprises noisy image data that is generated based on actual hardware parameters of the touch screen and the fingerprint sensor and that affects a success rate of fingerprint recognition, performing, by the electronic device, feature fusion on the raw fingerprint data and the preset fingerprint data to obtain a first fusion image, and running, by the electronic device, a preset AI recognition model with the first fusion image used as input to determine whether the touch screen is in the first state; restoring, by the electronic device if the touch screen is in the first state, the first fingerprint information by using a first preset artificial intelligence AI restoration model to obtain second fingerprint information, wherein quality of a fingerprint image in the second fingerprint information is higher than quality of a fingerprint image in the first fingerprint information, wherein the restoring, by the electronic device, the first fingerprint information by using a first preset artificial intelligence AI restoration model to obtain second fingerprint information comprises running, by the electronic device, the first preset AI restoration model with the first fingerprint information used as input to obtain the second fingerprint information, wherein the first preset AI restoration model is trained by using a plurality of first groups of fingerprint images as training samples, each first group of fingerprint images comprises a first fingerprint image and a second fingerprint image, the first fingerprint image is captured when the touch screen is in the first state, and the second fingerprint image is a pre-configured image obtained after the first fingerprint image is restored; and determining, by the electronic device, whether the second fingerprint information matches preset fingerprint information, and displaying a second interface if the first fingerprint information passes fingerprint recognition.