Interface display method based on handwriting input and electronic equipment

By implementing the interface display method based on handwriting input in electronic devices, providing associative word functions and processing handwriting styles, the problems of long interaction time and low efficiency in handwriting input scenarios are solved, and a more efficient and convenient handwriting input experience is achieved.

CN120066373APending Publication Date: 2025-05-30HUAWEI TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510018267.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-20
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The prior art has problems of long interaction time and low efficiency in handwriting input scenarios, and it is difficult to effectively utilize the characteristics of handwriting input to provide more functions.

Method used

By implementing an interface display method based on handwriting input in an electronic device, it can respond to the user's handwriting input operation, provide the function of associative words, and process the trajectory and layout of the associative words according to the user's handwriting style, improving the convenience and user experience of handwriting input.

Benefits of technology

This method can reduce the interaction time of handwriting input, improve the efficiency of handwriting input, and provide more functions, such as content layout, associative word prompts and style consistency, significantly improving the user's handwriting input experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120066373A_ABST
    Figure CN120066373A_ABST
Patent Text Reader

Abstract

The invention provides an interface display method based on handwriting input and electronic equipment, which are used for providing more functions based on a handwriting input scene, reducing the interaction time of handwriting input and improving the efficiency of handwriting input. According to the method, the electronic equipment can display at least one associational word to a user based on a handwritten text input by the user through handwriting; and when a confirmation operation of the user on one associational word is detected, the associational word confirmed by the user can be displayed by referring to the handwriting style of the handwritten text. For example, the track of the associational word can have the style of the track of the handwritten text. For example, the typesetting of the associational words can be realized by referring to the typesetting style of the handwritten text.
Need to check novelty before this filing date? Find Prior Art

Claims

1. A method for interface display based on handwritten input, characterized in that, applied to an electronic device, including: responding to a user's handwritten input operation, displaying a first interface, the first interface including handwritten text of a first type and at least one associated word of a second type, the first type and the second type being different; responding to a confirmation operation on the first associated word, displaying a second interface, the first associated word being one of the at least one associated word; wherein, the second interface includes the first associated word, the handwriting style of the first associated word being the same as the handwriting style of the user's historical handwritten input of the first associated word, the first associated word being obtained based on the context of the handwritten text, the context including N pieces of text of the second type before and / or after the handwritten text, and N being greater than 1.

2. The method according to claim 1, characterized in that, the responding to a user's handwritten input operation and displaying a first interface includes: responding to the handwritten input operation, obtaining the handwritten text; the handwritten text includes pinyin; responding to an operation of converting pinyin included in the handwritten text into Chinese characters, obtaining the at least one associated word, the at least one associated word being Chinese characters obtained based on the pinyin.

3. The method according to claim 1 or 2, characterized in that, the first associated word in the second interface is displayed at a first display position and a second display position, the first display position displaying at least one Chinese character included in the first associated word, and the second display position displaying the remaining at least one Chinese character included in the first associated word; wherein, there is a positional sequence layout relationship between the first display position and the second display position; the positional sequence layout relationship is obtained based on the handwritten text.

4. The method according to claim 3, characterized in that, the at least one Chinese character reaches the page boundary, or the at least one Chinese character reaches the display area of the existing writing trajectory.

5. The method according to claim 3 or 4, characterized in that, the positional sequence layout relationship is a downward line break layout relationship.

6. The method according to any one of claims 1 to 5, characterized in that, in the second interface, the difference between the character spacing of the handwritten text and the character spacing of the first associated word is less than or equal to a first difference threshold.

7. The method according to claim 6, characterized in that, the character spacing of the handwritten text in the first interface is the same as or different from the character spacing of the handwritten text in the second interface.

8. The method according to claim 7, characterized in that, when the character spacing of the handwritten text in the first interface is different from the character spacing of the handwritten text in the second interface; the character spacing of the handwritten text in the first interface is less than a character spacing threshold, and the character spacing of the handwritten text in the second interface is greater than or equal to the character spacing threshold.

9. The method according to any one of claims 6 to 8, characterized in that, the character spacing is the character spacing in the target direction; wherein, the target direction is determined based on the handwriting direction of the handwritten text.

10. The method according to any one of claims 1 to 9, wherein, the difference between the font size of the handwritten text and the font size of the first associated word is less than or equal to a second difference threshold.

11. An interface display method based on handwritten input, wherein, applied to an electronic device, including: responding to a user's handwritten input operation, displaying a first interface, the first interface including handwritten text and at least one associated word; responding to a confirmation operation on the first associated word, displaying a second interface, the first associated word being one of the at least one associated word; wherein, the first associated word in the second interface is displayed at a first display position and a second display position, the first display position displaying at least the first Chinese characters included in the first associated word, and the second display position displaying at least the remaining Chinese characters included in the first associated word; wherein, there is a position sequence layout relationship between the first display position and the second display position; the position sequence layout relationship is obtained based on the handwritten text.

12. The method according to claim 11, wherein, the at least one first Chinese character reaches the page boundary, or the at least one first Chinese character reaches the display area of the existing writing trajectory.

13. The method according to claim 11 or 12, wherein, the position sequence layout relationship is a line break layout relationship downward.

14. The method according to any one of claims 11 to 13, wherein, in the second interface, the difference between the character spacing of the handwritten text and the character spacing of the first associated word is less than or equal to a first difference threshold.

15. The method according to claim 14, wherein, the character spacing of the handwritten text in the first interface is the same as or different from the character spacing of the handwritten text in the second interface.

16. The method according to claim 15, wherein, when the character spacing of the handwritten text in the first interface is different from the character spacing of the handwritten text in the second interface; the character spacing of the handwritten text in the first interface is less than a character spacing threshold, and the character spacing of the handwritten text in the second interface is greater than or equal to the character spacing threshold.

17. The method according to any one of claims 14 to 16, wherein, the character spacing is the character spacing in the target direction; wherein, the target direction is determined based on the handwritten direction of the handwritten text.

18. The method according to any one of claims 11 to 17, wherein, the difference between the font size of the handwritten text and the font size of the first associated word is less than or equal to a second difference threshold.

19. The method according to any one of claims 11 to 18, wherein, the second interface includes the handwritten text and the first associated word, and the handwritten style of the first associated word is the same as the handwritten style when the user historically handwrote the first associated word.

20. The method according to any one of claims 11 to 19, wherein, the handwritten text includes at least one of the following types: Chinese characters, pinyin.

21. The method according to claim 20, Characterized in that, responding to a user's handwritten input operation, displaying a first interface, including: responding to the handwritten input operation, obtaining the handwritten text; the handwritten text includes pinyin; responding to an operation of converting the pinyin included in the handwritten text into Chinese characters, obtaining the at least one associated word, the at least one associated word being Chinese characters obtained based on the pinyin.

22. An electronic device, characterized in that, comprising at least one processor, the at least one processor being coupled to at least one memory, the at least one processor being configured to read and execute a computer program stored in the at least one memory, so that the method according to any one of claims 1 to 10 is executed, or so that the method according to any one of claims 11 to 21 is executed.

23. A computer-readable storage medium, characterized in that, the computer-readable storage medium stores instructions, when the instructions run on a computer, causing the computer to execute the method according to any one of claims 1 to 10, or causing the computer to execute the method according to any one of claims 11 to 21.

24. A computer program product including instructions, characterized in that, when the computer program product runs on a computer, causing the computer to execute the method according to any one of claims 1 to 10, or causing the computer to execute the method according to any one of claims 11 to 21.

Citation Information

Patent Citations

  • Automatic correction method and device for document file

    CN101196792A

  • Handwriting processing method and system used for information processing terminal

    CN101470549A

  • Method and device of generation of writing style font of user

    CN103136769A

  • Information correction method and device

    CN112257820A

  • Method for generating font database and training method and device of neural network model

    CN113095421A