Calligraphy practice system and method
By using a pressure-sensitive screen and data acquisition module in the calligraphy practice system, combined with the central control module to generate handwriting in real time, the problem that existing electronic writing technology cannot simulate the effect of writing on paper is solved, and the effect closer to writing on paper and support is achieved.
Patent Information
- Application Number
- CN202510653204.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-21
- Publication Date
- 2025-06-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing electronic writing technology cannot effectively simulate the effect of writing on paper and cannot meet the higher writing needs in calligraphy practice.
By using a pressure-sensitive screen, data acquisition module and rendering module in the calligraphy practice system, the position, pressure and residence time of the contacts are collected, the color depth is calculated, and the handwriting is generated in real time with the central control module, and the user-defined mapping relationship and practice mode are supported.
It realizes that the effect of writing is closer to writing on paper, supports user-defined and multiple practice modes, and provides objective writing scores and dynamic video generation functions.
Smart Images

Figure CN120179144A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and particularly relates to a calligraphy practice system and method. Background Art
[0002] Traditional calligraphy practice uses ink and paper, which is easy to stain the sleeves, inconvenient to carry, and also wastes resources such as paper. With the development of technology, electronic writing technology has emerged. Most of the existing electronic writing technologies are based on a pressure-sensitive screen to real-time sense the position and pressure information of the contact point, perform data processing, and generate handwriting on the pressure-sensitive screen in real time. This kind of electronic writing technology has a single function and is mostly applied to relatively simple signature scenarios in paperless office, and cannot meet the higher writing requirements in calligraphy practice. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to provide a calligraphy practice system and method, and the presented writing effect is closer to the effect of writing on paper.
[0004] To solve the above technical problem, the technical solution of the present invention is a calligraphy practice system, including a central control module and a pressure-sensitive screen, a data acquisition module, and a rendering module connected thereto; the data acquisition module is used to collect information of the contact point, and the information includes the position of the contact point, the pressure P received by the contact point on the pressure-sensitive screen, and the cumulative residence time t of the contact point; the rendering module is used to calculate the color depth C of the contact point according to the information of the contact point; the central control module is used to combine the position of the contact point and the color depth C of the contact point to generate handwriting on the pressure-sensitive screen in real time; the color is specified by the user and includes but is not limited to black.
[0005] The calculation method of the color depth C is: C = a*f(P)+b*g(t); if the calculated C > C max , then make C = C max ; if C < C min , then make C = C min ; if C min ≤C≤C max , then make C = C; where a and b represent weights, a + b = 1; f(P) represents the mapping relationship between the pressure P received by the contact point and the color depth C; g(t) represents the mapping relationship between the cumulative residence time t of the contact point and the color depth C.
[0006] Furthermore, it further includes a custom module connected to the central control module; the custom module is used for the user to define f(P) and g(t) by himself, as well as the values of a and b.
[0007] Furthermore, the custom method of f(P) is to set the interval of P (P min , P max ) and the interval of C (Cmin , C max ), establishing a linear mapping relationship between C and P as f(P); the custom method of the said g(t) is to set the interval of t (t min , t max ), and the interval of C (C min , C max ), and establishing a linear mapping relationship between t and P as g(t).
[0008] Furthermore, it also includes a storage module and a mode selection module connected to the central control module; the storage module is used to store the standard fonts of common characters in different font styles; the mode selection module includes a static display mode, a dynamic display mode, a copying mode, a semi-free practice mode, and a full-automatic practice mode; the static display mode is used to statically display the standard font of the target Chinese character; the dynamic display mode is used to dynamically display the writing trajectory video of the standard font of the target Chinese character; the copying mode is used to statically display the outline of the target Chinese character; the semi-free practice mode is used to display grid lines; the full-automatic practice mode does not display the target Chinese character and grid lines; the target Chinese character refers to the specified Chinese character in the font style selected by the user.
[0009] Furthermore, it also includes a handwriting comparison module connected to the central control module; the handwriting comparison module is used to display the standard font and the written handwriting side by side or overlapping, judge the similarity between the standard font and the written handwriting, and give a score according to the similarity.
[0010] Furthermore, the central control module is also used to generate a dynamic video during the process of writing the handwriting.
[0011] Furthermore, it also includes a background setting module connected to the central control module; the background setting module is used to select different backgrounds for writing, and the backgrounds include solid color backgrounds, imitation paper backgrounds, and pre-stored picture backgrounds.
[0012] Furthermore, it also includes a work production module and a communication module connected to the central control module; the work production module is used to call the historical written handwriting and the pre-stored pictures, and supports the magnification, reduction, rotation, and position movement of the handwriting and pictures, and displays the adjusted handwriting and pictures on the background specified by the user and saves them as works.
[0013] The present invention also provides a calligraphy practice method, including the following steps: S1. The user selects the font style to practice, then selects the practice mode through the mode selection module and selects the writing background through the background setting module; the practice modes include a static display mode, a dynamic display mode, a copying mode, a semi-free practice mode, and a full-automatic practice mode; the static display mode is used to statically display the standard font of the target Chinese character; the dynamic display mode is used to dynamically display the writing trajectory video of the standard font of the target Chinese character; the copying mode is used to statically display the outline of the target Chinese character; the semi-free practice mode is used to display grid lines; the full-automatic practice mode does not display the target Chinese character and grid lines; the target Chinese character refers to the specified Chinese character of the font style selected by the user. S2. The user starts writing with a writing pen at the corresponding position on the pressure-sensitive screen. S3. The data acquisition module real-time collects the information of the contact point, and the information includes the position of the contact point, the pressure P received by the contact point on the pressure-sensitive screen, and the cumulative residence time t of the contact point. S4. The rendering module calculates the color depth C of the contact point according to the information of the contact point; the calculation method of the color depth C is: C = a*f(P)+b*g(t); if the calculated C > C max , then let C = C max ; if C < C min , then let C = C min ; if C min ≤C≤C max , then let C = C; where a and b represent weights, a + b = 1; f(P) represents the mapping relationship between the pressure P received by the contact point and the color depth C; g(t) represents the mapping relationship between the cumulative residence time t of the contact point and the color depth C; the color is specified by the user, including but not limited to black; in this embodiment, black is selected, and in another embodiment, other colors such as red, yellow, blue, green, etc. can also be selected. S5. The central control module is used to combine the position of the contact point and the color depth C of the contact point to generate handwriting on the pressure-sensitive screen in real time. S6. The handwriting comparison module displays the standard font and the written handwriting side by side or overlapping, judges the similarity between the standard font and the written handwriting, and gives a score according to the similarity. S7. When the user selects to watch the dynamic writing process, the central control module also generates a dynamic video of the handwriting process. S8. When the user wants to save the written handwriting as a work, the work production module can be used to call the historical written handwriting and the pre-stored pictures, and supports the magnification, reduction, rotation and position movement of the handwriting and pictures, and displays the adjusted handwriting and pictures on the background specified by the user and saves them as a work.
[0014] Further, in step S4, the user can define f(P) and g(t), as well as the values of a and b through a custom module; the custom method of f(P) is to set the interval of P (P min , P max ), and the interval of C (C min , C max ), and establishing a linear mapping relationship between C and P is f(P); the custom method of g(t) is to set the interval of t (t min , t max ), and the interval of C (C min , C max ), and establishing a linear mapping relationship between t and P is g(t).
[0015] Advantages of the present invention: 1. The information of the contact point is collected through the data collection module, and the information includes the position of the contact point, the pressure P received by the contact point on the pressure-sensitive screen, and the cumulative residence time t of the contact point; the rendering module calculates the color depth C of the contact point according to the pressure P and the cumulative residence time t of the contact point, comprehensively considering two factors of residence time and pressure, making the presented writing handwriting effect closer to the writing effect on paper.
[0016] 2. It supports the user to customize the mapping relationship between the pressure P received by the contact point and the color depth C, the mapping relationship g(t) between the cumulative residence time t of the contact point and the color depth C, as well as the values of a and b, so as to meet the user's self-adjustment according to personal preference or simulating the writing effect on paper.
[0017] 3. It supports the user to select a variety of practice modes, including static display mode, dynamic display mode, copying mode, semi-free practice mode, and full-automatic practice mode, adapting to the writing levels of different stages of the user.
[0018] 4. It can display the standard font and the writing handwriting side by side or overlapping, judge the similarity between the standard font and the writing handwriting, and give a score according to the similarity, objectively evaluating the writing handwriting.
[0019] 5. It can generate a dynamic video of the handwriting in real time, facilitating the user to dynamically observe the writing process of the handwriting, so as to discover problems.
[0020] 6. It can call the handwriting of historical writing and the pre-stored pictures, and supports the magnification, reduction, rotation and position movement of the handwriting and pictures, and displays the adjusted handwriting and pictures on the background specified by the user and saves them as works. Description of the Drawings
[0021] Figure 1 It is the system architecture diagram of Embodiment 1. Detailed Embodiment
[0022] The following further describes the specific embodiments of the present invention in conjunction with the accompanying drawings. It should be noted here that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation on the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0023] Embodiment 1 A calligraphy practice system, as Figure 1 shown, includes a central control module and a pressure-sensitive screen, a data acquisition module, and a rendering module connected thereto; the data acquisition module is used to collect information of the contact point, and the information includes the position of the contact point, the pressure P received by the contact point on the pressure-sensitive screen, and the cumulative residence time t of the contact point; the rendering module is used to calculate the color depth C of the contact point according to the information of the contact point; the central control module is used to generate handwriting in real time on the pressure-sensitive screen by combining the position of the contact point and the color depth C of the contact point; The calculation method of the color depth C is: C = a*f(P) + b*g(t); if the calculated C > C max , then make C = C max ; if C < C min , then make C = C min ; if C min ≤ C ≤ C max , then make C = C; where a and b represent weights, and a + b = 1; f(P) represents the mapping relationship between the pressure P received by the contact point and the color depth C; g(t) represents the mapping relationship between the cumulative residence time t of the contact point and the color depth C.
[0024] The above calligraphy practice system collects information of the contact point through the data acquisition module, and the information includes the position of the contact point, the pressure P received by the contact point on the pressure-sensitive screen, and the cumulative residence time t of the contact point; the rendering module calculates the color depth C of the contact point according to the pressure P and the cumulative residence time t of the contact point, comprehensively considering two factors of residence time and pressure, making the presented writing handwriting effect closer to the effect of writing on paper.
[0025] Furthermore, in order to meet the user's self-adjustment according to personal preferences or simulate the writing effect on paper, a custom module connected to the central control module is further included; the custom module is used for the user to define f(P) and g(t) by himself, as well as the values of a and b.
[0026] Furthermore, the custom method of f(P) is to set the interval of P (P min , P max ) and the interval of C (C min , C max ), and establish a linear mapping relationship between C and P as f(P); the custom method of g(t) is to set the interval of t (tmin , t max ), and the interval of C (C min , C max ). Establishing the linear mapping relationship between t and P is g(t).
[0027] Furthermore, in order to adapt to the writing levels of users in different stages, it also includes a storage module and a mode selection module connected to the central control module; the storage module is used to store the standard fonts of common characters in different font styles; the mode selection module includes a static display mode, a dynamic display mode, a copying mode, a semi-free practice mode, and a full-automatic practice mode; the static display mode is used to statically display the standard font of the target Chinese character; the dynamic display mode is used to dynamically display the writing trajectory video of the standard font of the target Chinese character; the copying mode is used to statically display the outline of the target Chinese character; the semi-free practice mode is used to display grid lines; the full-automatic practice mode does not display the target Chinese character and grid lines; the target Chinese character refers to the specified Chinese character in the font style selected by the user.
[0028] Furthermore, it also includes a handwriting comparison module connected to the central control module; the handwriting comparison module is used to display the standard font and the written handwriting side by side or overlapping, judge the similarity between the standard font and the written handwriting, and give a score according to the similarity, so as to objectively evaluate the written handwriting.
[0029] Furthermore, the central control module is also used to generate a dynamic video of the handwriting process, which is convenient for the user to dynamically observe the handwriting process, so as to discover problems.
[0030] Furthermore, it also includes a background setting module connected to the central control module; the background setting module is used to select different backgrounds for writing, and the backgrounds include solid-color backgrounds, paper-like backgrounds, and pre-stored picture backgrounds, which increases the beauty of calligraphy works.
[0031] Furthermore, it also includes a work production module and a communication module connected to the central control module; the work production module is used to call the historical written handwriting and the pre-stored pictures, and supports the enlargement, reduction, rotation, and position movement of the handwriting and pictures, and displays the adjusted handwriting and pictures on the background specified by the user and saves them as works.
[0032] Embodiment 2 A calligraphy practice method includes the following steps: S1. The user selects the font style to practice, then selects the practice mode through the mode selection module and selects the writing background through the background setting module; the practice modes include a static display mode, a dynamic display mode, a copying mode, a semi-free practice mode, and a full-automatic practice mode; the static display mode is used to statically display the standard font of the target Chinese character; the dynamic display mode is used to dynamically display the writing trajectory video of the standard font of the target Chinese character; the copying mode is used to statically display the outline of the target Chinese character; the semi-free practice mode is used to display grid lines; the full-automatic practice mode does not display the target Chinese character and grid lines; the target Chinese character refers to the specified Chinese character of the font style selected by the user. S2. The user starts writing with a writing pen at the corresponding position on the pressure-sensitive screen. S3. The data acquisition module real-time collects the information of the contact point, and the information includes the position of the contact point, the pressure P received by the contact point on the pressure-sensitive screen, and the cumulative residence time t of the contact point. S4. The rendering module calculates the color depth C of the contact point according to the information of the contact point; the calculation method of the color depth C is: C = a * f(P) + b * g(t); if the calculated C > C max , then make C = C max ; if C < C min , then make C = C min ; if C min ≤ C ≤ C max , then make C = C; where a and b represent weights, and a + b = 1; f(P) represents the mapping relationship between the pressure P received by the contact point and the color depth C; g(t) represents the mapping relationship between the cumulative residence time t of the contact point and the color depth C. S5. The central control module is used to combine the position of the contact point and the color depth C of the contact point to generate handwriting on the pressure-sensitive screen in real time. S6. The handwriting comparison module displays the standard font and the written handwriting side by side or overlapping, judges the similarity between the standard font and the written handwriting, and gives a score according to the similarity. S7. When the user selects to watch the dynamic writing process, the central control module also generates a dynamic video of the handwriting process. S8. When the user wants to save the written handwriting as a work, the user can call the historical written handwriting and the pre-stored pictures through the work production module, and supports the magnification, reduction, rotation and position movement of the handwriting and pictures, and displays the adjusted handwriting and pictures on the background specified by the user and saves them as a work.
[0033] Further, in step S4, the user can define f(P) and g(t), and the values of a and b through the custom module; the custom method of f(P) is to set the interval of P (P min , P max ) and the interval of C (C min,C max ), establishing the linear mapping relationship between C and P is f(P); the custom method of g(t) is to set the interval of t (t min , t max ), and the interval of C (C min , C max ), establishing the linear mapping relationship between t and P is g(t).
[0034] The above has described the embodiments of the present invention in detail in conjunction with the accompanying drawings, but the present invention is not limited to the described embodiments. For those skilled in the art, without departing from the principle and spirit of the present invention, various changes, modifications, substitutions, and variations made to these embodiments still fall within the protection scope of the present invention.
Claims
1. A calligraphy practice system, characterized in that: It includes a central control module and a pressure-sensitive screen, a data acquisition module, and a rendering module connected thereto; the data acquisition module is used to collect information about the touch point, including the position of the touch point, the pressure P exerted on the touch point on the pressure-sensitive screen, and the cumulative residence time t of the touch point; the rendering module is used to calculate the color depth C of the touch point according to the information of the touch point; the central control module is used to generate handwriting on the pressure-sensitive screen in real time in combination with the position of the touch point and the color depth C of the touch point; The calculation method of color depth C is: C=a*f(P)+b*g(t); if the calculated C>C max , then C=C max ; If C<C min , then C=C min ; If C min ≦C≦C max , then C=C; where a and b represent weights, a+b=1; f(P) represents the mapping relationship between the pressure P exerted on the touch point and the color depth C; g(t) represents the mapping relationship between the cumulative residence time t of the touch point and the color depth C.
2. The calligraphy practice system according to claim 1, characterized in that: It also includes a custom module connected to the central control module; the custom module is used for users to define f(P) and g(t), as well as the values of a and b.
3. The calligraphy practice system according to claim 2, characterized in that: The custom method of f(P) is to set the interval of P (P min ,P max ) and the interval of C (C min ,C max ), the linear mapping relationship between C and P is established as f(P); the custom method of g(t) is to set the interval of t (t min ,t max ) and the interval of C (C min ,C max ), the linear mapping relationship between t and P is g(t).
4. The calligraphy practice system according to claim 1, characterized in that: It also includes a storage module and a mode selection module connected to the central control module; the storage module is used to store standard fonts of common characters in different font styles; the mode selection module includes static display mode, dynamic display mode, copying mode, semi-free practice mode, and fully automatic practice mode; the static display mode is used to statically display the standard font of the target Chinese character on the pressure-sensitive screen; the dynamic display mode is used to dynamically display the writing trajectory video of the standard font of the target Chinese character; the copying mode is used to statically display the outline of the target Chinese character; the semi-free practice mode is used to display grid lines; the fully automatic practice mode does not display the target Chinese character and grid lines; the target Chinese character refers to the specified Chinese character in the font style selected by the user.
5. The calligraphy practice system according to claim 4, characterized in that: It also includes a handwriting comparison module connected to the central control module; the handwriting comparison module is used to display the standard font and the written handwriting side by side or overlap, judge the similarity between the standard font and the written handwriting, and give a score based on the similarity.
6. The calligraphy practice system according to claim 1, characterized in that: The central control module is also used to generate a dynamic video of the writing process.
7. The calligraphy practice system according to claim 1, characterized in that: It also includes a background setting module connected to the central control module; the background setting module is used to select different backgrounds for writing, including solid color backgrounds, paper-like backgrounds and pre-stored picture backgrounds.
8. The calligraphy practice system according to claim 6, characterized in that: It also includes a work production module and a communication module connected to the central control module; the work production module is used to call historical handwriting and pre-stored pictures, and supports enlarging, reducing, rotating and moving the handwriting and pictures, and displays the adjusted handwriting and pictures on the background specified by the user, and saves them as works.
9. A calligraphy practice method applied to the calligraphy practice system according to any one of claims 1 to 8, characterized in that: The steps include: S1. The user selects the font style to be practiced, and then selects the practice mode through the mode selection module and selects the writing background through the background setting module; the practice modes include static display mode, dynamic display mode, copying mode, semi-free practice mode, and fully automatic practice mode; the static display mode is used to statically display the standard font of the target Chinese character; the dynamic display mode is used to dynamically display the writing trajectory video of the standard font of the target Chinese character; the copying mode is used to statically display the outline of the target Chinese character; the semi-free practice mode is used to display the grid lines; the fully automatic practice mode does not display the target Chinese character and the grid lines; the target Chinese character refers to the specified Chinese character of the font style selected by the user; S2, the user starts writing at the corresponding position on the pressure-sensitive screen using the writing pen; S3, the data acquisition module collects the information of the touch point in real time, including the position of the touch point, the pressure P exerted on the touch point on the pressure-sensitive screen, and the cumulative dwell time t of the touch point; S4. The rendering module calculates the color depth C of the touch point according to the information of the touch point. The calculation method of the color depth C is: C=a*f(P)+b*g(t); if the calculated C>C max , then C=C max ; If C<C min , then C=C min ; If C min ≦C≦C max , then C=C; where a and b represent weights, a+b=1; f(P) represents the mapping relationship between the pressure P on the touch point and the color depth C; g(t) represents the mapping relationship between the cumulative dwell time t of the touch point and the color depth C; S5, the central control module is used to generate handwriting on the pressure-sensitive screen in real time based on the position of the touch point and the color depth C of the touch point; S6, the handwriting comparison module displays the standard font and the handwriting side by side or overlaps the standard font and the handwriting, determines the similarity between the standard font and the handwriting, and gives a score according to the similarity; S7. When the user chooses to watch the dynamic writing process, the central control module generates a dynamic video of the writing process; S8. When the user wants to save the handwriting as a work, the work creation module can call the historical handwriting and pre-stored pictures, and support the enlargement, reduction, rotation and movement of the handwriting and pictures, and display the adjusted handwriting and pictures on the background specified by the user and save them as works.
10. The calligraphy practice method according to claim 9, characterized in that: In step S4, the user can define f(P) and g(t), as well as the values of a and b through the custom module; the custom method of f(P) is to set the interval of P (P min ,P max ) and the interval of C (C min ,C max ), the linear mapping relationship between C and P is f(P); the custom method of g(t) is to set the interval of t (t min ,t max ) and the interval of C (C min ,C max ), the linear mapping relationship between t and P is g(t).
Citation Information
Patent Citations
Electronic device with touch pen
CN102243541A
Bidirectional display and reduction method for instant messaging handwriting as well as related system and method
CN103744555A
Input method, touch-control input pen and electronic device
CN103809883A
Electronic copybook, and calligraphy practicing pen and system
CN107466415A
Writing area-based auxiliary light supplementing method, intelligent device and system
CN112181186A