A mobile terminal, comprising: a processor; a face image collecting device, configured to collect a face image; and a memory, configured to store feature data of a preset face template; the processor being configured to carry out following actions, comprising: performing a first operation and a second operation in parallel, the first operation being configured to detect whether the face image is a real face image, the second operation being configured to extract feature data of the face image; being characterised in: obtaining an amount of the feature data; determining an amount of system resources required to perform feature data matching based on the amount of the feature data, comprising: taking a numerical interval of the amount of the feature data as a query identifier; and querying a preset mapping between numerical intervals and amounts of system resources to determine the amount of system resources corresponding to the numerical interval; assigning the amount of system resources to perform the operation of matching the feature data with the feature data of the preset face template; matching (S203, S303) the feature data of the face image with the feature data of the preset face template when the feature data of the face image is extracted and the face image is detected to be the real face image; and performing an unlocking operation when the feature data of the face image matches the feature data of the preset face template. a processor; a face image collecting device, configured to collect a face image; and a memory, configured to store feature data of a preset face template; the processor being configured to carry out following actions, comprising: performing a first operation and a second operation in parallel, the first operation being configured to detect whether the face image is a real face image, the second operation being configured to extract feature data of the face image; being characterised in: obtaining an amount of the feature data; determining an amount of system resources required to perform feature data matching based on the amount of the feature data, comprising: taking a numerical interval of the amount of the feature data as a query identifier; and querying a preset mapping between numerical intervals and amounts of system resources to determine the amount of system resources corresponding to the numerical interval; assigning the amount of system resources to perform the operation of matching the feature data with the feature data of the preset face template; matching (S203, S303) the feature data of the face image with the feature data of the preset face template when the feature data of the face image is extracted and the face image is detected to be the real face image; and performing an unlocking operation when the feature data of the face image matches the feature data of the preset face template. performing a first operation and a second operation in parallel, the first operation being configured to detect whether the face image is a real face image, the second operation being configured to extract feature data of the face image; being characterised in: obtaining an amount of the feature data; determining an amount of system resources required to perform feature data matching based on the amount of the feature data, comprising: taking a numerical interval of the amount of the feature data as a query identifier; and querying a preset mapping between numerical intervals and amounts of system resources to determine the amount of system resources corresponding to the numerical interval; assigning the amount of system resources to perform the operation of matching the feature data with the feature data of the preset face template; matching (S203, S303) the feature data of the face image with the feature data of the preset face template when the feature data of the face image is extracted and the face image is detected to be the real face image; and performing an unlocking operation when the feature data of the face image matches the feature data of the preset face template. obtaining an amount of the feature data; determining an amount of system resources required to perform feature data matching based on the amount of the feature data, comprising: taking a numerical interval of the amount of the feature data as a query identifier; and querying a preset mapping between numerical intervals and amounts of system resources to determine the amount of system resources corresponding to the numerical interval; assigning the amount of system resources to perform the operation of matching the feature data with the feature data of the preset face template; matching (S203, S303) the feature data of the face image with the feature data of the preset face template when the feature data of the face image is extracted and the face image is detected to be the real face image; and performing an unlocking operation when the feature data of the face image matches the feature data of the preset face template.