Optical anti-shake module control method and device, equipment and storage medium
By detecting the shaking amplitude of the mobile device and waking up the optical anti-shake drive device, the optical anti-shake module is controlled to be adjusted to a safe position in the mobile device, which solves the problem of easy collision when shaking, and achieves the effect of reducing abnormal noise and power consumption, improving the user experience.
Patent Information
- Application Number
- CN202311589510.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-24
- Publication Date
- 2025-05-27
AI Technical Summary
The optical anti-shake module in mobile devices is prone to collide with other components of the camera module when the device shakes, causing abnormal noise and affecting the user experience.
By detecting the shaking amplitude of the mobile device, the optical anti-shake drive device is awakened in response to meeting the preset conditions, and the optical anti-shake module is powered on, and adjusted to a set position in the movable space to avoid collisions.
It effectively avoids abnormal noise of the optical anti-shake module caused by shaking, and avoids unnecessary increase in power consumption, improving the user experience.
Smart Images

Figure CN120050518A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of mobile devices, and in particular, to a method, device, equipment and storage medium for controlling an optical image stabilization module. Background Art
[0002] With the development of mobile devices, more and more mobile devices with camera modules have entered people's lives, and most mobile devices are equipped with an optical image stabilization (OIS) module, so as to improve the imaging quality of the mobile device through optical image stabilization during the process of starting the camera module to take pictures.
[0003] In the related art, in order to ensure a good anti-shake effect of the OIS module, a relatively large movement gap is usually reserved for the OIS module in the camera module of the mobile device. However, when the mobile device shakes, the OIS module is likely to collide with other components in the camera module, resulting in abnormal noises and affecting the user experience. Summary of the Invention
[0004] To overcome the problems existing in the related art, embodiments of the present disclosure provide a method, device, equipment and storage medium for controlling an optical image stabilization module to solve the defects in the related art.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a method for controlling an optical image stabilization module, the method including:
[0006] Detecting the shaking amplitude of the mobile device;
[0007] In response to the shaking amplitude meeting a preset condition, waking up the optical image stabilization driving device of the mobile device;
[0008] Based on the optical image stabilization driving device, controlling the power-on of the optical image stabilization module of the mobile device, and adjusting the optical image stabilization module to a set position within a movable space, where the movable space is the space allowed for the optical image stabilization module to move in the camera module of the mobile device, and the set position includes a position where the optical image stabilization module does not touch a preset component in the camera module.
[0009] In some embodiments, the method further includes:
[0010] In response to the shaking amplitude being greater than or equal to a preset amplitude threshold, determining that the shaking amplitude meets the preset condition.
[0011] In some embodiments, the method further includes:
[0012] Detecting the current state of the camera module;
[0013] In response to detecting that the current state of the camera module is the off state, perform the operation of powering on the optical image stabilization module of the mobile device based on the optical image stabilization driving device and adjusting the optical image stabilization module to a set position within the movable space.
[0014] In some embodiments, detecting the current state of the camera module includes:
[0015] In response to the optical image stabilization driving device not receiving a target request, determine that the current state of the camera module is the off state, where the target request includes a request for obtaining optical image stabilization data.
[0016] In some embodiments, detecting the shaking amplitude of the mobile device includes:
[0017] Based on the acceleration data obtained by the acceleration sensor of the mobile device, determine the shaking amplitude of the mobile device.
[0018] In some embodiments, detecting the shaking amplitude of the mobile device includes:
[0019] Based on the angular velocity data obtained by the gyroscope of the mobile device, determine the shaking amplitude of the mobile device.
[0020] According to a second aspect of the embodiments of the present disclosure, there is provided an optical image stabilization module control device, the device includes:
[0021] An amplitude detection module, configured to detect the shaking amplitude of the mobile device;
[0022] A driving wake-up module, configured to wake up the optical image stabilization driving device of the mobile device in response to the shaking amplitude meeting a preset condition;
[0023] A position adjustment module, configured to power on the optical image stabilization module of the mobile device based on the optical image stabilization driving device and adjust the optical image stabilization module to a set position within the movable space, where the movable space is the space in which the optical image stabilization module is allowed to move within the camera module of the mobile device, and the set position includes a position where the optical image stabilization module does not touch a preset component within the camera module.
[0024] In some embodiments, the device further includes:
[0025] A condition judgment module, configured to determine that the shaking amplitude meets the preset condition in response to the shaking amplitude being greater than or equal to a preset amplitude threshold.
[0026] In some embodiments, the device further includes:
[0027] A state detection module, used to detect the current state of the camera module;
[0028] The position adjustment module is also used to control the optical image stabilization module of the mobile device to power on based on the optical image stabilization driving device in response to detecting that the current state of the camera module is the off state, and to adjust the optical image stabilization module to a set position within the movable space.
[0029] In some embodiments, the state detection module is further used to determine that the current state of the camera module is a closed state in response to the optical image stabilization driving device not receiving a target request, and the target request includes a request for obtaining optical image stabilization data.
[0030] In some embodiments, the amplitude detection module is further used to determine the shaking amplitude of the mobile device based on acceleration data acquired by an acceleration sensor of the mobile device.
[0031] In some embodiments, the amplitude detection module is further used to determine the shaking amplitude of the mobile device based on angular velocity data acquired by a gyroscope of the mobile device.
[0032] According to a third aspect of an embodiment of the present disclosure, a mobile device is provided, the device comprising:
[0033] a processor and a memory for storing a computer program;
[0034] Wherein, the processor is configured to implement, when executing the computer program:
[0035] Detect the shaking amplitude of the mobile device;
[0036] In response to the shaking amplitude meeting a preset condition, waking up an optical image stabilization driving device of the mobile device;
[0037] Based on the optical image stabilization driving device, the optical image stabilization module of the mobile device is controlled to be powered on, and the optical image stabilization module is adjusted to a set position within a movable space, wherein the movable space is a space within the camera module of the mobile device in which the optical image stabilization module is allowed to move, and the set position includes a position where the optical image stabilization module will not touch a preset component within the camera module.
[0038] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the following is implemented:
[0039] Detect the shaking amplitude of the mobile device;
[0040] In response to the shaking amplitude satisfying a preset condition, wake up the optical image stabilization driving device of the mobile device;
[0041] Based on the optical image stabilization driving device, power on the optical image stabilization module of the mobile device, and adjust the optical image stabilization module to a set position within a movable space, where the movable space is the space within the camera module of the mobile device that the optical image stabilization module is allowed to move in, and the set position includes a position where the optical image stabilization module does not touch a preset component within the camera module.
[0042] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
[0043] The present disclosure detects the shaking amplitude of the mobile device, and in response to the shaking amplitude satisfying a preset condition, wakes up the optical image stabilization driving device of the mobile device. Then, based on the optical image stabilization driving device, it controls the optical image stabilization module of the mobile device to power on and adjusts the optical image stabilization module to a set position within a movable space, which can effectively avoid abnormal noises emitted by the optical image stabilization module caused by the shaking of the mobile device, and can avoid continuously waking up the optical image stabilization driving device, resulting in an increase in the power consumption of the mobile device. Furthermore, it can improve the user experience.
[0044] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure.
[0046] Figure 1A is a flowchart of a method for controlling an optical image stabilization module according to an exemplary embodiment of the present disclosure;
[0047] Figure 1B is a schematic diagram of a mobile terminal coordinate system according to an exemplary embodiment of the present disclosure;
[0048] Figure 2 is a flowchart of how to adjust the optical image stabilization module to a set position within a movable space according to an exemplary embodiment of the present disclosure;
[0049] Figure 3 is a flowchart of a method for controlling an optical image stabilization module according to another exemplary embodiment of the present disclosure;
[0050] Figure 4 is a block diagram of a device for controlling an optical image stabilization module according to an exemplary embodiment of the present disclosure;
[0051] Figure 5 is a block diagram of another optical image stabilization module control device shown according to an exemplary embodiment of the present disclosure;
[0052] Figure 6 is a block diagram of a mobile device shown according to an exemplary embodiment of the present disclosure. Specific embodiments
[0053] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0054] Figure 1A is a flowchart of an optical image stabilization module control method shown according to an exemplary embodiment; the method of this embodiment can be executed by an optical image stabilization module control device, and the optical image stabilization module control device can be configured in a mobile device with an optical image stabilization module, such as a mobile phone, a single-lens reflex camera, a tablet computer, a wearable device, etc. As Figure 1A shown, the method includes the following steps S101 - S103:
[0055] In step S101, detect the shaking amplitude of the mobile device.
[0056] In this embodiment, the mobile device can detect its own shaking amplitude.
[0057] In some embodiments, the mobile device can obtain its own acceleration data (ACC data) based on an acceleration sensor to determine the shaking amplitude of the mobile device; and / or, the mobile device can obtain its own angular velocity data (GYR data) based on a gyroscope to determine the shaking amplitude of the mobile device.
[0058] For example, Figure 1B is a schematic diagram of a mobile terminal coordinate system shown according to an exemplary embodiment of the present disclosure. As Figure 1B shown, in this embodiment, the shaking amplitude of the mobile terminal can include at least one of the shaking amplitude in the y-axis (i.e., the vertical direction), the shaking amplitude in the x-axis (i.e., the horizontal direction), and the shaking amplitude in the z-axis (i.e., the front-back direction).
[0059] Taking the shaking amplitude in the y-axis as an example, when the mobile terminal is in a stationary and vertically placed state with the head facing up, there is no acceleration in the x and z axes, and it will be constantly affected by the earth's gravitational acceleration in the y-axis. Therefore, the y-axis acceleration is 9.81m / s 2; When the mobile terminal phone is stationary and vertically placed with the head facing down, there is no acceleration in both the x and z axes, while it is constantly affected by the earth's gravitational acceleration on the y axis. Therefore, the acceleration on the y axis is -9.81 m / s 2 . Therefore, in this embodiment, the change value of the acceleration on the y axis within a certain time interval can be calculated as the shaking amplitude of the mobile terminal on the y axis. Similarly, the shaking amplitudes on the x and z axes can be calculated, which will not be elaborated here.
[0060] In step S102, in response to the shaking amplitude meeting the preset condition, wake up the optical image stabilization driving device of the mobile device.
[0061] In this embodiment, after detecting the shaking amplitude of the mobile device, it can be determined whether the shaking amplitude meets the preset condition. Furthermore, in response to the shaking amplitude meeting the preset condition, the optical image stabilization driving device (i.e., OIS Manager) of the mobile device can be woken up.
[0062] In some embodiments, in order to determine whether the above-mentioned shaking amplitude meets the preset condition, the mobile terminal can compare the shaking amplitude with a preset amplitude threshold. Furthermore, in response to the shaking amplitude being greater than or equal to the preset amplitude threshold, it can be determined that the shaking amplitude meets the preset condition; on the contrary, in response to the shaking amplitude being less than the preset amplitude threshold, it can be determined that the shaking amplitude does not meet the preset condition.
[0063] It should be noted that in this embodiment, the reason for waking up the optical image stabilization driving device of the mobile device when the shaking amplitude meets the preset condition is that it is considered that slight shaking (i.e., the shaking amplitude is less than the preset amplitude threshold) usually will not cause the OIS module to make abnormal noises due to shaking, and only when the shaking amplitude is relatively large will it. Therefore, by setting the above-mentioned preset amplitude threshold, the problem of increased power consumption of the mobile device caused by constantly waking up the optical image stabilization driving device to control the OIS module to power on and be fixed can be avoided, and the battery life of the terminal can be improved.
[0064] As an example, when it is detected that the shaking amplitude meets the preset condition, a predefined event can be triggered, such as named "sharkcam event", to wake up the optical image stabilization driving device of the optical image stabilization module through this event.
[0065] In step S103, based on the optical image stabilization driving device, control the optical image stabilization module of the mobile device to power on and adjust the optical image stabilization module to a set position within the movable space.
[0066] In this embodiment, after waking up the optical image stabilization driving device of the mobile device, the power supply of the optical image stabilization module of the mobile device can be controlled based on the optical image stabilization driving device, and the optical image stabilization module can be adjusted to a set position within the movable space.
[0067] Among them, the above-mentioned movable space can be the space allowed for the optical image stabilization module to move within the camera module of the mobile device.
[0068] The above-mentioned set position can include a position where the optical image stabilization module does not touch the preset components within the camera module. For example, it can be the central position within the above-mentioned movable space. It can be understood that the preset components can refer to those components that are not used to connect the optical image stabilization module and the camera module.
[0069] It is worth noting that the optical image stabilization module will produce abnormal noises when the mobile terminal shakes significantly. This is mainly because when designing the optical image stabilization, a certain movable space will be reserved for the optical image stabilization module in the camera module. When the optical image stabilization module is in the power-off state, shaking the mobile terminal will cause the optical image stabilization module to swing naturally, thereby making a sound. Therefore, in this embodiment, by controlling the power supply of the optical image stabilization module and adjusting the optical image stabilization module to the set position within the movable space, the natural swinging of the camera module can be avoided, and thus the sound can be avoided.
[0070] As can be seen from the above description, the method of this embodiment detects the shaking amplitude of the mobile device, and in response to the shaking amplitude meeting the preset conditions, wakes up the optical image stabilization driving device of the mobile device. Then, based on the optical image stabilization driving device, the power supply of the optical image stabilization module of the mobile device is controlled, and the optical image stabilization module is adjusted to the set position within the movable space, which can effectively avoid abnormal noises generated by the optical image stabilization module caused by the shaking of the mobile device, and can avoid the power consumption of the mobile device from increasing due to continuously waking up the optical image stabilization driving device, thereby improving the user experience.
[0071] Figure 2 is a flowchart showing how to adjust the optical image stabilization module to the set position within the movable space according to an exemplary embodiment of the present disclosure; this embodiment takes how to adjust the optical image stabilization module to the set position within the movable space as an example for exemplary illustration on the basis of the above embodiment.
[0072] As Figure 2 shown, the method of this embodiment may further include the following steps S201 - S204:
[0073] In step S201, detect the current state of the camera module;
[0074] In step S202, it is determined whether the current state of the camera module is the off state: if so, step S203 is executed; if not, step S204 is executed;
[0075] In step S203, based on the optical image stabilization driving device, the optical image stabilization module of the mobile device is powered on, and the optical image stabilization module is adjusted to a set position within the movable space;
[0076] In step S204, the anti-shake strategy is normally executed.
[0077] In this embodiment, before adjusting the optical image stabilization module to the set position within the movable space, the current state of the camera module can also be detected, and it is determined whether the current state of the camera module is the off state. In some embodiments, in response to the optical image stabilization driving device not receiving a target request, it is determined that the current state of the camera module is the off state, and the target request includes a request for obtaining optical image stabilization data. On the contrary, in response to the optical image stabilization driving device having received the target request, it is determined that the current state of the camera module is the startup state. It can be understood that when the camera module is started, the camera module will send a target request to the optical image stabilization driving device of the optical image stabilization module to request optical image stabilization data. Furthermore, the optical image stabilization driving device of the optical image stabilization module will, in response to receiving the target request, control the optical image stabilization module to be powered on, and then the optical image stabilization module will obtain the optical image stabilization data and report it. Therefore, in this embodiment, the current state of the camera module can be determined by detecting whether the above-mentioned optical image stabilization driving device has received the target request.
[0078] On this basis, when it is detected that the current state of the camera module is the off state, based on the optical image stabilization driving device, the optical image stabilization module of the mobile device is powered on, and the optical image stabilization module is adjusted to the set position within the movable space; while when it is detected that the current state of the camera module is the startup state, the optical image stabilization module is not adjusted to the set position within the movable space, but the optical image stabilization strategy is normally executed. The execution of this optical image stabilization strategy can refer to the explanations and descriptions in the related art, and this embodiment does not limit it.
[0079] It is worth noting that considering that when the camera is not turned on, the optical image stabilization module is in the unpowered state, shaking the mobile terminal will cause the optical image stabilization module to sway naturally, and thus make a sound. Once the camera is turned on and the optical image stabilization module is powered on, the optical image stabilization mechanism starts to work, and the electromagnetic force will cancel the jitter in the opposite direction. For example, when shaking to the right, the optical image stabilization module will move to the left to eliminate the influence of the jitter. At this time, almost no sound will be made, and there is no need to power on the optical image stabilization module and adjust it to the set position in the above-mentioned way to eliminate abnormal noise.
[0080] As described above, in this embodiment, when it is detected that the camera is not turned on, the above operation of controlling the power-on of the optical image stabilization module of the mobile device based on the optical image stabilization driving device and adjusting the optical image stabilization module to a set position within the movable space can improve the rationality of this embodiment and ensure that the optical image stabilization module can normally perform optical image stabilization.
[0081] Figure 3 FIG. 4 is a flowchart of an optical image stabilization module control method according to another exemplary embodiment of the present disclosure; the method of this embodiment can be executed by an optical image stabilization module control device, and the optical image stabilization module control device can be configured in a mobile device having an optical image stabilization module, such as a mobile phone, a single-lens reflex camera, a tablet computer, a wearable device, etc. As Figure 3 shown, the method includes the following steps S301-S306:
[0082] In step S301, the shaking amplitude of the mobile device is detected;
[0083] In step S302, it is determined whether the shaking amplitude is greater than or equal to a preset amplitude threshold: if so, step S303 is executed; if not, return to step S301;
[0084] In step S303, the optical image stabilization driving device (OIS Manager) of the mobile device is awakened;
[0085] In step S304, it is determined whether the optical image stabilization driving device has received a target request (camera request): if not, step S305 is executed; if so, step S306 is executed;
[0086] In this embodiment, the above target request includes a request for obtaining optical image stabilization data sent by the camera module. Since this target request is sent after the camera module is started, this embodiment can determine whether the current state of the camera module is a closed state or a started state by detecting whether the optical image stabilization driving device has received the target request.
[0087] In step S305, based on the optical image stabilization driving device, the optical image stabilization module (OIS module) of the mobile device is powered on, and the optical image stabilization module is adjusted to a set position within the movable space, for example, it can be the central position within the movable space.
[0088] In step S306, based on the optical image stabilization driving device, the optical image stabilization module normally executes the anti-shake strategy.
[0089] As can be seen from the above description, in this embodiment, by detecting the shaking amplitude of the mobile device and determining whether the shaking amplitude is greater than or equal to a preset amplitude threshold, when the shaking amplitude exceeds the preset amplitude threshold, the optical image stabilization drive device of the mobile device is awakened, and it is determined whether the optical image stabilization drive device has received a target request. Thus, when the optical image stabilization drive device has not received the target request, the OIS module is powered on and fixed, which can effectively avoid abnormal noises from the optical image stabilization module caused by the shaking of the mobile device, and can avoid continuously awakening the optical image stabilization drive device, resulting in increased power consumption of the mobile device. When the optical image stabilization drive device receives the target request, the optical image stabilization strategy is normally executed, which can ensure the realization of the optical image stabilization mechanism of the OIS module and improve the user experience.
[0090] Figure 4 is a block diagram of an optical image stabilization module control device shown according to an exemplary embodiment of the present disclosure; the device of this embodiment can be configured in a mobile device, such as a mobile phone, a single-lens reflex camera, a tablet computer, a wearable device, etc. As Figure 4 shown, the device may include: an amplitude detection module 110, a drive wake-up module 120, and a position adjustment module 130, where:
[0091] The amplitude detection module 110 is configured to detect the shaking amplitude of the mobile device;
[0092] The drive wake-up module 120 is configured to wake up the optical image stabilization drive device of the mobile device in response to the shaking amplitude meeting a preset condition;
[0093] The position adjustment module 130 is configured to control the power-on of the optical image stabilization module of the mobile device based on the optical image stabilization drive device and adjust the optical image stabilization module to a set position within a movable space, where the movable space is the space within the camera module of the mobile device where the optical image stabilization module is allowed to move, and the set position includes a position where the optical image stabilization module does not touch a preset component within the camera module.
[0094] As can be seen from the above description, the device of this embodiment detects the shaking amplitude of the mobile device, wakes up the optical image stabilization drive device of the mobile device in response to the shaking amplitude meeting a preset condition, and then controls the power-on of the optical image stabilization module of the mobile device based on the optical image stabilization drive device and adjusts the optical image stabilization module to a set position within a movable space, which can effectively avoid abnormal noises from the optical image stabilization module caused by the shaking of the mobile device, and can avoid continuously awakening the optical image stabilization drive device, resulting in increased power consumption of the mobile device, and further improve the user experience.
[0095] Figure 5It is a block diagram of another optical image stabilization module control device shown according to an exemplary embodiment of the present disclosure; the device of this embodiment can be configured in a mobile device, such as a mobile phone, a single-lens reflex camera, a tablet computer, a wearable device, etc. Among them, the amplitude detection module 210, the drive wake-up module 220, and the position adjustment module 230 have the same functions as the amplitude detection module 110, the drive wake-up module 120, and the position adjustment module 130 in the Figure 4 illustrated embodiment, and will not be elaborated here.
[0096] As Figure 5 shown, the device may further include:
[0097] A condition judgment module 240, configured to determine that the shaking amplitude meets a preset condition in response to the shaking amplitude being greater than or equal to a preset amplitude threshold.
[0098] In some embodiments, the above device may further include:
[0099] A state detection module 250, configured to detect the current state of the camera module;
[0100] The position adjustment module 220 may further be configured to, in response to detecting that the current state of the camera module is the off state, perform an operation of powering on the optical image stabilization module of the mobile device based on the optical image stabilization driving device and adjusting the optical image stabilization module to a set position within the movable space.
[0101] In some embodiments, the state detection module 250 may further be configured to determine that the current state of the camera module is the off state in response to the optical image stabilization driving device not receiving a target request, where the target request includes a request for obtaining optical image stabilization data.
[0102] In some embodiments, the amplitude detection module 210 may further be configured to determine the shaking amplitude of the mobile device based on the acceleration data acquired by the acceleration sensor of the mobile device.
[0103] In some embodiments, the amplitude detection module 210 may further be configured to determine the shaking amplitude of the mobile device based on the angular velocity data acquired by the gyroscope of the mobile device.
[0104] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.
[0105] Figure 6It is a block diagram of a mobile device shown according to an exemplary embodiment. For example, device 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0106] Referring Figure 6 , device 900 may include one or more of the following components: a processing component 902, a memory 904, a power component 906, a multimedia component 908, an audio component 910, an input / output (I / O) interface 912, a sensor component 914, and a communication component 916.
[0107] The processing component 902 generally controls the overall operation of device 900, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above optical image stabilization module control method. In addition, the processing component 902 may include one or more modules to facilitate the interaction between the processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate the interaction between the multimedia component 908 and the processing component 902.
[0108] The memory 904 is configured to store various types of data to support the operation of device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phone book data, messages, pictures, videos, etc. The memory 904 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.
[0109] The power component 906 provides power to the various components of device 900. The power component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 900.
[0110] The multimedia component 908 includes a screen that provides an output interface between the device 900 and the user. In some embodiments, the screen may include a liquid crystal display panel and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of the touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 908 includes a front camera and / or a rear camera. When the device 900 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
[0111] The audio component 910 is configured to output and / or input audio signals. For example, the audio component 910 includes a microphone (MIC) that is configured to receive external audio signals when the device 900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 904 or transmitted via the communication component 916. In some embodiments, the audio component 910 further includes a speaker for outputting audio signals.
[0112] The I / O interface 912 provides an interface between the processing component 902 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include but are not limited to: a home button, a volume button, a power button, and a lock button.
[0113] The sensor component 914 includes one or more sensors for providing an assessment of the various aspects of the state of the device 900. For example, the sensor component 914 can detect the on / off state of the device 900, the relative positioning of components, such as the display panel and the keypad of the device 900. The sensor component 914 can also detect a change in the position of the device 900 or a component of the device 900, the presence or absence of user contact with the device 900, the orientation or acceleration / deceleration of the device 900, and the temperature change of the device 900. The sensor component 914 can also include a proximity sensor that is configured to detect the presence of nearby objects without any physical contact. The sensor component 914 can also include a light sensor, such as a CMOS or a CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 914 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0114] The communication component 916 is configured to facilitate communication between the device 900 and other devices in a wired or wireless manner. The device 900 can access a communication standard-based wireless network, such as WiFi, 2G or 3G, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0115] In an exemplary embodiment, the device 900 can be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above optical image stabilization module control method.
[0116] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, and the above instructions can be executed by a processor 920 of the device 900 to complete the above optical image stabilization module control method. For example, the non-transitory computer-readable storage medium can be a ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0117] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the disclosure herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common knowledge or conventional technical means in the technical field not disclosed herein. The specification and embodiments are only to be considered exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0118] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. An optical image stabilization module control method, characterized in that, the method includes: detecting the shaking amplitude of the mobile device; responding to the shaking amplitude meeting a preset condition, and waking up the optical image stabilization driving device of the mobile device; controlling the power-on of the optical image stabilization module of the mobile device based on the optical image stabilization driving device, and adjusting the optical image stabilization module to a set position within the movable space, where the movable space is the space allowed for the optical image stabilization module to move within the camera module of the mobile device, and the set position includes a position where the optical image stabilization module does not touch a preset component within the camera module.
2. The method according to claim 1, characterized in that, the method further includes: responding to the shaking amplitude being greater than or equal to a preset amplitude threshold, and determining that the shaking amplitude meets the preset condition.
3. The method according to claim 1, characterized in that, the method further includes: detecting the current state of the camera module; responding to detecting that the current state of the camera module is the off state, and performing the operation of controlling the power-on of the optical image stabilization module of the mobile device based on the optical image stabilization driving device, and adjusting the optical image stabilization module to a set position within the movable space.
4. The method according to claim 3, characterized in that, the detecting the current state of the camera module includes: responding to the optical image stabilization driving device not receiving a target request, and determining that the current state of the camera module is the off state, where the target request includes a request for obtaining optical image stabilization data.
5. The method according to claim 1, characterized in that, the detecting the shaking amplitude of the mobile device includes: determining the shaking amplitude of the mobile device based on the acceleration data obtained by the acceleration sensor of the mobile device.
6. The method according to claim 1, characterized in that, the detecting the shaking amplitude of the mobile device includes: determining the shaking amplitude of the mobile device based on the angular velocity data obtained by the gyroscope of the mobile device.
7. An optical image stabilization module control device, characterized in that, the device includes: an amplitude detection module for detecting the shaking amplitude of the mobile device; a driving wake-up module for waking up the optical image stabilization driving device of the mobile device in response to the shaking amplitude meeting a preset condition; a position adjustment module for controlling the power-on of the optical image stabilization module of the mobile device based on the optical image stabilization driving device, and adjusting the optical image stabilization module to a set position within the movable space, where the movable space is the space allowed for the optical image stabilization module to move within the camera module of the mobile device, and the set position includes a position where the optical image stabilization module does not touch a preset component within the camera module.
8. The device according to claim 7, characterized in that, the device further includes: a condition judgment module for determining that the shaking amplitude meets the preset condition in response to the shaking amplitude being greater than or equal to a preset amplitude threshold.
9. The device according to claim 7, characterized in that, the device further includes: A state detection module, configured to detect the current state of the camera module in response to the shaking amplitude satisfying the preset condition; The position adjustment module is further configured to, in response to detecting that the current state of the camera module is the off state, perform an operation of powering on the optical image stabilization module of the mobile device based on the optical image stabilization driving device and adjusting the optical image stabilization module to a set position within the movable space.
10. The apparatus according to claim 9, wherein, The state detection module is further configured to determine that the current state of the camera module is the off state in response to the optical image stabilization driving device not receiving a target request, where the target request includes a request for obtaining optical image stabilization data.
11. The apparatus according to claim 7, wherein, The amplitude detection module is further configured to determine the shaking amplitude of the mobile device based on the acceleration data acquired by the acceleration sensor of the mobile device.
12. The apparatus according to claim 7, wherein, The amplitude detection module is further configured to determine the shaking amplitude of the mobile device based on the angular velocity data acquired by the gyroscope of the mobile device.
13. A mobile device, wherein, The device includes: A processor and a memory for storing a computer program; wherein, the processor is configured to, when executing the computer program, implement: Detect the shaking amplitude of the mobile device; In response to the shaking amplitude satisfying a preset condition, wake up the optical image stabilization driving device of the mobile device; Based on the optical image stabilization driving device, control the optical image stabilization module of the mobile device to be powered on and adjust the optical image stabilization module to a set position within the movable space, where the movable space is the space in which the optical image stabilization module is allowed to move within the camera module of the mobile device, and the set position includes a position where the optical image stabilization module does not touch a preset component within the camera module.
14. A computer-readable storage medium, on which a computer program is stored, wherein, The program, when executed by a processor, implements: Detect the shaking amplitude of the mobile device; In response to the shaking amplitude satisfying a preset condition, wake up the optical image stabilization driving device of the mobile device; Based on the optical image stabilization driving device, control the optical image stabilization module of the mobile device to be powered on and adjust the optical image stabilization module to a set position within the movable space, where the movable space is the space in which the optical image stabilization module is allowed to move within the camera module of the mobile device, and the set position includes a position where the optical image stabilization module does not touch a preset component within the camera module.