Anti-shake method, anti-shake device, mobile terminal and readable storage medium

By adding an anti-shake module to the camera module of the mobile terminal and rationally allocating shake compensation information, the existing problem of poor optical anti-shake effect is solved, achieving a wider anti-shake range and higher-quality image effects.

CN116095482BActive Publication Date: 2024-10-29GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111271828.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-29
Publication Date
2024-10-29
Estimated Expiration
2041-10-29

AI Technical Summary

Technical Problem

The optical anti-shake effect of existing mobile terminals is not good and cannot meet consumers' demand for high-quality image effects.

Method used

By increasing the number of anti-shake modules in the camera module, determining the shake compensation information based on the obtained shake information, selecting the target anti-shake module combination, and allocating the shake compensation information according to the preset rules, so that the target anti-shake module driver The corresponding components perform shake compensation to improve the anti-shake effect.

Benefits of technology

The anti-shake range is expanded, the anti-shake effect is improved, ensuring the consistency of image stability and brightness during zooming, and providing a zoom experience close to that of a SLR camera.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116095482B_ABST
    Figure CN116095482B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses an anti-shake method, an anti-shake device, a mobile terminal and a readable storage medium. The mobile terminal includes a camera module, the camera module includes an optical reflective element, a lens group and an image sensor arranged in sequence from the object side to the image side, the optical reflective element is connected to the first anti-shake module, the lens group is connected to the second anti-shake module, and the image sensor is connected to the third anti-shake module. The anti-shake method includes: determining the shake compensation information according to the acquired shake information; selecting at least two from the first anti-shake module, the second anti-shake module and the third anti-shake module as the target anti-shake module combination according to the shake compensation information; allocating the shake compensation information to the target anti-shake module combination according to a preset rule, so that the anti-shake module in the target anti-shake module combination drives the corresponding element to perform shake compensation on the imaging light. The present invention can improve the anti-shake effect and reasonably allocate the shake compensation information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mobile terminals, and in particular to an anti-shake method, an anti-shake device, a mobile terminal and a readable storage medium. Background Art

[0002] The camera modules of traditional mobile terminals are usually unable to change the focal length. However, as consumers have higher and higher requirements for image effects, more consumers also hope that the camera modules of mobile terminals can achieve optical zoom.

[0003] Currently, optical zoom can be achieved within a camera module through the relative movement of multiple lens groups. This optical zoom solution has the following advantages: 1. The clarity of most focal lengths during zooming is better than that of multi-camera fixed focal length telephoto modules, achieving lossless zoom; 2. The image will not jump significantly during zooming, providing a zoom experience close to that of a SLR camera, achieving continuous zoom, and ensuring that the color and brightness of the image will not jump during zooming, and that the image quality will not be significantly lost.

[0004] However, the anti-shake of this camera module is performed by a prism, which can rotate in the X and Y directions to achieve the effect of optical anti-shake. Due to size limitations, the anti-shake range of this optical anti-shake method using a prism is limited and the anti-shake effect is not good.

[0005] It can be seen that the existing optical image stabilization method has a poor image stabilization effect. Summary of the invention

[0006] In view of this, the purpose of the embodiments of the present application is to provide an anti-shake method, an anti-shake device, a mobile terminal and a readable storage medium, which can solve the problem of poor anti-shake effect in the existing anti-shake.

[0007] In order to solve the above technical problems, this application is implemented as follows:

[0008] In a first aspect, an embodiment of the present application provides an anti-shake method, which is applied to a mobile terminal, wherein the mobile terminal includes a camera module, wherein the camera module includes an optical reflective element, a lens group, and an image sensor arranged in sequence from an object side to an image side, wherein the optical reflective element is connected to a first anti-shake module, wherein the lens group is connected to a second anti-shake module, and wherein the image sensor is connected to a third anti-shake module, wherein the method includes:

[0009] Determining jitter compensation information according to the acquired jitter information;

[0010] According to the jitter compensation information, selecting at least two from the first anti-shake module, the second anti-shake module, and the third anti-shake module as a target anti-shake module combination;

[0011] The jitter compensation information is distributed to the target anti-shake module combination according to preset rules, so that the anti-shake module in the target anti-shake module combination drives the corresponding element to perform jitter compensation on the imaging light, wherein the preset rules include any one of the focal length of the camera module, the priority of the anti-shake module, and the stroke ratio of the anti-shake module.

[0012] According to a specific implementation manner disclosed in the present application, the preset rule is the focal length of the camera module, the target anti-shake module combination includes the first anti-shake module and the second anti-shake module; and the step of allocating the shake compensation information to the target anti-shake module combination according to the preset rule includes:

[0013] When the focal length of the camera module is not less than a preset first focal length threshold, and the jitter compensation information is not greater than an adjustable anti-shake threshold of the first anti-shake module of the optical reflective element anti-shake module, the jitter compensation information is allocated to the first anti-shake module;

[0014] When the focal length of the camera module is not less than a preset first focal length threshold, and the jitter compensation information is greater than an adjustable anti-shake threshold of the first anti-shake module of the optical reflective element anti-shake module, the jitter compensation information is sequentially distributed to the first anti-shake module and the second anti-shake module;

[0015] When the focal length of the camera module is less than a preset first focal length threshold and the shake compensation information is not greater than an adjustable anti-shake threshold of the second anti-shake module, allocating the shake compensation information to the second anti-shake module;

[0016] When the focal length of the camera module is less than a preset first focal length threshold and the shake compensation information is greater than an adjustable anti-shake threshold of the second anti-shake module, the shake compensation information is sequentially distributed to the second anti-shake module and the first anti-shake module.

[0017] According to a specific implementation manner disclosed in the present application, the preset rule is the focal length of the camera module, the target anti-shake module combination includes the first anti-shake module and the third anti-shake module; and the jitter compensation information is distributed to the target anti-shake module combination according to the preset rule, including:

[0018] When the focal length of the camera module is not less than a preset second focal length threshold, and the shake compensation information is not greater than an adjustable anti-shake threshold of the first anti-shake module, allocating the shake compensation information to the first anti-shake module;

[0019] When the focal length of the camera module is not less than a preset second focal length threshold, and the shake compensation information is greater than an adjustable anti-shake threshold of the first anti-shake module, the shake compensation information is sequentially distributed to the first anti-shake module and the third anti-shake module;

[0020] When the focal length of the camera module is less than a preset second focal length threshold and the shake compensation information is not greater than an adjustable anti-shake threshold of the third anti-shake module, allocating the shake compensation information to the third anti-shake module;

[0021] When the focal length of the camera module is less than a preset second focal length threshold and the shake compensation information is greater than an adjustable anti-shake threshold of the third anti-shake module, the shake compensation information is sequentially distributed to the third anti-shake module and the first anti-shake module.

[0022] According to a specific implementation manner disclosed in the present application, the preset rule is the focal length of the camera module, the target anti-shake module combination includes the second anti-shake module and the third anti-shake module; and the jitter compensation information is distributed to the target anti-shake module combination according to the preset rule, including:

[0023] When the focal length of the camera module is not less than a preset third focal length threshold, and the shake compensation information is not greater than an adjustable anti-shake threshold of the second anti-shake module, allocating the shake compensation information to the second anti-shake module;

[0024] When the focal length of the camera module is not less than a preset third focal length threshold, and the shake compensation information is greater than an adjustable anti-shake threshold of the second anti-shake module, the shake compensation information is sequentially distributed to the second anti-shake module and the third anti-shake module;

[0025] When the focal length of the camera module is less than a preset third focal length threshold and the shake compensation information is not greater than an adjustable anti-shake threshold of the third anti-shake module, allocating the shake compensation information to the third anti-shake module;

[0026] When the focal length of the camera module is less than a preset third focal length threshold and the shake compensation information is greater than an adjustable anti-shake threshold of the third anti-shake module, the shake compensation information is sequentially distributed to the third anti-shake module and the second anti-shake module.

[0027] According to a specific implementation manner disclosed in the present application, the preset rule is the focal length of the camera module, the target anti-shake module combination includes the first anti-shake module, the second anti-shake module and the third anti-shake module; the jitter compensation information is distributed to the target anti-shake module combination according to the preset rule, including:

[0028] When the focal length of the camera module is not less than a preset fourth focal length threshold, the shake compensation information is distributed in the order of the first anti-shake module, the second anti-shake module, and the third anti-shake module;

[0029] When the focal length of the camera module is less than the preset fourth focal length threshold and not less than the preset fifth focal length threshold, the shake compensation information is distributed in the order of the second anti-shake module, the first anti-shake module, and the third anti-shake module;

[0030] When the focal length of the camera module is less than the preset fifth focal length threshold, the shake compensation information is distributed in the order of the third anti-shake module, the second anti-shake module, and the first anti-shake module.

[0031] According to a specific implementation manner disclosed in the present application, the priorities of the anti-shake modules include: the first anti-shake module is higher than the second anti-shake module, and the second anti-shake module is higher than the third anti-shake module.

[0032] According to a specific implementation method disclosed in the present application, each anti-shake module includes a driving structure, and the stroke ratio of the anti-shake module includes the stroke ratio of the driving structure; the jitter compensation information is distributed to the target anti-shake module combination according to a preset rule, including:

[0033] Determining the stroke ratio of the anti-shake modules in the target anti-shake module combination according to the preset stroke of each driving structure;

[0034] The jitter compensation information is distributed to each anti-shake module according to the stroke ratio of the anti-shake module.

[0035] In a second aspect, an embodiment of the present application provides an anti-shake device, which is applied to a mobile terminal, wherein the mobile terminal includes a camera module, wherein the camera module includes an optical reflective element, a lens group, and an image sensor arranged in sequence from an object side to an image side, wherein the optical reflective element is connected to a first anti-shake module, wherein the lens group is connected to a second anti-shake module, and wherein the image sensor is connected to a third anti-shake module, wherein the device includes:

[0036] A determination module, used to determine jitter compensation information according to the acquired jitter information;

[0037] a selection module, configured to select at least two of the first anti-shake module, the second anti-shake module, and the third anti-shake module as a target anti-shake module combination according to the shake compensation information;

[0038] An allocation module is used to allocate the jitter compensation information to the target anti-shake module combination according to a preset rule, so that the anti-shake module in the target anti-shake module combination drives the corresponding element to perform jitter compensation on the imaging light, wherein the preset rule includes any one of the focal length of the camera module, the priority of the anti-shake module, and the travel ratio of the anti-shake module.

[0039] In a third aspect, an embodiment of the present application provides a mobile terminal, including a processor and a memory, wherein the memory stores programs or instructions, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0040] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0041] The anti-shake method, anti-shake device, mobile terminal and readable storage medium provided by the above embodiments of the present application increase the number of anti-shake modules, thereby increasing the angle of the anti-shake range and improving the anti-shake effect. At the same time, the shake compensation information is reasonably allocated based on any one of the focal length of the camera module, the priority of the anti-shake module and the travel ratio of the anti-shake module. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solution of the present invention, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope of protection of the present invention. In each of the drawings, similar components are numbered similarly.

[0043] Figure 1 A flow chart of an anti-shake method provided in an embodiment of the present application is shown;

[0044] Figure 2 A schematic diagram of the structure of a camera module provided in an embodiment of the present application is shown;

[0045] Figure 3 A schematic structural diagram of an anti-shake device provided in an embodiment of the present application is shown.

[0046] Description of main component symbols:

[0047] 200-camera module; 210-optical reflective element; 211-first anti-shake module; 220-lens group; 221-second anti-shake module; 222-first lens group; 223-second lens group; 224-third lens group; 230-image sensor; 231-third anti-shake module; 240-filter; 1000-anti-shake device; 1001-determination module; 1002-selection module; 1003-allocation module. DETAILED DESCRIPTION

[0048] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0049] The components of the embodiments of the present invention generally described and shown in the drawings herein may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0050] Hereinafter, the terms "including", "having" and their cognates, which may be used in various embodiments of the present invention, are intended only to indicate specific features, numbers, steps, operations, elements, components or combinations of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing items or adding the possibility of one or more features, numbers, steps, operations, elements, components or combinations of the foregoing items.

[0051] Furthermore, the terms “first”, “second”, “third”, etc. are merely used for distinguishing descriptions and are not to be understood as indicating or implying relative importance.

[0052] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present invention belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present invention.

[0053] See also Figure 1 , Figure 1 A flowchart of the anti-shake method provided in an embodiment of the present application, such as Figure 1As shown, the method is applied to a mobile terminal, and the mobile terminal includes a camera module. Please refer to Figure 2 , Figure 2 The schematic diagram of the structure of a camera module provided by an embodiment of the present application is shown, wherein the camera module 200 comprises an optical reflective element 210, a lens group 220 and an image sensor 230 arranged in sequence from the object side to the image side, wherein the optical reflective element 210 is connected to a first anti-shake module 211, the lens group 220 is connected to a second anti-shake module 221, and the image sensor 230 is connected to a third anti-shake module 231. The dotted line shown in the figure indicates the propagation direction of the imaging light.

[0054] The optical reflective element 210 is used to reflect the imaging light, thereby changing the direction of the imaging light. The optical reflective element 210 can be a prism, a reflector, etc. In this embodiment, a prism is used as an example for discussion.

[0055] The lens group 220 includes at least one lens group, each lens group includes at least one lens, and the imaging light is processed by different lens combinations. In this embodiment, the lens group 220 includes a first lens group 222, a second lens group 223 and a third lens group 224, the first lens group 222 includes one lens, the second lens group 223 includes two lenses, and the third lens group 224 includes two lenses. It can be understood that the number of lens groups, the number of lenses included in each lens group, and the type of each lens can be set according to actual needs.

[0056] The image sensor 230 is a photoelectric conversion device, which is used to convert the light image on the photosensitive surface into an electrical signal in a corresponding proportional relationship with the light image by using the photoelectric conversion function of the photoelectric device. The types of the image sensor 230 include CCD (Charged Coupled Device), CMOS (Complementary Metal Oxide Semiconductor) and CIS (Contact Image Sensor). It is understandable that the type of the image sensor 230 can be set according to actual needs.

[0057] A filter 240 may be disposed between the lens group 220 and the image sensor 230. It is understood that the type of the filter 240 may be set according to actual needs.

[0058] A second optical reflective element 210 may be further disposed between the lens group 220 and the image sensor 230 , so that the position of the image sensor 230 may be changed.

[0059] The camera module also includes Figure 2The camera coordinate system shown in the figure takes the center of the image sensor as the origin, and includes a y-axis parallel to the optical axis of the lens group, an x-axis perpendicular to the y-axis and parallel to the height direction of the lens group, and a z-axis perpendicular to the y-axis and perpendicular to the height direction of the lens group.

[0060] The anti-shake method comprises the following steps:

[0061] Step S101: Determine jitter compensation information according to the acquired jitter information.

[0062] Specifically, when a user takes a photo with a handheld mobile terminal, the mobile terminal will usually shake due to hand shaking, which will cause the captured image to produce a ghost image, affecting the photo effect. The mobile terminal can obtain jitter information through detection elements such as a gyroscope, and then determine the jitter compensation information based on the jitter information. The jitter information includes the jitter direction and the jitter distance. The jitter compensation information can compensate for the jitter of the mobile terminal, change the direction of the imaging light, and avoid image blur. Therefore, the jitter compensation direction of the jitter compensation information is opposite to the jitter direction of the jitter information, and the jitter compensation distance of the jitter compensation information is equal to the jitter distance of the jitter information. For example, if the jitter information is 1 mm moving along the positive direction of the x-axis, then the jitter compensation information is 1 mm moving along the negative direction of the x-axis. After the jitter compensation information is determined, the jitter compensation information can be allocated according to subsequent steps.

[0063] Step S102 : selecting at least two of the first anti-shake module, the second anti-shake module, and the third anti-shake module as a target anti-shake module combination according to the shake compensation information.

[0064] Specifically, the target anti-shake module combination includes four combination forms, specifically: the first, the first anti-shake module and the second anti-shake module; the second, the second anti-shake module and the third anti-shake module; the third, the first anti-shake module and the third anti-shake module; the fourth, the first anti-shake module, the second anti-shake module and the third anti-shake module. Considering that in some cases the jitter compensation information is relatively small, the jitter compensation can be completed by the combination of two jitter modules, and in some cases the jitter compensation information is relatively large, it needs to be completed by the combination of three jitter modules. Therefore, according to the jitter compensation information, a combination form is determined from the above four combination forms. By increasing the number of anti-shake modules, the angle of the anti-shake range becomes larger, the problem of poor anti-shake effect is solved, and the anti-shake effect is improved.

[0065] After the anti-shake module in the target anti-shake module combination is selected, the shake compensation information may be distributed to the anti-shake module in the target anti-shake module combination according to subsequent steps.

[0066] Step S103, allocating the jitter compensation information to the target anti-shake module combination according to preset rules, so that the anti-shake module in the target anti-shake module combination drives the corresponding element to perform jitter compensation on the imaging light, wherein the preset rules include any one of the focal length of the camera module, the priority of the anti-shake module, and the stroke ratio of the anti-shake module.

[0067] Specifically, the shake compensation information can be distributed to all or part of the anti-shake modules in the target anti-shake module combination according to a preset rule. For example, when the target anti-shake module combination includes the first anti-shake module and the second anti-shake module, the shake compensation information can be distributed to the first anti-shake module, the second anti-shake module, or the first anti-shake module and the second anti-shake module.

[0068] When the jitter compensation information is distributed to at least two anti-shake modules in the target anti-shake module combination, the jitter compensation direction may be unchanged and only the jitter compensation distance may be distributed, or both the jitter compensation direction and the jitter compensation distance may be distributed, as long as the jitter compensation information combination distributed to each anti-shake module can obtain the jitter compensation information. For example, when the jitter compensation information is to move 0.2mm along the positive direction of the y-axis, and the target anti-shake module combination includes the first anti-shake module and the second anti-shake module, the first anti-shake module may be distributed with a movement of 0.1mm along the positive direction of the y-axis, and the second anti-shake module may be distributed with a movement of 0.1mm along the positive direction of the y-axis; the first anti-shake module may also be distributed with a movement in a direction perpendicular to the z-axis, which is 45 degrees to the positive directions of the x-axis and the y-axis. The second anti-shake module is assigned to move in a direction perpendicular to the z-axis and at an angle of 45 degrees to the negative direction of the x-axis and the positive direction of the y-axis. At the same time, the adjustable anti-shake threshold of each anti-shake module should also be considered during allocation, and the jitter compensation information allocated to each anti-shake module should not exceed the adjustable anti-shake threshold of each anti-shake module.

[0069] Each anti-shake module includes a controller and a driving structure. The controller is used to receive the assigned jitter compensation information and transmit the assigned jitter compensation information to the driving structure. The driving structure is connected to the corresponding components and, after receiving the assigned jitter compensation information, drives the corresponding components of each anti-shake module to move so as to perform jitter compensation on the imaging light.

[0070] How to allocate the shake compensation information will be specifically discussed below in combination with different target anti-shake module combinations and different preset rules.

[0071] The first type: the preset rule is the focal length of the camera module, the target anti-shake module combination includes the first anti-shake module and the second anti-shake module; the jitter compensation information is distributed to the target anti-shake module combination according to the preset rule, including:

[0072] When the focal length of the camera module is not less than a preset first focal length threshold, and the jitter compensation information is not greater than an adjustable anti-shake threshold of the first anti-shake module of the optical reflective element anti-shake module, the jitter compensation information is allocated to the first anti-shake module;

[0073] When the focal length of the camera module is not less than a preset first focal length threshold, and the jitter compensation information is greater than an adjustable anti-shake threshold of the first anti-shake module of the optical reflective element anti-shake module, the jitter compensation information is sequentially distributed to the first anti-shake module and the second anti-shake module;

[0074] When the focal length of the camera module is less than a preset first focal length threshold and the shake compensation information is not greater than an adjustable anti-shake threshold of the second anti-shake module, allocating the shake compensation information to the second anti-shake module;

[0075] When the focal length of the camera module is less than a preset first focal length threshold and the shake compensation information is greater than an adjustable anti-shake threshold of the second anti-shake module, the shake compensation information is sequentially distributed to the second anti-shake module and the first anti-shake module.

[0076] Specifically, the mobile terminal determines the focal length of the camera module according to the distance between the object being photographed and the mobile terminal. Since the first anti-shake module has a better anti-shake effect at far focus than the second anti-shake module, and the second anti-shake module has a better anti-shake effect at near focus than the first anti-shake module, when allocating, if the focal length of the camera module is not less than the preset first focal length threshold, that is, at far focus, the jitter compensation information is preferentially allocated to the first anti-shake module; if the focal length of the camera module is less than the preset first focal length threshold, that is, at near focus, the jitter compensation information is preferentially allocated to the second anti-shake module. At the same time, the adjustable anti-shake threshold of each anti-shake module is also considered during allocation, so as to make a reasonable allocation.

[0077] For example, if the focal length of the camera module is telephoto, the jitter compensation information is 0.1mm along the positive direction of the x-axis, and the adjustable anti-shake threshold of the first anti-shake module is 0.2mm, the jitter compensation information is allocated to the first anti-shake module; if the jitter compensation information is 0.25mm along the positive direction of the x-axis, 0.2mm of it is allocated to the first anti-shake module, and the remaining 0.05mm is allocated to the second anti-shake module; 0.15mm of it can also be allocated to the first anti-shake module, and the remaining 0.1mm is allocated to the second anti-shake module.

[0078] The second type: the preset rule is the focal length of the camera module, and the target anti-shake module combination includes the first anti-shake module and the third anti-shake module; and the jitter compensation information is distributed to the target anti-shake module combination according to the preset rule, including:

[0079] When the focal length of the camera module is not less than a preset second focal length threshold, and the shake compensation information is not greater than an adjustable anti-shake threshold of the first anti-shake module, allocating the shake compensation information to the first anti-shake module;

[0080] When the focal length of the camera module is not less than a preset second focal length threshold, and the shake compensation information is greater than an adjustable anti-shake threshold of the first anti-shake module, the shake compensation information is sequentially distributed to the first anti-shake module and the third anti-shake module;

[0081] When the focal length of the camera module is less than a preset second focal length threshold and the shake compensation information is not greater than an adjustable anti-shake threshold of the third anti-shake module, allocating the shake compensation information to the third anti-shake module;

[0082] When the focal length of the camera module is less than a preset second focal length threshold and the shake compensation information is greater than an adjustable anti-shake threshold of the third anti-shake module, the shake compensation information is sequentially distributed to the third anti-shake module and the first anti-shake module.

[0083] Specifically, the mobile terminal determines the focal length of the camera module according to the distance between the object being photographed and the mobile terminal. Since the first anti-shake module has a better anti-shake effect at far focus than the third anti-shake module, and the third anti-shake module has a better anti-shake effect at near focus than the first anti-shake module, when allocating, if the focal length of the camera module is not less than the preset second focal length threshold, that is, at far focus, the jitter compensation information is preferentially allocated to the first anti-shake module; if the focal length of the camera module is less than the preset second focal length threshold, that is, at near focus, the jitter compensation information is preferentially allocated to the third anti-shake module. At the same time, the adjustable anti-shake threshold of each anti-shake module is also considered during allocation, so as to make a reasonable allocation. The specific logic is consistent with the previous text and will not be repeated here.

[0084] The third type: the preset rule is the focal length of the camera module, and the target anti-shake module combination includes the second anti-shake module and the third anti-shake module; and the jitter compensation information is distributed to the target anti-shake module combination according to the preset rule, including:

[0085] When the focal length of the camera module is not less than a preset third focal length threshold, and the shake compensation information is not greater than an adjustable anti-shake threshold of the second anti-shake module, allocating the shake compensation information to the second anti-shake module;

[0086] When the focal length of the camera module is not less than a preset third focal length threshold, and the shake compensation information is greater than an adjustable anti-shake threshold of the second anti-shake module, the shake compensation information is sequentially distributed to the second anti-shake module and the third anti-shake module;

[0087] When the focal length of the camera module is less than a preset third focal length threshold and the shake compensation information is not greater than an adjustable anti-shake threshold of the third anti-shake module, allocating the shake compensation information to the third anti-shake module;

[0088] When the focal length of the camera module is less than a preset third focal length threshold and the shake compensation information is greater than an adjustable anti-shake threshold of the third anti-shake module, the shake compensation information is sequentially distributed to the third anti-shake module and the second anti-shake module.

[0089] Specifically, the mobile terminal determines the focal length of the camera module according to the distance between the object being photographed and the mobile terminal. Since the anti-shake effect of the second anti-shake module in far focus is better than that of the third anti-shake module, and the anti-shake effect of the third anti-shake module in near focus is better than that of the second anti-shake module, when allocating, if the focal length of the camera module is not less than the preset third focal length threshold, that is, in far focus, the jitter compensation information is preferentially allocated to the second anti-shake module; if the focal length of the camera module is less than the preset third focal length threshold, that is, in near focus, the jitter compensation information is preferentially allocated to the third anti-shake module. At the same time, the adjustable anti-shake threshold of each anti-shake module is also considered during allocation, so as to make a reasonable allocation. The specific logic is consistent with the previous text and will not be repeated here.

[0090] It is understandable that the preset first focal length threshold, the preset second focal length threshold, and the preset third focal length threshold may be equal or unequal, and those skilled in the art may set them according to actual needs. For example, the preset first focal length threshold, the preset second focal length threshold, and the preset third focal length threshold are all 2m, or the preset first focal length threshold is 2.5m, the preset second focal length threshold is 2m, and the preset third focal length threshold is 1.8m.

[0091] A fourth method: the preset rule is the focal length of the camera module, the target anti-shake module combination includes the first anti-shake module, the second anti-shake module and the third anti-shake module; and the jitter compensation information is distributed to the target anti-shake module combination according to the preset rule, including:

[0092] When the focal length of the camera module is not less than a preset fourth focal length threshold, the shake compensation information is distributed in the order of the first anti-shake module, the second anti-shake module, and the third anti-shake module;

[0093] When the focal length of the camera module is less than the preset fourth focal length threshold and not less than the preset fifth focal length threshold, the shake compensation information is distributed in the order of the second anti-shake module, the first anti-shake module, and the third anti-shake module;

[0094] When the focal length of the camera module is less than the preset fifth focal length threshold, the shake compensation information is distributed in the order of the third anti-shake module, the second anti-shake module, and the first anti-shake module.

[0095] Specifically, the mobile terminal determines the focal length of the camera module according to the distance between the object and the mobile terminal. Since the first anti-shake module has a better anti-shake effect in far focus than the second anti-shake module and the third anti-shake module, and the third anti-shake module has a better anti-shake effect in near focus than the second anti-shake module and the first anti-shake module, when allocating, if the focal length of the camera module is not less than the preset fourth focal length threshold, that is, in far focus, the jitter compensation information is preferentially allocated to the first anti-shake module, then to the second anti-shake module, and finally to the third anti-shake module; if the focal length of the camera module is not less than the preset fourth focal length threshold, that is, between far focus and near focus, the jitter compensation information is preferentially allocated to the second anti-shake module, then to the first anti-shake module, and finally to the third anti-shake module; if the focal length of the camera module is less than the preset fifth focal length threshold, that is, in near focus, the jitter compensation information is preferentially allocated to the third anti-shake module, then to the second anti-shake module, and finally to the first anti-shake module. At the same time, the adjustable anti-shake threshold of each anti-shake module is also taken into consideration during the allocation, so as to make a reasonable allocation. The specific logic is consistent with the previous article and will not be repeated here.

[0096] It is understandable that the preset fourth focal length threshold is greater than the preset fifth focal length threshold, and those skilled in the art can set specific values ​​according to actual needs. For example, the preset fourth focal length threshold is 5m, and the preset fifth focal length threshold is 2m.

[0097] Fifth: The preset rules include priorities. It is understandable that the priorities can be pre-set or can be set by the user according to their own needs. In this embodiment, the priority of the anti-shake module includes: the first anti-shake module is higher than the second anti-shake module, and the second anti-shake module is higher than the third anti-shake module. This is because the optical reflective element can directly change the angle of the imaging light by rotation, and the lens group is converted into a change in the angle of the imaging light by movement, and the driving structure of the third anti-shake module must complete the optical image stabilization in the x / z direction as well as the optical image stabilization in the y-axis direction. The lens group is used preferentially to achieve optical image stabilization to ensure that there is enough space in the rotation direction of the driving structure of the third anti-shake module.

[0098] The sixth type: each anti-shake module includes a driving structure, and the stroke ratio of the anti-shake module includes the stroke ratio of the driving structure; the jitter compensation information is distributed to the target anti-shake module combination according to a preset rule, including:

[0099] Determining the stroke ratio of the anti-shake modules in the target anti-shake module combination according to the preset stroke of each driving structure;

[0100] The jitter compensation information is distributed to each anti-shake module according to the stroke ratio of the anti-shake module.

[0101] In this embodiment, the driving structure is a motor. The driving structure of each anti-shake module is pre-set with a preset stroke. For example, the preset stroke of the driving structure of the first anti-shake module is 150μm, the preset stroke of the driving structure of the second anti-shake module is 150μm, and the preset stroke of the driving structure of the third anti-shake module is 200μm. Then, the stroke ratio between the first anti-shake module, the second anti-shake module, and the third anti-shake module is 3:3:4, and the jitter compensation information is allocated according to the above stroke ratio.

[0102] Through the above-mentioned methods, reasonable distribution of jitter compensation information is achieved.

[0103] The anti-shake method provided in the embodiment of the present application increases the number of anti-shake modules, thereby increasing the angle of the anti-shake range and improving the anti-shake effect. At the same time, the shake compensation information is reasonably allocated based on any one of the focal length of the camera module, the priority of the anti-shake module, and the travel ratio of the anti-shake module.

[0104] Corresponding to the above method embodiment, see Figure 3 , Figure 3 A schematic diagram of the structure of the anti-shake device provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the anti-shake device is applied to a mobile terminal, the mobile terminal includes a camera module, the camera module includes an optical reflective element, a lens group and an image sensor arranged in sequence from the object side to the image side, the optical reflective element is connected to the first anti-shake module, the lens group is connected to the second anti-shake module, the image sensor is connected to the third anti-shake module, and the anti-shake device 1000 includes:

[0105] A determination module 1001 is used to determine jitter compensation information according to the acquired jitter information;

[0106] A selection module 1002 is used to select at least two of the first anti-shake module, the second anti-shake module, and the third anti-shake module as a target anti-shake module combination;

[0107] The allocation module 1003 is used to allocate the jitter compensation information to the target anti-shake module combination according to preset rules, so that the anti-shake module in the target anti-shake module combination drives the corresponding element to perform jitter compensation on the imaging light, wherein the preset rules include any one of the focal length of the camera module, the priority of the anti-shake module, and the stroke ratio of the anti-shake module.

[0108] The anti-shake device provided in the embodiment of the present application can achieve Figure 1 The various processes of the anti-shake method in the method embodiment can achieve the same technical effect, and to avoid repetition, they will not be described here.

[0109] Optionally, an embodiment of the present application also provides a mobile terminal, including a processor and a memory, wherein the memory stores programs or instructions, and when the program or instructions are executed by the processor, the various processes of the above-mentioned anti-shake method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.

[0110] Optionally, an embodiment of the present application further provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned anti-shake method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0111] The processor is the processor in the mobile terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0112] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow chart, and the combination of boxes in the structure diagram and / or the flow chart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0113] In addition, the functional modules or units in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0114] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0115] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. An anti-shake method, characterized in that: The method is applied to a mobile terminal, the mobile terminal includes a camera module, the camera module includes an optical reflective element, a lens group and an image sensor arranged in sequence from the object side to the image side, the optical reflective element is connected to a first anti-shake module, the lens group is connected to a second anti-shake module, and the image sensor is connected to a third anti-shake module. The method includes: Determining jitter compensation information according to the acquired jitter information; According to the jitter compensation information, selecting at least two from the first anti-shake module, the second anti-shake module, and the third anti-shake module as a target anti-shake module combination; The jitter compensation information is distributed to the target anti-shake module combination according to a preset rule, so that the anti-shake module in the target anti-shake module combination drives the corresponding element to perform jitter compensation on the imaging light, wherein the preset rule includes any one of the focal length of the camera module, the priority of the anti-shake module, and the stroke ratio of the anti-shake module. When the preset rule is the focal length of the camera module, the target anti-shake module combination includes the first anti-shake module and the second anti-shake module; the jitter compensation information is distributed to the target anti-shake module combination according to the preset rule, including: When the focal length of the camera module is not less than a preset first focal length threshold, and the jitter compensation information is not greater than an adjustable anti-shake threshold of the first anti-shake module of the optical reflective element anti-shake module, the jitter compensation information is allocated to the first anti-shake module; When the focal length of the camera module is not less than a preset first focal length threshold, and the jitter compensation information is greater than an adjustable anti-shake threshold of the first anti-shake module of the optical reflective element anti-shake module, the jitter compensation information is sequentially distributed to the first anti-shake module and the second anti-shake module; When the focal length of the camera module is less than a preset first focal length threshold and the shake compensation information is not greater than an adjustable anti-shake threshold of the second anti-shake module, allocating the shake compensation information to the second anti-shake module; When the focal length of the camera module is less than a preset first focal length threshold and the shake compensation information is greater than an adjustable anti-shake threshold of the second anti-shake module, the shake compensation information is sequentially distributed to the second anti-shake module and the first anti-shake module.

2. The anti-shake method according to claim 1, characterized in that: The preset rule is the focal length of the camera module, and the target anti-shake module combination includes the first anti-shake module and the third anti-shake module; The step of allocating the jitter compensation information to the target anti-shake module combination according to a preset rule includes: When the focal length of the camera module is not less than a preset second focal length threshold, and the shake compensation information is not greater than an adjustable anti-shake threshold of the first anti-shake module, allocating the shake compensation information to the first anti-shake module; When the focal length of the camera module is not less than a preset second focal length threshold, and the shake compensation information is greater than an adjustable anti-shake threshold of the first anti-shake module, the shake compensation information is sequentially distributed to the first anti-shake module and the third anti-shake module; When the focal length of the camera module is less than a preset second focal length threshold and the shake compensation information is not greater than an adjustable anti-shake threshold of the third anti-shake module, allocating the shake compensation information to the third anti-shake module; When the focal length of the camera module is less than a preset second focal length threshold and the shake compensation information is greater than an adjustable anti-shake threshold of the third anti-shake module, the shake compensation information is sequentially distributed to the third anti-shake module and the first anti-shake module.

3. The anti-shake method according to claim 1, characterized in that: The preset rule is the focal length of the camera module, and the target anti-shake module combination includes the second anti-shake module and the third anti-shake module; The step of allocating the jitter compensation information to the target anti-shake module combination according to a preset rule includes: When the focal length of the camera module is not less than a preset third focal length threshold, and the shake compensation information is not greater than an adjustable anti-shake threshold of the second anti-shake module, allocating the shake compensation information to the second anti-shake module; When the focal length of the camera module is not less than a preset third focal length threshold, and the shake compensation information is greater than an adjustable anti-shake threshold of the second anti-shake module, the shake compensation information is sequentially distributed to the second anti-shake module and the third anti-shake module; When the focal length of the camera module is less than a preset third focal length threshold and the shake compensation information is not greater than an adjustable anti-shake threshold of the third anti-shake module, allocating the shake compensation information to the third anti-shake module; When the focal length of the camera module is less than a preset third focal length threshold and the shake compensation information is greater than an adjustable anti-shake threshold of the third anti-shake module, the shake compensation information is sequentially distributed to the third anti-shake module and the second anti-shake module.

4. The anti-shake method according to claim 1, characterized in that: The preset rule is the focal length of the camera module, and the target anti-shake module combination includes the first anti-shake module, the second anti-shake module and the third anti-shake module; The step of allocating the jitter compensation information to the target anti-shake module combination according to a preset rule includes: When the focal length of the camera module is not less than a preset fourth focal length threshold, the shake compensation information is distributed in the order of the first anti-shake module, the second anti-shake module, and the third anti-shake module; When the focal length of the camera module is less than the preset fourth focal length threshold and not less than the preset fifth focal length threshold, the shake compensation information is distributed in the order of the second anti-shake module, the first anti-shake module, and the third anti-shake module; When the focal length of the camera module is less than the preset fifth focal length threshold, the shake compensation information is distributed in the order of the third anti-shake module, the second anti-shake module, and the first anti-shake module.

5. The anti-shake method according to claim 1, characterized in that: The priorities of the anti-shake modules include: the first anti-shake module is higher than the second anti-shake module, and the second anti-shake module is higher than the third anti-shake module.

6. The anti-shake method according to claim 1, characterized in that: Each anti-shake module includes a driving structure, and the stroke ratio of the anti-shake module includes the stroke ratio of the driving structure; The step of allocating the jitter compensation information to the target anti-shake module combination according to a preset rule includes: Determining the stroke ratio of the anti-shake modules in the target anti-shake module combination according to the preset stroke of each driving structure; The jitter compensation information is distributed to each anti-shake module according to the stroke ratio of the anti-shake module.

7. An anti-shake device, characterized in that: Applied to a mobile terminal, the mobile terminal includes a camera module, the camera module includes an optical reflective element, a lens group and an image sensor arranged in sequence from the object side to the image side, the optical reflective element is connected to a first anti-shake module, the lens group is connected to a second anti-shake module, the image sensor is connected to a third anti-shake module, and the device includes: A determination module, used to determine jitter compensation information according to the acquired jitter information; a selection module, configured to select at least two of the first anti-shake module, the second anti-shake module, and the third anti-shake module as a target anti-shake module combination according to the shake compensation information; an allocation module, configured to allocate the jitter compensation information to the target anti-shake module combination according to a preset rule, so that the anti-shake module in the target anti-shake module combination drives a corresponding element to perform jitter compensation on the imaging light, wherein the preset rule includes any one of the focal length of the camera module, the priority of the anti-shake module, and the stroke ratio of the anti-shake module. When the preset rule is the focal length of the camera module, the target anti-shake module combination includes the first anti-shake module and the second anti-shake module; allocating the jitter compensation information to the target anti-shake module combination according to the preset rule includes: When the focal length of the camera module is not less than a preset first focal length threshold, and the jitter compensation information is not greater than an adjustable anti-shake threshold of the first anti-shake module of the optical reflective element anti-shake module, the jitter compensation information is allocated to the first anti-shake module; When the focal length of the camera module is not less than a preset first focal length threshold, and the jitter compensation information is greater than an adjustable anti-shake threshold of the first anti-shake module of the optical reflective element anti-shake module, the jitter compensation information is sequentially distributed to the first anti-shake module and the second anti-shake module; When the focal length of the camera module is less than a preset first focal length threshold and the shake compensation information is not greater than an adjustable anti-shake threshold of the second anti-shake module, allocating the shake compensation information to the second anti-shake module; When the focal length of the camera module is less than a preset first focal length threshold and the shake compensation information is greater than an adjustable anti-shake threshold of the second anti-shake module, the shake compensation information is sequentially distributed to the second anti-shake module and the first anti-shake module.

8. A mobile terminal, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the anti-shake method according to any one of claims 1 to 6 are implemented.

9. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the anti-shake method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Optical device and control method therefor

    CN104219436A

  • Camera module, anti-shake assembly and terminal

    CN111355872A

  • Camera system equipped with camera shake correction function

    CN1892293A