# US 2020/0401830 A1 · Method, apparatus and storage medium for controlling image acquisition component

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

- Number: US 2020/0401830 A1
- Document ID: US20200401830A1
- Status: Published application
- Kind: A1
- Application number: 16/686,135
- Filed: 2019-11-16
- Published: 2020-12-24
- Earliest claimed: 2019-06-24
- Assignees: Beijing Xiaomi Mobile Software Co., Ltd.
- Applicants: Beijing Xiaomi Mobile Software Co., Ltd.
- Inventors: Nengjin ZHU
- Web page: https://patentgrep.com/patent/US20200401830A1

## CPC

- H04M 1/0264: {for a camera module assembly}
- G03B 17/04: collapsible, foldable or extensible, e.g. book type
- H04M 1/72454: according to context-related or environment-related conditions
- H04N 23/50: Constructional details
- H04M 1/0237: {Sliding mechanism with one degree of freedom}
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)
- 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)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for controlling an image acquisition component includes: when a terminal including a movable image acquisition component receives an activating instruction for the image acquisition component, acquired data acquired by a Proximity Sensor (P-sensor) is obtained, the image acquisition component being capable of moving in and out of the terminal under driving of a driving component of the terminal; it is determined whether there is an obstacle in a preset range of the terminal based on the acquired data; and when there is the obstacle in the preset range of the terminal, the activating instruction is forbidden to be executed, and the image acquisition component is kept at a first position in the terminal.

## Claims

### Claim 1

A method for controlling an image acquisition component, comprising:
responsive to that a terminal comprising a movable image acquisition component receives an activating instruction for the image acquisition component, obtaining acquired data acquired by a proximity sensor (P-sensor), the image acquisition component being capable of moving in and out of the terminal under driving of a driving component of the terminal;
determining whether there is an obstacle in a preset range of the terminal based on the acquired data; and
in a case that there is the obstacle in the preset range of the terminal, forbidding the activating instruction to be executed, and keeping the image acquisition component at a first position in the terminal.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
in a case that there is no obstacle in the preset range of the terminal, sending the activating instruction to the driving component; and
driving, by the driving component based on the activating instruction, the image acquisition component to move from the first position in the terminal to a second position outside the terminal.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
in a case that there is the obstacle in the preset range of the terminal, obtaining a brightness parameter acquired by a light sensor;
wherein the forbidding the activating instruction to be executed and keeping the image acquisition component at the first position in the terminal in a case that there is the obstacle in the preset range of the terminal comprises:
responsive to that the brightness parameter is less than a preset brightness threshold, forbidding the activating instruction to be executed and keeping the image acquisition component at the first position in the terminal.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
responsive to that the brightness parameter is greater than the preset brightness threshold, sending the activating instruction to the driving component; and
driving, by the driving component based on the activating instruction, the image acquisition component to move from the first position in the terminal to a second position outside the terminal.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
in a case that there is the obstacle in the preset range of the terminal, obtaining stay time of the obstacle within the preset range;
wherein the forbidding the activating instruction to be executed and keeping the image acquisition component at the first position in the terminal in a case that there is the obstacle in the preset range of the terminal comprises:
responsive to that the stay time is greater than a preset time threshold, forbidding the activating instruction to be executed and keeping the image acquisition component at the first position in the terminal.

### Claim 6 (depends on 1)

The method of claim 1, wherein obtaining the acquired data acquired by the P-sensor comprises:
performing, by the P-sensor, data acquisition in the preset range of the terminal to obtain the acquired data;
sending, by the P-sensor, the acquired data to a sensor hub service; and
obtaining, by a driving service, the acquired data from the sensor hub service;
wherein the determining whether there is the obstacle in the preset range of the terminal based on the acquired data comprises:
determining, by the driving service based on the acquired data, whether there is the obstacle in the preset range of the terminal.

### Claim 7 (depends on 1)

The method of claim 1, wherein the terminal comprises at least two P-sensors of which orientations of sensing surfaces are different, and the method further comprises:
in a case that an image acquisition surface of the image acquisition component faces a first surface, activating the P-sensor corresponding to the first surface; and
responsive to that it is detected that the image acquisition surface of the image acquisition component turns from the first surface to a second surface, activating the P-sensor corresponding to the second surface to keep the sensing surface of the P-sensor and the image acquisition surface of the image acquisition component face the same surface.

### Claim 8

A device for controlling an image acquisition component, comprising:
a processor; and
a memory configured to store an instruction executable for the processor;
wherein the processor is configured to:
obtain, responsive to that a terminal comprising a movable image acquisition component receives an activating instruction for the image acquisition component, acquired data acquired by a proximity sensor (P-sensor), the image acquisition component being capable of moving in and out of the terminal under driving of a driving component of the terminal;
determine whether there is an obstacle in a preset range of the terminal based on the acquired data; and
in a case that there is the obstacle in the preset range of the terminal, forbid the activating instruction to be executed and keep the image acquisition component at a first position in the terminal.

### Claim 9 (depends on 8)

The device of claim 8, further comprising an output interface and a driving component, wherein:
the output interface is configured to send, in a case that there is no obstacle in the preset range of the terminal, the activating instruction to the driving component; and
the driving component is configured to drive the image acquisition component based on the activating instruction to move from the first position in the terminal to a second position outside the terminal.

### Claim 10 (depends on 8)

The device of claim 8, wherein the processor is configured to:
obtain, in a case that there is the obstacle in the preset range of the terminal, a brightness parameter acquired by a light sensor; and
responsive to that the brightness parameter is less than a preset brightness threshold, forbid the activating instruction to be executed and keep the image acquisition component at the first position in the terminal.

### Claim 11 (depends on 10)

The device of claim 10, further comprising an output interface and a driving component, wherein:
the output interface is configured to send, responsive to that the brightness parameter is greater than the preset brightness threshold, the activating instruction to the driving component; and
the driving component is configured to drive the image acquisition component based on the activating instruction to move from the first position in the terminal to a second position outside the terminal.

### Claim 12 (depends on 8)

The device of claim 8, wherein the processor is configured to:
obtain, in a case that there is the obstacle in the preset range of the terminal, stay time of the obstacle within the preset range; and
responsive to that the stay time is greater than a preset time threshold, forbid the activating instruction to be executed and keep the image acquisition component at the first position in the terminal.

### Claim 13 (depends on 8)

The device of claim 8, further comprising:
a P-sensor, configured to perform data acquisition in the preset range of the terminal to obtain the acquired data and send the acquired data to a sensor hub service; and
a driving service, configured to obtain the acquired data from the sensor hub service and determine whether there is the obstacle in the preset range of the terminal based on the acquired data.

### Claim 14 (depends on 8)

The device of claim 8, wherein the terminal comprises at least two P-sensors of which orientations of sensing surfaces are different, and the processor is configured to:
activate, responsive to that an image acquisition surface of the image acquisition component faces a first surface, the P-sensor corresponding to the first surface; and
activate, responsive to that it is detected that the image acquisition surface of the image acquisition component turns from the first surface to a second surface, the P-sensor corresponding to the second surface to keep the sensing surface of the P-sensor and the image acquisition surface of the image acquisition component face the same surface.

### Claim 15

A non-transitory computer-readable storage medium, an instruction in the storage medium being executed by a processor of a device for controlling an image acquisition component to enable the device to implement a method for controlling an image acquisition component, the method comprising:
responsive to that a terminal comprising a movable image acquisition component receives an activating instruction for the image acquisition component, obtaining acquired data acquired by a proximity sensor (P-sensor), the image acquisition component being capable of moving in and out of the terminal under driving of a driving component of the terminal;
determining whether there is an obstacle in a preset range of the terminal based on the acquired data; and
in a case that there is the obstacle in the preset range of the terminal, forbidding the activating instruction to be executed, and keeping the image acquisition component at a first position in the terminal.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the method further comprises:
in a case that there is no obstacle in the preset range of the terminal, sending the activating instruction to the driving component; and
driving, by the driving component based on the activating instruction, the image acquisition component to move from the first position in the terminal to a second position outside the terminal.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the method further comprises:
in a case that there is the obstacle in the preset range of the terminal, obtaining a brightness parameter acquired by a light sensor;
wherein the forbidding the activating instruction to be executed and keeping the image acquisition component at the first position in the terminal in a case that there is the obstacle in the preset range of the terminal comprises:
responsive to that the brightness parameter is less than a preset brightness threshold, forbidding the activating instruction to be executed and keeping the image acquisition component at the first position in the terminal.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the method further comprises:
in a case that there is the obstacle in the preset range of the terminal, obtaining stay time of the obstacle within the preset range;
wherein the forbidding the activating instruction to be executed and keeping the image acquisition component at the first position in the terminal in a case that there is the obstacle in the preset range of the terminal comprises:
responsive to that the stay time is greater than a preset time threshold, forbidding the activating instruction to be executed and keeping the image acquisition component at the first position in the terminal.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein obtaining the acquired data acquired by the P-sensor comprises:
performing, by the P-sensor, data acquisition in the preset range of the terminal to obtain the acquired data;
sending, by the P-sensor, the acquired data to a sensor hub service; and
obtaining, by a driving service, the acquired data from the sensor hub service;
wherein determining whether there is the obstacle in the preset range of the terminal based on the acquired data comprises:
determining, by the driving service based on the acquired data, whether there is the obstacle in the preset range of the terminal.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the terminal comprises at least two P-sensors of which orientations of sensing surfaces are different, and the method further comprises:
responsive to that an image acquisition surface of the image acquisition component faces a first surface, activating the P-sensor corresponding to the first surface; and
responsive to that it is detected that the image acquisition surface of the image acquisition component turns from the first surface to a second surface, activating the P-sensor corresponding to the second surface to keep the sensing surface of the P-sensor and the image acquisition surface of the image acquisition component face the same surface.
