IP Library › Granted Patent US 12,236,022
Granted Patent B2
US 12,236,022 · App. 18/564,873 · Granted Feb 25, 2025

Stylus pen input method, electronic device, and system

Inventor: Tao Zheng (Wuhan, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G06F3/03545G06F3/04883
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 12,236,022
App. No.
18/564,873
Granted
Feb 25, 2025
Kind
B2
Abstract

A first electronic device receives a projection interface of a first application from a second electronic device, and displays the projection interface. The first electronic device receives a first input and a second input that are in the projection interface and that are of a stylus pen used by a user, and displays an updated projection interface. The updated projection interface includes a first layer and a second layer. The first layer includes a first image that includes a first handwriting trajectory and that is generated by the second electronic device based on the first input; and the second layer includes a second handwriting trajectory that is locally drawn by the first electronic device based on the second input.

Claims (55)

1. A method, comprising:

receiving, by a first electronic device, a projection interface of a first application running on a second electronic device;

receiving, by the first electronic device, a first input of a stylus pen of a user in the projection interface, wherein the first input comprises a second input and a third input;

drawing, by the first electronic device and based on the third input, a second layer comprising a second handwriting trajectory; and

displaying, by the first electronic device, an updated projection interface,

wherein the updated projection interface comprises a first layer and the second layer, and

wherein the first layer comprises a first image that comprises a first handwriting trajectory and that is generated by the second electronic device based on the second input,

wherein a length of a first input time period of the third input is based on a first latency or a second latency,

wherein the first latency is from the first electronic device obtaining a second image from the second electronic device, and

wherein the second latency is from the first electronic device generating the second handwriting trajectory.

2. The method of claim 1 , further comprising superimposing the second layer on the first layer.

3. The method of claim 1 , further comprising:

obtaining, by the first electronic device, a second image that comprises a third handwriting trajectory, that is from the second electronic device, and that is based on the third input; and

displaying, by the first electronic device, the second image on the first layer.

4. The method of claim 3 , further comprising covering, by the third handwriting trajectory on the first layer, the second handwriting trajectory on the second layer.

5. The method of claim 4 , wherein after the second handwriting trajectory is displayed for a preset duration, the method further comprises stopping displaying the second handwriting trajectory, or wherein after the third handwriting trajectory covers the second handwriting trajectory, the method further comprises stopping displaying the second handwriting trajectory.

6. The method of claim 1 , wherein the second handwriting trajectory is a continuation trajectory of the first handwriting trajectory, or wherein the second handwriting trajectory coincides with a part of the first handwriting trajectory and comprises a continuation part of the first handwriting trajectory.

7. The method of claim 1 , wherein a second input time period of the second input and the first input time period do not overlap at all or partially overlap.

8. The method of claim 1 , further comprising:

obtaining, by the first electronic device and from the second electronic device, a drawing parameter; and

drawing, by the first electronic device and by using the drawing parameter, the second handwriting trajectory.

9. The method of claim 8 , wherein the drawing parameter is configured to be used by the second electronic device to draw the first handwriting trajectory.

10. The method of claim 9 , wherein the drawing parameter comprises at least one of a line color parameter, a line thickness parameter, or a line texture parameter.

11. An apparatus, comprising:

a memory configured to store instructions; and

one or more processors coupled to the memory and configured to execute the instructions to:

receive a projection interface of a first application running on an electronic device;

receive a first input of a stylus pen of a user in the projection interface, wherein the first input comprises a second input and a third input;

draw, based on the third input, a second layer comprising a second handwriting trajectory; and

display an updated projection interface,

wherein the updated projection interface comprises a first layer and the second layer,

wherein the first layer comprises a first image that comprises a first handwriting trajectory and that is generated by the second electronic device based on the second input,

wherein a length of a first input time period of the third input is based on a first latency or a second latency,

wherein the first latency is from the first electronic device obtaining a second image from the second electronic device, and

wherein the second latency is from the first electronic device generating the second handwriting trajectory.

12. The apparatus of claim 11 , wherein the second layer is superimposed on the first layer.

13. The apparatus of claim 11 , wherein the one or more processors are further configured to execute the instructions to:

obtain a second image that comprises a third handwriting trajectory, that is from the electronic device, and that is based on the third input; and

display the second image on the first layer.

14. The apparatus of claim 13 , wherein the one or more processors are further configured to execute the instructions to cover, by the third handwriting trajectory on the first layer, the second handwriting trajectory on the second layer.

15. The apparatus of claim 14 , wherein after the second handwriting trajectory is displayed for a preset duration, the one or more processors are further configured to execute the instructions to stop displaying the second handwriting trajectory, or wherein after the third handwriting trajectory covers the second handwriting trajectory, the one or more processors are further configured to execute the instructions to stop displaying the second handwriting trajectory.

16. The apparatus of claim 11 , wherein the second handwriting trajectory is a continuation trajectory of the first handwriting trajectory, or wherein the second handwriting trajectory coincides with a part of the first handwriting trajectory and comprises a continuation part of the first handwriting trajectory.

17. The apparatus of claim 11 , wherein a second input time period of the second input and the first input time period do not overlap at all or partially overlap.

18. A computer program product comprising instructions stored on a non-transitory computer-readable medium that, when executed by one or more processors, cause an apparatus to:

receive a projection interface of a first application running on an electronic device;

receive a first input of a stylus pen of a user in the projection interface, wherein the first input comprises a second input and a third input;

draw, based on the third input, a second layer comprising a second handwriting trajectory; and

display an updated projection interface,

wherein the updated projection interface comprises a first layer and the second layer,

wherein the first layer comprises a first image that comprises a first handwriting trajectory and that is generated by the second electronic device based on the second input,

wherein a length of a first input time period of the third input is based on a first latency or a second latency,

wherein the first latency is from the first electronic device obtaining a second image from the second electronic device, and

wherein the second latency is from the first electronic device generating the second handwriting trajectory.

19. The computer program product of claim 18 , wherein the second handwriting trajectory is a continuation trajectory of the first handwriting trajectory.

20. The computer program product of claim 18 , wherein the second handwriting trajectory coincides with a part of the first handwriting trajectory and comprises a continuation part of the first handwriting trajectory.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 15, 2024
From: ZHENG, TAO
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 067987/0629 →
Priority Claims (1)
CN 202110592512.1 · May 28, 2021 · national
Continuity (1)
Related Publication 20240264682A1 · Aug 8, 2024
References Cited (14)
US 20110320520A1 · Jain · 2011 [cited by applicant]
US 20130027404A1 · Sarnoff · 2013 [cited by examiner]
US 20150220797A1 · Saito et al. · 2015 [cited by applicant]
US 20160093087A1 · Tu et al. · 2016 [cited by applicant]
US 20160321238A1 · Kurita et al. · 2016 [cited by applicant]
US 20170123648A1 · Mozumder · 2017 [cited by examiner]
US 20210160302A1 · Vu et al. · 2021 [cited by applicant]
CN 103984512A · 2014 [cited by applicant]
CN 107168674A · 2017 [cited by applicant]
CN 103984512B · 2018 [cited by applicant]
CN 108459836A · 2018 [cited by applicant]
CN 111338593A · 2020 [cited by applicant]
CN 111475097A · 2020 [cited by applicant]
JP 2023503641A · 2023 [cited by applicant]