CN108111730A - A kind of camera module, control method and mobile terminal - Google Patents

A kind of camera module, control method and mobile terminal Download PDF

Info

Publication number
CN108111730A
CN108111730A CN201711441761.0A CN201711441761A CN108111730A CN 108111730 A CN108111730 A CN 108111730A CN 201711441761 A CN201711441761 A CN 201711441761A CN 108111730 A CN108111730 A CN 108111730A
Authority
CN
China
Prior art keywords
camera
branch
processor
camera module
driving element
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
CN201711441761.0A
Other languages
Chinese (zh)
Other versions
CN108111730B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711441761.0A priority Critical patent/CN108111730B/en
Publication of CN108111730A publication Critical patent/CN108111730A/en
Application granted granted Critical
Publication of CN108111730B publication Critical patent/CN108111730B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • 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
    • 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/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details

Abstract

The invention discloses a kind of camera module, control method and mobile terminal, camera module includes:Camera;Driving element connects the camera, for the camera to be driven to move;Detection components, the breakover element including multiple branches in open circuit and the connection camera, the breakover element are used to that the camera to be followed to move and turn on the branch one by one;Processor is electrically connected the detection components, and the position of the camera is determined for the conducting state that the branch is obtained in the camera and according to the conducting state of the branch.By the way that camera is connected with breakover element so that breakover element can follow camera to move;Subsequently, mobile breakover element can pass through each branch in detection components and turn on some branch.Therefore, the position of breakover element is just can determine that according to the conducting state of branch, and then determines the position of camera, just whether the clear and definite camera of energy moves normally in position at different moments with reference to camera.

Description

A kind of camera module, control method and mobile terminal
Technical field
The present invention relates to a kind of field of terminal more particularly to camera module, control method and mobile terminals.
Background technology
Nowadays, a kind of adjustable mobile terminal of camera position is more popularized.User when using this kind of mobile terminal, Camera can be controlled to be stretched out out of terminal shell, the needs of to meet self-timer or Video chat, camera can also be controlled to receive It is back in terminal shell, to prevent camera by clashing and breaking.
However, current mobile terminal during camera position is adjusted, can not specify the real position of camera, It is even more impossible to determine whether camera remains able to normal movement according to its change in location, such as have on the stretching direction of camera When having obstacle, when mobile terminal driving camera stretches out, camera collides obstacle and then will not continue to stretch out, mobile terminal If driving camera is still forced to stretch out, damage camera is easy to, and then causes camera function can not normal use.
The content of the invention
The embodiment of the present invention provides a kind of camera module, control method and mobile terminal, is existed with solving current mobile terminal When adjusting camera position, the problem of can not accurately knowing camera position.
In order to solve the above-mentioned technical problem, the present invention is realized in:
In a first aspect, a kind of camera module is provided, including:
Camera;
Driving element connects the camera, for the camera to be driven to move;
Detection components, the breakover element including multiple branches in open circuit and the connection camera, the conducting member Part is used to that the camera to be followed to move and turns on the branch one by one;
Processor is electrically connected the detection components, for obtaining the conducting state of the branch in the camera simultaneously The position of the camera is determined according to the conducting state of the branch.
Second aspect provides a kind of control method of camera module, including:
The processor obtains the conducting state of branch in the detection components;
The processor determines the position of the camera according to the conducting state of the branch.
The third aspect provides a kind of mobile terminal, which can include the camera shooting described in foregoing summary Head mould group.
In embodiments of the present invention, by the way that camera is connected with breakover element so that breakover element can follow camera shooting Head is mobile;Subsequently, mobile breakover element can pass through each branch in detection components and turn on some branch.Therefore, according to branch The conducting state on road just can determine that the position of breakover element, and then determine the position of camera, with reference to camera at different moments Position just can clear and definite camera whether move normally.
Description of the drawings
Attached drawing described herein is used for providing a further understanding of the present invention, forms the part of the present invention, this hair Bright schematic description and description does not constitute improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the block schematic illustration of one embodiment of the invention mobile terminal.
Fig. 2 is the flow diagram of the control method of camera module in one embodiment of the invention.
Fig. 3 is the flow diagram of the control method of camera module in another embodiment of the present invention.
Fig. 4 is the hardware architecture diagram of one embodiment of the invention mobile terminal.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, belongs to the scope of protection of the invention.
Fig. 1 is the structure diagram of one embodiment of the invention mobile terminal.Join shown in Fig. 1, mobile terminal 100 can be Such as the terminal of smart mobile phone, tablet computer, mobile terminal 100 include housing 10 and installation to the camera module of housing 10 20.Certainly, mobile terminal 100 will also include multiple members such as display screen, processor, memory, wireless communication module, battery Part, display screen are installed on housing 10 and can be with display content, the members such as processor, memory, wireless communication module and battery Part is contained in housing 10, the operation principle and connection relation of these devices, the skill being well known to the skilled person Art does not make expansion description herein.
In embodiments of the present invention, camera module 20 can include camera 21, driving element 22, detection components 23 and Processor 24.Driving element 22, detection components 23 and processor 24 can be installed to housing 10, and housing 10 offers confession Camera 21 by through hole (not shown), camera 21 can be reached controllably by through hole outside housing 10, can also It is recovered within housing 10.
Camera 21 can be the front camera on mobile terminal 100, after can also be certainly on mobile terminal 100 Put camera or preposition and rear camera universal camera shooting head.
Driving element 22 connects camera 21 and camera 21 can be driven to move, for example, camera 21 can drive It under the action of element 22, moves linearly, even straight reciprocating.
Optionally, as an example, camera module 20 further includes pedestal 25 and is slidably installed to the substrate of pedestal 25 26, pedestal 25 can be fixedly installed in the housing 10 of mobile terminal.Substrate 26 can be by drive mechanisms such as slides in pedestal It is slided on 25.As another example, driving motor or other power output devices, driving element may be employed in driving element 22 22 can be connected by gear transmission structure with substrate 26, and the output power of driving element 22 is transferred to substrate 26, and then Substrate 26 is driven to be slided on pedestal 25.According to the output state of driving element 22, substrate 26 can do straight line on pedestal 25 It moves back and forth.In embodiments of the present invention, camera 21 is installed to substrate 26, past substrate 26 to be followed to do straight line on pedestal 25 Multiple movement.
Detection components 23 include breakover element 231 and multiple branches 232 in open circuit, and branch 232 can be independent A part in circuit or some circuit.Breakover element 231 is connected with camera 21 and camera 21 can be followed to move Dynamic, in the moving process of breakover element 231, breakover element 231 can turn on each branch 232 one by one.Due to the position of branch 232 Put what is be to determine, breakover element 231 is to follow camera 21 synchronization-moving, and the conducting state of this multiple branch 232 can be anti- Mirror the position of camera 21.
In practical applications, the housing 10 of mobile terminal 100 includes battery cover, this battery cover is usually housing 10 and electricity The region of pond contact, common can be the rear cover of housing 10.Branch 232 can be installed to the inner wall of battery cover.
Optionally, as an example, this multiple branch 232 can be arranged on same straight line, and these branches Interval between 232 is equal, and breakover element 231, at a certain distance can be with when camera 21 is followed to move linearly One branch 232 is electrically connected, and realizes the mobile route of camera 21 being divided into equidistant multiple location points, these location points It is corresponding with branch 232, based on this correspondence, can quickly determines the position of camera 21.
Optionally, as another example, can also be connected between breakover element 231 and camera 21 by arm 233, So that the mobile route of breakover element 231 and the mobile route of camera 21 are separated by a distance, two path upper-parts are avoided It interferes.For example, can install arm 233 to substrate 26, realization is indirectly connected with camera 21 and synchronous movement.
Optionally, as another example, camera 21 is also associated with flexible PCB 27, camera module 20 install to During mobile terminal, flexible PCB 27 can be by the processor of the data sending of camera 21 to mobile terminal, can also be from Receive the control instructions such as the enabled instruction for camera 21, pattern switching instruction in the processor of mobile terminal.Wherein, it is flexible Circuit board 27 includes insulating materials and the wire rod for being used for transmission data on insulating materials, and breakover element 231 can be with Be arranged on the insulating materials of flexible PCB and with wire rod mutually insulated.Since 27 one end of flexible PCB is solid by pedestal 25 It is scheduled in mobile terminal, when camera 21 moves, flexible PCB can be driven to generate deformation, be now placed on flexible PCB Breakover element 231 can be subjected to displacement according to this deformation, to turn on each branch 232 one by one.
Optionally, as further example, each branch 232 has a breaking area 2322, breaking area 2322 can be two that This separated electrical contact, breakover element 231 can be moved to each breaking area 2322 and electrically be touched with two of breaking area 2322 Point connection, by this breaking area, 2322 place branch 232 turns on.When breakover element 231 departs from from breaking area 2322, open circuit Area 2322 will recover to disconnect again.
Optionally, as another example, the breaking area 2322 of each branch 232 is arranged in same straight line, and adjacent branch The distance between the breaking area 2322 of road is equal.Breakover element 231 is when following camera 21 to move linearly, every certain Distance can connect the breaking area 2322 of a branch 232, realize and be divided into the mobile route of camera 21 at equal intervals Multiple location points, these location points are corresponding with branch 232, based on this correspondence, can quickly determine camera 21 position.
Processor 24 is electrically connected detection components 23, and processor 24 can obtain leading for each branch 232 from detection components 23 Logical state, since breakover element 231 is to follow camera 21 synchronization-moving, the conducting state of this multiple branch 232 can be anti- The position of camera 21 is mirrored, processor 24 can determine the position of camera 21 according to the branch 232 of conducting.
In embodiments of the present invention, processor 24 is also electrically connected driving element 22, according to the position of the camera Put the output state that variable quantity adjusts the driving element so that the movement of camera 21 is more controllable, accuracy higher.
Optionally, as an example, each branch 232 can be independent circuits or parallel with one another, have branch resistance 2321, the prevention of the branch resistance 2321 in different branch 232 is different, can basis when some branch 232 is switched on Which branch what resistance value determined conducting on the branch 232 is on earth, so that it is determined that going out the position of camera 21.
Optionally, can also be corresponding with the mobile route of camera by the arrangement of branch 232 as another example, When camera is located at fully retracted position, any one branch 232 is not turned on, camera moves a certain distance, and breakover element is just Another branch 232 can be moved to from a branch 232.With the movement of camera, record branch 232 number switched on, Can then it determine camera moves how many distance.
Optionally, as another example, each branch 232 is in parallel, and detection components 23 further include and multiple branches 232 The main road 234 of series connection, has the main road resistance 2341 of series connection and power supply 2342 on main road 234, and the electric connection of processor 24 is located at Some node between main road resistance 2341 and power supply 2342 on main road 234, when different branch 232 is switched on, the electricity in circuit Resistance can also change, and this variation can be reacted on the voltage of node, and processor 24 can be according to the voltage of the node collected, really Fixed which branch 232 on earth is switched on, and then determines the position of camera 21.
To sum up, in embodiments of the present invention, by by camera and breakover element synchronizing moving, being turned on using breakover element In the branch of off state, and then the current location of camera can be determined according to the branch turned on, whether specify camera Whether movement is normal and accommodate or stretch out completely.
Fig. 2 is the flow diagram of the control method of camera module in one embodiment of the invention, which fits Camera module is that camera module, this method may include steps of in mobile terminal described in Fig. 1.
S101, the processor obtain the conducting state of branch in the detection components.
Camera can drive breakover element to turn on each branch one by one in moving process.Processor is electrical with detection components Connection can obtain the conducting state of branch from detection components.It is independent circuits and each with each branch in detection components Exemplified by the resistance value difference of road branch resistance, processor can determine specific according to the resistance value of conducting branches in detection components Which branch is switched on.
S102, the processor determine the position of the camera according to the conducting state of the branch.
In embodiments of the present invention, mapping table can be established in the position of the position of each branch and camera.For example, it will take the photograph When being withdrawn completely as head, the position that camera is withdrawn completely is associated with the branch turned at this time, then for example by camera When fully extended, the fully extended position of camera is associated with the branch turned at this time.Subsequently, the branch of conducting is being determined Lu Shi can inquire about mapping table, and then determine position corresponding with conducting branches, using the location point as the position of camera It puts.
To sum up, in embodiments of the present invention, by the way that camera is connected with breakover element so that breakover element can follow Camera moves;Subsequently, mobile breakover element can pass through each branch in detection components and turn on some branch.Therefore, root The position of breakover element is just can determine that according to the conducting state of branch, and then determines the position of camera, with reference to camera in difference Just whether the clear and definite camera of energy moves normally for the position at moment.
Fig. 3 is the flow diagram of the control method of camera module in another embodiment of the present invention, the control method institute Applicable camera module is that camera module, this method may include steps of in mobile terminal described in Fig. 1.
S201, the processor obtain the conducting state of branch in the detection components.
S202, the processor determine the position of the camera according to the conducting state of the branch.
Wherein, S201 to S202 may be referred to the related content of S101 to S102 in previous embodiment, not make to be unfolded herein Description.
S203, the processor determine the current movement side of the camera according to the variable quantity of the position of the camera To.
Processor can in periodical acquisition testing component each branch conducting state, to determine the position of camera.Reason By upper theory, with the movement of camera, processor can obtain the different position of camera.When processor can be by comparing different The position of accessed camera is carved, determines the current moving direction of camera.
S204, the processor are according to the current moving direction of the camera and the comparison result of target direction, adjustment The output state of the driving element.
Target direction drives the direction of the camera movement for the driving element, such as can stretch out direction or receipts Go back to direction.The current moving direction of camera with target direction is compared, different control plans can be chosen according to comparison result Slightly, the output state of driving element is adjusted further according to selected control strategy.
Optionally, as an example, above-mentioned control strategy can include:When the current movement for detecting the camera When direction is differed with target direction and the target direction is stretches out direction, the processor controls the driving element to drive The camera is moved according to withdrawal direction movement.In this scenario, generally there is obstacle in front of camera, if after It is continuous to stretch out, then camera can be caused to be damaged, at this point, control camera is withdrawn, the purpose of protection camera can be played.
Optionally, as another example, in above-mentioned control strategy, the current moving direction of the camera is detected Differed with target direction and the step of the target direction is stretches out direction after, the processor control driving member Before part drives step of the camera according to withdrawal direction movement, can also obstacle be determined by following sub-step Whether remove, and then determine whether camera can continue to stretch out:First, control the driving element that the camera is driven to press It is moved according to the direction identical with the target direction;Then, the moving direction of the camera is still detected after preset duration When being differed with the target direction, the processor, which performs, controls the driving element to drive the camera according to the receipts Return direction movement.By the exploratory stretching of preset duration, if the obstacle in front of camera, camera is removed in user Current moving direction should be able to be identical with target direction, if still different, show that the obstacle in front of camera also exists, The mode for withdrawing camera can be taken to protect camera at this time.
Optionally, as another example, above-mentioned control strategy can include:When detect the camera when Forward When dynamic direction is differed with target direction and the target direction is withdraws direction, the processor controls the driving element Stop driving the camera.In this scenario, may occur failure due to camera inner drive element or camera moves Occur blocking on dynamic path or foreign matter, camera caused not withdraw normally, if being to continue with withdrawing, can destroy camera or Other parts in camera module is caused to be damaged, camera stop motion is controlled at this time to prevent failure from further expanding, uses Family can further repair mobile terminal to solve failure.
Optionally, as further example, detect the current moving direction of the camera and target direction differ, And after the target direction is the step of withdrawal direction, the processor controls the driving element to stop driving the camera shooting Before the step of head, it can also determine whether camera can continue to withdraw by following sub-step:First, the driving is controlled Element drives the camera to be moved according to the direction identical with the target direction;Then, still detected after preset duration When the moving direction of the camera is differed with the target direction, the processor controls the driving element to stop driving The camera.By the exploratory withdrawal of preset duration, if the foreign matter on camera mobile route is removed or driving element Recover normal, the current moving direction of camera should be able to be identical with target direction, if still different, shows camera Still it can not continue to withdraw, can take stop the mode of camera movement to protect inside camera and mobile terminal at this time Component.
To sum up, in embodiments of the present invention, by the way that camera is connected with breakover element so that breakover element can follow Camera moves;Subsequently, mobile breakover element can pass through each branch in detection components and turn on some branch.Therefore, root The position of breakover element is just can determine that according to the conducting state of branch, and then determines the position of camera, with reference to camera in difference Just whether the clear and definite camera of energy moves normally for the position at moment.
A kind of hardware architecture diagram of Fig. 4 mobile terminals of each embodiment to realize the present invention, the mobile terminal 300 Including but not limited to:It is radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, aobvious Show the components such as unit 306, user input unit 307, interface unit 308, memory 309, processor 310 and power supply 311. It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 4 does not form the restriction to mobile terminal, it is mobile whole End can include either combining some components or different components arrangement than illustrating more or fewer components.In the present invention In embodiment, mobile terminal includes but not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can wear Wear equipment and pedometer etc..
The processor 309 is used for:
Obtain the conducting state of branch in the detection components;
According to the conducting state of the branch, the position of the camera is determined.
To sum up, in embodiments of the present invention, by the way that camera is connected with breakover element so that breakover element can follow Camera moves;Subsequently, mobile breakover element can pass through each branch in detection components and turn on some branch.Therefore, root The position of breakover element is just can determine that according to the conducting state of branch, and then determines the position of camera, with reference to camera in difference Just whether the clear and definite camera of energy moves normally for the position at moment.
It should be understood that in the embodiment of the present invention, radio frequency unit 301 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, handled to processor 310;In addition, by uplink Data sending is to base station.In general, radio frequency unit 301 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 301 can also by wireless communication system and network and other set Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 302 and has accessed, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 303 can be receiving by radio frequency unit 301 or network module 302 or in memory 309 The voice data of storage is converted into audio signal and exports as sound.Moreover, audio output unit 303 can also be provided and moved The relevant audio output of specific function that dynamic terminal 300 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 303 includes loud speaker, buzzer and receiver etc..
Input unit 304 is used to receive audio or video signal.Input unit 304 can include graphics processor (Graphics Processing Unit, GPU) 3041 and microphone 3042, graphics processor 3041 is in video acquisition mode Or the static images or the image data of video obtained in image capture mode by image capture apparatus (such as camera) carry out Reason.Treated, and picture frame may be displayed on display unit 306.Through graphics processor 3041, treated that picture frame can be deposited Storage is sent in memory 309 (or other storage mediums) or via radio frequency unit 301 or network module 302.Mike Wind 3042 can receive sound, and can be voice data by such acoustic processing.Treated voice data can be The form output of mobile communication base station can be sent to via radio frequency unit 301 by being converted in the case of telephone calling model.
Mobile terminal 300 further includes at least one sensor 305, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 3061, and proximity sensor can close when mobile terminal 300 is moved in one's ear Display panel 3061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 305 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, details are not described herein.
Display unit 306 is used to show by information input by user or be supplied to the information of user.Display unit 306 can wrap Display panel 3061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be employed Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 3061.
User input unit 307 can be used for the number for receiving input or character information and generation and the use of mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 307 include touch panel 3071 and Other input equipments 3072.Touch panel 3071, also referred to as touch-screen, collect user on it or neighbouring touch operation (for example user uses any suitable objects such as finger, stylus or attachment on touch panel 3071 or in touch panel 3071 Neighbouring operation).Touch panel 3071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 310, receiving area It manages the order that device 310 is sent and is performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch panel 3071.Except touch panel 3071, user input unit 307 can also include other input equipments 3072.Specifically, other input equipments 3072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operation lever, details are not described herein.
Further, touch panel 3071 can be covered on display panel 3061, when touch panel 3071 is detected at it On or near touch operation after, send to processor 310 with determine touch event type, be followed by subsequent processing device 310 according to touch The type for touching event provides corresponding visual output on display panel 3061.Although in Fig. 4, touch panel 3071 and display Panel 3061 is the component independent as two to realize the function that outputs and inputs of mobile terminal, but in some embodiments In, can be integrated by touch panel 3071 and display panel 3061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place does not limit.
Interface unit 308 is the interface that external device (ED) is connected with mobile terminal 300.For example, external device (ED) can include Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 308 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 300 can be used in 300 He of mobile terminal Data are transmitted between external device (ED).
Memory 309 can be used for storage software program and various data.Memory 309 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 309 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 310 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part is stored in storage by running or performing the software program being stored in memory 309 and/or module and call Data in device 309 perform the various functions of mobile terminal and processing data, so as to carry out integral monitoring to mobile terminal.Place Reason device 310 may include one or more processing units;Preferably, processor 310 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, the main processing operation system of application processor, user interface and application program etc., modem processor is main Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 310.
Mobile terminal 300 can also be included to the power supply 311 (such as battery) of all parts power supply, it is preferred that power supply 311 Can be logically contiguous by power-supply management system and processor 310, so as to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 300 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, and including processor 310, memory 309 is stored in On memory 309 and the computer program that can be run on the processor 310, the computer program are performed by processor 310 Each process of the control method embodiment of the above-mentioned camera modules of Shi Shixian, and identical technique effect can be reached, to avoid weight Multiple, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each mistake of the control method embodiment of above-mentioned camera module when being executed by processor Journey, and identical technique effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those elements, and And it further includes other elements that are not explicitly listed or further includes as this process, method, article or device institute inherently Element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that including Also there are other identical elements in the process of the element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services Device, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much Form is belonged within the protection of the present invention.

Claims (15)

1. a kind of camera module, which is characterized in that including:
Camera;
Driving element connects the camera, for the camera to be driven to move;
Detection components, the breakover element including multiple branches in open circuit and the connection camera, the breakover element are used In the camera is followed to move and turns on the branch one by one;
Processor is electrically connected the detection components, for obtaining the conducting state and basis of the branch in the camera The conducting state of the branch determines the position of the camera.
2. camera module as described in claim 1, which is characterized in that the branch includes branch resistance, each branch road branch The resistance value of resistance is different.
3. camera module as claimed in claim 2, which is characterized in that the multiple branch circuit parallel connection is set, the detection components The main road connected with the multiple branch is further included, the main road is provided with the main road resistance and power supply of series connection, the processor It is electrically connected node between the power supply and main road resistance and passes through the voltage of the node and determine the branch Conducting state.
4. camera module as described in claim 1, which is characterized in that the branch includes breaking area;The breakover element with It is moved with the camera and is moved to the breaking area one by one and turns on corresponding branch.
5. camera module as claimed in claim 4, which is characterized in that the camera module, which further includes, is electrically connected the camera shooting The flexible PCB of head, the conductor insulation are arranged at the flexible PCB.
6. the camera module as any one of claim 1 to 5, which is characterized in that the camera module is applied to movement Terminal, the mobile terminal include battery cover, and the multiple branch is located at the inner wall of the battery cover.
7. the camera module as any one of claim 1 to 5, which is characterized in that the camera module further includes pedestal And the substrate on the pedestal is slidably mounted on, the camera is installed to the substrate;The substrate and the driving member Part is connected and moved in a straight line under driving element driving.
8. the camera module as any one of claim 1 to 5, which is characterized in that described in the processor is electrically connected Driving element, for adjusting the output state of the driving element according to the location variation of the camera.
9. a kind of control method based on camera module described in any item of the claim 1 to 8, which is characterized in that including:
The processor obtains the conducting state of branch in the detection components;
The processor determines the position of the camera according to the conducting state of the branch.
10. method as claimed in claim 9, which is characterized in that the processor is determined according to the conducting state of the branch After the position of the camera, the method further includes:
The processor determines the current moving direction of the camera according to the variable quantity of the position of the camera;
The processor adjusts the driving member according to the current moving direction of the camera and the comparison result of target direction The output state of part, the target direction drive the direction of the camera movement for the driving element.
11. method as claimed in claim 10, which is characterized in that the target direction includes following any:Stretch out direction With withdrawal direction;The stretching direction reaches the direction outside the camera module, the withdrawal direction for the camera The direction within the camera module is recovered to for the camera;
The processor adjusts the driving member according to the current moving direction of the camera and the comparison result of target direction The step of output state of part, including:
When detecting that the current moving direction of the camera is differed with target direction and the target direction is stretches out direction When, the processor controls the driving element to drive the camera according to withdrawal direction movement;
When detecting that the current moving direction of the camera is differed with target direction and the target direction is withdraws direction When, the processor controls the driving element to stop driving the camera.
12. method as claimed in claim 11, which is characterized in that the current moving direction for detecting the camera with After the step of target direction differs and the target direction is stretches out direction, the processor controls the driving element Before driving step of the camera according to withdrawal direction movement, the method further includes:
The processor controls the driving element that the camera is driven to be moved according to the direction identical with the target direction;
After preset duration, when the processor detects that the moving direction of the camera and the target direction differ, The processor performs the step that the driving element is controlled to drive the camera according to withdrawal direction movement.
13. method as claimed in claim 11, which is characterized in that the current moving direction for detecting the camera with After the step of target direction differs and the target direction is withdraws direction, the processor controls the driving element Before the step of stopping driving the camera, the method further includes:
The processor controls the driving element that the camera is driven to be moved according to the direction identical with the target direction;
After preset duration, when the processor detects that the moving direction of the camera and the target direction differ, The processor performs the step of driving element is controlled to stop driving the camera.
14. the method as any one of claim 9 to 13, which is characterized in that the processor is according to the branch The step of conducting state, the position for determining the camera, includes:
The processor inquires about default mapping table, determines the corresponding position of branch with being turned on, and the mapping table includes The multiple branch and position corresponding with each branch;
The processor is using corresponding position as the position of the camera.
15. a kind of mobile terminal, which is characterized in that including:Camera module any one of preceding claims 1 to 8.
CN201711441761.0A 2017-12-25 2017-12-25 Camera module, control method and mobile terminal Active CN108111730B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711441761.0A CN108111730B (en) 2017-12-25 2017-12-25 Camera module, control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711441761.0A CN108111730B (en) 2017-12-25 2017-12-25 Camera module, control method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108111730A true CN108111730A (en) 2018-06-01
CN108111730B CN108111730B (en) 2020-01-07

Family

ID=62213552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711441761.0A Active CN108111730B (en) 2017-12-25 2017-12-25 Camera module, control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108111730B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833621A (en) * 2018-06-06 2018-11-16 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and its control method
CN108989491A (en) * 2018-06-08 2018-12-11 Oppo广东移动通信有限公司 Electronic device, method for control speed and Related product
CN109120841A (en) * 2018-06-12 2019-01-01 Oppo广东移动通信有限公司 Camera control method, device, mobile terminal and storage medium
CN109547601A (en) * 2018-12-27 2019-03-29 维沃移动通信有限公司 A kind of stroke detecting method of terminal device and flexible camera
CN110086907A (en) * 2019-04-17 2019-08-02 广东长盈精密技术有限公司 Center component and terminal device
CN110113455A (en) * 2019-04-29 2019-08-09 华为技术有限公司 Position detecting mechanism, mobile terminal and method for detecting position
CN110221657A (en) * 2019-06-06 2019-09-10 Oppo(重庆)智能科技有限公司 Drive control method, apparatus, terminal and computer readable storage medium
CN111770251A (en) * 2020-06-05 2020-10-13 维沃移动通信有限公司 Electronic device
CN112153368A (en) * 2019-06-28 2020-12-29 北京小米移动软件有限公司 Electronic equipment and detection method of camera module
CN112351186A (en) * 2019-08-09 2021-02-09 北京小米移动软件有限公司 Lifting camera control method, terminal with lifting camera and terminal equipment
CN112422781A (en) * 2019-08-23 2021-02-26 北京小米移动软件有限公司 Lifting camera module, electronic equipment and detection method of lifting camera module
US11044391B2 (en) 2018-12-10 2021-06-22 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Electronic device having sliding mechanism
CN113727020A (en) * 2021-07-28 2021-11-30 北京瞰瞰智能科技有限公司 Intelligent lifting processing method and device and electronic equipment
US11606872B2 (en) 2019-02-28 2023-03-14 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Electronic device having rotating member being rotatable along predetermined trajectory
US11703908B2 (en) 2018-12-10 2023-07-18 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Electronic device having sliding mechanism

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5907725A (en) * 1996-01-26 1999-05-25 Asahi Kogaku Kogyo Kabushiki Kaisha Electronically controlled camera
CN101266387A (en) * 2007-03-15 2008-09-17 上海乐金广电电子有限公司 Small-sized pick-up head module displacement sensor
CN101266388A (en) * 2007-03-15 2008-09-17 上海乐金广电电子有限公司 Minisize pick-up head module displacement sensor
CN202088984U (en) * 2011-05-31 2011-12-28 伟速达(中国)汽车安全系统有限公司 Automobile rear-view camera control device
CN202088981U (en) * 2011-05-31 2011-12-28 伟速达(中国)汽车安全系统有限公司 Automobile rearview camera device controller
CN204965401U (en) * 2015-10-14 2016-01-13 宁波萨瑞通讯有限公司 Convenient switching collection system of cell -phone camera

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5907725A (en) * 1996-01-26 1999-05-25 Asahi Kogaku Kogyo Kabushiki Kaisha Electronically controlled camera
CN101266387A (en) * 2007-03-15 2008-09-17 上海乐金广电电子有限公司 Small-sized pick-up head module displacement sensor
CN101266388A (en) * 2007-03-15 2008-09-17 上海乐金广电电子有限公司 Minisize pick-up head module displacement sensor
CN202088984U (en) * 2011-05-31 2011-12-28 伟速达(中国)汽车安全系统有限公司 Automobile rear-view camera control device
CN202088981U (en) * 2011-05-31 2011-12-28 伟速达(中国)汽车安全系统有限公司 Automobile rearview camera device controller
CN204965401U (en) * 2015-10-14 2016-01-13 宁波萨瑞通讯有限公司 Convenient switching collection system of cell -phone camera

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833621A (en) * 2018-06-06 2018-11-16 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and its control method
CN108989491A (en) * 2018-06-08 2018-12-11 Oppo广东移动通信有限公司 Electronic device, method for control speed and Related product
CN108989491B (en) * 2018-06-08 2020-06-09 Oppo广东移动通信有限公司 Electronic device, speed control method and related product
CN109120841A (en) * 2018-06-12 2019-01-01 Oppo广东移动通信有限公司 Camera control method, device, mobile terminal and storage medium
CN109120841B (en) * 2018-06-12 2020-02-18 Oppo广东移动通信有限公司 Camera control method and device, mobile terminal and storage medium
US11703908B2 (en) 2018-12-10 2023-07-18 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Electronic device having sliding mechanism
US11044391B2 (en) 2018-12-10 2021-06-22 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Electronic device having sliding mechanism
CN109547601A (en) * 2018-12-27 2019-03-29 维沃移动通信有限公司 A kind of stroke detecting method of terminal device and flexible camera
US11606872B2 (en) 2019-02-28 2023-03-14 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Electronic device having rotating member being rotatable along predetermined trajectory
CN110086907A (en) * 2019-04-17 2019-08-02 广东长盈精密技术有限公司 Center component and terminal device
CN110113455A (en) * 2019-04-29 2019-08-09 华为技术有限公司 Position detecting mechanism, mobile terminal and method for detecting position
CN110221657B (en) * 2019-06-06 2020-09-01 Oppo(重庆)智能科技有限公司 Drive control method, device, terminal and computer readable storage medium
CN110221657A (en) * 2019-06-06 2019-09-10 Oppo(重庆)智能科技有限公司 Drive control method, apparatus, terminal and computer readable storage medium
CN112153368A (en) * 2019-06-28 2020-12-29 北京小米移动软件有限公司 Electronic equipment and detection method of camera module
CN112351186A (en) * 2019-08-09 2021-02-09 北京小米移动软件有限公司 Lifting camera control method, terminal with lifting camera and terminal equipment
CN112351186B (en) * 2019-08-09 2022-04-08 北京小米移动软件有限公司 Lifting camera control method, terminal with lifting camera and terminal equipment
CN112422781A (en) * 2019-08-23 2021-02-26 北京小米移动软件有限公司 Lifting camera module, electronic equipment and detection method of lifting camera module
CN111770251A (en) * 2020-06-05 2020-10-13 维沃移动通信有限公司 Electronic device
CN111770251B (en) * 2020-06-05 2022-01-28 维沃移动通信有限公司 Electronic device
CN113727020A (en) * 2021-07-28 2021-11-30 北京瞰瞰智能科技有限公司 Intelligent lifting processing method and device and electronic equipment
CN113727020B (en) * 2021-07-28 2023-08-08 北京瞰瞰智能科技有限公司 Lifting intelligent processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN108111730B (en) 2020-01-07

Similar Documents

Publication Publication Date Title
CN108111730A (en) A kind of camera module, control method and mobile terminal
CN108173993A (en) A kind of camera module, control method and mobile terminal
CN108668083A (en) A kind of photographic method and terminal
CN108111729B (en) A kind of camera module, control method and mobile terminal
CN107888728A (en) A kind of mobile terminal and the image pickup method based on the mobile terminal
CN108919883A (en) A kind of camera head protecting method and mobile terminal
CN108628521A (en) A kind of screen operating method and mobile terminal
CN108459815A (en) A kind of display control method and mobile terminal
CN109194899A (en) A kind of method and terminal of audio-visual synchronization
CN108196815A (en) A kind of adjusting method and mobile terminal of sound of conversing
CN109145731A (en) A kind of fingerprint identification method, device and mobile terminal
CN110209313A (en) Icon moving method and terminal device
CN108898555A (en) A kind of image processing method and terminal device
CN109558046A (en) A kind of information display method and terminal device
CN109743503A (en) Reminding method and terminal
CN109144393A (en) A kind of image display method and mobile terminal
CN109819166A (en) A kind of image processing method and electronic equipment
CN109639861A (en) A kind of cut-in method of matching network, system and mobile terminal
CN109859637A (en) A kind of electronic equipment and its control method
CN109033912A (en) A kind of recognition methods of identification code and mobile terminal
CN108984066A (en) A kind of application icon display methods and mobile terminal
CN109388223A (en) One kind putting out screen display method, apparatus and terminal
CN109192153A (en) A kind of terminal and terminal control method
CN109443261A (en) The acquisition methods and mobile terminal of Folding screen mobile terminal folding angles
CN109745699A (en) A kind of method and terminal device responding touch control operation

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