| CPC G06F 16/122 (2019.01) [G06F 16/144 (2019.01); G06F 16/178 (2019.01)] | 16 Claims |

|
1. An electronic device comprising:
a touch display;
memory storing instructions; and
a processor,
wherein the instructions stored in the memory are configured to, when executed by the processor, cause the electronic device to:
receive handwriting input on the touch display from a user;
analyze strokes of the handwriting;
determine lines of the handwriting, based on the analyzed strokes;
generate search data for including text information corresponding to the handwriting for each of the lines and action link data for executing a function corresponding to the handwriting for each of the lines, based on the analyzed strokes;
generate search-based recognition data, the search-based recognition data including the search data and link flag information for generating the action link data;
store a handwriting file including the generated search-based recognition data;
wherein the link flag information includes at least one of an action link type, stroke information, or an index offset; and
configure another index offset of previous link flag information after determining an action link type of next action link data;
wherein the index offset includes an offset value for an index for which the next action link data exists:
wherein the search-based recognition data is included in the handwriting file and shared with an electronic device of a counterpart, the electronic device of the counterpart generates the action link data on a basis of the link flag information included in the search-based recognition data.
|