IP Library Granted Patent US 12681738
Granted Patent B2
US 12681738 · App. 18/368,826 · Granted Jul 14, 2026

Screen capture method and apparatus, electronic device, and readable storage medium

Inventor: Shaoling Liu (Dongguan, CN)
Assignee: VIVO MOBILE COMMUNICATION CO., LTD.
G06F9/451G06F3/04845
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 12681738
App. No.
18/368,826
Granted
Jul 14, 2026
Kind
B2
Abstract

A screen capture method includes receiving a screen capture input for a target interface; in response to the screen capture input, determining a target screen corresponding to a target screen capture parameter and displaying interface elements of the target interface on the target screen according to a target policy, where the target screen capture parameter is determined according to the screen capture input, and the target policy is a preset display policy for the target interface; and performing a screen capture operation on the target screen to obtain a first image; where the target screen capture parameter is resolution or size, and a display parameter of the first image is the same as the target screen capture parameter.

Claims (61)

1 . A screen capture method, wherein the method comprises:

receiving a screen capture input for a target interface;

in response to the screen capture input, determining a target screen corresponding to a target screen capture parameter and displaying interface elements of the target interface on the target screen according to a target policy, wherein the target screen capture parameter is determined according to the screen capture input, and the target policy is a preset display policy for the target interface; and

performing a screen capture operation on the target screen to obtain a first image; wherein

the target screen capture parameter is resolution or size, and a display parameter of the first image is the same as the target screen capture parameter;

wherein the displaying interface elements of the target interface on the target screen according to a target policy comprises:

displaying all content elements of the interface elements of the target interface on the target screen according to a display priority; wherein

the interface elements of the target interface comprise a content element and a blank element, and a display priority of the content element is higher than a display priority of the blank element;

wherein the size of the target screen is smaller than the size of the target interface; and

the target screen comprises a content element within a scope of the target screen and a content element which is not within the scope of the target screen of the target interface.

2 . The method according to claim 1 , wherein the target screen is a virtual screen created based on the target screen capture parameter, or the target screen is a first area in a first screen of an electronic device, the first area corresponding to the target screen capture parameter.

3 . The method according to claim 2 , wherein the screen capture input comprises a first sub-input and a second sub-input; and

before the determining a target screen corresponding to a target screen capture parameter and displaying interface elements of the target interface on the target screen according to a target policy, the method further comprises:

displaying, in response to the first sub-input for the target interface, a parameter setting interface; and

obtaining, in response to the second sub-input for the parameter setting interface, the target screen capture parameter corresponding to the second sub-input.

4 . The method according to claim 2 , wherein the target screen is the first area; and the screen capture input comprises a third sub-input and a fourth sub-input;

before the determining a target screen corresponding to a target screen capture parameter and displaying interface elements of the target interface on the target screen according to a target policy, the method further comprises:

displaying the interface elements of the target interface in a second area of the first screen according to the target policy in response to the third sub-input for the target interface; and

the determining a target screen corresponding to a target screen capture parameter and displaying interface elements of the target interface on the target screen according to a target policy comprises:

in response to the fourth sub-input for the second area, determining the second area as the first area, and adjusting a display parameter of the first area, and updating in a real-time display of the interface elements of the target interface in the first area according to the target policy.

5 . An electronic device, comprising a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, causes the electronic device to perform:

receiving a screen capture input for a target interface;

in response to the screen capture input, determining a target screen corresponding to a target screen capture parameter and displaying interface elements of the target interface on the target screen according to a target policy, wherein the target screen capture parameter is determined according to the screen capture input, and the target policy is a preset display policy for the target interface; and

performing a screen capture operation on the target screen to obtain a first image; wherein

the target screen capture parameter is resolution or size, and a display parameter of the first image is the same as the target screen capture parameter;

wherein the program or instructions, when executed by the processor, causes the electronic device to perform:

displaying all content elements of the interface elements of the target interface on the target screen according to a display priority; wherein

the interface elements of the target interface comprise a content element and a blank element, and a display priority of the content element is higher than a display priority of the blank element;

wherein the size of the target screen is smaller than the size of the target interface; and

the target screen comprises a content element within a scope of the target screen and a content element which is not within the scope of the target screen of the target interface.

6 . The electronic device according to claim 5 , wherein the target screen is a virtual screen created based on the target screen capture parameter, or the target screen is a first area in a first screen of the electronic device, the first area corresponding to the target screen capture parameter.

7 . The electronic device according to claim 6 , wherein the screen capture input comprises a first sub-input and a second sub-input; and

the program or instructions, when executed by the processor, causes the electronic device to further perform:

displaying, in response to the first sub-input for the target interface, a parameter setting interface; and

obtaining, in response to the second sub-input for the parameter setting interface, the target screen capture parameter corresponding to the second sub-input.

8 . The electronic device according to claim 6 , wherein the target screen is the first area; and the screen capture input comprises a third sub-input and a fourth sub-input; and

the program or instructions, when executed by the processor, causes the electronic device to further perform:

displaying the interface elements of the target interface in a second area of the first screen according to the target policy in response to the third sub-input for the target interface; and

the program or instructions, when executed by the processor, causes the electronic device to perform:

in response to the fourth sub-input for the second area, determining the second area as the first area, and adjusting a display parameter of the first area, and updating in a real-time display of the interface elements of the target interface in the first area according to the target policy.

9 . A non-transitory readable storage medium, wherein the non-transitory readable storage medium stores a program or instructions, and when the program or instructions are executed by a processor of an electronic device, causes the electronic device to perform:

receiving a screen capture input for a target interface;

in response to the screen capture input, determining a target screen corresponding to a target screen capture parameter and displaying interface elements of the target interface on the target screen according to a target policy, wherein the target screen capture parameter is determined according to the screen capture input, and the target policy is a preset display policy for the target interface; and

performing a screen capture operation on the target screen to obtain a first image; wherein

the target screen capture parameter is resolution or size, and a display parameter of the first image is the same as the target screen capture parameter;

wherein the program or instructions, when executed by the processor, causes the electronic device to perform:

displaying all content elements of the interface elements of the target interface on the target screen according to a display priority; wherein

the interface elements of the target interface comprise a content element and a blank element, and a display priority of the content element is higher than a display priority of the blank element;

wherein the size of the target screen is smaller than the size of the target interface; and

the target screen comprises a content element within a scope of the target screen and a content element which is not within the scope of the target screen of the target interface.

10 . The non-transitory readable storage medium according to claim 9 , wherein the target screen is a virtual screen created based on the target screen capture parameter, or the target screen is a first area in a first screen of the electronic device, the first area corresponding to the target screen capture parameter.

11 . The non-transitory readable storage medium according to claim 10 , wherein the screen capture input comprises a first sub-input and a second sub-input; and

the program or instructions, when executed by the processor, causes the electronic device to further perform:

displaying, in response to the first sub-input for the target interface, a parameter setting interface; and

obtaining, in response to the second sub-input for the parameter setting interface, the target screen capture parameter corresponding to the second sub-input.

12 . The non-transitory readable storage medium according to claim 10 , wherein the target screen is the first area; and the screen capture input comprises a third sub-input and a fourth sub-input; and

the program or instructions, when executed by the processor, causes the electronic device to further perform:

displaying the interface elements of the target interface in a second area of the first screen according to the target policy in response to the third sub-input for the target interface; and

the program or instructions, when executed by the processor, causes the electronic device to perform:

in response to the fourth sub-input for the second area, determining the second area as the first area, and adjusting a display parameter of the first area, and updating in a real-time display of the interface elements of the target interface in the first area according to the target policy.

13 . A chip, wherein the chip comprises a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to run a program or instructions to implement the screen capture method according to claim 1 .