CN110581938A - Mobile terminal, mobile terminal control method, and computer storage medium - Google Patents

Mobile terminal, mobile terminal control method, and computer storage medium Download PDF

Info

Publication number
CN110581938A
CN110581938A CN201910723051.XA CN201910723051A CN110581938A CN 110581938 A CN110581938 A CN 110581938A CN 201910723051 A CN201910723051 A CN 201910723051A CN 110581938 A CN110581938 A CN 110581938A
Authority
CN
China
Prior art keywords
camera
magnetic field
mobile terminal
driving
target control
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
CN201910723051.XA
Other languages
Chinese (zh)
Other versions
CN110581938B (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.)
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Transsion Holdings 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 Shenzhen Transsion Holdings Co Ltd filed Critical Shenzhen Transsion Holdings Co Ltd
Priority to CN201910723051.XA priority Critical patent/CN110581938B/en
Priority claimed from CN201910723051.XA external-priority patent/CN110581938B/en
Publication of CN110581938A publication Critical patent/CN110581938A/en
Application granted granted Critical
Publication of CN110581938B publication Critical patent/CN110581938B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • 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
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/58Means for changing the camera field of view without moving the camera body, e.g. nutating or panning of optics or image sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects

Abstract

the mobile terminal of the application includes: a housing; the camera is accommodated in the first position of the shell and can be driven to move from the first position to the second position so as to protrude out of the shell, and in the second position, the camera can be driven to a fixed angle or different angles for shooting; and the detection component is used for detecting data representing the position state of the camera, and the position state comprises a moving position and/or a rotating angle. Through the flexible and rotation of control camera on mobile terminal, can realize leading shooting, rearmounted shooting respectively and to the function such as tracking shooting of moving object to can promote mobile terminal's screen occupation of area and outward appearance uniformity, detect the data of the position state of sign camera through detecting element, can improve control accuracy.

Description

mobile terminal, mobile terminal control method, and computer storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a mobile terminal, a mobile terminal control method, and a computer storage medium.
background
At present, a plurality of mobile terminal devices represented by smart phones strive for maximization of screen occupation ratio. Because leading camera must be put in cell-phone screen side, directly leads to can't realizing real comprehensive screen function, appears many kinds of special-shaped screen designs in the market, if bang screen, water droplet screen, the screen that punches etc. both influence the product appearance, still influence user experience simultaneously.
on the other hand, current mobile terminal devices such as smart phones are mostly equipped with a front camera with a facial effect and a rear camera with night photography, wide-angle and other effects due to different requirements of self-photography and external photography. Although the arrangement meets the requirements of users, the problems of increased cost, more occupied device layout space, high after-sale difficulty and the like are caused.
disclosure of Invention
In view of the above technical problems, the present application provides a mobile terminal, a mobile terminal control method, and a computer storage medium, which can improve screen occupation ratio and appearance consistency of the mobile terminal.
In order to solve the above technical problem, the present application provides a mobile terminal, including:
A housing;
the camera is accommodated in the first position of the shell and can be driven to move from the first position to the second position so as to protrude out of the shell, and in the second position, the camera can be driven to a fixed angle or different angles for shooting;
the detection component is used for detecting data representing the position state of the camera, and the position state comprises a moving position and/or a rotating angle.
The mobile terminal comprises a driving assembly, wherein the driving assembly is used for driving the camera to move between the first position and the second position, and the driving assembly is also used for driving the camera to rotate when the camera is located at the second position.
the mobile terminal further comprises a first limiting part and a second limiting part, and the first limiting part and the second limiting part are abutted when the camera moves to a preset rotation angle.
the detection assembly comprises at least one magnetic field sensor and at least one magnet, the at least one magnet is directly or indirectly fixed on the camera, the at least one magnetic field sensor is fixed in the shell, and the at least one magnetic field sensor is used for detecting the change of a magnetic field generated by the at least one magnet along with the movement of the camera so as to represent the position state of the camera.
The camera is fixed on a support, the at least one magnet is fixed on the support, and the at least one magnetic field sensor is arranged on a circuit board in the shell.
The detection assembly comprises a first magnetic field sensor, a first magnet and a second magnet, when the rotation angle of the camera is 0 degree, the first magnet is aligned with the first magnetic field sensor, and a first magnetic pole faces the first magnetic field sensor, when the rotation angle of the camera is 180 degrees, the second magnet is aligned with the first magnetic field sensor, and a second magnetic pole faces the first magnetic field sensor, and the first magnetic pole and the second magnetic pole are magnetic poles in different directions.
the application also provides a control method of the mobile terminal, the camera of the mobile terminal is contained in the shell of the mobile terminal when the camera is at the first position, the camera protrudes out of the shell and can be driven to rotate when the camera is at the second position, and the control method of the mobile terminal comprises the following steps:
when a control signal of a camera is received, acquiring a target control position of the camera;
Judging whether the position state of the camera accords with the target control position according to the detection data of the detection assembly, wherein the position state comprises a moving position and/or a rotating angle;
And driving the camera according to the judgment result.
Wherein, the detection component comprises at least one magnetic field sensor and at least one magnet, the at least one magnetic field sensor is used for detecting the magnetic field change generated by the movement of the at least one magnet along with the camera, and the judgment of whether the position state of the camera conforms to the target control position according to the detection data of the detection component comprises the following steps:
Acquiring the magnetic field intensity detected by the detection assembly and a preset magnetic field intensity corresponding to the target control position;
comparing the magnetic field intensity with the preset magnetic field intensity;
If the comparison is consistent, the position state of the camera is consistent with the target control position;
And if the comparison is inconsistent, the position state of the camera does not accord with the target control position.
wherein, the detection component comprises at least one magnetic field sensor and at least one magnet, the at least one magnetic field sensor is used for detecting the magnetic field change generated by the movement of the at least one magnet along with the camera, and the judgment of whether the position state of the camera conforms to the target control position according to the detection data of the detection component comprises the following steps:
Acquiring the position state of the camera according to the magnetic field intensity detected by the detection assembly;
Comparing the position state of the camera with the target control position;
If the comparison is consistent, the position state of the camera is consistent with the target control position;
and if the comparison is inconsistent, the position state of the camera does not accord with the target control position.
wherein, the driving the camera according to the judgment result comprises:
If the position state of the camera does not accord with the target control position, determining a driving direction according to the position state of the camera and the target control position;
Controlling a drive assembly for driving the camera to drive the camera in the drive direction.
wherein, when the target control position is the first position, determining a driving direction according to the position state of the camera and the target control position includes:
if the position state of the camera is a rotation angle, taking the direction of rotating the camera from the rotation angle to the second position as a driving direction;
And if the position state of the camera is the second position, taking the direction of moving the camera from the second position to the first position as a driving direction.
Wherein, mobile terminal still includes first spacing portion and the spacing portion of second, first spacing portion with the spacing portion of second is in the camera moves and offsets when predetermineeing the rotation angle, predetermine the rotation angle with the second position corresponds, control is used for the drive assembly of camera is in drive direction drives the camera includes:
If the driving direction is a direction for rotating the camera from a rotation angle to the second position, calculating a first rotation angle according to the rotation angle, the driving direction and a corresponding preset rotation angle;
superposing a preset angle value on the first rotation angle to obtain a second rotation angle;
And controlling a driving assembly for driving the camera to drive the camera in the driving direction according to the second rotation angle.
wherein, the driving the camera according to the judgment result comprises:
and if the position state of the camera is consistent with the target control position, controlling a driving assembly for driving the camera to stop driving the camera.
wherein, when receiving the control signal of camera, obtain the target control position of camera, include:
When a control signal of a camera is received, acquiring the type of the control signal;
if the control signal is a signal for starting a camera, acquiring the second position as a target control position;
If the control signal is a signal for closing the camera, acquiring the first position as a target control position;
if the control signal is an identification shooting signal, identifying a shooting target through the camera, and taking an angle of the camera facing the shooting target as a target control position of the camera according to an identification result;
And if the control signal is a rotation signal, acquiring a rotation angle corresponding to the control signal as a target control position.
the present application further provides a mobile terminal, including:
a housing;
The shooting unit is accommodated in a first position in the shell and can be driven to move from the first position to a second position so as to protrude out of the shell, and the shooting unit can shoot in a first direction and a second direction at the second position;
the detection component is used for detecting data representing the position state of the shooting unit, and the position state comprises a moving position and/or a rotating angle.
the present application further provides a computer storage medium having computer program instructions stored thereon; which when executed by a processor implement the control method of the mobile terminal as described above.
As described above, in the mobile terminal of the present application, the camera is accommodated in the first position of the housing, and can be driven to move from the first position to the second position so as to protrude out of the housing, and in the second position, the camera can be driven to a fixed angle or different angles for shooting, and the mobile terminal further includes a detection component for detecting data representing a position state of the camera, where the position state includes a moving position and/or a rotation angle. Through the flexible and rotation of control camera on mobile terminal, can realize leading shooting, rearmounted shooting respectively and to the function such as tracking shooting of moving object to can promote mobile terminal's screen occupation of area and outward appearance uniformity, detect the data of the position state of sign camera through detecting element, can improve control accuracy.
according to the mobile terminal control method and the computer storage medium, the camera is controlled to stretch and rotate in a mode of detecting data representing the position state of the camera by the aid of the detection assembly, and higher control precision can be obtained.
Drawings
fig. 1 is a schematic structural diagram of a mobile terminal according to a first embodiment when a camera is located at a first position;
Fig. 2 is an exploded view of the mobile terminal according to the first embodiment;
Fig. 3 is a schematic structural view of the mobile terminal according to the first embodiment when the camera is rotated by 0 ° in the second position;
fig. 4 is a schematic structural view of the mobile terminal according to the first embodiment when the camera is rotated by 180 ° in the second position;
fig. 5 is a schematic structural view of the mobile terminal according to the first embodiment when the camera is rotated less than 180 ° in the second position;
fig. 6 is a schematic top view of the mobile terminal according to the first embodiment shown when the camera is rotated less than 180 ° in the second position;
Fig. 7 is a schematic view of the operating principle of the mobile terminal according to the first embodiment;
fig. 8 is a schematic diagram showing the connection of the magnetic field sensor with the main control chip according to the first embodiment;
fig. 9 is a schematic structural diagram of the mobile terminal according to the second embodiment when the camera is located at the first position;
Fig. 10 is an exploded view of the mobile terminal according to the second embodiment;
Fig. 11 is a schematic structural view of the mobile terminal according to the second embodiment when the camera is rotated by 0 ° in the second position;
fig. 12 is a schematic structural view of the mobile terminal according to the second embodiment when the camera is rotated by 180 ° in the second position;
Fig. 13 is a schematic structural view of the mobile terminal according to the second embodiment when the camera is rotated less than 180 ° in the second position;
Fig. 14 is a flowchart illustrating a control method of a mobile terminal according to a third embodiment;
Fig. 15 is a flowchart illustrating a control method of a mobile terminal according to a fourth embodiment;
fig. 16 is a flowchart illustrating a control method of a mobile terminal according to a fifth embodiment;
Fig. 17 is a schematic structural diagram of a mobile terminal shown in accordance with the sixth embodiment.
Detailed Description
The following description of the embodiments of the present application is provided for illustrative purposes, and other advantages and capabilities of the present application will become apparent to those skilled in the art from the present disclosure.
in the following description, reference is made to the accompanying drawings that describe several embodiments of the application. It is to be understood that other embodiments may be utilized and that mechanical, structural, electrical, and operational changes may be made without departing from the spirit and scope of the present application. The following detailed description is not to be taken in a limiting sense, and the scope of embodiments of the present application is defined only by the claims of the issued patent. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
Although the terms first, second, etc. may be used herein to describe various elements in some instances, these elements should not be limited by these terms. These terms are only used to distinguish one element from another.
Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or" and/or "as used herein are to be construed as inclusive or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a; b; c; a and B; a and C; b and C; A. b and C ". An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
first embodiment
referring to fig. 1 to 3, the mobile terminal of the present embodiment includes a housing 10, a camera 20, a driving assembly 30 and a detecting assembly 50, where the housing 10 may include a side plate and a back plate, so as to form a space for accommodating components of the mobile terminal together with a screen of the mobile terminal, and the components include a device fixed in the housing 10 and a device located in the housing 10 in a specific state.
As shown in fig. 1, the camera 20 can be accommodated in the housing 10 at a first position, which is a specific position in the housing 10, as shown in fig. 3, the camera 20 can also protrude out of the housing 10 to be at a second position, which is a position protruding out of the housing 10 and having a rotation angle of 0 ° with respect to the housing 10, and correspondingly, the camera 20 can be driven to move from the first position to the second position to protrude out of the housing 10, and can also be driven to move from the second position to the first position to be accommodated in the housing 10, thereby realizing the pushing out and recycling of the camera 20. In the present embodiment, when the camera 20 is driven to move from the second position to the first position, the camera 20 is fully accommodated in the housing 10, and when the camera 20 is driven to move from the first position to the second position, the camera 20 is fully protruded out of the housing 10. In the second position, the camera 20 may also be driven to a fixed angle or a different angle for shooting.
The driving assembly 30 is used for driving the camera 20 to move between the first position and the second position to achieve the state shown in fig. 1 and 3, respectively, and the driving assembly 30 is also used for driving the camera 20 to rotate when the camera 20 is at the second position to achieve the state shown in fig. 3, 4, 5 and 6, respectively.
referring to fig. 1, the driving assembly 30 includes a telescopic driving portion 31, a connecting seat 33, a rotary driving portion 32 and a rotary portion 35, the telescopic driving portion 31 is fixed and received in the housing 10, the telescopic driving portion 31 and the rotary driving portion 32 are respectively fixedly connected to the connecting seat 33, the rotary portion 35 is rotatably connected to the connecting seat 33, the rotary driving portion 32 is configured to drive the rotary portion 35 to rotate, the camera 20 is fixed on the rotary portion 35, the telescopic driving portion 31 is configured to drive the connecting seat 33 to reciprocate in the housing 10, so that the connecting seat 33 drives the camera 20 fixed on the rotary portion 35 to move between a first position and a second position, and the rotary driving portion 32 is configured to drive the rotary portion 35 to rotate relative to the connecting seat 33 when the camera 20 is in the second position.
In practical implementation, please refer to fig. 2 and fig. 3 together, the telescopic driving portion 31 includes a base 316, a first driving motor 311, a first transmission mechanism and a sliding block 313, the first transmission mechanism is connected to the first driving motor 311, the first driving motor 311 and a first transmission structure are disposed on the base 316, the sliding block 313 is disposed on the first transmission structure, the first transmission mechanism includes a lead screw 312 and a guide post 315, the lead screw 312 and the guide post 315 are disposed on the base 316 along a third direction 001 and a fourth direction 002, the lead screw 312 is connected to an output shaft of the first driving motor 311, the sliding block 313 is matched with the lead screw 312 through a threaded hole, so that the lead screw 312 can drive the sliding block 313 to move along the third direction 001 or the fourth direction 002, the sliding block 313 is further provided with a through hole for penetrating the guide post 315, and the guide post 315 is used for limiting the swinging of the sliding block 313 along with the lead screw 312, thereby ensuring the stability of the camera 20 extending out of the housing 10.
Connecting seat 33 includes body 331, connecting plate 332 and boss 336 set up perpendicularly in same one side of body 331 and parallel to each other, connecting plate 332 is connected with flexible drive portion 31's slider 313, make body 331 be on a parallel with third direction 001, fourth direction 002, connecting plate 332 has seted up swivelling joint through-hole 335 along third direction 001, fourth direction 002, boss 336 has seted up spacing through-hole 333 along third direction 001, fourth direction 002, swivelling joint through-hole 335 coincides with the axis of spacing through-hole 333, swivel part 35 through cooperating with swivelling joint through-hole 335 and with connecting seat 33 swivelling joint, and through cooperating with spacing through-hole 333 and set up along third direction 001, fourth direction 002. In the present embodiment, the rotating portion 35 is a rotating shaft, the camera 20 is fixed to the top end of the rotating shaft by the fixing bracket 21, the fixing bracket 21 is provided with the accommodating groove 22, and the camera 20 is accommodated in the accommodating groove 22 with the shooting direction facing the opening of the accommodating groove 22. The cross sectional dimension of fixed bolster 21 is unanimous with the cross sectional dimension of boss 336, rotating part 35 stretches out and is connected with the bottom of fixed bolster 21 from the spacing through-hole 333 of boss 336, casing 10 is equipped with opening 11, the cross sectional dimension of opening 11 is unanimous with fixed bolster 21, the cross sectional dimension of boss 336, after fixed bolster 21 passes through the protruding casing 10 that stretches out of opening 11, it is spacing that a part of boss 336 passes through opening 11, guarantee the stability of structure, the upper surface of boss 336 is flush with the surface of casing 10, guarantee the uniformity of outward appearance.
the rotation driving portion 32 includes a second driving motor 321, a second transmission structure, the second transmission structure respectively with the rotating portion 35, the second driving motor 321 is connected, the second driving motor 321 is fixed on the connecting seat 33, the second transmission mechanism includes a driving member 322 and a driven member 323 that cooperate with each other for transmission, the driving member 322 is fixedly connected with the output shaft of the second driving motor 321, the driven member 323 is fixedly connected with the rotating portion 35, the driving member 322 is in cooperation transmission with the driven member 323, thereby the rotating portion 35 can be driven to rotate through the second driving motor 321. The transmission means commonly used in the prior art may be applied to the second transmission mechanism, such as one or more of gear engagement, friction transmission, belt transmission and chain transmission. It will be appreciated that when only one of the above described transmission schemes is employed, the driving of the driven member 323 by the driving member 322 may be accomplished by only one stage of transmission. The primary transmission structure is simple, has high reliability and occupies less space inside the housing 10. When two or more of the above-described transmission modes are adopted, the transmission cooperation of the two or more is two-stage or multi-stage transmission. The two-stage or multi-stage transmission can realize a larger transmission ratio adjustment, so that the rotation control of the camera 20 by the second driving motor 321 is more accurate. In this embodiment, the driving member 322 and the driven member 323 adopt gear transmission, that is, the rotating motor drives the gear output through the output shaft, and the gear is meshed with the gear arranged on the rotating portion 35, so as to drive the rotating portion 35 by the second driving motor 321. In this embodiment, the second transmission mechanism is disposed between the connecting plate 332 and the boss 336, and the second driving motor 321 is disposed on a side of the connecting plate 332 opposite to the boss 336, so that the length of the rotating portion 35 can be shortened, the space occupied by the second driving motor 321 for sliding can be reduced, and the structural reliability can be ensured.
when the driving assembly 30 is in the initial state (refer to fig. 1), the rotating portion 35 and the camera 20 are both accommodated in the housing 10. When the driving assembly 30 is started, the first driving motor 311 drives the sliding block 313 to move along the three directions 001 through the first transmission mechanism, the sliding block 313 drives the connecting seat 33 to move towards the outside of the housing 10 along the third direction 001 synchronously, and then the rotating portion 35 is driven to carry the camera 20 to move towards the outside of the housing 10 together. When the slider 313 moves to the maximum displacement, the camera 20 is fully extended out of the housing 10 (refer to fig. 3). The shooting direction of the camera 20 at this time coincides with the lens orientation when the camera 20 is housed in the housing 10. It is understood that when the mobile terminal includes a display screen, if the lens of the camera 20 accommodated in the housing 10 is directed to face the display screen, the camera 20 shows a front camera function after being extended out of the housing 10. If the lens of the camera 20 accommodated in the housing 10 faces away from the display screen, the camera 20 extends out of the housing 10 to perform a rear camera function. The camera 20 exhibiting the front camera function may drive the camera 20 to rotate by a second driving motor 321 in the driving assembly 30 if it is required to photograph toward the rear of the mobile terminal, or the camera 20 exhibiting the rear camera function may drive the camera 20 to rotate by an angle of 180 degrees if it is required to photograph toward the front of the mobile terminal (refer to fig. 4).
in practical implementation, the fixing bracket 21 may be set to be symmetrical in front and back, and the user may change the initial lens orientation of the camera 20 in front and back according to his or her needs. For example, when the user uses the rear camera 20 function more often, the camera 20 may be adjusted to be photographed right behind the mobile terminal by rotating the driving part 32, and then the camera 20 may be retracted. At this time, the lens of the camera 20 when it is accommodated in the housing 10 faces away from the display screen, and when the camera 20 is pushed out again, the user can directly use the camera 20 in the rear camera function to perform shooting without performing the rotation function. On the contrary, if the user frequently uses the self-timer, the camera 20 can be adjusted to be right opposite to the front of the mobile terminal for shooting by the rotary driving part 32, and then the camera 20 can be retracted. When the camera 20 is pushed out again, the lens of the camera 20 faces the display screen, and the self-photographing function can be completed quickly. In this case, the second position may be the position shown in fig. 3 or 4, that is, a position protruding out of the housing 10 and rotated by 0 ° or 180 ° with respect to the housing 10 (with reference to 0 ° with the camera 20 facing the display screen).
it can be understood that after the driving assembly 30 is equipped, the mobile terminal can simultaneously save a front camera and a rear camera, and only the driving assembly 30 can meet two shooting requirements. The mobile terminal saves cost, obtains larger internal space, is beneficial to arrangement of other components, and reduces the appearance volume.
in addition to switching the camera head 20 between the rear camera function and the front camera function, the driving assembly 30 can also be used to realize the camera head 20 to rotate by other fixed angles and different angles, such as ± 90 ° or random angles following the face of a person (see fig. 5 or fig. 6).
the detecting component 50 is used for detecting data representing the position state of the camera 20, wherein the position state includes a moving position and/or a rotating angle, wherein the moving position refers to a position that can move in a linear direction, such as a first position, a second position or any position between the first position and the second position. As an embodiment, the detecting assembly 50 includes at least one magnetic field sensor and at least one magnet, the at least one magnet is directly or indirectly fixed on the camera 20, the at least one magnetic field sensor is fixed and contained in the housing 10, the magnetic field sensor is a sensor made according to a hall effect, and can be used for detecting a magnetic field strength, and during a process that the at least one magnet moves along with the camera 20, the mobile terminal can represent a position state of the camera 20 according to the magnetic field strength detected by the magnetic field sensor.
In the present embodiment, referring to fig. 2 and fig. 3, the detecting assembly 50 includes a first magnetic field sensor 51, a first magnet 521 and a second magnet 522, that is, 1 magnetic field sensor and 2 magnets, the camera 20 is fixed on the fixing bracket 21, the bottom middle portion of the fixing bracket 21 is fixedly connected to the rotating portion 35, the fixing bracket 21 is provided with fixing grooves 23 on two sides of the rotating portion 35, the first magnet 521 and the second magnet 522 are respectively fixed in the corresponding fixing grooves 23, the first magnet 521 and the second magnet 522 are, for example, magnets, and the first magnetic field sensor 51 is disposed on the circuit board 60 in the housing 10. When the camera 20 moves and rotates, the first magnetic field sensor 51 may generate corresponding detection data according to the magnetic field strength of the first magnet 521 and the second magnet 522 at the first magnetic field sensor 51, and when the positions of the first magnet 521 and the second magnet 522 are changed, the detection data of the first magnetic field sensor 51 may also be changed accordingly, so that the position state of the camera 20 may be monitored.
In practical implementation, as shown in fig. 7, when the rotation angle of the camera 20 is 0 °, the first magnet 521 is aligned with the first magnetic field sensor 51 and the first magnetic pole faces the first magnetic field sensor 51, and when the rotation angle of the camera 20 is 180 °, the second magnet 522 is aligned with the first magnetic field sensor 51 and the second magnetic pole faces the first magnetic field sensor 51, the first magnetic pole and the second magnetic pole are magnetic poles in different directions, that is, when the first magnetic pole is S-pole (south pole), the second magnetic pole is N-pole (north pole), and conversely, when the first magnetic pole is N-pole, the second magnetic pole is S-pole, so that the rotation angle and the direction of the camera 20 can be distinguished according to the detection data of the first magnetic field sensor 51, and accurate position control of the camera 20 is realized. It can be understood that the detection accuracy can be improved by reasonably configuring the number and positions of the magnetic field sensors and the magnets, and when the configurations shown in fig. 2 and 7 are adopted, the cost of the configuration can be reduced while the detection accuracy is ensured.
fig. 8 is a schematic diagram illustrating connection of the magnetic field sensor and the main control chip according to the first embodiment. As shown in fig. 8, the first magnetic field sensor 51 is a packaged chip manufactured according to the hall effect, and is connected to the main control chip 70 through an I2C bus, so that the detected data can be sent to the main control chip 70 through an I2C bus, where SCL \ SDA is a signal line of an I2C bus, SDA is a bidirectional data line, and SCL is a clock line SCL, when SCL is high, SDA jumps from high level to low level to start data transmission, when SCL is high, SDA jumps from low level to high level to end data transmission, the main control chip 70 sends a signal to the first magnetic field sensor 51 and waits for the first magnetic field sensor 51 to send an acknowledgement signal, after the main control chip 70 receives the acknowledgement signal, the main control chip 70 makes a determination on whether to continue to transmit the signal according to an actual situation, and if the acknowledgement signal is not received, it is determined that the first magnetic field sensor 51 has a fault. The other interfaces in fig. 8 are connected by a general connection, which is known to those skilled in the art and will not be described herein.
the main control chip 70 is further connected to the first driving motor 311 and the second driving motor 321 in the driving assembly 30 directly or indirectly, and after receiving the inspection data of the first magnetic field sensor 51 through the I2C bus, the main control chip 70 determines whether the current position state of the camera 20 matches the target control position according to the detection data, and further sends a corresponding control signal to the first driving motor 311 or the second driving motor 321, so as to drive the camera 20 to the target control position.
It can be understood, when the first driving motor 311 of direct control, the second driving motor 321 carries out the rotation of certain angle and drives camera 20, because the precision, reasons such as external force, make first driving motor 311 very easily, second driving motor 321 produces drive angle, the deviation of distance, and then probably lead to camera 20 can't withdraw in the casing 10 or can't accurately aim at the problem of shooing the target, and after using the inspection subassembly of this application, can be according to the accurate control of detected data and revise first driving motor 311, the drive angle of second driving motor 321, the distance, thereby realize corresponding function smoothly, fine reinforcing user experience, stop the phenomenon of breaking down in the operation process, promote product intellectuality and science and technology and feel.
Second embodiment
referring to fig. 9 to 11, the mobile terminal of the present embodiment includes a housing 10, a camera 20, a driving assembly 30 and a detecting assembly 50, where the housing 10 may include a side plate and a back plate, so as to form a space together with a screen of the mobile terminal for accommodating components of the mobile terminal, where the components include a device fixed in the housing 10 and a device located in the housing 10 in a specific state.
the driving assembly 30 is used for driving the camera 20 to move between the first position and the second position to achieve the states shown in fig. 9 and 11, respectively, and the driving assembly 30 is also used for driving the camera 20 to rotate when the camera 20 is at the second position to achieve the states shown in fig. 11, 12 and 13, respectively.
The driving assembly 30 includes a telescopic driving portion 31, a connection seat 33, a rotary driving portion 32 and a rotary portion 35, the telescopic driving portion 31 is used for driving the connection seat 33 to move along a third direction 001 or a fourth direction 002, a connection plate 332 of the connection seat 33 is connected with the telescopic driving portion 31, so that the body 331 of the connection seat 33 is parallel to the third direction 001 and the fourth direction 002, the connection plate 332 is provided with a rotary connection through hole 335 along the third direction 001 and the fourth direction 002, and the rotary portion 35 is rotatably connected with the connection seat 33 by being matched with the rotary connection through hole 335. In this embodiment, the rotating portion 35 is a rotating shaft, and the camera 20 is fixed to a top end of the rotating shaft by the fixing bracket 21.
The rotation driving portion 32 includes a second driving motor 321, a second transmission structure, the second transmission structure respectively with the rotating portion 35, the second driving motor 321 is connected, the second driving motor 321 is fixed on the connecting seat 33, the second transmission mechanism includes a driving member 322 and a driven member 323 that cooperate with each other for transmission, the driving member 322 is fixedly connected with the output shaft of the second driving motor 321, the driven member 323 is fixedly connected with the rotating portion 35, the driving member 322 is in cooperation transmission with the driven member 323, thereby the rotating portion 35 can be driven to rotate through the second driving motor 321.
the detecting assembly 50 includes a first magnetic field sensor 51, a first magnet 521 and a second magnet 522, that is, the number of the magnetic field sensors is 1, the number of the magnets is 2, the camera 20 is fixed on the fixing bracket 21, the bottom middle portion of the fixing bracket 21 is fixedly connected to the rotating portion 35, the first magnet 521 and the second magnet 522 are, for example, magnets, and the first magnetic field sensor 51 is disposed on the circuit board 60 in the housing 10. When the camera 20 moves and rotates, the first magnetic field sensor 51 may generate corresponding detection data according to the magnetic field strength of the first magnet 521 and the second magnet 522 at the first magnetic field sensor 51, and when the positions of the first magnet 521 and the second magnet 522 are changed, the detection data of the first magnetic field sensor 51 may also be changed accordingly, so that the position state of the camera 20 may be monitored.
the above structure and the corresponding working manner are the same as those of the first embodiment, and are not described herein again.
The present embodiment is different from the first embodiment in that a position limiting structure 80 is further included. As shown in fig. 10, in the present embodiment, the position limiting structure 80 includes a first position limiting portion 81 and a second position limiting portion 82, the first position limiting portion 81 is disposed at the bottom end of the rotating portion 35, the second position limiting portion 82 is disposed at a position corresponding to the rotating connection through hole 335 on the body 331 of the connecting seat 33, the first position limiting portion 81 is an arc-shaped position limiting block disposed according to a preset rotation angle and protrudes below the rotating connection through hole 335, and the second position limiting portion 82 slightly protrudes directly below the rotating connection through hole 335, so that the first position limiting portion 81 and the second position limiting portion 82 can abut against each other when the camera 20 moves to the preset rotation angle, thereby limiting the camera 20 at a specific position. In the present embodiment, the predetermined rotation angle corresponds to the second position, which is the 0 ° position corresponding to fig. 11 and the 180 ° position corresponding to fig. 12.
After the limiting structure 80 is arranged, when the camera 20 rotates to the second position, if the control system still sends a rotation instruction, the mechanical limitation can limit the movement, the second driving motor 321 idles, and the accurate positioning function is better realized. In actual implementation, when controlling the camera 20 to rotate to the second position, the preset angle value can be superimposed on the calculated angle for control, so as to ensure that the camera 20 is accurately stopped at the second position, and the camera 20 can be smoothly pulled back into the housing 10.
Third embodiment fig. 14 is a flowchart illustrating a control method of a mobile terminal according to a third embodiment. As shown in fig. 14, the method for controlling a mobile terminal according to this embodiment includes:
step 110, when a control signal of the camera is received, acquiring a target control position of the camera;
Step 120, judging whether the position state of the camera accords with the target control position according to the detection data of the detection assembly, wherein the position state comprises a moving position and/or a rotating angle;
And step 130, driving the camera according to the judgment result.
In step 110, the control signal of the camera 20 is triggered by a user operating on the mobile terminal, for example, performing a touch operation or pressing a physical key on the display screen, and in order to implement control of different functions of the camera 20, the control signals may be of various types, including starting the camera, closing the camera, rotating the camera, shooting, and recognizing shooting, where the shooting is performed at a current angle, and the recognizing shooting is performed such that the camera 20 is just shooting a shooting target. The mobile terminal generates different types of control signals according to the triggering operation of the camera 20 on the user, wherein when the camera 20 is in the first position shown in fig. 1, the mobile terminal generates a control signal for starting the camera 20, and when the camera 20 is in the second position shown in fig. 3 and 4 or any rotation angle shown in fig. 5 and 6, the mobile terminal can generate control signals for closing the camera, rotating the camera, shooting and recognizing shooting, which is specifically determined according to the operation of the user.
the different types of control signals correspond to different target control positions, when the control signals are signals for starting the camera, the second position is obtained as the target control position, when the control signals are signals for closing the camera, the first position is obtained as the target control position, when the control signals are rotation signals, the preset rotation angle corresponding to the control signals is obtained as the target control position, for example, 180 degrees, when the control signals are shooting signals, the current angle is obtained as the target control position, and when the control signals are recognition shooting, the angle enabling the camera 20 to be over against the shooting target is obtained as the target control position.
When the detecting component 50 is used to detect the magnetic field variation generated by the at least one magnet moving with the camera 20, the step 120 determines whether the position state of the camera matches the target control position according to the detection data of the detecting component, including:
Acquiring the magnetic field intensity detected by the detection assembly and a preset magnetic field intensity corresponding to the target control position;
Comparing the magnetic field intensity with a preset magnetic field intensity;
if the comparison is consistent, the position state of the camera is consistent with the target control position;
And if the comparison is inconsistent, the position state of the camera does not accord with the target control position.
Alternatively, when the detecting component 50 is used to detect the magnetic field variation generated by the at least one magnet moving with the camera 20, the step 120 of determining whether the position state of the camera matches the target control position according to the detection data of the detecting component includes:
Acquiring the position state of the camera according to the magnetic field intensity detected by the detection assembly;
Comparing the position state of the camera with a target control position;
If the comparison is consistent, the position state of the camera is consistent with the target control position;
and if the comparison is inconsistent, the position state of the camera does not accord with the target control position.
through the two manners, the mobile terminal can determine whether the camera 20 is currently located at the target control position, and then execute corresponding control operation.
In step 130, driving the camera according to the determination result, including:
If the position state of the camera does not accord with the target control position, determining a driving direction according to the position state of the camera and the target control position;
and controlling a driving component for driving the camera to drive the camera in the driving direction, and returning to the step of judging whether the position state of the camera conforms to the target control position according to the detection data of the detection component.
if the position state of the camera 20 does not match the target control position, the camera 20 is continuously driven until the camera 20 reaches the target control position. Specifically, the driving direction is determined according to the position state of the camera 20 and the target control position, for example, when the current position state of the camera 20 is the first position and the target control position is the second position, the driving direction is the third direction 001, when the current position state of the camera 20 is the second position and the target control position is the first position, the driving direction is the fourth direction 002, and when the current position state of the camera 20 is a rotation angle and the target control position is the second position, the driving direction is counterclockwise rotation or clockwise rotation. Then, the driving assembly 30 for driving the camera 20 is controlled to drive the camera 20 in a corresponding driving direction, for example, when the driving direction is the third direction 001 or the fourth direction 002, the first driving motor 311 is controlled to rotate in the corresponding direction, and when the driving direction is counterclockwise rotation or clockwise rotation, the second driving motor 321 is controlled to rotate in the corresponding direction, so that the camera 20 moves towards the target control position. In the process of driving the camera 20, whether the position state of the camera 20 is consistent with the target control position or not is judged in real time, and if not, the steps are continuously executed to enable the camera 20 to gradually approach the target control position. In actual implementation, the driving stroke of the driving assembly 30 may be calculated according to the driving direction, and when the driving assembly 30 reaches the driving stroke, the position state of the camera 20 is determined whether to match the target control position, and if not, the above steps are continuously executed to gradually approach the camera 20 to the target control position.
When the positional state of the camera 20 coincides with the target control position, the driving assembly 30 for driving the camera 20 is controlled to stop driving the camera 20. At this time, the camera 20 is precisely driven to the target control position, and since the driving group is controlled to drive the camera 20 according to the detection data of the detection assembly 50, the deviation of the driving angle and distance generated by the first driving motor 311 and the second driving motor 321 due to precision, external force and the like can be avoided, and the problem that the camera 20 cannot be retracted into the housing 10 or cannot be accurately aligned with the shooting target can be further solved.
Fourth embodiment
fig. 15 is a flowchart illustrating a control method of a mobile terminal according to a fourth embodiment. As shown in fig. 15, when the target control position is the first position, the method for controlling the mobile terminal includes:
step 210, acquiring a first position as a target control position;
Step 220, judging whether the position state of the camera is consistent with the first position; if not, go to step 230; otherwise, go to step 270;
step 230, acquiring the position state of the camera, and if the position state of the camera is a rotation angle, executing step 240; if the position status of the camera is the second position, step 250;
Step 240, taking the direction of rotating the camera from the rotation angle to the second position as the driving direction, and executing step 260;
Step 250, taking the direction of moving the camera from the second position to the first position as the driving direction, and executing step 260;
step 260, controlling a driving assembly for driving the camera to drive the camera in a driving direction, and executing step 220;
and step 270, controlling a driving component for driving the camera to stop driving the camera.
wherein, when the control signal is to close the camera, the first position is obtained as the target control position to recover the camera 20. And driving the camera 20 to recover in different routes according to the current position state of the camera 20.
When the position state of the camera 20 is the second position, please refer to fig. 3 or fig. 4, a direction that can move the camera 20 from the second position to the first position is taken as a driving direction, that is, a fourth direction 002 is taken as a driving direction, then, the first driving motor 311 is controlled to drive the lead screw 312 to pull the slider 313 back to the initial position along the fourth direction 002, and further, the camera 20 fixed on the rotating portion 35 is pulled back to the first position through the connecting seat 33, in this process, the second driving motor 321, the driving member 322 and the driven member 323 do not work, and the camera 20 is recovered into the housing 10 with the current shooting angle maintained. In the working process of the first driving motor 311, the first magnetic field sensor 51 detects the magnetic field strength, compares the detected magnetic field strength with the preset magnetic field strength corresponding to the first position, and when the detected magnetic field strength is the same as the preset magnetic field strength corresponding to the first position, the first driving motor 311 is controlled to stop working, and the camera 20 is driven to the first position and accommodated in the housing 10. To this end, the control process of recovering the camera 20 from the second position into the housing 10 is completed. It will be appreciated that the control process for pushing the camera head 20 out of the first position to the second position is similar, except that the output direction of the first drive motor 311 is reversed.
Referring to fig. 5 and 6, when the position state of the camera 20 is the first rotation position, a direction in which the camera 20 can be rotated from the rotation angle to the second position is first used as the driving direction, when the second position is the position shown in fig. 3, the clockwise rotation is used as the driving direction, and when the second position is the position shown in fig. 4, the counterclockwise rotation is used as the driving direction. Then, the second driving motor 321 is controlled to drive the driving member 322 to rotate, and further the driven member 323 drives the rotating portion 35 to rotate in the corresponding direction, so as to rotate the camera 20 fixed on the rotating portion 35 to the second position, in this process, the first driving motor 311, the lead screw 312, and the slider 313 do not operate, and the camera 20 does not perform linear movement. In the working process of the second driving motor 321, the magnetic field intensity is detected through the first magnetic field sensor 51, the detected magnetic field intensity is compared with the preset magnetic field intensity corresponding to the second position, when the detected magnetic field intensity is the same as the preset magnetic field intensity corresponding to the second position, the second driving motor 321 is controlled to stop working, and the camera 20 is driven to the second position. After the camera 20 is driven to the second position, the position state of the camera 20 is the second position and still does not match the first position, and at this time, the camera recovery process corresponding to fig. 3 or fig. 4 is executed, that is, the first driving motor 311 is controlled to drive the screw 312 to pull the slider 313 back to the initial position along the fourth direction 002, and then the camera 20 fixed on the rotating portion 35 is pulled back to the first position through the connecting seat 33, when the detected magnetic field strength is the same as the preset magnetic field strength corresponding to the first position, the first driving motor 311 is controlled to stop working, and the camera 20 is driven to the first position and is accommodated in the housing 10. At this point, the control process of recovering the camera 20 into the housing 10 from a certain rotation angle is completed. It can be understood that, in contrast to the control process of driving the camera 20 to a certain rotation angle from the first position, the camera 20 is started to drive the camera 20 to the second position, and then the camera 20 is driven to rotate to a certain angle.
In an embodiment, when the limiting structure 80 shown in the second embodiment is disposed in the mobile terminal, the step 260 of controlling the driving assembly for driving the camera to drive the camera in the driving direction may include:
If the driving direction is a direction for rotating the camera from a rotation angle to a second position, calculating a first rotation angle according to the rotation angle, the driving direction and a corresponding preset rotation angle;
superposing a preset angle value on the first rotation angle to obtain a second rotation angle;
and controlling a driving assembly for driving the camera to drive the camera in the driving direction according to the second rotation angle.
the first rotation angle is a rotation angle at which the camera 20 just rotates to the second position, the preset angle value is, for example, 5 °, and the two are overlapped to obtain the second rotation angle, so that when the camera 20 rotates to the second position, the motor in the rotation driving portion 32 continues to drive, and the camera 20 is enabled to accurately stop at the second position.
The embodiment can realize that the camera 20 is directly recovered from the second position or directly recovered from a rotation angle, and the user only needs to click to close the camera 20 to realize the automatic recovery of the camera 20, and the operation is simple.
fifth embodiment
fig. 16 is a flowchart illustrating a control method of a mobile terminal according to a fifth embodiment. As shown in fig. 16, when the control signal of the camera is the recognition photographing signal, the control method of the mobile terminal includes:
step 310, when the control signal of the camera is the recognition shooting signal, recognizing the shooting target through the camera;
step 320, taking the angle of the camera facing the shooting target as a target control position of the camera according to the recognition result;
step 330, judging whether the position state of the camera accords with the target control position according to the detection data of the detection assembly;
And step 340, driving the camera according to the judgment result.
The user can select the shooting target by clicking the scene in the view-finding frame so as to trigger and identify the shooting signal. Or triggering and identifying the shooting signal through preset operation, and identifying and selecting the shooting target in the view-finding frame according to preset priority through program control built in the mobile terminal. In general, the recognized shooting targets may be marked with frame lines in the finder frame.
the mobile terminal determines a target control position according to the relative position between the shooting target and the current shooting direction of the camera 20, and drives the camera 20 to rotate according to the target control position to obtain the shooting angle facing the shooting target, and the control process of step 330 and step 340 please refer to the related description of the embodiment of fig. 14, which is not repeated herein.
The embodiment is convenient for users to obtain a better shooting angle without adjusting the shooting posture. In the daily use process, due to the position relation between the shooting target and the user, the user can often adopt an unconventional shooting posture to obtain a better framing effect. Or, when the user is in a prone position, a sitting position, or the like, and is not convenient to move the body to adjust the shooting posture, a certain bad experience is also caused to shooting. Further, the action of pressing the shutter by the user in the case of an abnormal shooting posture is also laborious, which is likely to cause shaking of the mobile terminal and affect the imaging quality. According to the mobile terminal control method, the shooting target is identified, and the rotation angle of the camera 20 is adjusted through the driving assembly 30, so that the effect of directly facing the shooting target is achieved, better imaging quality can be obtained, and shooting experience of a user is improved.
when the shooting target is a moving target, step 320 uses the angle at which the camera is facing the shooting target as the target control position of the camera according to the recognition result, including:
If the shooting target is a moving target, calculating the angle of the camera facing the shooting target in real time according to the recognition result;
And updating the target control position of the camera according to the calculation result.
specifically, after the mobile terminal completes the recognition of the photographic target, if the photographic target keeps moving relative to the mobile terminal, the angle of the photographic target relative to the camera 20 is always in a changed state. In order to obtain a better shooting effect, the mobile terminal may drive the camera 20 to rotate through the second driving motor 321, so as to maintain the tracking alignment state of the camera 20 on the moving object. As can be appreciated, it is difficult for the mobile terminal to obtain a high-quality imaging effect for a moving photographic target. On one hand, the moving shooting target is relatively difficult to focus, and on the other hand, the shooting angle of the moving shooting target is difficult to obtain. Users often move mobile terminals to capture moving targets, and it is more difficult for the moving mobile terminals to achieve accurate focusing on the targets, thereby affecting the quality of the shooting. The mobile terminal control method of the embodiment can solve the problem of the shooting angle of the shooting target by rotating the camera 20 to keep tracking the moving shooting target. Meanwhile, the mobile terminal can keep a stable state, and a better focusing effect is obtained.
an embodiment, after the mobile terminal identifies the shooting target through the camera 20, further includes:
and if the shooting target is recognized to be the face, controlling the shooting mode to be switched to the beauty mode.
specifically, if the mobile terminal recognizes that the shooting target is a human face through the camera 20, the mobile terminal automatically switches the current shooting mode to the beauty mode. The front camera 20 of the mobile terminal is usually used for self-timer shooting, so that the front camera 20 is automatically switched to the beauty mode when being turned on. The user can obtain better self-timer effect through the beauty mode.
sixth embodiment
fig. 17 is a schematic structural diagram of a terminal shown according to the sixth embodiment. As shown in fig. 17, the mobile terminal of the present embodiment includes a housing 10a, a photographing unit 200, and a detecting member (not shown).
the photographing unit 200 is accommodated in a first position in the housing 10a, and can be driven to move from the first position to a second position to protrude out of the housing 10a, and in the second position, the photographing unit 200 can photograph in a first direction 003 and a second direction 005. The first direction 003 and the second direction 005 form a certain angle, and the angle is any included angle larger than 0 degree and smaller than 360 degrees. Therefore, the mobile terminal according to the present embodiment can rotate the photographing unit 200 at least in two different directions for photographing after being extended. For example, when the first direction 003 is 0 ° and the second direction 005 is 180 °, the photographing unit 200 can simultaneously realize the functions of the forward and backward photographing.
the detection component is used for detecting data representing the position state of the shooting unit 200, wherein the position state comprises a moving position and/or a rotating angle. Furthermore, it can be understood that in the present embodiment, the movement of the shooting unit 200 from the first position to the second position further needs to be driven by a driving component 30 similar to that shown in fig. 2, and the driving component in the present embodiment is directly or indirectly connected to the shooting unit 200 for driving the shooting unit 200 to move back and forth and driving the shooting unit 200 to rotate at a certain angle, and shooting is performed. The shooting unit 200 is accommodated in the housing 10a and driven by the driving assembly to extend completely or partially beyond the edge of the housing 10 a.
in one embodiment, the shooting unit 200 includes a first camera 20a and a second camera 20 b. In which the first camera 20a photographs in the first direction 003 and the second camera 20b photographs in the second direction 005. The first camera 20a and the second camera 20b are preferably arranged side by side. Thus, as in the mobile terminal shown in fig. 1, two cameras 20, two driving assemblies 30, and two detecting assemblies 50 are required. It can be understood that, when the first camera 20a and the second camera 20b are disposed side by side, the two driving assemblies also need to be disposed side by side, and the disposing distance of the two detecting assemblies is subject to no mutual interference.
The structure and the control method of the mobile terminal of the present embodiment refer to the description of the embodiments shown in fig. 1 to fig. 16, which are not repeated herein. The difference is that the first camera 20a and the second camera 20b can be controlled individually or synchronously.
The present application further provides a computer storage medium having computer program instructions stored thereon; which when executed by a processor implement the control method of the mobile terminal as described above.
the above embodiments are merely illustrative of the principles and utilities of the present application and are not intended to limit the application. Any person skilled in the art can modify or change the above-described embodiments without departing from the spirit and scope of the present application. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical concepts disclosed in the present application shall be covered by the claims of the present application.

Claims (16)

1. A mobile terminal, comprising:
a housing;
The camera is accommodated in the first position of the shell and can be driven to move from the first position to the second position so as to protrude out of the shell, and in the second position, the camera can be driven to a fixed angle or different angles for shooting;
the detection component is used for detecting data representing the position state of the camera, and the position state comprises a moving position and/or a rotating angle.
2. The mobile terminal of claim 1, comprising a drive assembly configured to drive the camera to move between the first position and the second position, the drive assembly further configured to drive the camera to rotate when the camera is in the second position.
3. the mobile terminal according to claim 1, further comprising a first limiting portion and a second limiting portion, wherein the first limiting portion and the second limiting portion abut against each other when the camera moves to a predetermined rotation angle.
4. The mobile terminal according to any of claims 1 to 3, wherein the detection assembly comprises at least one magnetic field sensor and at least one magnet, the at least one magnet is directly or indirectly fixed on the camera, the at least one magnetic field sensor is fixed in the housing, and the at least one magnetic field sensor is used for detecting a change of a magnetic field generated by the at least one magnet along with the movement of the camera so as to represent the position state of the camera.
5. The mobile terminal of claim 4, wherein the camera is secured to a cradle, the at least one magnet is secured to the cradle, and the at least one magnetic field sensor is disposed on a circuit board within the housing.
6. The mobile terminal of claim 4, wherein the detection assembly comprises a first magnetic field sensor, a first magnet aligned with the first magnetic field sensor and having a first magnetic pole facing the first magnetic field sensor when the camera is rotated through an angle of 0 °, and a second magnet aligned with the first magnetic field sensor and having a second magnetic pole facing the first magnetic field sensor when the camera is rotated through an angle of 180 °, the first magnetic pole and the second magnetic pole being magnetic poles of different directions.
7. a control method of a mobile terminal is characterized in that a camera of the mobile terminal is contained in a shell of the mobile terminal when in a first position, and the camera protrudes out of the shell and can be driven to rotate when in a second position, and the control method of the mobile terminal comprises the following steps:
When a control signal of a camera is received, acquiring a target control position of the camera;
Judging whether the position state of the camera accords with the target control position according to the detection data of the detection assembly, wherein the position state comprises a moving position and/or a rotating angle;
And driving the camera according to the judgment result.
8. The method according to claim 7, wherein the detecting component includes at least one magnetic field sensor and at least one magnet, the at least one magnetic field sensor is configured to detect a change in a magnetic field generated by the at least one magnet along with the movement of the camera, and the determining whether the position status of the camera matches the target control position according to the detection data of the detecting component includes:
acquiring the magnetic field intensity detected by the detection assembly and a preset magnetic field intensity corresponding to the target control position;
comparing the magnetic field intensity with the preset magnetic field intensity;
If the comparison is consistent, the position state of the camera is consistent with the target control position;
and if the comparison is inconsistent, the position state of the camera does not accord with the target control position.
9. the method according to claim 7, wherein the detecting component includes at least one magnetic field sensor and at least one magnet, the at least one magnetic field sensor is configured to detect a change in a magnetic field generated by the at least one magnet along with the movement of the camera, and the determining whether the position status of the camera matches the target control position according to the detection data of the detecting component includes:
Acquiring the position state of the camera according to the magnetic field intensity detected by the detection assembly;
comparing the position state of the camera with the target control position;
if the comparison is consistent, the position state of the camera is consistent with the target control position;
and if the comparison is inconsistent, the position state of the camera does not accord with the target control position.
10. The method according to claim 7, wherein the driving the camera according to the determination result comprises:
if the position state of the camera does not accord with the target control position, determining a driving direction according to the position state of the camera and the target control position;
controlling a drive assembly for driving the camera to drive the camera in the drive direction.
11. the method according to claim 10, wherein when the target control position is the first position, the determining a driving direction according to the position state of the camera and the target control position comprises:
if the position state of the camera is a rotation angle, taking the direction of rotating the camera from the rotation angle to the second position as a driving direction;
And if the position state of the camera is the second position, taking the direction of moving the camera from the second position to the first position as a driving direction.
12. The method according to claim 10, wherein the mobile terminal further includes a first limiting portion and a second limiting portion, the first limiting portion and the second limiting portion abut against each other when the camera moves to a predetermined rotation angle, the predetermined rotation angle corresponds to the second position, and the controlling a driving assembly for driving the camera drives the camera in the driving direction includes:
if the driving direction is a direction for rotating the camera from a rotation angle to the second position, calculating a first rotation angle according to the rotation angle, the driving direction and a corresponding preset rotation angle;
Superposing a preset angle value on the first rotation angle to obtain a second rotation angle;
And controlling a driving assembly for driving the camera to drive the camera in the driving direction according to the second rotation angle.
13. The method according to claim 7, wherein the driving the camera according to the determination result comprises:
and if the position state of the camera is consistent with the target control position, controlling a driving assembly for driving the camera to stop driving the camera.
14. The method according to claim 7, wherein the obtaining the target control position of the camera when receiving the control signal of the camera comprises:
When a control signal of a camera is received, acquiring the type of the control signal;
If the control signal is a signal for starting a camera, acquiring the second position as a target control position;
If the control signal is a signal for closing the camera, acquiring the first position as a target control position;
If the control signal is an identification shooting signal, identifying a shooting target through the camera, and taking an angle of the camera facing the shooting target as a target control position of the camera according to an identification result;
and if the control signal is a rotation signal, acquiring a rotation angle corresponding to the control signal as a target control position.
15. A mobile terminal, comprising:
A housing;
The shooting unit is accommodated in a first position in the shell and can be driven to move from the first position to a second position so as to protrude out of the shell, and the shooting unit can shoot in a first direction and a second direction at the second position;
the detection component is used for detecting data representing the position state of the shooting unit, and the position state comprises a moving position and/or a rotating angle.
16. a computer storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement a control method of a mobile terminal according to any of claims 7-14.
CN201910723051.XA 2019-08-06 Mobile terminal, mobile terminal control method, and computer storage medium CN110581938B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910723051.XA CN110581938B (en) 2019-08-06 Mobile terminal, mobile terminal control method, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910723051.XA CN110581938B (en) 2019-08-06 Mobile terminal, mobile terminal control method, and computer storage medium

Publications (2)

Publication Number Publication Date
CN110581938A true CN110581938A (en) 2019-12-17
CN110581938B CN110581938B (en) 2024-05-03

Family

ID=

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131569A (en) * 2019-12-23 2020-05-08 瑞声通讯科技(常州)有限公司 Electronic device and method of use
CN111131672A (en) * 2019-12-23 2020-05-08 瑞声通讯科技(常州)有限公司 Imaging device, electronic apparatus, and method for using electronic apparatus
CN111131674A (en) * 2019-12-23 2020-05-08 瑞声通讯科技(常州)有限公司 Imaging device and electronic apparatus
CN111140738A (en) * 2019-12-31 2020-05-12 维沃移动通信有限公司 Driving mechanism and electronic device
CN111147715A (en) * 2019-12-23 2020-05-12 瑞声科技(南京)有限公司 Image pickup device, method for controlling movement of image pickup device, and electronic apparatus
CN111163247A (en) * 2019-12-23 2020-05-15 瑞声通讯科技(常州)有限公司 Imaging device, electronic apparatus, and method for using electronic apparatus
CN111193848A (en) * 2019-12-23 2020-05-22 瑞声通讯科技(常州)有限公司 Imaging device, electronic apparatus, and method for using electronic apparatus
CN111208619A (en) * 2020-04-23 2020-05-29 瑞声通讯科技(常州)有限公司 Lens assembly and terminal equipment
CN111225148A (en) * 2020-01-17 2020-06-02 深圳康佳电子科技有限公司 Smart television, camera control method and storage medium
CN111246061A (en) * 2020-01-22 2020-06-05 维沃移动通信有限公司 Mobile terminal, method for detecting shooting mode and storage medium
CN111432593A (en) * 2020-03-02 2020-07-17 维沃移动通信有限公司 Electronic device
CN112351161A (en) * 2019-08-08 2021-02-09 华为技术有限公司 Camera assembly and electronic equipment
CN112422722A (en) * 2020-11-16 2021-02-26 深圳传音控股股份有限公司 Terminal, control method of terminal, and readable storage medium
WO2021127928A1 (en) * 2019-12-23 2021-07-01 诚瑞光学(常州)股份有限公司 Electronic device with liftable bidirectional rotating lens, and method for using same
WO2021127934A1 (en) * 2019-12-23 2021-07-01 诚瑞光学(常州)股份有限公司 Photographing apparatus, electronic device, and method for using electronic device
CN113395373A (en) * 2021-04-06 2021-09-14 上海福赛梦扬科技有限公司 Camera control method and device
CN113452917A (en) * 2021-07-06 2021-09-28 信利光电股份有限公司 Automatic focusing method and system for front-back shared camera
CN114244939A (en) * 2022-01-05 2022-03-25 维沃移动通信有限公司 Electronic device
CN115242525A (en) * 2022-07-26 2022-10-25 北京京东方技术开发有限公司 Terminal device, state control method and control system of terminal device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2056600A1 (en) * 2007-10-31 2009-05-06 LG Electronics Inc. Mobile terminal
CN108833621A (en) * 2018-06-06 2018-11-16 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and its control method
CN109068032A (en) * 2018-08-29 2018-12-21 维沃移动通信有限公司 A kind of electronic equipment
CN109819079A (en) * 2019-04-08 2019-05-28 维沃移动通信(杭州)有限公司 A kind of terminal and camera control method
CN109951702A (en) * 2019-03-29 2019-06-28 华为技术有限公司 Position detecting mechanism, mobile terminal and method for detecting position

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2056600A1 (en) * 2007-10-31 2009-05-06 LG Electronics Inc. Mobile terminal
CN108833621A (en) * 2018-06-06 2018-11-16 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and its control method
CN109068032A (en) * 2018-08-29 2018-12-21 维沃移动通信有限公司 A kind of electronic equipment
CN109951702A (en) * 2019-03-29 2019-06-28 华为技术有限公司 Position detecting mechanism, mobile terminal and method for detecting position
CN109819079A (en) * 2019-04-08 2019-05-28 维沃移动通信(杭州)有限公司 A kind of terminal and camera control method

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112351161A (en) * 2019-08-08 2021-02-09 华为技术有限公司 Camera assembly and electronic equipment
CN111193848B (en) * 2019-12-23 2021-02-19 诚瑞光学(常州)股份有限公司 Imaging device, electronic apparatus, and method for using electronic apparatus
CN111131672B (en) * 2019-12-23 2022-03-08 诚瑞光学(常州)股份有限公司 Imaging device, electronic apparatus, and method for using electronic apparatus
WO2021127928A1 (en) * 2019-12-23 2021-07-01 诚瑞光学(常州)股份有限公司 Electronic device with liftable bidirectional rotating lens, and method for using same
CN111147715A (en) * 2019-12-23 2020-05-12 瑞声科技(南京)有限公司 Image pickup device, method for controlling movement of image pickup device, and electronic apparatus
CN111131569A (en) * 2019-12-23 2020-05-08 瑞声通讯科技(常州)有限公司 Electronic device and method of use
CN111193848A (en) * 2019-12-23 2020-05-22 瑞声通讯科技(常州)有限公司 Imaging device, electronic apparatus, and method for using electronic apparatus
CN111131674A (en) * 2019-12-23 2020-05-08 瑞声通讯科技(常州)有限公司 Imaging device and electronic apparatus
CN111131674B (en) * 2019-12-23 2021-06-01 诚瑞光学(常州)股份有限公司 Imaging device and electronic apparatus
CN111163247A (en) * 2019-12-23 2020-05-15 瑞声通讯科技(常州)有限公司 Imaging device, electronic apparatus, and method for using electronic apparatus
CN111163247B (en) * 2019-12-23 2021-07-30 诚瑞光学(常州)股份有限公司 Imaging device, electronic apparatus, and method for using electronic apparatus
CN111131672A (en) * 2019-12-23 2020-05-08 瑞声通讯科技(常州)有限公司 Imaging device, electronic apparatus, and method for using electronic apparatus
WO2021127934A1 (en) * 2019-12-23 2021-07-01 诚瑞光学(常州)股份有限公司 Photographing apparatus, electronic device, and method for using electronic device
WO2021127927A1 (en) * 2019-12-23 2021-07-01 瑞声声学科技(深圳)有限公司 Photographing apparatus, method for controlling movement of photographing apparatus, and electronic device
CN111147715B (en) * 2019-12-23 2021-03-02 瑞声科技(南京)有限公司 Image pickup device, method for controlling movement of image pickup device, and electronic apparatus
CN111140738A (en) * 2019-12-31 2020-05-12 维沃移动通信有限公司 Driving mechanism and electronic device
CN111225148A (en) * 2020-01-17 2020-06-02 深圳康佳电子科技有限公司 Smart television, camera control method and storage medium
CN111246061B (en) * 2020-01-22 2021-08-06 维沃移动通信有限公司 Mobile terminal, method for detecting shooting mode and storage medium
CN111246061A (en) * 2020-01-22 2020-06-05 维沃移动通信有限公司 Mobile terminal, method for detecting shooting mode and storage medium
CN111432593B (en) * 2020-03-02 2021-07-13 维沃移动通信有限公司 Electronic device
CN111432593A (en) * 2020-03-02 2020-07-17 维沃移动通信有限公司 Electronic device
WO2021212576A1 (en) * 2020-04-23 2021-10-28 诚瑞光学(常州)股份有限公司 Lens assembly and terminal device
CN111208619A (en) * 2020-04-23 2020-05-29 瑞声通讯科技(常州)有限公司 Lens assembly and terminal equipment
CN112422722A (en) * 2020-11-16 2021-02-26 深圳传音控股股份有限公司 Terminal, control method of terminal, and readable storage medium
CN113395373A (en) * 2021-04-06 2021-09-14 上海福赛梦扬科技有限公司 Camera control method and device
WO2022257945A1 (en) * 2021-04-06 2022-12-15 上海福赛梦扬科技有限公司 Camera control method and apparatus
CN113452917A (en) * 2021-07-06 2021-09-28 信利光电股份有限公司 Automatic focusing method and system for front-back shared camera
CN114244939A (en) * 2022-01-05 2022-03-25 维沃移动通信有限公司 Electronic device
CN115242525A (en) * 2022-07-26 2022-10-25 北京京东方技术开发有限公司 Terminal device, state control method and control system of terminal device
CN115242525B (en) * 2022-07-26 2024-01-30 北京京东方技术开发有限公司 Terminal equipment, state control method and control system of terminal equipment

Similar Documents

Publication Publication Date Title
WO2020215591A1 (en) Mobile terminal and mobile terminal control method
EP3565225B1 (en) Mobile terminal
JP2009260627A (en) Display device
CN109995973B (en) Functional module, electronic device and control method of electronic device
WO2021147912A1 (en) Camera module, electronic device, and camera module control method
KR102430566B1 (en) Photographing apparatus, method of oprating the same and wireless comunication terminal
CN113037903B (en) Electronic equipment
KR20070095015A (en) Camera device and information communication apparatus
CN210839751U (en) Terminal device
CN110381256B (en) Terminal device, control method and control device thereof, and computer-readable storage medium
CN110581938B (en) Mobile terminal, mobile terminal control method, and computer storage medium
CN110581938A (en) Mobile terminal, mobile terminal control method, and computer storage medium
CN115616831B (en) Aperture control method, aperture controller, camera module and electronic equipment
EP3817346B1 (en) Terminal device
CN107979720B (en) Electronic apparatus and image pickup apparatus
CN112437214B (en) Electronic equipment and camera unit thereof
EP2357787B1 (en) Method and apparatus for reducing continuous autofocus power consumption
CN114244939A (en) Electronic device
CN112714237B (en) Terminal device, lens adjusting method and readable storage medium
US6393218B1 (en) Camera
JP3194114B2 (en) Driving device for zoom lens
CN113260918A (en) Image forming apparatus with a plurality of image forming units
CN112771486B (en) Terminal equipment and function starting control method
US20110194849A1 (en) Imaging apparatus
WO2020150948A1 (en) Electronic device and control method therefor

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