# US 2024/0193945 A1 · Method for determining recommended scenario 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 2024/0193945 A1
- Document ID: US20240193945A1
- Status: Published application
- Kind: A1
- Application number: 18/010,316
- Filed: 2022-05-19
- Published: 2024-06-13
- Earliest claimed: 2021-06-23
- Assignees: Honor Device Co., Ltd.
- Applicants: Honor Device Co., Ltd.
- Inventors: Yonghua WANG; Shiyu ZHU; Zhen DONG; Yongxing YANG
- Web page: https://patentgrep.com/patent/US20240193945A1

## CPC

- G06V 20/41: {Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items (segmenting video sequences G06V20/49)}
- H04N 23/617: Upgrading or updating of programs or applications for camera control
- G06F 3/0481: based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- H04N 23/631: {Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters}
- H04N 23/667: Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
- H04N 23/68: for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04W 4/02: Services making use of location information
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

This application provides a method for determining a recommended scenario and an electronic device. The method includes: determining a recommended scenario of a current image based on a moving distance of a camera on an electronic device and a relationship between a current image and a previous image. When a slight shake occurs on the electronic device or the camera on the electronic device, or a photographed object/scenario does not change violently, continuity of a recommended scenario is preferably ensured, a probability of a jump of the recommended scenario is reduced, and user experience during image shooting is greatly improved.

## Claims

### Claim 1

A method for determining a recommended scenario, comprising:
displaying, by an electronic device, a first interface at a first moment, wherein the first interface comprises a preview box and a first mark, the preview box displays a first image captured by a camera of the electronic device in real time, and the first mark is used to identify a scenario corresponding to the first image; and
displaying, by the electronic device, a second interface at a second moment, wherein the second interface comprises the preview box and a second mark, the preview box displays a second image captured by the camera of the electronic device in real time, the second mark is used to identify a scenario corresponding to the second image, the second image is different from the first image, and the second moment is different from the first moment; wherein
if the electronic device meets a first preset condition, the second mark is the same as the first mark.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the first preset condition is that the electronic device determines that a difference between the first image and the second image is less than or equal to a first preset threshold.

### Claim 3 (depends on 2)

The method according to claim 2, wherein that the electronic device determines that a difference between the first image and the second image is less than or equal to a first preset threshold specifically comprises:
determining, by the electronic device, that a difference between a type and/or a quantity of objects in the first image and a type and/or a quantity of objects in the second image is less than or equal to the first preset threshold; or
determining, by the electronic device, that a distance between a data matrix of the first image and a data matrix of the second image is less than or equal to the first preset threshold.

### Claim 4 (depends on 1)

The method according to claim 1, wherein
at the first moment, the electronic device is in a first geographical location, and the first geographical location is used to identify a real-time geographical location in which the electronic device is located;
at the second moment, the electronic device is in a second geographical location, and the second geographical location is used to identify a real-time geographical location in which the electronic device is located; and
the first preset condition is that a distance between the first geographical location and the second geographical location is less than or equal to a second preset threshold.

### Claim 5 (depends on 1)

The method according to claim 1, wherein
at the first moment, the electronic device is in a first posture, and the first posture comprises an azimuth and a pitch angle of the electronic device at the first moment;
at the second moment, the electronic device is in a second posture, and the second posture comprises an azimuth and a pitch angle of the electronic device at the second moment; and
the first preset condition is;
a difference between the azimuth of the electronic device at the first moment and the azimuth of the electronic device at the second moment is less than or equal to a threshold, and a difference between the pitch angle of the electronic device at the first moment and the pitch angle of the electronic device at the second moment is less than or equal to a threshold; or
a product of a difference between the azimuth of the electronic device at the first moment and the azimuth of the electronic device at the second moment and a difference between the pitch angle of the electronic device at the first moment and the pitch angle of the electronic device at the second moment is less than a threshold.

### Claim 6 (depends on 1)

The method according to claim 1, wherein before the displaying, by the electronic device, a second interface at a second moment, wherein the second interface comprises the preview box and a second mark, the method further comprises:
determining, by the electronic device, a target scenario corresponding to the second image, wherein
the target scenario corresponding to the second image is different from a target scenario corresponding to the first image.

### Claim 7 (depends on 1)

The method according to claim 1, wherein before the displaying, by the electronic device, a second interface at a second moment, wherein the second interface comprises the preview box and a second mark, the method further comprises:
determining, by the electronic device, that the second image has no corresponding target scenario.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the method further comprises:
if the electronic device does not meet the first preset condition, the second mark is different from the first mark.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the method further comprises:
before the second moment, target scenarios corresponding to a plurality of images collected by the electronic device are the same, the electronic device does not meet the first preset condition, and the second mark is different from the first mark.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the method further comprises:
if the electronic device does not meet the first preset condition, and the electronic device determines that the second image has no corresponding target scenario, skipping displaying/hiding, by the electronic device, the second mark.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the method further comprises:
before the second moment, if the plurality of images collected by the electronic device have no corresponding target scenario, and the electronic device does not meet the first preset condition, skipping displaying/hiding, by the electronic device, the second mark.

### Claim 12

A method for determining a recommended scenario, comprising:
displaying, by an electronic device, a first interface at a first moment, wherein the first interface comprises a preview box and a first mark, the preview box displays a first image captured by a camera of the electronic device in real time, and the first mark is used to identify a scenario corresponding to the first image; and
displaying, by the electronic device, a second interface at a second moment, wherein the second interface comprises the preview box and a second mark, the preview box displays a second image captured by the camera of the electronic device in real time, the second mark is used to identify a scenario corresponding to the second image, the second image is different from the first image, and the second moment is different from the first moment; wherein
if the electronic device meets a first preset condition, the second mark is the same as the first mark, or
if the electronic device does not meet the first preset condition, the second mark is the same as the scenario corresponding to the second image.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the first preset condition is that the electronic device determines that a difference between the first image and the second image is less than or equal to a first preset threshold.

### Claim 14 (depends on 13)

The method according to claim 13, wherein that the electronic device determines that a difference between the first image and the second image is less than or equal to a first preset threshold specifically comprises:
determining, by the electronic device, that a difference between a type and/or a quantity of objects in the first image and a type and/or a quantity of objects in the second image is less than or equal to the first preset threshold; or
determining, by the electronic device, that a distance between a data matrix of the first image and a data matrix of the second image is less than or equal to the first preset threshold.

### Claim 15 (depends on 12)

The method according to claim 12, wherein
at the first moment, the electronic device is in a first geographical location, and the first geographical location is used to identify a real-time geographical location in which the electronic device is located;
at the second moment, the electronic device is in a second geographical location, and the second geographical location is used to identify a real-time geographical location in which the electronic device is located; and
the first preset condition is that a distance between the first geographical location and the second geographical location is less than or equal to a second preset threshold.

### Claim 16 (depends on 12)

The method according to claim 12, wherein
at the first moment, the electronic device is in a first posture, and the first posture comprises an azimuth and a pitch angle of the electronic device at the first moment;
at the second moment, the electronic device is in a second posture, and the second posture comprises an azimuth and a pitch angle of the electronic device at the second moment; and
the first preset condition is:
a difference between the azimuth of the electronic device at the first moment and the azimuth of the electronic device at the second moment is less than or equal to a threshold, and a difference between the pitch angle of the electronic device at the first moment and the pitch angle of the electronic device at the second moment is less than or equal to a threshold; or
a product of a difference between the azimuth of the electronic device at the first moment and the azimuth of the electronic device at the second moment and a difference between the pitch angle of the electronic device at the first moment and the pitch angle of the electronic device at the second moment is less than a threshold.

### Claim 17 (depends on 12)

The method according to claim 12, wherein before the displaying, by the electronic device, a second interface at a second moment, wherein the second interface comprises the preview box and a second mark, the method further comprises:
determining, by the electronic device, a target scenario corresponding to the second image, wherein
the target scenario corresponding to the second image is different from a target scenario corresponding to the first image.

### Claim 18 (depends on 12)

The method according to claim 12, wherein before the displaying, by the electronic device, a second interface at a second moment, wherein the second interface comprises the preview box and a second mark, the method further comprises:
determining, by the electronic device, that the second image has no corresponding target scenario.

### Claim 19 (depends on 12)

The method according to claim 12, wherein the method further comprises:
if the electronic device does not meet the first preset condition, the second mark is different from the first mark.

### Claim at position 20

-22. (canceled)

### Claim 23

An electronic device, wherein the electronic device comprises one or more processors and a memory;
the memory is coupled to the one or more processors, the memory is configured to store computer program code, the computer program code comprises computer instructions, and the one or more processors invoke the computer instructions to enable the electronic device to perform operations, the operations comprising:
displaying a first interface at a first moment, wherein the first interface comprises a preview box and a first mark, the preview box displays a first image captured by a camera of the electronic device in real time, and the first mark is used to identify a scenario corresponding to the first image; and
displaying a second interface at a second moment, wherein the second interface comprises the preview box and a second mark, the preview box displays a second image captured by the camera of the electronic device in real time, the second mark is used to identify a scenario corresponding to the second image, the second image is different from the first image, and the second moment is different from the first moment; wherein
if the electronic device meets a first preset condition, the second mark is the same as the first mark.

### Claim at position 22

-26. (canceled)
