CN115103132A - Shooting module protection method and device, computer readable medium and electronic equipment - Google Patents

Shooting module protection method and device, computer readable medium and electronic equipment Download PDF

Info

Publication number
CN115103132A
CN115103132A CN202210681795.1A CN202210681795A CN115103132A CN 115103132 A CN115103132 A CN 115103132A CN 202210681795 A CN202210681795 A CN 202210681795A CN 115103132 A CN115103132 A CN 115103132A
Authority
CN
China
Prior art keywords
light
module
type
shooting module
ray
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210681795.1A
Other languages
Chinese (zh)
Inventor
邵明天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210681795.1A priority Critical patent/CN115103132A/en
Publication of CN115103132A publication Critical patent/CN115103132A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02FOPTICAL DEVICES OR ARRANGEMENTS FOR THE CONTROL OF LIGHT BY MODIFICATION OF THE OPTICAL PROPERTIES OF THE MEDIA OF THE ELEMENTS INVOLVED THEREIN; NON-LINEAR OPTICS; FREQUENCY-CHANGING OF LIGHT; OPTICAL LOGIC ELEMENTS; OPTICAL ANALOGUE/DIGITAL CONVERTERS
    • G02F1/00Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics
    • G02F1/01Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour 
    • G02F1/15Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour  based on an electrochromic effect
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B11/00Filters or other obturators specially adapted for photographic purposes

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • Optics & Photonics (AREA)
  • Studio Devices (AREA)

Abstract

The disclosure provides a shooting module protection method and device, a computer readable medium and electronic equipment, and relates to the technical field of data processing. The method comprises the following steps: monitoring light rays irradiated to the shooting module, and acquiring light ray data corresponding to the light rays; determining the ray type of the ray according to the ray data; and generating a protection control instruction in response to the determination that the light type is the target light type, so as to adjust the light transmittance of the shooting module through the protection control instruction. This disclosure can be when detecting the light that probably damages image sensor such as laser, the light transmittance of module is shot in the adjustment, effectively weakens the light intensity who reachs image sensor, avoids the condition of burning that causes image sensor, and the security of module is shot in the protection, promotes the life of shooting the module.

Description

Shooting module protection method and device, computer readable medium and electronic equipment
Technical Field
The disclosure relates to the field of data processing technology, and in particular relates to a shooting module protection method, a shooting module protection device, a computer readable medium and an electronic device.
Background
The camera relies on the principle of pinhole imaging and lens imaging, and focuses incident light on a CMOS (Complementary Metal-Oxide-Semiconductor) sensor by using an optical lens, and the CMOS sensor is extremely sensitive to light, thereby forming an image. Laser light, also called laser light, has the characteristics of high energy and precise focusing, and has quite strong directivity, so that the energy emitted by a single point is extremely high, and thus the laser light emits a concentrated light beam, which can heat a sensitive surface and cause damage, so that materials which are naturally sensitive to light, such as a CMOS or a CCD (Charge Coupled Device) or a film, are easily burned under direct laser irradiation, resulting in damage to a camera.
At present, in a related scheme, generally, after a scene is judged to have laser, a dimmer is manually installed in front of a camera lens by a manual judgment mode, so that the intensity of the laser light entering an imaging system is weakened. However, the burn time caused by laser is short, all laser scenes cannot be covered by a manual judgment mode, the judgment accuracy is low, and the dimming sheet is installed manually, so that delay exists, the efficiency is low, the image sensor in the shooting module is damaged easily, and the service life of the image sensor is shortened.
Disclosure of Invention
The purpose of the present disclosure is to provide a shooting module protection method, a shooting module protection apparatus, a computer readable medium, and an electronic device, so as to improve the accuracy of the judgment of a laser scene and the response efficiency of the protection measures for the shooting module at least to a certain extent, ensure the safety of the shooting module, and prolong the service life of an image sensor.
According to a first aspect of the present disclosure, a method for protecting a shooting module is provided, which includes:
monitoring light rays irradiating the shooting module, and acquiring light ray data corresponding to the light rays;
determining the ray type of the ray according to the ray data;
and generating a protection control instruction in response to the fact that the light type is determined to be the target light type, so that the light transmittance of the shooting module is adjusted through the protection control instruction.
According to a second aspect of the present disclosure, there is provided a photographing module protecting device, including:
the light data monitoring module is used for monitoring the light irradiated to the shooting module and acquiring light data corresponding to the light;
the light ray type determining module is used for determining the light ray type of the light ray according to the light ray data;
and the protection control module is used for responding to the fact that the light type is determined to be the target light type, generating a protection control instruction and adjusting the light transmittance of the shooting module through the protection control instruction.
According to a third aspect of the present disclosure, a computer-readable medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, is adapted to carry out the above-mentioned method.
According to a fourth aspect of the present disclosure, there is provided an electronic apparatus, comprising:
a processor; and
a memory for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method described above.
The protection method for the shooting module, provided by the embodiment of the disclosure, can continuously monitor the light irradiated to the shooting module, acquire light data corresponding to the light, determine the light type of the light according to the light data, generate a protection control instruction when the light type is determined to be the target light type, and further adjust the light transmittance of the shooting module through the protection control instruction. On one hand, the light type is determined by acquiring the light data of the light irradiating the shooting module, the mode is more accurate compared with the mode of manual judgment, the efficiency is more efficient, and the protection is performed only when the light is determined to be the target light type which can damage the shooting module, so that the judgment accuracy of the current scene can be effectively improved, the problems of interrupting shooting and reducing the cruising ability of the terminal equipment due to frequent misrecognition are avoided, and the shooting experience is improved; on the other hand, when confirming that the light type is the target light type, generate the protection control command, then directly shoot the light transmissivity of module through this protection control command adjustment to the light transmissivity through after the adjustment weakens the intensity of light, avoids the light of target light type to cause the damage to shooting the module, effectively guarantees to shoot image sensor's in the module security, promotes the life who shoots the module.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those skilled in the art without the benefit of inventive faculty. In the drawings:
FIG. 1 illustrates a schematic diagram of an exemplary system architecture to which embodiments of the present disclosure may be applied;
fig. 2 schematically illustrates a flow chart of a method for protecting a camera module in an exemplary embodiment of the disclosure;
FIG. 3 schematically illustrates a schematic diagram of one embodiment of the present disclosure for collecting light data;
FIG. 4 schematically illustrates a schematic structural diagram of a spectral sensor in an exemplary embodiment of the present disclosure;
FIG. 5 schematically illustrates a schematic structural diagram of another spectral sensor in an exemplary embodiment of the present disclosure;
FIG. 6 schematically illustrates a flow chart for determining a target ray type in an exemplary embodiment of the disclosure;
FIG. 7 schematically illustrates a schematic structural view of a protective lens in an exemplary embodiment of the disclosure;
fig. 8 is a schematic flow chart illustrating adjustment of light transmittance of a camera module according to an exemplary embodiment of the disclosure;
fig. 9 schematically illustrates a composition diagram of a photographing module protecting device in an exemplary embodiment of the present disclosure;
fig. 10 shows a schematic diagram of an electronic device to which an embodiment of the disclosure may be applied.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
Fig. 1 is a schematic diagram illustrating a system architecture of an exemplary application environment to which a method and an apparatus for protecting a camera module according to an embodiment of the present disclosure may be applied.
As shown in fig. 1, system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few. The terminal devices 101, 102, 103 may be various electronic devices configured with a camera module, including but not limited to a smart camera, a portable computer, a smart phone, a tablet computer, and so on. It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for an implementation. For example, server 105 may be a server cluster comprising a plurality of servers, or the like.
The shooting module protection method provided by the embodiment of the disclosure is generally executed by the terminal devices 101, 102, and 103, and accordingly, the shooting module protection device is generally disposed in the terminal devices 101, 102, and 103. However, it is easily understood by those skilled in the art that the method for protecting a shooting module provided in the embodiment of the present disclosure may also be executed by the server 105, and accordingly, the shooting module protecting apparatus may also be disposed in the server 105, which is not particularly limited in the exemplary embodiment.
For example, in an exemplary embodiment, a user may obtain light data of light through a spectrum sensor included in the terminal device 101, 102, 103, and then upload the light data to the server 105, and after the server generates a protection control instruction through the shooting module protection method provided by the embodiment of the present disclosure, the server transmits the protection control instruction to the terminal device 101, 102, 103, and so on.
The following describes a method and a device for protecting a camera module according to exemplary embodiments of the present disclosure in detail by taking the terminal device executing the method as an example.
Fig. 2 shows a schematic flow chart of a shooting module protection method in the present exemplary embodiment, including the following steps S210 to S230:
in step S210, light irradiated to the shooting module is monitored, and light data corresponding to the light is obtained.
In an exemplary embodiment, the shooting module refers to a module used for acquiring an image in the terminal device, for example, the shooting module may be a front-facing camera module and/or a rear-facing camera module of a smartphone, may also be a monitoring camera in a monitoring system, may also be an image acquisition device configured on an intelligent robot and used for real-time mapping and navigation, and certainly, the shooting module may also be another module existing in any form and used for acquiring an image, which is not particularly limited in this exemplary embodiment.
The light irradiated to the shooting module refers to any type of light beam irradiated to the shooting module in the current scene, for example, the light may be laser light directly irradiated to the shooting module by a laser device or laser light directly irradiated to the shooting module through other protection devices, or may be ambient light irradiated to the shooting module through specular reflection or diffuse reflection in the current scene, or may be irradiated to the shooting module in any other manner, and the contained energy is greater than the light of the preset energy threshold, which is not limited in this example embodiment.
It should be noted that the light mentioned in this embodiment generally refers to visible light with a light wavelength in a wavelength band of 380nm to 750 nm.
The light data refers to attribute information related to light, for example, the light data may include, but is not limited to, light wavelength of light, light intensity (energy density) of light, color of light, and the like.
Can also be other types of sensor through the spectral sensor (or luminance sensor, certainly can also be through the sensor that sets up in the shooting module, as long as the detection wavelength of the sensor of gathering light data can cover whole 380nm-750 nm's visible light wave band to full trap capacity can bear the intensity of common laser equipment on the market can), real-time supervision shines the light of shooing the module, and convert the light signal who receives into corresponding light data.
In step S220, the light type of the light is determined according to the light data.
In an exemplary embodiment, the light type refers to a preset parameter that can be used for judging different scenes, for example, the light type may be a laser light type, a strong energy light type, a weak energy light type, or the like, and the specific light type may be set by a user according to different application scenes, which is not limited in this exemplary embodiment.
The light data interval corresponding to the light type of each light ray can be preset, for example, if the self-defined light ray type has a laser light ray type, a light wavelength interval can be set, and when the light wavelength of the light ray is in the light wavelength interval, the light ray at the moment can be considered as the laser light ray type; assuming that the customized light type has a high-energy light type, a light intensity threshold may be set, and when the light intensity of the light is greater than or equal to the light intensity threshold, the light at this time may be considered as the high-energy light type, and of course, when the light intensity of the light is less than the light intensity threshold, the light at this time may be considered as the low-energy light type. Of course, the above is only an exemplary illustration, and the user-defined setting may be specifically performed according to the actual situation, and the embodiment is not particularly limited.
In step S230, in response to determining that the light type is the target light type, a protection control instruction is generated to adjust the light transmittance of the shooting module according to the protection control instruction.
In an exemplary embodiment, the target light type refers to a light type that may cause damage to the photographing module, for example, it is assumed that the set target light types include a laser light type, a strong energy light type, and a weak energy light type, wherein the laser light type and the strong energy light type may cause burning to a photosensitive element (e.g., a CMOS sensor) in the photographing module, and thus, the laser light type and the strong energy light type may be set as the target light types.
Protection control command is the instruction that light data based on the light of confirming for the light of target light type generated, a light transmittance for adjusting the module of shooing, for example, when confirming light is the target light type, can be according to the light data of this light like light intensity data, light wavelength data etc., confirm a target light transmittance, and the light transmittance of control shooting module adjusts this target light transmittance, guarantee that the shooting module under the target light transmittance can effectively weaken the intensity of light, when making light incide photosensitive element, can not cause the condition of burning to photosensitive element, effectively improve the security of shooting module under various highlight scenes, promote the life of shooting module.
The following describes steps S210 to S230 in detail.
In an exemplary embodiment, the shooting module may include a spectrum sensor, the spectrum sensor may be configured to acquire light data of light irradiated to the shooting module, and the terminal device may acquire light data corresponding to the light based on the spectrum sensor. For example, the spectrum sensor may be a micro spectrum sensor integrated into the shooting module, or may be a spectrum sensor disposed on a housing of the shooting module, and the arrangement manner of the spectrum sensor is not particularly limited in this exemplary embodiment.
Specifically, the spectrum sensor may be disposed at a position close to the camera in the shooting module, for example, the spectrum sensor may be disposed at a position 1mm away from the camera, and of course, may also be disposed at a position 3mm away from the camera, and specifically, the spectrum sensor may be disposed according to a Field of view (FOV) or a sensing range of different types of spectrum sensors, which is not limited to this in this example embodiment.
Fig. 3 schematically illustrates a schematic diagram of collecting light data according to an exemplary embodiment of the present disclosure.
Referring to fig. 3, the terminal device may be a smart phone 301, and the shooting module 302 may be a rear camera module of the smart phone 301, specifically, the shooting module 302 may include a camera 303 for collecting image data and a spectrum sensor 304 for collecting light data, and the spectrum sensor 304 is disposed at a position close to the camera 303. In a laser irradiation scene, a laser beam emitted by the laser device 305 and the shooting module 302 of the smart phone 301 will change at a certain angle during scanning, and when the laser beam may irradiate the camera 303, a certain laser signal will be inevitably received on the spectrum sensor 304 arranged near the camera 303. Furthermore, whether the current scene of the shooting module 302 has a burn risk or not can be accurately analyzed by judging the light data collected by the spectrum sensor 304, and the accuracy of laser scene judgment is effectively improved.
It is optional, spectral sensor also can be the spectral sensor of special shape, for example, can set up annular spectral sensor, and encircle the camera in the shooting module through this annular spectral sensor, thus, the light of the target light type in the current scene is when sweeping or shining the camera, must pass through annular spectral sensor, or light shines the shooting module with any kind of angle, all can be sensed by annular spectral sensor, and gather the corresponding light data of light, accomplish the detection to the light type of light, effectively promote the accuracy of light data, guarantee that the acquisition of light data can cover various laser scenes. Of course, the spectrum sensor may also be square, and the shape of the specially designed spectrum sensor is not particularly limited in this exemplary embodiment.
Fig. 4 schematically illustrates a schematic structure of a spectrum sensor in an exemplary embodiment of the present disclosure.
Referring to fig. 4, the shooting module of the terminal device 401 may include a camera 402 and a ring-shaped spectrum sensor 403 surrounding the camera 402, and the size and the position of the ring-shaped spectrum sensor 403 may be set according to the field angle and/or the light sensing range of the camera 402 or the ring-shaped spectrum sensor 403, which is not limited in this example embodiment. Through the setting of annular spectral sensor 403, can make light shine the shooting module no matter with what kind of angle, all can be sensed by annular spectral sensor 403, guarantee that the acquirement of light data can cover various laser scenes, promote the accuracy and the comprehensiveness of light data, and then effectively promote the security of shooting the module.
Optionally, the spectrum sensor can also be ordinary point type spectrum sensor, but can set up the refraction component of special shape on point type spectrum sensor's upper strata, for example, set up the annular resin that has the refraction function on point type spectrum sensor upper strata, of course, also can be annular organic glass etc., the light of target light type in current scene must pass through annular resin when sweeping or shining the camera, the refraction through annular resin, point type spectrum sensor can sense the light that arbitrary angle shines the camera, and acquire light data, effectively promote the accuracy of light data, guarantee that the acquirement of light data can cover various laser scenes, and simultaneously, also can effectively reduce the cost of purchasing the spectrum sensor of special shape, and then reduce terminal equipment's manufacturing cost.
FIG. 5 schematically illustrates another spectral sensor in an exemplary embodiment of the present disclosure.
Referring to fig. 5, a shooting module of the terminal device 501 may include a camera 502, a point-shaped spectrum sensor 503, and a refractive element 504 surrounding the camera 502 and disposed on an upper layer of the point-shaped spectrum sensor 503, where the size and the position of the refractive element 504 may be set according to a field angle and/or a light sensing range of the camera 402, and the exemplary embodiment is not limited thereto. When the target light type light in the current scene is swept or irradiated to the camera 502, the light must pass through the refraction element 504, and the point-shaped spectrum sensor 503 can sense the light irradiated to the camera 502 at any angle through the refraction of the refraction element 504, and acquire light data. The same effect of the ring-shaped spectral sensor 403 in fig. 4 can be achieved by the combination of the refractive element 504 and the point-shaped spectral sensor 503, but the manufacturing cost of the terminal device can be effectively reduced compared to the combination of the ring-shaped spectral sensor, the refractive element 504 and the point-shaped spectral sensor 503 which need to be specially designed.
In an exemplary embodiment, the light irradiated to the shooting module can be monitored in real time through a spectrum sensor in the shooting module; the original image output by the shooting module can be obtained, and the light rays irradiated to the shooting module are monitored according to the original image. The Raw image can be an image sensor output Raw image, when the laser direct-irradiation shooting module is used, special image features such as bright clusters can appear in the Raw image output by the image sensor, a deep learning model for distinguishing the image features in the Raw image can be trained specifically, the output Raw image can be input into the trained deep learning model, and whether the light irradiating the shooting module is monitored or not is determined. Of course, when the light irradiated to the shooting module is determined and monitored through the original image output by the shooting module, the spectral sensor is started to further determine whether the light irradiated to the shooting module is monitored, so that the interference of the environment light with strong brightness to the monitoring result is avoided, and the accuracy of the monitoring result is effectively ensured.
In an exemplary embodiment, the light wavelength of the light may be determined from the light data, and the light type of the light may be determined based on the light wavelength of the light. Since the spectral characteristics of the laser are very distinct: the method has the characteristics of large energy and single light wavelength, and can accurately identify the light type of the light through the light wavelength of the light.
Specifically, the target ray type may be determined by the steps in fig. 6:
step S610, acquiring a preset wavelength interval;
step S620, determining that the light type of the light is a target light type in response to the light wavelength being in the preset wavelength interval, where the target light type includes a laser light type.
The preset wavelength interval refers to an interval for distinguishing a target light type from other light types, for example, the preset wavelength interval may be 248nm (krypton-fluorine laser wavelength) -308nm (xenon-chlorine laser wavelength), which is only schematically illustrated here, and the specific preset wavelength interval may be set by user according to a specific application scenario, which is not particularly limited in this exemplary embodiment.
When the light wavelength is determined to be in the preset wavelength interval, the light type of the currently monitored light may be determined to be the target light type, for example, the preset wavelength interval may be 248nm to 308nm, and the light at this time is 249nm, so that the light may be considered to be the laser light type.
Confirm the light type of light through light wavelength, it is not only accurate, the calculated amount is few moreover, can promote terminal equipment's computational efficiency, and then promotes the detection efficiency of the light type of light, improves the response efficiency to the protection operation of shooting the module.
In an exemplary embodiment, the shooting module may include a protection lens, the protection lens may be disposed on a light path through which light enters the camera in the shooting module, and of course, the protection lens may also be directly disposed as an optical lens of the camera in the shooting module.
In particular, the protective lens may comprise a transparent electrode and a layer of electrochromic material, wherein the layer of electrochromic materialCan be made of an inorganic electrochromic material which can be a transition metal oxide or a derivative of a transition metal oxide, for example, the electrochromic material can be tungsten trioxide (WO) 3 ) (ii) a Of course, the electrochromic material layer may be made of an organic electrochromic material, and the organic electrochromic material may be an organic small molecule electrochromic material or a conductive polymer electrochromic material, for example, the electrochromic material may be polythiophene and its derivatives, viologen, tetrathiafulvalene, a metal phthalocyanine compound, and the like.
Fig. 7 schematically illustrates a structural schematic view of a protective lens in an exemplary embodiment of the present disclosure.
Referring to fig. 7, the photographing module may include a camera 701 and a protective lens 703 disposed on an optical path of a light ray 702 incident to the camera 701. In particular, the protective lens 703 can include a first transparent electrode 704 and a second transparent electrode 705, and a layer of electrochromic material 706 between the first transparent electrode 704 and the second transparent electrode 705. The shooting module can flexibly adjust the oxidation degree of the electrochromic material layer 706 by controlling the output voltage of the power supply 707 to the first transparent electrode 704 and the second transparent electrode 705, so as to realize the adjustment control of the light transmittance of the protective lens.
Through setting up the protection lens, can be when detecting the light of target light type, the light transmittance of timely adjustment protection lens compares the protection operation in the manual installation dimmer among the correlation technique, promotes the response efficiency to the protection operation of shooting the module, can effectively promote the security of shooting the module.
In an exemplary embodiment, the protection control command may include light intensity data of light, and specifically, the step in fig. 8 may be implemented to adjust the light transmittance of the shooting module through the protection control command, and as shown in fig. 8, the method may specifically include:
step S810, acquiring a preset light intensity and voltage mapping relation;
step S820, determining a target control voltage based on the light intensity and voltage mapping relation and the light intensity data;
step S830, adjusting the light transmittance of the protective lens according to the target control voltage.
The light intensity and voltage mapping relationship refers to a mapping relationship between preset light intensity and control voltage under the light intensity, for example, the light intensity can be set to 1-10 level (1 level indicates that the light intensity is weak, and 10 level indicates that the light intensity is strong), the control voltage under the 1 level light intensity is 0.1V, and the control voltage of 0.1V can adjust the light transmittance of the protective lens to 90%, so that the light weakening capability is weak; the control voltage under the 9-level light intensity is 0.9V, and the light transmittance of the protective lens can be adjusted to 10% by the control voltage of 0.9V, so that the light weakening capability is strong. Of course, the quantization description is presented here for ease of understanding, and does not represent data at the time of final application, and should not impose any particular limitation on the present exemplary embodiment.
Through light intensity and voltage mapping relation and light intensity data, set up the light transmittance that accords with light the most, can effectively reduce the waste to the electric quantity, when reaching the protection and shoot the module, guarantee terminal equipment's continuation of the journey.
In an exemplary embodiment, if the light irradiated to the shooting module is monitored to be of a target light type, the light transmittance of the shooting module is adjusted through a protection control instruction, and meanwhile, if the shooting module is detected to be in an open state currently, the shooting module is directly closed, so that the safety of the shooting module is further ensured; and the warning information is output through the terminal device to remind a user to move away or keep away from the light scene, for example, the warning information may be a voice prompt for detecting laser, a warning information with a flashing screen, or a vibration prompt of the terminal device.
When the light that shines the shooting module in the monitoring is the target light type, not only through the light transmittance of protection control command adjustment shooting module, but also initiatively close the shooting module and export warning information, through the multilayer measure, further promote the security of shooting the module, promote the life of shooting the module.
In summary, in the exemplary embodiment, on one hand, the light type is determined by obtaining the light data of the light irradiated to the shooting module, which is more accurate than a manual judgment form and more efficient than efficiency, and the protection is performed only when the light is determined to be the target light type which may damage the shooting module, so that the judgment accuracy of the current scene can be effectively improved, the problems of interrupting shooting and reducing the cruising ability of the terminal device due to frequent false recognition are avoided, and the shooting experience is improved; on the other hand, when confirming that the light type is the target light type, generate the protection control command, then directly shoot the light transmissivity of module through this protection control command adjustment to the light transmissivity through after the adjustment weakens the intensity of light, avoids the light of target light type to cause the damage to shooting the module, effectively guarantees to shoot image sensor's in the module security, promotes the life who shoots the module.
It is noted that the above-mentioned figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures are not intended to indicate or limit the temporal order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Further, referring to fig. 9, in the present exemplary embodiment, a shooting module protection apparatus 900 is further provided, which includes a light data monitoring module 910, a light type determining module 920, and a protection control module 930. Wherein:
the light data monitoring module 910 is configured to monitor light that irradiates the shooting module, and obtain light data corresponding to the light;
the light type determining module 920 is configured to determine a light type of the light according to the light data;
the protection control module 930 is configured to generate a protection control instruction in response to determining that the light type is the target light type, so as to adjust the light transmittance of the shooting module according to the protection control instruction.
In an exemplary embodiment, the shooting module may include a spectrum sensor, and the light data monitoring module 910 may be configured to:
and acquiring light ray data corresponding to the light rays based on the spectrum sensor.
In an exemplary embodiment, the light data monitoring module 910 may be configured to:
monitoring light rays irradiated to the shooting module based on the spectrum sensor; and/or
And acquiring an original image output by the shooting module, and monitoring light rays irradiated to the shooting module according to the original image.
In an exemplary embodiment, the ray type determination module 920 may be configured to:
determining the light wavelength of the light according to the light data;
determining a light type of the light based on the light wavelength.
In an exemplary embodiment, the protection control module 930 may be configured to:
acquiring a preset wavelength interval;
and responding to the fact that the light wavelength is in the preset wavelength interval, and determining that the light type of the light is a target light type, wherein the target light type comprises a laser light type.
In an exemplary embodiment, the photographing module may include a protective lens, and the protective lens may include a transparent electrode and an electrochromic material layer.
In an exemplary embodiment, the protection control command may include light intensity data of the light, and the protection control module 930 may be configured to:
acquiring a preset light intensity and voltage mapping relation;
determining a target control voltage based on the light intensity-voltage mapping relationship and the light intensity data;
and adjusting the light transmittance of the protective lens through the target control voltage.
In an exemplary embodiment, the shooting module protection device 900 may further include an alert module, and the alert module may be configured to:
closing the shooting module in response to detecting that the shooting module is currently in an open state; and
and outputting warning information.
The specific details of each module in the above apparatus have been described in detail in the method section, and details that are not disclosed may refer to the method section, and thus are not described again.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
Exemplary embodiments of the present disclosure also provide an electronic device. The electronic device may be the above-mentioned terminal device 101, 102, 103 or the server 105. Generally, the electronic device may include a processor and a memory, where the memory is used for storing executable instructions of the processor, and the processor is configured to execute the shooting module protection method via executing the executable instructions.
The structure of the electronic device will be exemplarily described below by taking the mobile terminal 1000 in fig. 10 as an example. It will be appreciated by those skilled in the art that the configuration of fig. 10 can also be applied to fixed type devices, in addition to components specifically intended for mobile purposes.
As shown in fig. 10, the mobile terminal 1000 may specifically include: a processor 1001, a memory 1002, a bus 1003, a mobile communication module 1004, an antenna 1, a wireless communication module 1005, an antenna 2, a display screen 1006, a camera module 1007, an audio module 1008, a power module 1009, and a sensor module 1010.
Processor 1001 may include one or more processing units, such as: the Processor 1001 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.
An encoder may encode (i.e., compress) an image or video to reduce the data size for storage or transmission. The decoder may decode (i.e., decompress) the encoded data for the image or video to recover the image or video data. The mobile terminal 1000 may support one or more encoders and decoders, such as: image formats such as JPEG (Joint Photographic Experts Group), PNG (Portable Network Graphics), BMP (Bitmap), and Video formats such as MPEG (Moving Picture Experts Group) 1, MPEG10, h.1063, h.1064, and HEVC (High Efficiency Video Coding).
The processor 1001 may be connected to the memory 1002 or other components through the bus 1003.
The memory 1002 may be used to store computer-executable program code, which includes instructions. Processor 1001 executes various functional applications and data processing of mobile terminal 1000 by executing instructions stored in memory 1002. The memory 1002 may also store application data, such as files for storing images, videos, and the like.
The communication function of the mobile terminal 1000 may be implemented by the mobile communication module 1004, the antenna 1, the wireless communication module 1005, the antenna 2, a modem processor, a baseband processor, and the like. The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. The mobile communication module 1004 may provide a mobile communication solution of 3G, 4G, 5G, etc. applied to the mobile terminal 1000. The wireless communication module 1005 may provide a wireless communication solution for wireless lan, bluetooth, near field communication, etc. applied to the mobile terminal 1000.
The display screen 1006 is used to implement display functions, such as displaying a user interface, images, video, and the like. The camera module 1007 is used to implement a photographing function, such as photographing an image, a video, and the like. The audio module 1008 is used to implement audio functions, such as playing audio, collecting voice, and the like. The power module 1009 is used to implement power management functions, such as charging a battery, supplying power to a device, monitoring a battery status, and the like.
The sensor module 1010 may include one or more sensors for implementing corresponding inductive sensing functions. For example, the sensor module 1010 may include an inertial sensor for detecting a motion pose of the mobile terminal 1000 and outputting inertial sensing data.
Exemplary embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, various aspects of the disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the disclosure described in the above-mentioned "exemplary methods" section of this specification, when the program product is run on the terminal device.
It should be noted that the computer readable media shown in the present disclosure may be computer readable signal media or computer readable storage media or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Furthermore, program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind 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).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (11)

1. A shooting module protection method is characterized by comprising the following steps:
monitoring light rays irradiating the shooting module, and acquiring light ray data corresponding to the light rays;
determining the ray type of the ray according to the ray data;
and generating a protection control instruction in response to the fact that the light type is determined to be the target light type, so that the light transmittance of the shooting module is adjusted through the protection control instruction.
2. The method of claim 1, wherein the camera module comprises a spectrum sensor, and the acquiring light data corresponding to the light comprises:
and acquiring light ray data corresponding to the light rays based on the spectrum sensor.
3. The method of claim 2, wherein the monitoring light impinging on the camera module comprises:
monitoring light rays irradiated to the shooting module based on the spectrum sensor; and/or
And acquiring an original image output by the shooting module, and monitoring light rays irradiated to the shooting module according to the original image.
4. The method of claim 1, wherein determining the ray type of the ray from the ray data comprises:
determining the light wavelength of the light according to the light data;
determining a light type of the light based on the light wavelength.
5. The method of claim 4, wherein the responsive determination that the ray type is a target ray type comprises:
acquiring a preset wavelength interval;
and responding to the fact that the light wavelength is in the preset wavelength interval, and determining that the light type of the light is a target light type, wherein the target light type comprises a laser light type.
6. The method according to any one of claims 1 to 5, wherein the camera module comprises a protective lens comprising a transparent electrode and a layer of electrochromic material.
7. The method of claim 6, wherein the protection control command comprises light intensity data of the light, and the adjusting the light transmittance of the camera module by the protection control command comprises:
acquiring a preset light intensity and voltage mapping relation;
determining a target control voltage based on the light intensity-voltage mapping relationship and the light intensity data;
and adjusting the light transmittance of the protective lens through the target control voltage.
8. The method of claim 1, further comprising:
closing the shooting module in response to detecting that the shooting module is currently in an open state; and
and outputting the warning information.
9. The utility model provides a shoot module protection device which characterized in that includes:
the light data monitoring module is used for monitoring the light irradiated to the shooting module and acquiring light data corresponding to the light;
the light ray type determining module is used for determining the light ray type of the light ray according to the light ray data;
and the protection control module is used for responding to the fact that the light type is determined to be the target light type, generating a protection control instruction and adjusting the light transmittance of the shooting module through the protection control instruction.
10. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 8.
11. An electronic device, comprising:
a shooting module;
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of claims 1 to 8 via execution of the executable instructions.
CN202210681795.1A 2022-06-16 2022-06-16 Shooting module protection method and device, computer readable medium and electronic equipment Pending CN115103132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210681795.1A CN115103132A (en) 2022-06-16 2022-06-16 Shooting module protection method and device, computer readable medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210681795.1A CN115103132A (en) 2022-06-16 2022-06-16 Shooting module protection method and device, computer readable medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115103132A true CN115103132A (en) 2022-09-23

Family

ID=83291653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210681795.1A Pending CN115103132A (en) 2022-06-16 2022-06-16 Shooting module protection method and device, computer readable medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115103132A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109960064A (en) * 2017-12-14 2019-07-02 上海聚虹光电科技有限公司 Iris capturing camera and its application method with the adjustable liquid crystal dim light mirror of electronics
CN110191290A (en) * 2019-06-05 2019-08-30 北京地平线机器人技术研发有限公司 Image collecting device, control image collecting device incident light method
CN110581958A (en) * 2019-10-25 2019-12-17 Oppo广东移动通信有限公司 control method, electronic device, and storage medium
CN211979380U (en) * 2020-05-25 2020-11-20 深圳市光羿科技有限公司 Light filtering device, camera and light emitting source
CN112639589A (en) * 2018-08-01 2021-04-09 深圳市柔宇科技股份有限公司 Electronic device, control method thereof, and computer-readable storage medium
CN114390181A (en) * 2022-02-08 2022-04-22 维沃移动通信有限公司 Shooting method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109960064A (en) * 2017-12-14 2019-07-02 上海聚虹光电科技有限公司 Iris capturing camera and its application method with the adjustable liquid crystal dim light mirror of electronics
CN112639589A (en) * 2018-08-01 2021-04-09 深圳市柔宇科技股份有限公司 Electronic device, control method thereof, and computer-readable storage medium
CN110191290A (en) * 2019-06-05 2019-08-30 北京地平线机器人技术研发有限公司 Image collecting device, control image collecting device incident light method
CN110581958A (en) * 2019-10-25 2019-12-17 Oppo广东移动通信有限公司 control method, electronic device, and storage medium
CN211979380U (en) * 2020-05-25 2020-11-20 深圳市光羿科技有限公司 Light filtering device, camera and light emitting source
CN114390181A (en) * 2022-02-08 2022-04-22 维沃移动通信有限公司 Shooting method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN104134352B (en) The video frequency vehicle feature detection system and its detection method combined based on long short exposure
CN103139466A (en) Information processing apparatus, imaging apparatus, information processing method, and program
CN111294526B (en) Processing method and device for preventing camera from being burnt by sun
CN106998422A (en) A kind of automatic identification is taken on the sly the apparatus and method of camera lens
CN103051839A (en) Device and method for intelligently adjusting light supplementation angle
CN110365878A (en) A kind of photographic device and method
CN102843518A (en) Method and device for intelligently regulating light intensity of infrared lamps
CN106210532A (en) One is taken pictures processing method and terminal unit
CN115103131A (en) Shooting module protection method and device, computer readable medium and electronic equipment
CN110191290A (en) Image collecting device, control image collecting device incident light method
KR20220156905A (en) Methods and Apparatus for Performing Analysis on Image Data
KR20110006453A (en) Method for detecting disturbance of monitoring camera
CN115103132A (en) Shooting module protection method and device, computer readable medium and electronic equipment
CN109862246B (en) Camera, terminal for shooting 4D image, 4D image generation method and medium
CN113691730B (en) Task switching control method and device of camera, medium and electronic equipment
KR101586698B1 (en) Surveillance camera
CN115103100A (en) Camera module, control method thereof, electronic device and computer-readable storage medium
CN114302068B (en) Image shooting method and device
US20220141374A1 (en) Intelligent flash intensity control systems and methods
KR20200088554A (en) method for detecting filter switching error of surveillance camera
CN112399064B (en) Double-light fusion snapshot method and camera
CN204156949U (en) A kind of high dynamic range video camera of disposable exposure image
CN114046882A (en) Method and equipment for acquiring color test information of optical equipment
CN117714661A (en) Method for identifying abnormal shooting scene, shooting processing method, device and equipment
KR102601637B1 (en) Method for detecting an object using low power and monitoring device thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination