A mobile terminal having a camera module , comprising a display screen; a terminal body , wherein the terminal body has a placement portion where the camera module can be placed; the camera module detachably connected to the terminal body , wherein the camera module comprises a camera; a first Hall sensor and a second Hall sensor , wherein the first Hall sensor and the second Hall sensor are respectively electrically connected to a processor built in the terminal body and fixedly arranged on a side on which the placement portion of the terminal body is located, wherein the first Hall sensor and the second Hall sensor are symmetrically distributed on two sides relative to the center line of the terminal body ; and a magnetic structural element , wherein the magnetic structural element is fixed on an end of the camera module close to the placement portion, and the camera module is placed on the placement portion, wherein the camera module has a front-facing shooting mode and a rear-facing shooting mode; in the front-facing shooting mode, the orientation of the camera is the same as the orientation of the display screen, and the magnetic structural element is opposite to the second Hall sensor ; and in the rear-facing shooting mode, the orientation of the camera is contrary to the orientation of the display screen, and the magnetic structural element is opposite to the first Hall sensor ; wherein the processor is configured to: acquire a first magnetic field strength signal output by the first Hall sensor and a second magnetic field strength signal output by the second Hall sensor ; and determine a shooting mode of the camera module according to the first magnetic field strength signal and the second magnetic field strength signal. a display screen; a terminal body , wherein the terminal body has a placement portion where the camera module can be placed; the camera module detachably connected to the terminal body , wherein the camera module comprises a camera; a first Hall sensor and a second Hall sensor , wherein the first Hall sensor and the second Hall sensor are respectively electrically connected to a processor built in the terminal body and fixedly arranged on a side on which the placement portion of the terminal body is located, wherein the first Hall sensor and the second Hall sensor are symmetrically distributed on two sides relative to the center line of the terminal body ; and a magnetic structural element , wherein the magnetic structural element is fixed on an end of the camera module close to the placement portion, and the camera module is placed on the placement portion, wherein the camera module has a front-facing shooting mode and a rear-facing shooting mode; in the front-facing shooting mode, the orientation of the camera is the same as the orientation of the display screen, and the magnetic structural element is opposite to the second Hall sensor ; and in the rear-facing shooting mode, the orientation of the camera is contrary to the orientation of the display screen, and the magnetic structural element is opposite to the first Hall sensor ; wherein the processor is configured to: acquire a first magnetic field strength signal output by the first Hall sensor and a second magnetic field strength signal output by the second Hall sensor ; and determine a shooting mode of the camera module according to the first magnetic field strength signal and the second magnetic field strength signal. acquire a first magnetic field strength signal output by the first Hall sensor and a second magnetic field strength signal output by the second Hall sensor ; and determine a shooting mode of the camera module according to the first magnetic field strength signal and the second magnetic field strength signal. <EOS>