Camera module and control method thereof, electronic device, and computer-readable storage medium

By introducing a light intensity detection unit and controller into the camera module, the working status of the shading component is dynamically controlled, which solves the problem of image sensor protection under strong light and ensures normal imaging and service life of the module.

CN115103100BActive Publication Date: 2024-09-06GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210710911.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-22
Publication Date
2024-09-06
Estimated Expiration
2042-06-22

AI Technical Summary

Technical Problem

Existing camera modules cannot effectively protect the image sensor when encountering strong light, especially under laser irradiation, which can easily lead to burns. Moreover, existing solutions to avoid strong light burns cannot cover scenarios when the user is not using the camera.

Method used

A camera module is designed, which includes a lens, an image sensor, a light-shielding component and a light intensity detection unit. The light intensity detection unit detects ambient light information, and uses a controller to control the working status of the light-shielding component based on the detection results to block the light when in strong light. The image sensor prevents burns; it is not blocked when there is no strong light to ensure normal imaging.

Benefits of technology

It effectively prevents burns caused by strong light, extends the service life of the camera module, and ensures normal imaging when there is no strong light, solving the problem of usage scenarios that cannot be covered by existing technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115103100B
    Figure CN115103100B
Patent Text Reader

Abstract

The present disclosure proposes a camera module and its control method and electronic device. The camera module includes a lens, an image sensor, a shading component, a light intensity detection unit and a controller, wherein the lens is used to collect light signals; the image sensor is arranged on the side of the lens away from the shooting direction of the lens, and is used to perform imaging according to the light signals; the shading component is arranged between the lens and the image sensor; the light intensity detection unit is used to detect the ambient light information in the shooting direction of the lens; the controller is connected to the light intensity detection unit and the shading component, and is used to control the working state of the shading component according to the ambient light information. The camera module can prevent the image sensor in the camera module from being burned when encountering strong light.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] The camera module is one of the indispensable components of smart electronic devices. With the continuous development and popularization of smart devices, the requirements for camera modules are getting higher and higher.

[0003] The camera module in the prior art cannot provide high protection for the image sensor, and the image sensor in the camera module is easily burned when encountering strong light (such as laser).

[0004] The above information disclosed in the Background section is only for enhancement of understanding of the background of the present disclosure and therefore it may include information that does not constitute the prior art that is already known to one of ordinary skill in the art. Summary of the invention

[0005] The embodiments of the present disclosure provide a camera module, a control method of the camera module, an electronic device, and a computer-readable storage medium, which can prevent an image sensor in the camera module from being burned when encountering strong light.

[0006] Additional aspects and advantages of the disclosure will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the disclosure.

[0007] According to the first aspect of the present disclosure, a camera module includes: a lens for collecting light signals; an image sensor, arranged on a side of the lens away from a shooting direction of the lens, for imaging according to the light signals; a shading component, arranged between the lens and the image sensor; a light intensity detection unit, for detecting ambient light information in the shooting direction of the lens; and a controller, connected to the light intensity detection unit and the shading component, for controlling a working state of the shading component according to the ambient light information.

[0008] According to a second aspect of the present disclosure, a control method for a camera module is provided, the camera module comprising a lens, an image sensor, a shading assembly, a light intensity detection unit and a controller, wherein the lens is used to collect light signals; the image sensor is arranged on a side of the lens away from a shooting direction of the lens, and is used to form an image according to the light signal; the shading assembly is arranged between the lens and the image sensor; the light intensity detection unit is used to detect ambient light information in a shooting direction of the lens; the method comprises: the controller controls the working state of the shading assembly according to the ambient light information.

[0009] According to a third aspect of the present disclosure, an electronic device comprises the camera module described in any one of the above items.

[0010] According to a fourth aspect of the present disclosure, a computer-readable medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the above method is implemented.

[0011] The camera module provided by an embodiment of the present disclosure detects the ambient light information of the shooting direction of the lens through a light intensity detection unit, and then uses a controller to control the shading component to block the image sensor or not block the image sensor according to the ambient light information. When the light intensity is too strong, such as when there is a laser, the shading component can be used to block the image sensor to prevent the strong light from burning the image sensor. At the same time, when there is no strong light, the shading component can be made not to block the image sensor, so that the camera module can form images normally. While ensuring the normal imaging of the camera module, the image sensor can be better protected, thereby increasing the service life of the camera module. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The above and other features and advantages of the present disclosure will become more apparent by describing in detail example embodiments thereof with reference to the attached drawings.

[0013] Figure 1 It is a structural schematic diagram of an embodiment of a camera module disclosed in the present invention;

[0014] Figure 2 It is a structural schematic diagram of another embodiment of the camera module disclosed in the present invention;

[0015] Figure 3 is a schematic diagram of the structure of the lens disclosed in the present invention;

[0016] Figure 4 is a structural schematic diagram of a shading assembly in an exemplary embodiment of the present disclosure;

[0017] Figure 5 is a schematic structural diagram of another shading assembly in an exemplary embodiment of the present disclosure;

[0018] Figure 6 is a structural schematic diagram of another shading assembly in an exemplary embodiment of the present disclosure;

[0019] Figure 7 A flowchart for adjusting the working state of a shading component in an exemplary embodiment of the present disclosure is schematically shown;

[0020] Figure 8 A flowchart schematically illustrates a camera module control method in an exemplary embodiment of the present disclosure;

[0021] Fig. 9 A schematic diagram showing an electronic device to which the embodiments of the present disclosure can be applied;

[0022] The main components in the figure are marked as follows: 1. Lens; 2. Image sensor; 3. Shading component; 31. Electrochromic glass; 32. First cutoff film; 33. First anti-reflection film; 34. Infrared adsorption coating; 4. Light intensity detection unit; 5. Controller; 6. Lens; 61. Second anti-reflection film; 62. Second cutoff film; 63. High-transmittance anti-fingerprint AF film. DETAILED DESCRIPTION

[0023] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar structures, and thus their detailed description will be omitted.

[0024] The camera module relies on pinhole imaging and lens imaging to focus the incident light onto the image sensor, which is extremely sensitive to light, to form an image.

[0025] Laser, also known as laser light, has the characteristics of high energy, precise focusing, and strong directionality, so the energy emitted from a single point is also extremely high. Therefore, the concentrated beam emitted by laser can heat sensitive surfaces and cause damage. Therefore, cameras that are naturally sensitive to light are easily damaged by direct laser light, whether it is CMOS, CCD or film.

[0026] In traditional mobile phone software, the camera module is not always turned on due to power consumption and other factors. It is only activated when the user clicks on the camera. Therefore, there are two failure scenarios for laser burns in theory. First, when the user is exposed to the stage laser environment to make a phone call or other usage scenarios without using the camera, the user may not "notice" and the laser may burn the image sensor. Second, when the user is exposed to the stage laser environment to take pictures with the camera, when the laser energy reaches the threshold of image sensor damage, failure occurs.

[0027] The current solution for stage cameras to avoid being burned by strong light is usually to manually install a neutral density film in front of the camera lens after manually determining that there is laser in the scene, thereby reducing the intensity of light entering the imaging system. However, laser damage lasts for a very short time, often only about less than 5 seconds, to destroy the image sensor in the camera module or the microlens on the surface of the image sensor. There is a certain delay in human judgment, and the installation of the neutral density film also requires manual operation. Secondly, the current technical solution cannot cover the first failure scenario, that is, the scenario where the user is not using the camera.

[0028] Based on the above problems, the present disclosure first proposes a camera module, referring to Figure 1As shown, it includes a lens 1, an image sensor 2, a shading component 3, a light intensity detection unit 4 and a controller 5, wherein the lens 1 is used to collect light signals; the image sensor 2 is arranged on the side of the lens 1 away from the shooting direction of the lens 1, and is used to form an image according to the light signal; the shading component 3 is arranged between the lens 1 and the image sensor 2; the light intensity detection unit 4 is used to detect the ambient light information in the shooting direction of the lens 1; the controller 5 is connected to the light intensity detection unit 4 and the shading component 3, and is used to control the working state of the shading component 3 according to the ambient light information.

[0029] Compared with the prior art, the camera module provided by the present disclosure detects the ambient light information of the shooting direction of the lens 1 through the light intensity detection unit 4, and then uses the controller 5 to control the shading component 3 to block the image sensor 2 or not block the image sensor 2 according to the ambient light information. When the light intensity is too strong, such as when there is a laser, the shading component 3 can be used to block the image sensor 2 to prevent the strong light from burning the image sensor 2. At the same time, when there is no strong light, the shading component 3 can be made not to block the image sensor 2, so that the camera module can form images normally. While ensuring the normal imaging of the camera module, the image sensor 2 can be better protected, thereby improving the service life of the camera module.

[0030] The various components in the above-mentioned camera module are described in detail below.

[0031] In an exemplary embodiment of the present disclosure, the lens 1 of the camera module is used to collect light signals and transmit the light signals to the image sensor 2, so that the image sensor 2 completes imaging according to the light signals.

[0032] In this example implementation, the camera module may further include a bracket 7 and a driving device 8, the driving device 8 is mounted on the bracket 7, the lens 1 is mounted between the driving devices, and the driving device 8 is used to drive the lens 1 to move along the direction of the optical path, or to move perpendicular to the direction of the optical path. The driving device 8 may be a driving motor, and the driving device 8 is usually electrically driven, and may also be customized according to user needs, which is not specifically limited in this example implementation.

[0033] In this exemplary embodiment, the central axis of the image sensor 2 coincides with the central axis of the lens 1 , so that the imaging effect of the image sensor 2 is better.

[0034] In this example embodiment, the image sensor 2 utilizes the photoelectric conversion function of the photoelectric device to convert the light image on the photosensitive surface into an electrical signal that is in proportional relationship with the light image, wherein the image sensor 2 can be a CCD image sensor 2 or a CMOS image sensor 2, which is not specifically limited in this example embodiment.

[0035] In an exemplary embodiment of the present disclosure, the camera module may further include a lens 6 , which is disposed in the shooting direction of the lens 1 and spaced apart from the lens 1 for protecting the lens 1 .

[0036] In one example implementation, referring to Figure 2 As shown, the light intensity detection unit 4 can be arranged on the lens 6 to detect the ambient light information in the shooting direction of the lens 1. The light intensity detection unit 4 can be a photoelectric sensor. The photoelectric sensor can be a device made of the photovoltaic effect of the conductor PN junction. In the photoconductive mode, the current flowing through the load increases with the increase of the light intensity; when the laser is directly irradiated to the surface of the photoelectric sensor, the current of the load connected to the photoelectric sensor will increase, so as to obtain the ambient light information.

[0037] In another example implementation, the lens 6 may be a photovoltaic glass, in which case the lens 6 may be used as the light intensity detection unit 4, and a load may be connected to the lens 6. When the intensity of light irradiating the lens 6 increases, the lens 6 generates more electric energy, and the voltage and power of the load connected to the lens 6 increase. At least one of the current and voltage of the load can be used as the ambient light information.

[0038] In another exemplary embodiment, the light intensity detection unit 4 may also be disposed on the lens 1 or the driving device 8. In this exemplary embodiment, the location of the light intensity detection unit 4 is not specifically limited.

[0039] It should be noted that the light intensity detection unit 4 only needs to be able to obtain the ambient light information in the shooting direction of the lens 1 , and the specific structure of the light intensity detection unit 4 is not specifically limited in this exemplary implementation.

[0040] In an exemplary embodiment of the present disclosure, referring to Figure 3 As shown, the lens 6 may be provided with a second cut-off film 62 for reflecting invisible light in the ambient light, such as infrared light and ultraviolet light. The second cut-off film 62 may be provided on a side of the lens 6 away from the lens 1 .

[0041] In this exemplary embodiment, a second antireflection film 61 may be provided on the lens 6 . The second antireflection film 61 is provided on a side of the lens 6 away from the second cut-off film 62 to enhance the transmittance of the second antireflection film 61 to visible light.

[0042] In this example embodiment, a high-transmittance anti-fingerprint AF film 63 may also be provided on the above-mentioned lens 6. The high-transmittance anti-fingerprint AF film 63 is arranged on the side of the above-mentioned second cut-off film 62 away from the lens 1, and is used to prevent the user from leaving fingerprints, thereby causing a decrease in imaging quality. Among them, the high-transmittance anti-fingerprint AF film 63 also has good anti-scratch and wear-resistant effects, better protects the lens 6, and enhances the service life of the lens 6.

[0043] It should be noted that, in an example embodiment, the positions of the second cutoff film 62 and the second anti-reflection film 61 can be interchanged, that is, the second anti-reflection film 61 is arranged on the side of the lens 6 away from the lens 1, and the second cutoff film 62 is arranged on the side of the lens 6 away from the second cutoff film 62. At this time, the high-transmittance anti-fingerprint AF film 63 is arranged on the side of the second anti-reflection film 61 away from the lens 6.

[0044] In this exemplary embodiment, the thickness and number of layers of the second anti-reflection film 61, the second cut-off film 62 and the high-transmittance anti-fingerprint AF film 63 can be customized according to user needs and are not specifically limited in this exemplary embodiment.

[0045] In an example embodiment of the present disclosure, the shading component 3 can be arranged between the above-mentioned lens 1 and the image sensor 2, and the plane where the shading component 3 is located is perpendicular to the light path direction of the lens 1, and the projection of the above-mentioned shading component 3 on the plane where the image sensor 2 is located completely covers the above-mentioned image sensor 2.

[0046] In this example implementation, refer to Figure 4 As shown, the shading component 3 may include an electrochromic glass 31 and a first cutoff film 32, wherein the light transmittance of the two ends of the electrochromic glass 31 is different when different voltages are loaded, and the first cutoff film 32 is arranged on a side of the electrochromic glass 31 close to the lens 1 for reflecting invisible light.

[0047] In this exemplary embodiment, if the second cut-off film 62 is disposed on the lens 6 , the first cut-off film 32 may not be disposed on the shading component 3 .

[0048] In an exemplary embodiment of the present disclosure, referring to Figure 5 As shown, the shading component 3 may further include a first anti-reflection film 33. The first anti-reflection film 33 may be disposed on a side of the electrochromic glass 31 away from the first cut-off film 32, for enhancing the transmittance of the shading component 3 to visible light in a light-transmitting state, thereby achieving a better imaging effect.

[0049] In an exemplary embodiment of the present disclosure, referring to Figure 6As shown, the shading component 3 may further include an infrared absorption coating 34 for absorbing invisible light to further prevent interference of invisible light, such as infrared rays, on imaging, wherein the infrared absorption coating 34 may be disposed between the first anti-reflection film 33 and the electrochromic glass 31 .

[0050] It should be noted that the positions of the first anti-reflection film 33 and the first cut-off film 32 can be interchanged, that is, the first anti-reflection film 33 is arranged on the side of the electrochromic glass 31 close to the lens 1, the first cut-off film 32 is arranged on the side of the electrochromic glass 31 away from the first anti-reflection film 33, and the infrared absorption coating 34 is arranged between the first anti-reflection film 33 and the electrochromic glass 31.

[0051] In an example embodiment of the present disclosure, the shading component 3 may also be a black shading plate, and the black shading plate can be pulled out from one side of the bracket 7, that is, the black shading plate is connected to a driving structure, and the driving structure can drive the black shading plate to cover the image sensor 2 or not to cover the image sensor 2.

[0052] In an exemplary embodiment of the present disclosure, the controller 5 is connected to the light intensity detection unit 4 and the shading component 3 , and is used to control the working state of the shading component 3 according to the ambient light information detected by the light intensity detection unit 4 .

[0053] In this example implementation, the working state may include a light-shielding state and a light-transmitting state. The controller 5 receives the ambient light information transmitted by the light intensity detection unit 4, and generates a light-transmitting control signal to control the light-shielding component 3 to be in the light-transmitting state when the ambient light information meets the first preset condition. The first preset condition may be customized according to different settings of the image sensor 2, and is not specifically limited in this example implementation.

[0054] Specifically, the light transmittance of the electrochromic glass 31 can be maximized. Based on the different materials of the electrochromic glass 31, different voltage signals are applied to the electrochromic glass 31. For example, if the greater the voltage of the electrochromic glass 31, the greater the light transmittance, then a larger voltage can be applied to the electrochromic glass 31 at this time so that the light transmittance of the electrochromic glass 31 is at a maximum value. If the greater the voltage of the electrochromic glass 31, the smaller the light transmittance, then a smaller voltage can be applied to the electrochromic glass 31 or no voltage can be applied to the electrochromic glass 31 at this time so that the light transmittance of the electrochromic glass 31 is at a maximum value. The above-mentioned maximum value can be 100%, or it can be any value greater than 95%, and it can also be customized according to user needs, which is not specifically limited in this example implementation.

[0055] In an exemplary implementation, when the shading component 3 is a black shading plate, the controller 5 may control a driving structure connected to the black shading plate to drive the black shading plate not to block the image sensor 2 .

[0056] In this exemplary embodiment, the controller 5 may also generate a shading control signal to control the shading component 3 to be in a shading state when the ambient light information does not satisfy the first preset condition.

[0057] Specifically, the light transmittance of the electrochromic glass 31 can be minimized. Based on the different materials of the electrochromic glass 31, different voltage signals are applied to the electrochromic glass 31. For example, if the greater the voltage of the electrochromic glass 31, the smaller the light transmittance, then a larger voltage can be applied to the electrochromic glass 31 at this time so that the light transmittance of the electrochromic glass 31 is at a minimum value. If the greater the voltage of the electrochromic glass 31, the greater the light transmittance, then a smaller voltage can be applied to the electrochromic glass 31 or no voltage can be applied to the electrochromic glass 31 at this time so that the light transmittance of the electrochromic glass 31 is at a minimum value. The above-mentioned maximum value can be 0% or any value less than 5%, and can also be customized according to user needs, which is not specifically limited in this example implementation.

[0058] In an exemplary implementation, when the shading component 3 is a black shading plate, the controller 5 may control a driving structure connected to the black shading plate to drive the black shading plate to shield the image sensor 2 .

[0059] In an exemplary implementation of the present disclosure, if the working state of the shading component 3 is the shading state, the controller 5 can control the camera module to power off to save power consumption.

[0060] In an example implementation of the present disclosure, if the camera module is not in a working state, that is, the camera module is not powered on, the controller 5 can control the shading component 3 to be in a shading state. The specific details of how to control the shading component 3 to be in a shading state have been described in detail above, so they will not be repeated here.

[0061] The camera module provided by the present disclosure detects the ambient light information in the shooting direction of the lens 1 through the light intensity detection unit 4, and then uses the controller 5 to control the shading component 3 to block the image sensor 2 or not block the image sensor 2 according to the ambient light information. When the light intensity is too strong, such as when there is a laser, the shading component 3 can be used to block the image sensor 2 to prevent the strong light from burning the image sensor 2. At the same time, when there is no strong light, the shading component 3 can be made not to block the image sensor 2, so that the camera module can form an image normally. While ensuring the normal imaging of the camera module, the image sensor 2 can be better protected, thereby improving the service life of the camera module. The shading effect of the shading component is achieved through the first cutoff film and the electrochromic glass, without the user actively adding a shading layer. At the same time, a first anti-reflection film is set in the shading component to increase the imaging accuracy. Furthermore, a second cutoff film is provided on the lens to prevent interference from invisible light, and a second anti-reflection film is provided to enhance the transmittance of visible light and enhance imaging quality. Furthermore, a high-transmittance fingerprint AF film is provided on the lens to prevent the influence of user fingerprints on the integrity result, while protecting the lens and enhancing the service life of the lens.

[0062] The present disclosure provides a control method for a camera module, which may include a lens 1, an image sensor 2, a shading component 3, a light intensity detection unit 4 and a controller 5, wherein the lens 1 is used to collect light signals; the image sensor 2 is arranged on a side of the lens 1 away from a shooting direction of the lens 1, and is used to form an image based on the light signal; the shading component 3 is arranged between the lens 1 and the image sensor 2; the light intensity detection unit 4 is used to detect ambient light information in a shooting direction of the lens 1; the control method for the camera module may include the controller 5 controlling the working state of the shading component 3 based on the ambient light information.

[0063] In an exemplary embodiment of the present disclosure, the shading component 3 includes an electrochromic glass 31 and a first cut-off film 32, wherein the electrochromic glass 31 is used to change the light transmittance according to the control signal of the controller 5; the first cut-off film 32 is arranged on the side of the electrochromic glass 31 close to the lens 1, and is used to reflect invisible light; the working state includes a shading state and a light transmission state, and the control signal includes a shading control signal and a light transmission control signal, refer to Figure 7 As shown, the controller 5 controls the working state of the shading component 3 according to the ambient light information, which may include steps S710 to S720.

[0064] In step S710, when the ambient light signal meets a first preset condition, the controller 5 generates a light transmission control signal to control the shading component 3 to be in a light transmission state.

[0065] In an exemplary embodiment of the present disclosure, the controller 5 is connected to the light intensity detection unit 4 and the shading component 3 , and is used to control the working state of the shading component 3 according to the ambient light information detected by the light intensity detection unit 4 .

[0066] In this example implementation, the working state may include a light-shielding state and a light-transmitting state. The controller 5 receives the ambient light information transmitted by the light intensity detection unit 4, and generates a light-transmitting control signal to control the light-shielding component 3 to be in the light-transmitting state when the ambient light information meets the first preset condition. The first preset condition may be customized according to different settings of the image sensor 2, and is not specifically limited in this example implementation.

[0067] Specifically, the light transmittance of the electrochromic glass 31 can be maximized. Based on the different materials of the electrochromic glass 31, different voltage signals are applied to the electrochromic glass 31. For example, if the greater the voltage of the electrochromic glass 31, the greater the light transmittance, then a larger voltage can be applied to the electrochromic glass 31 at this time so that the light transmittance of the electrochromic glass 31 is at a maximum value. If the greater the voltage of the electrochromic glass 31, the smaller the light transmittance, then a smaller voltage can be applied to the electrochromic glass 31 or no voltage can be applied to the electrochromic glass 31 at this time so that the light transmittance of the electrochromic glass 31 is at a maximum value. The above-mentioned maximum value can be 100%, or it can be any value greater than 95%, and it can also be customized according to user needs, which is not specifically limited in this example implementation.

[0068] In an exemplary implementation, when the shading component 3 is a black shading plate, the controller 5 may control a driving structure connected to the black shading plate to drive the black shading plate not to block the image sensor 2 .

[0069] In step S720, when the ambient light signal does not satisfy the first preset condition, the controller 5 generates a shading control signal to control the shading component 3 to be in a shading state.

[0070] In this exemplary embodiment, the controller 5 may also generate a shading control signal to control the shading component 3 to be in a shading state when the ambient light information does not satisfy the first preset condition.

[0071] Specifically, the light transmittance of the electrochromic glass 31 can be minimized. Based on the different materials of the electrochromic glass 31, different voltage signals are applied to the electrochromic glass 31. For example, if the greater the voltage of the electrochromic glass 31, the smaller the light transmittance, then a larger voltage can be applied to the electrochromic glass 31 at this time so that the light transmittance of the electrochromic glass 31 is at a minimum value. If the greater the voltage of the electrochromic glass 31, the greater the light transmittance, then a smaller voltage can be applied to the electrochromic glass 31 or no voltage can be applied to the electrochromic glass 31 at this time so that the light transmittance of the electrochromic glass 31 is at a minimum value. The above-mentioned maximum value can be 0% or any value less than 5%, and can also be customized according to user needs, which is not specifically limited in this example implementation.

[0072] In an exemplary implementation, when the shading component 3 is a black shading plate, the controller 5 may control a driving structure connected to the black shading plate to drive the black shading plate to shield the image sensor 2 .

[0073] In an exemplary implementation of the present disclosure, if the working state of the shading component 3 is a shading state, at this time, the controller 5 can control the camera module to power off to save power consumption.

[0074] In an example implementation of the present disclosure, if the camera module is not in a working state, that is, the camera module is not powered on, the controller 5 can control the shading component 3 to be in a shading state. The specific details of how to control the shading component 3 to be in a shading state have been described in detail above, so they will not be repeated here.

[0075] The following combines the original Figure 8 The control method of the above camera module is described in detail, refer to Figure 8 As shown, step S810 can be first executed to determine whether the camera module is powered on. If not, step S820 is executed to control the shading component to be in a shading state. If so, step S830 is executed to determine whether the ambient light information meets the first preset condition. If so, step S840 is executed to control the shading component to be in a light-transmitting state. If not, step S850 is executed to control the light module to be in a shading state and power off the camera module.

[0076] The present disclosure also provides an electronic device, which may include the above-mentioned camera module. Fig. 9 The mobile terminal 900 in FIG. 1 is taken as an example to exemplify the structure of the electronic device. It should be understood by those skilled in the art that, in addition to the components specifically used for mobile purposes, Figure 2 The construction in can also be applied to fixed type equipment.

[0077] like Fig. 9As shown, the mobile terminal 900 may specifically include: a processor 901, a memory 902, a bus 903, a mobile communication module 904, an antenna 1, a wireless communication module 905, an antenna 2, a display screen 906, a camera module 907, an audio module 908, a power module 909 and a sensor module 910.

[0078] The processor 901 may include one or more processing units, for example, the processor 901 may include an AP (Application Processor), a modem processor, a GPU (Graphics Processing Unit), an ISP (Image Signal Processor), a controller, an encoder, a decoder, a DSP (Digital Signal Processor), a baseband processor and / or an NPU (Neural-Network Processing Unit), etc. The control method of the camera module in this exemplary embodiment may be executed by an AP, a GPU or a DSP, and when the method involves processing related to a neural network, it may be executed by an NPU.

[0079] The processor 901 may be connected to the memory 902 or other components via a bus 903 .

[0080] In this exemplary embodiment, the controller of the camera module can be integrated with the processor 901.

[0081] The memory 902 may be used to store computer executable program codes, which include instructions. The processor 901 executes various functional applications and data processing of the mobile terminal 900 by running the instructions stored in the memory 902. The memory 902 may also store application data, such as images, videos, and other files.

[0082] The communication function of the mobile terminal 900 can be implemented by the mobile communication module 904, antenna 1, wireless communication module 905, antenna 2, modulation and demodulation processor and baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. The mobile communication module 904 can provide 2G, 3G, 4G, 5G and other mobile communication solutions applied to the mobile terminal 900. The wireless communication module 205 can provide wireless communication solutions such as wireless LAN, Bluetooth, near field communication, etc. applied to the mobile terminal 200.

[0083] The display screen 906 is used to implement display functions, such as displaying user interfaces, images, videos, etc.

[0084] The camera module 907 is used to realize shooting functions, such as shooting images, videos, etc. Among them, the camera module may include a lens, an image sensor, a shading component, a light intensity detection unit and a controller, wherein the lens is used to collect light signals; the image sensor is arranged on the side of the lens away from the shooting direction of the lens, and is used to form an image according to the light signal; the shading component is arranged between the lens and the image sensor; the light intensity detection unit is used to detect the ambient light information in the shooting direction of the lens; the control method of the camera module may include the controller controlling the working state of the shading component according to the ambient light information.

[0085] The audio module 908 is used to implement audio functions, such as playing audio, collecting voice, etc. The power module 909 is used to implement power management functions, such as charging the battery, powering the device, monitoring the battery status, etc. The sensor module 910 may include a depth sensor 9101, a pressure sensor 9102, a gyroscope sensor 9103, an air pressure sensor 9104, a photoelectric sensor (not shown), etc., to implement corresponding sensing detection functions.

[0086] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0087] The exemplary embodiments of the present disclosure also provide a computer-readable storage medium on which a program product capable of implementing the above-mentioned method of the present specification is stored. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above-mentioned "Exemplary Method" section of the present specification.

[0088] It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0089] In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0090] In addition, program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0091] The features, structures or characteristics described above may be combined in one or more embodiments in any suitable manner, and if possible, the features discussed in each embodiment are interchangeable. In the above description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, materials, etc. may be adopted. In other cases, known structures, materials or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.

[0092] The terms "about" and "approximately" used in this specification generally mean within 20%, preferably within 10%, and more preferably within 5% of a given value or range. The numbers given here are approximate numbers, which means that in the absence of specific instructions, the meanings of "about", "approximately", "roughly" and "approximately" can still be implied.

[0093] Although relative terms such as "upper" and "lower" are used in this specification to describe the relative relationship of one component of the illustration to another component, these terms are used in this specification only for convenience, such as the orientation of the examples described in the drawings. It is understood that if the device of the illustration is turned over so that it is upside down, the component described as being "upper" will become the component "lower". Other relative terms, such as "high", "low", "top", "bottom", "front", "back", "left", "right", etc., also have similar meanings. When a structure is "on" other structures, it may mean that the structure is formed integrally on the other structure, or that the structure is "directly" disposed on the other structure, or that the structure is "indirectly" disposed on the other structure through another structure.

[0094] In this specification, the terms "a", "an", "the", "said" and "at least one" are used to indicate the presence of one or more elements / components / etc.; the terms "comprising", "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first", "second" and "third" etc. are used only as labels and are not intended to limit the quantity of their objects.

[0095] It should be understood that the present disclosure does not limit its application to the detailed structure and arrangement of the components proposed in this specification. The present disclosure can have other embodiments and can be implemented and executed in a variety of ways. The aforementioned variations and modifications fall within the scope of the present disclosure. It should be understood that the present disclosure disclosed and defined in this specification extends to all alternative combinations of two or more individual features mentioned or evident in the text and / or the drawings. All these different combinations constitute multiple alternative aspects of the present disclosure. The embodiments described in this specification illustrate the best mode known for implementing the present disclosure and will enable those skilled in the art to utilize the present disclosure.

Claims

1. A camera module, It is characterized in that include: A lens, used for collecting optical signals; An image sensor, disposed on a side of the lens away from a shooting direction of the lens, and used for imaging according to the light signal; A light shielding component, disposed between the lens and the image sensor; A light intensity detection unit, used to detect ambient light information in the shooting direction of the lens; A controller, connected to the light intensity detection unit and the light shielding component, for controlling the working state of the light shielding component according to the ambient light information; wherein the working state includes a light shielding state and a light transmitting state; The controller is further used to control the shading component to be in a shading state in response to the lens being in a non-working state; and the controller is further used to control the lens to exit a working state in response to the shading component being in a shading state; The shading component includes an electrochromic glass, which is used to change the light transmittance according to the control signal of the controller; the control signal includes a shading control signal and a light transmission control signal, and the controller is used to generate a light transmission control signal when the ambient light information meets a first preset condition, so as to control the shading component to be in a light transmission state; The controller is used for generating a shading control signal to control the shading component to be in a shading state when the ambient light information does not meet the first preset condition.

2. The camera module according to claim 1, It is characterized in that The shading component also includes: The first cut-off film is arranged on a side of the electrochromic glass close to the lens and is used for reflecting invisible light.

3. The camera module according to claim 2, It is characterized in that The working state shown includes a light-transmitting state, and the light-shielding component further includes: The first antireflection film is arranged on a side of the electrochromic glass away from the first infrared cut-off film, and is used to enhance the transmittance of the shading component to visible light when the shading component is in a light-transmitting state.

4. The camera module according to claim 3, It is characterized in that The shading component also includes: The infrared absorption coating is arranged between the anti-reflection film and the electrochromic glass and is used for absorbing invisible light.

5. The camera module according to claim 1, It is characterized in that The controller is used to adjust the light transmittance of the electrochromic glass to a maximum value according to the light transmittance control signal; The controller is used to adjust the light transmittance of the electrochromic glass to a minimum value according to the shading control signal.

6. The camera module according to claim 1, It is characterized in that The light intensity detection unit includes a photoelectric sensor, and the camera module also includes: The lens is arranged in the shooting direction of the lens and is spaced apart from the lens. The photoelectric sensor is installed on the lens.

7. The camera module according to claim 1, It is characterized in that The camera module also includes: A lens, arranged in the shooting direction of the lens and spaced apart from the lens; The second cut-off film is bonded to the lens and is used for reflecting invisible light.

8. The camera module according to claim 7, It is characterized in that The camera module also includes: The second anti-reflection film is arranged on a side of the lens away from the second cut-off film, and is used to enhance the transmittance of the second anti-reflection film to visible light.

9. A camera module control method , It is characterized in that the camera module includes a lens, an image sensor, a light shielding component, a light intensity detection unit and a controller, wherein: The lens is used to collect optical signals; The image sensor is arranged on a side of the lens away from the shooting direction of the lens, and is used for forming an image according to the light signal; The light shielding component is arranged between the lens and the image sensor; The light intensity detection unit is used to detect the ambient light information in the shooting direction of the lens; the method comprises: The controller controls the working state of the shading component according to the ambient light information; The method further includes: in response to the lens being in the closed state, the controller controls the shading component to be in the shading state; and in response to the shading component being in the shading state, controls the lens to exit the working state; The shading component includes electrochromic glass, which is used to change the light transmittance according to the control signal of the controller; the control signal includes a shading control signal and a light transmission control signal, and the controller controls the working state of the shading component according to the ambient light information, including: When the ambient light information meets a first preset condition, the controller generates a light transmission control signal to control the light shielding component to be in a light transmission state; When the ambient light information does not satisfy the first preset condition, the controller generates a shading control signal to control the shading component to be in a shading state.

10. The method according to claim 9, It is characterized in that The shading component also includes a first cut-off film, which is arranged on a side of the electrochromic glass close to the lens and is used to reflect invisible light.

11. The method according to claim 10, It is characterized in that The method further comprises: The controller adjusts the light transmittance of the electrochromic glass to a maximum value according to the light transmittance control signal; The controller adjusts the light transmittance of the electrochromic glass to a minimum value according to the shading control signal.

12. An electronic device, It is characterized in that include: The camera module according to any one of claims 1 to 8.

13. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by the processor, the control method of the camera module as described in any one of claims 9 to 11 is implemented.