(EN) The present invention relates to a camera module and electronic equipment with a shooting function, the camera module comprises a lens assembly including a lens barrel and a lens, at least part of thelens is mounted in the lens barrel; a driving assembly is used for driving the lens to move along the optical axis; wherein the driving assembly is provided with a magnetic part, the lens is providedwith a magnetic matching part, and the magnetic part and the magnetic matching part are located at the two ends of the side wall of the lens cone in the thickness direction and can be connected underthe action of magnetic attraction force, so that the lens can move along the optical axis of the lens under the driving of the driving assembly. The lens and the driving assembly can be connected through the magnetic attraction force between the magnetic part and the magnetic matching part, and the lens can be driven to move in the lens cone in the movement process of the driving assembly after connection so as to realize zooming. The connecting structure of the lens and the driving assembly is simple, the side wall of the lens barrel does not need to be provided with a through hole, the riskthat normal work of the lens is affected by light entering the lens barrel due to the through hole is prevented, and the service life and shooting effect of the camera module are improved.
(ZH) 本发明涉及相机模块、具有拍摄功能的电子设备,相机模块包括:镜头组件,包括镜筒和镜头,镜头的至少部分安装于镜筒内;驱动组件,用于驱动镜头沿光轴运动;其中,驱动组件设置有磁性部,镜头设置有磁性配合部,磁性部与磁性配合部位于镜筒的侧壁沿厚度方向的两端,且二者能够在磁吸力作用下连接,以使镜头能够在驱动组件的驱动下沿镜头的光轴运动。镜头与驱动组件之间能够通过磁性部和磁性配合部之间的磁吸力连接,连接后,驱动组件运动的过程中,能够带动镜头在镜筒内运动,从而实现变焦。镜头与驱动组件的连接结构简单,镜筒的侧壁无需设置通孔,防止因设置通孔而导致光线进入镜筒内影响镜头正常工作的风险,提高相机模块的寿命和拍摄效果。