CN113766127B - Mobile terminal control method and device, storage medium and electronic equipment - Google Patents

Mobile terminal control method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113766127B
CN113766127B CN202111045607.8A CN202111045607A CN113766127B CN 113766127 B CN113766127 B CN 113766127B CN 202111045607 A CN202111045607 A CN 202111045607A CN 113766127 B CN113766127 B CN 113766127B
Authority
CN
China
Prior art keywords
mobile terminal
state
state information
detection data
optical image
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.)
Active
Application number
CN202111045607.8A
Other languages
Chinese (zh)
Other versions
CN113766127A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202111045607.8A priority Critical patent/CN113766127B/en
Publication of CN113766127A publication Critical patent/CN113766127A/en
Application granted granted Critical
Publication of CN113766127B publication Critical patent/CN113766127B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/682Vibration or motion blur correction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure relates to the technical field of camera module control, in particular to a control method and device of a mobile terminal, a computer readable storage medium and electronic equipment, wherein the mobile terminal comprises a camera module and a state detection unit, the camera module comprises an optical image stabilizer, and the method comprises the following steps: acquiring detection data acquired by a state detection unit; determining state information of the mobile terminal according to the detection data, wherein the state information comprises a shaking state and a static state; and controlling the optical image stabilizer to start in response to the state information being in the shaking state. The technical scheme of the embodiment of the disclosure can solve the problem of abnormal sound of the camera module under the condition of ensuring the endurance of the mobile terminal to a certain extent at least.

Description

Mobile terminal control method and device, storage medium and electronic equipment
Technical Field
The disclosure relates to the technical field of camera module control, in particular to a control method and device of a mobile terminal, a computer readable storage medium and electronic equipment.
Background
Most mobile terminals in the current market are provided with a camera module, and most mobile terminals are provided with an optical image stabilizer, and the camera module is used for detecting the shaking direction of the mobile terminal through an acceleration sensor, and controlling the lens movement direction to be consistent with the mobile terminal through a motor so as to achieve the anti-shake effect.
In the related art, when a camera module is in a non-starting state, an optical image stabilizer is not electrified, an internal lens group of the camera module is in a free state, a mobile terminal shakes, and the camera module has abnormal sound; when the camera shooting module is in an on state, an optical image stabilizer in the camera shooting module controls a motor for moving a lens to work, the motor generates torque, movement of an inner lens set of the camera shooting module is controlled, and collision between the lens set and other components in the lens in the shaking process can be avoided. However, when the camera module is started for a long time, the electric energy of the mobile terminal is consumed, and the cruising ability is reduced.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The disclosure aims to provide a control method of a mobile terminal, a control device of the mobile terminal, a computer readable medium and electronic equipment, so that the problem of abnormal sound of a camera module can be solved at least to a certain extent under the condition of ensuring the cruising ability of the mobile terminal.
According to a first aspect of the present disclosure, there is provided a control method of a mobile terminal including a camera module including an optical image stabilizer including:
acquiring detection data acquired by the state detection unit;
determining state information of the mobile terminal according to the detection data, wherein the state information comprises a shaking state and a static state;
and controlling the optical image stabilizer to start in response to the state information being a shaking state.
According to a second aspect of the present disclosure, there is provided a control device of a mobile terminal including a camera module including an optical image stabilizer, and a state detection unit, including:
the detection module is used for acquiring detection data acquired by the state detection unit;
the determining module is used for determining state information of the mobile terminal according to the detection data, wherein the state information comprises a shaking state and a static state;
and the control module is used for responding to the state information to be in a shaking state and controlling the optical image stabilizer to start.
According to a third aspect of the present disclosure, there is provided a computer readable medium having stored thereon a computer program which, when executed by a processor, implements the method described above.
According to a fourth aspect of the present disclosure, there is provided an electronic apparatus, comprising:
a processor; and
and a memory for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the methods described above.
According to the control method of the mobile terminal, which is provided by the embodiment of the disclosure, detection data acquired by the state detection unit are acquired; determining state information of the mobile terminal according to the detection data, wherein the state information comprises a shaking state and a static state; and controlling the optical image stabilizer to start in response to the state information being in the shaking state. Compared with the prior art, the optical image stabilizer can be started to eliminate abnormal sound of the camera module when the mobile terminal is detected to be in a shaking state under the condition that the camera module is not started.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort. In the drawings:
fig. 1 schematically illustrates a flowchart of a control method of a mobile terminal in an exemplary embodiment of the present disclosure;
fig. 2 is a flowchart schematically showing a detailed procedure of a control method of a mobile terminal in an exemplary embodiment of the present disclosure
FIG. 3 schematically illustrates a data flow diagram of a mobile terminal in an exemplary embodiment of the present disclosure;
fig. 4 schematically illustrates a composition diagram of a control device of a mobile terminal in an exemplary embodiment of the present disclosure.
FIG. 5 shows a schematic diagram of an electronic device to which embodiments of the present disclosure may be applied;
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
A control method of a mobile terminal and a control apparatus of a mobile terminal according to exemplary embodiments of the present disclosure are specifically described below.
Fig. 1 shows a flow of a control method of a mobile terminal in this exemplary embodiment, where the mobile terminal includes a camera module and a state detection unit, the camera module includes an optical image stabilizer, and the control method of the mobile terminal includes the following steps:
step S110, acquiring detection data acquired by the state detection unit;
step S120, determining state information of the mobile terminal according to the detection data, wherein the state information comprises a shaking state and a static state;
and step S130, controlling the optical image stabilizer to start in response to the state information being a shaking state.
Compared with the related art, the optical image stabilizer can be started to eliminate abnormal sound of the camera module when the mobile terminal is detected to be in a shaking state under the condition that the camera module is not started.
The above steps are described in detail below.
In step S110, detection data acquired by the state detection unit is acquired.
In an example embodiment of the present disclosure, the mobile terminal may be a mobile phone, a tablet computer, or the like, and the mobile terminal includes a camera module and a state detection unit, the camera module includes an optical image stabilizer, and the mobile terminal is not specifically limited in this example embodiment.
In this example embodiment, the state detecting unit may be an acceleration sensor for detecting an acceleration of the mobile terminal, and when the acceleration sensor is used to detect the acceleration of the mobile terminal, a spatial three-dimensional coordinate system may be first established for the mobile terminal, including an X axis, a Y axis, and a Z axis, and when the acceleration sensor is used to detect the acceleration of the mobile terminal in the X axis, the Y axis, and the Z axis, respectively.
The detection data may be a standard deviation of the acceleration, that is, the acceleration data in a second preset time may be acquired by using a preset sampling frequency, and then the standard deviation is calculated, where the preset sampling frequency may be 100 times per second, 120 times per second, or the like, and may be customized according to a user requirement, which is not specifically limited in this exemplary embodiment. The second preset time may be 1 second, 2 seconds, etc., or may be customized according to user requirements, which is not specifically limited in this exemplary embodiment.
In the present exemplary embodiment, the detection data may be the standard deviation of the acceleration of any one of the X-axis, the Y-axis, and the Z-axis, and may be the sum of the standard deviations of any two of the X-axis, the Y-axis, and the Z-axis, or may be the sum of the standard deviations of the acceleration of three of the X-axis, the Y-axis, and the Z-axis, and is not particularly limited in the present exemplary embodiment.
In step S120, state information of the mobile terminal is determined according to the detection data, where the state information includes a shaking state and a stationary state.
In step S130, the optical image stabilizer is controlled to be started in response to the status information being a shaking status.
In an example embodiment of the present disclosure, after the detection data is obtained, state information of the mobile terminal may be determined according to the detection data, where the state information may include a shaking state and a stationary state.
In an exemplary embodiment, a first preset value may be preconfigured, then a processor determines a magnitude relation between the detection data and the first preset value, and in response to the detection data being greater than or equal to the first preset value, the state of the mobile terminal may be determined to be a shaking state, and in response to the detection data being less than the first preset value, the state of the mobile terminal may be determined to be a stationary state.
In this example embodiment, the first preset value may be 0.3, 0.4, 0.5, or the like, or may be customized according to a user requirement, which is not specifically limited in this example embodiment.
In another exemplary embodiment, a timeout data may be configured first, and an initial value of the timeout data may be configured as a first value, and in addition, the timeout data may also be a second value, where the first value corresponds to the second value, the first value may be 0, and the second value may be 1 at this time, further, the first value may be a, and the second value may be B, that is, the first value and the second value may be different, which is not specifically limited in this exemplary embodiment.
In this exemplary embodiment, referring to fig. 2, step S210 may be first performed, and if the value of the timeout data is the first value or the second value, step S220 may be performed after that, the state of the mobile terminal may be determined based on the detection data and the first preset value, specifically, if the detection data is greater than or equal to the first preset value, step S230 may be performed, and if the detection data is less than the first preset value, step S290 may be performed, and it may be determined that the state of the mobile terminal is a stationary state. Then, step S240 may be performed to determine whether the detected data is smaller than a first preset value, if yes, step S290 may be performed, if not, step S230 may be performed to determine that the state of the mobile terminal is a shaking state, and step S250 may be performed simultaneously to determine whether the on-time of the optical image stabilizer is longer than the first preset time, if yes, step S260 may be performed to configure the value of the timeout data to a second value after the mobile terminal is in the shaking state for the first preset time, step S290 may be performed to match the state of the movement to a stationary state, at this time, the optical image stabilizer may be turned off, and meanwhile, the detected data of the mobile terminal may be continuously detected, step S270 may be performed to determine that the state of the detected data is determined by using the detected data and the second preset value, if the detected data is greater than or equal to the second preset value, step S230 may be performed to determine that the mobile terminal is a shaking state, and the processor may control the optical image stabilizer to be started, and if the detected data is smaller than the second preset value S280 is configured to be the stationary state, and the optical image stabilizer is configured to be turned off.
In another exemplary embodiment, after the step S270 is executed, step S230 is executed if the detected data is greater than or equal to the second preset value, and the mobile terminal is determined to be in a shake state, at this time, the processor controls the optical image stabilizer to start, if the detected data is less than the second preset value and greater than the first preset value, the timeout data is configured to be the second value, and step S290 is executed to determine that the mobile terminal is in a stationary state, and control the optical image stabilizer to close. If the detected data is smaller than the first preset value, step S280 and step S290 are performed, the value of the timeout data is configured to be the first value, and the mobile terminal is determined to be in a stationary state, so as to control the optical image stabilizer to be turned off.
In this example embodiment, the second preset value is greater than the first preset value, and the second preset value may be 0.5, 0.6, or the like, or may be customized according to a user requirement, which is not specifically limited in this example embodiment.
In this example embodiment, the user continuously shakes the mobile terminal during the exercise process such as running and climbing, and the optical image stabilizer is continuously in the on state, so that the cruising ability of the mobile terminal is reduced, and therefore, the timeout data is set, so that after the user continuously shakes for a certain time, the optical image stabilizer is turned off, so as to improve the cruising ability of the mobile terminal.
Referring to fig. 3, in this exemplary embodiment, the mobile terminal may include a power management module 330, and the processor 320 receives the collected detection data sent by the acceleration sensor 310 and controls the power management module according to the detection data to start and stop the optical image stabilizer in the image capturing module 340, where the power management module 330 is configured to supply power to the acceleration sensor 310, the processor 320, and the image capturing module 340.
In summary, in this exemplary embodiment, a first preset value is set first, the detection data of the mobile terminal is detected by using the acceleration sensor, and the state information of the mobile terminal is determined according to the detection data and the first preset value, when the mobile terminal is in a shaking state, the optical image stabilizer is turned on, so as to solve the shaking problem of the camera module in the mobile terminal, further, a delay index is set, and the problem of reduced cruising ability of the mobile terminal caused by that the optical image stabilizer is always in the turned-on state is prevented.
It is noted that the above-described figures are merely schematic illustrations of processes involved in a method according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
Further, referring to fig. 4, in this exemplary embodiment, there is further provided a control apparatus 400 of a mobile terminal, where the mobile terminal includes a camera module and a state detection unit, and the camera module includes an optical image stabilizer, and includes a detection module 410, a determination module 420, and a control module 430. Wherein:
the detection module 410 may be configured to obtain detection data collected by the status detection unit,
the determining module 420 may be configured to determine state information of the mobile terminal according to the detection data, where the state information includes a shaking state and a stationary state.
The control module 430 may be configured to activate the optical image stabilizer when the status information is a shaking status.
In an exemplary embodiment, the state detection unit includes an acceleration sensor, and the detection data includes a standard deviation of acceleration of the mobile terminal within a second preset time.
In an exemplary embodiment, the determining module 420 may determine that the state information of the mobile terminal is a shaking state in response to the detection data being greater than or equal to a first preset value; and responding to the detection data being smaller than the first preset value, and judging that the state information of the mobile terminal is in a static state.
In an exemplary embodiment, a timeout module may be further configured to configure timeout data and configure the initial value to a first value, configure the timeout data to a second value after controlling the optical image stabilizer to start for a first preset time, and shut down the optical image stabilizer.
In this example embodiment, when the timeout data is the second value, the determining module 420 may determine that the state information of the mobile terminal is a shaking state when the detection data is greater than or equal to a second preset value;
and when the detection data is smaller than a second preset value, judging that the state information of the mobile terminal is in a static state, wherein the second preset value is larger than the first preset value. Specifically, in response to the detection data being smaller than the second preset value and larger than the first preset value, configuring the timeout data to the second value, and determining that the state information of the mobile terminal is in a stationary state; and in response to the detection data being smaller than a first preset value, configuring the timeout data to be a first numerical value, and judging the state information of the mobile terminal to be a static state.
In one example embodiment, the control module 430 may control the optical image stabilizer to be turned off in response to the status information being in a stationary state.
The specific details of each module in the above apparatus are already described in the method section, and the details that are not disclosed can be referred to the embodiment of the method section, so that they will not be described in detail.
The configuration of the electronic device will be exemplarily described below using the mobile terminal 500 of fig. 5 as an example. It will be appreciated by those skilled in the art that the configuration of fig. 5 can also be applied to stationary type devices in addition to components specifically for mobile purposes. In other embodiments, mobile terminal 500 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. The interfacing relationship between the components is shown schematically and is not limiting on the structure of the mobile terminal 500. In other embodiments, the mobile terminal 500 may also employ a different interface from that of fig. 5, or a combination of interfaces.
As shown in fig. 5, the mobile terminal 500 may specifically include: processor 510, internal memory 521, external memory interface 522, universal serial bus (Universal Serial Bus, USB) interface 530, charge management module 540, power management module 541, battery 542, antenna 1, antenna 2, mobile communication module 550, wireless communication module 560, audio module 570, speaker 571, receiver 572, microphone 573, ear-piece interface 574, sensor module 580, display screen 590, camera module 591, indicator 592, motor 593, keys 594, and subscriber identity module (subscriber identification module, SIM) card interface 595, among others. The sensor module 580 may include a depth sensor 5801, a pressure sensor 5802, a gyroscope sensor 5803, an acceleration sensor 5804, and the like.
Processor 510 may include one or more processing units, such as: processor 510 may include an application processor (Application Processor, AP), a modem processor, a graphics processor (Graphics Processing Unit, GPU), an image signal processor (Image Signal Processor, ISP), a controller, a video codec, a digital signal processor (Digital Signal Processor, DSP), a baseband processor, and/or a Neural network processor (Neural-Network Processing Unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The NPU is a Neural-Network (NN) computing processor, and can rapidly process input information by referencing a biological Neural Network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the mobile terminal 500 may be implemented by the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The processor 510 is provided with a memory. The memory may store instructions for implementing six modular functions: detection instructions, connection instructions, information management instructions, analysis instructions, data transfer instructions, and notification instructions, and are controlled to be executed by the processor 510.
The charge management module 540 is configured to receive a charge input from a charger. The power management module 541 is configured to connect the battery 542, the charge management module 540, and the processor 510. The power management module 541 receives input from the battery 542 and/or the charge management module 540, and provides power to the processor 510, the internal memory 521, the display 590, the camera module 591, the wireless communication module 560, and the like.
The wireless communication function of the mobile terminal 500 may be implemented by the antenna 1, the antenna 2, the mobile communication module 550, the wireless communication module 560, a modem processor, a baseband processor, and the like. Wherein the antenna 1 and the antenna 2 are used for transmitting and receiving electromagnetic wave signals; the mobile communication module 550 may provide a solution including 2G/3G/4G/5G wireless communication applied to the mobile terminal 500; the modem processor may include a modulator and a demodulator; the wireless communication module 560 may provide solutions for wireless communication including wireless local area network (Wireless Local Area Networks, WLAN) (e.g., wireless fidelity (Wireless Fidelity, wi-Fi) network), bluetooth (BT), etc. applied on the mobile terminal 500. In some embodiments, antenna 1 and mobile communication module 550 of mobile terminal 200 are coupled, and antenna 2 and wireless communication module 560 are coupled, so that mobile terminal 500 may communicate with a network and other devices through wireless communication technology.
The mobile terminal 500 implements display functions through a GPU, a display screen 590, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 590 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 510 may include one or more GPUs that execute program instructions to generate or change display information.
The mobile terminal 500 may implement a photographing function through an ISP, a camera module 591, a video codec, a GPU, a display screen 590, an application processor, and the like. The ISP is used for processing data fed back by the camera module 591; the camera module 591 is used for capturing still images or videos; the digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals; video codec is used to compress or decompress digital video, and the mobile terminal 500 may also support one or more video codecs.
The external memory interface 522 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the mobile terminal 500. The external memory card communicates with the processor 510 via an external memory interface 522 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 521 may be used to store computer-executable program code that includes instructions. The internal memory 521 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the mobile terminal 500 (e.g., audio data, phonebook, etc.), and the like. In addition, the internal memory 521 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (Universal Flash Storage, UFS), and the like. The processor 510 performs various functional applications of the mobile terminal 500 and data processing by executing instructions stored in the internal memory 521 and/or instructions stored in a memory provided in the processor.
The mobile terminal 500 may implement audio functions through an audio module 570, a speaker 571, a receiver 572, a microphone 573, an ear-headphone interface 574, an application processor, and so on. Such as music playing, recording, etc.
The depth sensor 5801 is used to acquire depth information of a scene. In some embodiments, a depth sensor may be provided at the camera module 591.
The pressure sensor 5802 is configured to sense a pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 5802 may be disposed on the display screen 590. The pressure sensor 5802 is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like.
The gyro sensor 5803 may be used to determine a motion gesture of the mobile terminal 500. In some embodiments, the angular velocity of the mobile terminal 500 about three axes (i.e., x, y, and z axes) may be determined by the gyro sensor 5803. The gyro sensor 5803 may be used to capture anti-shake, navigation, motion sensing game scenes, etc.
The acceleration sensor 5804 may collect acceleration information of the mobile terminal 500 to obtain the above-mentioned detection data.
The processor 510 can control the on/off of the optical image stabilizer in the camera module 591 by using the above detection data.
In addition, sensors for other functions, such as an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc., may be provided in the sensor module 580 according to actual needs.
Other devices that provide secondary functions may also be included in the mobile terminal 500. For example, the keys 594 may include a power-on key, a volume key, etc., through which a user may enter key signal inputs related to user settings and function controls of the mobile terminal 500. As another example, an indicator 592, a motor 593, a SIM card interface 595, and the like.
Those skilled in the art will appreciate that the various aspects of the present disclosure may be implemented as a system, method, or program product. Accordingly, various aspects of the disclosure may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
Exemplary embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification. In some possible implementations, various aspects of the disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the disclosure as described in the "exemplary methods" section of this specification, when the program product is run on the terminal device.
It should be noted that the computer readable medium shown in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Furthermore, the program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. The control method of the mobile terminal is characterized in that the mobile terminal comprises a camera module and a state detection unit, the camera module comprises an optical image stabilizer, and the method can control the mobile terminal when the camera module is in an unopened state and an opened state, and comprises the following steps:
acquiring detection data acquired by the state detection unit;
determining state information of the mobile terminal according to the detection data, wherein the state information comprises a shaking state and a static state;
controlling the optical image stabilizer to start in response to the state information being a shaking state;
wherein the determining the state information of the mobile terminal according to the detection data includes:
responding to the detection data being greater than or equal to a first preset value, and judging that the state information of the mobile terminal is a shaking state;
responding to the detection data being smaller than the first preset value, and judging that the state information of the mobile terminal is in a static state;
and configuring timeout data, configuring an initial value as a first value, and after controlling the optical image stabilizer to start for a first preset time, configuring the timeout data as a second value and closing the optical image stabilizer.
2. The method of claim 1, wherein when the timeout data is a second value, the determining the state information of the mobile terminal according to the detection data includes:
responding to the detection data being greater than or equal to a second preset value, and judging that the state information of the mobile terminal is a shaking state;
and responding to the detection data being smaller than the second preset value, and judging that the state information of the mobile terminal is in a static state, wherein the second preset value is larger than or equal to the first preset value.
3. The method of claim 2, wherein determining that the state information of the mobile terminal is in a stationary state in response to the detection data being less than the second preset value comprises:
in response to the detection data being smaller than the second preset value and larger than the first preset value, configuring the timeout data to be a second numerical value, and judging that the state information of the mobile terminal is in a static state;
and in response to the detection data being smaller than the first preset value, configuring the timeout data to be a first value, and judging that the state information of the mobile terminal is in a static state.
4. A method according to any one of claims 1 to 3, further comprising:
and closing the optical image stabilizer in response to the state information being in a static state.
5. The method according to claim 1, wherein the status detection unit comprises an acceleration sensor and the detection data comprises a standard deviation of acceleration of the mobile terminal within a second preset time.
6. The utility model provides a mobile terminal's controlling means, its characterized in that, mobile terminal includes camera module and state detection unit, camera module includes the optical image stabilizer, the device is when camera module is in unopened state and open state, both can control mobile terminal, the device includes:
the detection module is used for acquiring detection data acquired by the state detection unit;
the determining module is used for determining state information of the mobile terminal according to the detection data, wherein the state information comprises a shaking state and a static state;
the control module is used for responding to the state information to be in a shaking state and controlling the optical image stabilizer to start;
wherein the determining the state information of the mobile terminal according to the detection data includes:
responding to the detection data being greater than or equal to a first preset value, and judging that the state information of the mobile terminal is a shaking state;
responding to the detection data being smaller than the first preset value, and judging that the state information of the mobile terminal is in a static state;
and configuring timeout data, configuring an initial value as a first value, and after controlling the optical image stabilizer to start for a first preset time, configuring the timeout data as a second value and closing the optical image stabilizer.
7. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when executed by a processor, implements the control method of a mobile terminal according to any one of claims 1 to 5.
8. An electronic device, comprising:
a processor; and
a memory for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the method of controlling a mobile terminal of any of claims 1-5.
CN202111045607.8A 2021-09-07 2021-09-07 Mobile terminal control method and device, storage medium and electronic equipment Active CN113766127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111045607.8A CN113766127B (en) 2021-09-07 2021-09-07 Mobile terminal control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111045607.8A CN113766127B (en) 2021-09-07 2021-09-07 Mobile terminal control method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113766127A CN113766127A (en) 2021-12-07
CN113766127B true CN113766127B (en) 2023-07-28

Family

ID=78793673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111045607.8A Active CN113766127B (en) 2021-09-07 2021-09-07 Mobile terminal control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113766127B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117221718A (en) * 2022-06-02 2023-12-12 荣耀终端有限公司 Control method of optical image stabilizing device of camera and electronic equipment
CN116074615B (en) * 2023-03-07 2023-09-08 荣耀终端有限公司 Camera control method and device and terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206611500U (en) * 2016-11-29 2017-11-03 宁波舜宇光电信息有限公司 Optical anti-vibration camera module and electronic equipment based on long cross direction
CN112911110A (en) * 2021-01-21 2021-06-04 维沃移动通信有限公司 Optical anti-shake control method and device for camera module and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780312A (en) * 2015-03-26 2015-07-15 深圳市金立通信设备有限公司 Terminal
CN107087111A (en) * 2017-05-31 2017-08-22 广东欧珀移动通信有限公司 The control method and device of optical anti-vibration, mobile terminal, computer-readable recording medium
CN107395978A (en) * 2017-08-14 2017-11-24 维沃移动通信有限公司 The control method and mobile terminal of a kind of camera module
CN111343381B (en) * 2020-02-28 2021-10-22 Oppo广东移动通信有限公司 Method and device for controlling anti-shake function to be started, electronic equipment and storage medium
CN111526285B (en) * 2020-04-15 2021-07-13 浙江大华技术股份有限公司 Image anti-shake method, electronic equipment and computer-readable storage medium
CN112351274A (en) * 2020-11-09 2021-02-09 重庆市天实精工科技有限公司 Method and system for detecting anti-shake performance of optical anti-shake camera and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206611500U (en) * 2016-11-29 2017-11-03 宁波舜宇光电信息有限公司 Optical anti-vibration camera module and electronic equipment based on long cross direction
CN112911110A (en) * 2021-01-21 2021-06-04 维沃移动通信有限公司 Optical anti-shake control method and device for camera module and electronic equipment

Also Published As

Publication number Publication date
CN113766127A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
CN112860169B (en) Interaction method and device, computer readable medium and electronic equipment
CN113766127B (en) Mobile terminal control method and device, storage medium and electronic equipment
CN112188461B (en) Control method and device of near field communication device, medium and electronic equipment
KR20200011869A (en) Method and Apparatus for Establishing Device Connection
CN113238727A (en) Screen switching method and device, computer readable medium and electronic equipment
CN111968641B (en) Voice assistant awakening control method and device, storage medium and electronic equipment
CN113778663A (en) Scheduling method of multi-core processor and electronic equipment
CN115589051B (en) Charging method and terminal equipment
CN111432245A (en) Multimedia information playing control method, device, equipment and storage medium
CN111866483A (en) Color restoration method and device, computer readable medium and electronic device
CN111738365B (en) Image classification model training method and device, computer equipment and storage medium
CN112995402A (en) Control method and device, computer readable medium and electronic equipment
CN113325948B (en) Air-isolated gesture adjusting method and terminal
KR20200072196A (en) Electronic device audio enhancement and method thereof
CN111711472A (en) NFC device output signal control method, terminal device, medium and electronic device
CN111933137B (en) Voice wake-up test method and device, computer readable medium and electronic equipment
CN113936089A (en) Interface rendering method and device, storage medium and electronic equipment
CN111985252B (en) Dialogue translation method and device, storage medium and electronic equipment
CN111986700A (en) Method, device, equipment and storage medium for triggering non-contact operation
CN113407318B (en) Operating system switching method and device, computer readable medium and electronic equipment
CN114040252B (en) Display frame rate control method and device, computer readable medium and electronic equipment
CN113556423B (en) Information processing method, device, system, storage medium and electronic equipment
CN111770484B (en) Analog card switching method and device, computer readable medium and mobile terminal
CN111757005A (en) Shooting control method and device, computer readable medium and electronic equipment
CN113362260A (en) Image optimization method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant