IP Library › Granted Patent US 10,949,158
Granted Patent B2
US 10,949,158 · App. 16/001,446 · Granted Mar 16, 2021

Screenshot method and apparatus

Inventors: Liang Fang (Shenzhen, CN); Yanqing Jing (Shenzhen, CN); Dawei Sun (Shenzhen, CN); Xifeng Yang (Shenzhen, CN); Yan Huang (Shenzhen, CN); Jun Yang (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
G06F3/1454G06F9/44G06F9/452G06F3/1415G06T7/70
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 10,949,158
App. No.
16/001,446
Granted
Mar 16, 2021
Kind
B2
Abstract

A screenshot method includes receiving, by a local terminal, a remote screenshot instruction sent by a remote terminal, taking a screenshot by executing a screenshot logic corresponding to the remote screenshot instruction, and sending the screenshot to the remote terminal. The screenshot logic us configured in an operating system of the local terminal and corresponds to a version of the operating system.

Claims (73)

1. A screenshot method comprising:

receiving, by a local terminal, a remote screenshot instruction sent by a remote terminal, wherein the remote screenshot instruction includes a communication address of at least one terminal other than the remote terminal;

receiving, by the remote terminal, information on a version of an operating system of the local terminal;

selecting, by the remote terminal, a screenshot logic from a library of screenshot logics according to the information on the version of the operating system of the local terminal, wherein the library of screenshot logics correlates screenshot logics with different versions of operating systems;

taking a screenshot, by the local terminal, via executing the screenshot logic corresponding to the remote screenshot instruction, the screenshot logic being configured in the operating system of the local terminal and corresponding to the version of the operating system, including:

obtaining a screenshot proxy object;

obtaining the screenshot by using the screenshot proxy object;

saving the screenshot to a screen shared memory; and

reading the screenshot from the screen shared memory; and

sending the screenshot to the remote terminal; and

sending the screenshot, by the local terminal, to the remote terminal and the at least one terminal other than the remote terminal.

2. The method according to claim 1 , wherein the screenshot is a screenshot of a screen of the local terminal, and wherein taking the screenshot via executing the screenshot logic corresponding to the remote screenshot instruction comprises:

creating a virtual screen configured to display the screen of the local terminal and a screenshot buffer;

taking the screenshot of the screen through the virtual screen; and saving the screenshot to the screenshot buffer.

3. The method according to claim 2 , further comprising:

listening to the screenshot buffer, wherein sending the screenshot to the remote terminal comprises: sending the screenshot to the remote terminal when the screenshot exists in the screenshot buffer.

4. The method according to claim 2 , further comprising:

determining a direction of the screen according to a current screenshot; and

setting width and height information of the screenshot to be adapted to the direction of the screen when the direction of the screen changes relative to a previous screenshot.

5. The method according to claim 1 , wherein receiving the remote screenshot instruction sent by the remote terminal comprises:

receiving the remote screenshot instruction sent by the remote terminal through a server.

6. The method according to claim 1 , wherein receiving the remote screenshot instruction sent by the remote terminal comprises:

receiving the remote screenshot instruction sent by the remote terminal through a server and an access terminal; and

receiving, before taking the screenshot, the screenshot logic sent by the access terminal according to the version of the operating system.

7. The method according to claim 1 , wherein the screenshot is sent, at the same time, to the remote terminal and the at least one terminal other than the remote terminal, to realize synchronous display of the screenshot.

8. The method according to claim 1 , wherein the remote screenshot instruction instructs to continuously take screenshots during a period of time.

9. A terminal comprising: a processor; and a memory storing an operation instruction that, when executed by the processor, causes the processor to:

receive a remote screenshot instruction sent by a remote terminal, wherein the remote screenshot instruction includes a communication address of at least one terminal other than the remote terminal;

send to the remote terminal information on a version of an operation system of the terminal;

receive a screenshot logic from the remote terminal in response to the version of the operation system, the remote terminal including a library of screenshot logics correlating screenshot logics with different versions of operating systems;

take a screenshot by executing the screenshot logic corresponding to the remote screenshot instruction, the screenshot logic being configured in the operating system of the terminal and corresponding to the version of the operating system, including:

obtaining a screenshot proxy object;

obtaining the screenshot by using the screenshot proxy object;

saving the screenshot to a screen shared memory; and

reading the screenshot from the screen shared memory; and

sending the screenshot to the remote terminal; and

send the screenshot to the remote terminal and the at least one terminal other than the remote terminal.

10. The terminal according to claim 9 , wherein the screenshot is a screenshot of a screen of the terminal, and wherein the operation instruction further causes the processor to:

create a virtual screen configured to display the screen of the terminal and a screenshot buffer;

take the screenshot of the screen through the virtual screen; and

save the screenshot to the screenshot buffer.

11. The terminal according to claim 10 , wherein the operation instruction further causes the processor to:

listen to the screenshot buffer; and

send the screenshot to the remote terminal when the screenshot exists in the screenshot buffer.

12. The terminal according to claim 10 , wherein the operation instruction further causes the processor to:

determine a direction of the screen according to a current screenshot; and

set width and height information of the screenshot to be adapted to the direction of the screen when the direction of the screen changes relative to a previous screenshot.

13. The terminal according to claim 9 , wherein the operation instruction further causes the processor to:

receive the remote screenshot instruction sent by the remote terminal through a server.

14. The terminal according to claim 9 , wherein the operation instruction further causes the processor to:

receive the remote screenshot instruction sent by the remote terminal through a server and an access terminal; and

receive, before taking the screenshot, the screenshot logic sent by the access terminal according to the version of the operating system.

15. A non-transitory computer-readable storage medium storing a program that, when executed by a processor, causes the processor to:

receive a remote screenshot instruction sent by a remote terminal, wherein the remote screenshot instruction includes a communication address of at least one terminal other than the remote terminal;

send to the remote terminal information on a version of an operating system of a local terminal;

select, by the remote terminal, a screenshot logic from a library of screenshot logics according to the information on the version of the operating system of the local terminal, wherein the library of screenshot logics correlates screenshot logics with different versions of operating systems;

take a screenshot, by the local terminal, via executing the screenshot logic corresponding to the remote screenshot instruction, the screenshot logic being configured in the operating system of the local terminal and corresponding to the version of the operating system, including:

obtaining a screenshot proxy object;

obtaining the screenshot by using the screenshot proxy object;

saving the screenshot to a screen shared memory; and

reading the screenshot from the screen shared memory; and

sending the screenshot to the remote terminal; and

send the screenshot, by the local terminal, to the remote terminal and the at least one terminal other than the remote terminal.

16. The storage medium according to claim 15 , wherein the screenshot is a screenshot of a screen of the local terminal, and wherein the program further causes the processor to:

create a virtual screen configured to display the screen of the local terminal and a screenshot buffer;

take the screenshot of the screen through the virtual screen; and

save the screenshot to the screenshot buffer.

17. The storage medium according to claim 16 , wherein the program further causes the processor to:

listen to the screenshot buffer; and

send the screenshot to the remote terminal when the screenshot exists in the screenshot buffer.

18. The storage medium according to claim 16 , wherein the program further causes the processor to:

determine a direction of the screen according to a current screenshot; and

set width and height information of the screenshot to be adapted to the direction of the screen when the direction of the screen changes relative to a previous screenshot.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 6, 2018
From: FANG, LIANG; JING, YANQING; SUN, DAWEI; YANG, XIFENG; HUANG, YAN; YANG, JUN
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 046004/0172 →
Priority Claims (1)
CN 201610042112.2 · Jan 22, 2016 · national
Continuity (2)
Continuation PCTCN2016108686 · Dec 6, 2016
Related Publication 20180285053A1 · Oct 4, 2018