Self-guiding multilingual hard-tipped-pen character trainer system and database construction method thereof

By constructing a dot matrix character library and a guidance information library, combined with touch screen technology, a self-guiding multilingual hard-pen calligraphy practice device system is provided, which solves the problem of inability to achieve precise guidance in the existing technology, improves the efficiency and accuracy of Chinese character writing practice, and meets the needs of Construction of calligraphy products for different needs.

CN118625949APending Publication Date: 2024-09-10刘冠福
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410565147.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-09
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing technology cannot achieve accurately guided Chinese character writing practice, especially on touch screen devices, and cannot simulate the writing sequence and handwriting guided by professionals, resulting in insufficient practice efficiency and accuracy.

Method used

By constructing a dot matrix font library and a guidance information library, guidance information for self-guidance error judgment is generated. Combined with touch screen technology, a self-guided multilingual hard-pen character practice system is provided to simulate the writing order and handwriting of professionals to achieve precise guidance.

Benefits of technology

It realizes efficient and accurate Chinese character writing practice on the touch screen, improves practice efficiency and accuracy, builds calligraphy products that meet different needs, and simulates the guidance process of professionals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625949A
    Figure CN118625949A
Patent Text Reader

Abstract

The invention provides a database construction method of a self-guiding multi-language hard-tipped-pen character trainer. The database construction method comprises the following steps: constructing a dot matrix character library file only containing letters or fonts of a selected language; based on the dot matrix font library file, generating a guiding information library file used for performing self-guiding error judgment on the writing sequence of the selected characters; and jointly constructing a database file of the exerciser by adopting the dot matrix font library file and the guide information library file. The exerciser system comprises a touch display module used for providing a touch screen calligraphy practicing operation interface; the operation control module is used for setting operation control information on the touch screen calligraphy practicing operation interface and selecting a required dot matrix font library file; the guiding module is used for displaying the selected dot matrix font library file and the corresponding guiding information in the guiding information library file on the touch screen calligraphy practicing operation interface; and the execution module is used for executing the guide information and judging whether the executed writing process is accurate or not according to the guide information. According to the invention, accurate guidance of the exercise process is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of touch devices and image processing technology, and in particular to a self-guided multilingual hard-pen calligraphy practice system based on a touch screen and a database construction method thereof, as well as a corresponding database construction system, a practice method of the practice system, a computer terminal and a computer-readable storage medium. Background Art

[0002] As a unique creation of the Chinese nation, Chinese characters, especially Chinese characters, have become a treasure of world culture with their beautiful shapes and complex and varied structures. Therefore, writing Chinese characters well has become a pride and a difficult problem for every Chinese. Traditional calligraphy practice tools and methods currently on the market, such as rice characters, field grids, tracing red characters, and grooved calligraphy practice books, have the problem of wasting a lot of paper during the practice process and usually require professionals to guide the correct strokes and strokes to achieve the practice effect, which cannot meet people's daily calligraphy practice needs. In response to the problem of wasting a lot of paper during the practice process, advanced calligraphy practice tools using touch screen technology have appeared on the market, but they still fail to achieve the level of precise guidance.

[0003] After searching, it was found that the Chinese invention patent application with publication number CN1108885A, "Calligraphy Practice Method, System, Device and Storage Medium Based on Touch Device", presets the trajectory of each stroke of the target Chinese character font, determines whether the writing area passed by the trajectory of the touch operation is the same as the writing area of ​​the preset trajectory of the current stroke, and if so, continues to display the touch stroke, if not, eliminates the touch stroke, and then accurately writes Chinese calligraphy on the touch interface. The preset font stroke trajectory in this technology, or the "brush" in the text, or the "preset pattern" in the calligraphy format area, are all expected concepts in this technology, and none of them provide control data that can be automatically used by computers or other microcontroller chip systems to realize this technology, or methods for generating such control data.

[0004] How to set the writing order of the practice handwriting and simulate the process of professional guidance is the key to achieve accurate guidance and is also a technical problem to be solved in this field. At present, no description or report of similar technology to the present invention has been found, and similar materials at home and abroad have not been collected. Summary of the invention

[0005] In view of the above-mentioned deficiencies in the prior art, the present invention provides a self-guided multilingual hard-pen calligraphy practice system based on a touch screen and a database construction method thereof, and also provides a corresponding database construction system, a practice method of the practice system, a computer terminal and a computer-readable storage medium.

[0006] According to a first aspect of the present invention, there is provided a method for constructing a database of a self-guided multilingual hard-pen calligraphy trainer, comprising:

[0007] Construct one or more bitmap font files containing only letters or glyphs of the selected language;

[0008] Based on the dot matrix font library file, a guide information library file is generated for self-guiding error detection of the writing order of the selected characters;

[0009] The dot matrix character library file and the guide information library file are used to jointly construct a database file of a self-guided multilingual hard-pen calligraphy trainer.

[0010] Preferably, the step of constructing one or more dot matrix font files containing only letters or glyphs of the selected language comprises:

[0011] Select the required language and font to form a first character library file; initialize the pointer of the first character library file, the pointer value of the pointer of the first character library character is calculated by the character area code;

[0012] Displaying a dot matrix image of the text pointed to by the pointer in the first character library file at a designated position;

[0013] Reading the image points of the indicated text at the designated position to form dot matrix data of the text;

[0014] Writing the dot matrix data into the second character library initial file;

[0015] Update the pointer of the first character library file to point to the next character;

[0016] Repeat the second to fourth steps to update the second character library initial file, generate a second character library file that only includes text dot matrix data of the required language and font, and obtain a dot matrix character library file.

[0017] Preferably, based on the dot matrix font library file, a guidance information library file for self-guiding error detection of the writing order of the selected characters is generated, including:

[0018] Providing a boot information base initial structure, and obtaining boot information base header information located at the head of the boot information base initial structure;

[0019] Extracting an untrained character from the dot matrix font file, and initializing a guide information pointer corresponding to the character in the guide information library initial structure;

[0020] According to the stroke writing order, the starting point signal of the first stroke of the character is obtained to obtain the starting point position; the cursor point coordinates of the starting point position are read and saved as the starting point position variable;

[0021] Move the cursor along the midline position of the first stroke to obtain a passing point position, and save the cursor point coordinates of the passing point position as a passing point position variable;

[0022] Move the cursor to the end point of the first stroke, obtain an end point signal, and mark the end point; read the cursor point coordinates of the end point and save them as an end point position variable;

[0023] According to the above process of obtaining the starting position to the end position, until the corresponding position information of each stroke in the character is obtained, the guiding information of the character writing practice is generated;

[0024] Extract the next untrained text in the dot matrix font file, repeat the above steps until the training is completed, save the generated guide information to the initial structure of the guide information library, and update the guide information library header information in the library to generate a guide information library file.

[0025] Preferably, obtaining a boot information base header information located at the header of the boot information base initial structure includes:

[0026] If it is the first time to generate a boot information library file, then initialize a boot information library header information, write the boot information library header information into the boot information library initial architecture header, and save it as a header information variable;

[0027] If it is not the first time to generate the boot information library file, the boot information library header information of the boot information library initial architecture header is extracted and saved as a header information variable.

[0028] Preferably, the above method further includes any one or more of the following:

[0029] - the header information of the guide information library includes: the starting text area code for the next training and the starting position for writing the guide information for the next training;

[0030] - the guide information pointer includes: the starting position of the guide information and the length of the guide information;

[0031] - the guidance information includes: the track point type, the track point X-axis coordinate and the track point Y-axis coordinate;

[0032] -Generate a voice prompt library file according to the corresponding starting point position, passing point position and / or end point position stored in the guide information library file, and use the voice prompt library file as a part of the database file of the self-guided multilingual hard pen calligraphy trainer.

[0033] According to a second aspect of the present invention, there is provided a database construction system for a self-guided multilingual hard-pen calligraphy trainer, comprising:

[0034] A bitmap font library construction module, which is used to construct one or more bitmap font library files containing only the text of the selected language;

[0035] A guide information generation module, which generates a guide information library file for self-guiding error detection of the writing order of the selected characters based on the dot matrix font library file;

[0036] The data construction module adopts the dot matrix font library file constructed by the dot matrix font library construction module and the guide information library file generated by the guide information generation module to jointly construct a self-guiding data file for multilingual hard pen calligraphy practice.

[0037] According to a third aspect of the present invention, there is provided a method for constructing a database of a hard-pen calligraphy writing trainer for Chinese character writing teaching, comprising:

[0038] Providing a Chinese character library file, the Chinese character library file includes one or more dot matrix character library files containing only selected Chinese characters and a guide information library file for self-guiding error judgment of the writing order of the selected characters;

[0039] A Chinese textbook character library retrieval file required for Chinese textbook hard pen writing practice is provided, wherein the Chinese textbook character library retrieval file uses character area codes to retrieve the character dot matrix required for practice in the dot matrix character library file and the corresponding guide information in the guide information library file;

[0040] A Chinese textbook new word guide information file required for Chinese textbook hard pen writing practice is provided, wherein the guide information is copied from the guide information library file to the Chinese textbook new word guide information file according to the new word area code in the Chinese textbook new word library search file one by one;

[0041] The Chinese textbook new word library retrieval file, the second character library dot matrix file and the Chinese textbook new word guide information file are combined to generate a Chinese textbook new word retrieval guide information file as a hard pen writing practice database file for Chinese new word writing teaching.

[0042] Preferably, the above method further includes any one or more of the following:

[0043] - The Chinese textbook character library search file required for providing a Chinese textbook hard pen writing exercise includes:

[0044] Establish a Chinese textbook word library structure, and initialize the header information variables and word information variables of the Chinese textbook word library structure;

[0045] According to the catalog order of the Chinese textbook, the catalog information, the item information and the new word area code information are arranged to form a text file; wherein the catalog information includes the grade, semester, word category, lesson number and starting item number which are arranged in sequence; the item information includes: the lesson number, the starting position of the new word of a lesson in the new word area code information and the length of the new word area code of a lesson; the new word area code information is defined as: both a word format area code and a byte format area code;

[0046] When processing a text file, the total number of new words and the total length of the new word location codes are calculated and filled into the header information variable of the Chinese textbook new word library architecture to obtain the Chinese textbook new word library header information; each item of information in the text file is filled into the new word information variable of the Chinese textbook new word library architecture to generate a Chinese textbook new word library retrieval file;

[0047] - The Chinese textbook new word guidance information file required for providing a Chinese textbook hard pen writing exercise includes:

[0048] Establishing a Chinese textbook new word guide information file structure, and initializing the header information variable, new word count variable, guide information variable and guide information pointer variable of the Chinese textbook new word guide information file structure according to the Chinese textbook new word library search file;

[0049] Starting from the first location code of the location code information of the new words in the Chinese textbook new words database search file, the new word count variable value is set to 0;

[0050] Extracting the character location code of the current character in the Chinese textbook character library retrieval file, using the character location code to calculate the address pointed to by the guide information pointer in the guide information library file corresponding to the current character, and saving the address pointed to by the guide information pointer and the guide information length for use in copying the character guide information from the guide information library file;

[0051] Calculate the address of the current new word in the Chinese textbook new word guide information file structure where the guide information is stored, and fill the address into the guide information variable;

[0052] Copy the boot information in the boot information library file to the boot information variable of the corresponding new word according to the address pointed to by the saved boot information pointer, and store the boot information length in the boot information pointer variable of the new word;

[0053] The value of the new word count variable is increased by 1 to determine whether it is greater than or equal to the total number of new words. If so, all new words have been processed and the processing is completed; if not, continue to extract the new word area code of the next new word in the Chinese textbook new word library retrieval file, repeat the above steps until the new word count variable is greater than or equal to the total number of new words, and obtain the Chinese textbook new word guidance information file.

[0054] According to a fourth aspect of the present invention, there is provided a database construction system for a hard-pen calligraphy writing practice device for Chinese character writing teaching, comprising:

[0055] A Chinese character library construction module, the module is used to provide a Chinese character library file, the Chinese character library file includes one or more dot matrix character library files containing only selected Chinese characters and a guide information library file for self-guiding error detection of the writing order of the selected characters;

[0056] A new word library search construction module, which is used to provide a Chinese textbook new word library search file required for Chinese textbook hard pen writing practice, and the Chinese textbook new word library search file uses the new word area code to search the text dot matrix required for practice in the dot matrix character library file and the corresponding guide information in the guide information library file;

[0057] A new word guide information construction module, the module is used to provide a Chinese textbook new word guide information file required for Chinese textbook hard pen writing practice, wherein the guide information is copied from the guide information library file to the Chinese textbook new word guide information file according to the new word area code in the Chinese textbook new word library retrieval file one by one;

[0058] A hard pen calligraphy writing exerciser database construction module is used to merge the Chinese textbook new word library retrieval file, the second character library dot matrix file and the Chinese textbook new word guidance information file to generate a Chinese textbook new word retrieval guidance information file as a hard pen calligraphy writing exerciser database file for Chinese new word writing teaching.

[0059] According to a fifth aspect of the present invention, there is provided a self-guided multilingual hard-pen calligraphy trainer system, comprising:

[0060] A touch display module, which is used to provide a touch screen calligraphy practice operation interface and a scalable calligraphy practice area;

[0061] An operation control module, which is used to set operation control information and select required new character dot matrix in a designated area of ​​the touch screen calligraphy practice operation interface;

[0062] A guidance module, which is used to display the selected new word dot matrix and the corresponding guidance information in the guidance information library file in a designated area of ​​the touch screen calligraphy practice operation interface;

[0063] An execution module, the module is used to execute the guidance information and determine whether the executed writing process is accurate according to the guidance information;

[0064] in:

[0065] The dot matrix font library file and the guide information library file are constructed by using the database construction method of the self-guided multilingual hard-pen calligraphy trainer described in any one of the above-mentioned embodiments of the present invention or the database construction system of the self-guided multilingual hard-pen calligraphy trainer described in the above-mentioned embodiments of the present invention.

[0066] Preferably, in the guidance module, according to the corresponding starting point position, passing point position and end point position saved in the guidance information library file, in the initial state, the cursor is placed at the starting position of the first stroke of a character; when passing through the passing point in stroke order, the written trajectory is displayed; when the stroke reaches the end point, the cursor jumps to the starting position of the next stroke and waits for writing.

[0067] Preferably, in the execution module, judging whether the executed writing process is accurate according to the guidance information includes:

[0068] When passing through the current stroke midline position from the starting point position, touch information is obtained to obtain the touch point coordinates;

[0069] The predetermined trajectory points of the current stroke, that is, the position coordinates in the guide information, are called sequentially and compared with the touch point coordinates; if they are the same, the writing process is executed correctly; if they are not the same, the writing process is executed incorrectly.

[0070] Preferably, the above system further includes any one or more of the following:

[0071] - A track clearing module, which is used to clear the writing traces after a set time according to the second-swipe operation control information set in the operation control module; or to clear the writing traces automatically;

[0072] - a counter module, which is used to record the exercise number operation control information set in the operation control module;

[0073] - a timer module, which is used to record the practice time operation control information set in the operation control module;

[0074] - a voice prompt module, which is used to generate a voice prompt library file according to the corresponding starting point position, passing point position and / or end point position stored in the guidance information library file, and to give a voice prompt to the corresponding position point according to the voice prompt library file;

[0075] - a memory module, the module being used to store the operation control information and / or writing results set in the operation control module;

[0076] -Wireless sending module, which is used to send the writing results to other terminals.

[0077] According to a sixth aspect of the present invention, there is provided a practice method implemented by using any one of the self-guided multilingual hard-pen calligraphy practice systems of the present invention, comprising:

[0078] The calligraphy training device is powered on, operation control information is set, the practice characters required for this round of practice are selected, the corresponding new character dot matrix and its guiding information are obtained, the new character dot matrix is ​​scaled according to the scaling ratio and displayed, and the scaled guiding information is calculated to guide the calligraphy trainer to practice calligraphy;

[0079] The cursor stays at the starting point of the first stroke of the current practice character, and when the practitioner passes through the center line of the current stroke from the starting point, touch information is obtained to obtain the touch point coordinates;

[0080] Sequentially call the predetermined track points of the current stroke, that is, the position coordinates in the guide information, and compare them with the touch point coordinates; if they are the same, proceed to the next step; if they are not the same, do not display the writing traces, return to the previous step, and re-acquire the touch information;

[0081] According to the touch information, the touch point is displayed at the touch position, and it is confirmed whether it is the end point of the current stroke; if so, proceed to the next step; if not, return to re-acquire the touch information;

[0082] Confirm whether it is the last stroke of the current practice character; if so, proceed to the next step; if not, move the cursor to the starting point of the next stroke and return to reacquire the touch information;

[0083] Repeat the current practice word practice process to confirm whether the set number of practice times is met; if so, proceed to the next step; if not, clear the previous writing traces and return to regain touch information;

[0084] Confirm whether it is the last practice word in this round of practice; if so, proceed to the next step; if not, display the next practice word, place the cursor at the starting point of the first stroke of the practice word, and repeat the above practice process;

[0085] End this round of practice; select the practice words required for the next round of practice, or end this round of practice.

[0086] According to the seventh aspect of the present invention, there is provided a computer terminal A, comprising a memory, a processor, and a computer program A stored in the memory and executable on the processor, wherein the processor, when executing the computer program A, can be used to execute the database construction method of the self-guided multilingual hard-pen calligraphy trainer described in any one of the above-mentioned aspects of the present invention.

[0087] According to an eighth aspect of the present invention, there is provided a computer-readable storage medium A on which a computer program A is stored. When the computer program A is executed by a processor, it can be used to execute the database construction method of the self-guided multilingual hard pen calligraphy trainer described in any one of the above-mentioned embodiments of the present invention.

[0088] According to the ninth aspect of the present invention, there is provided a computer terminal B, comprising a memory, a processor, and a computer program B stored in the memory and executable on the processor, wherein the processor, when executing the computer program B, can be used to execute the method for constructing a database for a hard pen calligraphy writing practice device as described in any one of the above-mentioned embodiments of the present invention.

[0089] According to the tenth aspect of the present invention, there is provided a computer-readable storage medium B on which a computer program B is stored. When the computer program B is executed by a processor, it can be used to execute the method for constructing a database for a hard pen calligraphy practice device described in any one of the above-mentioned aspects of the present invention.

[0090] According to an eleventh aspect of the present invention, there is provided a writing device with a touch screen, comprising a microcontroller, an on-chip program memory, an off-chip program memory, a computer program C stored in the on-chip program memory and executable on the microcontroller, and a dot matrix font library file and a boot information library file stored in the off-chip program memory and callable by the microcontroller. When the microcontroller executes the computer program C, it can be used to run the exerciser system described in any one of the above-mentioned embodiments of the present invention, or to execute the exercise method described in the above-mentioned embodiments of the present invention.

[0091] According to the twelfth aspect of the present invention, there is provided a computer-readable storage medium C on which a computer program C is stored. When the computer program C is executed by a microcontroller, it can be used to run the exerciser system described in any one of the above-mentioned embodiments of the present invention, or to execute the exercise method described in the above-mentioned embodiments of the present invention.

[0092] Due to the adoption of the above technical solution, the present invention has at least one of the following beneficial effects compared with the prior art:

[0093] The self-guided multilingual hard-pen calligraphy practice system and its database construction method provided by the present invention complete the presetting of practice handwriting and writing order through the cooperation of calligrapher training program and calligrapher, which effectively solves the balance problem between perfection and efficiency in the process of system and product development.

[0094] The self-guided multi-language hard-pen calligraphy practice system and the database construction method provided by the present invention are multi-language and multi-font, so the same set of construction programs can construct different fonts in different languages, and the system and method can be conveniently used to construct calligraphy products that meet different needs.

[0095] The self-guided multilingual hard-pen calligraphy practice system and its database construction method provided by the present invention provide a synchronous zooming function of the character image and the stroke guidance information, which can enable the calligraphy practitioner to adjust the character shape from large to small at different stages, thereby achieving an upgrade in calligraphy practice.

[0096] The self-guided multilingual hard-pen calligraphy trainer system and the database construction method thereof provided by the present invention pre-set the writing order of practice handwriting, thereby simulating the process of guidance by professionals, thereby achieving accurate guidance of the practice process.

[0097] The self-guided multilingual hard-pen calligraphy practice system and the database construction method thereof provided by the present invention can enable a practitioner to practice writing Chinese characters on a touch screen more accurately, thereby realizing a more efficient and accurate electronic practice method. BRIEF DESCRIPTION OF THE DRAWINGS

[0098] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0099] Figure 1 The following is a flowchart of the process of constructing a new Chinese character library (i.e., a dot matrix character library file) in a preferred embodiment of the present invention.

[0100] Figure 2 The figure is a schematic diagram of the operation interface for constructing a guide information library for selecting Chinese characters in a specific application example of the present invention.

[0101] Figure 3 (A1) and (A2) are workflow diagrams for generating a guidance information library in a preferred embodiment of the present invention.

[0102] Figure 4 This is the boot information library file structure in a preferred embodiment of the present invention.

[0103] Figure 5 This is the header information structure of the boot information library in a preferred embodiment of the present invention.

[0104] Figure 6 This is a guide information pointer structure in a preferred embodiment of the present invention.

[0105] Figure 7 This is a guide information structure in a preferred embodiment of the present invention.

[0106] Figure 8 This is the structure of the XxYwSzBm.Dat file, a Chinese character cataloging file for primary and secondary school Chinese textbooks, in a specific application example of the present invention.

[0107] Fig. 9 This is a specific application example of the present invention, that is, the information structure of the word library header of the Chinese textbook for primary and secondary schools.

[0108] Fig.10 The present invention is a specific application example of the self-guided information library structure of new words in Chinese textbooks for primary and secondary schools.

[0109] Fig.11 This is a specific application example of the present invention, a catalog structure array of Chinese textbooks for primary and secondary schools.

[0110] Fig.12 It is an entry structure array in which one lesson occupies one entry in a specific application example of the present invention.

[0111] Fig.13 This is a specific application example of the present invention, a combined data structure of the location codes of new characters in Chinese textbooks for primary and secondary schools.

[0112] Fig.14 This is the header information of the Chinese character library of primary and secondary school Chinese textbooks, a specific application example of the present invention.

[0113] Fig.15 This is a diagram of the operating interface of a writing practice device for primary and secondary school students in a specific application example of the present invention.

[0114] Fig.16 The figure is a hardware structure diagram of a writing practice device for primary and secondary school students in a specific application example of the present invention.

[0115] Fig.17 The present invention is a specific application example of a practice flow chart of a writing practice device for primary and secondary school students.

[0116] Fig.18 A key data flow diagram is designed for a calligraphy practice system in a specific application example of the present invention.

[0117] Fig.19 The present invention is a flowchart of the generation of a Chinese textbook character library retrieval file for a character training device for primary and secondary school students in a specific application example of the present invention. DETAILED DESCRIPTION

[0118] The following is a detailed description of the embodiments of the present invention: This embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation method and a specific operation process are given. It should be pointed out that for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.

[0119] In view of the problem of lack of precise guidance in the calligraphy practice process in the prior art, the embodiments of the present invention provide a self-guided multi-language hard-pen calligraphy practice device technology and a data construction technology for the self-guided multi-language hard-pen calligraphy practice device, which applies touch technology to text writing practice, and realizes an efficient electronic calligraphy practice device with erasure-free and self-guiding functions. The operation is very convenient and user-friendly, and precise guidance of the practice process is achieved by simulating the process of guidance by professionals.

[0120] Specifically:

[0121] An embodiment of the present invention provides a method for constructing a database of a self-guided multilingual hard-pen calligraphy trainer, which may include the following operations:

[0122] S1, constructing one or more dot matrix font files containing only letters or glyphs (text) of a selected language;

[0123] S2, based on the dot matrix font file, generating a guide information library file for self-guiding error detection of the writing order of the selected characters;

[0124] S3, adopts the dot matrix font library file and the guide information library file to jointly construct a database file of a self-guided multi-language hard-pen calligraphy trainer.

[0125] In some preferred implementations of this embodiment, the above S1, constructing one or more dot matrix font files containing only letters or glyphs of the selected language, may further include the following operations:

[0126] S11, selecting the required language and font to form a first character library file; initializing the pointer of the first character library file, the pointer value of the pointer of the first character library character is calculated by the character area code;

[0127] S12, displaying a dot matrix image of the character pointed to by the pointer in the first character library file at a designated position;

[0128] S13, reading the image points of the indicated text at the designated position to form dot matrix data of the text;

[0129] S14, writing the dot matrix data into the second character library initial file;

[0130] S15, updating the pointer of the first character library file to point to the next character;

[0131] S16, repeating the above steps S12 to S14, updating the second character library initial file, generating a second character library file including only text dot matrix data of the required language and font, that is, obtaining a dot matrix character library file.

[0132] In some preferred implementations of this embodiment, in the above S11, the required language and its text font are selected, and the built-in character library in the computer can be used directly. In some preferred implementations of this embodiment, in the above S11, the text pointer is a pointer type variable that can be used to retrieve the required text in the first character library file. The value of the text pointer is the starting address of the text in the first character library file. The position of the text is obtained through the starting address, and finally the position of the dot matrix data of the text can be obtained. The value of the text pointer is calculated using the area code. Taking Chinese characters as an example, the Chinese character area code is located in areas 16 to 87. The pointer value is calculated according to the Chinese character area code = ((area code-16)×94+bit number)×the byte length of a Chinese character dot matrix. After the initial pointer value of the first character library file is obtained, the initial pointer value of the pointer in the second character library file is 0. For other languages ​​and characters, similar calculations can be used, which will not be repeated here.

[0133] In some preferred implementations of this embodiment, the above S2, based on the dot matrix font file, generates a guidance information library file for self-guiding error detection of the writing order of the selected characters, and can further include the following operations:

[0134] S21, providing a boot information base initial structure, and obtaining a boot information base header information located at the head of the boot information base initial structure;

[0135] S22, extracting an untrained character from the dot matrix font file, and initializing a guide information pointer corresponding to the character in the initial structure of the guide information library;

[0136] S23, obtaining the starting point signal of the first stroke of the character according to the stroke writing order to obtain the starting point position; reading the cursor point coordinates of the starting point position and saving them as the starting point position variable;

[0137] S24, moving the cursor along the midline position of the first stroke to obtain a passing point position, and saving the cursor point coordinates of the passing point position as a passing point position variable;

[0138] S25, moving the cursor to the end position of the first stroke, obtaining an end signal, marking the end position; reading the cursor point coordinates of the end position, and saving them as an end position variable;

[0139] S26, following the process of obtaining the starting position to the end position in S23 to S25, until the corresponding position information of each stroke in the character is obtained, generating guidance information for the character writing practice;

[0140] S27, comprehensively evaluating the results of multiple rounds of calligrapher training to obtain optimal guidance information for a Chinese character;

[0141] S28, extract the next untrained text in the dot matrix font file, repeat the above steps until the training is completed, save the generated guidance information to the initial structure of the guidance information library, and update the guidance information library header information in the library to generate a guidance information library file.

[0142] The above S21 to S28 are the calligrapher training process.

[0143] In some preferred implementations of this embodiment, the above S2, generating the guide information library file, can adopt artificial intelligence technology. In this technology, the guide information library file is generated by using calligrapher training.

[0144] In some preferred implementations of this embodiment, the above S21, obtaining a boot information base header information located at the header of the initial architecture of the boot information base, may further include the following operations:

[0145] S211, if it is the first time to generate a boot information library file, then initialize a boot information library header information, write the boot information library header information into the boot information library initial architecture header, and save it as a header information variable;

[0146] S212: If it is not the first time to generate the boot information library file, extract the boot information library header information of the boot information library initial architecture header and save it as a header information variable.

[0147] In some preferred implementations of this embodiment, the above S21, the guide information library header information, may further include: a starting text area code for the next training and a starting position for writing the guide information for the next training.

[0148] In some preferred implementations of this embodiment, the above S22, the guide information pointer, may further include: a guide information starting position and a guide information length.

[0149] In some preferred implementations of this embodiment, the above S26, the guidance information, may further include: track point type, track point X-axis coordinate and track point Y-axis coordinate. Wherein, the track point type may further include: starting point or stroke middle point.

[0150] In some preferred implementations of this embodiment, the above S2 may further include the following operations:

[0151] S28, generating a voice prompt library file according to the corresponding starting point position, passing point position and / or end point position stored in the guide information library file, and using the voice prompt library file as a part of the database file of the self-guided multilingual hard pen calligraphy trainer.

[0152] An embodiment of the present invention provides a database construction system for a self-guided multilingual hard-pen calligraphy trainer, which may include the following modules:

[0153] A bitmap font library construction module, which is used to construct one or more bitmap font library files containing only the text of the selected language;

[0154] A guide information generation module, which generates a guide information library file for self-guiding error detection of the writing order of the selected characters based on the dot matrix character library file;

[0155] The data construction module adopts the dot matrix font library file constructed by the dot matrix font library construction module and the guide information library file generated by the guide information generation module to jointly construct a self-guided data file for multi-language hard pen calligraphy practice.

[0156] It should be noted that the steps in the database construction method of the self-booting multilingual hard-pen calligraphy trainer provided in the previous embodiment can be implemented by using the corresponding modules in the database construction system of the self-booting multilingual hard-pen calligraphy trainer provided in this embodiment. Those skilled in the art can refer to the technical scheme of the database construction method of the self-booting multilingual hard-pen calligraphy trainer to realize the composition of the database construction system of the self-booting multilingual hard-pen calligraphy trainer, that is, the embodiment of the database construction method of the self-booting multilingual hard-pen calligraphy trainer can be understood as a preferred example of constructing the database construction system of the self-booting multilingual hard-pen calligraphy trainer, which will not be elaborated here.

[0157] An embodiment of the present invention provides a computer terminal A, comprising a memory, a processor, and a computer program A stored in the memory and executable on the processor. When the processor executes the computer program A, the processor can be used to execute the database construction method of the self-guided multilingual hard-pen calligraphy trainer of any one of the above-mentioned embodiments of the present invention, or to run the database construction system of the self-guided multilingual hard-pen calligraphy trainer of any one of the above-mentioned embodiments of the present invention.

[0158] Optionally, the memory is used to store programs; the memory may include volatile memory (English: volatile memory), such as random-access memory (English: random-access memory, abbreviated: RAM), such as static random-access memory (English: static random-access memory, abbreviated: SRAM), double data rate synchronous dynamic random access memory (English: Double Data Rate Synchronous Dynamic Random Access Memory, abbreviated: DDR SDRAM), etc.; the memory may also include non-volatile memory (English: non-volatile memory), such as flash memory (English: flash memory). The memory is used to store computer programs (such as applications, functional modules, etc. that implement the above method), computer instructions, etc., and the above computer programs, computer instructions, etc. can be partitioned and stored in one or more memories. And the above computer programs, computer instructions, data, etc. can be called by the processor.

[0159] The above-mentioned computer programs, computer instructions, etc. may be stored in one or more memories in partitions, and the above-mentioned computer programs, computer instructions, data, etc. may be called by a processor.

[0160] The processor is used to execute the computer program stored in the memory to implement the various steps of the method or various modules of the system involved in the above embodiments. For details, please refer to the relevant descriptions in the above method and system embodiments.

[0161] The processor and the memory may be independent structures or integrated structures. When the processor and the memory are independent structures, the memory and the processor may be coupled and connected via a bus.

[0162] An embodiment of the present invention provides a computer-readable storage medium A on which a computer program A is stored. When the computer program A is executed by a processor, it can be used to execute the database construction method of the self-guided multilingual hard-pen calligraphy trainer of any one of the above embodiments of the present invention, or to run the database construction system of the self-guided multilingual hard-pen calligraphy trainer of any one of the above embodiments of the present invention.

[0163] An embodiment of the present invention provides a method for constructing a database of a hard-pen calligraphy writing training device for Chinese character writing teaching, and the method may include the following operations:

[0164] S100, providing a Chinese character library file, the Chinese character library file including one or more dot matrix font files containing only selected Chinese characters and a guide information library file for self-guiding error detection of the writing order of the selected characters;

[0165] S200, providing a Chinese textbook new word library retrieval file required for Chinese textbook hard pen calligraphy practice, the Chinese textbook new word library retrieval file uses new word area code to retrieve the character dot matrix required for practice in the dot matrix character library file and the corresponding guide information in the guide information library file;

[0166] S300, providing a Chinese textbook new word guide information file required for Chinese textbook hard pen calligraphy practice, wherein the guide information is copied from the guide information library file to the Chinese textbook new word guide information file according to the new word area codes in the Chinese textbook new word library search file one by one;

[0167] S400, merging the Chinese textbook new word library search file, the second character library dot matrix file and the Chinese textbook new word guide information file to generate the Chinese textbook new word search guide information file as a hard pen writing practice database file for Chinese new word writing teaching;

[0168] In this embodiment, the Chinese character library file can be constructed by using the database construction method of the self-guided multilingual hard-pen calligraphy trainer or the database construction system of the self-guided multilingual hard-pen calligraphy trainer provided in any one of the above embodiments of the present invention.

[0169] In some preferred implementations of this embodiment, the above S200, providing a Chinese textbook character library search file required for Chinese textbook hard pen writing practice, may further include the following operations:

[0170] S201, establish a Chinese textbook new word library architecture, and initialize the header information variable and new word information variable of the Chinese textbook new word library architecture;

[0171] S202, according to the Chinese textbook catalog sequence, the catalog information, the item information and the new word area code information are arranged to form a text file; wherein the catalog information includes the grade, semester, word category, lesson number and starting item number set in sequence; the item information includes: the lesson number, the starting position of the new word of a lesson in the new word area code information and the length of the new word area code of a lesson; the new word area code information is defined as: both a word format area code and a byte format area code;

[0172] S203, calculate the total number of new characters and the total length of the new character location codes, and fill them in the header information variable of the Chinese textbook new character library structure to obtain the header information of the Chinese textbook new character library; fill each information in the text file in the new character information variable of the Chinese textbook new character library structure to generate a Chinese textbook new character library retrieval file.

[0173] In some preferred implementations of this embodiment, the above S300, providing a Chinese textbook new word guide information file required for Chinese textbook hard pen writing practice, may further include the following operations:

[0174] S301, establish a Chinese textbook new word guide information file structure, and initialize the header information variable, new word count variable, guide information variable and guide information pointer variable of the Chinese textbook new word guide information file structure according to the Chinese textbook new word library search file;

[0175] S302, starting from the first location code of the location code information of the new words in the Chinese textbook new words database search file, the new word count variable value is set to 0;

[0176] S303, extracting the character location code of the current character in the Chinese textbook character library retrieval file, using the character location code to calculate the address pointed to by the guide information pointer in the guide information library file corresponding to the current character, and saving the address pointed to by the guide information pointer and the guide information length for use in copying the character guide information from the guide information library file;

[0177] S304, calculating the address of the current new word in the Chinese textbook new word guide information file structure where the guide information is stored, and filling the address into the guide information variable;

[0178] S305, copying the boot information in the boot information library file to the boot information variable of the corresponding new word according to the address pointed to by the saved boot information pointer, and storing the boot information length in the boot information pointer variable of the new word;

[0179] S306, add 1 to the value of the new word count variable to determine whether it is greater than or equal to the total number of new words. If so, all new words have been processed and the processing is completed; if not, continue to extract the new word area code of the next new word in the Chinese textbook new word library retrieval file, and repeat the above steps until the new word count variable is greater than or equal to the total number of new words, and obtain the Chinese textbook new word guidance information file.

[0180] An embodiment of the present invention provides a database construction system for a hard-pen calligraphy writing trainer for Chinese character writing teaching, and the system may include the following modules:

[0181] A Chinese character library construction module, the module is used to provide a Chinese character library file, the Chinese character library file includes one or more dot matrix character library files containing only selected Chinese characters and a guide information library file for self-guiding error detection of the writing order of the selected characters;

[0182] A new word library retrieval construction module is used to provide a Chinese textbook new word library retrieval file required for Chinese textbook hard pen writing practice, and the Chinese textbook new word library retrieval file uses the new word area code to retrieve the text dot matrix required for practice in the dot matrix character library file and the corresponding guide information in the guide information library file;

[0183] A new word guide information construction module, the module is used to provide a Chinese textbook new word guide information file required for Chinese textbook hard pen writing practice, wherein the guide information is copied from the guide information library file to the Chinese textbook new word guide information file according to the new word area code in the Chinese textbook new word library retrieval file one by one;

[0184] A hard pen calligraphy practice database construction module is used to merge the Chinese textbook new word library retrieval file, the second character library dot matrix file and the Chinese textbook new word guidance information file to generate the Chinese textbook new word retrieval guidance information file as a hard pen calligraphy practice database file for Chinese new word writing teaching.

[0185] In this embodiment, the Chinese character library construction module can use the database construction method of the self-guided multilingual hard-pen calligraphy trainer or the database construction system of the self-guided multilingual hard-pen calligraphy trainer in any of the above embodiments of the present invention to construct the Chinese character library file.

[0186] It should be noted that the steps in the method for constructing a database for a hard-pen calligraphy practice device provided in the above-mentioned embodiment of the present invention can be implemented by using the corresponding modules in the system for constructing a database for a hard-pen calligraphy practice device provided in the embodiment. Those skilled in the art can refer to the technical scheme of the method for constructing a database for a hard-pen calligraphy practice device to realize the composition of the system for constructing a database for a hard-pen calligraphy practice device. That is, the embodiment in the method for constructing a database for a hard-pen calligraphy practice device can be understood as a preferred example for constructing a system for constructing a database for a hard-pen calligraphy practice device, which will not be elaborated herein.

[0187] An embodiment of the present invention provides a computer terminal B, including a memory, a processor, and a computer program B stored in the memory and executable on the processor. When the processor executes the computer program B, it can be used to execute the method for constructing a database for a hard-pen calligraphy writing practice device according to any one of the above-mentioned embodiments of the present invention, or to run the system for constructing a database for a hard-pen calligraphy writing practice device according to any one of the above-mentioned embodiments of the present invention.

[0188] An embodiment of the present invention provides a computer-readable storage medium B, on which a computer program B is stored. When the computer program B is executed by a processor, it can be used to execute the hard pen calligraphy writing practice device database construction method of any one of the above embodiments of the present invention, or to run the hard pen calligraphy writing practice device database construction system of any one of the above embodiments of the present invention.

[0189] An embodiment of the present invention provides a self-guided multilingual hard-pen calligraphy practice system, which may include the following modules:

[0190] A touch display module, which is used to provide a touch screen calligraphy practice operation interface and a scalable calligraphy practice area;

[0191] An operation control module, which is used to set operation control information and select required dot matrix font files in a designated area of ​​the touch screen calligraphy practice operation interface;

[0192] A guide module, which is used to display the selected dot matrix font file and the corresponding guide information in the guide information library file in a designated area of ​​the touch screen calligraphy practice operation interface;

[0193] An execution module, which is used to execute the guidance information and determine whether the executed writing process is accurate according to the guidance information;

[0194] in:

[0195] The text dot matrix and the guide information are constructed by using the database construction method of the self-guided multilingual hard-pen calligraphy trainer in any one of the above embodiments of the present invention or the database construction method of the hard-pen calligraphy writing trainer in any one of the above embodiments of the present invention.

[0196] In this embodiment, by displaying the practice characters in a scalable manner, compared with text of a fixed size alone, the font display size can be selected according to demand, thereby obtaining a better practice process and practice effect.

[0197] In some preferred implementations of this embodiment, in the guidance module, according to the corresponding starting position, passing point position and end point position saved in the guidance information library file, in the initial state, the cursor stays at the starting position of the first stroke of the current character; when passing the passing point in the order of the strokes, the written trajectory is displayed; when the stroke reaches the end point, the cursor jumps to the starting position of the next stroke and waits for writing.

[0198] In some preferred implementations of this embodiment, in the execution module, judging whether the executed writing process is accurate according to the guidance information may further include the following operations:

[0199] When passing through the center line of the current stroke from the starting point, the touch information is obtained to obtain the touch point coordinates;

[0200] The predetermined trajectory points of the current stroke, that is, the position coordinates in the guide information, are called sequentially and compared with the touch point coordinates; if they are the same, the writing process is executed correctly; if they are not the same, the writing process is executed incorrectly.

[0201] In some preferred implementations of this embodiment, the above system may further include any one or more of the following modules:

[0202] - Track clearing module, which is used to clear the writing traces after a set time according to the second-swipe operation control information set in the operation control module; or, clear the writing traces by itself;

[0203] - Counter module, which is used to record the exercise number operation control information set in the operation control module;

[0204] - a timer module, which is used to record the practice time operation control information set in the operation control module;

[0205] - a voice prompt module, which is used to generate a voice prompt library file according to the corresponding starting point position, passing point position and / or end point position stored in the guidance information library file, and to give voice prompts to the corresponding position points according to the voice prompt library file;

[0206] - a memory module, the module being used to store the operation control information and / or writing results set in the operation control module;

[0207] -Wireless sending module, which is used to send the writing results to other terminals.

[0208] An embodiment of the present invention provides a practice method implemented by using any one of the self-guided multilingual hard-pen calligraphy practice system of the above embodiments of the present invention, and the method may include the following operations:

[0209] M1, the calligraphy practice device is powered on, the operation control information is set, and the practice characters required for this round of practice are selected, the corresponding new character dot matrix and its guiding information are obtained, the new character dot matrix is ​​scaled according to the scaling ratio and displayed, and the scaled guiding information is calculated to guide the calligraphy practicer to practice calligraphy;

[0210] M2, the cursor stays at the starting point of the first stroke of the current practice character. When the practitioner passes through the center line of the current stroke from the starting point, touch information is obtained to obtain the touch point coordinates;

[0211] M3, sequentially call the predetermined track points of the current stroke, that is, the position coordinates in the guide information, and compare them with the touch point coordinates; if they are the same, proceed to the next step; if they are not the same, do not display the writing traces, return to the previous step, and re-acquire the touch information;

[0212] M4, according to the touch information, display the touch point at the touch position, and confirm whether it is the end point of the current stroke; if so, proceed to the next step; if not, return to re-acquire the touch information;

[0213] M5, confirm whether it is the last stroke of the current practice character; if so, proceed to the next step; if not, move the cursor to the starting position of the next stroke and return to re-acquire the touch information;

[0214] M6, repeat the practice process of the current practice character to confirm whether the set practice times are met; if yes, proceed to the next step; if no, clear the previous writing traces and return to re-obtain the touch information;

[0215] M7, confirm whether it is the last practice word in this round of practice; if so, proceed to the next step; if not, display the next practice word, place the cursor at the starting point of the first stroke of the practice word, and repeat the above practice process;

[0216] M8, end this round of practice; select the practice words required for the next round of practice, or end this round of practice.

[0217] It should be noted that the steps in the exercise method provided by the present invention can be implemented by using corresponding modules, devices, units, etc. in the exerciser system. Those skilled in the art can refer to the technical solution of the exerciser system to implement the step flow of the exercise method, that is, the embodiments in the exerciser system can be understood as preferred examples for implementing the exercise method, which will not be elaborated here.

[0218] One embodiment of the present invention provides a writing device with a touch screen, including a microcontroller, an on-chip program memory, an off-chip program or data memory, a computer program C stored in the on-chip program memory and executable on the microcontroller, and a dot matrix font library file and a boot information library file stored in the off-chip program memory and callable by the microcontroller. When the microcontroller executes the computer program C, it can be used to run the exerciser system of any one of the above-mentioned embodiments of the present invention, or execute the exercise method of any one of the above-mentioned embodiments of the present invention.

[0219] Optionally, the on-chip program memory and the off-chip program memory are used to store computer program B and data; the program memory may include a non-volatile memory (English: non-volatile memory), such as a flash memory (English: flash memory). The memory is used to store computer programs (such as applications, functional modules, etc. that implement the above method), computer instructions, etc., and the above computer programs, computer instructions, etc. can be partitioned and stored in one or more memories. And the above computer programs, computer instructions, data, etc. can be called by the processor.

[0220] The above-mentioned computer programs, computer instructions, etc. may be stored in one or more memories in partitions, and the above-mentioned computer programs, computer instructions, data, etc. may be called by a processor.

[0221] The microcontroller is used to execute the computer program stored in the memory to implement the various steps of the method or various modules of the system involved in the above embodiments. For details, please refer to the relevant descriptions in the above method and system embodiments.

[0222] The microcontroller and the memory may be independent structures or integrated structures. When the microcontroller and the memory are independent structures, the memory and the microcontroller may be connected via bus coupling.

[0223] One embodiment of the present invention provides a computer-readable storage medium C on which a computer program C is stored. When the computer program C is executed by a microcontroller, it can be used to run the exerciser system of any one of the above embodiments of the present invention, or to execute the exercise method of any one of the above embodiments of the present invention.

[0224] The technical solutions provided by the above-mentioned multiple embodiments of the present invention are further described in detail below in conjunction with a specific application example and the accompanying drawings.

[0225] At present, the calligraphy teaching in primary school Chinese uses the calligraphy practice book provided in the textbook. There is a disadvantage in students practicing calligraphy on paper, that is, it is difficult to erase when they are inevitably wrong or dissatisfied, and the practice efficiency is low. In addition, during the practice process, there is a lack of teacher guidance, and accurate practice results may not be obtained. In view of the above problems, this specific application example, combined with the primary school Chinese textbook, provides a touch screen hard pen calligraphy practice device with self-guided error judgment ability. The practice device can achieve erasure-free, improve practice efficiency, and can practice according to the stroke sequence preset by calligrapher training to improve practice effect. In addition, the practice statistics can be sent to the teacher's computer through the wireless sending module, which is convenient for the teacher to view and improve the degree of electronicization of calligraphy teaching.

[0226] The specific application example provides a method for constructing a database for a hard-pen calligraphy practice device for teaching Chinese new character writing in primary schools. First, a computer terminal and a computer program running on the computer terminal are used to generate a new Chinese character library and a guidance information library and a voice prompt library containing stroke order and stroke trajectory data for each Chinese character in the new Chinese character library, which can realize self-guided error judgment; secondly, a microcontroller, a touch screen, a memory chip and other components are used to construct a hard-pen calligraphy practice device for primary school students that can be actually used and has a self-guided error judgment function.

[0227] Furthermore, in this specific application example, first, one or more dot matrix font files containing only letters or glyphs of a selected language are constructed on a personal computer. A program for generating a Chinese character dot matrix font can be designed using C language for construction; then, based on the dot matrix font file, a guidance information library file required for self-guided error correction and calligraphy practice is generated. The method for generating the guidance information library file may include: calligrapher training, algorithms, manual work or a combination thereof; finally, the above-mentioned dot matrix font file and guidance information library file are used as a database to construct an electronic calligraphy practice product with a self-guided error correction function for teaching Chinese new characters to be written in primary schools.

[0228] Specifically, the database construction method of the self-guided multilingual hard-pen calligraphy trainer adopted in this specific application example mainly includes the following steps:

[0229] 1. Build one or more bitmap font files that contain only the letters or glyphs of the selected language.

[0230] p1100, dot matrix font file transformation process, such as Figure 1 As shown, including the following specific contents:

[0231] p1101, select the required text font, such as Chinese font; make the font file pointer point to the first Chinese font library of the font in the computer, which is called the old Chinese font file pointer initialization, and the pointer value is calculated by the Chinese character area code;

[0232] p1102, displays the dot matrix image of the Chinese character pointed by the pointer in the font library at the specified position on the computer screen;

[0233] p1103, using screen reading technology to read the image points of the Chinese character at the above specified position, forming data, and storing it in the memory, which is the dot matrix data of a Chinese character;

[0234] p1104, write dot matrix data into new font file:

[0235] p1105, update the old Chinese character library file pointer to the next Chinese character;

[0236] p1106, repeat p1102~p1105 to generate a new font file NewHzLib.Dat that only includes Chinese character dot matrix.

[0237] Some examples of the procedures involved in the above process of building a dot matrix font library are as follows:

[0238]

[0239]

[0240]

[0241] 2. Based on the dot matrix font library file, a guidance information library file is generated for self-guiding error detection of the writing order of the selected characters.

[0242] p1200, in this specific application example, the calligraphy training method can be adopted, including the following specific contents:

[0243] p1201, training process, such as Figure 3 As shown in (A1) and (A2);

[0244] P1202, the boot information library file structure generated by the training process is as follows Figure 4 As shown, it includes: the boot information library header information, the boot information pointer of each Chinese character and the boot information, respectively as shown in Figure 5 , Figure 6 and Figure 7 As shown;

[0245] p1203, clear the computer screen and display the operation interface of the training process on the computer screen, such as Figure 2 As shown;

[0246] p1204, the first time P1204 is run, the boot information base header information is initialized and the header of the boot information base architecture is written;

[0247] p1205, not the first time running P1205, copy the boot information library header information to the corresponding program variables;

[0248] p1206, display an untrained Chinese character in the new Chinese character library in a specified area on the computer screen, see Figure 2 ;

[0249] P1207, the trainer sends a stroke starting point signal at the stroke starting point according to the stroke writing order;

[0250] P1208, the program receives the signal, reads and displays the cursor point, and enters the coordinates into the corresponding variable area of ​​the program;

[0251] P1209, operate the mouse to move the cursor along the stroke centerline, and record the passed coordinate points into the corresponding weight change area of ​​the program;

[0252] P1210, when the mouse is about to reach the end of the stroke, the trainer sends a stroke end signal;

[0253] P1211, the program receives the signal, marks the end point of the stroke, displays the end point and records the cursor position in the corresponding variable area;

[0254] P1212, repeat P1207 to P1211 for each stroke of the Chinese character on the screen;

[0255] P1213, after repeating p1206 to P1211 for each stroke of the Chinese character on the screen, click the "end a Chinese character training operation" button on the screen to generate a "guidance information" for Chinese character writing practice, and update the initial next Chinese character guidance information pointer;

[0256] P1214, displays the next untrained Chinese character in the new Chinese character library, and the program waits for the operator to repeat the actions of P1207 to P1212;

[0257] P1215, if the operator chooses to end this operation, he can click the "Save End" button to save the generated data to the Chinese character guide information library, and update the guide header information in the library for use in the next training, generate the Chinese character library Chinese character practice guide information file HzLxYdXx.Dat, and end the operation; otherwise, repeat p1206~P1214.

[0258] Some examples of the procedures involved in the above training process are as follows:

[0259]

[0260]

[0261]

[0262] 3. Using the above-mentioned dot matrix font library files and guide information library files, a hard pen writing practice database is constructed for teaching Chinese new characters writing in primary schools.

[0263] (1) Generating Chinese character library retrieval data and structure required for developing a Chinese character writing exerciser for a primary school Chinese textbook on a personal computer, including the following steps:

[0264] The text file XxYwSzBm.Dat, which arranges the new words in the primary school Chinese textbook by grade, semester, word category, and course number, is in the following format: Figure 8 As shown;

[0265] The above text file is constructed into a Chinese character library retrieval file that can be retrieved by grade, semester, character type, course number, and new character area code, that is, the primary school Chinese textbook new character retrieval file JsYwSzLib.Dat, with the following structure: Fig. 9 As shown;

[0266] p1301, the data variables used are: primary school Chinese textbook catalog data, entry data (one lesson one entry) and new word location code structure, such as Fig.11 , Fig.12 and Fig.13 As shown, the process is as Fig.19 As shown;

[0267] p1302, when the program reads in a catalog line (including grade, semester, and word category), it disassembles the catalog line, fills in the grade, semester, and word category of the catalog structure, and initializes the number of courses and the starting entry number;

[0268] p1303, the program reads in the class number and the new character location code line of the class, disassembles the class number and new character location code, fills the new character location code of the class into the new character location code area, fills the class number and new character location code at the starting position of the new character location code area into the entry of the class, counts the number of new characters, and when a line is disassembled, fills the length of the class location code into the entry of the class;

[0269] p1304, repeat p1302-p1303 until the text file is arranged, calculate the total number of new words, the total length of the new word area code, and fill in the new word library search file header information;

[0270] p1305, write the data generated in the above steps into the primary school Chinese textbook new word library retrieval file JsYwSzLib.Dat in the order of new word library retrieval file header information, catalog structure array, item array and new word area code array;

[0271] (2) Generating a boot information library file with self-boot information required for developing a writing exercise device for elementary school students' hard-pen calligraphy on a personal computer, including the following steps:

[0272] p1306, initialize and establish an initial structure file XxYwSzYdXx.Dat of the information base of the Chinese textbook new words, and its structure is as follows Fig.10 As shown, the boot information library header information format is as follows Figure 5 As shown, the boot information pointer format is as follows Figure 6 As shown, the boot information format is as follows Figure 7 As shown;

[0273] p1307, copy the guidance information from the Chinese character library training guidance information file HzLxYdXx.Dat to the initial structure file XxYwSzYdXx.Dat of the character guidance information library according to the character location code in the primary school Chinese textbook character library search file. The steps are as follows:

[0274] p1308, initialize and establish an initial structure file XxYwSzYdXx.Dat of the primary school Chinese textbook new word guide information library, and initialize a guide information library header information variable in the program, the format is as follows Fig.14 As shown; initialize a counting variable for processing new words in a primary school Chinese textbook;

[0275] p1309, starting from the first position code of the new word position code array in the primary school Chinese textbook new word search file JsYwSzLib.Dat, the new word count variable is initialized to 0;

[0276] p1310, using the area code to calculate the address pointed to by the guide information pointer in the Chinese character library training guide information file HzLxYdXx.Dat corresponding to the new word, and save the address and the guide information length for later use;

[0277] p1311, calculate the address where the current word's own guidance information is stored in the initial structure file XxYwSzYdXx.Dat of the word guidance information library, and fill the address into its own guidance information structure variable;

[0278] p1312, uses the boot information address calculated according to p1310 to copy the boot information in HzLxYdXx.Dat to its own boot information, and stores the information length in its own boot information pointer structure;

[0279] p1313, add 1 to the count variable value of the new word, and check whether it is greater than the total number of new words, that is, whether all new words have been processed? If so, go to p1314; if not, take out the new word area code of the next new word in the primary school Chinese textbook new word search file JsYwSzLib.Dat, and repeat p1310~p1312;

[0280] p1314, the processing is finished, the processing result is saved, the initial structure file XxYwSzYdXx.Dat of the new word guide information library is used as the guide information library file, and the file is closed;

[0281] p1315, sequentially merge the primary school Chinese textbook new word retrieval file JsYwSzLib.Dat and the new word guide information library initial structure file XxYwSzYdXx.Dat into the primary school Chinese textbook new word retrieval guide information file XxYwSzJsYd.Dat, which is used as the exerciser database file for use in the development of primary school students' hard pen writing exercisers based on electronic components such as touch screens, microcontrollers, and wireless transmission chips.

[0282] like Fig.18 The figure shows an information flow diagram for constructing hard-tipped pen writing practice data for teaching Chinese new characters to be written in primary schools.

[0283] (3) Constructing a hard-pen calligraphy practice system for primary school students, including:

[0284] A flash memory chip written with a new Chinese character dot matrix font file NewHzLib.Dat and a primary school Chinese textbook new word search guide information library file XxYwSzJsYd.Dat;

[0285] A simple push-button exercise touch screen, such as Fig.15 As shown;

[0286] A processing program that receives the operator's manipulation actions, the process is as follows Fig.17 As shown and explained below:

[0287] p1316, once the calligraphy machine is powered on, the startup program will be displayed on the touch screen as follows Fig.15 The same button as shown is used to switch grades, semesters, character categories, and course numbers. When the operator presses it with a stylus, it changes color, indicating that the system has allowed the switching stage; at this time, the operator only needs to press the up and down arrow buttons on the right side of the touch screen with the stylus to change the size of the numbers under the grade, semester, character category, and course number, so that the system calls out the first new character of the lesson to be practiced and displays it in the center of the touch screen for the calligrapher to practice;

[0288] p1317, after starting up the computer, if you want to practice calligraphy, you must first use the stylus to press the "Calligraphy" button on the top right of the touch screen to make the background color of the button turn green, indicating that the system has entered the stage of allowing calligraphy practice. At this time, you can make other settings;

[0289] P1318, which is called by the calligrapher pressing the "Number of Times" button, is used to set the number of times the calligrapher practices a new word. The number of times can be increased or decreased by pressing the up and down arrow buttons;

[0290] P13190, P13190 is called by the practitioner pressing the "seconds refresh" button, and is used to set the number of seconds to wait after writing a new character before clearing the practice track, so as to wait for the practitioner to write the second, third, ... times;

[0291] P13191, P13191 The calligrapher presses the "zoom ratio" button to set the size of the displayed characters;

[0292] P1320, P1320 is called after the calligraphy practitioner presses the "OK" button. It is responsible for recording the practitioner's settings into memory for subsequent use by the program.

[0293] In a specific application case, the external flash memory of the calligraphy practice device also stores the self-booting information of each new word, and the internal flash of the calligraphy practice device control chip contains the calligraphy practice control program, and its process is as follows: Fig.17 As shown;

[0294] P1321, when the practitioner completes various settings on the touch screen and presses the confirmation button, the program records the setting information and initializes a current word counter;

[0295] P1322, P1322 calls out the new word required by the practitioner according to the current new word counter, reads the guiding information of the new word from the flash memory, stops the cursor at the first point of the first stroke of the new word, and instructs the practitioner to start practicing from this position;

[0296] p1323, when the calligraphy practitioner writes from the current point of the current character along the stroke centerline, p1323 receives the touch position information, i.e., the touch point coordinates;

[0297] p1324, sequentially call the predetermined trajectory points of the current stroke, that is, compare the stroke guide information with the touch point coordinates. If they are the same, go to the next step P1325. If not, the system does not display it and goes to P1323 to receive the pressing information again;

[0298] P1325, P1325 displays the touch point at the touch screen stroke position and checks whether it is the end point of the current stroke. If so, go to the next step P1326; if not, go to P1323 to receive the pressing information again;

[0299] P1326, check whether it is the last stroke of the current character, if yes, go to the next step P1327; if not, move the cursor to the starting point of the next stroke and go to P1323;

[0300] P1327, end the current number of times of practicing the current new word, calculate whether the number of times of practicing the word has reached the preset value, if not, erase the previous practice track and go to p1323; if it has reached the preset number of times, go to the next step P1328;

[0301] P1328, the program checks whether it is the last new word in the current practice course. If so, it goes to the next step p1329; if not, it displays the next new word in the current course on the screen and stops the cursor at the starting point of the first stroke of the new word, and goes to p1323;

[0302] P1329, if the calligraphy learner wants to practice other lessons, he can reset the buttons on the screen, call out the required new words, and enter another lesson of new words practice; if not, the current calligraphy practice ends;

[0303] In a specific application case, the hard pen writing device based on the touch device is implemented by the technical solution involved in the above specific application example, and its hardware structure is as follows: Fig.16 As shown, including:

[0304] A microcontroller;

[0305] The on-chip program memory stores programs that can execute touch screen button commands and programs that process the track points of new characters written by the calligraphy learner with a stylus pen;

[0306] Its off-chip memory stores the cataloging data of new words in primary school Chinese textbooks, new words entry data in texts, new words library area code data, new words library header information; new Chinese character library; new words writing practice "self-guided information" files, voice prompt information files;

[0307] It can be seen from the above specific application examples that the technical solution provided by the above embodiments of the present invention, when applied to primary school students learning to write with a hard pen, can provide self-guided error judgment based on a touch screen, and is easy to operate, which can effectively improve students' efficiency and interest in practicing calligraphy. Since the product realized by the above technical solution is intuitive and easy to use, it can be widely used in calligraphy exercises in primary school Chinese teaching, and can improve students' overall writing level as a whole.

[0308] The self-guided multilingual hard-pen calligraphy practice device system and its database construction method and system provided by the above-mentioned embodiment of the present invention design a character library transformation program and a new character library generated by it, a program for generating "guidance information" required for guiding and judging errors in hard-pen calligraphy writing practice, namely, a calligrapher training program and a Chinese character guidance information library for the new character library generated by it; design a program for making the new characters in the primary school Chinese textbook into a file in the format used by the student calligraphy practice device and the new character library generated; design a program for generating "guidance information" required for new character practice and the new character guidance information library generated; a calligraphy practice program installed on the student calligraphy practice device and the character library, text new character library, and guidance information library required by it. This program first provides a touch screen calligraphy practice operation interface, and the left side of the interface is Operation buttons are placed on the sides and right sides. The buttons on the left side and the up and down arrow buttons on the right side are used to switch grades, semesters, character types, and class numbers. The buttons on the right side are used to start and stop practice, set the number of times each character is practiced, and the pause time after each character practice, etc. When practicing calligraphy, the calligraphy practice program first displays the new character to be practiced, and automatically stops the cursor at the starting position of each stroke according to the stroke order of the new character, waiting for the practitioner to write. Only when the practitioner writes in the middle of the displayed strokes according to the stroke order, the practice program will display the written trajectory, thus realizing the "erasure-free" function. When the practitioner writes to the end of a stroke, the program will automatically jump the cursor to the starting position of the next stroke and wait for writing, thus realizing the self-guidance function, and the operation is very convenient and user-friendly.

[0309] All matters not covered in the above embodiments of the present invention are well known in the art.

[0310] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art may make various modifications or variations within the scope of the claims, which do not affect the essence of the present invention.

Claims

1. A method for constructing a database of a self-guided multilingual hard-pen calligraphy trainer, characterized in that: include: Construct one or more bitmap font files containing only letters or glyphs of the selected language; Based on the dot matrix font library file, a guide information library file is generated for self-guiding error detection of the writing order of the selected characters; The dot matrix character library file and the guide information library file are used to jointly construct a database file of a self-guided multilingual hard-pen calligraphy trainer.

2. The method for constructing a database of a self-guided multilingual hard-pen calligraphy trainer according to claim 1, characterized in that: The step of constructing one or more dot matrix font files containing only letters or glyphs of the selected language comprises: Select the required language and font to form a first character library file; initialize the pointer of the first character library file, the pointer value of the pointer of the first character library character is calculated by the character area code; Displaying a dot matrix image of the text pointed to by the pointer in the first character library file at a designated position; Reading the image points of the indicated text at the designated position to form dot matrix data of the text; Writing the dot matrix data into the second character library initial file; Update the pointer of the first character library file to point to the next character; Repeat the second to fourth steps to update the second character library initial file, generate a second character library file that only includes text dot matrix data of the required language and font, and obtain a dot matrix character library file.

3. The method for constructing a database of a self-guided multilingual hard-pen calligraphy trainer according to claim 1, characterized in that: Based on the dot matrix font library file, a guide information library file is generated for self-guiding error detection of the writing order of the selected characters, including: Providing a boot information base initial structure, and obtaining boot information base header information located at the head of the boot information base initial structure; Extracting an untrained character from the dot matrix font file, and initializing a guide information pointer corresponding to the character in the guide information library initial structure; According to the stroke writing order, the starting point signal of the first stroke of the character is obtained to obtain the starting point position; the cursor point coordinates of the starting point position are read and saved as the starting point position variable; Move the cursor along the midline position of the first stroke to obtain a passing point position, and save the cursor point coordinates of the passing point position as a passing point position variable; Move the cursor to the end point of the first stroke, obtain an end point signal, and mark the end point; read the cursor point coordinates of the end point and save them as an end point position variable; According to the above process of obtaining the starting position to the end position, until the corresponding position information of each stroke in the character is obtained, the guiding information of the character writing practice is generated; Extract the next untrained text in the dot matrix font file, repeat the above steps until the training is completed, save the generated guide information to the initial structure of the guide information library, and update the guide information library header information in the library to generate a guide information library file.

4. The method for constructing a database of a self-guided multilingual hard-pen calligraphy trainer according to claim 3, characterized in that: Obtaining a boot information base header information located at the header of the boot information base initial structure, including: If it is the first time to generate a boot information library file, then initialize a boot information library header information, write the boot information library header information into the boot information library initial architecture header, and save it as a header information variable; If it is not the first time to generate the boot information library file, the boot information library header information of the boot information library initial architecture header is extracted and saved as a header information variable.

5. The database construction method of the self-guided multilingual hard-pen calligraphy trainer according to claim 3, further comprising any one or more of the following: -The boot information base header information includes: The starting text area code for the next training and the starting position for writing the guide information for the next training; - the guide information pointer includes: the starting position of the guide information and the length of the guide information; - the guidance information includes: the track point type, the track point X-axis coordinate and the track point Y-axis coordinate; -Generate a voice prompt library file according to the corresponding starting point position, passing point position and / or end point position stored in the guide information library file, and use the voice prompt library file as a part of the database file of the self-guided multilingual hard pen calligraphy trainer.

6. A database construction system for a self-guided multilingual hard-pen calligraphy practice device, characterized in that: include: A bitmap font library construction module, which is used to construct one or more bitmap font library files containing only the text of the selected language; A guide information generation module, which generates a guide information library file for self-guiding error detection of the writing order of the selected characters based on the dot matrix font library file; The data construction module adopts the dot matrix font library file constructed by the dot matrix font library construction module and the guide information library file generated by the guide information generation module to jointly construct a self-guiding data file for multilingual hard pen calligraphy practice.

7. A method for constructing a database of a hard-pen calligraphy practice device for Chinese character writing teaching, characterized in that: include: Providing a Chinese character library file, the Chinese character library file includes one or more dot matrix character library files containing only selected Chinese characters and a guide information library file for self-guiding error judgment on the writing order of the selected characters; A Chinese textbook character library retrieval file required for Chinese textbook hard pen writing practice is provided, wherein the Chinese textbook character library retrieval file uses character area codes to retrieve the character dot matrix required for practice in the dot matrix character library file and the corresponding guide information in the guide information library file; Providing a Chinese textbook new word guide information file required for Chinese textbook hard pen writing practice, wherein the guide information is copied from the guide information library file to the Chinese textbook new word guide information file according to the new word area code in the Chinese textbook new word library search file one by one; The Chinese textbook new word library retrieval file, the second character library dot matrix file and the Chinese textbook new word guide information file are combined to generate a Chinese textbook new word retrieval guide information file as a hard pen writing practice database file for Chinese new word writing teaching.

8. The method for constructing a database of a hard-pen calligraphy practice device for Chinese character writing teaching according to claim 7, characterized in that: Also includes any one or more of the following: - The Chinese textbook character library search file required for providing a Chinese textbook hard pen writing exercise includes: Establish a Chinese textbook word library structure, and initialize the header information variables and word information variables of the Chinese textbook word library structure; According to the catalog order of the Chinese textbook, the catalog information, the item information and the new word area code information are arranged to form a text file; wherein the catalog information includes the grade, semester, word category, lesson number and starting item number which are arranged in sequence; the item information includes: the lesson number, the starting position of the new word of a lesson in the new word area code information and the length of the new word area code of a lesson; the new word area code information is defined as: both a word format area code and a byte format area code; When processing a text file, the total number of new words and the total length of the new word location codes are calculated and filled into the header information variable of the Chinese textbook new word library architecture to obtain the Chinese textbook new word library header information; each item of information in the text file is filled into the new word information variable of the Chinese textbook new word library architecture to generate a Chinese textbook new word library retrieval file; - The Chinese textbook new word guidance information file required for providing a Chinese textbook hard pen writing exercise includes: Establishing a Chinese textbook new word guide information file structure, and initializing the header information variable, new word count variable, guide information variable and guide information pointer variable of the Chinese textbook new word guide information file structure according to the Chinese textbook new word library search file; Starting from the first location code of the location code information of the new words in the Chinese textbook new words database search file, the new word count variable value is set to 0; Extracting the character location code of the current character in the Chinese textbook character library retrieval file, using the character location code to calculate the address pointed to by the guide information pointer in the guide information library file corresponding to the current character, and saving the address pointed to by the guide information pointer and the guide information length for use in copying the character guide information from the guide information library file; Calculate the address of the current new word in the Chinese textbook new word guide information file structure where the guide information is stored, and fill the address into the guide information variable; Copy the boot information in the boot information library file to the boot information variable of the corresponding new word according to the address pointed to by the saved boot information pointer, and store the boot information length in the boot information pointer variable of the new word; The value of the new word count variable is increased by 1 to determine whether it is greater than or equal to the total number of new words. If so, all new words have been processed and the processing is completed; if not, continue to extract the new word area code of the next new word in the Chinese textbook new word library retrieval file, repeat the above steps until the new word count variable is greater than or equal to the total number of new words, and obtain the Chinese textbook new word guidance information file.

9. A database construction system for hard pen writing practice for Chinese character writing teaching, characterized in that: include: A Chinese character library construction module, the module is used to provide a Chinese character library file, the Chinese character library file includes one or more dot matrix character library files containing only selected Chinese characters and a guide information library file for self-guiding error detection of the writing order of the selected characters; A new word library search construction module, which is used to provide a Chinese textbook new word library search file required for Chinese textbook hard pen writing practice, and the Chinese textbook new word library search file uses the new word area code to search the text dot matrix required for practice in the dot matrix character library file and the corresponding guide information in the guide information library file; A new word guide information construction module, the module is used to provide a Chinese textbook new word guide information file required for Chinese textbook hard pen writing practice, wherein the guide information is copied from the guide information library file to the Chinese textbook new word guide information file according to the new word area code in the Chinese textbook new word library retrieval file one by one; A hard pen calligraphy writing exerciser database construction module is used to merge the Chinese textbook new word library retrieval file, the second character library dot matrix file and the Chinese textbook new word guidance information file to generate a Chinese textbook new word retrieval guidance information file as a hard pen calligraphy writing exerciser database file for Chinese new word writing teaching.

10. A self-guided multilingual hard-pen calligraphy practice system, characterized in that: include: A touch display module, which is used to provide a touch screen calligraphy practice operation interface and a scalable calligraphy practice area; An operation control module, which is used to set operation control information and select required new character dot matrix in a designated area of ​​the touch screen calligraphy practice operation interface; A guidance module, which is used to display the selected new word dot matrix and the corresponding guidance information in the guidance information library file in a designated area of ​​the touch screen calligraphy practice operation interface; An execution module, the module is used to execute the guidance information and determine whether the executed writing process is accurate according to the guidance information; in: The text dot matrix and the guide information are constructed by using the database construction method of the self-guided multilingual hard-pen calligraphy practice device described in any one of claims 1-5 or the database construction method of the hard-pen calligraphy writing practice device described in any one of claims 7-8.

11. The self-guided multilingual hard-pen calligraphy practice system according to claim 10, characterized in that: In the guidance module, according to the corresponding starting position, passing point position and end point position saved in the guidance information library file, in the initial state, the cursor is placed at the starting position of the first stroke of a character; when passing through the passing point in the order of the strokes, the written trajectory is displayed; when the stroke reaches the end point, the cursor jumps to the starting position of the next stroke and waits for writing.

12. The self-guided multilingual hard-pen calligraphy practice system according to claim 10, characterized in that: In the execution module, judging whether the executed writing process is accurate according to the guidance information includes: When passing through the current stroke midline position from the starting point position, touch information is obtained to obtain the touch point coordinates; The predetermined trajectory points of the current stroke, that is, the position coordinates in the guide information, are called sequentially and compared with the touch point coordinates; if they are the same, the writing process is executed correctly; if they are not the same, the writing process is executed incorrectly.

13. The self-guided multilingual hard-pen calligraphy practice system according to claim 10, characterized in that: Also includes any one or more of the following: - A track clearing module, which is used to clear the writing traces after a set time according to the second-swipe operation control information set in the operation control module; or to clear the writing traces automatically; - a counter module, which is used to record the exercise number operation control information set in the operation control module; - a timer module, which is used to record the practice time operation control information set in the operation control module; - a voice prompt module, which is used to generate a voice prompt library file according to the corresponding starting point position, passing point position and / or end point position stored in the guidance information library file, and to give a voice prompt to the corresponding position point according to the voice prompt library file; - a memory module, the module being used to store the operation control information and / or writing results set in the operation control module; -Wireless sending module, which is used to send the writing results to other terminals.

14. A practice method implemented by using the self-guided multilingual hard-pen calligraphy practice system according to any one of claims 10 to 13, characterized in that: include: The calligraphy training device is powered on, operation control information is set, the practice characters required for this round of practice are selected, the corresponding new character dot matrix and its guiding information are obtained, the new character dot matrix is ​​scaled according to the scaling ratio and displayed, and the scaled guiding information is calculated to guide the calligraphy trainer to practice calligraphy; The cursor stays at the starting point of the first stroke of the current practice character, and when the practitioner passes through the center line of the current stroke from the starting point, touch information is obtained to obtain the touch point coordinates; Sequentially calling the predetermined trajectory points of the current stroke, i.e., the position coordinates in the guide information, and comparing them with the touch point coordinates; If they are the same, proceed to the next step; if they are not the same, do not display the writing traces, return to the previous step, and re-acquire the touch information; According to the touch information, display the touch point at the touch position, and confirm whether it is the end point of the current stroke; If yes, go to the next step; if no, return to reacquire the touch information; Confirm whether it is the last stroke of the current practice character; if so, proceed to the next step; if not, move the cursor to the starting point of the next stroke and return to reacquire the touch information; Repeat the current practice word practice process to confirm whether the set number of practice times is met; if so, proceed to the next step; if not, clear the previous writing traces and return to regain touch information; Confirm whether it is the last practice word in this round of practice; if so, proceed to the next step; if not, display the next practice word, place the cursor at the starting point of the first stroke of the practice word, and repeat the above practice process; End this round of practice; select the practice words required for the next round of practice, or end this round of practice.

15. A computer terminal comprising a memory, a processor, and a computer program A or a computer program B stored in the memory and executable on the processor, wherein: When the processor executes the computer program A, it can be used to execute the database construction method of the self-guided multilingual hard-pen calligraphy practicer described in any one of claims 1-5, or, when the processor executes the computer program B, it runs the database construction method of the hard-pen calligraphy writing practicer described in any one of claims 7-8.

16. A first computer-readable storage medium having a computer program A or a computer program B stored thereon, characterized in that: When the computer program A is executed by a processor, it can be used to execute the database construction method of the self-guided multilingual hard-pen calligraphy practicer described in any one of claims 1-5, or, when the computer program B is executed by a processor, it can be used to execute the database construction method of the hard-pen calligraphy writing practicer described in any one of claims 7-8.

17. A writing device with a touch screen, comprising a microcontroller, an on-chip program memory, an off-chip program memory, a computer program C stored in the on-chip program memory and operable on the microcontroller, and a dot matrix font library file and a boot information library file stored in the off-chip program memory and operable on the microcontroller, characterized in that: When the microcontroller executes the computer program C, it can be used to run the exerciser system described in any one of claims 10 to 13, or to execute the exercise method described in claim 14.

18. A second computer-readable storage medium having a computer program C stored thereon, characterized in that: When the computer program C is executed by the microcontroller, it can be used to run the exerciser system described in any one of claims 10 to 13, or to execute the exercise method described in claim 14.