Screenshot method and apparatus
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsLiang Fang, Yanqing Jing, Dawei Sun, Xifeng Yang, Yan Huang, Jun Yang
Life of this patent
Estimating the term…
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.
Claims18
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.
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.
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.
Dependencies are inferred from the claim text.