# US 2025/0168491 A1 · Photographing method and electronic device

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

- Number: US 2025/0168491 A1
- Document ID: US20250168491A1
- Status: Published application
- Kind: A1
- Application number: 18/841,177
- Filed: 2023-04-13
- Published: 2025-05-22
- Earliest claimed: 2022-08-24
- Assignees: Honor Device Co., Ltd.
- Applicants: Honor Device Co., Ltd.
- Inventors: Jirun Xu
- Web page: https://patentgrep.com/patent/US20250168491A1

## CPC

- H04N 23/60: Control of cameras or camera modules
- H04N 23/632: {for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters}
- H04M 1/72403: with means for local support of applications that increase the functionality
- H04N 23/62: Control of parameters via user interfaces
- H04N 23/631: {Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters}
- H04N 23/70: Circuitry for compensating brightness variation in the scene
- H04M 2250/52: including functional features of a camera
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

Embodiments of this application provide a photographing method and an electronic device. In the method, the electronic device displays an image preview interface of a target application, where the target application is an application with a camera function, and a preview image frame displayed in the image preview interface is collected based on an image preview request continuously delivered by the target application; the target application generates an image shooting request in response to a received user operation, where an exposure parameter of the image shooting request is different from an exposure parameter of the image preview request; and if both the unprocessed image preview request and the unprocessed image shooting request exist, the electronic device invokes an image sensor to collect a shot image frame corresponding to the image shooting request.

## Claims

### Claim 1

A photographing method, applied to an electronic device, and comprising:
displaying an image preview interface of a target application, wherein the target application is an application with a camera function, and a preview image frame displayed in the image preview interface is collected based on an image preview request continuously delivered by the target application;
generating, by the target application, an image shooting request in response to a received user operation, wherein an exposure parameter of the image shooting request is different from an exposure parameter of the image preview request; and
if both the unprocessed image preview request and the unprocessed image shooting request exist, invoking an image sensor to collect a shot image frame corresponding to the image shooting request.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the image preview request continuously delivered by the target application is stored in a request queue, and the image shooting request delivered by the target application is stored in a target module; and
the request queue is a first in first out queue.

### Claim 3 (depends on 2)

The method according to claim 2, wherein that both the unprocessed image preview request and the unprocessed image shooting request exist comprises:
if the image preview request exists in the request queue and the image shooting request exists in the target module, determining that both the unprocessed image preview request and the unprocessed image shooting request exist.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the electronic device comprises a camera hardware abstraction layer HAL module, an image signal processing ISP module, and an image sensor drive module, and the method comprises:
successively obtaining, by the camera HAL module, one image preview request from the request queue, and sending the image preview request to the ISP module;
receiving, by the ISP module, the image preview request; and
if reading an image shooting request from the target module, sending, by the ISP module, the image shooting request to the image sensor drive module, so that the image sensor drive module drives the image sensor to collect a shot image frame corresponding to the image shooting request; or
if reading no image shooting request from the target module, sending, by the ISP module, the image preview request to the image sensor drive module, so that the image sensor drive module drives the image sensor to collect a preview image frame corresponding to the image preview request.

### Claim 5 (depends on 4)

The method according to claim 4, further comprising:
if reading an image shooting request from the target module, discarding, by the ISP module, the image preview request.

### Claim 6 (depends on 4)

The method according to claim 4, further comprising:
receiving, by the camera HAL module, an image preview request or an image shooting request that is delivered by the target application, storing the image preview request in the request queue, and storing the image shooting request in the target module.

### Claim 7 (depends on 4)

The method according to claim 4, further comprising:
sending, by the ISP module to the camera HAL module, a preview image frame or a shot image frame that is fed back by the image sensor drive module; and
successively storing, by the camera HAL module, the preview image frame or the shot image frame in a zero shutter lag queue.

### Claim 8 (depends on 7)

The method according to claim 7, further comprising:
in a multi-frame composition shooting scenario, reading, by the camera HAL module, a corresponding quantity of preview image frames and a corresponding quantity of shot image frames from the zero shutter lag queue, and performing a multi-frame image composition operation by using an image processing algorithm that matches a shooting mode, to obtain a target image, wherein the target image is used to be stored in a gallery application.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the target application is a camera application.

### Claim 10

An electronic device, comprising:
one or more processors;
a memory; and
one or more computer programs, wherein the one or more computer programs are stored in the memory, and when the computer programs are executed by the one or more processors, the electronic device is enabled to perform a photographing method, wherein the method comprising:
displaying an image preview interface of a target application, wherein the target application is an application with a camera function, and a preview image frame displayed in the image preview interface is collected based on an image preview request continuously delivered by the target application;
generating, by the target application, an image shooting request in response to a received user operation, wherein an exposure parameter of the image shooting request is different from an exposure parameter of the image preview request; and
if both the unprocessed image preview request and the unprocessed image shooting request exist, invoking an image sensor to collect a shot image frame corresponding to the image shooting request.

### Claim 11

A computer-readable storage medium, comprising a computer program, wherein when the computer program is run on an electronic device, the electronic device is enabled to perform a photographing method, wherein the method comprising:
displaying an image preview interface of a target application, wherein the target application is an application with a camera function, and a preview image frame displayed in the image preview interface is collected based on an image preview request continuously delivered by the target application;
generating, by the target application, an image shooting request in response to a received user operation, wherein an exposure parameter of the image shooting request is different from an exposure parameter of the image preview request; and
if both the unprocessed image preview request and the unprocessed image shooting request exist, invoking an image sensor to collect a shot image frame corresponding to the image shooting request.
