IP Library Granted Patent US 9,767,075
Granted Patent B2
US 9,767,075 · App. 14/600,832 · Granted Sep 19, 2017

System and method for implementing screen capture

Inventors: Honghui He (Beijing, CN); Yukun Chen (Beijing, CN); Xin Ji (Beijing, CN); Pengjie Zhao (Beijing, CN); Bin Liu (Beijing, CN); Chunxia Li (Beijing, CN); Yali Wang (Beijing, CN); Wenlong Xie (Beijing, CN)
Assignee: Alibaba Group Holding Limited
G06F17/211G06F9/4443
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 9,767,075
App. No.
14/600,832
Granted
Sep 19, 2017
Kind
B2
Abstract

Embodiments of the present application relate to a system for implementing screen capture, a method for implementing screen capture, and a computer program product for implementing screen capture. A method for implementing screen capture is provided. The method includes providing multiple types of screen capture adapters, selecting a screen capture adapter that is of a type corresponding to a preset mobile terminal application type as a target type screen capture adapter, the screen capture adapters being selected from among the provided multiple types of screen capture adapters, registering the target type screen capture adapter, providing screen capture implementing techniques that correspond to the multiple types of screen capture adapters, and performing screen capture by invoking a screen capture implementing technique that corresponds to the registered target type screen capture adapter, the screen capture implementing technique being selected from among the provided screen capture implementing techniques.

Claims (62)

1. A system for implementing screen capture, comprising:

a processor; and

a memory coupled with the processor, wherein the memory is configured to provide the processor with instructions which when executed cause the processor to:

provide multiple types of screen capture adapters for a mobile terminal;

select a screen capture adapter that is of a type corresponding to a preset mobile terminal application type as a target type screen capture adapter, the screen capture adapter being selected from among the provided multiple types of screen capture adapters, wherein the selecting of the screen capture adapter comprises to:

determine whether a view corresponding to a hierarchy of a plurality of hierarchies exists in a window of the mobile terminal;

in the event that the view exists in the window of the mobile terminal, select a first screen capture adapter capable of capturing an image corresponding to the view;

determine whether the mobile terminal is a rooted device; and

in the event that the mobile terminal is a rooted device, select a root screen capture adapter, the root screen capture adapter being configured to directly capture a current screen image by reading a file storing the current screen image;

register the target type screen capture adapter;

provide screen capture implementing techniques that correspond to the multiple types of screen capture adapters; and

perform screen capture by invoking a screen capture implementing technique that corresponds to the registered target type screen capture adapter, the screen capture implementing technique being selected from among the provided screen capture implementing techniques.

2. The system as described in claim 1 , wherein the registering of the target type screen capture adapters comprises:

register the target type screen capture adapter by invoking a screen capture adapter registering function.

3. The system as described in claim 1 , wherein the performing of the screen capture by invoking the screen capture implementing technique that corresponds to the registered target type screen capture adapter comprises:

perform the screen capture by invoking a screen capture function that corresponds to the registered target type screen capture adapter.

4. The system as described in claim 1 , wherein the multiple types of screen capture adapters further include application screen capture adapters, video screen capture adapters, user defined custom screen capture adapters, or any combination thereof.

5. The system as described in claim 4 , wherein:

an application screen capture implementing technique corresponds to an application screen capture adapter;

a video screen capture implementing technique corresponds to a video screen capture adapter;

a user defined custom screen capture implementing technique corresponds to a user defined custom screen capture adapter; or

any combination thereof.

6. A method for implementing screen capture, comprising:

providing multiple types of screen capture adapters for a mobile terminal;

selecting screen capture adapter that is of a type corresponding to a preset mobile terminal application type as a target type screen capture adapter, the screen capture adapter being selected from among the provided multiple types of screen capture adapters, wherein the selecting of the screen capture adapter comprises:

determining whether a view corresponding to a hierarchy of a plurality of hierarchies exists in a window of the mobile terminal;

in the event that the view exists in the window of the mobile terminal, selecting a first screen capture adapter capable of capturing an image corresponding to the view;

determining whether the mobile terminal is a rooted device; and

in the event that the mobile terminal is a rooted device, selecting a root screen capture adapter, the root screen capture adapter being configured to directly capture a current screen image by reading a file storing the current screen image;

registering the target type screen capture adapter;

providing screen capture implementing techniques that correspond to the multiple types of screen capture adapters; and

performing screen capture by invoking a screen capture implementing technique that corresponds to the registered target type screen capture adapter, the screen capture implementing technique being selected from among the provided screen capture implementing techniques.

7. The method as described in claim 6 , wherein the registering of the target type screen capture adapters comprises registering the target type screen capture adapters by invoking a screen capture adapter registering function.

8. The method as described in claim 6 , wherein the performing of the screen capture by invoking the screen capture implementing technique that corresponds to the registered target type screen capture adapter comprises:

performing the screen capture by invoking a screen capture function corresponding to the registered target type screen capture adapter.

9. The method as described in claim 6 , wherein the multiple types of screen capture adapters include application screen capture adapters, video screen capture adapters, user defined custom screen capture adapters, or any combination thereof.

10. The method as described in claim 9 , wherein:

an application screen capture implementing technique corresponds to an application screen capture adapter;

a video screen capture implementing technique corresponds to a video screen capture adapter;

a user defined custom screen capture implementing technique corresponds to a user defined custom screen capture adapter; or

any combination thereof.

11. A computer program product for implementing screen capture, the computer program product being embodied in a tangible non-transitory computer readable storage medium and comprising computer instructions for:

providing multiple types of screen capture adapters for a mobile terminal;

selecting a screen capture adapter that is of a type corresponding to a preset mobile terminal application type as a target type screen capture adapter, the screen capture adapter being selected from among the provided multiple types of screen capture adapters, wherein the selecting of the screen capture adapter comprises:

determining whether a view corresponding to a hierarchy of a plurality of hierarchies exists in a window of the mobile terminal;

in the event that the view exists in the window of the mobile terminal, selecting a first screen capture adapter capable of capturing an image corresponding to the view;

determining whether the mobile terminal is a rooted device; and

in the event that the mobile terminal is a rooted device, selecting a root screen capture adapter, the root screen capture adapter being configured to directly capture a current screen image by reading a file storing the current screen image;

registering the target type screen capture adapter;

providing screen capture implementing techniques that correspond to the multiple types of screen capture adapters; and

performing screen capture by invoking a screen capture implementing technique that corresponds to the registered target type screen capture adapter, the screen capture implementing technique being selected from among the provided screen capture implementing techniques.

12. The computer program product as described in claim 11 , wherein the registering of the target type screen capture adapters comprises registering the target type screen capture adapters invoking by a screen capture adapter registering function.

13. The computer program product as described in claim 11 , wherein the performing of the screen capture by invoking the screen capture implementing technique that corresponds to the registered target type screen capture adapter comprises:

performing the screen capture by invoking a screen capture function corresponding to the registered target type screen capture adapter.

14. The computer program product as described in claim 11 , wherein the multiple types of screen capture adapters include application screen capture adapters, video screen capture adapters, user defined custom screen capture adapters, or any combination thereof.

15. The computer program product as described in claim 14 , wherein:

an application screen capture implementing technique corresponds to an application screen capture adapter is an application screen capture implementing technique;

a video screen capture implementing technique corresponds to a video screen capture adapter;

a user defined custom screen capture implementing technique corresponds to a user defined custom screen capture adapter; or

any combination thereof.

16. The system as described in claim 1 , wherein the selecting of the screen capture adapter further comprises to:

in the event that the view does not exist in the window of the mobile terminal, select a second screen capture adapter to capture a screen image, the second screen capture adapter being not capable of capturing the first image.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 31, 2015
From: HE, HONGHUI; CHEN, YUKUN; JI, XIN; ZHAO, PENGJIE; LIU, BIN; LI, CHUNXIA; WANG, YALI; XIE, WENLONG
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 035304/0243 →
Priority Claims (1)
CN 2014 1 0036471 · Jan 24, 2014 · national
Continuity (1)
Related Publication 20150212978A1 · Jul 30, 2015