# US 2017/0257555 A1 · Focusing method and focusing system based on a distance sensor of mobile terminal

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0257555 A1
- Document ID: US20170257555A1
- Status: Published application
- Kind: A1
- Application number: 15/308,600
- Filed: 2015-10-30
- Published: 2017-09-07
- Earliest claimed: 2015-04-27
- Assignees: Huizhou Tcl Mobile Communication Co., Ltd.
- Applicants: Huizhou Tcl Mobile Communication Co., Ltd.
- Inventors: Wenyuan Li
- Web page: https://patentgrep.com/patent/US20170257555A1

## CPC

- H04N 23/671: {in combination with active ranging signals, e.g. using light or sound signals emitted toward objects}
- G02B 7/28: Systems for automatic generation of focusing signals
- G02B 7/285: {including two or more different focus detection devices, e.g. both an active and a passive focus detecting device}
- G02B 7/38: measured at different points on the optical axis {, e.g. focussing on two or more planes and comparing image data}
- G03B 13/36: Autofocus systems
- H04M 1/72403: with means for local support of applications that increase the functionality
- H04M 2250/12: including a sensor for measuring a physical value, e.g. temperature or motion
- H04M 2250/52: including functional features of a camera
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G02B: OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G03B: APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR (optical parts of such apparatus G02B; photosensitive materials or processes for photographic purposes G03C; apparatus for processing exposed photographic materials G03D)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

A focusing method and a focusing system based on a distance sensor of mobile terminal is provided. The method may include: acquiring an initial distance between a camera and an object to be shot by using the distance sensor; judging whether the distance between the camera and the object changed; in response to judging that the distance changed, acquiring a micro-adjustment range of a motor according to the distance; controlling the motor to move based on the micro-adjustment ranges; collecting images from the camera in a real-time manner; acquiring focus values of the collected images; and moving the motor to a position corresponding to a largest focus value of the focus values to focus the camera.

## Claims

### Claim at position 1

1-4. (canceled)

### Claim 5

A focusing method based on a distance sensor of a mobile terminal, comprising:
acquiring and storing an initial distance between a camera and an object to be shot by using the distance sensor after detecting that a shooting function of the mobile terminal has started;
judging whether a current distance acquired by the distance sensor is equal to the initial distance;
in response to the judging that the current distance is not equal to the initial distance, querying a correspondence table to acquire a target micro-adjustment range of the motor according to the current distance, controlling the motor to move within the target micro-adjustment range, and collecting images from the camera; and
acquiring focus values of the images when the motor moves into different positions within the target micro-adjustment range, and controlling the motor to move to a position corresponding to a largest focus value of the focus values, thereby focusing the camera.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the method further comprises, prior to the judging:
presetting and storing the correspondence table of distances between the distance sensor and the object to be shot and associated micro-adjustment ranges of the motor.

### Claim 7 (depends on 5)

The method according to claim 5, wherein the method further comprises:
controlling the motor to keep still at a current position in response to the judging that the current distance is equal to the initial distance.

### Claim 8 (depends on 5)

The method according to claim 5, wherein the collecting of the images is in a real-time manner.

### Claim 9 (depends on 5)

The method according to claim 5, wherein the acquiring of the focus values of the images comprises:
acquiring and storing the focus values of the images when the motor moves into the different positions within the target micro-adjustment range;
comparing all of the focus values, and acquiring the position corresponding to the largest focus value; and
controlling the motor to move to the position corresponding to the largest focus value of the focus values, thereby focusing the camera.

### Claim 10

A focusing system based on a distance sensor of a mobile terminal, comprising:
a detection and acquisition module acquiring and storing an initial distance between a camera and the object to be shot by using the distance sensor after detecting that a shooting function of the mobile terminal has started;
a judgment module judging whether a current distance acquired by the distance sensor is equal to the initial distance;
in response to the judgment module judging that the current distance is not equal to the initial distance, a query and image collection module querying a correspondence table to acquire the target micro-adjustment range of a motor according to the current distance, controlling the motor to move within the target micro-adjustment range, and collecting images from the camera; and
an acquisition and control module acquiring focus values of the images when the motor moves into different positions within the target micro-adjustment range, and controlling the motor to move to a position corresponding to a largest focus value of the focus values, thereby focusing the camera.

### Claim 11 (depends on 10)

The system according to claim 10, further comprising:
a presetting and storage module presetting and storing the correspondence table of distances between the distance sensor and the object to be shot and associated micro-adjustment ranges of the motor.

### Claim 12 (depends on 10)

The system according to claim 10, wherein the judgment module further comprises:
a judgment and control unit controlling the motor to keep still at a current position in response to the judging that the current distance is equal to the initial distance.

### Claim 13 (depends on 10)

The system according to claim 10, wherein the query and image collection module comprises:
a detection and acquisition unit for acquiring the current distance between the distance sensor and the object to be shot in response to judging that the current distance has changed;
a query unit querying the correspondence table to acquire the target micro-adjustment range of the motor according to the current distance; and
a control and collection unit for controlling the motor to move within the target micro-adjustment range, and collecting images from the camera.

### Claim 14 (depends on 10)

The system according to claim 10, wherein the acquisition and control module comprises:
an acquisition and storage unit acquiring and storing the focus values of the images when the motor moves into the different positions within the target micro-adjustment range;
a comparison unit comparing all of the focus values, and acquiring the position corresponding to the largest focus value of the focus values; and
a control unit controlling the motor to move to a position corresponding to a largest focus value of the focus values, thereby focusing the camera.

### Claim 15

A storage medium for storing a processor-executable instruction therein, wherein the processor-executable instruction is configured to cause, when executed by a processor:
acquiring and storing an initial distance between a camera and the object to be shot by using the distance sensor after detecting that a shooting function of the mobile terminal has started;
judging whether a current distance acquired by the distance sensor is equal to the initial distance;
in response to the judging that the current distance is not equal to the initial distance, querying the correspondence table to acquire the target micro-adjustment range of the motor according to the current distance, controlling the motor to move within the target micro-adjustment range, and collecting images from the camera; and
acquiring focus values of the images when the motor moves into different positions within the target micro-adjustment range, and controlling the motor to move to a position corresponding to a largest focus value of the focus values, thereby focusing the camera.

### Claim 16 (depends on 15)

The storage medium according to claim 15, wherein the processor-executable instruction is further configured to cause, prior to the judging:
presetting and storing the correspondence table of distances between the distance sensor and the object to be shot and associated micro-adjustment ranges of the motor.

### Claim 17 (depends on 15)

The storage medium according to claim 15, wherein the processor-executable instruction is further configured to cause:
controlling the motor to keep still at a current position in response to the judging that the current distance is equal to the initial distance.

### Claim 18 (depends on 15)

The storage medium according to claim 15, wherein the processor-executable instruction is further configured to cause the collecting of the images in a real-time manner.

### Claim 19 (depends on 15)

The storage medium according to claim 15, wherein the processor-executable instruction is further configured so that the acquiring of the focus values comprises:
acquiring and storing the focus values of the images when the motor moves into the different positions within the target micro-adjustment range;
comparing all of the focus values, and acquiring the position corresponding to the largest focus value; and
controlling the motor to move to the position corresponding to the largest focus value of the focus values, thereby focusing the camera.

### Claim 20 (depends on 10)

The system according to claim 10, wherein the collecting of the images from the camera is in a real-time manner.
