A method includes determining that a mobile device is in a preset scenario, starting at least one monitor, detecting that an eye of a user has entered a monitoring area of the at least one monitor, enabling an eye tracking mode, collecting a first gaze action of the eye whose duration is not less than a first preset threshold, and starting the eye tracking function.