IP Library Granted Patent US 10,462,243
Granted Patent B2
US 10,462,243 · App. 15/666,008 · Granted Oct 29, 2019

Method and device for interaction between terminals

Inventors: Tong Li (Shenzhen, CN); Long Cheng (Shenzhen, CN); Haiying Ou (Shenzhen, CN); Yang Li (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
H04L67/22G06F3/0233G06F3/0484G06F3/0489G06F9/451H04L67/38H04N7/147H04N7/15G06Q10/10G06Q10/101H04L65/403
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,462,243
App. No.
15/666,008
Granted
Oct 29, 2019
Kind
B2
Abstract

A method and device for interaction between terminals are described. The method includes that: a keyboard operation message is received (S 101 ); indication information of a corresponding operated key is acquired according to the keyboard operation message (S 102 ); key meaning information corresponding to the indication information is acquired according to a preset keyboard escape table (S 103 ); the indication information and the corresponding key meaning information are displayed in a shared screen (S 104 ); and the contents displayed in the shared screen are sent to a target terminal when a sharing request of the target terminal is received (S 105 ). According to the embodiment of the method and the device, a sender sends both information of indicating an operated key and corresponding key meaning information to the receiver, and compared with an existing manner of only providing limited one-way propagation, such a manner has the advantages that the receiver may clearly and directly know a practical operation of the sender, and propagation effects between the terminals may be improved.

Claims (59)

1. A method for interaction between terminals, performed at a device having one or more processors and a memory for storing programs to be executed by the processors, wherein the method comprises:

receiving a keyboard operation message;

acquiring indication information of a corresponding operated key according to the keyboard operation message, wherein the indication information is configured to indicate information about the operated key;

acquiring key meaning information corresponding to the indication information according to a preset keyboard escape table;

displaying the indication information and the corresponding key meaning information in a shared screen; and

sending contents displayed in the shared screen to a target terminal when a sharing request of the target terminal is received.

2. The method for interaction between the terminals according to claim 1 , after receiving the keyboard operation message, further comprising:

determining a window of a currently obtained window focus; and

determining a terminal application which processes the keyboard operation message according to the window of the currently obtained window focus;

wherein the acquiring the indication information of the corresponding operated key according to the keyboard operation message comprises: acquiring the indication information of the corresponding operated key according to the keyboard operation message on the basis of the terminal application.

3. The method for interaction between the terminals according to claim 2 , before acquiring the key meaning information corresponding to the indication information according to the preset keyboard escape table, further comprising:

acquiring the preset corresponding keyboard escape table according to the terminal application.

4. The method for interaction between the terminals according to claim 2 , before receiving the keyboard operation message, further comprising:

registering a global keyboard hook,

wherein the receiving the keyboard operation message comprises: receiving the keyboard operation message through the global keyboard hook.

5. The method for interaction between the terminals according to claim 2 , wherein the receiving the keyboard operation message comprises:

receiving the keyboard operation message triggered to be sent by clicking a key of a keyboard by a user.

6. The method for interaction between the terminals according to claim 2 , wherein the displaying the indication information and the corresponding key meaning information in the shared screen comprises:

displaying the indication information and the corresponding key meaning information in a preset area of the shared screen.

7. The method for interaction between the terminals according to claim 1 , wherein the displaying the indication information and the corresponding key meaning information in the shared screen comprises:

displaying the indication information and the corresponding key meaning information in a preset area of the shared screen.

8. A device for interaction between terminals, comprising:

one or more processors, configured to execute one or more program modules stored in a memory;

the memory; and

wherein the one or more program modules further comprise:

a receiving module, configured to receive a keyboard operation message;

a first acquiring module, configured to acquire indication information of a corresponding operated key according to the keyboard operation message, wherein the indication information is configured to indicate information about the operated key;

a second acquiring module, configured to acquire key meaning information corresponding to the indication information according to a preset keyboard escape table;

a displaying module, configured to display the indication information and the corresponding key meaning information in a shared screen; and

a sharing and sending module, configured to send contents displayed in the shared screen to a target terminal when a sharing request of the target terminal is received.

9. The device for interaction between the terminals according to claim 8 , wherein the one or more program modules further comprise:

a determining module, configured to determine a window of a currently obtained window focus, and determine a terminal application which processes the keyboard operation message according to the window of the currently obtained window focus,

wherein the first acquiring module is configured to acquire the indication information of the corresponding operated key according to the keyboard operation message on the basis of the terminal application.

10. The device for interaction between the terminals according to claim 9 , wherein the second acquiring module is further configured to acquire the preset corresponding keyboard escape table according to the terminal application.

11. The device for interaction between the terminals according to claim 9 , wherein the one or more program modules further comprise:

a registering module, configured to register a global keyboard hook,

wherein the receiving module is configured to receive the keyboard operation message through the global keyboard hook.

12. The device for interaction between the terminals according to claim 9 , wherein the receiving module is further configured to receive the keyboard operation message triggered to be sent by clicking a key of a keyboard by a user.

13. The device for interaction between the terminals according to claim 9 , wherein the displaying module is configured to display the indication information and the corresponding key meaning information in a preset area of the shared screen.

14. The device for interaction between the terminals according to claim 8 , wherein the displaying module is configured to display the indication information and the corresponding key meaning information in a preset area of the shared screen.

15. A non-transitory computer-readable storage medium, configured to store program codes configured to execute following steps:

receiving a keyboard operation message;

acquiring indication information of a corresponding operated key according to the keyboard operation message, wherein the indication information is configured to indicate information about the operated key;

acquiring key meaning information corresponding to the indication information according to a preset keyboard escape table;

displaying the indication information and the corresponding key meaning information in a shared screen; and

sending contents displayed in the shared screen to a target terminal when a sharing request of the target terminal is received.

16. The non-transitory computer-readable storage medium according to claim 15 , further configured to store program codes configured to execute following steps:

after receiving the keyboard operation message, determining a window of a currently obtained window focus; and

determining a terminal application which processes the keyboard operation message according to the window of the currently obtained window focus,

wherein the acquiring the indication information of the corresponding operated key according to the keyboard operation message comprises: acquiring the indication information of the corresponding operated key according to the keyboard operation message on the basis of the terminal application.

17. The non-transitory computer-readable storage medium according to claim 16 , further configured to store program codes configured to execute following steps:

before acquiring the key meaning information corresponding to the indication information according to the preset keyboard escape table, acquiring the preset corresponding keyboard escape table according to the terminal application.

18. The non-transitory computer-readable storage medium according to claim 16 , further configured to store program codes configured to execute following steps:

before receiving the keyboard operation message, registering a global keyboard hook,

wherein the receiving the keyboard operation message comprises: receiving the keyboard operation message through the global keyboard hook.

19. The non-transitory computer-readable storage medium according to claim 16 , further configured to store program codes configured to execute following steps:

receiving the keyboard operation message triggered to be sent by clicking a key of a keyboard by a user.

20. The non-transitory computer-readable storage medium according to claim 15 , further configured to store program codes configured to execute following steps:

displaying the indication information and the corresponding key meaning information in a preset area of the shared screen.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 3, 2017
From: LI, TONG; CHENG, LONG; OU, HAIYING; LI, YANG
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 043420/0129 →
Priority Claims (1)
CN 2015 1 0287733 · May 29, 2015 · national
Continuity (2)
Continuation PCTCN2016081865 · May 12, 2016
Related Publication 20170329486A1 · Nov 16, 2017