IP Library Granted Patent US 12,452,525
Granted Patent B2
US 12,452,525 · App. 18/464,717 · Granted Oct 21, 2025

Processing method and electronic device

Inventors: Shanghui Zhang (Beijing, CN); Zhichao Chen (Beijing, CN)
Assignee: LENOVO (BEIJING) LIMITED
H04N23/632H04N23/62H04N23/667
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,452,525
App. No.
18/464,717
Granted
Oct 21, 2025
Kind
B2
Abstract

A processing method includes obtaining target configuration parameters that include a first configuration parameter for a first function module and a second configuration parameter for a second function module, initializing the first function module based at least on the first configuration parameter, initializing the second function module based at least on the second configuration parameters, and feeding back feedback information indicating completion of initialization after initialization of the first function module is completed and before initialization of the second function module is completed.

Claims (48)

1. A processing method for a camera, comprising:

obtaining target configuration parameters, the target configuration parameters including a first configuration parameter for a first function module and a second configuration parameter for a second function module;

initializing the first function module based at least on the first configuration parameter;

initializing the second function module based at least on the second configuration parameters; and

feeding back feedback information indicating completion of initialization after initialization of the first function module is completed and before initialization of the second function module is completed;

wherein:

feeding back of the feedback information enables provision of a first image data stream based on a first resource in response to a request for a preview image data stream, the request for the preview image data stream coming from a target application program; and

the completion of the initialization of the second function module enables provision of a second image data stream based on a second resource in response to a request for a collected image data stream, the request for the collected image data stream coming from the target application program.

2. The processing method of claim 1 , wherein:

the target configuration parameters include configuration parameters corresponding to the target application program being in a target mode, the target mode being one of a plurality of operation modes of an application program;

initializing the first function module based at least on the first configuration parameter includes loading the first resource based at least on the first configuration parameter, so that the target mode realizes a preview function; and

initializing the second function module based at least on the second configuration parameter includes loading the second resource based at least on the second configuration parameter, so that the target mode realizes a capture function.

3. The processing method of claim 2 , wherein different ones of the plurality of operation modes correspond to different configurations.

4. The processing method of claim 1 , further comprising, before the initialization of the second function module is completed:

generating and saving a captured image based on a preview image in response to obtaining a capture instruction.

5. The processing method of claim 4 , wherein generating and saving the captured image based on the preview images includes:

processing the preview image based on a target algorithm to generate the captured image; and

saving the captured image.

6. The processing method of claim 1 , further comprising, after the initialization of the second function module is completed:

generating and saving a captured image based on a collected image in response to obtaining a capture instruction.

7. The processing method of claim 6 , wherein generating and saving the captured image based on the collected image includes:

based on an obtained indicator mark, determining an algorithm module corresponding to the indicator mark in the second resource; and

processing the collected image based on the algorithm module to generate the captured image, so as to cause the target application program to obtain and save the captured image.

8. An electronic device including a camera, comprising:

one or more memories storing one or more computer programs; and

one or more processors configured to execute the one or more computer programs to:

obtain target configuration parameters, the target configuration parameters including a first configuration parameter for a first function module and a second configuration parameter for a second function module;

initialize the first function module based at least on the first configuration parameter;

initialize the second function module based at least on the second configuration parameters;

feed back feedback information indicating completion of initialization after initialization of the first function module is completed and before initialization of the second function module is completed;

provide, after feeding back the feedback information, a first image data stream based on a first resource in response to a request for a preview image data stream, the request for the preview image data stream coming from a target application program; and

provide, after completing the initialization of the second function module, a second image data stream based on a second resource in response to a request for a collected image data stream, the request for the collected image data stream coming from the target application program.

9. The electronic device of claim 8 , wherein:

the target configuration parameters include configuration parameters corresponding to the target application program being in a target mode, the target mode being one of a plurality of operation modes of an application program; and

the one or more processors are further configured to execute the one or more computer programs to:

load the first resource based at least on the first configuration parameter, so that the target mode realizes a preview function; and

load the second resource based at least on the second configuration parameter, so that the target mode realizes a capture function.

10. The electronic device of claim 9 , wherein different ones of the plurality of operation modes correspond to different configurations.

11. The electronic device of claim 8 , wherein the one or more processors are further configured to execute the one or more computer programs to, before the initialization of the second function module is completed:

generate and sav a captured image based on a preview image in response to obtaining a capture instruction.

12. The electronic device of claim 11 , wherein the one or more processors are further configured to execute the one or more computer programs to:

process the preview image based on a target algorithm to generate the captured image; and

save the captured image.

13. The electronic device of claim 8 , wherein the one or more processors are further configured to execute the one or more computer programs to, after the initialization of the second function module is completed:

generate and save a captured image based on a collected image in response to obtaining a capture instruction.

14. The electronic device of claim 13 , wherein the one or more processors are further configured to execute the one or more computer programs to:

based on an obtained indicator mark, determine an algorithm module corresponding to the indicator mark in the second resource; and

process the collected image based on the algorithm module to generate the captured image, so as to cause the target application program to obtain and save the captured image.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 11, 2023
From: ZHANG, SHANGHUI; CHEN, ZHICHAO
To: LENOVO (BEIJING) LIMITED
Reel/Frame 064861/0828 →
Priority Claims (1)
CN 202211230558.X · Sep 30, 2022 · national
Continuity (1)
Related Publication 20240114233A1 · Apr 4, 2024
References Cited (13)
US 9772863B2 · Herzi · 2017 [cited by examiner]
US 10504244B2 · Bao · 2019 [cited by examiner]
US 10552983B1 · Slobodyanyuk · 2020 [cited by examiner]
US 11394872B2 · Jia · 2022 [cited by examiner]
US 11759709B2 · Yang · 2023 [cited by examiner]
US 20180070074A1 · Nobori · 2018 [cited by examiner]
US 20180232907A1 · Sung · 2018 [cited by examiner]
US 20190007589A1 · Kadambala · 2019 [cited by examiner]
US 20190096091A1 · Bao · 2019 [cited by examiner]
US 20210112190A1 · Jia · 2021 [cited by examiner]
US 20210314496A1 · Sadhu · 2021 [cited by examiner]
US 20220212104A1 · Yang · 2022 [cited by examiner]
US 20220276360A1 · Ma · 2022 [cited by examiner]