The Chinese calligraphy practice device is a patented invention, referred to as the calligraphy device, which is a Chinese calligraphy practice device.
This invention belongs to the field of Chinese information processing technology. It is a Chinese calligraphy practice device that combines microelectronics technology with Chinese character writing practice methods, including a central processor, a keyboard, a writing input board, a writing pen, and a copybook library. , copybook display and other hardware configuration and control programs, operate the keyboard to convert the selected Chinese character input code into the standard deformed national standard code in the machine, and take out the corresponding glyph code from the copybook library, and then display the copybook characters, handwritten input The CPU takes out the information code of the characters from the writing control port and displays them simultaneously with the characters on the copybook, intuitively displaying the difference between the handwritten characters and the characters on the copybook at any time.
The hardware consists of a central processing unit, a copybook and a display for inputting Chinese characters by hand, a display control port, a ROM with a built-in control program, a writing input board capable of inputting Chinese characters by hand, a writing control port, a data memory, and a keyboard. Copybook library, which also includes the control program that makes the device run.
Its characteristics are: a. The pen used for writing input can be a hard pen or an elastic pen with a flexible tip; b. The control program for running the device is carried out according to the following steps:
( 1) Start;
(2) Preparation: including initialization and normal status prompt display,
(3) Keyboard input, if a key is pressed, enter key processing, if not Press the key to continue to detect whether there is writing input at the writing control port.
(4) Key processing. According to the code of the key, press the function key and word selection key and store them in the function status buffer area and digit memory respectively. The word selection cache area is reserved;
(5) Determine the selected word address and convert the word selection key code into the selected word address;
(6) Get the selected word from the copybook library The glyph code is sent to the display buffer area of ??the digital memory;
(7) Send the selected character to the display control port and display it on the monitor for use in reading and analyzing the stroke writing of the character;
(8) Enter the preprocessing program when there is input on the writing input board;
(9) The preprocessing program properly processes the handwriting input signal, including stroke segmentation, smoothing, noise removal, and spatial Sampling and normalization;
(10) The processed written shape code is sent to the writing buffer area of ??the data memory 7 for backup;
(11) Check the functional status buffer area of ??the data memory and judge Whether it is the copying state, no, directly display the shape code, yes, judge the copying state;
(12) It is the copying state, continue the relevant processing, if it is not the copying state, it must be the copying state;
(13) Since the copy function requires the copybook characters and handwriting input to be displayed together, the central processor combines the two glyph codes together;
(14) The composite glyph code Send the display buffer area of ??the data memory to prepare for display;
(15) Comparison display, you can visually see the deviation between the handwritten input words and the copybook words on the display at any time;
(16) Determine whether the copying is finished. If it is finished, perform the comprehensive scoring subroutine. If it is not finished, continue the writing input and send the written shape code to the display buffer area of ??the data memory;
(17) is the temporary Writing status, determine whether the writing is completed. If it is completed, compare and display the subroutine. If it is not completed, continue writing input from the writing and writing control ports;
(18) Clear the function status buffer area, After one copybook display or writing or copybook comparison display is completed, the contents of the function status cache area are cleared for the next input record.