US 12,265,667 B2
Stylus-based data processing method and apparatus
Jing Yang, Shenzhen (CN); and Yingjun Xi, Shenzhen (CN)
Assigned to Honor Device Co., Ltd., Shenzhen (CN)
Appl. No. 18/043,677
Filed by Honor Device Co., Ltd., Shenzhen (CN)
PCT Filed Aug. 26, 2022, PCT No. PCT/CN2022/115044
§ 371(c)(1), (2) Date Mar. 1, 2023,
PCT Pub. No. WO2023/035972, PCT Pub. Date Mar. 16, 2023.
Claims priority of application No. 202111063223.9 (CN), filed on Sep. 10, 2021.
Prior Publication US 2024/0353937 A1, Oct. 24, 2024
Int. Cl. G06F 3/0354 (2013.01); G06F 3/04842 (2022.01); G06F 3/04883 (2022.01)
CPC G06F 3/03545 (2013.01) [G06F 3/04842 (2013.01); G06F 3/04883 (2013.01); G06F 2203/0384 (2013.01)] 19 Claims
OG exemplary drawing
 
1. A stylus-based data processing method, applied to a communication system, wherein the communication system comprises a stylus and an electronic device, and the method comprises:
displaying, by the electronic device, a first interface;
receiving, by the electronic device on the first interface, a first operation performed on a first target area by the stylus, wherein the first target area is some or all areas in the first interface;
displaying, by the electronic device, a first control on the first interface in response to the first operation;
receiving, by the electronic device, a second operation performed on the first control;
determining, by the electronic device, first target content in the first target area in response to the second operation;
obtaining, by the stylus, the first target content from the electronic device;
obtaining, by the stylus based on information indicated by the first control, a first target result corresponding to the first target content;
obtaining, by the electronic device, the first target result from the stylus; and
displaying, by the electronic device, the first target result on the first interface;
wherein the stylus stores an offline database, and obtaining, by the stylus based on the information indicated by the first control, the first target result corresponding to the first target content comprises:
calling, by the stylus, the offline database, wherein the offline database comprises a plurality of correspondences, and any of the correspondences indicate a relationship between respective target content and a respective target result; and
when the stylus finds that the first target content matches any target content in the plurality of correspondences, obtaining, by the stylus from a correspondence in which the any target content that matches the first target content is located, the first target result corresponding to the first target content.