CN113766127A - Control method and device of mobile terminal, storage medium and electronic equipment - Google Patents

Control method and device of mobile terminal, storage medium and electronic equipment Download PDF

Info

Publication number
CN113766127A
CN113766127A CN202111045607.8A CN202111045607A CN113766127A CN 113766127 A CN113766127 A CN 113766127A CN 202111045607 A CN202111045607 A CN 202111045607A CN 113766127 A CN113766127 A CN 113766127A
Authority
CN
China
Prior art keywords
mobile terminal
state
state information
detection data
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.)
Granted
Application number
CN202111045607.8A
Other languages
Chinese (zh)
Other versions
CN113766127B (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

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
    • 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 utility model relates to a module control technical field of making a video recording, concretely relates to mobile terminal's control method and device, computer readable storage medium and electronic equipment, mobile terminal includes the module of making a video recording and state detecting element, and the module of making a video recording includes the optical image stabilizer, and the method includes: 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 overcome the problem of abnormal sound of the camera module at least to a certain extent under the condition of ensuring the cruising ability of the mobile terminal.

Description

Control method and device of mobile terminal, 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 an electronic device.
Background
Most mobile terminal on the existing market all dispose the module of making a video recording, and most mobile terminal all disposes the optical image stabilizer for move the direction that the terminal rocked through acceleration sensor detection, keep unanimous through motor control camera lens direction of motion and mobile terminal, reach the effect of anti-shake.
In the related art, when the camera module is not opened, the optical image stabilizer is not powered on, the lens group in the camera module is in a free state, the mobile terminal shakes, and the camera module has abnormal sound; the camera module is when the open mode, and the motor work that the optical image stabilizer control camera lens in the camera module removed, and the motor produces moment, and the removal of the inside group of lens of control camera module can avoid rocking the process and take place the striking with other subassemblies of camera lens inside. However, if the camera module is turned on for a long time, the electric energy of the mobile terminal is consumed, and the cruising ability is reduced.
It is to be noted that the information disclosed in the above background section is only for enhancement of 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 present disclosure aims to provide a control method of a mobile terminal, a control device of the mobile terminal, a computer readable medium and an electronic device, so as to overcome the problem of abnormal sound of a camera module at least to a certain extent while ensuring the cruising ability of the mobile terminal.
According to a first aspect of the present disclosure, there is provided a method for controlling a mobile terminal, the mobile terminal including a camera module and a state detection unit, the 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 apparatus of a mobile terminal, the mobile terminal including a camera module and a state detection unit, the camera module including an optical image stabilizer, comprising:
the detection module is used for acquiring detection data acquired by the state detection unit;
the determining module is used for determining the 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 as a shaking state and controlling the starting of the optical image stabilizer.
According to a third aspect of the present disclosure, a computer-readable medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, is adapted to carry out the above-mentioned method.
According to a fourth aspect of the present disclosure, there is provided an electronic apparatus, 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 above-described method.
According to the control method of the mobile terminal provided by the embodiment of the disclosure, detection data acquired by a state detection unit is 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. Compare in prior art, can not open the condition at the module of making a video recording, when detecting mobile terminal and rocking state, can start the abnormal sound that the module of making a video recording was eliminated to the optics image stabilizer.
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 present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. 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 illustrating 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 shows a composition diagram of a control apparatus 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. Example embodiments may, however, be embodied in many different 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 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 their repetitive description 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 the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The following specifically describes a control method of a mobile terminal and a control apparatus of a mobile terminal according to exemplary embodiments of the present disclosure.
Fig. 1 shows a flow of a control method of a mobile terminal in the present exemplary embodiment, the mobile terminal includes a camera module including an optical image stabilizer and a state detection unit, 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, responding to the state information as a shaking state, and controlling the optical image stabilizer to start.
Compared with the prior art, the method can start the optical image stabilizer to eliminate the 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 opened.
The above steps will be described in detail below.
In step S110, the detection data collected 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, and the like, and the mobile terminal includes a camera module and a state detection unit, and the camera module includes an optical image stabilizer.
In this exemplary 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 including an X axis, a Y axis and a Z axis may be first established for the mobile terminal, and when the acceleration is detected, the accelerations of the mobile terminal in the X axis, the Y axis and the Z axis may be detected respectively.
The detection data may be a standard deviation of the acceleration, that is, 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, and the like, and may also be customized according to a user requirement, which is not specifically limited in this example embodiment. The second preset time may be 1 second, 2 seconds, or the like, or may be customized according to user requirements, which is not specifically limited in this example embodiment.
In this exemplary embodiment, the detection data may be a standard deviation of an acceleration of any one of the X-axis, the Y-axis, and the Z-axis, the sum may be a sum of standard deviations of accelerations of any two of the X-axis, the Y-axis, and the Z-axis, and may also be a sum of standard deviations of accelerations of three of the X-axis, the Y-axis, and the Z-axis, and is not particularly limited in this exemplary embodiment.
In step S120, determining status information of the mobile terminal according to the detection data, where the status information includes a shaking status and a static status.
In step S130, in response to the state information being a shaking state, controlling the optical image stabilizer to start.
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 example embodiment, a first preset value may be configured in advance, and then a magnitude relationship between detection data and the first preset value is determined by the processor, 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 as 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 as a stationary state.
In this exemplary embodiment, the first preset value may be 0.3, 0.4, 0.5, and the like, and may also be customized according to a user requirement, which is not specifically limited in this exemplary embodiment.
In another exemplary embodiment, a timeout datum may be configured first, and an initial value of the timeout datum is configured to be a first value, and the timeout datum 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, further, the first value may be a, and the second value may be B, that is, the first value and the second value are different, and this is not limited in this exemplary embodiment.
In the present exemplary embodiment, referring to fig. 2, step S210 may be executed first, whether the value of the timeout data is a first value or a second value may be determined, and when the timeout data is the first value, step S220 may be executed, the state of the mobile terminal may be determined according to the detection data and a first preset value, specifically, when the detection data is greater than or equal to the first preset value, step S230 may be executed, the state of the mobile terminal may be determined as a shaking state, and when the detection data is less than the first preset value, step S290 may be executed, the state of the mobile terminal may be determined as a stationary state. Then, step S240 may be executed to determine whether the detected data is smaller than a first preset value, if so, step S290 may be executed, if not, step S230 may be executed to determine that the state of the mobile terminal is in a shaking state, and step S250 may be executed simultaneously to determine whether the turn-on time of the optical image stabilizer is greater than the first preset time, if so, step S260 may be executed, after the mobile terminal is in the shaking state for the first preset time, the value of the timeout data may be configured as a second value, step S290 may be executed to configure the state of the mobile image stabilizer as a stationary state, at this time, the optical image stabilizer is turned off, and simultaneously, the detected data of the mobile terminal is continuously detected, step S270 may be executed to determine the state of the detected data by using the detected data and a second preset value, and if the detected data is greater than or equal to the second preset value, then step S230 is executed to determine that the mobile terminal is in a shaking state, at this time, the processor controls the optical image stabilizer to start, and if the detected data is smaller than the second preset value, step S280 and step S290 are executed to configure the value of the timeout data as a first value, and determine that the mobile terminal is in a stationary state to control the optical image stabilizer to stop.
In another exemplary embodiment, after the step S270 is executed, if the detected data is greater than or equal to a second preset value, step S230 is executed to determine that the mobile terminal is in a shaking state, at this time, the processor controls the optical image stabilizer to start, if the detected data is smaller than the second preset value and greater than the first preset value, the timeout data is configured to be a second value, and step S290 is executed to determine that the mobile terminal is in a static state, and the optical image stabilizer is controlled to stop. If the detected data is smaller than the first preset value, step S280 and step S290 are performed to configure the value of the timeout data as a first numerical value, and determine that the mobile terminal is in a stationary state, so as to control the optical image stabilizer to be turned off.
In this exemplary 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, and may also be customized according to a user requirement, which is not specifically limited in this exemplary embodiment.
In the exemplary embodiment, the user may continuously shake the mobile terminal during a movement such as running or climbing, and the endurance of the mobile terminal may be reduced by continuously turning on the optical image stabilizer, so that the timeout data is set such that the optical image stabilizer is turned off after the shake state continues for a certain time, thereby improving the endurance 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 camera module 340, where the power management module 330 is configured to supply power to the acceleration sensor 310, the processor 320, and the camera module 340.
In summary, in the exemplary embodiment, a first preset value is first set, the detection data of the mobile terminal is detected by the acceleration sensor, the state information of the mobile terminal is determined according to the detection data and the first preset value, and when the mobile terminal is in a shaking state, the optical image stabilizer is turned on to solve the shaking problem of the camera module in the mobile terminal.
It is noted that the above-mentioned figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Further, referring to fig. 4, in the embodiment of the present example, a control apparatus 400 of a mobile terminal is further provided, 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 used to acquire detection data collected by the status detection unit,
the determining module 420 may be configured to determine status information of the mobile terminal according to the detection data, where the status information includes a shaking state and a static state.
The control module 430 may be configured to start the optical image stabilizer when the state information is in a shaking state.
In an exemplary embodiment, the state detection unit includes an acceleration sensor, and the detection data includes a standard deviation of acceleration within a second preset time of the mobile terminal.
In an exemplary embodiment, the determining module 420 may determine that the state information of the mobile terminal is in 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 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, and configured to configure timeout data, configure an 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 turn off the optical image stabilizer.
In this example embodiment, when the timeout data is a second value, the determining module 420 may determine that the state information of the mobile terminal is in a shaking state when the detected data is greater than or equal to a second preset value;
and when the detected 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 a second preset value and larger than a first preset value, configuring the overtime data into a second numerical value, and determining that the state information of the mobile terminal is in a static state; and responding to the detection data smaller than the first preset value, configuring the overtime data into a first numerical value, and judging that the state information of the mobile terminal is in a static state.
In an example embodiment, the control module 430 may control the optical image stabilizer to be turned off in response to the state information being in a static state.
The specific details of each module in the above apparatus have been described in detail in the method section, and details that are not disclosed may refer to the method section, and thus are not described again.
The following takes the mobile terminal 500 in fig. 5 as an example, and exemplifies the configuration of the electronic device. It will be appreciated by those skilled in the art that the configuration of figure 5 can also be applied to fixed type devices, in addition to components specifically intended for mobile purposes. In other embodiments, mobile terminal 500 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. The interfacing relationship between the various components is shown schematically and does not constitute a structural limitation of the mobile terminal 500. In other embodiments, the mobile terminal 500 may interface differently than shown in FIG. 5, or a combination of multiple interfaces.
As shown in fig. 5, the mobile terminal 500 may specifically include: the mobile terminal includes a processor 510, an internal memory 521, an external memory interface 522, a Universal Serial Bus (USB) interface 530, a charging management module 540, a power management module 541, a battery 542, an antenna 1, an antenna 2, a mobile communication module 550, a wireless communication module 560, an audio module 570, a speaker 571, a receiver 572, a microphone 573, an earphone interface 574, a sensor module 580, a display 590, a camera module 591, a pointer 592, a motor 593, keys 594, a Subscriber Identity Module (SIM) card interface 595, and the like. The sensor module 580 may include a depth sensor 5801, a pressure sensor 5802, a gyro 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 (AP), a modem Processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband Processor, and/or a Neural-Network Processing Unit (NPU), among others. The different processing units may be separate devices or may be integrated into one or more processors.
The NPU is a Neural-Network (NN) computing processor, which processes input information quickly by using a biological Neural Network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU may implement applications such as intelligent recognition of the mobile terminal 500, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
A memory is provided in the processor 510. The memory may store instructions for implementing six modular functions: detection instructions, connection instructions, information management instructions, analysis instructions, data transmission instructions, and notification instructions, and are controlled for execution by processor 510.
The charging management module 540 is configured to receive charging input from a charger. The power management module 541 is used to connect the battery 542, the charging management module 540 and the processor 510. The power management module 541 receives the input of the battery 542 and/or the charging management module 540, and supplies 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 wireless communication of 2G/3G/4G/5G, etc. applied to the mobile terminal 500; the modem processor may include a modulator and a demodulator; the Wireless communication module 560 may provide a solution for Wireless communication including a Wireless Local Area Network (WLAN) (e.g., a Wireless Fidelity (Wi-Fi) network), Bluetooth (BT), and the like, which is applied to the mobile terminal 500. In some embodiments, antenna 1 of the mobile terminal 200 is coupled to the mobile communication module 550 and antenna 2 is coupled to the wireless communication module 560 such that the mobile terminal 500 may communicate with networks and other devices via wireless communication techniques.
The mobile terminal 500 implements a display function through the GPU, the display screen 590, the application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 590 and an 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 alter display information.
The mobile terminal 500 may implement a shooting function through the ISP, the camera module 591, the video codec, the GPU, the display screen 590, the 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; the 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 extend the memory capabilities of the mobile terminal 500. The external memory card communicates with the processor 510 through the external memory interface 522 to implement data storage functions. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 521 may be used to store computer-executable program code, which includes instructions. The internal memory 521 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (e.g., audio data, a phonebook, etc.) created during use of the mobile terminal 500, 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 Storage (UFS), and the like. The processor 510 executes 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 the audio module 570, the speaker 571, the receiver 572, the microphone 573, the earphone interface 574, the application processor, and the like. Such as music playing, recording, etc.
The depth sensor 5801 is used to acquire depth information of a scene. In some embodiments, the depth sensor may be disposed at the camera module 591.
The pressure sensor 5802 senses a pressure signal and converts the pressure signal into an electrical signal. In some embodiments, the pressure sensor 5802 may be disposed on the display 590. Pressure sensor 5802 may be of a wide variety of 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 gyroscope sensor 5803. The gyro sensor 5803 may be used to capture anti-shake, navigation, somatosensory game scenes, and the like.
The acceleration sensor 5804 may collect acceleration information of the mobile terminal 500 to obtain the above detection data.
The processor 510 may utilize the above-mentioned detection data to control the turning on and off of the optical image stabilizer in the camera module 591.
In addition, other functional sensors, such as an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light 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 for providing auxiliary functions may also be included in mobile terminal 500. For example, the keys 594 include a power-on key, a volume key, and the like, and a user may generate key signal inputs related to user settings and function control of the mobile terminal 500 through key inputs. As another example, indicator 592, motor 593, SIM card interface 595, etc.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally 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 above-described method of the present specification. In some possible embodiments, 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 perform the steps according to various exemplary embodiments of the disclosure described in the above-mentioned "exemplary methods" section of this specification, when the program product is run on the terminal device.
It should be noted that the computer readable media shown in the present disclosure may be computer readable signal media or computer readable storage media or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination 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 present 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 contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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, 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 and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, 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., through 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 variations, 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 will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (10)

1. A control method of a 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 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;
and controlling the optical image stabilizer to start in response to the state information being a shaking state.
2. The method according to claim 1, wherein the determining the state information of the mobile terminal according to the detection data comprises:
responding to the detection data larger than or equal to a first preset value, and judging that the state information of the mobile terminal is in a shaking state;
and responding to the detection data smaller than the first preset value, and judging that the state information of the mobile terminal is in a static state.
3. The method of claim 2, further comprising:
configuring timeout data, configuring an initial value to be a first value, configuring the timeout data to be a second value after controlling the optical image stabilizer to start for a first preset time, and closing the optical image stabilizer.
4. The method according to claim 3, 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 larger than or equal to a second preset value, and judging that the state information of the mobile terminal is in a shaking state;
and responding to the detection data 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.
5. The method according to claim 4, wherein determining that the state information of the mobile terminal is in a static state in response to the detection data being smaller than the second preset value comprises:
responding to the detection data smaller than the second preset value and larger than the first preset value, configuring the overtime data into a second numerical value, and judging that the state information of the mobile terminal is in a static state;
and responding to the detection data smaller than the first preset value, configuring the overtime data into a first numerical value, and judging that the state information of the mobile terminal is in a static state.
6. The method according to any one of claims 1 to 5, further comprising:
and in response to the state information being a static state, turning off the optical image stabilizer.
7. The method according to claim 1, wherein the state 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.
8. The utility model provides a mobile terminal's controlling means, its characterized in that, mobile terminal includes the module of making a video recording and state detecting element, the module of making a video recording includes the optical image stabilizer, 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 the 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 as a shaking state and controlling the starting of the optical image stabilizer.
9. 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 7.
10. An electronic device, comprising:
a processor; and
a memory for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the control method of the mobile terminal according to any one of claims 1 to 7.
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 true CN113766127A (en) 2021-12-07
CN113766127B 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)

Cited By (2)

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

Citations (8)

* 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
CN206611500U (en) * 2016-11-29 2017-11-03 宁波舜宇光电信息有限公司 Optical anti-vibration camera module and electronic equipment based on long cross direction
CN107395978A (en) * 2017-08-14 2017-11-24 维沃移动通信有限公司 The control method and mobile terminal of a kind of camera module
CN111343381A (en) * 2020-02-28 2020-06-26 Oppo广东移动通信有限公司 Method and device for controlling anti-shake function to be started, electronic equipment and storage medium
CN111526285A (en) * 2020-04-15 2020-08-11 浙江大华技术股份有限公司 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
CN112911110A (en) * 2021-01-21 2021-06-04 维沃移动通信有限公司 Optical anti-shake control method and device for camera module and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780312A (en) * 2015-03-26 2015-07-15 深圳市金立通信设备有限公司 Terminal
CN206611500U (en) * 2016-11-29 2017-11-03 宁波舜宇光电信息有限公司 Optical anti-vibration camera module and electronic equipment based on long cross direction
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
CN111343381A (en) * 2020-02-28 2020-06-26 Oppo广东移动通信有限公司 Method and device for controlling anti-shake function to be started, electronic equipment and storage medium
CN111526285A (en) * 2020-04-15 2020-08-11 浙江大华技术股份有限公司 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
CN112911110A (en) * 2021-01-21 2021-06-04 维沃移动通信有限公司 Optical anti-shake control method and device for camera module and electronic equipment

Cited By (4)

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

Also Published As

Publication number Publication date
CN113766127B (en) 2023-07-28

Similar Documents

Publication Publication Date Title
CN112860169B (en) Interaction method and device, computer readable medium and electronic equipment
KR102517228B1 (en) Electronic device for controlling predefined function based on response time of external electronic device on user input and method thereof
CN113766127B (en) Mobile terminal control method and device, storage medium and electronic equipment
CN110059686B (en) Character recognition method, device, equipment and readable storage medium
CN111968641B (en) Voice assistant awakening control method and device, storage medium and electronic equipment
KR102512614B1 (en) Electronic device audio enhancement and method thereof
CN113238727A (en) Screen switching method and device, computer readable medium and electronic equipment
CN111738365B (en) Image classification model training method and device, computer equipment and storage medium
CN112188461A (en) Control method and device for near field communication device, medium and electronic equipment
CN110647881A (en) Method, device, equipment and storage medium for determining card type corresponding to image
CN113325948B (en) Air-isolated gesture adjusting method and terminal
CN111933137A (en) Voice wake-up test method and device, computer readable medium and electronic device
CN109040427B (en) Split screen processing method and device, storage medium and electronic equipment
US20210044739A1 (en) Apparatus and method for recognizing voice and face on basis of change in camera driving method
CN112513789A (en) Method for controlling operation mode by using electronic pen and electronic device
US11113215B2 (en) Electronic device for scheduling a plurality of tasks and operating method thereof
CN114594751A (en) Vehicle function testing method, device, equipment and computer readable storage medium
US20200244750A1 (en) System for processing user data and controlling method thereof
CN113409204A (en) Method and device for optimizing image to be processed, storage medium and electronic equipment
CN113362260A (en) Image optimization method and device, storage medium and electronic equipment
CN114595019A (en) Theme setting method, device and equipment of application program and storage medium
CN112329909B (en) Method, apparatus and storage medium for generating neural network model
CN113843814A (en) Control system, method, device and storage medium for mechanical arm equipment
CN111757005A (en) Shooting control method and device, computer readable medium and electronic equipment
CN112995402A (en) Control method and device, computer readable 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