[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN109873949A - A kind of camera control system, camera control method and mobile terminal - Google Patents

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

Info

Publication number
CN109873949A
CN109873949A CN201910101429.2A CN201910101429A CN109873949A CN 109873949 A CN109873949 A CN 109873949A CN 201910101429 A CN201910101429 A CN 201910101429A CN 109873949 A CN109873949 A CN 109873949A
Authority
CN
China
Prior art keywords
ccd camera
camera assembly
mobile terminal
magnetic field
hall sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910101429.2A
Other languages
Chinese (zh)
Inventor
陈凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910101429.2A priority Critical patent/CN109873949A/en
Publication of CN109873949A publication Critical patent/CN109873949A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The embodiment of the invention provides a kind of camera control system, camera control method and mobile terminals, are related to field of communication technology.The camera control system includes: processor, CCD camera assembly, driving structure, Hall sensor and magnetic texure;Wherein, the driving structure is connect with the CCD camera assembly respectively, and the CCD camera assembly is driven to move along preset direction;The magnetic texure is fixed in the CCD camera assembly or driving structure;The Hall sensor is connected to the processor, and is fixedly installed in the mobile terminal, and when the driving structure drives the CCD camera assembly mobile, the Hall sensor changes at a distance from the magnetic texure.

Description

A kind of camera control system, camera control method and mobile terminal
Technical field
The present invention relates to field of communication technology, more particularly to a kind of camera control system, camera control method and Mobile terminal.
Background technique
With development and user the stepping up for usage experience of comprehensive screen mobile terminal, mobile phone, tablet computer etc. The display area of mobile terminal is increasing, and it is also higher and higher to shield accounting.
In order to avoid aperture placement front camera impacts the screen accounting of mobile terminal on the screen, existing skill In art, telescopic front camera is often used.In the case where needing to use front camera progress self-timer, preposition camera shooting Head can be stretched out from the inside of mobile terminal, and in the case where not needing using front camera, front camera can be retracted The inside of mobile terminal does not influence the appearance of mobile terminal.
In existing mobile terminal, often through the stretching or retraction of camera control system control camera.Specifically Ground, existing camera control system may include: processor, driving structure and multiple Hall sensors;Wherein, processor It can be connect respectively with driving structure and multiple Hall sensors, magnetic texure can be then equipped on camera.In camera In mobile process, the magnetic field strength that each Hall sensor detects can also change;It is detected by multiple Hall sensors The magnetic field strength arrived can judge the physical location of camera;According to the physical location of camera, processor can control drive Dynamic structure driving camera is mobile or stops movement.
However, due to the higher cost of Hall sensor, and it is more that setting is generally required in existing camera control system A Hall sensor, therefore, it is very easy to cause the cost of existing camera control system accordingly higher.Moreover, existing take the photograph As needing to integrate the magnetic field strength that multiple Hall sensors detect, could judge the realization position of camera in head control system It sets, the logic of judgement is complex.
Summary of the invention
In view of this, in order to solve in existing mobile terminal, the higher cost of camera control system, and control logic Complex problem, the embodiment of the present invention propose a kind of camera control system, a kind of camera control method and one Kind mobile terminal.
In a first aspect, being applied to mobile terminal the embodiment of the invention discloses a kind of camera control system, comprising: place Manage device, CCD camera assembly, driving structure, Hall sensor and magnetic texure;Wherein
The driving structure is connect with the CCD camera assembly and the processor respectively, drives the CCD camera assembly edge Preset direction is mobile;
The magnetic texure is fixed in the CCD camera assembly or driving structure;
The Hall sensor is connected to the processor, and is fixedly installed in the mobile terminal, when the driving is tied When structure drives the CCD camera assembly mobile, the Hall sensor changes at a distance from the magnetic texure.
Second aspect, the embodiment of the invention also discloses a kind of camera control methods, are applied to above-mentioned camera and control System, comprising:
Obtain the magnetic field strength that the Hall sensor detects;
According to the magnetic field strength, controls driving structure and the CCD camera assembly is driven to move along preset direction.
The third aspect, the embodiment of the invention also discloses a kind of mobile terminals, comprising:
Obtain module, the magnetic field strength detected for obtaining the Hall sensor;
Control module, for controlling driving structure and driving the CCD camera assembly along default side according to the magnetic field strength To movement.
The embodiment of the present invention includes following advantages:
In the embodiment of the present invention, since the driving structure is connect with the CCD camera assembly and the processor respectively, The CCD camera assembly is driven to move along preset direction, the magnetic texure is fixed on the CCD camera assembly or driving structure On;The Hall sensor is connected to the processor, and is fixedly installed in the mobile terminal, when the driving structure drives When the CCD camera assembly is mobile, the Hall sensor changes at a distance from the magnetic texure.In practical applications, In the case where the Hall sensor changes at a distance from the magnetic texure, institute that the Hall sensor detects The magnetic field strength for stating magnetic texure also can and then change the magnetic field strength for the magnetic texure that the Hall sensor detects It can be used for judging the pressing operation in the physical location and the CCD camera assembly of the CCD camera assembly.The processor is then The camera group can be controlled according to the pressing operation in the physical location and the CCD camera assembly of the CCD camera assembly Part is mobile.That is, in the camera control system of the embodiment of the present invention, only pass through a Hall sensor it may determine that Pressing operation in the physical location of the CCD camera assembly and the CCD camera assembly, in order to which the processor is according to Pressing operation in the physical location of CCD camera assembly and the CCD camera assembly controls the CCD camera assembly movement, reduces The cost of system, and control logic is relatively simple.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of camera control system of the present invention;
Fig. 2 is a kind of step flow chart of camera control method of the present invention;
Fig. 3 is a kind of structural block diagram of mobile terminal of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
Embodiment one
Referring to Fig.1, a kind of structural schematic diagram of camera control system of the invention is shown, which can be applied to Mobile terminal, the system can specifically include: processor 10, CCD camera assembly 11, driving structure 12, Hall sensor 13 and Magnetic texure 14.
Wherein, driving structure 12 is connect with CCD camera assembly 11 and processor 10 respectively, drives CCD camera assembly 11 along pre- Set direction is mobile.
Magnetic texure 14 is fixed in CCD camera assembly 11 or driving structure 12.
Hall sensor 13 is connect with processor 10, is fixedly installed in the mobile terminal, when driving structure 12 drives When CCD camera assembly 11 is mobile, Hall sensor 13 changes at a distance from magnetic texure 14.
In the embodiment of the present invention, since magnetic texure 14 is fixed on CCD camera assembly 11 or driving assembly 12, imaging During head assembly 11 is moved along the preset direction, magnetic texure 14 can be with CCD camera assembly 11 or driving assembly 12 It moves together, Hall sensor 13 changes at a distance from magnetic texure 14.With Hall sensor 13 and magnetic texure 14 Distance change, the magnetic field strength for the magnetic texure 14 that Hall sensor 13 detects also can and then change.
In practical applications, the magnetic field strength for the magnetic texure 14 that Hall sensor 13 detects can be used for judging imaging Pressing operation in the physical location and CCD camera assembly 11 of head assembly 11.Processor 10 then can be according to CCD camera assembly 11 Pressing operation in physical location and CCD camera assembly 11, control CCD camera assembly 11 are mobile.That is, the embodiment of the present invention Camera control system in, only pass through a Hall sensor 13 it may determine that the physical location of CCD camera assembly 11 and taking the photograph As the pressing operation in head assembly 11, in order to which processor 10 is according to the physical location and CCD camera assembly 11 of CCD camera assembly 11 On pressing operation, control CCD camera assembly 11 is mobile, and cost is relatively low for system, and control logic is relatively simple.
In the embodiment of the present invention, CCD camera assembly 11 is equipped with the first predeterminated position and second on the preset direction and presets Position;Wherein, in the case where CCD camera assembly 11 is moved to first predeterminated position or the second predeterminated position, hall sensing Device 13 can be concordant with magnetic texure 14.
In practical applications, CCD camera assembly 11 may include stretching out to move and retract shifting along the movement of the preset direction It is dynamic to retract.Specifically, CCD camera assembly 11 can be moved by stretching out, and stretched out, shot from the inside of the mobile terminal, When the stretching of CCD camera assembly 11 is moved to the stretching extreme position, CCD camera assembly 11 will be unable to continue to stretch out fortune It is dynamic.Similarly, CCD camera assembly 11 can be moved by retracting, and be retracted to the inside of the mobile terminal, do not influenced the movement The appearance of terminal, when the retraction of CCD camera assembly 11 is moved to the retraction extreme position, CCD camera assembly 11 will be unable to continue Carry out retraction movement.
Specifically, first predeterminated position is the pole that the camera retracts the mobile terminal along the preset direction Extreme position, second predeterminated position are the extreme position that the camera stretches out the mobile terminal along the preset direction. Hall sensor 13 can be set in, in the case where CCD camera assembly 11 is moved to first predeterminated position with magnetic texure 14 concordant positions, alternatively, Hall sensor 13 can be set in being moved to second predeterminated position in CCD camera assembly 11 In the case where the position concordant with magnetic texure 14.The embodiment of the present invention can not do the specific location of Hall sensor 13 It limits.
In the embodiment of the present invention, since Hall sensor 13 is set to, to be moved to described first in CCD camera assembly 11 default The position concordant with magnetic texure 14 in the case where position or second predeterminated position, according to the original of the monotone variation in magnetic field Reason, the magnetic field strength for the magnetic texure 14 that Hall sensor 13 detects can be used for judging the physical location of CCD camera assembly 11 With the pressing operation on CCD camera assembly 11.
Specifically, the monotone variation in the magnetic field can specifically be showed themselves in that since Hall sensor 13 is arranged in camera Component 11 is moved to concordant with magnetic texure 14 position in the case where first predeterminated position or second predeterminated position, In this way, during CCD camera assembly 11 carries out stretching out mobile or retraction movement, due to magnetic texure 14 and hall sensing The distance between device 13 is always increased monotonically or monotone decreasing, the magnetic field for the magnetic texure 14 that Hall sensor 13 detects What intensity always dullness increase or dullness reduced.In this way, the magnetic field of the magnetic texure 14 detected by Hall sensor 13 The variation tendency of intensity, it can be determined that go out the physical location of magnetic texure 14, in turn, it can be determined that go out the reality of CCD camera assembly 11 Border position and pressing operation.
In the embodiment of the present invention, processor 10 can be according in the physical location and CCD camera assembly 11 of CCD camera assembly 11 Pressing operation, control CCD camera assembly 11 is mobile.That is, only leading in the camera control system of the embodiment of the present invention A Hall sensor 14 is crossed it may determine that pressing operation in the physical location and CCD camera assembly 11 of CCD camera assembly 11, In order to which processor 10 can be taken the photograph according to the pressing operation in the physical location and CCD camera assembly 11 of CCD camera assembly 11, control As the movement of head assembly 11, cost is relatively low for system, and control logic is relatively simple.
In the embodiment of the present invention, CCD camera assembly 11 may include: camera 111, moving support structure 112 and movement Buffer structure 113, wherein moving support structure 112 is connected to camera 111, is used to support the movement of camera 111;It is mobile Buffer structure 113 is connect with moving support structure 112, driving structure 12 respectively.
In practical applications, moving support structure 112 can be used for that camera 111 is supported to be moved, and mobile cushioning Structure 113 can then buffer the impact in 111 moving process of camera, and camera 111 is allowed gently to carry out stretching shifting Dynamic or retraction movement.Specifically, mobile cushioning structure 113 can be capable of the structure of shock absorbing for spring etc..
In the embodiment of the present invention, driving structure 12 may include: motor 121 and the motor driven that connect with motor 121 Structure 122;Wherein, motor-driven structure 122 is connect with processor 10;Motor 121 is connect with CCD camera assembly 11.Actually answering In, under control of processor 10, motor-driven structure 122 can drive CCD camera assembly 11 to be moved with driving motor 121 It is dynamic.
Specifically, motor 121 can be preferably micromotor, and motor-driven structure 122 can be preferably worm and gear etc. Driving structure, the embodiment of the present invention can be without limitation for the concrete type of motor 121 and motor-driven structure 122.
In an alternative embodiment of the invention, in first predeterminated position, i.e., Hall sensor 13 can be set Hall sensor 13 is set to flat with magnetic texure 14 in the case where CCD camera assembly 11 is moved to the retraction extreme position Neat position.
In the case where Hall sensor 13 is set to first predeterminated position, movement is stretched out in CCD camera assembly 11 In the process, if the magnetic field strength that Hall sensor 13 detects decreases below the first preset value, and it is default first In the case where being no longer changed in time, then driving structure 12 can stop driving CCD camera assembly 11.
In the case where Hall sensor 13 is set to first predeterminated position, movement is retracted in CCD camera assembly 11 In the process, if the magnetic field strength that Hall sensor 13 detects is increased above the second preset value, and described second In the case where being no longer changed in preset time, then driving structure 12 can stop driving CCD camera assembly 11.
In the case where Hall sensor 13 is set to first predeterminated position, movement is stretched out in CCD camera assembly 11 In the process, it if in the case of Hall sensor 13 detects that the magnetic field strength continuously enlarges, controls the driving of driving structure 12 and takes the photograph As head assembly 11 retracts the mobile terminal.
In the case where Hall sensor 13 is set to first predeterminated position, stretching shifting is carried out in CCD camera assembly 11 When dynamic, always it is increased monotonically due to the distance between magnetic texure 14 and Hall sensor 13, correspondingly, Hall sensor 13 The magnetic field strength detected always dull reduction.During CCD camera assembly 11 stretches out mobile, if Hall sensor 13 The magnetic field strength detected decreases below the first preset value, and be no longer changed in first preset time In the case of, it may be considered that CCD camera assembly 11 has been moved into the stretching extreme position, at this point, processor 10 can be controlled Driving structure 12 processed drives CCD camera assembly 11 to stop movement.
In practical applications, the magnetic field that can be generated to Hall sensor 13 to magnetic field structure 14 in laboratory conditions is strong Degree is demarcated.Specifically, the maximum value of magnetic field that magnetic field structure 14 generates Hall sensor 13 can use BmaxIt indicates, it is minimum Value can use BminIt indicates.
In the embodiment of the present invention, the first preset value may be set according to actual conditions, for example, the first preset value can be with are as follows: Bmin+(Bmax-Bmin) * 5%, Bmin+(Bmax-Bmin) * 6% or Bmin+(Bmax-Bmin) * 8%.It can also set according to the actual situation Fixed first preset time, such as: 0.5 second, 0.8 second or 1 second etc..The embodiment of the present invention is default for the first preset value and first The particular content of time can be without limitation.
It is B in the first preset value in specifically applyingmin+(Bmax-Bmin) * 5%, the first preset time is 0.5 second In the case of, during CCD camera assembly 11 stretches out mobile, when the magnetic field strength that Hall sensor 13 detects reduces To less than Bmin+(Bmax-Bmin) * 5%, and in the case where be no longer changed in 0.5 second, it may be considered that CCD camera assembly 11 have been moved into the stretching extreme position, at this point, processor 10, which can control driving structure 12, drives CCD camera assembly 11 stop movement.
In the case where Hall sensor 13 is set to first predeterminated position, retraction shifting is carried out in CCD camera assembly 11 When dynamic, reduce since the distance between magnetic texure 14 and Hall sensor 13 are always dull, correspondingly, Hall sensor 13 The magnetic field strength detected always dull increase.During CCD camera assembly 11 retracts mobile, when Hall sensor 13 The magnetic field strength detected is increased above the second preset value, and in the case where being no longer changed within a preset time, It may be considered that CCD camera assembly 11 has been moved into the retraction extreme position, at this point, processor 10 can control driving Structure 12 drives CCD camera assembly 11 to stop movement.
In the embodiment of the present invention, the second preset value can be set according to the actual situation, for example, second preset value It can be with are as follows: Bmin+(Bmax-Bmin) * 95%, Bmin+(Bmax-Bmin) * 94% or Bmin+(Bmax-Bmin) * 92%.Second it is default when Between can also be set according to the actual situation, such as: 0.5 second, 0.8 second or 1 second etc..The embodiment of the present invention is pre- for second If the particular content of value and the second preset time can be without limitation.
It is B in the second preset value in specifically applyingmin+(Bmax-Bmin) * 95%, preset time be 0.5 second the case where Under, during CCD camera assembly 11 retracts mobile, if the magnetic field strength that Hall sensor 13 detects increases to greatly In Bmin+(Bmax-Bmin) * 95%, and in the case where be no longer changed in 0.5 second, it may be considered that CCD camera assembly 11 is It is moved to the retraction extreme position, drives CCD camera assembly 11 to stop at this point, processor 10 can control driving structure 12 Only move.
In the case where Hall sensor 13 is set to first predeterminated position, movement is stretched out in CCD camera assembly 11 In the process, in the case that Hall sensor 13 detects that the magnetic field strength has the tendency that continuously enlarging, processor 10 can be with Control driving structure 12 drives CCD camera assembly 11 to retract the mobile terminal.
In practical applications, it may include that CCD camera assembly 11 is motionless that the CCD camera assembly 11, which stretches out mobile process, Process or CCD camera assembly 11 stretch out mobile process.Specifically, in the case where CCD camera assembly is motionless, Hall sensor 13 magnetic field strengths that detect should be it is constant, during CCD camera assembly 11 stretches out mobile, Hall sensor 13 magnetic field strengths detected should continue to reduce.Namely, it carries out stretching out movement in CCD camera assembly 11 In the process, the magnetic field strength that Hall sensor 13 detects should be constant or lasting reduction.
In the embodiment of the present invention, during CCD camera assembly 11 stretches out mobile, when Hall sensor 13 detects institute Stating magnetic field strength has the tendency that in the case where continuously enlarging, it may be considered that CCD camera assembly 11 receives pressing operation, also It is to say, user needs CCD camera assembly 11 by compression and back.At this point, processor 10, which can control driving structure 12, drives camera Component 11 carries out retraction movement, realizes the automatic retraction of CCD camera assembly 11, improves the user experience.
In another alternative embodiment of the invention, Hall sensor 13 be can be set in second predeterminated position, I.e. Hall sensor 13 be set in the case where CCD camera assembly 11 is moved to the stretching extreme position with magnetic texure 14 Concordant position.
In the case where Hall sensor 13 is set to second predeterminated position, movement is stretched out in CCD camera assembly 11 In the process, if the magnetic field strength that Hall sensor 13 detects is increased above third preset value, and it is default in third In the case where being no longer changed in time, then it can control driving structure 12 and stop driving CCD camera assembly 11.
In the case where Hall sensor 13 is set to second predeterminated position, movement is retracted in CCD camera assembly 11 In the process, if the magnetic field strength that Hall sensor 13 detects decreases below four preset values, and the described 4th In the case where being no longer changed in preset time, then it can control driving structure 12 and stop driving CCD camera assembly 11.
In the case where Hall sensor 13 is set to second predeterminated position, movement is stretched out in CCD camera assembly 11 In the process, in the case that Hall sensor 13 detects that the magnetic field strength has the tendency that being continuously reduced, processor 10 can be with Control driving structure 12 drives CCD camera assembly 11 to retract the mobile terminal.
In the case where Hall sensor 13 is set to second predeterminated position, stretching shifting is carried out in CCD camera assembly 11 When dynamic, reduce since the distance between magnetic texure 14 and Hall sensor 13 are always dull, correspondingly, Hall sensor 13 The magnetic field strength detected always dull increase.During CCD camera assembly 11 stretches out mobile, when Hall sensor 13 The magnetic field strength detected is increased above third preset value, and be no longer changed in the third preset time In the case of, it may be considered that CCD camera assembly 11 has been moved into the stretching extreme position, at this point, processor 10 can be controlled Driving structure 12 processed stops driving CCD camera assembly 11.
In the case where Hall sensor 13 is set to second predeterminated position, retraction shifting is carried out in CCD camera assembly 11 When dynamic, increase since the distance between magnetic texure 14 and Hall sensor 13 are always dull, correspondingly, Hall sensor 13 The magnetic field strength detected always dull reduction.During CCD camera assembly 11 retracts mobile, when Hall sensor 13 The magnetic field strength detected decreases below the 4th preset value, and be no longer changed in the 4th preset time In the case of, it may be considered that CCD camera assembly 11 has been moved into the retraction extreme position, at this point, processor 10 can be controlled Driving structure 12 processed stops driving CCD camera assembly 11.
In the case where Hall sensor 13 is set to second predeterminated position, movement is stretched out in CCD camera assembly 11 In the process, if Hall sensor 13 detects that the magnetic field strength has the tendency that in the case where being continuously reduced, it can control drive Dynamic structure 12 drives CCD camera assembly 11 to retract the mobile terminal.
It is understood that judging CCD camera assembly 11 when Hall sensor 13 is set to second predeterminated position The realization procedural details of physical location and the pressing operation on CCD camera assembly 11 are referred to Hall sensor 13 and are set to institute Realization procedural details when the first predeterminated position are stated, this will not be repeated here.
To sum up, camera control system described in the embodiment of the present invention includes at least following advantages:
In the embodiment of the present invention, since the driving structure is connect with the CCD camera assembly and the processor respectively, The CCD camera assembly is driven to move along preset direction, the magnetic texure is fixed on the CCD camera assembly or driving structure On;The Hall sensor is connected to the processor, and is fixedly installed in the mobile terminal, when the driving structure drives When the CCD camera assembly is mobile, the Hall sensor changes at a distance from the magnetic texure.In practical applications, In the case where the Hall sensor changes at a distance from the magnetic texure, institute that the Hall sensor detects The magnetic field strength for stating magnetic texure also can and then change, the magnetic field strength for the magnetic texure that the Hall sensor detects It can be used for judging the pressing operation in the physical location and the CCD camera assembly of the CCD camera assembly.The processor is then The camera group can be controlled according to the pressing operation in the physical location and the CCD camera assembly of the CCD camera assembly Part is mobile.That is, in the camera control system of the embodiment of the present invention, only pass through a Hall sensor it may determine that Pressing operation in the physical location of the CCD camera assembly and the CCD camera assembly, in order to which the processor is according to Pressing operation in the physical location of CCD camera assembly and the CCD camera assembly controls the CCD camera assembly movement, system Cost is relatively low, and control logic is relatively simple.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of camera control method of the invention is shown, this method can be applied to Above-mentioned camera control system, this method can specifically include:
Step 201: obtaining the magnetic field strength that the Hall sensor detects.
In the embodiment of the present invention, since the magnetic texure is fixed on the CCD camera assembly or the driving structure On, during the CCD camera assembly is moved along the preset direction, the magnetic texure can be with the camera Component or the driving structure move together.With the movement of the magnetic texure, institute that the Hall sensor detects The magnetic field strength for stating magnetic texure also can and then change.
In the embodiment of the present invention, the CCD camera assembly may include stretching out to move and contract along the movement of the preset direction Return is dynamic.Specifically, the CCD camera assembly can be moved by stretching out, and stretched out, clapped from the inside of the mobile terminal It takes the photograph, when CCD camera assembly stretching is moved to the stretching extreme position, the CCD camera assembly will be unable to continue Stretch out motion.Similarly, the CCD camera assembly can be moved by retracting, and be retracted to the inside of the mobile terminal, do not influenced The appearance of the mobile terminal, when CCD camera assembly retraction is moved to the retraction extreme position, the camera group Part will be unable to continue retraction movement.
In practical applications, the Hall sensor can be set in the first predeterminated position, and first predeterminated position is The position concordant with the magnetic texure in the case where the CCD camera assembly is moved to the retraction extreme position, alternatively, The Hall sensor can be set in the second predeterminated position.Second predeterminated position is moved to institute in the CCD camera assembly State position concordant with the magnetic texure in the case where stretching out extreme position.The embodiment of the present invention is for the Hall sensor Specific location can be without limitation.
In the embodiment of the present invention, since the Hall sensor is set in first predeterminated position or described second pre- If position, according to the principle of the monotone variation in magnetic field, the magnetic field strength for the magnetic texure that the Hall sensor detects It can be used for judging the pressing operation in the physical location and the CCD camera assembly of the CCD camera assembly.
Specifically, the monotone variation in the magnetic field can specifically be showed themselves in that since the Hall sensor is arranged described CCD camera assembly is moved to first predeterminated position or second predeterminated position, in this way, carrying out in the CCD camera assembly During stretching out mobile or retraction movement, since the distance between the magnetic texure and the Hall sensor are always single Adjust plus monotone decreasing, the magnetic field strength of the magnetic texure that the Hall sensor detects is always dull to be increased Or dull reduction.In this way, the variation of the magnetic field strength of the magnetic texure detected by the Hall sensor becomes Gesture, it can be determined that go out the magnetic texure physical location, in turn, it can be determined that go out the CCD camera assembly physical location and Pressing operation.
Step 202: according to the magnetic field strength, controlling driving structure and the CCD camera assembly is driven to move along preset direction It is dynamic.
In the embodiment of the present invention, the processor can physical location according to the CCD camera assembly and the camera It is mobile to control the CCD camera assembly for pressing operation on component.That is, the camera control system of the embodiment of the present invention In, only by a Hall sensor it may determine that the physical location of the CCD camera assembly and the CCD camera assembly On pressing operation, in order to which the processor can physical location according to the CCD camera assembly and the CCD camera assembly On pressing operation, control that the CCD camera assembly is mobile, and cost is relatively low for system, and control logic is relatively simple.
In an alternative embodiment of the invention, the case where the CCD camera assembly is moved to the first predeterminated position Under, the Hall sensor is concordant with the magnetic texure, and first predeterminated position is the camera along the default side To the extreme position for retracting the mobile terminal.It is described according to the magnetic field strength, control and taken the photograph described in the driving structure driving As head assembly may include: along the step that the preset direction moves
During the CCD camera assembly stretches out the mobile terminal along the preset direction, if the magnetic field strength The first preset value is decreased below, and is no longer changed in the first preset time, then the driving structure stops driving institute State CCD camera assembly.
During the CCD camera assembly retracts the mobile terminal along the presetting method, if the magnetic field strength Increase to and be greater than the second preset value, and be no longer changed in the second preset time, then controls the driving structure and stop driving Move the CCD camera assembly.
In the case where the CCD camera assembly stretches out the mobile terminal, if the magnetic field strength continuously enlarges, control Making the driving structure drives the CCD camera assembly to retract the mobile terminal.
In another alternative embodiment of the invention, the case where the CCD camera assembly is moved to the second predeterminated position Under, the Hall sensor is concordant with the magnetic texure, and second predeterminated position is the camera along the default side To the extreme position for stretching out the mobile terminal;
It is described according to the magnetic field strength, control the driving structure and drive the CCD camera assembly along the preset direction Mobile step includes:
During the CCD camera assembly stretches out the mobile terminal along the preset direction, if the magnetic field strength It is increased above third preset value, and is no longer changed in third preset time, then controls the driving structure and stops driving Move the CCD camera assembly;
During the CCD camera assembly retracts the mobile terminal along the preset direction, if the magnetic field strength The 4th preset value is decreased below, and is no longer changed in the 4th preset time, then controls the driving structure and stops driving Move the CCD camera assembly.
To sum up, camera control method described in the embodiment of the present invention includes at least following advantages:
In the embodiment of the present invention, since the driving structure is connect with the CCD camera assembly and the processor respectively, The CCD camera assembly is driven to move along preset direction, the magnetic texure is fixed on the CCD camera assembly or driving structure On;The Hall sensor is connected to the processor, and is fixedly installed in the mobile terminal, when the driving structure drives When the CCD camera assembly is mobile, the Hall sensor changes at a distance from the magnetic texure.In practical applications, In the case where the Hall sensor changes at a distance from the magnetic texure, institute that the Hall sensor detects The magnetic field strength for stating magnetic texure also can and then change, the magnetic field strength for the magnetic texure that the Hall sensor detects It can be used for judging the pressing operation in the physical location and the CCD camera assembly of the CCD camera assembly.The processor is then The camera group can be controlled according to the pressing operation in the physical location and the CCD camera assembly of the CCD camera assembly Part is mobile.That is, in the camera control system of the embodiment of the present invention, only pass through a Hall sensor it may determine that Pressing operation in the physical location of the CCD camera assembly and the CCD camera assembly, in order to which the processor is according to Pressing operation in the physical location of CCD camera assembly and the CCD camera assembly controls the CCD camera assembly movement, system Cost is relatively low, and control logic is relatively simple.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
For embodiment of the method, since it is substantially similar to Installation practice, so be described relatively simple, it is related Place illustrates referring to the part of embodiment of the method.
Embodiment three
Referring to Fig. 3, a kind of structural block diagram of mobile terminal of the invention is shown, specifically, the mobile terminal can be with Including but not limited to mobile phone, tablet computer, any one in Wearable equipment.Mobile terminal 300 can specifically include:
Module 301 is obtained, for obtaining the magnetic field strength of the Hall sensor detection.
Control module 302, for controlling driving structure and driving the CCD camera assembly along default according to the magnetic field strength Direction is mobile.
Optionally, in the case where the CCD camera assembly is moved to the first predeterminated position, the Hall sensor and institute State that magnetic texure is concordant, first predeterminated position is the pole that the camera retracts the mobile terminal along the preset direction Extreme position.
Then control module 302 may include:
First stretches out control submodule, for stretching out the mobile terminal along the preset direction in the CCD camera assembly During, if the magnetic field strength decreases below the first preset value, and it is no longer changed in the first preset time, then The driving structure stops driving the CCD camera assembly.
First retracts control submodule, for retracting the mobile terminal along the presetting method in the CCD camera assembly During, if the magnetic field strength increases to greater than the second preset value, and is no longer changed in the second preset time, then The driving structure is controlled to stop driving the CCD camera assembly.
First pressing control submodule, is used in the case where the CCD camera assembly stretches out the mobile terminal, if institute It states magnetic field strength to continuously enlarge, then controls the driving structure and the CCD camera assembly is driven to retract the mobile terminal.
Optionally, in the case where the CCD camera assembly is moved to the second predeterminated position, the Hall sensor and institute State that magnetic texure is concordant, second predeterminated position is the pole that the camera stretches out the mobile terminal along the preset direction Extreme position
Then control module 302 may include:
Second stretches out control submodule, for stretching out the mobile terminal along the preset direction in the CCD camera assembly During, if the magnetic field strength is increased above third preset value, and it is no longer changed in third preset time, then The driving structure is controlled to stop driving the CCD camera assembly.
Second retracts control submodule, for retracting the mobile terminal along the preset direction in the CCD camera assembly During, if the magnetic field strength decreases below the 4th preset value, and it is no longer changed in the 4th preset time, then The driving structure is controlled to stop driving the CCD camera assembly.
Second pressing control submodule, is used in the case where the CCD camera assembly stretches out the mobile terminal, if institute It states magnetic field strength to be continuously reduced, then controls the driving structure and the CCD camera assembly is driven to retract the mobile terminal.
To sum up, mobile terminal described in the embodiment of the present invention at least may include following advantages:
In the embodiment of the present invention, since the driving structure is connect with the CCD camera assembly and the processor respectively, The CCD camera assembly is driven to move along preset direction, the magnetic texure is fixed on the CCD camera assembly or driving structure On;The Hall sensor is connected to the processor, and is fixedly installed in the mobile terminal, when the driving structure drives When the CCD camera assembly is mobile, the Hall sensor changes at a distance from the magnetic texure.In practical applications, In the case where the Hall sensor changes at a distance from the magnetic texure, institute that the Hall sensor detects The magnetic field strength for stating magnetic texure also can and then change, the magnetic field strength for the magnetic texure that the Hall sensor detects It can be used for judging the pressing operation in the physical location and the CCD camera assembly of the CCD camera assembly.The processor is then The camera group can be controlled according to the pressing operation in the physical location and the CCD camera assembly of the CCD camera assembly Part is mobile.That is, in the camera control system of the embodiment of the present invention, only pass through a Hall sensor it may determine that Pressing operation in the physical location of the CCD camera assembly and the CCD camera assembly, in order to which the processor is according to Pressing operation in the physical location of CCD camera assembly and the CCD camera assembly controls the CCD camera assembly movement, system Cost is relatively low, and control logic is relatively simple.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of camera control system provided by the present invention, a kind of camera control method, a kind of camera Control device and a kind of mobile terminal, are described in detail, specific case used herein to the principle of the present invention and Embodiment is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the present invention There is change place, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (10)

1. a kind of camera control system is applied to mobile terminal characterized by comprising processor, CCD camera assembly, drive Dynamic structure, Hall sensor and magnetic texure;Wherein
The driving structure is connect with the CCD camera assembly and the processor respectively, drives the CCD camera assembly along default Direction is mobile;
The magnetic texure is fixed in the CCD camera assembly or driving structure;
The Hall sensor is connected to the processor, and is fixedly installed in the mobile terminal, when the driving structure is driven When moving CCD camera assembly movement, the Hall sensor changes at a distance from the magnetic texure.
2. system according to claim 1, which is characterized in that the CCD camera assembly be moved to the first predeterminated position or In the case where second predeterminated position, the Hall sensor is concordant with the magnetic texure.
3. system according to claim 2, which is characterized in that first predeterminated position is the camera along described pre- Set direction retracts the extreme position of the mobile terminal, and second predeterminated position is that the camera is stretched along the preset direction The extreme position of the mobile terminal out.
4. a kind of camera control method is applied to the described in any item camera control systems of claims 1 to 3, feature It is, comprising:
Obtain the magnetic field strength that the Hall sensor detects;
According to the magnetic field strength, controls driving structure and the CCD camera assembly is driven to move along preset direction.
5. according to the method described in claim 4, it is characterized in that, being moved to the first predeterminated position in the CCD camera assembly In the case of, the Hall sensor is concordant with the magnetic texure, and first predeterminated position is the camera along described pre- Set direction retracts the extreme position of the mobile terminal;
It is described according to the magnetic field strength, control the driving structure and the CCD camera assembly driven to move along the preset direction The step of include:
During the CCD camera assembly stretches out the mobile terminal along the preset direction, if the magnetic field strength reduces It is no longer changed to less than the first preset value, and in the first preset time, then the driving structure stops taking the photograph described in driving As head assembly;
During the CCD camera assembly retracts the mobile terminal along the presetting method, if the magnetic field strength increases It to the second preset value is greater than, and is no longer changed in the second preset time, then controls the driving structure and stop driving institute State CCD camera assembly.
6. according to the method described in claim 5, it is characterized in that, described according to the magnetic field strength, the control driving knot The step that structure drives the CCD camera assembly to move along the preset direction includes:
In the case where the CCD camera assembly stretches out the mobile terminal, if the magnetic field strength continuously enlarges, institute is controlled Stating driving structure drives the CCD camera assembly to retract the mobile terminal.
7. according to the method described in claim 4, it is characterized in that, being moved to the second predeterminated position in the CCD camera assembly In the case of, the Hall sensor is concordant with the magnetic texure, and second predeterminated position is the camera along described pre- Set direction stretches out the extreme position of the mobile terminal;
It is described according to the magnetic field strength, control the driving structure and the CCD camera assembly driven to move along the preset direction The step of include:
During the CCD camera assembly stretches out the mobile terminal along the preset direction, if the magnetic field strength increases It to third preset value is greater than, and is no longer changed in third preset time, then controls the driving structure and stop driving institute State CCD camera assembly;
During the CCD camera assembly retracts the mobile terminal along the preset direction, if the magnetic field strength reduces It is no longer changed to less than the 4th preset value, and in the 4th preset time, then controls the driving structure and stop driving institute State CCD camera assembly.
8. the method according to the description of claim 7 is characterized in that described according to the magnetic field strength, the control driving knot The step that structure drives the CCD camera assembly to move along the preset direction includes:
In the case where the CCD camera assembly stretches out the mobile terminal, if the magnetic field strength is continuously reduced, institute is controlled Stating driving structure drives the CCD camera assembly to retract the mobile terminal.
9. a kind of mobile terminal characterized by comprising
Module is obtained, for obtaining the magnetic field strength of the Hall sensor detection;
Control module, for controlling driving structure and the CCD camera assembly being driven to move along preset direction according to the magnetic field strength It is dynamic.
10. mobile terminal according to claim 9, which is characterized in that it is default to be moved to first in the CCD camera assembly In the case where position, the Hall sensor is concordant with the magnetic texure, and first predeterminated position is the camera edge The preset direction retracts the extreme position of the mobile terminal;
The control module includes:
First stretches out control submodule, for stretching out the mistake of the mobile terminal along the preset direction in the CCD camera assembly Cheng Zhong if the magnetic field strength decreases below the first preset value, and is no longer changed in the first preset time, then described Driving structure stops driving the CCD camera assembly;
First retracts control submodule, for retracting the mistake of the mobile terminal along the presetting method in the CCD camera assembly Cheng Zhong is then controlled if the magnetic field strength increases to greater than the second preset value, and is no longer changed in the second preset time The driving structure stops driving the CCD camera assembly.
CN201910101429.2A 2019-01-31 2019-01-31 A kind of camera control system, camera control method and mobile terminal Pending CN109873949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910101429.2A CN109873949A (en) 2019-01-31 2019-01-31 A kind of camera control system, camera control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910101429.2A CN109873949A (en) 2019-01-31 2019-01-31 A kind of camera control system, camera control method and mobile terminal

Publications (1)

Publication Number Publication Date
CN109873949A true CN109873949A (en) 2019-06-11

Family

ID=66918478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910101429.2A Pending CN109873949A (en) 2019-01-31 2019-01-31 A kind of camera control system, camera control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109873949A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110581952A (en) * 2019-09-17 2019-12-17 深圳市万普拉斯科技有限公司 Camera lifting control method and device and mobile terminal
CN110602297A (en) * 2019-09-17 2019-12-20 深圳市万普拉斯科技有限公司 Method and device for calibrating motion steps of lifting motor and mobile terminal
CN110928369A (en) * 2019-11-27 2020-03-27 维沃移动通信有限公司 Terminal and control method of terminal
CN111246061A (en) * 2020-01-22 2020-06-05 维沃移动通信有限公司 Mobile terminal, method for detecting shooting mode and storage medium
CN112104797A (en) * 2019-06-18 2020-12-18 北京小米移动软件有限公司 Camera module, electronic equipment, and stroke detection method and device
CN112118372A (en) * 2019-06-20 2020-12-22 北京小米移动软件有限公司 Movement control method and device of image acquisition assembly, terminal and storage medium
US11089194B2 (en) * 2018-11-13 2021-08-10 Beijing Xiaomi Mobile Software Co., Ltd. Pop-up camera module and electronic device
CN113329124A (en) * 2021-05-28 2021-08-31 北京小米移动软件有限公司 Camera control method, camera control device and storage medium
CN113347359A (en) * 2021-06-02 2021-09-03 深圳康佳电子科技有限公司 Position adjusting method, device and equipment of image acquisition device and storage medium
CN113727020A (en) * 2021-07-28 2021-11-30 北京瞰瞰智能科技有限公司 Intelligent lifting processing method and device and electronic equipment
CN114649909A (en) * 2020-12-18 2022-06-21 华为技术有限公司 Driving device, camera device and electronic equipment
CN114649909B (en) * 2020-12-18 2025-02-18 华为技术有限公司 Driving device, camera device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030001963A1 (en) * 2001-06-27 2003-01-02 Kenji Masuyama Pan/tilt apparatus and camera equipped with the same
CN104238578A (en) * 2014-09-26 2014-12-24 广东欧珀移动通信有限公司 Method and device for controlling rotation of camera
WO2015165109A1 (en) * 2014-04-30 2015-11-05 深圳市大疆创新科技有限公司 Control apparatus, cradle head using same, and cradle head control method
CN107797488A (en) * 2017-09-30 2018-03-13 维沃移动通信有限公司 A kind of displacement control system and its control method, mobile terminal
CN107819907A (en) * 2017-11-14 2018-03-20 维沃移动通信有限公司 A kind of camera control method and mobile terminal
CN108900665A (en) * 2018-06-08 2018-11-27 Oppo广东移动通信有限公司 The control method of electronic equipment and electronic equipment
CN108965660A (en) * 2018-06-29 2018-12-07 维沃移动通信有限公司 A kind of terminal device and control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030001963A1 (en) * 2001-06-27 2003-01-02 Kenji Masuyama Pan/tilt apparatus and camera equipped with the same
WO2015165109A1 (en) * 2014-04-30 2015-11-05 深圳市大疆创新科技有限公司 Control apparatus, cradle head using same, and cradle head control method
CN104238578A (en) * 2014-09-26 2014-12-24 广东欧珀移动通信有限公司 Method and device for controlling rotation of camera
CN107797488A (en) * 2017-09-30 2018-03-13 维沃移动通信有限公司 A kind of displacement control system and its control method, mobile terminal
CN107819907A (en) * 2017-11-14 2018-03-20 维沃移动通信有限公司 A kind of camera control method and mobile terminal
CN108900665A (en) * 2018-06-08 2018-11-27 Oppo广东移动通信有限公司 The control method of electronic equipment and electronic equipment
CN108965660A (en) * 2018-06-29 2018-12-07 维沃移动通信有限公司 A kind of terminal device and control method

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11089194B2 (en) * 2018-11-13 2021-08-10 Beijing Xiaomi Mobile Software Co., Ltd. Pop-up camera module and electronic device
CN112104797A (en) * 2019-06-18 2020-12-18 北京小米移动软件有限公司 Camera module, electronic equipment, and stroke detection method and device
CN112118372B (en) * 2019-06-20 2022-02-08 北京小米移动软件有限公司 Movement control method and device of image acquisition assembly, terminal and storage medium
CN112118372A (en) * 2019-06-20 2020-12-22 北京小米移动软件有限公司 Movement control method and device of image acquisition assembly, terminal and storage medium
CN110602297A (en) * 2019-09-17 2019-12-20 深圳市万普拉斯科技有限公司 Method and device for calibrating motion steps of lifting motor and mobile terminal
WO2021052252A1 (en) * 2019-09-17 2021-03-25 深圳市万普拉斯科技有限公司 Camera raising and retracting control method and apparatus, and mobile terminal
CN110581952A (en) * 2019-09-17 2019-12-17 深圳市万普拉斯科技有限公司 Camera lifting control method and device and mobile terminal
CN110928369A (en) * 2019-11-27 2020-03-27 维沃移动通信有限公司 Terminal and control method of terminal
CN111246061A (en) * 2020-01-22 2020-06-05 维沃移动通信有限公司 Mobile terminal, method for detecting shooting mode and storage medium
CN114649909A (en) * 2020-12-18 2022-06-21 华为技术有限公司 Driving device, camera device and electronic equipment
CN114649909B (en) * 2020-12-18 2025-02-18 华为技术有限公司 Driving device, camera device and electronic equipment
CN113329124A (en) * 2021-05-28 2021-08-31 北京小米移动软件有限公司 Camera control method, camera control device and storage medium
CN113347359A (en) * 2021-06-02 2021-09-03 深圳康佳电子科技有限公司 Position adjusting method, device and equipment of image acquisition device and storage medium
CN113347359B (en) * 2021-06-02 2022-10-04 深圳康佳电子科技有限公司 Position adjusting method, device and equipment of image acquisition device and storage medium
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

Similar Documents

Publication Publication Date Title
CN109873949A (en) A kind of camera control system, camera control method and mobile terminal
CN202167007U (en) Information processing equipment
CN106464801B (en) System and method for determining image resolution ratio
EP2574041B1 (en) Image capturing apparatus and control method thereof
CN104735355B (en) The image capture method and device of a kind of intelligent terminal
US20100156941A1 (en) Photographing method using multi-input scheme through touch and key manipulation and photographing apparatus using the same
US20130155276A1 (en) Image capturing apparatus, and control method and program therefor
JP5281838B2 (en) Imaging device
EP3059940B1 (en) A device with a front facing camera having discrete focus positions
CN106506957A (en) A kind of photographic method and mobile terminal
RU2009104550A (en) METHOD FOR CONTROLLING A SWITCHABLE THREE-DIMENSIONAL USER INTERFACE AND USING ITS MOBILE TERMINAL
CN106713660A (en) Panoramic selfie taking method and mobile terminal
CN110572574A (en) System and method for multi-focus imaging
CN112740651B (en) Method, apparatus, device and computer readable medium for operating a system including a display
EP2706447A3 (en) Mobile terminal and method for controlling of the same
CN103324404A (en) Method for moving icon and communication terminal
EP1925153A1 (en) Imaging apparatus, data extraction method, and data extraction program
CN102281399A (en) A kind of digital photography equipment with touch screen and its zooming method
CN106791376A (en) Imaging device, control method, control device and electronic device
CN108111766B (en) Camera rotation control method, terminal and medium product
CN110691192B (en) Image processing method, image processing device, storage medium and electronic equipment
CN104951185A (en) Information processing method and electronic equipment
JP2015225284A5 (en) Electronic device, control method therefor, program, and recording medium
US20130167089A1 (en) Electronic device
CN105959570B (en) Shooting method and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190611