CN110888549A - Calligraphy practicing method, system and device based on touch device and storage medium - Google Patents

Calligraphy practicing method, system and device based on touch device and storage medium Download PDF

Info

Publication number
CN110888549A
CN110888549A CN201911086666.2A CN201911086666A CN110888549A CN 110888549 A CN110888549 A CN 110888549A CN 201911086666 A CN201911086666 A CN 201911086666A CN 110888549 A CN110888549 A CN 110888549A
Authority
CN
China
Prior art keywords
touch
track
calligraphy
writing
stroke
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911086666.2A
Other languages
Chinese (zh)
Other versions
CN110888549B (en
Inventor
王震华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201911086666.2A priority Critical patent/CN110888549B/en
Publication of CN110888549A publication Critical patent/CN110888549A/en
Application granted granted Critical
Publication of CN110888549B publication Critical patent/CN110888549B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B11/00Teaching hand-writing, shorthand, drawing, or painting

Abstract

The invention provides a calligraphy practicing method, a calligraphy practicing system, calligraphy practicing equipment and a storage medium based on touch equipment, wherein the calligraphy practicing method comprises the following steps: providing a touch display interface; the method comprises the steps that a touch display interface displays at least one calligraphy lattice, a writing track of at least one stroke of a target Chinese character font is displayed in the calligraphy lattice, the calligraphy lattice comprises two reference lines forming an included angle, the included angle is equally divided into n writing areas by an auxiliary line based on the vertex of the included angle, the touch display interface receives a track based on touch operation in the calligraphy lattice, and touch strokes generated based on the track of the touch operation are displayed in the calligraphy lattice; and judging whether a writing area where the track of the touch operation passes is the same as a writing area where the track of the current stroke is preset in sequence, if so, continuously displaying the touch stroke, and if not, eliminating the touch stroke. The invention can accurately write the calligraphy of the Chinese characters on the touch interface, improve the sense of reality of calligraphy practice in electronic equipment and enhance the humanized experience.

Description

Calligraphy practicing method, system and device based on touch device and storage medium
Technical Field
The invention relates to the field of touch equipment, in particular to a calligraphy practicing method, a calligraphy practicing system, calligraphy practicing equipment and a storage medium based on the touch equipment.
Background
For a calligraphy beginner, the general process of practicing calligraphy is as follows: by practicing the black-body characters and mastering the structure of the characters, the favorite characters can be selected for practicing on the basis of the basic exercise. For people who do calligraphy exercises, copybook copying is a course process, and the copybook copying refers to two steps of copybook copying and copybook copying. In the prior art, calligraphy learners practice calligraphy through calligraphy lattices of papery copybooks, calligraphy practicing places are limited, and if calligraphy in various styles is to be practiced, various copybooks need to be prepared according to different styles, so that the copybooks are numerous and are not easy to carry.
Moreover, the calligraphy lattice has the function of assisting the palm to hold characters in the process of learning writing by students and practicing calligraphy by adults, so that people can write standard and beautiful characters more quickly. Theoretically, the standard for evaluating the excellence of a calligraphy grid is that the difference between the structure of the characters written in the calligraphy grid by a writer and the structure of the copied characters is smaller and better.
The current popular calligraphy lattices mainly comprise field lattices, rice lattices, nine-palace lattices and the like, the field lattices, the rice lattices and the nine-palace lattices can only provide position references of all constituent strokes and structures of characters comprehensively and roughly in a visiting way, although the auxiliary lines in all directions help, the starting points and the end points of the strokes and the structures are basically estimated, the deviation in the transverse direction and the longitudinal direction is inevitable, and the accuracy cannot be satisfied. It is a well-known fact that copybooks using these formats are popular, but the proportion of people who can write a good word in one hand is very low, and practice of calligraphy is always a matter of low success rate and is regarded as daunting by people. In practice it is difficult for a considerable number of people to write only slightly correctly.
Moreover, the existing electronic equipment only collects patterns formed by touch tracks to judge whether the handwriting is similar to the preset Chinese character track or not, but the real handwriting is not only the similarity of the tracks, but also various pen exercising skills cannot be digitalized, so that the existing electronic equipment has poor reality sense and low interest, and is difficult to obtain the real calligraphy practicing effect.
Therefore, the invention provides a calligraphy practicing method, a calligraphy practicing system, calligraphy practicing equipment and a storage medium based on touch equipment.
Disclosure of Invention
Aiming at the problems in the prior art, the invention aims to provide a calligraphy practicing method, a calligraphy practicing system, calligraphy practicing equipment and a storage medium based on touch equipment, so that calligraphy of Chinese characters can be written on a touch interface more accurately, the sense of reality of calligraphy practicing in electronic equipment is improved, and humanized experience is enhanced.
The embodiment of the invention provides a calligraphy practicing method based on touch equipment, which is characterized by comprising the following steps of:
s110, providing a touch display interface;
s120, the touch display interface displays at least one calligraphy lattice, a writing track of at least one stroke of a target Chinese character font is displayed in the calligraphy lattice, the calligraphy lattice comprises two reference lines forming an included angle, the included angle is equally divided into n writing areas by an auxiliary line based on the vertex of the included angle, n is a natural number of 4 or 10, and the track of each stroke of the target Chinese character font is preset to sequentially pass through the at least one writing area;
s130, the touch display interface receives a track based on touch operation in the calligraphy grid, generates touch strokes based on the track of the touch operation and displays the touch strokes in the calligraphy grid;
s140, judging whether a writing area where the track of the touch operation passes is the same as a writing area where the track of the current stroke is preset in sequence, if so, executing a step S150, and if not, executing a step S160;
s150, continuously displaying the touch strokes on the touch display interface, and returning to the step S130; and
and S160, eliminating the touch strokes on the touch display interface, and returning to the step S130.
Preferably, the touch display interface is a touch display screen with pressure sensing;
selecting a brush based on at least one of the speed and the pressing force of the writing track, the brush leaving a pattern in the touch display interface along with the movement of the writing track.
Preferably, each brush has a different width perpendicular to the writing trajectory, the slower the speed of the writing trajectory the greater the width of the brush.
Preferably, the greater the pressing force, the greater the width of the brush.
Preferably, each stroke of the target chinese character font is preset to correspond to a pattern, and the step S140 includes the following steps:
s1401, judging whether a writing area where the track of the touch operation passes is the same as a writing area where the track of the current stroke is preset in sequence, if so, executing a step S1402, and if not, executing a step S160;
s1402, judging whether the track of the touch operation is the same as the track preset by the current stroke, if so, executing the step S1403, and if not, executing the step S160;
s1403, determining whether the pattern of the touch operation is the same as a preset pattern of the current stroke, if so, executing step S1405, and if not, executing step S160.
Preferably, the angle of the included angle ranges from 30 ° to 60 °.
Preferably, a plurality of copybooks are pre-stored in the word stock, and in step S130, in the process of writing a target chinese character, the closest copybook of the target chinese character of the chinese character is compared in the word stock according to the combined pattern and stroke order of the currently written stroke, and the trajectory and pattern of the next stroke corresponding to the copybook are loaded to replace the trajectory and pattern of the remaining strokes of the current copybook.
Preferably, the reference lines are all solid lines, and one of the auxiliary lines in an adjacent pair is a solid line and the other is a dashed line.
Preferably, the touch display interface is used for detecting a track formed by touch movement of a capacitive pen, a resistive pen or a finger on the touch display interface.
The embodiment of the invention also provides a handwriting practicing device based on the touch device, which is used for realizing the handwriting practicing method based on the touch device, and comprises the following steps:
the touch display module provides a touch display interface;
the handwriting lattice display module is used for displaying at least one handwriting lattice on the touch display interface, the writing track of at least one stroke of a target Chinese character font is displayed in the handwriting lattice, the handwriting lattice comprises two reference lines forming an included angle, the included angle is divided into n writing areas by an auxiliary line average n based on the vertex of the included angle, the n is a natural number of 4 or 10, and the track of each stroke of the target Chinese character font is preset to pass through the at least one writing area in sequence;
the track acquisition module is used for receiving a track based on touch operation in the calligraphy grid on the touch display interface, generating touch strokes based on the track of the touch operation and displaying the touch strokes in the calligraphy grid;
the track judging module is used for judging whether a writing area where the track of the touch operation passes is the same as a writing area where the track of the current stroke is preset in sequence, if so, executing the first executing module, and if not, executing the second executing module;
the first execution module is used for continuously displaying the touch strokes on the touch display interface and returning to the track acquisition module; and
and the second execution module is used for eliminating the touch strokes on the touch display interface and returning to the track acquisition module.
The embodiment of the invention also provides calligraphy practicing equipment based on the touch equipment, which comprises the following components:
a processor;
a memory having stored therein executable instructions of the processor;
wherein the processor is configured to execute the steps of the touch-control device-based calligraphy practicing method via executing the executable instructions.
The embodiment of the invention also provides a computer-readable storage medium for storing a program, and the program realizes the steps of the handwriting practicing method based on the touch control equipment when being executed.
The invention aims to provide a calligraphy practicing method, a calligraphy practicing system, calligraphy practicing equipment and a storage medium based on touch equipment, which can accurately write calligraphy of Chinese characters on a touch interface, improve the sense of reality of calligraphy practicing in electronic equipment and enhance humanized experience.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, with reference to the accompanying drawings.
FIG. 1 is a flowchart of a handwriting practicing method based on a touch device according to the present invention.
Fig. 2 is a schematic diagram of a pattern of pre-stored Chinese character days for calligraphy practice based on touch equipment.
Fig. 3 to 12 are schematic diagrams illustrating an implementation process of the handwriting practicing method based on the touch device according to the present invention.
Fig. 13 is a schematic diagram of a handwriting practicing pre-stored Chinese character permanent pattern based on the touch device.
Fig. 14 is a schematic diagram of a pattern of pre-stored chinese characters for calligraphy practice based on a touch device according to the present invention.
Fig. 15 is a schematic diagram of a pattern of a handwriting practicing pre-stored Chinese character based on the touch device of the present invention.
FIG. 16 is a block diagram of a system for calligraphy practicing based on a touch device according to the present invention.
FIG. 17 is a schematic structural diagram of a handwriting practicing device based on a touch device according to the present invention.
Fig. 18 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and thus their repetitive description will be omitted.
FIG. 1 is a flowchart of a handwriting practicing method based on a touch device according to the present invention. As shown in fig. 1, a first method for calligraphy practicing based on a touch device of the present invention includes:
s110, providing a touch display interface;
s120, displaying at least one calligraphy lattice on the touch display interface, displaying a writing track of at least one stroke of a target Chinese character font in the calligraphy lattice, wherein the calligraphy lattice comprises two reference line strips forming an included angle, the included angle is equally divided into n writing areas by an auxiliary line based on the vertex of the included angle, n is a natural number of 4 or 10, and the track of each stroke of the preset target Chinese character font sequentially passes through the at least one writing area;
s130, receiving a track based on touch operation in the calligraphy grid by the touch display interface, generating touch strokes based on the track of the touch operation and displaying the touch strokes in the calligraphy grid;
s140, judging whether a writing area where a track of touch operation passes is the same as a writing area where a track preset by a current stroke is in sequence, if so, executing a step S150, otherwise, executing a step S160;
s150, continuously displaying the touch strokes on the touch display interface, and returning to the step S130; and
and S160, eliminating the touch strokes on the touch display interface, and returning to the step S130.
In a preferred embodiment, the touch display interface is a touch display screen with pressure sensing;
a brush is selected based on at least one of a speed and a pressing force of the writing trace, and the brush leaves a pattern in the touch display interface along with the movement of the writing trace. In this embodiment, the brush is a number of preset patterns, and may be directly used in the form of a painting brush, and a pattern with a preset color is left on a touch display interface through which the brush passes.
In a preferred embodiment, each brush has a different width perpendicular to the writing path, and the slower the writing path speed, the greater the width of the brush, so as to simulate the appearance of a brush pen with slow ink application rendering.
In a preferred scheme, the larger the pressing force is, the larger the width of the brush is, so as to simulate the shape of a line frame of a writing brush after the brush is stressed.
In a preferred embodiment, each stroke of the preset target chinese character font corresponds to a pattern, and S140 includes the following steps:
s1401, judging whether a writing area where a track of touch operation passes is the same as a writing area where a track preset by a current stroke is in sequence, if so, executing a step S1402, otherwise, executing a step S160;
s1402, judging whether the track of the touch operation is the same as the track preset by the current stroke, if so, executing the step S1403, and if not, executing the step S160;
s1403, determining whether the pattern of the touch operation is the same as the preset pattern of the current stroke, if so, executing step S1405, otherwise, executing step S160.
The method and the device split strokes of the Chinese characters into three dimensions based on the range span of calligraphy lattices, handwriting tracks and final character patterns for comparative analysis, can more accurately reflect the requirements of calligraphy on the calligraphy, more truly show the writing state when the writing brush is used, and are beneficial to obtaining better calligraphy practicing effect for users.
In a preferred embodiment, the touch display interface is used for detecting a track formed by touch movement of a capacitive pen, a resistive pen or a finger on the touch display interface.
In a preferred scheme, a plurality of sets of copybooks are prestored in a word stock, in the process of writing a target Chinese character, the closest copybook of the target Chinese character is compared in the word stock according to the combination pattern (Chinese character which is not finished) of the current written stroke and the stroke sequence, and the range span, the handwriting track and the pattern of the next stroke corresponding to the copybook are loaded to replace the range span, the track and the pattern of the rest strokes of the current copybook based on the handwriting grid. The method and the device fully consider the difference of writing habit and aesthetic standard of each person, do not use a single copybook mode, and more accurately match copybooks suitable for the writing habit of the user through the copybook library updated from time to time, thereby being beneficial to each user to practice good characters with one hand closer to the writing habit of the user. For example, A, B, C three copybooks related to the "day" character in the word stock originally prepares a copybook for the user, the total of four "day" characters, but after the user writes two strokes, the user writes (the first two strokes) closer to the B copybook through comparison based on the range span, the handwriting track and the local character pattern of the handwriting grid, and then the subsequent two strokes are updated to the corresponding range span, the handwriting track and the local character pattern based on the handwriting grid of the third and fourth strokes of the B copybook, so that the user can practice the handwriting closer to the writing habit of the user. In a preferred embodiment, the included angle is in the range of 10 ° to 80 °, but not limited thereto. The included angle may also range from 20 ° to 70 °, or 30 ° to 60 °, or 40 ° to 50 °, and so on. The included angle is selected from one of 41 °, 42 °, 43 °, 44 °, 45 °, 46 °, 47 °, 48 °, and 49 °, but not limited thereto.
In a preferred embodiment, the reference lines are all solid lines, and one of the auxiliary lines in an adjacent pair is a solid line, and the other is a dashed line, but not limited thereto.
In a preferred embodiment, the reference lines are all solid lines, and the auxiliary lines are all dashed lines, but not limited thereto.
Fig. 2 is a schematic diagram of a pattern of pre-stored Chinese character days for calligraphy practice based on touch equipment. As shown in fig. 2, the handwriting practice based on the touch device of the present invention prestores chinese character patterns, wherein the chinese character patterns of "tian" are taken from "kongzhou temple tombstone" of south of the tang corn poppy, the upper short and horizontal lines occupy the writing area 41 and the writing area 42, the middle horizontal line occupies the writing area 43 and the writing area 44, the vertical left-falling line longitudinally occupies the writing area 42 to the writing area 47 (six writing areas are spanned), and the right-falling stroke longitudinally occupies the writing area 44, the writing area 45, the writing area 46, the writing area 47 and the writing area 48 (five writing areas are spanned).
Fig. 3 to 12 are schematic diagrams illustrating an implementation process of the handwriting practicing method based on the touch device according to the present invention.
As shown in fig. 3, a touch display interface is provided.
As shown in fig. 4, the touch display interface displays at least one calligraphy lattice, and the calligraphy lattice displays a writing track of strokes of a target chinese character font, and includes two reference lines 31 and 39 forming an included angle, and the included angle is divided into 8 writing areas 41, 42, 43, 44, 45, 46, 47, and 48 by 8 auxiliary lines 32, 33, 34, 35, 36, 37, and 38 based on vertices of the included angle. The track of each stroke of the preset target Chinese character font sequentially passes through at least one writing area, the short horizontal direction above the Chinese character pattern of the 'Tian' transversely occupies a writing area 41 and a writing area 42, the middle horizontal drawing transversely occupies a writing area 43 and a writing area 44, the longitudinal direction with a left falling and a right falling vertically occupies the writing area 42 to the writing area 47 (totally striding six writing areas), and the right falling drawing longitudinally occupies the writing area 44, the writing area 45, the writing area 46, the writing area 47 and the writing area 48 (totally striding five writing areas).
As shown in fig. 5, the touch display interface receives a track based on a short-horizontal touch operation in a handwriting frame, generates a short-horizontal touch stroke based on the track of the touch operation, and displays the short-horizontal touch stroke in the handwriting frame, and when a writing area where the track of the touch operation passes is the same as a writing area where a preset track of the current stroke is in turn, continuously displays the short-horizontal pattern.
As shown in fig. 6, the touch display interface receives a track based on a long-horizontal touch operation in the handwriting grid, generates a long-horizontal touch stroke based on the track of the touch operation, and displays the long-horizontal touch stroke in the handwriting grid.
As shown in fig. 7, if the writing area through which the long horizontal track passes is different from the writing area in which the current stroke is preset, the long horizontal touch stroke is eliminated, and the user is prompted to write a stroke again.
As shown in fig. 8, the user has re-written a long bar, and if the writing area where the long bar track passes is the same as the writing area where the preset track of the current stroke is in sequence, the touch stroke of the long bar is continuously displayed on the touch display interface.
As shown in fig. 9, the touch display interface receives a trajectory of a touch operation based on a left-falling stroke in a handwriting frame, generates a left-falling touch stroke based on the trajectory of the touch operation, and displays the left-falling touch stroke in the handwriting frame.
As shown in fig. 10, if the writing area through which the left-falling track passes is different from the writing area in which the current stroke is preset in sequence, the left-falling touch stroke is eliminated, and the user is prompted to rewrite a stroke.
As shown in fig. 11, the user writes a left-falling stroke again, and if the writing areas where the left-falling trajectory passes are the same as the writing areas where the current stroke is preset in sequence, the left-falling touch stroke is continuously displayed on the touch display interface.
As shown in fig. 12, the touch display interface receives a trajectory of a touch operation based on a right-falling within the handwriting frame, generates a touch stroke of the right-falling based on the trajectory of the touch operation, and displays the touch stroke in the handwriting frame. And if the writing areas through which the trace is pressed are the same as the writing areas in sequence of the preset trace of the current stroke, continuously displaying the pressed touch stroke on the touch display interface.
Fig. 13 is a schematic diagram of a handwriting practicing pre-stored Chinese character permanent pattern based on the touch device. As shown in fig. 13, the handwriting practicing pre-storing chinese character patterns of the touch device of the present invention is obtained from the book of japan european query, wherein the "permanent" chinese character patterns are obtained from the writing area 41 by the upper stippling, the writing area 42 to the writing area 48 by the horizontal and vertical hooks, the writing area 44, the writing area 45, the writing area 46, and the writing area 47 by the left side lifting and left falling, the writing area 43, the writing area 44, the writing area 45, the writing area 46, and the writing area 47 by the right side left falling and right falling, but not limited thereto.
Fig. 14 is a schematic diagram of a pattern of pre-stored chinese characters for calligraphy practice based on a touch device according to the present invention. As shown in fig. 14, the handwriting practicing pre-storing chinese character patterns of the touch device of the present invention, wherein the chinese character patterns of "yuan" are taken from tang europe query "jiuhuang gongli fountain data", the upper stippling occupies writing area 41, the horizontal folding and vertical hooking occupies writing area 42 to writing area 48, the left drawing with left falling and left falling occupies writing area 44, writing area 45, writing area 46, and writing area 47, and the right drawing with left falling and right falling occupies writing area 43, writing area 44, writing area 45, writing area 46, and writing area 47, but not limited thereto.
Fig. 15 is a schematic diagram of a pattern of a handwriting practicing pre-stored Chinese character based on the touch device of the present invention. As shown in fig. 15, the handwriting practicing pre-storing Chinese character patterns of the touch device of the present invention is obtained from the book of europe and the query of japan, wherein the upper part of the Chinese character patterns is a short horizontal line occupying writing region 41, the middle part of the horizontal line occupying writing region 43, the longitudinal left-falling line occupying writing region 43, writing region 44, writing region 45, writing region 46, and the vertical hook occupying writing region 44, writing region 45, writing region 46, writing region 47, writing region 48, but not limited thereto.
FIG. 16 is a block diagram of a handwriting practicing system based on a touch device according to the present invention. As shown in fig. 16, the handwriting practicing system 50 based on touch device of the present invention includes: the handwriting input device comprises a touch display module 51, a calligraphy character display module 52, a track acquisition module 53, a track judgment module 54, a first execution module 55 and a second execution module 56. The touch display module 51 provides a touch display interface. The handwriting grid display module 52 displays at least one handwriting grid on the touch display interface, the writing track of at least one stroke of a target Chinese character font is displayed in the handwriting grid, the handwriting grid comprises two reference lines forming an included angle, the included angle is equally divided into n writing areas by an auxiliary line based on the vertex of the included angle, n is a natural number of 4 or 10, and the track of each stroke of the preset target Chinese character font sequentially passes through the at least one writing area. The trajectory acquisition module 53 receives a trajectory based on a touch operation in the handwriting frame on the touch display interface, generates a touch stroke based on the trajectory of the touch operation, and displays the touch stroke in the handwriting frame. The trajectory determination module 54 determines whether a writing area through which a trajectory of the touch operation passes is the same as a writing area in which a trajectory preset by a current stroke is sequentially written, if so, the first execution module 55 is executed, and if not, the second execution module 56 is executed. The first executing module 55 continuously displays the touch strokes on the touch display interface, and returns to the track collecting module 53. The second executing module 56 eliminates the touch strokes on the touch display interface, and returns to the track collecting module 53.
The embodiment of the invention also provides calligraphy practicing equipment based on the touch equipment, which comprises a processor. A memory having stored therein executable instructions of the processor. Wherein the processor is configured to perform the steps of the touch device-based calligraphy practicing method via execution of the executable instructions.
As shown above, the embodiment can accurately write the calligraphy of the Chinese characters on the touch interface, improve the sense of reality of calligraphy practice in electronic equipment and enhance the humanized experience.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" platform.
FIG. 17 is a schematic structural diagram of a handwriting practicing device based on a touch device according to the present invention. An electronic device 600 according to this embodiment of the invention is described below with reference to fig. 17. The electronic device 600 shown in fig. 17 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 17, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different platform components (including the storage unit 620 and the processing unit 610), a display unit 640, and the like.
Wherein the storage unit stores program code executable by the processing unit 610 to cause the processing unit 610 to perform steps according to various exemplary embodiments of the present invention described in the above-mentioned electronic prescription flow processing method section of the present specification. For example, processing unit 610 may perform the steps as shown in fig. 1.
The storage unit 620 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)6201 and/or a cache memory unit 6202, and may further include a read only memory unit (ROM) 6203.
The memory unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 630 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 600, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 650. Also, the electronic device 600 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network such as the Internet) via the network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via the bus 630. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, to name a few.
The embodiment of the invention also provides a computer-readable storage medium for storing a program, and the steps of the calligraphy practicing method based on the touch device are realized when the program is executed. In some possible embodiments, the aspects of the present invention may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the present invention described in the above-mentioned electronic prescription flow processing method section of this specification, when the program product is run on the terminal device.
As shown above, the embodiment can accurately write the calligraphy of the Chinese characters on the touch interface, improve the sense of reality of calligraphy practice in electronic equipment and enhance the humanized experience.
Fig. 18 is a schematic structural diagram of a computer-readable storage medium of the present invention. Referring to fig. 18, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In summary, the present invention is directed to a handwriting practicing method, a system, a device and a storage medium based on a touch device, which can accurately write a Chinese character handwriting on a touch interface, improve the sense of reality of the handwriting practicing in an electronic device, and enhance the user-friendly experience.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all should be considered as belonging to the protection scope of the present invention.

Claims (10)

1. A calligraphy practicing method based on touch equipment is characterized by comprising the following steps:
s110, providing a touch display interface;
s120, the touch display interface displays at least one calligraphy lattice, the writing track of at least one stroke of a target Chinese character font is displayed in the calligraphy lattice, the calligraphy lattice comprises two reference lines forming an included angle, the included angle is equally divided into n writing areas by an auxiliary line average n based on the vertex of the included angle, n is a natural number of 4 or 10, and the track of each stroke of the target Chinese character font is preset to sequentially pass through the at least one writing area;
s130, the touch display interface receives a track based on touch operation in the calligraphy grid, generates touch strokes based on the track of the touch operation and displays the touch strokes in the calligraphy grid;
s140, judging whether a writing area where the track of the touch operation passes is the same as a writing area where the track of the current stroke is preset in sequence, if so, executing a step S150, and if not, executing a step S160;
s150, continuously displaying the touch strokes on the touch display interface, and returning to the step S130; and
and S160, eliminating the touch strokes on the touch display interface, and returning to the step S130.
2. The handwriting practicing method based on the touch device as claimed in claim 1, wherein: the touch display interface is a touch display screen with pressure sensing function;
selecting a brush based on at least one of the speed and the pressing force of the writing track, the brush leaving a pattern in the touch display interface along with the movement of the writing track.
3. The handwriting practicing method based on the touch device as claimed in claim 2, wherein: each brush has a different width perpendicular to the writing trajectory, the slower the speed of the writing trajectory the greater the width of the brush.
4. The handwriting practicing method based on the touch device as claimed in claim 2, wherein: the greater the pressing force, the greater the width of the brush.
5. The handwriting practicing method based on the touch device as claimed in claim 2, wherein: presetting a pattern corresponding to each stroke of the target Chinese character font, wherein the S140 comprises the following steps:
s1401, judging whether a writing area where the track of the touch operation passes is the same as a writing area where the track of the current stroke is preset in sequence, if so, executing a step S1402, and if not, executing a step S160;
s1402, judging whether the track of the touch operation is the same as the track preset by the current stroke, if so, executing the step S1403, and if not, executing the step S160;
s1403, determining whether the pattern of the touch operation is the same as a preset pattern of the current stroke, if so, executing step S1405, and if not, executing step S160.
6. The handwriting practicing method based on the touch device as claimed in claim 1, wherein: multiple copybooks are prestored in the word stock, and in step S130, in the process of writing a target Chinese character, the closest copybook of the target Chinese character is compared in the word stock according to the combined pattern and stroke sequence of the current written stroke, and the range span, the handwriting track and the pattern of the next stroke corresponding to the copybook are loaded to replace the range span, the track and the pattern of the rest strokes of the current copybook based on the handwriting style.
7. The handwriting practicing method based on the touch device as claimed in claim 1, wherein: the included angle is in the range of 30 ° to 60 °.
8. A handwriting practice system based on a touch device, for implementing the handwriting practice method based on the touch device as claimed in any one of claims 1 to 7, comprising:
the touch display module provides a touch display interface;
the handwriting lattice display module is used for displaying at least one handwriting lattice on the touch display interface, the writing track of at least one stroke of a target Chinese character font is displayed in the handwriting lattice, the handwriting lattice comprises two reference lines forming an included angle, the included angle is divided into n writing areas by an auxiliary line average n based on the vertex of the included angle, the n is a natural number of 4 or 10, and the track of each stroke of the target Chinese character font is preset to pass through the at least one writing area in sequence;
the track acquisition module is used for receiving a track based on touch operation in the calligraphy grid on the touch display interface, generating touch strokes based on the track of the touch operation and displaying the touch strokes in the calligraphy grid;
the track judging module is used for judging whether a writing area where the track of the touch operation passes is the same as a writing area where the track of the current stroke is preset in sequence, if so, executing the first executing module, and if not, executing the second executing module;
the first execution module is used for continuously displaying the touch strokes on the touch display interface and returning to the track acquisition module; and
and the second execution module is used for eliminating the touch strokes on the touch display interface and returning to the track acquisition module.
9. The device for calligraphy practicing based on the touch device is characterized by comprising the following components:
a processor;
a memory having stored therein executable instructions of the processor;
wherein the processor is configured to perform the steps of the touch device-based calligraphy practicing method of any one of claims 1-7 via execution of the executable instructions.
10. A computer-readable storage medium storing a program which, when executed, performs the steps of the method for touch-based device calligraphy practicing according to any one of claims 1 to 7.
CN201911086666.2A 2019-11-08 2019-11-08 Handwriting practicing method, system, equipment and storage medium based on touch equipment Active CN110888549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911086666.2A CN110888549B (en) 2019-11-08 2019-11-08 Handwriting practicing method, system, equipment and storage medium based on touch equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911086666.2A CN110888549B (en) 2019-11-08 2019-11-08 Handwriting practicing method, system, equipment and storage medium based on touch equipment

Publications (2)

Publication Number Publication Date
CN110888549A true CN110888549A (en) 2020-03-17
CN110888549B CN110888549B (en) 2023-12-08

Family

ID=69747092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911086666.2A Active CN110888549B (en) 2019-11-08 2019-11-08 Handwriting practicing method, system, equipment and storage medium based on touch equipment

Country Status (1)

Country Link
CN (1) CN110888549B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111477066A (en) * 2020-04-02 2020-07-31 中科院合肥技术创新工程院 Calligraphy practicing method, device and system based on multi-array pressure sensor
CN111898588A (en) * 2020-08-24 2020-11-06 河南羲和网络科技股份有限公司 Method and device for standardizing writing strokes
CN113268146A (en) * 2020-06-24 2021-08-17 黄成忠 Intelligent calligraphy learning system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008107563A (en) * 2006-10-25 2008-05-08 U-Can Inc Calligraphy learning system
CN101369382A (en) * 2007-08-17 2009-02-18 英业达股份有限公司 Chinese character writing validation system and method
CN101635099A (en) * 2008-07-22 2010-01-27 张炳煌 Chinese dynamic copybook writing system
CN106855945A (en) * 2016-12-22 2017-06-16 上海云丞聚智能科技有限公司 The write detection method and device of electronic copybook, electronic copybook
CN109272805A (en) * 2018-11-13 2019-01-25 段星宇 A kind of calligraphy training method, apparatus, electronic equipment and storage medium
CN110379251A (en) * 2019-06-11 2019-10-25 深圳富邦教育管理有限公司 Intelligence based on touch-control clipboard assists system of practising handwriting

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008107563A (en) * 2006-10-25 2008-05-08 U-Can Inc Calligraphy learning system
CN101369382A (en) * 2007-08-17 2009-02-18 英业达股份有限公司 Chinese character writing validation system and method
CN101635099A (en) * 2008-07-22 2010-01-27 张炳煌 Chinese dynamic copybook writing system
CN106855945A (en) * 2016-12-22 2017-06-16 上海云丞聚智能科技有限公司 The write detection method and device of electronic copybook, electronic copybook
CN109272805A (en) * 2018-11-13 2019-01-25 段星宇 A kind of calligraphy training method, apparatus, electronic equipment and storage medium
CN110379251A (en) * 2019-06-11 2019-10-25 深圳富邦教育管理有限公司 Intelligence based on touch-control clipboard assists system of practising handwriting

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
于东;吕晓晨;荀恩东;: "基于笔触特征三角形的手写汉字书法效果美化方法", 计算机科学, no. 02 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111477066A (en) * 2020-04-02 2020-07-31 中科院合肥技术创新工程院 Calligraphy practicing method, device and system based on multi-array pressure sensor
CN113268146A (en) * 2020-06-24 2021-08-17 黄成忠 Intelligent calligraphy learning system
CN111898588A (en) * 2020-08-24 2020-11-06 河南羲和网络科技股份有限公司 Method and device for standardizing writing strokes

Also Published As

Publication number Publication date
CN110888549B (en) 2023-12-08

Similar Documents

Publication Publication Date Title
CN110888549B (en) Handwriting practicing method, system, equipment and storage medium based on touch equipment
KR101825154B1 (en) Overlapped handwriting input method
US10606474B2 (en) Touch screen finger tracing device
KR102381801B1 (en) Systems and methods for guiding handwriting input
CN102939575B (en) Ink presents
CN105493023A (en) Manipulation of content on a surface
US20140208263A1 (en) System and method for dynamically displaying characters over a screen of a computerized mobile device
CN101810003A (en) enhanced camera-based input
Liao et al. Pen-top feedback for paper-based interfaces
CN102141876A (en) Linking and managing mathematical objects
CN102221971A (en) Free form mathematic calculation
CN107798717A (en) Electronic brush writing method, device, computer equipment and storage medium
Lam et al. PyMOL mControl: Manipulating molecular visualization with mobile devices
Brown et al. Panel: Future directions of block-based programming
CN103365552A (en) Bookmark setting method of e-book, and apparatus thereof
MX2013010261A (en) Task-based address bar and tabs scaling.
Taele et al. Lamps: A sketch recognition-based teaching tool for mandarin phonetic symbols i
Lee et al. From seen to unseen: Designing keyboard-less interfaces for text entry on the constrained screen real estate of Augmented Reality headsets
JP5926650B2 (en) Speed reading training apparatus, speed reading training method, and speed reading training program
Lai et al. Display and device size effects on the usability of mini-notebooks (netbooks)/ultraportables as small form-factor Mobile PCs
Tam et al. Learning to write Chinese characters with correct stroke sequences on mobile devices
EP2712433B1 (en) User interface for drawing with electronic devices
CN110942519A (en) Computer assembly virtual experiment system and implementation method thereof
Pollanen et al. A tablet-compatible web-interface for mathematical collaboration
KR101240186B1 (en) Apparatus for learning virtual experiment and method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant