A written data processing method, electronic device and readable storage medium

Through multi-dimensional analysis of writing dot matrix information, a comprehensive deviation score is generated and personalized writing guidance is provided, which solves the problem that the existing technology cannot meet personalized needs and improves the standardization of writing.

CN118522020BActive Publication Date: 2024-12-27SHENZHEN BEE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410580300.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-11
Publication Date
2024-12-27
Estimated Expiration
2044-05-11

AI Technical Summary

Technical Problem

The existing writing practice guidance methods cannot deeply analyze the individual needs and differences of the writer, and cannot provide tailor-made suggestions and exercise content, resulting in the inability to effectively improve the standardization of writing.

Method used

By receiving the writing dot matrix information collected by the writing operation end, performing multi-dimensional analysis, generating a comprehensive deviation score, and providing targeted writing guidance based on this, retrieving the corresponding strategy to generate a writing guidance interface and displaying it to the user.

Benefits of technology

It realizes personalized writing guidance for users, effectively improves the standardization of writing, and obtains writing habits and characteristics through in-depth analysis, and provides customized suggestions for users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118522020B_ABST
    Figure CN118522020B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of educational technology, and in particular to a writing data processing method, an electronic device, and a readable storage medium. The writing data processing method comprises: receiving writing dot matrix information collected by a writing operation end from a writing carrier end, analyzing the writing dot matrix information, and obtaining writing data; obtaining deviation data corresponding to each dimension; generating independent deviation scores corresponding to each dimension according to the deviation data, and generating a comprehensive deviation score of the writing data based on the independent deviation score; generating writing guidance information based on the comparison information of the comprehensive deviation score and the preset score, and processing the deviation data by calling the writing guidance strategy according to the writing guidance information, and generating a writing guidance interface for display. By deeply analyzing the user's writing data, the user's writing habits and characteristics are obtained, and targeted guidance suggestions are provided to different users, which effectively improves the standardization of the user's writing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of educational technology, and in particular to a written data processing method, an electronic device and a readable storage medium. Background Art

[0002] Good writing skills are crucial to the writer's studies and daily life. Writing practice is the main way to improve writing skills. Through copying, transcribing and other practice methods, writers can gradually master the structure, proportion and writing rules of characters. Writing practice guidance can detect errors in time and correct them during the writing practice process, thereby improving the efficiency of writing practice and enabling writers to quickly establish correct and standardized character shapes and writing habits.

[0003] Current writing practice instructions are often generic and use standardized guidance models. They fail to conduct in-depth analysis of the writer's writing habits, and therefore fail to fully consider the individual needs and differences of each writer, making it impossible to provide each writer with tailored advice and practice content. Summary of the invention

[0004] The main technical problem solved by the implementation mode of the present invention is how to provide targeted writing guidance suggestions for different users and effectively improve the standardization of users' writing.

[0005] According to a first aspect of an embodiment of the present invention, a writing data processing method is provided, comprising: receiving writing dot matrix information collected by a writing operation end from a writing carrier end, analyzing the writing dot matrix information to obtain writing data, calling a handwriting analysis strategy to perform a multi-dimensional analysis on the writing data to obtain deviation data corresponding to each dimension, generating an independent deviation score corresponding to each dimension according to the deviation data, generating a comprehensive deviation score for the writing data based on the independent deviation score, generating writing guidance information based on comparison information of the comprehensive deviation score and a preset score, calling a writing guidance strategy according to the writing guidance information to process the deviation data, and generating a writing guidance interface for display.

[0006] Optionally, in a possible implementation of the first aspect, before calling the handwriting analysis strategy to perform multi-dimensional analysis on the writing data, the method also includes: obtaining a writing grid corresponding to each writing unit according to the writing data, dividing each writing grid according to a preset grid division rule, obtaining eight grid areas corresponding to each writing unit, labeling the grid areas corresponding to each writing grid according to a preset labeling rule, and obtaining a labeling order.

[0007] Optionally, in a possible implementation of the first aspect, the grid area is divided by a region dividing line, and the handwriting analysis strategy is called to perform a multi-dimensional analysis on the writing data to obtain deviation data corresponding to each dimension, including: obtaining the center point of the grid, establishing a rectangular coordinate system corresponding to each writing unit based on the center point of the grid, wherein the center point of the grid is the intersection of the region dividing lines, obtaining the endpoint coordinates of each writing unit based on the rectangular coordinate system, determining the center coordinates of each writing unit according to the endpoint coordinates, comparing the center coordinates with a preset center area, and when the center coordinates are not located in the preset center area, obtaining the shortest straight-line distance between the center coordinates and the preset center area, and using the shortest straight-line distance as the first deviation data.

[0008] Optionally, in a possible implementation of the first aspect, the acquiring of the endpoint coordinates of each writing unit and determining the center coordinates of each writing unit based on the endpoint coordinates include: acquiring the upper endpoint coordinates, lower endpoint coordinates, left endpoint coordinates and right endpoint coordinates of each writing unit based on the rectangular coordinate system, acquiring the vertical coordinates of each writing unit based on the upper endpoint coordinates and the lower endpoint coordinates, acquiring the horizontal coordinates of each writing unit based on the left endpoint coordinates and the right endpoint coordinates, and determining the center coordinates of each writing unit according to the horizontal coordinates and the vertical coordinates.

[0009] Optionally, in a possible implementation of the first aspect, the handwriting analysis strategy is called to perform a multi-dimensional analysis on the writing data to obtain deviation data corresponding to each dimension, and also includes: obtaining the number of pixels in each grid area corresponding to each writing unit based on the label sequence, performing text recognition on each writing unit to obtain text recognition information, obtaining a preset standard character image according to the text recognition information, obtaining a preset number range of pixels in each grid area based on the standard character image, comparing the number of pixels with the preset number range, and when the number of pixels is not within the preset number range, obtaining the deviation number corresponding to each grid area, and using the deviation number as the second deviation data.

[0010] Optionally, in a possible implementation of the first aspect, the handwriting analysis strategy is called to perform a multi-dimensional analysis on the writing data to obtain deviation data corresponding to each dimension, and also includes: identifying the structural type of each writing unit, and when the structural type is an up-down structure or a left-right structure, calling the corresponding preset intersection restriction rule, and judging whether there is an intersection between the current writing unit and the preset area dividing line according to the preset intersection restriction rule, and when there is an intersection between the current writing unit and the preset area dividing line, obtaining the intersection pixel quantity, and using the intersection pixel quantity as the third deviation data.

[0011] Optionally, in a possible implementation of the first aspect, the determining whether there is an intersection between the current writing unit and the preset area dividing line according to the preset intersection restriction rule, and obtaining the intersection pixel quantity when there is an intersection between the current writing unit and the preset area dividing line, and using the intersection pixel quantity as the third deviation data includes: when the preset intersection restriction rule corresponding to the upper and lower structures is called, determining whether there is an intersection between the current writing unit and the horizontal dividing line, and obtaining the intersection pixel quantity when there is an intersection between the current writing unit and the horizontal dividing line, and using the intersection pixel quantity as the third deviation data; when the preset intersection restriction rule corresponding to the left and right structures is called, determining whether there is an intersection between the current writing unit and the vertical dividing line, and obtaining the intersection pixel quantity when there is an intersection between the current writing unit and the vertical dividing line, and using the intersection pixel quantity as the third deviation data.

[0012] Optionally, in a possible implementation of the first aspect, generating an independent deviation score corresponding to each dimension according to the deviation data, and generating a comprehensive deviation score of the writing data based on the independent deviation score, includes: calling corresponding preset scoring rules based on the first deviation data, the second deviation data, and the third deviation data, obtaining corresponding independent deviation scores according to the preset scoring rules, and weighted summing the independent deviation scores according to preset weights to obtain a comprehensive deviation score.

[0013] According to a second aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a memory, a processor and a computer program, wherein the computer program is stored in the memory, and the processor runs the computer program to execute the writing data processing method as described in any one of the above items.

[0014] According to a third aspect of an embodiment of the present invention, a readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the writing data processing method as described in any one of the above items.

[0015] The beneficial effects of the embodiments of the present invention are as follows: Different from the prior art, the embodiments of the present invention provide a writing data processing method, an electronic device and a readable storage medium, and the writing data processing method includes: receiving writing dot matrix information collected by the writing operation end from the writing carrier end, analyzing the writing dot matrix information to obtain writing data; calling the handwriting analysis strategy to perform multi-dimensional analysis on the writing data to obtain deviation data corresponding to each dimension; generating independent deviation scores corresponding to each dimension according to the deviation data, and generating a comprehensive deviation score of the writing data based on the independent deviation score; generating writing guidance information based on the comparison information of the comprehensive deviation score and the preset score, calling the writing guidance strategy according to the writing guidance information to process the deviation data, and generating a writing guidance interface for display. By deeply analyzing the user's writing data and obtaining the user's writing habits and characteristics, it is possible to provide targeted writing guidance suggestions for different users, and effectively improve the standardization of the user's writing. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] One or more embodiments are exemplarily described by corresponding drawings, which do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and the figures in the drawings do not constitute proportional limitations unless otherwise stated.

[0017] Figure 1 is a flow chart of a writing data processing method provided in an embodiment of the present application;

[0018] Figure 2 This is a schematic diagram of an application scenario provided by an embodiment of the present application;

[0019] Figure 3 It is a schematic diagram of the positions of the coordinates of each endpoint provided in the embodiment of the present application;

[0020] Figure 4 is a structural schematic diagram of a writing guidance interface provided in an embodiment of the present application;

[0021] Figure 5 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0023] It should be noted that, if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, and all are within the protection scope of the present invention. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from the module division in the device schematic diagram or the order in the flow chart.

[0024] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein.

[0025] It should be understood that in the present invention, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatuses.

[0026] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0027] This application embodiment provides a method for processing written data. Figure 1 , Figure 1 : is a flowchart of a writing data processing method provided in an embodiment of the present application, including:

[0028] S11, receiving the writing dot matrix information collected by the writing operation end from the writing carrier end, analyzing the writing dot matrix information, and obtaining writing data.

[0029] Among them, the writing operation end represents the writing input device, which can be specifically a dot matrix pen; the writing carrier end represents the writing medium, which is used to carry the user's writing content, and can be specifically paper with special coding or marking, that is, coded paper, which helps the dot matrix pen to accurately track the handwriting; the writing dot matrix information represents the handwriting information captured by the writing operation end during the writing process; the writing data is digital data containing all handwriting features.

[0030] Specifically, see Figure 2 , Figure 2It is a schematic diagram of an application scenario provided by an application embodiment, and the application scenario includes: a dot matrix pen 21, coding paper 22 and a terminal device 23, wherein the dot matrix pen 21 is communicatively connected with the terminal device 23, and the terminal device 23 includes but is not limited to a smart phone, a tablet computer, etc.

[0031] Specifically, the user uses the dot pen 21 to write on the coded paper 22. The dot pen 21 captures the user's writing movements and other information, that is, writing dot information, through an integrated high-speed camera or a built-in sensor, and sends the information to the terminal device 23 through Bluetooth or wireless connection. After receiving the writing dot information sent by the dot pen 21, the terminal device 23 converts it into writing data in digital format.

[0032] S12, calling the handwriting analysis strategy to perform multi-dimensional analysis on the writing data to obtain deviation data corresponding to each dimension.

[0033] Among them, the handwriting analysis strategy represents the pre-set rules for analyzing writing data, which can be set according to actual conditions; the multi-dimensional analysis represents the analysis of writing data from different angles; and the deviation data represents the difference between writing data and expected values.

[0034] Before calling the handwriting analysis strategy to perform multi-dimensional analysis on the writing data, the method further includes:

[0035] The writing grid corresponding to each writing unit is obtained according to the writing data.

[0036] The writing unit represents a basic unit in the writing data, which may be a character or a punctuation mark; the writing grid represents the writing space that accommodates a writing unit, which is generally a square area.

[0037] Each writing grid is divided according to a preset grid division rule to obtain eight grid areas corresponding to each writing unit.

[0038] Among them, the preset grid division rule is a pre-set area division method of the writing grid, which defines the positions of area dividing lines corresponding to writing grids of different sizes, etc.; the grid area represents the smallest area unit obtained after dividing the writing grid according to the preset grid division rule.

[0039] The grid areas corresponding to the writing grids are numbered according to preset numbering rules to obtain a numbering sequence.

[0040] Among them, the preset labeling rules include pre-established rules for assigning specific labels to each grid area in the writing grid, which can be set according to user needs. For example: when labeling the eight grid areas corresponding to a certain writing grid, select any grid area and use Arabic numeral 1 to label it, and then, starting from the grid area labeled 1, use Arabic numerals 2, 3, 4, 5, 6, 7, and 8 to label the remaining grid areas in a clockwise direction; the labeling order is the order of the Arabic numerals.

[0041] The grid area is divided by area dividing lines, and the handwriting analysis strategy is called to perform multi-dimensional analysis on the writing data to obtain deviation data corresponding to each dimension, including:

[0042] The center point of the grid is obtained, and a rectangular coordinate system corresponding to each writing unit is established based on the center point of the grid, wherein the center point of the grid is the intersection point of the area dividing lines.

[0043] Among them, the area dividing line represents the lines that divide the writing grid into grid areas, usually including a horizontal dividing line, a vertical dividing line and two diagonal dividing lines, which together divide the writing grid into eight equal small areas, and these small areas are the grid areas; the center point of the grid is the point at the intersection of the horizontal dividing line, the vertical dividing line and the two diagonal dividing lines; the rectangular coordinate system represents a coordinate system on a two-dimensional plane, which can represent the position of any point on the plane, and is composed of an x-axis and a y-axis.

[0044] Specifically, the center point of the grid is used as the origin of the rectangular coordinate system, the horizontal direction is selected as the x-axis, the right is the positive direction, and the unit lengths in the positive and negative directions are marked along the horizontal direction, the vertical direction is selected as the y-axis, the upward direction is the positive direction, and the unit lengths in the positive and negative directions are marked along the vertical direction. The method of establishing a rectangular coordinate system is well known to those skilled in the art and will not be elaborated in this application.

[0045] The endpoint coordinates of each writing unit are acquired based on the rectangular coordinate system, and the center coordinates of each writing unit are determined according to the endpoint coordinates.

[0046] The endpoint coordinates represent the coordinates of the extreme points of the writing unit; and the center coordinates represent the coordinates of the geometric center of the writing unit.

[0047] The step of obtaining the endpoint coordinates of each writing unit and determining the center coordinates of each writing unit based on the endpoint coordinates includes:

[0048] The upper endpoint coordinates, lower endpoint coordinates, left endpoint coordinates and right endpoint coordinates of each writing unit are acquired based on the rectangular coordinate system.

[0049] See also Figure 3, Figure 3 This is a schematic diagram of the positions of the endpoint coordinates provided in the embodiment of the present application. The upper endpoint coordinates represent the coordinates of the highest point in the writing unit, that is, the coordinate with the largest y value; the lower endpoint coordinates represent the coordinates of the lowest point in the writing unit, that is, the coordinate with the smallest y value; the left endpoint coordinates represent the coordinates of the leftmost point in the writing unit, that is, the coordinate with the smallest x value; the right endpoint coordinates represent the coordinates of the rightmost point in the writing unit, that is, the coordinate with the largest x value.

[0050] The vertical coordinate of each writing unit is acquired based on the upper endpoint coordinate and the lower endpoint coordinate, and the horizontal coordinate of each writing unit is acquired based on the left endpoint coordinate and the right endpoint coordinate.

[0051] The abscissa represents the position of a point in the horizontal direction in a rectangular coordinate system, and the ordinate represents the position of a point in the vertical direction in the rectangular coordinate system.

[0052] Specifically, the average value of the left endpoint coordinate x value and the right endpoint coordinate x value is used as the abscissa of the center coordinate, and the average value of the upper endpoint coordinate y value and the lower endpoint coordinate y value is used as the ordinate of the center coordinate.

[0053] For example: The coordinates of the upper endpoint are (-0.4, 0.75), the coordinates of the lower endpoint are (0.2, -0.8), the coordinates of the left endpoint are (-0.6, 0.5), and the coordinates of the right endpoint are (0.7, -0.2), then the horizontal coordinate = (-0.6 + 0.7) ÷ 2 = 0.05, and the vertical coordinate = (0.75-0.8) ÷ 2 = -0.025.

[0054] The center coordinates of each writing unit are determined according to the abscissa and the ordinate.

[0055] The center coordinates represent the coordinates of the geometric center of the writing unit.

[0056] For example: the horizontal coordinate is 0.05 and the vertical coordinate is -0.025, then the center coordinate is (0.05, -0.025).

[0057] The center coordinate is compared with a preset center area. When the center coordinate is not located in the preset center area, the shortest straight-line distance between the center coordinate and the preset center area is obtained, and the shortest straight-line distance is used as the first deviation data.

[0058] Among them, the preset center area represents a pre-set expected center position, which is used to indicate the range of the center coordinates of the expected writing unit; the shortest straight-line distance represents the shortest distance between the center coordinates and the boundary of the preset center area; the first deviation data represents the difference value obtained after the centering analysis, that is, the difference value between the actual center position (center coordinates) and the expected center position (preset center area).

[0059] For example: the coordinates of the center point of the grid are (0, 0). The preset center area can be set to a square area with (0, 0) as the center and a side length of 0.025. The center coordinates are (0.05, -0.025), then the shortest straight-line distance is 0.025, and 0.025 is used as the first deviation data.

[0060] The calling of the handwriting analysis strategy to perform multi-dimensional analysis on the writing data to obtain deviation data corresponding to each dimension also includes:

[0061] The number of pixels in each grid area corresponding to each writing unit is obtained based on the label sequence.

[0062] In a digital image, each pixel represents a smallest unit in the image and has specific position and color information. The number of pixels refers to the number of pixels contained in a certain area, which is used to describe the size or density of the area.

[0063] Specifically, when performing grid analysis on a certain writing unit, the number of pixel points in each grid area corresponding to each writing unit can be obtained in the order of Arabic numerals. For example: first obtain the number of pixel points in the grid area labeled 1, then obtain the number of pixel points in the grid area labeled 2, and then obtain the number of pixel points in the grid area labeled 3, until the number of pixel points in all grid areas corresponding to the writing unit is obtained.

[0064] Perform text recognition on each writing unit to obtain text recognition information, obtain a preset standard character image according to the text recognition information, and obtain a preset number range of pixel points in each grid area based on the standard character image.

[0065] Among them, the text recognition means using a text recognition model to detect the Chinese characters or characters represented by each writing unit. The text recognition model is a model based on machine learning and deep learning technology, which is used to automatically detect, recognize and extract text information in images or videos. The training and use methods of the text recognition model are well known to those skilled in the art, and this application will not go into details here; the text recognition information represents the Chinese characters or characters corresponding to each recognized writing unit; the preset standard character image represents a pre-set standard character image, which can be used as a benchmark for judging whether the writing is standard; the preset number range represents the tolerance range of the number of pixels in each grid area set in the preset standard character image.

[0066] The number of pixels is compared with a preset number range. When the number of pixels is not within the preset number range, the deviation number corresponding to each grid area is obtained, and the deviation number is used as the second deviation data.

[0067] Among them, the deviation number represents the difference between the actual number of pixel points and the preset number range, which can represent the degree of deviation of the writing unit in each grid area; the difference value obtained after the grid analysis of the second deviation data is, that is, the difference between the number of pixel points occupied by the writing unit in each corresponding grid area and the preset number range.

[0068] The calling of the handwriting analysis strategy to perform multi-dimensional analysis on the writing data to obtain deviation data corresponding to each dimension also includes:

[0069] The structural type of each writing unit is identified, and when the structural type is a top-bottom structure or a left-right structure, the corresponding preset intersection restriction rule is retrieved.

[0070] Among them, the preset intersection restriction rule represents a pre-set intersection position that may appear in a writing unit for restricting an upper and lower structure or a left and right structure. When the structure type is an upper and lower structure, the preset intersection restriction rule for the upper and lower structure is called; when the structure type is a left and right structure, the preset intersection restriction rule for the left and right structure is called.

[0071] According to the preset intersection restriction rule, determine whether there is an intersection between the current writing unit and the preset area dividing line. When there is an intersection between the current writing unit and the preset area dividing line, obtain the intersection pixel quantity and use the intersection pixel quantity as the third deviation data.

[0072] Among them, the current writing unit represents the writing unit being analyzed or processed; the preset area dividing line represents a horizontal dividing line or a vertical dividing line; the intersection pixel quantity represents the number of pixel points contained in the intersection of the current writing unit and the preset area dividing line; the third deviation data represents the structural deviation data obtained after performing structural analysis on the writing data.

[0073] The step of determining whether there is an intersection between the current writing unit and the preset area dividing line according to the preset intersection restriction rule, and obtaining the intersection pixel quantity when there is an intersection between the current writing unit and the preset area dividing line, and using the intersection pixel quantity as the third deviation data, includes:

[0074] When the preset intersection restriction rules corresponding to the upper and lower structures are called up, it is determined whether there is an intersection between the current writing unit and the horizontal dividing line. When there is an intersection between the current writing unit and the horizontal dividing line, the intersection pixel quantity is obtained and the intersection pixel quantity is used as the third deviation data.

[0075] Among them, the preset intersection restriction rule corresponding to the upper and lower structures is that the writing unit cannot have an intersection with the horizontal dividing line. The preset area dividing line is a horizontal dividing line, and the horizontal dividing line is a horizontal dividing line. If there is an intersection, it means that the font structure when the user writes is not standardized.

[0076] When the preset intersection restriction rules corresponding to the left and right structures are called, it is determined whether there is an intersection between the current writing unit and the longitudinal dividing line. When there is an intersection between the current writing unit and the longitudinal dividing line, the intersection pixel quantity is obtained and the intersection pixel quantity is used as the third deviation data.

[0077] Among them, the preset intersection restriction rule corresponding to the left and right structures is that the writing unit cannot have an intersection with the longitudinal dividing line. The preset area dividing line is the longitudinal dividing line, and the longitudinal dividing line is the vertical dividing line. If there is an intersection, it means that the font structure when the user writes is not standardized.

[0078] S13. Generate an independent deviation score corresponding to each dimension according to the deviation data, and generate a comprehensive deviation score of the writing data based on the independent deviation score.

[0079] The independent deviation score indicates a corresponding score or rating given to the degree to which the writing data deviates from the expected value in each specific aspect, and the comprehensive deviation score indicates an overall score obtained by combining each independent deviation score.

[0080] Generating an independent deviation score corresponding to each dimension according to the deviation data, and generating a comprehensive deviation score of the writing data based on the independent deviation score, comprises:

[0081] Based on the first deviation data, the second deviation data, and the third deviation data, a corresponding preset scoring rule is called, and a corresponding independent deviation score is obtained according to the preset scoring rule.

[0082] The preset scoring rules are pre-set scoring standards, which can be adjusted according to actual conditions, and this application does not impose specific restrictions on this. Based on the first deviation data, the preset scoring rules for centering analysis can be called, based on the second deviation data, the preset scoring rules for grid analysis can be called, and based on the third deviation data, the preset scoring rules for structure analysis can be called.

[0083] Example: When calling the preset scoring rule of the centering analysis based on the first deviation data, if the preset scoring rule stipulates that the first deviation data is in (0-0.05), the independent deviation score is 20, if the first deviation data is in (0.05-0.1), the independent deviation score is 40, if the first deviation data is in (0.1-0.15), the independent deviation score is 60, if the first deviation data is in (0.15-0.2), the independent deviation score is 80, if the first deviation data is more than 0.2, the independent deviation score is 100. The first deviation data is 0.025, in (0.05-0.1), so the independent deviation score is 20.

[0084] The independent deviation scores are weighted and summed according to preset weights to obtain a comprehensive deviation score.

[0085] The preset weight represents a predetermined coefficient or ratio used to measure the importance of each independent deviation score in the comprehensive score; the weighted summation is the process of summing up the independent deviation scores of each aspect after weighting them according to the preset weight.

[0086] For example, the independent deviation score for center analysis is 20, and the preset weight is 0.3; the independent deviation score for grid analysis is 10, and the preset weight is 0.2; the independent deviation score for structure analysis is 40, and the preset weight is 0.5. The comprehensive deviation score is (20×0.3)+(10×0.2)+(40×0.5)=28.

[0087] S14. Generate writing guidance information based on the comparison information of the comprehensive deviation score and the preset score, retrieve the writing guidance strategy according to the writing guidance information to process the deviation data, and generate a writing guidance interface for display.

[0088] The preset scoring comparison information is the preset data used to evaluate the writing standardization in the preset scoring rules; the writing guidance information refers to the feedback or suggestions generated based on the writing analysis results; the writing guidance strategy refers to the specific measures or methods pre-made to improve the writing standardization in each dimension; the writing guidance interface refers to the interface or tool for displaying the writing guidance information, including but not limited to visual writing analysis results, personalized guidance suggestions, exercises, etc., which can be set according to actual conditions. Please refer to Figure 4 , Figure 4 It is a structural schematic diagram of a writing guidance interface provided in an embodiment of the present application. The writing guidance interface includes a comprehensive deviation score, where the higher the score, the worse the writing standardization, as well as writing guidance suggestions for users after centering analysis, grid analysis, and structure analysis. For example: in the centering analysis, the evaluation is "relatively centered, slightly deviated to the right.", in the grid analysis, the evaluation is "the grid area No. 2 occupies slightly more space.", in the structure analysis, the evaluation is "the degree of deviation to the left is relatively high.", etc.

[0089] In this embodiment, a writing data processing method is provided, and the writing data processing method includes: receiving writing dot matrix information collected by the writing operation end from the writing carrier end, analyzing the writing dot matrix information to obtain writing data; calling the handwriting analysis strategy to perform multi-dimensional analysis on the writing data to obtain deviation data corresponding to each dimension; generating independent deviation scores corresponding to each dimension according to the deviation data, and generating a comprehensive deviation score of the writing data based on the independent deviation score; generating writing guidance information based on the comparison information of the comprehensive deviation score and the preset score, calling the writing guidance strategy according to the writing guidance information to process the deviation data, and generating a writing guidance interface for display. By deeply analyzing the user's writing data and obtaining the user's writing habits and characteristics, it is possible to provide targeted writing guidance suggestions for different users, and effectively improve the standardization of the user's writing.

[0090] The embodiment of the present invention further provides an electronic device, which may be a terminal device 23. Figure 5 , which shows that it is possible to execute Figure 1 The hardware structure of the electronic device of the writing data processing method.

[0091] The electronic device 300 includes: at least one processor 31, and a memory 32, wherein the memory 32 is communicatively connected to the processor 31, and the memory 32 stores instructions that can be executed by the at least one processor 31, and the instructions are executed by the at least one processor 31 so that the at least one processor 31 can execute the writing data processing method described in the above embodiment.

[0092] The processor 31 and the memory 32 may be connected via a bus or other means. Figure 5 Taking the bus connection as an example, the memory 32 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The processor 31 executes various functional applications and data processing by running the non-volatile software programs, instructions and modules stored in the memory 32, that is, realizing the writing data processing method described in the above embodiment.

[0093] The memory 32 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created by the use of the electronic device, etc. In addition, the memory 32 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 32 may optionally include a memory 32 remotely arranged relative to the processor 31. These remote memories 32 may be connected to the electronic device 300 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0094] The one or more modules are stored in the memory 32, and when executed by the one or more processors 31, execute the writing data processing method in any of the above embodiments, for example, execute Figure 1 The method steps in .

[0095] The above product can execute the writing data processing method provided by the embodiment of the present invention, and has the functional modules corresponding to the writing data processing method. For technical details not described in detail in this embodiment, please refer to the writing data processing method provided by the embodiment of the present invention.

[0096] Through the description of the above embodiments, it can be clearly understood by those skilled in the art that each embodiment can be implemented by means of software plus a general hardware platform, or by hardware. It can be understood by those skilled in the art that all or part of the processes in the above embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0097] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may also be combined, the steps may be implemented in any order, and there are many other changes in different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for processing written data, characterized in that: include: Receiving writing dot matrix information collected by the writing operation end from the writing carrier end, analyzing the writing dot matrix information to obtain writing data; Retrieving a handwriting analysis strategy to perform multi-dimensional analysis on the writing data to obtain deviation data corresponding to each dimension; generating an independent deviation score corresponding to each dimension according to the deviation data, and generating a comprehensive deviation score of the writing data based on the independent deviation score; Generate writing guidance information based on the comparison information of the comprehensive deviation score and the preset score, retrieve the writing guidance strategy according to the writing guidance information to process the deviation data, and generate a writing guidance interface for display; Before calling the handwriting analysis strategy to perform multi-dimensional analysis on the writing data, the method further includes: Acquire a writing grid corresponding to each writing unit according to the writing data; Divide each writing grid according to a preset grid division rule to obtain eight grid areas corresponding to each writing unit; The grid areas corresponding to each writing grid are numbered according to a preset numbering rule to obtain a numbering sequence; The grid area is divided by the area dividing line, and the handwriting analysis strategy is called to perform multi-dimensional analysis on the writing data to obtain deviation data corresponding to each dimension, including: Obtaining a center point of a grid, and establishing a rectangular coordinate system corresponding to each writing unit based on the center point of the grid, wherein the center point of the grid is the intersection point of the area dividing lines; Acquire the endpoint coordinates of each writing unit based on the rectangular coordinate system, and determine the center coordinates of each writing unit according to the endpoint coordinates; Compare the center coordinate with a preset center area, and when the center coordinate is not located in the preset center area, obtain the shortest straight-line distance between the center coordinate and the preset center area, and use the shortest straight-line distance as first deviation data; The step of obtaining the endpoint coordinates of each writing unit and determining the center coordinates of each writing unit based on the endpoint coordinates includes: Based on the rectangular coordinate system, the upper endpoint coordinates, the lower endpoint coordinates, the left endpoint coordinates and the right endpoint coordinates of each writing unit are obtained; Acquire the ordinate of each writing unit based on the upper endpoint coordinate and the lower endpoint coordinate, and acquire the abscissa of each writing unit based on the left endpoint coordinate and the right endpoint coordinate; Determine the center coordinates of each writing unit according to the abscissa and the ordinate; The calling of the handwriting analysis strategy to perform multi-dimensional analysis on the writing data to obtain deviation data corresponding to each dimension also includes: Based on the label sequence, the number of pixel points in each grid area corresponding to each writing unit is obtained; Performing character recognition on each writing unit to obtain character recognition information, obtaining a preset standard character image according to the character recognition information, and obtaining a preset number range of pixel points in each grid area based on the standard character image; Compare the number of pixels with a preset number range, and when the number of pixels is not within the preset number range, obtain the deviation number corresponding to each grid area, and use the deviation number as second deviation data; The calling of the handwriting analysis strategy to perform multi-dimensional analysis on the writing data to obtain deviation data corresponding to each dimension also includes: Identify the structural type of each writing unit, and when the structural type is a top-bottom structure or a left-right structure, call the corresponding preset intersection restriction rule; According to the preset intersection restriction rule, determine whether there is an intersection between the current writing unit and the preset area dividing line, and when there is an intersection between the current writing unit and the preset area dividing line, obtain the pixel quantity of the intersection, and use the pixel quantity of the intersection as the third deviation data; The step of determining whether there is an intersection between the current writing unit and the preset area dividing line according to the preset intersection restriction rule, and obtaining the intersection pixel quantity when there is an intersection between the current writing unit and the preset area dividing line, and using the intersection pixel quantity as the third deviation data, includes: When the preset intersection restriction rule corresponding to the upper and lower structures is retrieved, it is determined whether there is an intersection between the current writing unit and the horizontal dividing line. When there is an intersection between the current writing unit and the horizontal dividing line, the pixel quantity of the intersection is obtained, and the pixel quantity of the intersection is used as the third deviation data; When the preset intersection restriction rules corresponding to the left and right structures are called, it is determined whether there is an intersection between the current writing unit and the longitudinal dividing line. When there is an intersection between the current writing unit and the longitudinal dividing line, the intersection pixel quantity is obtained and the intersection pixel quantity is used as the third deviation data.

2. The writing data processing method according to claim 1, characterized in that: Generating an independent deviation score corresponding to each dimension according to the deviation data, and generating a comprehensive deviation score of the writing data based on the independent deviation score, comprises: Based on the first deviation data, the second deviation data, and the third deviation data, a corresponding preset scoring rule is called, and a corresponding independent deviation score is obtained according to the preset scoring rule; The independent deviation scores are weighted and summed according to preset weights to obtain a comprehensive deviation score.

3. An electronic device, characterized in that: include: A memory, a processor and a computer program, wherein the computer program is stored in the memory, and the processor runs the computer program to execute the writing data processing method according to any one of claims 1 to 2.

4. A readable storage medium, characterized in that: The readable storage medium stores a computer program, which, when executed by a processor, is used to implement the writing data processing method described in any one of claims 1 to 2.