CN111083346A - Camera control method and device and terminal - Google Patents

Camera control method and device and terminal Download PDF

Info

Publication number
CN111083346A
CN111083346A CN201811223938.4A CN201811223938A CN111083346A CN 111083346 A CN111083346 A CN 111083346A CN 201811223938 A CN201811223938 A CN 201811223938A CN 111083346 A CN111083346 A CN 111083346A
Authority
CN
China
Prior art keywords
terminal
acceleration
camera
vertical direction
control module
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
CN201811223938.4A
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201811223938.4A priority Critical patent/CN111083346A/en
Publication of CN111083346A publication Critical patent/CN111083346A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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/66Remote control of cameras or camera parts, e.g. by remote control devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a camera control method, a device and a terminal, wherein the method comprises the following steps: when a camera arranged on the terminal is in a popup state, acquiring the acceleration of the terminal in the vertical direction; judging whether the acceleration exceeds a prestored acceleration threshold value; and if so, controlling the camera to shrink. According to the embodiment of the invention, when the acceleration of the terminal in the vertical direction exceeds the acceleration threshold, the camera in the popup state is controlled to shrink, so that the camera is prevented from being damaged when the terminal falls.

Description

Camera control method and device and terminal
Technical Field
The invention relates to the technical field of terminals, in particular to a camera control method, a camera control device and a terminal.
Background
The terminal is usually provided with a camera to meet the photographing requirement of a user, and by taking a smart phone as an example, the smart phone is more and more diversified in the aspect of the camera at present, for example, in order to ensure the effect of a full screen and have characteristics, a pop-up front camera has appeared on the market, and the front camera is in a pop-up state when being used, and if the smart phone loses hands and falls on the ground at the moment, the front camera is easily damaged due to being exposed outside.
Disclosure of Invention
The invention provides a camera control method, a camera control device and a terminal, which are used for solving the problem that a pop-up camera is in a pop-up state and is easily damaged when the terminal falls in the prior art.
The invention provides a camera control method, which is applied to a terminal and comprises the following steps:
when a camera arranged on the terminal is in a popup state, acquiring the acceleration of the terminal in the vertical direction;
judging whether the acceleration exceeds a prestored acceleration threshold value;
and if so, controlling the camera to shrink.
Further, if the acceleration does not exceed a pre-saved acceleration threshold, the method further comprises:
and keeping the pop-up state of the camera unchanged.
Further, the acquiring the acceleration of the terminal in the vertical direction includes:
and acquiring the acceleration of the terminal in the vertical direction through an acceleration sensor arranged in the terminal.
Further, still be provided with control module and pop out the device of withdrawing in the terminal, control the camera shrink includes:
and controlling the control module to execute the action of retracting the camera through the ejecting and retracting device.
Further, the control module comprises at least an electric machine or motor;
the ejecting and withdrawing device at least comprises a sliding rail or a tension spring.
The invention provides a terminal which comprises a main control chip, an acceleration sensor and a control module which are respectively connected with the main control chip, a camera and a popup recovery device which are respectively connected with the control module;
the acceleration sensor is used for acquiring the acceleration of the terminal in the vertical direction; judging whether the acceleration exceeds a prestored acceleration threshold value; if yes, feeding back a contraction signal to the main control chip;
when the main control chip determines that the camera is in the pop-up state, a contraction command is sent to the control module according to the contraction signal;
and when receiving the contraction command, the control module executes the action of contracting the camera through the ejection and retraction device.
Further, the acceleration sensor is specifically configured to feed back a contraction signal to the main control chip through a Serial Peripheral Interface (SPI) communication interface.
Further, the control module comprises at least an electric machine or motor;
the ejecting and withdrawing device at least comprises a sliding rail or a tension spring.
The invention provides a camera control device, which is applied to a terminal and comprises:
the acquisition unit is used for acquiring the acceleration of the terminal in the vertical direction when a camera arranged on the terminal is in a popup state;
the judging unit is used for judging whether the acceleration exceeds a prestored acceleration threshold value;
and the control unit is used for controlling the camera to contract when the judgment result of the judgment unit is yes.
Further, the control unit is further configured to keep the pop-up state of the camera unchanged when the determination result of the determining unit is negative.
Further, the acquisition unit is specifically configured to acquire, through an acceleration sensor provided in the terminal, an acceleration of the terminal in the vertical direction.
Further, the control unit is specifically configured to control a control module arranged in the terminal to execute an action of retracting the camera through an ejection retraction device arranged in the terminal.
Further, the control module comprises at least an electric machine or motor;
the ejecting and withdrawing device at least comprises a sliding rail or a tension spring.
The invention provides a camera control method, a camera control device and a terminal, wherein the method comprises the following steps: when a camera arranged on the terminal is in a popup state, acquiring the acceleration of the terminal in the vertical direction; judging whether the acceleration exceeds a prestored acceleration threshold value; and if so, controlling the camera to shrink. According to the embodiment of the invention, when the acceleration of the terminal in the vertical direction exceeds the acceleration threshold, the camera in the popup state is controlled to shrink, so that the camera is prevented from being damaged when the terminal falls.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a camera control process provided in embodiment 1 of the present invention;
fig. 2 is a schematic view of a control flow of a camera according to embodiment 3 of the present invention;
fig. 3 is a schematic structural diagram of a terminal according to embodiment 4 of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to embodiment 4 of the present invention;
fig. 5 is a schematic diagram of a camera control device according to embodiment 5 of the present invention.
Detailed Description
The embodiment of the invention provides a camera control method and device and a terminal, and aims to avoid the problem that a camera is damaged by collision when the terminal falls.
The camera control method provided by the embodiment of the invention can be applied to a terminal, and the terminal comprises a hardware layer, an operating system layer running on the hardware layer and an application layer running on the operating system.
The hardware layer includes hardware such as a Central Processing Unit (CPU), a Memory Management Unit (MMU), and a Memory.
The operating system may be any one or more computer operating systems that implement camera control through a Process (Process), such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system.
In the embodiment of the present invention, the terminal may be a handheld device such as a smart phone and a tablet computer, or a terminal device such as a desktop computer and a portable computer, which is not particularly limited in the embodiment of the present invention, as long as the camera control can be implemented by running a program recorded with codes of the camera control method in the embodiment of the present invention.
The execution main body of the camera control in the embodiment of the present invention may be a terminal, or a functional module capable of calling a program and executing the program in the terminal.
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
fig. 1 is a schematic diagram of a camera control process provided in an embodiment of the present invention, where the process includes the following steps:
s101: and when a camera arranged on the terminal is in a popup state, acquiring the acceleration of the terminal in the vertical direction.
The camera control method provided by the embodiment of the invention is applied to a terminal, the terminal is provided with a camera, the camera can be a pop-up camera, and the pop-up camera can be a front camera or a rear camera, generally a front camera.
The camera control method provided by the embodiment of the invention is mainly completed when the camera arranged on the terminal is in the popup state.
The terminal may determine whether the camera is in the pop-up state, and determining whether the camera is in the pop-up state by the terminal may be storing a current state of the camera in the terminal, so that the stored state may determine whether the camera is in the pop-up state, or may be determining whether the camera is in the pop-up state according to a working state of a device that is used to control whether the camera is popped up, so as to determine whether the camera is in the pop-up state according to the working state of the device, for example, the device may be a motor.
When the terminal determines that the camera is in the popup state, the acceleration of the terminal in the vertical direction can be acquired.
When the acceleration of the terminal in the vertical direction is collected, the acceleration can be collected by an acceleration sensor arranged in the terminal or collected by a gravity sensor arranged in the terminal.
S102: judging whether the acceleration exceeds a prestored acceleration threshold value; if yes, S103 is carried out; if not, proceed to S104.
The terminal is pre-stored with an acceleration threshold, where the acceleration threshold is an acceleration threshold determined by accelerations acquired through multiple experiments at a preset height that is harmful to the camera, and specifically, the acceleration threshold may be an average value or a minimum value of accelerations acquired through multiple experiments at a height that is harmful to the camera. The preset height can be any height which is harmful to the camera, such as 1 meter, 2 meters or 5 meters.
After acquiring the acceleration of the terminal in the vertical direction, the terminal may determine whether the acceleration exceeds the acceleration threshold, thereby determining whether the terminal is currently falling, and if the acceleration exceeds the acceleration threshold, may determine that the terminal is currently falling, and if the acceleration does not exceed the acceleration threshold, may determine that the terminal is not currently falling. Therefore, different steps are executed according to different judgment results of whether the acceleration exceeds the acceleration threshold, which is equivalent to executing corresponding steps according to whether the current terminal is in a falling state.
The process of determining whether the acceleration exceeds the acceleration threshold may be completed by a main control chip in the terminal, or may be completed by an acceleration sensor or a gravity sensor in the terminal.
S103: and controlling the camera to shrink.
If the terminal determines that the acquired acceleration exceeds a prestored acceleration threshold value, the terminal can be considered to be in a falling state, and the camera is controlled to shrink in order to protect the camera in the popping state.
When the terminal is used for controlling the camera to shrink, the terminal can be realized by the working state of a device used for controlling whether the camera pops up or not, for example, the terminal can be realized by a control module, the control module can be a motor or a motor and other modules, and when the control module is specifically controlled, the control module can pop up a recovery device through a sliding rail, a tension spring and the like to control the camera.
S104: and keeping the pop-up state of the camera unchanged.
If the terminal determines that the acquired acceleration does not exceed a prestored acceleration threshold value, the terminal can be considered to be not in a falling state, and the camera in the popping state does not need to be controlled to shrink, namely the popping state of the camera is kept unchanged.
When the terminal keeps the popping state of the camera unchanged, the terminal can be realized by the working state of the device for controlling whether the camera pops up or not.
According to the embodiment of the invention, when the acceleration of the terminal in the vertical direction exceeds the acceleration threshold, the camera in the popup state is controlled to shrink, so that the camera is prevented from being damaged when the terminal falls.
Example 2:
on the basis of the above embodiment, in the embodiment of the present invention, the acquiring the acceleration of the terminal in the vertical direction includes:
and acquiring the acceleration of the terminal in the vertical direction through an acceleration sensor arranged in the terminal.
In order to realize the acquisition of the acceleration of the terminal in the vertical direction, the acceleration can be acquired by an acceleration sensor in the embodiment of the invention.
The acceleration sensor is arranged in the terminal and can be connected with a main control chip of the terminal, so that the acquired acceleration of the terminal in the vertical direction is sent to the main control chip, or a judgment result of whether the acceleration exceeds an acceleration threshold value is sent to the main control chip.
The process of acquiring the acceleration of the terminal in the vertical direction by the acceleration sensor belongs to the prior art and is not described in detail in the embodiment of the invention.
The acceleration sensor can be used for collecting acceleration in the vertical direction in real time when collecting the acceleration of the terminal, and can be used for sending a collecting instruction to the acceleration sensor by the main control chip when determining that the camera is in a popup state, and indicating the acceleration sensor to collect.
In the embodiment of the invention, the acceleration of the terminal in the vertical direction can be acquired through the acceleration sensor, so that the camera can be correspondingly controlled according to the acquired acceleration.
Example 3:
on the basis of the above embodiments, in an embodiment of the present invention, the terminal is further provided with a control module and an ejecting and retracting device, and the controlling of the camera to retract includes:
and controlling the control module to execute the action of retracting the camera through the ejecting and retracting device.
The control module comprises at least an electric machine or a motor;
the ejecting and withdrawing device at least comprises a sliding rail or a tension spring.
In order to realize the control of the camera, the control module can be used for controlling the camera in the embodiment of the invention.
The terminal is provided with a control module, the control module at least comprises a motor or a motor and the like, of course, other device structures capable of realizing the same control function also belong to the protection range of the scheme, no index is made here, the control module is taken as the motor as an example, the motor is a device for controlling whether the camera is popped up, and the motor can be connected with a main control chip, so that when the acceleration of the terminal in the vertical direction exceeds an acceleration threshold, the camera in the popping-up state is controlled.
If the acceleration of the terminal in the vertical direction exceeds the acceleration threshold, the main control chip sends a contraction command to the motor when determining that the acceleration exceeds the acceleration threshold, and specifically, the contraction command may be a level signal, and specifically, may be a low level signal. If the acceleration of the terminal in the vertical direction exceeds the acceleration threshold, the acceleration sensor directly sends a contraction command to the motor or feeds back a contraction signal to the main control chip, and the main control chip sends the contraction command to the motor after receiving the contraction signal.
When the motor receives a contraction command, the action of contracting the camera is executed.
The motor executes the action of contracting the camera, and the process of realizing the contraction of the camera can realize the contraction of the camera by controlling the sliding rail, the tension spring and the like to pop out the retracting device for the motor.
Of course, in the embodiment of the present invention, only the ejecting and retracting device is taken as the sliding rail and the tension spring as an example for description, and other structures capable of realizing the ejecting and retracting function also belong to the protection scope of the present disclosure, and are not described herein again.
Except for the motor, when the control module realizes the same control function for the motor or other device structures, the control process is similar to that of the motor, and the detailed description is omitted in the embodiment of the invention.
The following describes the above embodiments by taking fig. 2 as an example, and if the terminal shown in fig. 2 is a mobile phone, and the front-facing camera of the mobile phone is in a pop-up state, the method includes the following steps: the mobile phone is provided with an acceleration threshold A, the acceleration sensor can acquire that the mobile phone moves at an acceleration B in the vertical direction, and the acceleration sensor judges whether the acceleration B is greater than or equal to the acceleration threshold A or not; if not, the motor in the mobile phone does not act, and the function of the mobile phone body keeps the current state, namely the front-facing camera keeps the popup state unchanged; if the acceleration sensor feeds back a signal through the communication interface, the main chip sends a command to the motor, so that the motor executes the action of contracting the front camera, and the front camera is contracted under the display screen by the motor, so as to achieve the effect of protecting the camera in the popup state.
The terminal is provided with the control module and the popping and withdrawing device, so that the camera in the popping state is controlled when the acceleration of the terminal in the vertical direction is determined to exceed the acceleration threshold.
Example 4:
on the basis of the foregoing embodiments, fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention, where the terminal includes a main control chip 301, an acceleration sensor 302 and a control module 303 respectively connected to the main control chip 301, and a camera 304 and an ejection and retraction device 305 respectively connected to the control module 303;
the acceleration sensor 302 is used for acquiring the acceleration of the terminal in the vertical direction; judging whether the acceleration exceeds a prestored acceleration threshold value; if yes, feeding back a contraction signal to the main control chip 301;
when determining that the camera 304 is in the pop-up state, the main control chip 301 sends a shrink command to the control module 303 according to the shrink signal;
when receiving the retraction command, the control module 303 performs an action of retracting the camera 304 by the ejection retraction device 305.
In order to avoid the situation that the camera is damaged when the terminal falls, the terminal provided by the embodiment of the invention comprises a main control chip, an acceleration sensor, a control module, a popup recovery device and the camera.
The acceleration sensor can acquire the acceleration of the terminal in the vertical direction, and the process of acquiring the acceleration of the terminal in the vertical direction by the acceleration sensor belongs to the prior art and is not described in detail in the embodiment of the invention.
The acceleration sensor may have an acceleration threshold stored in advance or an acceleration threshold stored in advance in the main control chip.
If the acceleration threshold is pre-stored in the acceleration sensor, after the acceleration sensor acquires the acceleration of the terminal in the vertical direction, whether the acquired acceleration exceeds the acceleration threshold can be directly judged. If the acceleration threshold is pre-stored in the main control chip, the acceleration sensor may acquire the acceleration threshold in the main control chip, and then determine whether the acquired acceleration exceeds the acceleration threshold.
The result of judging whether the acceleration exceeds the acceleration threshold value by the acceleration sensor can represent whether the current terminal is in a dropping state, if the acceleration exceeds the acceleration threshold value, the current terminal can be considered to be in the dropping state, and if the acceleration does not exceed the acceleration threshold value, the current terminal can be considered to be not in the dropping state.
When the acceleration sensor determines that the acceleration exceeds the acceleration threshold, a contraction signal can be fed back to the main control chip, the main control chip can determine whether the camera is in a popup state, if the camera is determined to be in the popup state, the main control chip sends a contraction command to the control module, and after the control module receives the contraction command, the control module executes the action of contracting the camera through the popup retracting device.
The control module comprises at least an electric machine or a motor;
the ejecting and withdrawing device at least comprises a sliding rail or a tension spring.
The acceleration sensor is specifically configured to feed back a contraction signal to the main control chip through an SPI (Serial Peripheral Interface) communication Interface.
Since each component in the terminal needs to be powered on during operation, the connection relationship between each component and the battery module for supplying Power is shown in fig. 4, the control module is exemplified by a motor in fig. 4, the pop-up and retraction module is not shown in fig. 4, and the Power management module is further included in fig. 4, and can receive the Power-on or Power-off operation of the Power key, so as to indicate whether the battery module supplies Power to other modules. Specifically, when power is supplied, a channel is formed between the battery module and the power management module, the battery module can directly supply power to the front camera to enable the front camera to acquire images, and the battery module supplies power to the motor and the CPU main chip, namely the main control chip and the acceleration sensor, through the power management module.
According to the embodiment of the invention, when the acceleration of the terminal in the vertical direction exceeds the acceleration threshold, the camera in the popup state is controlled to shrink, so that the camera is prevented from being damaged when the terminal falls.
Example 5:
fig. 5 is a schematic diagram of a camera control device 500 according to an embodiment of the present invention, which is applied to a terminal, and includes:
the acquisition unit 501 is used for acquiring the acceleration of the terminal in the vertical direction when a camera arranged on the terminal is in a popup state;
a judging unit 502, configured to judge whether the acceleration exceeds a pre-stored acceleration threshold;
a control unit 503, configured to control the camera to zoom in when the determination result of the determining unit 502 is yes.
The control unit 503 is further configured to keep the pop-up state of the camera unchanged when the determination result of the determining unit is negative.
The acquisition unit 501 is specifically configured to acquire an acceleration of the terminal in a vertical direction through an acceleration sensor provided in the terminal.
The control unit 503 is specifically configured to execute an action of retracting the camera through a control module provided in the terminal by using a pop-up retracting device provided in the terminal.
The control module comprises at least an electric machine or a motor;
the ejecting and withdrawing device at least comprises a sliding rail or a tension spring.
According to the embodiment of the invention, when the acceleration of the terminal in the vertical direction exceeds the acceleration threshold, the camera in the popup state is controlled to shrink, so that the camera is prevented from being damaged when the terminal falls.
For the system/apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
It is to be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or operation from another entity or operation without necessarily requiring or implying any actual such relationship or order between such entities or operations.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (11)

1. A camera control method is applied to a terminal, and comprises the following steps:
when a camera arranged on the terminal is in a popup state, acquiring the acceleration of the terminal in the vertical direction;
judging whether the acceleration exceeds a prestored acceleration threshold value;
and if so, controlling the camera to shrink.
2. The method of claim 1, wherein if the acceleration does not exceed a pre-saved acceleration threshold, the method further comprises:
and keeping the pop-up state of the camera unchanged.
3. The method of claim 1, wherein the acquiring acceleration of the terminal in a vertical direction comprises:
and acquiring the acceleration of the terminal in the vertical direction through an acceleration sensor arranged in the terminal.
4. A terminal is characterized by comprising a main control chip, an acceleration sensor and a control module which are respectively connected with the main control chip, a camera and a popup recovery device which are respectively connected with the control module;
the acceleration sensor is used for acquiring the acceleration of the terminal in the vertical direction; judging whether the acceleration exceeds a prestored acceleration threshold value; if yes, feeding back a contraction signal to the main control chip;
when the main control chip determines that the camera is in the pop-up state, a contraction command is sent to the control module according to the contraction signal;
and when receiving the contraction command, the control module executes the action of contracting the camera through the ejection and retraction device.
5. The terminal according to claim 4, wherein the acceleration sensor is specifically configured to feed back a contraction signal to the main control chip through a Serial Peripheral Interface (SPI) communication interface.
6. A terminal according to claim 4 or 5, characterised in that the control module comprises at least an electric machine or motor;
the ejecting and withdrawing device at least comprises a sliding rail or a tension spring.
7. A camera control device, applied to a terminal, the device comprising:
the acquisition unit is used for acquiring the acceleration of the terminal in the vertical direction when a camera arranged on the terminal is in a popup state;
the judging unit is used for judging whether the acceleration exceeds a prestored acceleration threshold value;
and the control unit is used for controlling the camera to contract when the judgment result of the judgment unit is yes.
8. The apparatus according to claim 7, wherein the control unit is further configured to keep the ejection state of the camera unchanged when the determination result of the determining unit is negative.
9. The device according to claim 7, wherein the acquisition unit is specifically configured to acquire the acceleration of the terminal in a vertical direction by an acceleration sensor provided in the terminal.
10. The device according to claim 7 or 9, wherein the control unit is specifically configured to control a control module disposed in the terminal to perform an action of retracting the camera via an ejection retraction device disposed in the terminal.
11. The apparatus of claim 10, wherein the control module comprises at least an electric machine or motor;
the ejecting and withdrawing device at least comprises a sliding rail or a tension spring.
CN201811223938.4A 2018-10-19 2018-10-19 Camera control method and device and terminal Pending CN111083346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811223938.4A CN111083346A (en) 2018-10-19 2018-10-19 Camera control method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811223938.4A CN111083346A (en) 2018-10-19 2018-10-19 Camera control method and device and terminal

Publications (1)

Publication Number Publication Date
CN111083346A true CN111083346A (en) 2020-04-28

Family

ID=70309460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811223938.4A Pending CN111083346A (en) 2018-10-19 2018-10-19 Camera control method and device and terminal

Country Status (1)

Country Link
CN (1) CN111083346A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101162348A (en) * 2006-10-12 2008-04-16 华晶科技股份有限公司 Digital cameras with automatically retracting lens and automatically retracting method thereof
CN101498824A (en) * 2008-02-01 2009-08-05 佛山普立华科技有限公司 Imaging device and its use method
US20160361643A1 (en) * 2015-06-15 2016-12-15 Oculus Vr, Llc Virtual Reality System with Camera Shock-Mounted to Head-Mounted Display
CN107302661A (en) * 2017-06-26 2017-10-27 维沃移动通信有限公司 A kind of camera control method and mobile terminal
CN107872582A (en) * 2017-11-20 2018-04-03 上海理工大学 A kind of mobile phone shatter-resistant self-protecting device and method
CN108616682A (en) * 2018-05-18 2018-10-02 维沃移动通信有限公司 A kind of camera head protecting method and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101162348A (en) * 2006-10-12 2008-04-16 华晶科技股份有限公司 Digital cameras with automatically retracting lens and automatically retracting method thereof
CN101498824A (en) * 2008-02-01 2009-08-05 佛山普立华科技有限公司 Imaging device and its use method
US20160361643A1 (en) * 2015-06-15 2016-12-15 Oculus Vr, Llc Virtual Reality System with Camera Shock-Mounted to Head-Mounted Display
CN107302661A (en) * 2017-06-26 2017-10-27 维沃移动通信有限公司 A kind of camera control method and mobile terminal
CN107872582A (en) * 2017-11-20 2018-04-03 上海理工大学 A kind of mobile phone shatter-resistant self-protecting device and method
CN108616682A (en) * 2018-05-18 2018-10-02 维沃移动通信有限公司 A kind of camera head protecting method and terminal

Similar Documents

Publication Publication Date Title
US10643055B2 (en) Fingerprint recognition method and system capable of improving fingerprint recognition rate
CN108288044B (en) Electronic device, face recognition method and related product
EP3454251B1 (en) Unlocking control methods and related products
CN107454303A (en) A kind of video anti-fluttering method and terminal device
CN107622191B (en) Unlocking control method and related product
CN104657188A (en) Startup control method and device and electronic equipment
CN111526289A (en) Shooting method and device, electronic equipment and readable storage medium
CN104780316A (en) Camera starting detection method and camera starting detection device
US20150141081A1 (en) Method of detection and display of charging information of power bank
EP3428780B1 (en) Method for enabling biometric recognition pattern and related products
EP3503516A1 (en) Capturing method and ralated products
CN105678146A (en) Terminal and operation method thereof
CN107426416A (en) A kind of method for reducing temperature rise, computer-readable recording medium, mobile terminal
CN106684985B (en) Wireless charging control method and wireless charging device
US20160150478A1 (en) Data Processing Method, Terminal, Subscriber Identity Module Card, and System
CN111083346A (en) Camera control method and device and terminal
CN114430484A (en) Method and device for determining abnormality of motor device, storage medium, and electronic device
CN110087000A (en) A kind of camera control method, device and computer readable storage medium
CN107832669B (en) Face detection method and related product
CN106022059B (en) A kind of unlocked by fingerprint method and terminal
CN111666227A (en) Page bump protection method and device for memory recovery of operating system
CN107729832B (en) Face detection method and related product
CN104423847B (en) Information processing method, electronic equipment and external equipment
CN104978566A (en) Picture processing method and terminal
CN104463034A (en) Method and device for safely, conveniently and quickly uninstalling external storage device

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: 20200428