CN102263904A - Method and system for controlling double cameras and electronic equipment with double cameras - Google Patents

Method and system for controlling double cameras and electronic equipment with double cameras Download PDF

Info

Publication number
CN102263904A
CN102263904A CN2011102364028A CN201110236402A CN102263904A CN 102263904 A CN102263904 A CN 102263904A CN 2011102364028 A CN2011102364028 A CN 2011102364028A CN 201110236402 A CN201110236402 A CN 201110236402A CN 102263904 A CN102263904 A CN 102263904A
Authority
CN
China
Prior art keywords
camera module
port
output port
universal input
camera
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.)
Granted
Application number
CN2011102364028A
Other languages
Chinese (zh)
Other versions
CN102263904B (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.)
Honor Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN 201110236402 priority Critical patent/CN102263904B/en
Publication of CN102263904A publication Critical patent/CN102263904A/en
Application granted granted Critical
Publication of CN102263904B publication Critical patent/CN102263904B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a method and a system for controlling double cameras and electronic equipment with the double cameras. The system for controlling double cameras comprises a first camera module, a second camera module and a main processor, wherein a power control port of the first camera module and a power control port of the second camera module are connected with the main processor; the main processor is used for controlling electric potentials of the power control port of the first camera module and the power control port of the second camera module; a first general-purpose input/output port of the main processor is connected with an identification port of the first camera module and an identification port of the second camera module through a first control switch; and the first control switch is used for controlling communication between the first general-purpose input/output port and the identification port of the first camera module or the identification port of the second camera module. By adopting the same sensor design in different camera modules, the control system can identify different camera modules under the condition that general-purpose input/output (GPIO) resources are saved.

Description

The control method of dual camera, system and have the electronic equipment of dual camera
Technical field
The present invention relates to optics camera technical field, particularly relate to control method, the system of dual camera and have the electronic equipment of dual camera.
Background technology
At present, the optics camera has been widely used in the portable terminals such as mobile phone.Along with the development of 3G technology, had the function of video telephone in the portable terminal, have in the portable terminal of video telephone function and generally can be provided with major and minor two cameras, main camera generally is used to take pictures, and secondary camera generally is used for video calling.
The camera imaging process mainly is the digitized process of light signal, this process is mainly finished by the camera module, and the camera module generally is made up of camera lens (lens), transducer (sensor), rear end picture processing chip (Backend IC) and soft board (FPC) four parts.And having the electronic equipment of dual camera, therefore different camera modules may when camera is worked, need identify producer's model of module from different producers, just can call the setup code of module correspondence, finishes the initialization of module.Have in the electronic equipment of dual camera, transducer in different camera modules is not simultaneously, CPU can pass through internal integrate circuit bus (I2C, Inter-Integrated Circuit) identifies different transducers, and then call the setup code of module correspondence, carry out the initialization of module.
And have in the electronic equipment of dual camera, when adopting identical sensor design in the different camera modules, just need utilize general input GPIO and identify different camera modules and different transducers by drawing high or drag down ID identification port (ID PIN) current potential that can be provided with in conjunction with corresponding software and hardware.That is to say, when the ID of this camera module port is in low level, utilizes the GPIO that links to each other with the ID identification port of this module, and discern this module in conjunction with corresponding software and hardware, and then call the setup code of this module correspondence, finish the initialization of this module.Like this, the ID identification port of each module all needs to be connected with a GPIO, in other words, discern two camera modules and need two GPIO ports at least, but because GPIO resource-constrained, how can discern under the situation of different camera modules, saving the GPIO resource is those skilled in the art's urgent problems.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the invention provides a kind of control method, system of dual camera and has had the electronic equipment of dual camera, under the situation that adopts identical sensor design in the different camera modules, can adopt the mode of more saving the GPIO resource to realize identification to different camera modules.
For achieving the above object, the invention provides a kind of control system of dual camera, comprising: the first camera module, second camera module and the primary processor;
The power control terminal mouth of the power control terminal mouth of the described first camera module and the described second camera module all links to each other with described primary processor;
Described primary processor is used to control the current potential of the power control terminal mouth of the power control terminal mouth of the described first camera module and the described second camera module;
First universal input and output port of described primary processor links to each other with the sign port of the described first camera module or the sign port of the described second camera module by first control switch;
Described first control switch is used to control being communicated with of sign port of the sign port of described first universal input and output port and the described first camera module or the described second camera module.
On the other hand, the present invention also provides a kind of electronic equipment with dual camera, and described electronic equipment comprises the control system of above-described dual camera.
On the other hand, the present invention also provides a kind of control method of dual camera, comprising:
According to user's selection, in the first camera module and the second camera module, the camera module that needs are started is defined as target camera module;
With the potential setting of the power control terminal mouth of described target camera module is the operating state current potential;
The sign port of first control switch with described target camera module is communicated with, so as by described first control switch with the circuit turn-on between the sign port of first universal input and output port and described target camera module.
Via above-mentioned technical scheme as can be known, compared with prior art, the invention provides a kind of control method of dual camera, system and have the electronic equipment of dual camera, by first control switch first universal input and output port is connected with the sign port of the first camera module with the second camera module, and utilize first control switch to control being communicated with between first input/output port and the first camera module or the second camera module, when a certain camera module is in running order, can be communicated with first universal input and output port by the identification port of first control switch this camera module, so that processor is discerned this camera module by first universal input and output port, the such first camera module and the second camera module can a shared universal input and output port come the identification camera module, have reduced the quantity of using universal input and output port.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do simple the introduction to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the electrical block diagram of identification dual camera module system in the prior art;
Fig. 2 is the structural representation of an embodiment of control system of a kind of dual camera of the embodiment of the invention;
Fig. 3 is the structural representation of another embodiment of control system of a kind of dual camera of the embodiment of the invention;
Fig. 4 is the schematic flow sheet of an embodiment of control method of a kind of dual camera of the embodiment of the invention;
Fig. 5 is the schematic flow sheet of another embodiment of control method of a kind of dual camera of the embodiment of the invention.
Embodiment
For the electronic equipment with dual camera (as, the mobile phone that has dual camera), different camera modules may be from different producers, when adopting identical sensor design in the different camera modules, in the prior art each camera module is linked to each other with a universal input and output port GPIO of primary processor respectively, two camera modules just need two universal input and output port at least, and the universal input and output port GPIO resource that takies is more.
For in the process of identification camera module, reduce and take universal input and output port GPIO resource, the embodiment of the invention provides a kind of control method, system and electronic equipment of dual camera module, when adopting identical sensor design in the different camera modules, can reduce the quantity that the camera module takies the universal input and output port of primary processor.
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention at the every other embodiment that is obtained.
Referring to Fig. 1, electrical block diagram for identification dual camera module system in the prior art, this system comprises the first camera module 1, the second camera module 2 and primary processor 3, wherein, the power control terminal mouth 21 of the power control terminal mouth 11 of the first camera module 1 (that is powder Down port) and the second camera module 2 links to each other with a universal input and output port GPIO in the primary processor 3 respectively; The sign port of the first camera module 1 (also claiming sign identification port or ID port) 12 links to each other with first universal input and output port (GPIO port) 31 of primary processor 3; The reseting port 13 of the first camera module 1 links to each other with second universal input and output port 33 of primary processor 3; The sign port 22 of the second camera module 2 links to each other with the 3rd general input/output port 33 of primary processor 3; The reseting port 23 of the second camera module 2 links to each other with input/output port 34 with the four-way of primary processor 3.
Need to prove, in this dual camera module system, adopt identical sensor design in the different camera modules, therefore can not identify this camera module in this case by internal integrate circuit bus, the process of identification camera module is specially: when the current potential of setting the power control terminal mouth of certain camera module when primary processor is operating state, this camera module can receive and respond the corresponding operating order, control the signal of the reseting port of this camera module by universal input and output port, start this camera module; Afterwards, read this camera module of state recognition of sign port by the universal input and output port that links to each other with the sign port, so that identify producer's model of this camera module etc., call the setup code of this camera module correspondence, finish the initialization of camera module.
As seen in the prior art, in order to identify the camera module, finish the initialization of this camera module with the setup code that calls this camera module correspondence, the sign port of each camera module all need take a universal input and output port, simultaneously, when switching for the major and minor camera in dual camera, assurance is about to be in the steady operation of the camera module of startup, the reseting port of each camera module also needs respectively to take a universal input and output port, causes the resource of the universal input and output port that takies more.
In order to solve problems of the prior art, be the structural representation of an embodiment of control system of a kind of dual camera of the embodiment of the invention referring to Fig. 2, the system of present embodiment comprises: the first camera module 1, the second camera module 2 and primary processor 3;
The power control terminal mouth 21 of the power control terminal mouth 11 of the first camera module 1 and the second camera module 2 links to each other with a universal input and output port in this primary processor 3 respectively;
Primary processor 3 is used to control the current potential of the power control terminal mouth 21 of the power control terminal mouth 11 of the first camera module 1 and the second camera module 2, as, primary processor can the first camera module the current potential of power control terminal mouth be set to high level, the current potential of the power control terminal mouth of the second camera module is set to low level.For the operating state current potential of the power control terminal mouth of camera module can for: setting low level current potential is the operating state current potential; In the time of also can setting current potential when the power control terminal mouth for high level is operating state.Certainly the concrete current potential of setting operating state is high level or low level, can select according to actual needs.
First universal input and output port 31 of primary processor 3 links to each other with the sign port one 2 of the first camera module 1 or the sign port 22 of the second camera module 2 by first control switch 4.
This first control switch 4 is used to control first universal input and output port 31 and is communicated with the sign port one 2 of the first camera module 1 or the sign port 22 of the second camera module 2.That is to say, can control the mode of communicating of first control switch by primary processor, and then by the circuit turn-on of first control switch 1 with 2 of the sign port ones of first universal input and output port 31 and the first camera module 1, and the circuit of 22 of the sign ports of first universal input and output port 31 and the second camera module 2 is in off-state; Or by the circuit turn-on of first control switch 1, with the circuit disconnection of 2 of the sign port ones of first universal input and output port 31 and the first camera module 1 with 22 of the sign ports of first universal input and output port 31 and the second camera module 2.
Wherein, first control switch can be a single-pole double-throw switch (SPDT) by processor control, this control procedure is specially, after the power control terminal mouth of certain camera module is set to operating state, processor can send this camera module of indication to first control switch by first universal input and output port (being the GPIO interface) and enter the signal of telecommunication of operating state, first control switch just directly links to each other with the sign port of this camera module after receiving this signal of telecommunication, thereby processor can be discerned this camera module.
The embodiment of the invention links to each other first universal input and output port by first control switch with the sign port of the first camera module or the sign port of the second camera module.When the first camera module is in running order, can the sign port of first control switch with the first camera module be communicated with by primary processor, so that pass through first control switch the circuit turn-on between the sign port of first universal input and output port and the first camera module; Equally, when the second camera module is in running order, also can by first control switch with first universal input and output port with the circuit turn-on between the sign port of the first camera module.Because the first camera module and the second camera module can be simultaneously not in running order, therefore can will make the shared universal input and output port of sign port of the sign port and the second camera module of the first camera module by control switch, and then save the quantity of universal input and output port.
In actual applications for when the dual camera module switches, the camera that guarantees operating state can be in stable state, the reseting port of camera module also needs to be connected with universal input and output port in the processor, referring to Fig. 2, the reseting port 13 of the first camera module 1 is connected with second universal input and output port 32 of primary processor 3; The reseting port 23 of the second camera module 2 links to each other with the 3rd general input/output port 33 of primary processor 3.
Need to prove that first universal input and output port in the various embodiments of the present invention, second universal input and output port, the 3rd general input/output port all are the universal input and output port in the primary processor.As broad as long in function, adopting it is divided into first, second, third universal input and output port is for clearer being described of energy.
In order further to reduce universal input and output port quantity in the primary processor that the camera module takies, a universal input and output port of primary processor can be connected with the reseting port of the first camera module or the reseting port of the second camera module by a control switch, referring to Fig. 3, be the electrical block diagram of another embodiment of the control system of a kind of dual camera of the embodiment of the invention, the system of present embodiment comprises: the first camera module 1, the second camera module 2 and primary processor 3;
The power control terminal mouth 21 of the power control terminal mouth 11 of the first camera module 1 and the second camera module 2 links to each other with a universal input and output port of primary processor 3 respectively; Primary processor 3 is used to control the current potential of the power control terminal mouth 21 of the power control terminal mouth 11 of the first camera module 1 and the second camera module 2;
First universal input and output port 31 of primary processor 3 links to each other with the sign port one 2 of the first camera module 1 or the sign port 21 of the second camera module 2 by first control switch 4; First control switch 4 is used to control first universal input and output port 31 and is communicated with the sign port one 2 of the first camera module 1 or the sign port 22 of the second camera module 2.
Second universal input and output port 32 of primary processor 3 links to each other with the reseting port 13 of the first camera module 1 or the reseting port 23 of the second camera module 2 by second control switch 5.This second control switch 5 is used to control being communicated with of reseting port 23 of the reseting port 13 of described second universal input and output port 32 and the described first camera module 1 or the described second camera module 2.In other words, between the reseting port of the reseting port of second universal input and output port of primary processor and the first camera module and the second camera module, second control switch is set, control the mode of communicating of second control switch by processor, second control switch can be communicated with the reseting port of the first camera module, makes the circuit turn-on between second universal input and output port of the reseting port of the camera module of winning and primary processor; Or second control switch be communicated with the reseting port of the second camera module, make the reseting port of the second camera module be communicated with second universal input and output port of primary processor.Wherein, second control switch is similar to first control switch, and this second control switch also can be a single-pole double-throw switch (SPDT) by processor control.After the power control terminal mouth of certain camera module is set to operating state, processor can send this camera module of indication to second control switch by second universal input and output port and enter the signal of telecommunication of operating state, and second control switch just directly links to each other with the reseting port of this camera module after receiving this signal of telecommunication.
Present embodiment has been set up second control switch on the basis of a last embodiment, the reseting port of the reseting port of the first camera module and second camera all links to each other with second universal input and output port of primary processor by second control switch, and control circuit turn-on state between the reseting port of the reseting port of second universal input and output port and the first camera module or the second camera module by second control switch, therefore, the reseting port of two camera modules can a shared universal input and output port, thereby has reduced the quantity that takies universal input and output port.
Owing to may not know before the identification camera module whether two sensor model number designs in the camera module are identical, therefore also comprise in embodiments of the present invention: inner Integration Bus, this inside Integration Bus is connected between primary processor and the first camera module and the second camera module, promptly, by an inner Integration Bus with the primary processor and the first camera module, and primary processor links to each other with the second camera module, and the address of inner Integration Bus is used to distinguish the transducer in first camera and the second camera module.Because the corresponding different Integration Bus address, inside of the meeting of the transducer in the different camera modules utilizes inner Integration Bus address can distinguish out the interior transducer of different camera modules successively, thereby identifies different camera modules.
Need to prove, in the dual camera control system among the present invention, the first camera module and the second camera module are discerned, and can be processor, also can be the part of functions module of processor what the current potential of the power control terminal mouth of camera module was controlled.
With the dual camera control system that is arranged in the mobile phone is example, what in processor the potential state of the power control terminal mouth of the first camera module and the second camera module is controlled can be mobile phone Analog Baseband chip in the processor, also can be a part in the mobile phone Analog Baseband chip.Can realize that by the current potential that two camera modules in the mobile phone are set this module image induction chip links to each other with the power control terminal mouth to the control of the module image induction chip in the first camera module and the second camera module.
After the power control terminal mouth of certain camera module is set to operating state, mobile phone Analog Baseband chip in the processor can link to each other with the sign port of this camera module by first universal input and output port, thereby this Analog Baseband chip is discerned this camera module by first universal input and output port.
Further, this Analog Baseband chip also links to each other with the reseting port of this camera module by second universal input and output port.
The embodiment of the invention also provides a kind of electronic equipment of dual camera, and this electronic equipment is built-in with the as above described dual camera control system of embodiment.This electronic equipment can have the portable terminal of dual camera for mobile phone, PDA etc., also can have the electronic equipment of dual camera for other.
Device described above or system embodiment only are schematic, wherein said unit as the separating component explanation can or can not be physically to separate also, the parts that show as the unit can be or can not be physical locations also, promptly can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select wherein some or all of module to realize the purpose of present embodiment scheme according to the actual needs.Those of ordinary skills promptly can understand and implement under the situation of not paying creative work.
Control system based on the dual camera of the embodiment of the invention, the embodiment of the invention also provides a kind of control method of dual camera, referring to Fig. 4, be the schematic flow sheet of an embodiment of the control method of a kind of dual camera of the present invention, the method for present embodiment comprises:
Step S401: the camera module of selecting to need to start in the first camera module and the second camera module is as target camera module;
System with dual camera, as mobile phone etc., when using camera, generally can select one of them to operate at two cameras, therefore according to user's demand, primary processor is selected a camera module to be started in the first camera module and the second camera module, the camera module that this is to be started is as target camera module.Certainly, at primary processor in the first camera module and the second camera module before the select target camera, may receive user's selection instruction, primary processor receives this instruction, and the required camera module of selection user, as being the camera module of usefulness of taking pictures when the first camera module, when the user need take pictures, the user can send the instruction of selecting camera by the operations such as button of pressing in the dual camera system, primary processor can be according to user's the Instruction Selection first camera module as target camera module, and is the operating state current potential with the potential setting of the power control terminal mouth of the first camera module.
Step S402: with the potential setting of the power control terminal mouth of target camera module is the operating state current potential;
Primary processor is the current potential that the power control terminal mouth of the first camera module and the second camera module is set standby signal, so that set the first camera module or the second camera module enters operating state.For example, when the standby signal of setting the first camera module was operating state, the first camera module carried out operating state, and carried out operation such as initialization; The second camera module then was in and treated operating state this moment, and when the standby signal of setting the second camera module up to primary processor was operating state, the second camera module just entered operating state.
Selected target camera module in the first camera module and the second camera module after, primary processor just can be directly be made as the operating state current potential with the current potential of the standby signal of target camera module.
Step 403: first control switch is communicated with the sign port of described camera module, so that pass through first control switch with the circuit turn-on between the sign port of first universal input and output port and target camera module.
When the current potential of the standby signal of target camera module is the operating state current potential, primary processor can switch to first control switch state that is communicated with the sign port of target camera module, and the sign port of target camera module and the circuit between first control switch are in conducting state.Because an end of first control switch is communicated with first universal input and output port of primary processor all the time, therefore, can be by first control switch with the circuit turn-on between the sign port of first universal input and output port of primary processor and target camera module.
When first universal input and output port with after the sign port of target camera module is communicated with, primary processor just can read the identification information of the sign port of target camera module by first universal input and output port, and utilizes the identification information that reads that target camera module is discerned.In other words, read the identification information of the sign port of target camera module by first universal input and output port, and then can identify type information of this target camera module etc., as producer's model of this first camera module etc., and call the setup code of this first camera module correspondence, finish the initialization of the first camera module.
Need to prove that the operating state current potential of the standby signal of camera module can be for: the current potential of setting the power control terminal mouth is the operating state current potential during for low level; In the time of also can setting current potential when the power control terminal mouth for high level is the operating state current potential, and concrete certainly to set the operating state current potential be high level or low level, can select according to actual needs.
In order further to reduce universal input and output port quantity in the primary processor that the camera module takies, a universal input and output port of primary processor can be connected with the reseting port of the first camera module or the reseting port of the second camera module by another control switch, referring to Fig. 5, be the flow chart of steps of another embodiment of the control method of a kind of dual camera of the present invention, present embodiment may further comprise the steps:
Step S501: the camera module of selecting to need to start in the first camera module and the second camera module is as target camera module;
Step S502: with the potential setting of the power control terminal mouth of described target camera module is the operating state current potential;
Step S503: the reseting port of second control switch with target camera module is communicated with so that by described second control switch with the circuit turn-on between the reseting port of second universal input and output port and target camera module;
By second control switch with the circuit turn-on between the reseting port of second universal input and output port and target camera module after, primary processor starts the relevant hardware that resets of target camera by second universal input and output port, so that, finish initialization and prepare for carrying out the identification of camera module.
Step S504: first control switch is communicated with the sign port of described camera module, so that pass through first control switch with the circuit turn-on between the sign port of first universal input and output port and target camera module.
Further, because before the identification camera module, primary processor may not know whether two sensor model number designs in the camera module etc. are identical, after the potential setting with the power control terminal mouth of target camera module is the operating state current potential, also comprises:
Judge the sensor model number that address by internal integrate circuit bus whether can recognition objective camera module, if not, then the sign port of first control switch with target camera module is communicated with.This process concrete can for: when the current potential of the standby signal of the first camera module is the operating state current potential, whether judgement can discern the sensor model number of the first camera module by the address of internal integrate circuit bus, if not, then the sign port of first control switch with the first camera module is communicated with, comes the first camera module is discerned so that read the sign port status by the first usefulness input/output port;
When the current potential of the standby signal of the second camera module is the operating state current potential, whether judgement can discern the sensor model number of the first camera module by the internal integrate circuit bus address, if not, then the sign port of first control switch with the second camera module is communicated with, just reads the sign port status and come the second camera module is discerned by first universal input and output port.
Description by above method embodiment, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as read-only memory (ROM), random-access memory (ram), magnetic disc or CD.
In several embodiment that the application provided, should be understood that, disclosed system, apparatus and method not surpassing in the application's the spirit and scope, can realize in other way.Current embodiment is a kind of exemplary example, should be as restriction, and given particular content should in no way limit the application's purpose.For example, the division of described unit or subelement only is that a kind of logic function is divided, and during actual the realization other dividing mode can be arranged, and for example a plurality of unit or a plurality of subelement combine.In addition, a plurality of unit can or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.
In addition, institute's descriptive system, the schematic diagram of apparatus and method and different embodiment, in the scope that does not exceed the application, can with other system, module, technology or method in conjunction with or integrated.Another point, the shown or coupling each other discussed or directly to be coupled or to communicate to connect can be by some interfaces, the indirect coupling of device or unit or communicate to connect can be electrically, machinery or other form.
The above only is the specific embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. the control system of a dual camera is characterized in that, comprising: the first camera module, second camera module and the primary processor;
The power control terminal mouth of the power control terminal mouth of the described first camera module and the described second camera module all links to each other with described primary processor;
Described primary processor is used to control the current potential of the power control terminal mouth of the power control terminal mouth of the described first camera module and the described second camera module;
First universal input and output port of described primary processor links to each other with the sign port of the described first camera module or the sign port of the described second camera module by first control switch;
Described first control switch is used to control being communicated with of sign port of the sign port of described first universal input and output port and the described first camera module or the described second camera module.
2. system according to claim 1 is characterized in that, second universal input and output port of described primary processor links to each other with the reseting port of the described first camera module or the reseting port of the second camera module by second control switch;
Described second control switch is used to control described second universal input and output port and the reseting port of the described first camera module or being communicated with of described second universal input and output port.
3. system according to claim 1 and 2 is characterized in that, the operating state current potential that described primary processor is set the power control terminal mouth is a low level.
4. according to claim 1,2 or 3 described systems, it is characterized in that, also comprise: inner Integration Bus, described inner Integration Bus are connected between described primary processor and described first camera module and the described second camera module; The address of described inner Integration Bus is used to distinguish the sensor model number in first camera and the second camera module.
5. the electronic equipment with dual camera is characterized in that, described electronic equipment includes the control system of each described dual camera of claim 1 to 4.
6. the control method of a dual camera is characterized in that, comprising:
According to user's selection, in the first camera module and the second camera module, the camera module that needs are started is defined as target camera module;
With the potential setting of the power control terminal mouth of described target camera module is the operating state current potential;
The sign port of first control switch with described target camera module is communicated with, so as by described first control switch with the circuit turn-on between the sign port of first universal input and output port and described target camera module.
7. method according to claim 6 is characterized in that, described with described first control switch with after the sign port of described target camera module is communicated with, also comprise:
Read the identification information of described sign port by described first universal input and output port, utilize the identification information that reads that target camera module is discerned.
8. according to claim 6 or 7 described methods, it is characterized in that, the potential setting of the power control terminal mouth of described target camera module is the operating state current potential after, also comprise:
The reseting port of second control switch with described target camera module is communicated with, so as by described second control switch with the circuit turn-on between the reseting port of second universal input and output port and described target camera module.
9. according to claim 6,7 or 8 each described methods, it is characterized in that when the current potential of power control terminal mouth was low level, the current potential of power control terminal mouth was the operating state current potential.
10. according to each described method of claim 6 to 9, it is characterized in that, after the potential setting with the power control terminal mouth of described target camera module is the operating state current potential, also comprise:
Whether judgement can discern the sensor model number of described target camera module by the address of internal integrate circuit bus, if not, then the sign port of described first control switch with described target camera module is communicated with.
CN 201110236402 2011-08-17 2011-08-17 Method and system for controlling double cameras and electronic equipment with double cameras Active CN102263904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110236402 CN102263904B (en) 2011-08-17 2011-08-17 Method and system for controlling double cameras and electronic equipment with double cameras

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110236402 CN102263904B (en) 2011-08-17 2011-08-17 Method and system for controlling double cameras and electronic equipment with double cameras

Publications (2)

Publication Number Publication Date
CN102263904A true CN102263904A (en) 2011-11-30
CN102263904B CN102263904B (en) 2013-06-26

Family

ID=45010338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110236402 Active CN102263904B (en) 2011-08-17 2011-08-17 Method and system for controlling double cameras and electronic equipment with double cameras

Country Status (1)

Country Link
CN (1) CN102263904B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447827A (en) * 2011-12-15 2012-05-09 深圳桑菲消费通信有限公司 Camera module and application method thereof
CN102932599A (en) * 2012-11-09 2013-02-13 北京百纳威尔科技有限公司 Device and method to achieve camera function based on general purpose input/output (GPIO) stimulated data bus
CN103716597A (en) * 2013-12-07 2014-04-09 苏州斯普锐智能系统有限公司 Synchronous multiplexing system comprising single port and multiple imaging modules and synchronous multiplexing method
CN106464795A (en) * 2014-10-22 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Image generation method based on dual camera module and dual camera module
CN107005625A (en) * 2015-04-29 2017-08-01 华为技术有限公司 A kind of camera module
CN107222708A (en) * 2016-03-22 2017-09-29 杭州海康威视数字技术股份有限公司 A kind of front end separates the image-forming detecting system of video camera
CN107241541A (en) * 2017-07-31 2017-10-10 重庆三朵蜜生物技术有限公司 A kind of bicamera
CN107422819A (en) * 2017-07-12 2017-12-01 广东欧珀移动通信有限公司 A kind of method for reducing temperature rise, computer-readable recording medium, electronic equipment
CN108170211A (en) * 2017-12-27 2018-06-15 上海传英信息技术有限公司 Electric drive method and electric terminal on camera
CN108170481A (en) * 2017-12-27 2018-06-15 上海传英信息技术有限公司 Electric drive method and electric terminal on camera
CN109874010A (en) * 2019-02-26 2019-06-11 成都国科微电子有限公司 A kind of automatic testing method and system of camera module
CN110832841A (en) * 2018-04-26 2020-02-21 华为技术有限公司 Signal switching method and terminal
CN111787184A (en) * 2019-04-03 2020-10-16 恒景科技股份有限公司 Camera system
CN112118382A (en) * 2019-06-19 2020-12-22 深圳君正时代集成电路有限公司 System for controlling double-camera module through change-over switch
CN112118385A (en) * 2019-06-19 2020-12-22 深圳君正时代集成电路有限公司 System for controlling double cameras by single-camera controller
WO2021013113A1 (en) * 2019-07-23 2021-01-28 华为技术有限公司 Image capture display terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299847A (en) * 2008-06-25 2008-11-05 嘉兴闻泰通讯科技有限公司 Method for setting, controlling and switching forward and backward CCD camera of mobile terminal
CN201541285U (en) * 2009-10-19 2010-08-04 中兴通讯股份有限公司 Switching circuit for phone camera

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299847A (en) * 2008-06-25 2008-11-05 嘉兴闻泰通讯科技有限公司 Method for setting, controlling and switching forward and backward CCD camera of mobile terminal
CN201541285U (en) * 2009-10-19 2010-08-04 中兴通讯股份有限公司 Switching circuit for phone camera

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447827A (en) * 2011-12-15 2012-05-09 深圳桑菲消费通信有限公司 Camera module and application method thereof
CN102932599A (en) * 2012-11-09 2013-02-13 北京百纳威尔科技有限公司 Device and method to achieve camera function based on general purpose input/output (GPIO) stimulated data bus
CN103716597A (en) * 2013-12-07 2014-04-09 苏州斯普锐智能系统有限公司 Synchronous multiplexing system comprising single port and multiple imaging modules and synchronous multiplexing method
CN106464795A (en) * 2014-10-22 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Image generation method based on dual camera module and dual camera module
CN107005625A (en) * 2015-04-29 2017-08-01 华为技术有限公司 A kind of camera module
CN107005625B (en) * 2015-04-29 2020-04-14 华为技术有限公司 Camera module
CN107222708B (en) * 2016-03-22 2019-09-17 杭州海康威视数字技术股份有限公司 A kind of image-forming detecting system of front end separation video camera
CN107222708A (en) * 2016-03-22 2017-09-29 杭州海康威视数字技术股份有限公司 A kind of front end separates the image-forming detecting system of video camera
CN107422819A (en) * 2017-07-12 2017-12-01 广东欧珀移动通信有限公司 A kind of method for reducing temperature rise, computer-readable recording medium, electronic equipment
CN107241541A (en) * 2017-07-31 2017-10-10 重庆三朵蜜生物技术有限公司 A kind of bicamera
CN107241541B (en) * 2017-07-31 2020-04-07 重庆三朵蜜生物技术有限公司 Double-lens camera
CN108170211A (en) * 2017-12-27 2018-06-15 上海传英信息技术有限公司 Electric drive method and electric terminal on camera
CN108170481A (en) * 2017-12-27 2018-06-15 上海传英信息技术有限公司 Electric drive method and electric terminal on camera
CN108170481B (en) * 2017-12-27 2020-12-01 上海传英信息技术有限公司 Camera power-on driving method and electronic terminal
CN108170211B (en) * 2017-12-27 2021-04-06 上海传英信息技术有限公司 Camera power-on driving method and electronic terminal
CN110832841A (en) * 2018-04-26 2020-02-21 华为技术有限公司 Signal switching method and terminal
CN109874010A (en) * 2019-02-26 2019-06-11 成都国科微电子有限公司 A kind of automatic testing method and system of camera module
CN111787184A (en) * 2019-04-03 2020-10-16 恒景科技股份有限公司 Camera system
CN112118382A (en) * 2019-06-19 2020-12-22 深圳君正时代集成电路有限公司 System for controlling double-camera module through change-over switch
CN112118385A (en) * 2019-06-19 2020-12-22 深圳君正时代集成电路有限公司 System for controlling double cameras by single-camera controller
WO2021013113A1 (en) * 2019-07-23 2021-01-28 华为技术有限公司 Image capture display terminal
US11711627B2 (en) 2019-07-23 2023-07-25 Honor Device Co., Ltd. Image capture display terminal

Also Published As

Publication number Publication date
CN102263904B (en) 2013-06-26

Similar Documents

Publication Publication Date Title
CN102263904B (en) Method and system for controlling double cameras and electronic equipment with double cameras
CN106712179B (en) Method and device for realizing reverse charging
US7930463B2 (en) Information processing apparatus
JP6228716B2 (en) Interface circuit, state switching method and apparatus
EP3706007B1 (en) Electronic device having usb type-c interface, control method, and readable storage medium
CN105068958A (en) Switching control method and device
CN112269086A (en) Charging cable identification method and device, charging cable and readable storage medium
CN111246199B (en) Control method and device for camera test, terminal equipment and storage medium
CN107329520B (en) USB interface connection method, device and system of mobile terminal
CN111343683A (en) Network switching method, device, storage medium and terminal
CN106488429A (en) The processing method and processing device of client identification module SIM
CN105183274A (en) Switching control method and device
KR100651204B1 (en) System and Method for interfacing with external device in portable terminal
CN115567901A (en) Method, device, equipment and storage medium for operating user identity identification card
CN213399565U (en) Charging circuit and electronic device
CN111969686A (en) Mobile terminal for concurrent USB OTG and charging and implementation method
CN115687205A (en) Debugging module, terminal equipment, debugging method and device
CN106329256B (en) USB connecting line, operation method based on USB connecting line and mobile terminal
CN113938558B (en) Communication method, electronic device, and computer-readable storage medium
CN218996025U (en) Terminal equipment
CN109991866B (en) Electronic equipment and control method
EP4037127A1 (en) Charging method and device, terminal, and storage medium
CN103092306B (en) Messaging device and power-supply switching method
CN217932695U (en) Control device for working assembly and electronic equipment
CN103052168A (en) Method for establishing communication between interactive terminals and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20171027

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: Huawei terminal (Dongguan) Co.,Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: HUAWEI DEVICE Co.,Ltd.

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: HUAWEI DEVICE Co.,Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: Huawei terminal (Dongguan) Co.,Ltd.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20210420

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee before: HUAWEI DEVICE Co.,Ltd.

TR01 Transfer of patent right