US 12,279,040 B2
Mobile terminal having detachably connected camera module, hall sensor, and magnet, shooting mode detection method, and storage medium
Yongcheng Lan, Dongguan (CN)
Assigned to VIVO MOBILE COMMUNICATION CO., LTD., Dongguan (CN)
Filed by VIVO MOBILE COMMUNICATION CO., LTD., Dongguan (CN)
Filed on Jul. 21, 2022, as Appl. No. 17/870,779.
Application 17/870,779 is a continuation of application No. PCT/CN2021/072902, filed on Jan. 20, 2021.
Claims priority of application No. 202010073817.7 (CN), filed on Jan. 22, 2020.
Prior Publication US 2022/0360709 A1, Nov. 10, 2022
Int. Cl. H04N 23/667 (2023.01); G01V 3/08 (2006.01); G03B 17/56 (2021.01); H04M 1/02 (2006.01); H04M 1/72454 (2021.01); H04N 23/45 (2023.01); H04N 23/50 (2023.01); H04N 23/54 (2023.01); H04N 23/57 (2023.01); H04N 23/60 (2023.01); H04N 23/663 (2023.01)
CPC H04N 23/667 (2023.01) [G01V 3/081 (2013.01); H04M 1/0264 (2013.01); H04N 23/45 (2023.01); H04N 23/50 (2023.01); H04N 23/54 (2023.01); H04N 23/57 (2023.01); H04N 23/64 (2023.01); H04N 23/663 (2023.01); G03B 17/561 (2013.01); G03B 17/566 (2013.01); H04M 1/0256 (2013.01); H04M 1/72454 (2021.01)] 10 Claims
OG exemplary drawing
 
1. A mobile terminal, comprising:
a terminal body, wherein the terminal body has a placement portion for placing a camera module;
the camera module detachably connected to the terminal body;
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 processor is configured to adjust a shooting parameter of the camera module based on magnetic field strength signals output by the first Hall sensor and the second Hall sensor; 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 when the camera module is placed on the placement portion, the magnetic structural element is opposite to the first Hall sensor or the second Hall sensor,
wherein:
the terminal body comprises a display screen, and the camera module comprises a camera; and
the camera module has a front-facing shooting mode and a rear-facing shooting mode, wherein in the front-facing shooting mode, the orientation of the camera is the same as the orientation of the display screen, and in the rear-facing shooting mode, the orientation of the camera is contrary to the orientation of the display screen,
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
wherein:
the camera module is placed on the placement portion;
when the orientation of the camera is contrary to the orientation of the display screen, the magnetic structural element is opposite to the first Hall sensor;
when the orientation of the camera is the same as the orientation of the display screen, the magnetic structural element is opposite to the second Hall sensor, and
the processor is configured to:
when the first magnetic field strength signal is a first level signal and the second magnetic field strength signal is a second level signal, determine that the shooting mode of the camera module is the front-facing shooting mode; and
when the first magnetic field strength signal is a second level signal and the second magnetic field strength signal is a first level signal, determine that the shooting mode of the camera module is the rear-facing shooting mode,
wherein when the first level signal is a high level signal, the second level signal is a low level signal, or when the first level signal is a low level signal, the second level signal is a high level signal.