CN109194790B - Camera assembly, mobile phone, method, device, storage medium and system - Google Patents

Camera assembly, mobile phone, method, device, storage medium and system Download PDF

Info

Publication number
CN109194790B
CN109194790B CN201811156470.1A CN201811156470A CN109194790B CN 109194790 B CN109194790 B CN 109194790B CN 201811156470 A CN201811156470 A CN 201811156470A CN 109194790 B CN109194790 B CN 109194790B
Authority
CN
China
Prior art keywords
camera
signal
mobile phone
camera assembly
interface circuit
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.)
Active
Application number
CN201811156470.1A
Other languages
Chinese (zh)
Other versions
CN109194790A (en
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811156470.1A priority Critical patent/CN109194790B/en
Publication of CN109194790A publication Critical patent/CN109194790A/en
Application granted granted Critical
Publication of CN109194790B publication Critical patent/CN109194790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Abstract

The disclosure relates to a camera assembly, a mobile phone, a method, a device, a storage medium and a system, and belongs to the technical field of shooting. The camera assembly is externally connected with the mobile phone and provides a shooting function for the mobile phone; the camera assembly includes: the camera is connected with the interface circuit; the interface circuit is used for being connected with the mobile phone to realize an interface function, outputting a control signal acquired from the mobile phone to the camera, reading and transmitting image data shot by the camera to the mobile phone, and realizing camera shooting control and image reading control of the camera; and the camera is used for shooting under the control of the control signal transmitted by the interface circuit. The method and the device can solve the problem that the screen occupation ratio of the full screen is influenced by mounting the camera on the front panel, and achieve the effect of improving the screen occupation ratio of the full screen; the problem that dust enters the interior of the mobile phone when the lifting type camera is used can be solved, and the effect of prolonging the service life of the mobile phone is achieved.

Description

Camera assembly, mobile phone, method, device, storage medium and system
Technical Field
The present disclosure relates to the field of photography technologies, and in particular, to a camera assembly, a mobile phone, a method, an apparatus, a storage medium, and a system.
Background
When the mobile phone includes a display screen and a front camera, the front panel of the mobile phone is usually provided with the camera and the display screen.
Because the existing technology and technology can not make the camera very small, the camera can influence the screen occupation ratio of the full screen. Wherein, the screen accounts for the ratio of the area of the display screen and the front panel, and the full screen is the display screen with the screen accounts for nearly 100%.
Disclosure of Invention
To solve the problems in the related art, the present disclosure provides a camera assembly, a mobile phone, a method, an apparatus, a storage medium, and a system.
According to a first aspect of the embodiments of the present disclosure, a camera assembly is provided, where the camera assembly is used to connect externally to a mobile phone and provide a shooting function for the mobile phone; the camera assembly includes: the camera comprises an interface circuit and a camera connected with the interface circuit;
the interface circuit is used for being connected with a mobile phone to realize an interface function, outputting a control signal acquired from the mobile phone to the camera, reading and transmitting image data shot by the camera to the mobile phone, and realizing camera shooting control and image reading control of the camera;
the camera is used for shooting under the control of the control signal transmitted by the interface circuit.
According to a second aspect of the embodiments of the present disclosure, there is provided a mobile phone for connecting a camera assembly externally and realizing a shooting function by the camera assembly, the mobile phone including: a camera interface circuit;
the camera interface circuit is used for being connected with the camera assembly to realize an interface function, reading and transmitting a control signal generated by the mobile phone to the camera assembly, outputting image data acquired from the camera assembly to the mobile phone, and realizing camera control and image reading control of the camera assembly.
According to a third aspect of the embodiments of the present disclosure, there is provided a camera assembly control method, used in the camera assembly according to the first aspect, where the camera assembly is used to externally connect to a mobile phone and provide a shooting function for the mobile phone, the method including:
outputting a control signal acquired from the mobile phone to the camera, and shooting under the control of the control signal;
and reading and transmitting the image data shot by the camera to the mobile phone.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a camera assembly control method, used in the mobile phone according to the second aspect, where the mobile phone is used for connecting with an external camera assembly and implementing a shooting function by the camera assembly, the method including:
generating a control signal, and transmitting the control signal to the camera assembly, wherein the control signal is used for controlling the camera assembly to shoot;
image data is acquired from the camera assembly.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a camera head assembly control apparatus, the apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
generating a control signal, and transmitting the control signal to a camera assembly, wherein the control signal is used for controlling the camera assembly to shoot;
image data is acquired from the camera assembly.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement the camera assembly control method according to the fifth aspect.
According to a seventh aspect of the embodiments of the present disclosure, there is provided a camera control system, the system including a camera assembly according to the first aspect and a mobile phone according to the second aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
because the camera can be connected to the mobile phone through the interface circuit instead of being fixed on the front panel of the mobile phone, the problem that the screen occupation ratio of the full screen is influenced by mounting the camera on the front panel is solved, and the effect of improving the screen occupation ratio of the full screen is achieved.
Compared with the lifting camera arranged inside the mobile phone, the lifting camera is required to be lifted to the outside of the mobile phone in the using process, so that dust is easily caused to enter the inside of the mobile phone, and the service life of the mobile phone is influenced. And through external camera subassembly in this application, the dust gets into the inside problem of cell-phone when using over-and-under type camera can be solved, has reached the effect that improves the life of cell-phone.
Because the size of external camera is not restricted by the thickness of cell-phone, and the bigger formation of image effect of camera is better more usually, so, can improve the shooting effect of cell-phone through the great camera of external volume.
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 disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic view of a camera assembly shown according to an exemplary embodiment.
Fig. 2 is a schematic diagram illustrating a camera control system according to another exemplary embodiment.
FIG. 3 is a schematic diagram illustrating an interface circuit according to another exemplary embodiment.
Fig. 4 is a schematic diagram illustrating a first protection circuit and a bias circuit according to another example embodiment.
Fig. 5 is a flowchart illustrating a camera assembly control method according to an exemplary embodiment.
Fig. 6 is a flowchart illustrating a camera assembly control method according to another exemplary embodiment.
Fig. 7 is a block diagram illustrating an apparatus for camera head assembly control according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
FIG. 1 is a schematic diagram illustrating a camera assembly, as shown in FIG. 1, for externally connecting to a mobile phone and providing a camera function for the mobile phone, according to an exemplary embodiment; the camera assembly includes: an interface circuit 110, a camera 120 connected to the interface circuit 110;
the interface circuit 110 is used for connecting with a mobile phone to realize an interface function, outputting a control signal acquired from the mobile phone to the camera 120, reading and transmitting image data shot by the camera 120 to the mobile phone, and realizing camera shooting control and image reading control of the camera 120;
and a camera 120 for photographing under the control of the control signal transmitted from the interface circuit 110.
The number of the interface circuits 110 in the camera assembly is at least one, and fig. 1 illustrates an example in which the camera assembly includes two interface circuits 110.
It should be noted that the camera 120 in this embodiment may be an analog camera, pixels of the analog camera are higher than pixels of the digital camera, and the analog camera includes an analog circuit and a digital circuit.
In summary, according to the camera assembly provided by the present disclosure, the camera can be connected to the mobile phone through the interface circuit instead of being fixed on the front panel of the mobile phone, so that the problem that the screen occupation ratio of the full-screen is affected by installing the camera on the front panel is solved, and the effect of improving the screen occupation ratio of the full-screen is achieved.
Compared with the lifting camera arranged inside the mobile phone, the lifting camera is required to be lifted to the outside of the mobile phone in the using process, so that dust is easily caused to enter the inside of the mobile phone, and the service life of the mobile phone is influenced. And through external camera subassembly in this application, the dust gets into the inside problem of cell-phone when using over-and-under type camera can be solved, has reached the effect that improves the life of cell-phone.
Because the size of external camera is not restricted by the thickness of cell-phone, and the bigger formation of image effect of camera is better more usually, so, can improve the shooting effect of cell-phone through the great camera of external volume.
Fig. 2 is a schematic diagram illustrating a camera control system according to an exemplary embodiment, which includes a camera assembly 210 and a cell phone 220, as shown in fig. 2. Wherein, this camera subassembly 210 includes: an interface circuit 211, a camera 212 connected to the interface circuit 211; the mobile phone 220 includes: an image pickup interface circuit 221. At this time, the camera assembly 210 is externally connected to the mobile phone 220 and provides a shooting function for the mobile phone 220.
The interface circuit 211 is matched with the camera interface circuit 221, that is, the interface circuit 211 can be inserted into the camera interface circuit 221, and at this time, each transmission line in the interface circuit 211 is connected with a corresponding transmission line in the camera interface circuit 221, so as to realize communication between the camera module 210 and the mobile phone 220. In this embodiment, the connection means electrical connection, and will not be described in detail below.
The number of the interface circuits 211 is equal to the number of the image pickup interface circuits 221, and the number of the interface circuits 211 and the image pickup interface circuits 221 is not limited in this embodiment. If the number of the interface circuits 211 and the camera interface circuits 221 is 1, when the camera assembly 210 is used, only one interface circuit 211 needs to be inserted into one camera interface circuit 221, so that the connection operation between the camera assembly 210 and the mobile phone 220 can be simplified. If the number of the interface circuits 211 and the camera interface circuits 221 is greater than 1, all the interface circuits 211 need to be inserted into the corresponding camera interface circuits 221 when the camera assembly 210 is used, and since each set of the interface circuits 211 and the camera interface circuits 221 can be used as a supporting point for the camera 212, the connection stability between the camera 212 and the mobile phone 220 can be improved. Further, since signals can be branched by at least two sets of the interface circuit 211 and the image pickup interface circuit 221, communication pressure of the interface circuit 211 and the image pickup interface circuit 221 is reduced.
The number of the transmission lines in the interface circuit 211 is equal to the number of the transmission lines in the image pickup interface circuit 221, but the number of the transmission lines in the interface circuit 211 and the image pickup interface circuit 221 is not limited in this embodiment. The transmission line may be implemented by a wire having a relatively high rigidity, and the camera 212 may be supported by the transmission line, thereby implementing a function of a cradle by the transmission line. Alternatively, a stand may be provided to support the camera 212 via the stand, which is not limited in this embodiment.
In this embodiment, the camera assembly 210 and the mobile phone 220 can perform two-way communication, and the following describes the two-way communication process.
In a first communication mode, when the mobile phone 220 sends data to the camera assembly 210, the camera interface circuit 221 is configured to be connected to the camera assembly 210 to implement an interface function, read and transmit a control signal generated by the mobile phone 220 to the camera assembly 210, and implement camera control on the camera assembly 210; an interface circuit 211, which is used for connecting with the mobile phone 210 to realize an interface function, and outputting a control signal obtained from the mobile phone 220 to the camera 212; and a camera 212 for photographing under the control of the control signal transmitted from the interface circuit 211.
Referring to fig. 3, the interface circuit 211 includes a communication transmission line 2111, and the communication transmission line 2111 is a bidirectional transmission line, that is, the communication transmission line 2111 can both transmit signals to the mobile phone 220 and receive signals from the mobile phone 220; the camera interface circuit 221 includes a communication transmission line 2211, and the communication transmission line 2211 is a bidirectional transmission line, i.e., the communication transmission line 2211 can both transmit signals to the camera assembly 210 and receive signals from the camera assembly 210. Communication transmission line 2111 is connected to communication transmission line 2211. At this time, the control signal generated by the mobile phone 220 sequentially passes through the communication transmission line 2211 and the communication transmission line 2111 to the camera 212. The communication transmission line 2111 and the communication transmission line 2211 may be copper wires or other lines, and this embodiment is not limited thereto.
The upper half of fig. 3 is a schematic configuration diagram of the interface circuit 211, and the lower half is a schematic configuration diagram of the image pickup interface circuit 221.
The control signal may be obtained by the user operating the mobile phone 220, for example, the control signal may be obtained by the user clicking a camera icon in the mobile phone 220, and the operation performed by the camera 212 is to open the camera 212 at this time; the control signal may be obtained by the user adjusting the zoom ratio of the preview image in the mobile phone 220, and the operation performed by the camera 212 at this time is to adjust the focal length; the control signal may be obtained by the user clicking a video recording control in the mobile phone 220, and the operation performed by the camera 212 is to switch from the photographing mode to the video recording mode. Of course, the user may also control the camera 212 to perform other operations, and the embodiment is not limited.
In a second communication mode, when the camera module 210 sends data to the mobile phone 220, the interface circuit 211 is used for connecting with the mobile phone 220 to implement an interface function, and reading and transmitting image data shot by the camera 212 to the mobile phone 220; the camera interface circuit 221 is configured to be connected to the camera assembly 210 to implement an interface function, and output image data acquired from the camera assembly 210 to the mobile phone 220 to implement image reading control on the camera assembly 210.
The interface circuit 211 includes a data transmission line 2112, the image pickup interface circuit 221 includes a data read line 2212, and the data transmission line 2112 is connected to the data read line 2212. At this time, the image data captured by the camera 212 sequentially passes through the data transmission line 2112 and the data reading line 2212 to the mobile phone 220.
Since the pixels of the camera 212 are high, the data amount of the photographed image data is large, and a plurality of data transfer lines and a plurality of data reading lines may be provided at this time, so that the image data is transferred in parallel through the plurality of data transfer lines and the data reading lines to improve the transfer efficiency. In a possible implementation manner, the number of the data transmission lines and the number of the data reading lines may be 10, and the embodiment is not limited.
The configurations of the interface circuit 211 and the image pickup interface circuit 221 will be described below.
1) The interface circuit 211 includes a power line 2113 for receiving power from the mobile phone 220 after being connected to the mobile phone 220 to provide power to the camera module 210; the image pickup interface circuit 221 includes a power supply unit 2213 for outputting power to the externally connected camera module 210.
In this embodiment, the camera assembly 210 may have its own power supply, and since aging of the power supply may affect the service life of the camera assembly 210, optionally, the camera assembly 210 may also be powered by the mobile phone 220. At this time, the interface circuit 211 further includes a power supply line 2113, the image pickup interface circuit 221 further includes a power supply unit 2213, and the power supply line 2113 is connected to the power supply unit 2213. At this time, the power supply in the mobile phone 220 sequentially passes through the power supply unit 2213 and the power line 2113 to the camera assembly 210 to supply power to the camera assembly 210.
In this embodiment, when the power supply is unstable, the conductivity of the semiconductor device in the camera 212 is affected, and thus the imaging effect of the camera 212 is affected, so the power supply unit 2213 may include a voltage-stabilizing sub-unit for stabilizing the voltage via the BUCK conversion BUCK circuit and an output sub-unit; and the output subunit is used for outputting the voltage subjected to voltage stabilization processing to the external camera assembly 210, so that the imaging effect of the camera 212 is improved through the BUCK circuit. The BUCK circuit is used for adjusting the output energy according to the load size, so that the energy in the load is ensured to be constant. The Semiconductor device may be a diode, a triode, a MOS (Metal-Oxide-Semiconductor) transistor, and the like, and the embodiment is not limited thereto.
Referring to fig. 3, the interface circuit 211 further includes three power lines 2113, the image pickup interface circuit 221 further includes three power supply units 2213, and each power line 2113 is connected to one power supply unit 2213. At this time, one path of power supply respectively passes through one power supply unit 2213 and the power line 2113 to the camera 212; one path of power supply respectively passes through a power supply unit 2213 and a power line 2113 to the analog circuit in the camera assembly 210; one path of power is supplied to the motor circuit 213 through a power supply unit 2213 and a power line 2113, respectively. The analog circuit is configured to collect an analog signal of image data captured by the camera 212, output the analog signal to the interface circuit 211, and process the analog signal into image data by the interface circuit 211 for output.
The first point to be noted is that a capacitor may be further provided at the power line 2113 to avoid the influence of the ripple on the circuit. Optionally, capacitance locations may also be reserved at the power supply line 2113, so that when the ripple is large, capacitances may be provided at these capacitance locations.
The second point to be noted is that when the power supply in the mobile phone 220 supplies power to the camera 212, the power line from the power supply to the camera 212 is long and has a certain impedance, so that the voltage drop of the power supply is affected, and therefore, the ripple applied to the power supply of the camera 212 may be large. At this time, in addition to ensuring that the energy in the load is constant by the BUCK circuit, the impedance of the power supply line can be limited. For example, the impedance of the power line may be limited to be greater than a predetermined impedance threshold, or the thickness of the power line may be limited to reach a predetermined thickness threshold, and the like, which is not limited in this embodiment.
2) The interface circuit 211 includes an ID signal transmission line 2114 for supplying an ID signal recognizable by the cellular phone 220; the image pickup interface circuit 221 includes an ID signal read line 2214 for acquiring an ID signal of the camera head assembly 210.
Since the imaging effect of the camera 212 is related to the pixels, in order to ensure that the image data captured by the camera 212 can be clearly displayed in the mobile phone 220, the pixels of the camera 212 need to be limited. In one possible implementation, the pixels of camera 212 may be restricted by an ID (Identity) signal of camera 212.
In a possible implementation manner, if an ID signal of the camera 212 whose pixel reaches a preset value can be preset, the mobile phone 220 may verify the ID signal of the camera 212 in the accessed camera assembly 210, and when the ID signal is the preset ID signal, the mobile phone 220 may identify the ID signal, determine that the pixel of the camera 212 reaches the preset value, and identify the camera 212; when the ID signal is not the preset ID signal, the mobile phone 220 cannot recognize the ID signal, and determines that the pixel of the camera 212 does not reach the preset value, i.e., does not recognize the camera 212.
In transmitting the ID signal, the interface circuit 211 includes an ID signal transmission line 2114, the image pickup interface circuit 221 includes an ID signal read line 2214, and the ID signal transmission line 2114 is connected to the ID signal read line 2214. At this time, the ID signal of the camera 212 sequentially passes through the ID signal transmission line 2114 and the ID signal reading line 2214 to the mobile phone 220.
3) The interface circuit 211 includes a clock signal read line 2115 for acquiring a clock signal from the cellular phone 220 to provide a clock for the camera assembly 210; the camera interface circuit 221 includes a clock signal transmission line 2215 for outputting a clock signal to the camera assembly 210.
Since the configuration parameters of the camera assembly 210 are different for different pixels, the cell phone 220 can also configure the clock of the camera assembly 210 according to the ID signal. At this time, the interface circuit 211 includes a clock signal read line 2115, the image pickup interface circuit 221 includes a clock signal transmission line 2215, and the clock signal read line 2115 is connected to the clock signal transmission line 2215. At this time, the mobile phone 220 sequentially transmits the clock signal determined according to the ID signal to the camera module 210 through the clock signal transmission line 2225 and the clock signal reading line 2215 to provide a clock for the camera module 210.
Optionally, the mobile phone 220 may further determine a driving signal of the camera assembly 210 according to the ID signal, and the driving signal sequentially passes through the communication transmission line 2211 and the communication transmission line 2111 to the camera assembly 210 to provide driving parameters for the camera assembly 210.
The mobile phone 220 may be pre-stored with the mapping relationship between the ID signal, the clock signal, and the driving signal, and the mobile phone 220 may determine the corresponding clock signal and the driving signal according to the ID signal. Where the clock signal is associated with the pixels of camera 212, i.e., the higher the pixel the faster the clock, the lower the pixel the lower the clock. The driving signal is used to configure driving parameters, such as the transmission rate of the data transmission line 2112 and the data read line 2212, and the like, and the embodiment is not limited.
The interface circuit 211, after determining the processing speed of the image data according to the clock signal and configuring the driving parameters according to the driving signal, is equivalent to activating the camera 212, at which time the user can use the camera 212.
It should be noted that, because the data transmission/reading line and the clock signal transmission/reading line between the camera 212 and the mobile phone 220 are longer in routing, and a high-speed signal is transmitted in the data transmission/reading line and the clock signal transmission/reading line, which is easy to cause reflection and attenuation of the high-speed signal, an amplifier circuit and an EMI (electromagnetic Interference) circuit may be further added to the mobile phone 220 to compensate for the reflection and attenuation of the high-speed signal.
4) The interface circuit 211 includes an abnormal flag signal transmission line 2116 for providing an abnormal flag signal recognizable by the mobile phone 220; the image pickup interface circuit 221 includes an abnormal flag signal read line 2216 for acquiring an abnormal flag signal of the camera head assembly 210.
When an exception occurs, the exception also needs to be handled. The abnormality may be caused by an abnormality of the camera head assembly 210 itself, such as an increase in temperature due to excessive power consumption of the camera head 212, damage due to ESD (Electro-Static discharge), and the like. The abnormality may also be generated because the camera assembly 210 cannot receive the signal sent by the mobile phone 220, for example, the interface circuit 211 may determine that the camera assembly 210 is abnormal when image data is continuously sent to the mobile phone 220 and no response signal returned by the mobile phone 220 is received for more than a predetermined time; alternatively, the interface circuit 211 may determine that the mobile phone 220 is abnormal when the image data is not transmitted to the mobile phone 220 and the control signal transmitted by the mobile phone 220 is not received for more than a predetermined time. The occurrence of an abnormality in the camera assembly 210 will be described as an example.
In one possible implementation, the interface circuit 211 includes an abnormal flag signal transmission line 2116, the image pickup interface circuit 221 includes an abnormal flag signal read line 2216, and the abnormal flag signal transmission line 2116 is connected to the abnormal flag signal read line 2216. At this time, the abnormal flag signal generated by the interface circuit 211 sequentially passes through the abnormal flag signal transmission line 2116 and the abnormal flag signal reading line 2216 to the mobile phone 220.
After receiving the abnormal flag bit signal, the mobile phone 220 may generate a processing signal, and the processing signal sequentially passes through the communication transmission line 2211 and the communication transmission line 2111 to the camera assembly 210 to indicate a processing manner of the camera assembly 210 for the abnormality.
When there is only one processing signal, the processing signal typically instructs the camera 212 to restart to avoid creating more serious problems, thereby increasing the success rate of exception handling. Since the user experience is influenced by restarting, various abnormal grades can be set according to the severity of the abnormality, different abnormal signals are set according to different abnormal grades, and therefore abnormal processing modes which do not disturb the user, such as resetting and the like, are carried out when the abnormality is not serious, so that the user is prevented from being disturbed; and when the abnormity is serious, an abnormity processing mode of restarting the camera 212 is carried out so as to improve the success rate of processing the abnormity.
In this case, the interface circuit 211 is further configured to determine an abnormality level of the abnormality, and generate an abnormality flag signal corresponding to the abnormality level, where the voltage values of the abnormality flag signals corresponding to different abnormality levels are different. The image pickup interface circuit 221 further includes a sampling circuit 2217, and the sampling circuit 2217 is connected to the abnormal flag signal reading line 2216, and samples the voltage value of the abnormal flag signal read in the abnormal flag signal reading line 2216, so that the mobile phone 220 can determine the abnormal processing mode for the camera assembly 210 according to the sampled voltage value. The sampling circuit 2217 may be an ADC (Analog-to-Digital Converter) sampling circuit, or may be another sampling circuit, and the embodiment is not limited thereto.
Different voltage values can be set for different abnormal levels in advance, for example, the voltage value of the abnormal level at the time of restarting is 1.8V, the voltage value of the abnormal level at the time of power-off reset is 1.5V, and the like.
If the mobile phone 220 is abnormal, the mobile phone 220 may process the abnormality according to the abnormal flag bit signal after receiving the abnormal flag bit signal, without generating a processing signal to send to the camera assembly 210.
5) The interface circuit 211 comprises a first protection circuit 2117, which is used for controlling the camera assembly 210 to be in a power-off state when the interface circuit 211 is wet and controlling the camera assembly 210 to be in a power-on state when the interface circuit 211 is dry after being connected with the mobile phone 220; the camera interface circuit 221 includes a bias circuit 2218 for controlling the camera assembly 210 to be in a power-off state when the interface circuit 211 in the camera assembly 210 is wet and controlling the camera assembly 210 to be in a power-on state when the interface circuit 211 in the camera assembly 210 is dry after being connected to the camera assembly 210. That is, the combination of the first protection circuit 2117 and the bias circuit 2218 has a waterproof function to ensure that the interface circuit 211 and the image pickup interface circuit 221 can be normally used.
With respect to the combination of the first protection circuit 2117 and the bias circuit 2218, referring to fig. 4, in one implementation, the first protection circuit 2117 may include foam, and the mobile phone 220 is configured to generate a short-circuit signal when the bias circuit 2218 is short-circuited under the control of the foam in a wet state; the camera assembly 210 is in a powered down state under the control of a short circuit signal generated by the cell phone 220. Or, the mobile phone 220 is configured to generate a disconnection signal when the bias circuit 2218 is disconnected under the control of the foam in the dry state; the camera assembly 210 is in a powered-on state under control of a power-off signal generated by the cell phone 220.
The bias circuit 2218 includes a bias voltage and a bias resistor, and a voltage signal is always present on the bias voltage. When the foam is in a dry state, the volume of the foam is small, and the bias resistor in the bias circuit 2218 cannot be grounded, so that the bias circuit 2218 is disconnected, and no power is consumed, and at this time, the mobile phone 220 generates a disconnection signal and controls a power supply and the like to supply power to the camera assembly 210. When the foam is in a wet state, the foam has a large volume, and the bias resistor in the bias circuit 2218 can be grounded, so that the bias circuit 2218 is short-circuited, and at this time, the mobile phone 220 generates a short-circuit signal and controls a power supply and the like to not supply power to the camera assembly 210. The foam expands in volume after being wetted, namely the area of the foam in a wet state is larger than that of the foam in a dry state.
Optionally, when the foam is in a wet state, the moisture in the foam may be squeezed or dried, so that when the foam is in a dry state, the interface circuit 211 is inserted into the camera interface circuit 221 for use.
6) The interface circuit 211 includes a second protection circuit 2118 for filtering an instantaneous ac voltage signal input from the cellular phone 220.
In this embodiment, the second protection circuit 2118 has an antistatic function to ensure that the interface circuit 211 and the image pickup interface circuit 221 can be used normally.
Since there is a risk of entering dust, heat generation, ESD, or the like at the interface circuit 211, the second protection circuit 2118 needs to be provided in the interface circuit 211. Since the camera assembly 210 is supplied with the dc voltage signal and the static electricity is the instantaneous ac voltage signal, the second protection circuit 2118 filters the instantaneous ac voltage signal without affecting the dc voltage signal, thereby ensuring the normal use of the camera assembly 210.
In one implementation, the second protection circuit 2118 may be a TVS (Transient Voltage super), and the like, and the embodiment is not limited.
Optionally, a second protection circuit 2219 may be further disposed in the image capture interface circuit 221, which is not limited in this embodiment.
In addition to the above design, in the present embodiment, the shooting angle of the camera 212 may be adjusted, and the shooting angle may be a horizontal shooting angle or a vertical shooting angle. When the horizontal shooting angle of the camera 212 is rotated by 180 °, the camera 212 may be converted from a front camera to a rear camera for use, or the camera 212 may be converted from a rear camera to a front camera for use, so that only one camera 212 may be configured in the mobile phone 220 to reduce the manufacturing cost of the mobile phone 220.
In this implementation manner, the camera assembly 210 further includes a motor circuit 213, the motor circuit 213 is respectively connected to the interface circuit 211 and the camera 212, and the control signal is an angle adjustment signal, then the camera interface circuit 221 is configured to read and transmit the angle adjustment signal generated by the mobile phone 220 to the camera assembly 210; the interface circuit 211 in the camera assembly 210 is further configured to obtain an angle adjustment signal from the mobile phone 220 and transmit the angle adjustment signal to the motor circuit 213; and a motor circuit 213 for adjusting the shooting angle of the camera 212 according to the angle adjustment signal.
It should be noted that the angle adjustment signal may be generated by displaying a predetermined icon on the mobile phone and clicking the predetermined icon by the user, where the predetermined icon may be a remote sensing icon. Optionally, the mobile phone may be provided with remote sensing icons in different directions, for example, a remote sensing icon turned to the left and a remote sensing icon turned to the right, a remote sensing icon turned upwards or a remote sensing icon turned downwards.
Optionally, the mobile phone may set the same offset angle corresponding to each remote sensing icon, and taking a horizontally rotated remote sensing icon as an example, the user may offset the same horizontal shooting angle by the same angle each time the user clicks the remote sensing icon. Or, the mobile phone may set different remote sensing icons corresponding to different offset angles, for example, if the remote sensing icon one corresponds to the offset angle one, and the remote sensing icon two corresponds to the offset angle two, then after the user clicks the remote sensing icon one, the horizontal shooting angle is offset by the angle one; and after the user clicks the remote sensing icon II, horizontally shooting at an angle offset angle II. Or, the mobile phone can be provided with an input box with an offset angle, and the user inputs the angle in the input box after clicking the remote sensing icon, and horizontally shoots the angle with the offset angle. The setting mode of the vertical shooting angle is the same as that of the horizontal shooting angle, and is not described herein.
It should be noted that the devices in the camera assembly 210 in the above embodiments can be implemented separately as an embodiment of the camera assembly 210, and the devices in the mobile phone 220 can be implemented separately as an embodiment of the mobile phone 220.
In summary, according to the camera assembly provided by the present disclosure, the camera can be connected to the mobile phone through the connection line and the interface circuit, instead of being fixed on the front panel of the mobile phone, so that the problem that the screen occupation ratio of the full-screen is affected by mounting the camera on the front panel is solved, and the effect of improving the screen occupation ratio of the full-screen is achieved.
Compared with the lifting camera arranged inside the mobile phone, the lifting camera is required to be lifted to the outside of the mobile phone in the using process, so that dust is easily caused to enter the inside of the mobile phone, and the service life of the mobile phone is influenced. And through external camera subassembly in this application, the dust gets into the inside problem of cell-phone when using over-and-under type camera can be solved, has reached the effect that improves the life of cell-phone.
Because the size of external camera is not restricted by the thickness of cell-phone, and the bigger formation of image effect of camera is better more usually, so, can improve the shooting effect of cell-phone through the great camera of external volume.
The pixels of the camera are limited through the ID signals, so that image data obtained by shooting through the camera can be clearly displayed in the mobile phone, and the imaging effect is guaranteed.
The clock signal and the configuration signal are determined through the ID signal, different configuration parameters can be set for different cameras, and therefore normal operation of the cameras is guaranteed.
The abnormity generated by the camera assembly can be processed through the abnormity flag bit signal, so that the normal operation of the camera assembly is ensured.
Different exception grades can be set aiming at exceptions with different severity degrees by setting a plurality of exception grades, so that different exception handling modes are set for the exceptions with different exception grades, the user can be prevented from being disturbed, and the success rate of exception handling can be improved.
By arranging the bias circuit and the foam, the interface circuit and the interface circuit have a waterproof function. Through setting up TVS for interface circuit has antistatic function.
Fig. 5 is a flowchart illustrating a camera assembly control method applied to a camera control system according to an exemplary embodiment, and the camera assembly control method includes the following steps, as shown in fig. 5.
In step 501, the mobile phone generates a control signal and transmits the control signal to the camera assembly, where the control signal is used to control the camera assembly to shoot.
In step 502, the camera assembly outputs a control signal acquired from the mobile phone to the camera, and performs shooting under the control of the control signal.
In step 503, the camera assembly reads and transmits image data captured by the camera to the mobile phone.
In step 504, the handset acquires image data from the camera assembly.
Wherein, steps 501 and 504 can be implemented separately as the method embodiment of the mobile phone side, and step 502 and 503 can be implemented separately as the method embodiment of the camera assembly side.
In summary, according to the camera module control method provided by the disclosure, the camera can be connected to the mobile phone through the connecting line and the interface circuit instead of being fixed on the front panel of the mobile phone, so that the problem that the screen occupation ratio of the full screen is affected by mounting the camera on the front panel is solved, and the effect of improving the screen occupation ratio of the full screen is achieved.
Compared with the lifting camera arranged inside the mobile phone, the lifting camera is required to be lifted to the outside of the mobile phone in the using process, so that dust is easily caused to enter the inside of the mobile phone, and the service life of the mobile phone is influenced. And through external camera subassembly in this application, the dust gets into the inside problem of cell-phone when using over-and-under type camera can be solved, has reached the effect that improves the life of cell-phone.
Because the size of external camera is not restricted by the thickness of cell-phone, and the bigger formation of image effect of camera is better more usually, so, can improve the shooting effect of cell-phone through the great camera of external volume.
Fig. 6 is a flowchart illustrating a camera assembly control method applied to a camera control system according to another exemplary embodiment, and the camera assembly control method includes the following steps, as shown in fig. 6.
In step 601, the mobile phone outputs power to an externally connected camera module.
In step 602, the camera assembly obtains power from the handset to provide power to the camera assembly.
In this embodiment, the camera component can be provided with a power supply, and the aging of the power supply can affect the service life of the camera component, so that the camera component can be optionally powered by a mobile phone. Since the power line from the power supply to the camera is long and has a certain impedance, the voltage drop of the power supply is affected, and therefore, the ripple of the power supply applied to the camera may be large. At this time, in addition to ensuring that the energy in the load is constant by the BUCK circuit, the impedance of the power supply line can be limited. For example, the impedance of the power line may be limited to be greater than a predetermined impedance threshold, or the thickness of the power line may be limited to reach a predetermined thickness threshold, and the like, which is not limited in this embodiment.
At the moment, the voltage of the mobile phone is subjected to voltage stabilization treatment through a BUCK circuit; outputting the power supply subjected to voltage stabilization treatment to an externally connected camera assembly; the camera component obtains the power supply after voltage stabilization from the mobile phone.
In step 603, the camera assembly outputs an ID signal that can be recognized by the handset to the handset.
Because the imaging effect of the camera is related to the pixels, in order to ensure that the image data obtained by shooting by the camera can be clearly displayed in the mobile phone, the pixels of the camera need to be limited. In one possible implementation, the pixels of the camera may be limited by the ID signal of the camera.
Because the configuration parameters of the cameras of different pixels are different, the mobile phone can also configure the cameras according to the ID signals.
Whether the ID signal is used to identify the camera or the configuration parameters, the camera assembly needs to output the ID signal to the handset, which output flow is detailed in the embodiment shown in fig. 2.
In step 604, the mobile phone obtains an ID signal of the camera assembly; and determining a clock signal and a driving signal according to the ID signal, and outputting the clock signal and the driving signal to the camera assembly.
When the ID signal is used for identifying the camera, the ID signal of the camera with the pixel reaching the preset value can be preset in the mobile phone, the mobile phone can verify the ID signal of the camera in the accessed camera assembly, and when the ID signal is the preset ID signal, the mobile phone can identify the ID signal and determine that the pixel of the camera reaches the preset value, namely the camera is identified; when the ID signal is not the preset ID signal, the mobile phone cannot identify the ID signal, and the pixel of the camera is determined not to reach the preset numerical value, namely the camera is not identified.
When the ID signal is used to identify the configuration parameter, the mobile phone may pre-store the mapping relationship between the ID signal, the clock signal, and the driving signal, and then the mobile phone may determine the corresponding clock signal and driving signal according to the ID signal. Wherein the clock signal is related to the pixels of the camera, i.e. the higher the pixel the faster the clock, the lower the pixel the lower the clock. The driving signal is used to configure driving parameters, such as the transmission rate of the data transmission line, and the like, and the embodiment is not limited.
In step 605, the camera assembly acquires a clock signal and a driving signal from the mobile phone; determining the processing speed of the image data according to the clock signal; drive parameters in the camera assembly are configured according to the drive signals.
After the interface circuit in the camera assembly determines the processing speed according to the clock signal and configures the driving parameters according to the driving signal, the camera is activated, and the user can use the camera at the moment.
In this embodiment, the camera assembly and the mobile phone can implement two-way communication, wherein the step 606-.
In step 606, the mobile phone generates a control signal and transmits the control signal to the camera assembly, where the control signal is used to control the camera assembly to shoot.
The control signal may be obtained by a user operating the mobile phone, for example, the control signal may be obtained by the user clicking a camera icon in the mobile phone, and the operation executed by the camera is to open the camera at this time; the control signal can be obtained by adjusting the scaling of a preview picture in the mobile phone by a user, and the operation executed by the camera at the moment is to adjust the focal length; the control signal may be obtained by a user clicking a video recording control in the mobile phone, and at this time, the operation executed by the camera is switched from the photographing mode to the video recording mode. Of course, the user may also control the camera to perform other operations, and this embodiment is not limited.
In step 607, the camera module outputs a control signal acquired from the cellular phone to the camera, and performs shooting under the control of the control signal.
In step 608, the camera assembly reads and transmits image data captured by the camera to the mobile phone.
Because the pixels of the camera are higher, the data volume of the image data obtained by shooting is larger, and a plurality of data transmission lines can be arranged at the moment, so that the transmission efficiency is improved by transmitting the image data in parallel through the plurality of data transmission lines.
In step 609, the handset acquires image data from the camera assembly.
When an exception occurs, the exception also needs to be handled. The abnormality may be caused by an abnormality of the camera assembly itself, such as an excessive power consumption of the camera head resulting in a temperature rise, a damage due to ESD, or the like. The abnormality may also be generated because the camera assembly cannot receive a signal sent by the mobile phone, for example, the interface circuit may determine that the camera assembly is abnormal when image data is continuously sent to the mobile phone and a response signal returned by the mobile phone is not received for more than a predetermined time; or, the interface circuit may determine that the mobile phone is abnormal when the image data is not sent to the mobile phone and the control signal sent by the mobile phone is not received after a predetermined time period. The steps 610 and 612 are described by taking the camera assembly as an example.
In step 610, the camera assembly transmits an abnormal flag signal that can be recognized by the handset to the handset.
The flow of the camera assembly outputting the abnormal flag bit signal to the mobile phone is described in the embodiment shown in fig. 2.
When only one processing signal exists, the mobile phone usually indicates to restart the camera to avoid generating more serious problems, thereby improving the success rate of exception handling. Since the user experience is influenced by restarting, various abnormal grades can be set according to the severity of the abnormality, different abnormal signals are set according to different abnormal grades, and therefore abnormal processing modes which do not disturb the user, such as resetting and the like, are carried out when the abnormality is not serious, so that the user is prevented from being disturbed; and when the abnormity is serious, an abnormity processing mode of restarting the camera is carried out so as to improve the success rate of processing the abnormity.
In this case, generating an abnormal flag signal when the camera is abnormal includes: determining an anomaly level of the anomaly; and generating an abnormal zone bit signal according to the abnormal grade, wherein the voltage values of the abnormal zone bit signals corresponding to different abnormal grades are different.
Different voltage values can be set for different abnormal levels in advance, for example, the voltage value of the abnormal level at the time of restarting is 1.8V, the voltage value of the abnormal level at the time of power-off reset is 1.5V, and the like.
In step 611, the mobile phone obtains an abnormal zone bit signal of the camera assembly; generating a processing signal according to the abnormal zone bit signal; and outputting the processing signal to the camera assembly.
Wherein, according to unusual flag bit signal generation processing signal, include: sampling the voltage value of the abnormal zone bit signal; and determining the abnormal grade of the abnormal zone bit signal according to the voltage value obtained by sampling, and generating a processing signal corresponding to the abnormal grade, wherein the voltage values of the abnormal zone bit signals corresponding to different abnormal grades are different. The sampling circuit here may be an ADC sampling circuit, or may be another sampling circuit, and this embodiment is not limited thereto.
If the mobile phone is abnormal, the mobile phone can process the self-existing abnormality according to the abnormal zone bit signal after receiving the abnormal zone bit signal, and does not need to generate a processing signal to send to the camera assembly.
In step 612, the camera assembly obtains a processed signal from the handset; the exception is handled according to the processed signal.
In this embodiment, the shooting angle of the camera may also be adjusted, and the shooting angle may be a horizontal shooting angle or a vertical shooting angle. When the horizontal shooting angle of the camera is rotated by 180 degrees, the camera can be converted from a front camera to a rear camera for use, or the camera can be converted from the rear camera to the front camera for use, so that only one camera can be configured in the mobile phone, and the manufacturing cost of the mobile phone is reduced. The adjustment of the photographing angle will be described in steps 613-614.
In step 613, the mobile phone generates an angle adjustment signal; the angular adjustment signal is transmitted to the camera assembly.
The angle adjustment signal can be generated by displaying a preset icon on the mobile phone and clicking the preset icon by the user, wherein the preset icon can be a remote sensing icon. Optionally, the mobile phone may be provided with remote sensing icons in different directions, for example, a remote sensing icon turned to the left and a remote sensing icon turned to the right, a remote sensing icon turned upwards or a remote sensing icon turned downwards.
Optionally, the mobile phone may set the same offset angle corresponding to each remote sensing icon, and taking a horizontally rotated remote sensing icon as an example, the user may offset the same horizontal shooting angle by the same angle each time the user clicks the remote sensing icon. Or, the mobile phone may set different remote sensing icons corresponding to different offset angles, for example, if the remote sensing icon one corresponds to the offset angle one, and the remote sensing icon two corresponds to the offset angle two, then after the user clicks the remote sensing icon one, the horizontal shooting angle is offset by the angle one; and after the user clicks the remote sensing icon II, horizontally shooting at an angle offset angle II. Or, the mobile phone can be provided with an input box with an offset angle, and the user inputs the angle in the input box after clicking the remote sensing icon, and horizontally shoots the angle with the offset angle. The setting mode of the vertical shooting angle is the same as that of the horizontal shooting angle, and is not described herein.
In step 614, the camera assembly obtains an angle adjustment signal from the mobile phone; and adjusting the shooting angle of the camera according to the angle adjusting signal.
In addition to the above design, in this embodiment, a first protection circuit may be disposed in the camera module, and a bias circuit may be disposed in the mobile phone, and the combination of the first protection circuit and the bias circuit has a waterproof function. At this time, the camera assembly is controlled to be in a power-off state when the interface circuit in the camera assembly is wet, and the camera assembly is controlled to be in a power-on state when the interface circuit in the camera assembly is dry.
In one possible implementation, when the bias circuit is short-circuited under the control of the foam in a wet state, the mobile phone generates a short-circuit signal, and the short-circuit signal is used for controlling the camera assembly to be in a power-off state; when the bias circuit is in open circuit under the control of the foam in the dry state, the mobile phone generates an open circuit signal, and the open circuit signal is used for controlling the camera assembly to be in the power-on state. Wherein the area of the foam in a wet state is larger than the area of the foam in a dry state.
The bias circuit comprises a bias voltage and a bias resistor, and a voltage signal is always on the bias voltage. When the foam is in a dry state, the volume of the foam is small, and the bias resistor in the bias circuit cannot be grounded, so that the bias circuit is disconnected and does not consume power, and at the moment, the mobile phone generates a disconnection signal and controls a power supply and the like to supply power to the camera assembly. When the foam is in a wet state, the foam is large in size and can ground a bias resistor in the bias circuit, so that the bias circuit is short-circuited, and at the moment, the mobile phone generates a short-circuit signal and controls a power supply and the like to supply power to the camera assembly. The foam expands in volume after being wetted, namely the area of the foam in a wet state is larger than that of the foam in a dry state.
Optionally, when the foam is in a wet state, the moisture in the foam can be squeezed or dried, so that when the foam is in a dry state, the interface circuit in the camera assembly is inserted into the interface circuit in the mobile phone for use.
Steps 601, 604, 606, 609, 611, 613 can be implemented separately as method embodiments on the mobile phone side, and steps 602, 603, 605, 607, 608, 610, 612, 614 can be implemented separately as method embodiments on the camera assembly side.
In summary, according to the camera module control method provided by the disclosure, the camera can be connected to the mobile phone through the connecting line and the interface circuit instead of being fixed on the front panel of the mobile phone, so that the problem that the screen occupation ratio of the full screen is affected by mounting the camera on the front panel is solved, and the effect of improving the screen occupation ratio of the full screen is achieved.
Compared with the lifting camera arranged inside the mobile phone, the lifting camera is required to be lifted to the outside of the mobile phone in the using process, so that dust is easily caused to enter the inside of the mobile phone, and the service life of the mobile phone is influenced. And through external camera subassembly in this application, the dust gets into the inside problem of cell-phone when using over-and-under type camera can be solved, has reached the effect that improves the life of cell-phone.
Because the size of external camera is not restricted by the thickness of cell-phone, and the bigger formation of image effect of camera is better more usually, so, can improve the shooting effect of cell-phone through the great camera of external volume.
The pixels of the camera are limited through the ID signals, so that image data obtained by shooting through the camera can be clearly displayed in the mobile phone, and the imaging effect is guaranteed.
The clock signal and the driving signal are determined through the ID signal, different configuration parameters can be set for different cameras, and therefore normal operation of the cameras is guaranteed.
The abnormity generated by the camera assembly can be processed through the abnormity flag bit signal, so that the normal operation of the camera assembly is ensured.
Different exception grades can be set aiming at exceptions with different severity degrees by setting a plurality of exception grades, so that different processing modes are set for the exceptions with different exception grades, the disturbance to a user can be avoided, and the success rate of exception handling can be improved.
An exemplary embodiment of the present disclosure provides a camera assembly control apparatus capable of implementing a camera assembly control method provided by the present disclosure, the camera assembly control apparatus including: a processor, a memory for storing processor-executable instructions;
wherein the processor is configured to:
generating a control signal, transmitting the control signal to the camera assembly, wherein the control signal is used for controlling the camera assembly to shoot;
image data is acquired from a camera assembly.
Fig. 7 is a block diagram illustrating an apparatus 700 for camera head assembly control according to an exemplary embodiment. For example, the apparatus 700 may be a mobile phone.
Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 can include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operation at the device 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of apparatus 700, sensor assembly 714 may also detect a change in position of apparatus 700 or a component of apparatus 700, the presence or absence of user contact with apparatus 700, orientation or acceleration/deceleration of apparatus 700, and a change in temperature of apparatus 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication section 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium, instructions in which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the above-described camera assembly control method.
An exemplary embodiment of the present disclosure provides a computer readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions that is loaded and executed by the processor to implement the camera assembly control method as described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure 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 limited only by the appended claims.

Claims (27)

1. The camera component is characterized in that the camera component is externally connected with a mobile phone and is used for providing a shooting function for the mobile phone; the camera assembly includes: the camera comprises an interface circuit and a camera connected with the interface circuit;
the interface circuit is used for being connected with a mobile phone to realize an interface function, outputting a control signal acquired from the mobile phone to the camera, reading and transmitting image data shot by the camera to the mobile phone, and realizing camera shooting control and image reading control of the camera;
the interface circuit includes: the ID signal transmission line is used for providing an ID signal which can be identified by the mobile phone, and the ID signal is used for limiting pixels of the camera; when the ID signal is a preset ID signal, the mobile phone is used for identifying the ID signal and identifying the camera; when the ID signal is not a preset ID signal, the mobile phone is not used for identifying the ID signal and is not used for identifying the camera, and the preset ID signal is the ID signal of the camera with pixels reaching a preset value;
the camera is used for shooting under the control of the control signal transmitted by the interface circuit.
2. The camera assembly of claim 1, wherein the interface circuit further comprises:
and the power line is used for obtaining power from the mobile phone after being connected with the mobile phone so as to provide electric energy for the camera assembly.
3. The camera assembly of claim 1, wherein the interface circuit further comprises:
the abnormal zone bit signal transmission line is used for providing abnormal zone bit signals which can be identified by the mobile phone, and different abnormal zone bit signals correspond to different voltage values; and/or the presence of a gas in the gas,
and the clock signal reading line is used for acquiring a clock signal from the mobile phone so as to provide a clock for the camera assembly.
4. The camera assembly of claim 1, further comprising a motor circuit, the motor circuit being connected to the interface circuit and the camera, respectively, and the control signal being an angle adjustment signal;
the interface circuit is also used for acquiring the angle adjusting signal from the mobile phone and transmitting the angle adjusting signal to the motor circuit;
and the motor circuit is used for adjusting the shooting angle of the camera according to the angle adjusting signal.
5. The camera assembly of claim 1, wherein the interface circuit further comprises:
the first protection circuit is used for controlling the camera assembly to be in a power-off state when the interface circuit is wet and controlling the camera assembly to be in a power-on state when the interface circuit is dry after the first protection circuit is connected with the mobile phone.
6. The camera assembly of claim 5, wherein the first protection circuit comprises foam;
when the foam in the wet state causes a short circuit of a bias circuit in the mobile phone, the camera assembly is in a power-off state under the control of a short circuit signal generated by the mobile phone;
when the foam in the dry state breaks the bias circuit in the cell phone, the camera assembly is in the power-on state under the control of the break signal generated by the cell phone.
7. The camera assembly of claim 1, wherein the interface circuit further comprises:
and the second protection circuit is used for filtering the instantaneous alternating voltage signal input from the mobile phone.
8. A mobile phone for connecting to an external camera assembly and for enabling a camera assembly to perform a camera function, the mobile phone comprising: a camera interface circuit; the camera assembly includes: the camera comprises an interface circuit and a camera connected with the interface circuit; the interface circuit is matched with the camera interface circuit;
the camera interface circuit is used for being connected with the camera assembly to realize an interface function, reading and transmitting a control signal generated by the mobile phone to the camera assembly, outputting image data acquired from the camera assembly to the mobile phone, and realizing camera control and image reading control of the camera assembly;
the image pickup interface circuit includes: the ID signal reading line is used for acquiring an ID signal of the camera assembly, and the ID signal is used for limiting pixels of the camera; when the ID signal is a preset ID signal, the mobile phone is used for identifying the ID signal and identifying the camera; and when the ID signal is not a preset ID signal, the mobile phone is not used for identifying the ID signal and is not used for identifying the camera, and the preset ID signal is the ID signal of the camera with the pixel reaching a preset value.
9. The handset of claim 8, wherein the camera interface circuit further comprises:
and the power supply unit is used for outputting power to the externally connected camera assembly.
10. The cellular phone according to claim 9, wherein the power supply unit includes:
the voltage stabilizing subunit is used for stabilizing the voltage through the BUCK conversion BUCK circuit;
and the output subunit is used for outputting the voltage subjected to voltage stabilization processing to the externally connected camera assembly.
11. The handset of claim 8, wherein the camera interface circuit further comprises:
an abnormal zone bit signal reading line for acquiring an abnormal zone bit signal of the camera assembly; and/or the presence of a gas in the gas,
and the clock signal transmission line is used for outputting a clock signal to the camera assembly.
12. The cellular phone of claim 11, wherein the camera interface circuit further comprises: the sampling circuit is connected with the abnormal zone bit signal reading line;
the sampling circuit is used for sampling the voltage value of the abnormal zone bit signal, and the sampled voltage value is used for determining the abnormal processing mode of the camera assembly.
13. The handset according to claim 8, wherein the control signal further comprises:
and the angle adjusting signal is used for indicating the camera assembly to adjust the shooting angle of the camera.
14. The handset of claim 8, wherein the camera interface circuit further comprises:
the bias circuit is used for controlling the camera assembly to be in a power-off state when an interface circuit in the camera assembly is wet and controlling the camera assembly to be in a power-on state when the interface circuit in the camera assembly is dry after the bias circuit is connected with the camera assembly.
15. The handset according to claim 14,
the mobile phone is also used for generating a short-circuit signal when the bias circuit is in short circuit under the control of the foam in the wet state, and the short-circuit signal is used for controlling the camera assembly to be in a power-off state; the bias circuit generates a circuit breaking signal when the circuit breaking is controlled by the foam in the dry state, and the circuit breaking signal is used for controlling the camera assembly to be in the power-on state.
16. A camera assembly control method for use in a camera assembly according to any one of claims 1 to 7, the camera assembly being externally connected to a mobile phone and being adapted to provide a camera function for the mobile phone, the method comprising:
when the interface circuit comprises an identification ID transmission line, an ID signal which can be identified by the mobile phone is output to the mobile phone, and the ID signal is used for limiting pixels of a camera; when the ID signal is a preset ID signal, the mobile phone is used for identifying the ID signal and identifying the camera; when the ID signal is not a preset ID signal, the mobile phone is not used for identifying the ID signal and is not used for identifying the camera, and the preset ID signal is the ID signal of the camera with pixels reaching a preset value;
outputting a control signal acquired from the mobile phone to the camera, and shooting under the control of the control signal;
and reading and transmitting the image data shot by the camera to the mobile phone.
17. The method of claim 16, further comprising:
when the interface circuit includes a power cord, power is drawn from the cell phone to provide power to the camera assembly.
18. The method of claim 16, further comprising:
when the interface circuit further comprises an abnormal zone bit signal transmission line, transmitting an abnormal zone bit signal which can be identified by the mobile phone to the mobile phone, wherein different abnormal zone bit signals correspond to different voltage values; and/or the presence of a gas in the gas,
when the interface circuit further comprises a clock signal reading line, a clock signal is obtained from the mobile phone to provide a clock for the camera assembly.
19. A camera assembly control method for use in a handset according to any one of claims 8 to 15, the handset being adapted to be connected to an external camera assembly and to perform a camera function by the camera assembly, the camera assembly comprising: the camera comprises an interface circuit and a camera connected with the interface circuit, and the method comprises the following steps:
when the camera interface circuit comprises an ID reading line, acquiring an ID signal of the camera assembly, wherein the ID signal is used for limiting pixels of the camera; when the ID signal is a preset ID signal, the mobile phone is used for identifying the ID signal and identifying the camera; when the ID signal is not a preset ID signal, the mobile phone is not used for identifying the ID signal and is not used for identifying the camera, and the preset ID signal is the ID signal of the camera with pixels reaching a preset value;
when the ID signal is the preset ID signal, generating a control signal, and transmitting the control signal to the camera assembly, wherein the control signal is used for controlling the camera assembly to shoot;
image data is acquired from the camera assembly.
20. The method of claim 19, further comprising:
when the camera interface circuit comprises a power supply providing unit, the power supply is output to the externally connected camera assembly.
21. The method of claim 20, further comprising:
and voltage is subjected to voltage stabilization treatment by a BUCK conversion BUCK circuit, and the voltage subjected to voltage stabilization treatment is output to the externally connected camera assembly.
22. The method of claim 19, further comprising:
when the camera shooting interface circuit further comprises an abnormal zone bit signal reading line, acquiring an abnormal zone bit signal of the camera head assembly; and/or the presence of a gas in the gas,
when the camera interface circuit further comprises a clock signal line, a clock signal is output to the camera assembly to provide a clock for the camera assembly.
23. The method of claim 22, wherein when the camera interface circuit further comprises a sampling circuit, the method further comprises:
and sampling the voltage value of the abnormal zone bit signal, wherein the sampled voltage value is used for determining an abnormal processing mode of the camera assembly.
24. The method of claim 19, wherein when the camera interface circuit further comprises a bias circuit, the method further comprises:
when the bias circuit is short-circuited under the control of the foam in the wet state, generating a short-circuit signal, wherein the short-circuit signal is used for controlling the camera assembly to be in a power-off state;
when the bias circuit is disconnected under the control of the foam in the dry state, a disconnection signal is generated, and the disconnection signal is used for controlling the camera assembly to be in the power-on state.
25. A camera assembly control apparatus for implementing the camera assembly control method according to any one of claims 19 to 24, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the camera interface circuit comprises an ID reading line, acquiring an ID signal of the camera assembly, wherein the ID signal is used for limiting pixels of the camera; the camera assembly includes: the camera comprises an interface circuit and a camera connected with the interface circuit; the interface circuit is matched with the camera interface circuit; when the ID signal is a preset ID signal, the mobile phone is used for identifying the ID signal and identifying the camera; when the ID signal is not a preset ID signal, the mobile phone is not used for identifying the ID signal and is not used for identifying the camera, and the preset ID signal is the ID signal of the camera with pixels reaching a preset value;
when the ID signal is the preset ID signal, generating a control signal, and transmitting the control signal to a camera assembly, wherein the control signal is used for controlling the camera assembly to shoot;
image data is acquired from the camera assembly.
26. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the camera assembly control method of any one of claims 16 to 18 or to implement the camera assembly control method of any one of claims 19 to 24.
27. A camera control system, the system comprising a camera assembly according to any one of claims 1 to 7 and a handset according to any one of claims 8 to 15.
CN201811156470.1A 2018-09-30 2018-09-30 Camera assembly, mobile phone, method, device, storage medium and system Active CN109194790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811156470.1A CN109194790B (en) 2018-09-30 2018-09-30 Camera assembly, mobile phone, method, device, storage medium and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811156470.1A CN109194790B (en) 2018-09-30 2018-09-30 Camera assembly, mobile phone, method, device, storage medium and system

Publications (2)

Publication Number Publication Date
CN109194790A CN109194790A (en) 2019-01-11
CN109194790B true CN109194790B (en) 2021-03-23

Family

ID=64946565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811156470.1A Active CN109194790B (en) 2018-09-30 2018-09-30 Camera assembly, mobile phone, method, device, storage medium and system

Country Status (1)

Country Link
CN (1) CN109194790B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110490006B (en) * 2019-07-25 2023-07-04 Oppo广东移动通信有限公司 Slider control method and device in terminal, electronic equipment and storage medium
CN113747009B (en) * 2021-08-20 2023-04-07 深圳荆虹科技有限公司 Lifting camera system and lifting camera device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6795715B1 (en) * 1999-03-25 2004-09-21 Sony Corporation Portable communication device with camera interface for image transmission and reception
CN1592365A (en) * 2003-08-25 2005-03-09 致伸科技股份有限公司 Image editing apparatus for processing image data photographed by cell phone camera
CN202178804U (en) * 2011-09-14 2012-03-28 舒东风 Digital image device having externally connected pick-up head
CN203522832U (en) * 2013-11-13 2014-04-02 广东欧珀移动通信有限公司 External pluggable rotating camera
CN106790861A (en) * 2016-12-07 2017-05-31 上海与德信息技术有限公司 Mobile terminal and the method for preventing mobile terminal waterlogged damage
CN108712527A (en) * 2018-05-14 2018-10-26 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and its control method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8154608B2 (en) * 2007-11-13 2012-04-10 Olympus Corporation Digital camera security
CN101778174A (en) * 2009-12-22 2010-07-14 中兴通讯股份有限公司 Method, system and external card for achieving function extension of mobile terminal
CN205142300U (en) * 2015-11-10 2016-04-06 路宽 Circumscribed make a video recording subassembly and mobile terminal
CN106209921A (en) * 2016-09-26 2016-12-07 周世平 A kind of IP Camera and application process thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6795715B1 (en) * 1999-03-25 2004-09-21 Sony Corporation Portable communication device with camera interface for image transmission and reception
CN1592365A (en) * 2003-08-25 2005-03-09 致伸科技股份有限公司 Image editing apparatus for processing image data photographed by cell phone camera
CN202178804U (en) * 2011-09-14 2012-03-28 舒东风 Digital image device having externally connected pick-up head
CN203522832U (en) * 2013-11-13 2014-04-02 广东欧珀移动通信有限公司 External pluggable rotating camera
CN106790861A (en) * 2016-12-07 2017-05-31 上海与德信息技术有限公司 Mobile terminal and the method for preventing mobile terminal waterlogged damage
CN108712527A (en) * 2018-05-14 2018-10-26 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and its control method

Also Published As

Publication number Publication date
CN109194790A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN105357734B (en) The method and device of control access WIFI hot spot
US20130232355A1 (en) Communication device
CN109194790B (en) Camera assembly, mobile phone, method, device, storage medium and system
KR20110078083A (en) Method and apparatus for driving camera
KR20200010177A (en) Reverse charging device, method and device for adjusting reverse charging current
US20200059597A1 (en) Shooting method and terminal
CN108922479B (en) Method and device for managing liquid crystal display module
CN108011191B (en) Antenna, terminal, and method and device for controlling antenna
CN112909364B (en) Charging method and device, terminal equipment and storage medium
US20150130984A1 (en) Electronic device including an image sensor
KR102566099B1 (en) Power supply control method of power strip, device and power strip
CN109286219B (en) Charging circuit, charging processing method, electronic device, and storage medium
CN111261081B (en) Screen display method and device
CN108897553B (en) Chip programming tool, system, chip programming method and device
CN112492378A (en) Control method, device and equipment of network television box and storage medium
CN108632522B (en) Camera control method and device
CN220527717U (en) Charging circuit and terminal equipment
CN218630786U (en) Interface circuit and electronic device
CN219181209U (en) Charging circuit and terminal equipment
US20220247198A1 (en) Charging method and device, and device
CN112821508B (en) Charging method, device and storage medium
CN109004359A (en) Electronic equipment and its antenna structure, the adjusting method of aerial voltage, device
CN215184616U (en) Integrated circuit connector, protection circuit, battery and electronic equipment
CN220490918U (en) Surge-resistant signal acquisition circuit and electronic equipment
US11444477B2 (en) Constant power charging method and device for mobile terminal

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
GR01 Patent grant
GR01 Patent grant