Specific embodiment
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the present invention is to implement oneIt is illustrated in a computing environment appropriate.The following description be based on illustrated by the specific embodiment of the invention, do not answerIt is viewed as a limitation the present invention other specific embodiments not detailed herein.
In the following description, specific embodiments of the present invention will refer to the operation as performed by one or multi-section computerThe step of and symbol illustrate, unless otherwise stating clearly.Therefore, these steps and operation be will appreciate that, mentioned for several times wherein havingIt include by representing with the computer disposal list of the electronic signal of the data in a structuring pattern to be executed by computerMember is manipulated.At this manipulation transforms data or the position being maintained in the memory system of the computer, it can match againSet or in addition change in a manner familiar to those skilled in the art the running of the computer.The maintained data knot of the dataStructure is the provider location of the memory, has the specific feature as defined in the data format.But the principle of the invention is with above-mentionedText illustrates, is not represented as a kind of limitation, those skilled in the art will appreciate that plurality of step as described below andOperation also may be implemented in hardware.
Please refer to Fig. 1, Fig. 1 be the intelligence auxiliary of the invention based on dot matrix pen practise handwriting system embodiment structural representationFigure.The present embodiment intelligence auxiliary practise handwriting system 10 include clipboard 11, dot matrix pen 12, content processing module 13 and display screen14。
Clipboard 11 carries out writing practising for the person of practising handwriting;Dot matrix pen 12 is for recording writing of the person of practising handwriting on clipboardContent, and written contents are sent to content processing module;Content processing module 13 is used to receive written contents, and will be in writingAppearance is converted into the person's of practising handwriting font sample;It is also used to the basis person's of practising handwriting font sample and extremely at least one preset standard letter sampleThis, generates corresponding practice font sample, and practice font sample is sent to display screen;Display screen 14 is used for using practice wordBody sample generates corresponding copybook information, and is shown, so that the person of practising handwriting is referring to progress writing practising;Wherein dot matrix pen and aobviousDisplay screen is wirelessly connected with content processing module respectively.
In practice, display screen 14 and clipboard 11 can be integrated, and the person of practising handwriting both can be in integrated writingWriting practising is carried out on plate, and the copybook information that will practice can also be seen by integrated clipboard.
The content processing module 13 of the present embodiment includes processing chip 131, memory 132, communication module 133 and soundCase 134.Processing chip 131 is converted into the person's of practising handwriting font sample for the written contents, and according to the person's of practising handwriting font sample withAnd preset standard letter sample, generate corresponding practice font sample;Memory 132 is for storing preset standard letter sampleSheet and corresponding computer program;Communication module 133 with dot matrix pen and the display screen for carrying out wireless communication;Speaker134 for carrying out voice prompting.
The present embodiment intelligence auxiliary practise handwriting system 10 can off-line operation when necessary can be by background server 15 to interiorHold processing module 13 and carry out data update operation, preferably to generate practice font sample;Or the personalization for the person of practising handwriting is believedBreath (person's font of such as not practising handwriting sample) carries out storage operation beyond the clouds.
When the person of practising handwriting carries out copybook practice, the displaying for the font that carries out practising handwriting on display screen 14, the person of practising handwriting uses dot matrixPen 12 completes copybook practice on display screen 14, while content processing module 13 can be provided according to the current practice conditions of the person of practising handwritingCorresponding practice opinion, to improve the practice efficiency for the person of practising handwriting.Furthermore display screen 14 can be according to the current exercise situation for the person of practising handwritingPractice font is updated in time, improves the practice interest and practice efficiency of the person of practising handwriting.
The detailed process of copybook information is generated the following detailed description of intelligence auxiliary of the invention system 10 of practising handwriting, please refers to figure2, Fig. 2 for intelligence auxiliary of the invention practise handwriting system generate copybook information first embodiment flow chart.The present embodiment generatesThe method of copybook information can include:
Step S201 obtains the person's of practising handwriting font sample, and extracts the initial character feature combination in the person's of practising handwriting font sample;
Step S202 obtains the combination of standard letter feature, and regard the combination of standard letter feature as target character feature groupIt closes;
Step S203 is combined according to the combination of initial character feature and target character feature, generates practice character feature groupIt closes;And according to the corresponding practice font sample of practice character feature combination producing;
Step S204 generates corresponding copybook information using practice font sample on electronic copybook.
The detailed process of each step of the method for copybook information is generated the following detailed description of the present embodiment.
In step s 201, dot matrix pen obtains the person's of practising handwriting font sample, which is the current book of the person of practising handwritingWrite the font sample of body, and the person of practising handwriting can such as be allowed to write 200 to 3000 regulation words as required, is specific to the person of practising handwriting to generateThe person's of practising handwriting font sample.
Subsequent content processing module learns the person's of practising handwriting font sample of acquisition, obtains in the person's of practising handwriting font sampleInitial character feature combination.Specifically, font stroke feature, font in the extractable person's of the practising handwriting font sample of content processing moduleAt least one of structure feature feature is used as the person of practising handwriting between section feature, font architecture feature, font radical feature and wordInitial character feature combination in font sample.
Here font stroke feature includes stroke length feature, stroke width feature, stroke press feature, vertical and horizontal strokeDynamics difference characteristic, stroke jitter feature, stroke bending features and stroke perturbation features etc..
Wherein stroke length feature is to constitute the length of each stroke of font, i.e., from the starting point of stroke to corresponding strokeTerminating point length, the pixel number N between the terminating point of the starting point of stroke to correspondence stroke can be used1It indicates, i.e. a1=N1, wherein a1For the characteristic value of stroke length feature.
Stroke width feature is the width for constituting each stroke of font, is the corresponding stroke of point set in stroke length directionThe width average value of position, i.e.,
Wherein n is the quantity of point set, WiFor the width value at i, i is count value, a2For the characteristic value of stroke width feature.
Stroke press feature is used to indicate to write dynamics variation of the people when writing, and is each point on stroke length directionThe departure degree of stroke width and average stroke width, i.e.,
Wherein a3For the characteristic value of stroke press feature.
Vertical and horizontal stroke press difference characteristic is used to indicate to write averagely exert oneself feelings of the people when writing horizontal stroke and vertical strokeCondition may be expressed as:
Wherein hiIndicate the width value of the lateral stroke at i, siIndicate the width value of longitudinal stroke at i, a4For vertical and horizontal penThe characteristic value of picture dynamics feature.
Stroke jitter feature is used to indicate the tendency situation of stroke, may be expressed as:
Wherein ymIndicate the lengthwise position initial value of stroke, ynIndicate the lengthwise position stop value of stroke, xmIndicate strokeLateral position initial value, xnIndicate the lengthwise position stop value of stroke, a5For the characteristic value of stroke jitter feature.
Stroke bending features are used to indicate the feature of the stroke with curvature, to indicate different writing preferences.
It may be expressed as:
Wherein a6For the characteristic value of stroke bending features, wherein n indicates the point set quantity of the stroke, and the stroke is by successively connectingPoint set (P (the x connect1,y1),P(x2,y2),…P(xn,yn)) composition, wherein xnFor the lateral position of corresponding points, ynFor corresponding pointsLengthwise position.
Stroke perturbation features be indicate the feature of the irregular degree of stroke, such as downward weight of the writer when starting writing andReceive pen when it is upward gently choose, cause in this way two endpoint lines of tendency and stroke of stroke tendency can exist disturb, such as strokeThe coordinate of two endpoints is respectively Ps(xs,ys)、Pe(xe,ye), the coordinate in the crosspoint of the line and stroke of two endpoints is P(xp,yp);
The perturbation features may be expressed as:
Wherein a7For the characteristic value of stroke perturbation features.
Here font pen section feature includes lateral pen section feature, longitudinal pen section feature and transverse and longitudinal pen section difference characteristicDeng.The stroke of intersection can be known as pen section by the multiple portions that crosspoint is divided.
Lateral pen section feature is the lateral length for constituting the pen section of stroke, be may be expressed as:
a8=N2;
Wherein a8For the characteristic value of lateral pen section feature, N2For pen section starting point between the terminating point of corresponding pen segmentThe pixel number of lateral distance.
Longitudinal pen section feature is the longitudinal length for constituting the pen section of stroke, be may be expressed as:
a9=N3;
Wherein a9For the characteristic value of longitudinal pen section feature, N3For pen section starting point between the terminating point of corresponding pen segmentThe pixel number of fore-and-aft distance.
Transverse and longitudinal pen section difference characteristic is the transverse and longitudinal lenth ratio of pen section, can be used for judging the corner feature of font stroke, insteadThe interference and coherent feature for reflecting font stroke, may be expressed as:
a10For the characteristic value of transverse and longitudinal pen section difference characteristic, ε indicates an infinitely small quantity.
Here font radical feature includes radical structure feature and radical gravity center characteristics etc..
Radical structure feature is the geometric proportion of different radical structures in font, can be used for indicating the coordination beauty an of fontSense, may be expressed as:
xi、yiFor single font external and internal compositions, up-down structure, the Burden of tiled configuration radical, f (i, j) is single radical knotProportionate relationship function when structure, a11For the characteristic value of radical structure feature.
Radical gravity center characteristics are the centre-of gravity shift feature of the different radicals inside font, for measuring deformation and the portion of fontHead dislocation, may be expressed as:
G (i, j) is the skeleton matrix of font, xi、yiFor single font external and internal compositions, up-down structure, tiled configuration radicalBurden, a12For the characteristic value of radical gravity center characteristics.
Font architecture feature include font gradient feature, font gravity center characteristics, font external structural characteristics, inside fontStructure feature etc..
The substantially tendency of font gradient character representation font, with the stroke-starting positions of strokes all in font and corresponding strokeReceipts positions calculate, may be expressed as:
Wherein yimFor the lengthwise position initial value of stroke i, yinIndicate the lengthwise position stop value of stroke i, ximIndicate strokeThe lateral position initial value of i, xinIndicate the lengthwise position stop value of stroke i, a13For the characteristic value of font gradient feature.
Font central feature indicates the position of centre of gravity feature of font, may be expressed as:
a14=F (x, y);
Wherein g (i, j) is the skeleton matrix of font, a14For the characteristic value of center of gravity position feature, wherein (x, y) is center of gravity positionCoordinate is set, F is the function for calculating position of centre of gravity feature.
Font external structural characteristics indicate font frame figure, if any font frame figure it is square, some wordsBody frame figure is rectangle, and is indicated the font external structural characteristics with the depth-width ratio R of font here, be may be expressed as:
Wherein a15For the font external structural characteristics of font.Here f function is unclear, it is proposed that inside simplified Chinese character bodyStructure feature indicates the inside outline strokes distribution of font, and by single font external and internal compositions, up-down structure, tiled configuration can be by wordBody is divided into S1 and S2 two parts, which can identify expression are as follows:
Wherein m is the number of pixel in S1, and n is the number of pixel in S2, a16For the spy of font inner structural featuresValue indicative.
Structure feature includes adjacent font size characteristic and adjacent font gradient feature etc. between word.
Adjacent font size characteristic indicates the size ratio of adjacent font, if n text profile value is Q={ q1,q2...,qn, qnFor text profile value, then structure feature may be expressed as: between word
Wherein a17For the characteristic value of adjacent font size characteristic.
The difference value of the gradient of the adjacent font of adjacent font gradient character representation, for evaluating the overall beautiful of writingDegree indicates are as follows:
Wherein riFor the gradient of single font, a18For the characteristic value of adjacent font gradient feature.
Electronic equipment combines A based on the initial character feature that the calculating of above-mentioned characteristic value can obtain the person's of practising handwriting font sample(a1a,a2a,…,a18a)。
In step S202, content processing module obtains preset standard letter feature combination.
Specifically, electronic equipment obtains preset standard letter sample, such as 200 to 3000 of certain calligraphist writingRegulation word or the regulation word acquired from writing books before, to form standard letter sample.Subsequent electronic equipment is to obtainingThe standard letter sample taken is learnt, and the standard letter feature combination of standard letter sample is obtained, here can established standards wordBody characteristics combine B (a1b,a2b,…,a18b).Here same electronic equipment is special by the font stroke in extraction standard font sampleAt least one of structure feature feature is made between sign, font pen section feature, font architecture feature, font radical feature and wordFor the standard letter feature combination in standard letter sample, the process of specific standard letter feature combination and above-mentioned initial wordThe extraction process of body characteristics combination is similar.
In order to which the person of practising handwriting learns above-mentioned standard font sample, content processing module is by standard letter feature group hereClose B (a1b,a2b,…,a18b) combined as target character feature.
In step S203, content processing module is according to the step S201 initial character feature combination obtained and stepThe target character feature combination that S202 is obtained generates practice character feature combination, so that the person of practising handwriting is practiced.
Specifically, the usable default practice weight ratio of content processing module is combined to initial character feature and target fontFeature combination is weighted operation, to generate practice character feature combination.
Due to such as directly allowing the person of practising handwriting to learn standard letter sample, the practice efficiency that may result in the person of practising handwriting is lower, thisIn in order to improve the practice efficiency of the person of practising handwriting, generate one and be closer to simultaneously with the person's of practising handwriting font sample and standard letter samplePractice font sample.
Here settable default practice weight ratio is 3:1 to 6:1, that is, practices the characteristic value of character feature combination substantiallyWherein m is default practice weight ratio.When m is largerWhen, the characteristic value of practice character feature combination is to be closer to the characteristic value of initial character feature combination.
Subsequent content processing module generates corresponding practice font according to the characteristic value of the practice character feature combination of generationSample, the practice font sample are also to be closer to the person's of practising handwriting font sample, so that the practice difficulty for the person of practising handwriting is into oneStep reduces.
In step S204, the practice font sample that content processing module is generated using step S203 is given birth on a display screenAt corresponding copybook information, the equipment of practising handwriting such as dot matrix pen can be used to carry out copybook practice directly on clipboard for the person that do not practise handwriting in this way.
After setting time, content processing module can be operated with circulating repetition above-mentioned steps, so that the person's of practising handwriting writing is practised handwritingPerson's font sample is constantly close with standard letter sample, to realize the efficient copybook practice for the person of practising handwriting.
So i.e. complete the present embodiment intelligence auxiliary practise handwriting system generate copybook information process.
The intelligence auxiliary of the present embodiment practises handwriting system based on the combination of initial character feature and the combination life of target character featureAt practice character feature combination, since the practice character feature for the person of practising handwriting, the continuous renewal combines corresponding practice fontPractice difficulty it is lower, therefore improve the person of practising handwriting copybook practice efficiency, shorten the copybook practice periods for the person of practising handwriting.
Referring to figure 3., Fig. 3 be intelligence auxiliary of the invention practise handwriting system generate copybook information second embodiment processFigure, the method that the present embodiment generates copybook information include:
Step S301 obtains the person's of practising handwriting font sample, and extracts the initial character feature combination in the person's of practising handwriting font sample;
Step S302 obtains the standard letter feature combination of preset multiple standard letter samples, and will be with initial fontThe standard letter feature combination of the feature combination the smallest standard letter sample of offset of feature combination is used as target character featureCombination;
Step S303 is combined according to the combination of initial character feature and target character feature, generates practice character feature groupIt closes;And according to the corresponding practice font sample of practice character feature combination producing;
Step S304 generates corresponding copybook information using practice font sample on electronic copybook.
The detailed process of each step of the method for copybook information is generated the following detailed description of the present embodiment.
The of the method for the step S301, step S303 and step S304 of the present embodiment and above-mentioned generation copybook informationStep S201, the step S203 and step S204 of one embodiment are same or similar, specifically refer to above-mentioned generation copybook informationMethod first embodiment in detailed description.
In the step S302 of the present embodiment, content processing module obtains multiple preset standard letter samples, such as multidigitThe regulation word that calligraphist writes or the regulation word acquired from writing books before, to form multiple standard letter samples.
Subsequent content processing module learns multiple standard letter samples of acquisition, obtains multiple standard letter samplesCorresponding standard letter feature combination can set multiple standard letter feature combination B1 (a here1b1,a2b1,…,a18b1)、B2(a1b2,a2b2,…,a18b2) etc..Here same content processing module by font stroke feature in extraction standard font sample,At least one of structure feature feature is as mark between font pen section feature, font architecture feature, font radical feature and wordStandard letter feature combination in quasi- font sample, the process and above-mentioned initial font of specific standard letter feature combination are specialIt is similar to levy combined extraction process.
Practice efficiency to further increase the copybook of practitioner, content processing module can be from multiple standard letter samplesSelect and the immediate standard letter sample of the person of practising handwriting for the person of practising handwriting font sample come make practice font sample.That is electronic equipmentIt can be by the standard letter feature group cooperation of the feature combined with initial character feature the combination the smallest standard letter sample of offsetFor the combination of target character feature.
Such as calculate standard letter feature combination in each feature characteristic value combined with initial character feature in character pairCharacteristic value deviation, then the characteristic value deviation of each type is added to get arrived the combination of standard letter feature with it is initialThe feature combination offset of character feature combination is minimum.Of course for the accuracy that enhancing calculates, used here as default weight pairThe characteristic value deviation of each type is modified, and influences difference to the shadow of feature combination offset to reduce different type characteristic valueIt rings.
So i.e. complete the present embodiment intelligence auxiliary practise handwriting system generate copybook information process.
On the basis of first embodiment, the intelligence auxiliary of the present embodiment system of practising handwriting is minimum using feature combination offsetStandard letter sample standard letter feature combination come generate target word body characteristics combination, further reduced practice font sampleThe difference of this and the person's of practising handwriting font sample, further reduced the practice difficulty for the person of practising handwriting.
Referring to figure 4., Fig. 4 be intelligence auxiliary of the invention practise handwriting system generate copybook information 3rd embodiment processFigure, the copybook information generating method of the present embodiment include:
Step S401 obtains the person's of practising handwriting font sample, and extracts the initial character feature combination in the person's of practising handwriting font sample;
Step S402 obtains the combination of standard letter feature, and regard the combination of standard letter feature as target character feature groupIt closes;
Step S403 is combined according to the combination of initial character feature and target character feature, generates practice character feature groupIt closes;And according to the corresponding practice font sample of practice character feature combination producing;
Step S404 generates corresponding copybook information using practice font sample on electronic copybook;
Step S405 obtains the current person's of practising handwriting font sample with setting time interval, and extracts the current person's of practising handwriting font sampleCurrent font feature combination in this;
It is inclined to calculate the difference characteristic combination that the combination of current font feature is combined with corresponding practice character feature by step S406Shifting amount;
Step S407, if difference characteristic combination offset is less than preset value, then according to the combination of current font feature and meshThe combination of marking-up body characteristics generates practice character feature combination;And practice font sample is carried out according to the combination of practice character featureIt updates, to use updated practice font sample to generate corresponding copybook information on electronic copybook;As difference characteristic combinesOffset is more than or equal to preset value, then continues to use current practice font sample and generate corresponding copybook letter on electronic copybookBreath.
The detailed process of each step of the method for copybook information is generated the following detailed description of the present embodiment.
The first embodiment of the method for the step S401 to step S404 of the present embodiment and above-mentioned generation copybook informationStep S201 is same or similar to step S204, in the first embodiment for specifically referring to the method for above-mentioned generation copybook informationDetailed description.
In step S405, content processing module obtains the current person's of the practising handwriting font sample for the person of practising handwriting with setting time intervalThis, to judge whether to need to be updated practice font sample.
Subsequent content processing module learns the current person's of practising handwriting font sample of acquisition, obtains the current person's of practising handwriting fontCurrent font feature combination in sample.Specifically, the font in the extractable current person's of the practising handwriting font sample of content processing moduleAt least one of structure feature spy between stroke feature, font pen section feature, font architecture feature, font radical feature and wordIt levies as the current font feature combination in person's font sample of currently not practising handwriting.
In step S406, content processing module calculates current in the current person's of practising handwriting font sample that step S405 is obtainedThe difference characteristic that character feature combination is combined with the practice character feature of corresponding practice font sample combines offset;ObtainThe difference value of the current person's of practising handwriting font sample and the practice font sample of setting.
It is special that particular content processing module can calculate the characteristic value of each feature and current font in practice character feature combinationThen the characteristic value deviation of each type is added to get current font is arrived by the deviation of the characteristic value of character pair in sign combinationThe difference characteristic that feature combination is combined with corresponding practice character feature combines offset.It is accurate to calculate of course for enhancingProperty, it is modified used here as characteristic value deviation of the default weight to each type, it is poor to reduce the influence of different type characteristic valueThe different influence to difference characteristic combination offset.
In step S 407, difference characteristic combination offset is obtained less than preset value as step S406 is calculated, then explanation is worked asBefore the very close setting of the person's of practising handwriting font sample practice font sample, then need to be updated practice font sample,It is more nearly to practice font sample with standard letter sample.
Specifically, content processing module can be combined according to the current font feature for person's font sample of currently not practising handwriting and standardThe corresponding target character feature combination of font sample, generates practice character feature combination.Default practice weight ratio pair such as can be usedThe combination of current font feature and the combination of target character feature are weighted operation, to generate practice character feature combination.
Here settable default practice weight ratio is 3:1 to 6:1, certainly due to the combination of current font feature and target fontThe feature combination offset of feature combination can be smaller and smaller with the carry out of practice, in order to further increase the efficiency of practice, thisIn default practice weight ratio can be gradually reduced with the increase of update times so that current font feature combination and targetThe absolute value of the feature combination offset of character feature combination keeps relative stability, so that the update frequency of practice font sampleRate will not be too high.
Subsequent content processing module is updated practice font sample according to the combination of practice character feature, and uses and updatePractice font sample afterwards generates corresponding copybook information on a display screen, and the equipment of practising handwriting such as dot matrix pen can be used in the person that do not practise handwriting in this wayCopybook practice is carried out directly on clipboard.
Difference characteristic combination offset is obtained more than or equal to preset value as step S406 is calculated, then illustrates the current person's of practising handwriting wordBody sample and practice font differences between samples increase, and the person of practising handwriting continues to use current practice font sample and generates on a display screen pairThe copybook information answered carries out copybook practice.
It is subsequently returned to step S405, until the current font feature combination for person's font sample of currently not practising handwriting and standard letterThe feature difference of the target character feature combination of sample is less than some preset particular value, that is, the person that do not practise handwriting completes corresponding copybookPractice.
Preferably, content processing module can also obtain multiple difference characteristic offset components of difference characteristic combination offset,Such as the offset component, the offset component of font pen section feature or the stroke length feature of font stroke feature of font stroke featureOffset component etc..The difference characteristic offset component can preferably feed back the main original of the generation of difference characteristic combination offsetCause, that is, the current writing font of the person that do not practise handwriting is font architecture problem or stroke structure problem etc..
Subsequent content processing module can obtain maximum difference characteristic offset component, determine font update information.The fontUpdate information is to suggest that the person of practising handwriting reduces the suggestion of the difference characteristic offset component.Such as do not practise handwriting person one deflection of stroke length it is short,And the offset component of stroke length feature is maximum, then produces the font amendment letter for suggesting that the person of practising handwriting suitably lengthens stroke lengthBreath.
After content processing module obtains font update information, display screen or speaker font update information can be fed back to simultaneouslyThe person of practising handwriting, so that the person of practising handwriting improves the current person's of practising handwriting font, to reduce the difference characteristic offset.
Preferably, content processing module can also be based on maximum difference characteristic offset component, the determining and maximum differenceThe relevant specified practice font content of characteristic offset component.Such as the corresponding difference characteristic offset of the stroke bending features of the person of practising handwritingComponent is maximum, then the specified practice font content with more bending stroke such as sphere of movements for the elephants may be selected, to help the person of practising handwriting to spyDetermine problem to improve.After content processing module determines specified practice font content, it can be used specified practice font content to white silkHandwriting practicing body sample is updated, and corresponding copybook information is generated on electronic copybook using updated practice font sample,The equipment of practising handwriting such as the usable dot matrix pen of the person that do not practise handwriting in this way continue to carry out copybook practice on electronic copybook.
So i.e. complete the present embodiment intelligence auxiliary practise handwriting system generate copybook information process.
On the basis of first embodiment, the present embodiment intelligence auxiliary practise handwriting system according to current font feature combination withThe difference characteristic of corresponding practice character feature combination combines offset, to determine whether to carry out the update of practice font sample,Improve the update validity of the practice font of electronic copybook;Font amendment letter is obtained based on difference characteristic offset component simultaneouslyBreath can effectively help the person of practising handwriting to understand the defect that oneself is write, fast lifting writing level;Furthermore it is deviated based on difference characteristicComponent generates the practice font sample with the person's of practising handwriting personalization, further improves the copybook practice efficiency for the person of practising handwriting.
Referring to figure 5., Fig. 5 be intelligence auxiliary of the invention practise handwriting system generate copybook information fourth embodiment processFigure, the method that the present embodiment generates copybook information include:
Step S501 obtains the person's of practising handwriting font sample, and extracts the initial character feature combination in the person's of practising handwriting font sample;
Step S502 obtains the standard letter feature combination of preset multiple standard letter samples, and will be with initial fontThe standard letter feature combination of the feature combination the smallest standard letter sample of offset of feature combination is used as target character featureCombination;
Step S503 is combined according to the combination of initial character feature and target character feature, generates practice character feature groupIt closes;And according to the corresponding practice font sample of practice character feature combination producing;
Step S504 generates corresponding copybook information using practice font sample on electronic copybook;
Step S505 obtains the current person's of practising handwriting font sample with setting time interval, and extracts the current person's of practising handwriting font sampleCurrent font feature combination in this;
It is inclined to calculate the difference characteristic combination that the combination of current font feature is combined with corresponding practice character feature by step S506Shifting amount;
Step S507, as difference characteristic combination offset is less than preset value, the then feature that will be combined with current font featureThe standard letter feature combination for combining the smallest standard letter sample of offset is combined as target character feature;According to current wordBody characteristics combination and the combination of target character feature generate practice character feature combination;And according to practice character feature combination pairPractice font sample is updated, to use updated practice font sample to generate corresponding copybook letter on electronic copybookBreath;If difference characteristic combination offset is more than or equal to preset value, then current practice font sample is continued to use in electronic copybookIt is upper to generate corresponding copybook information.
The detailed process of each step of the method for copybook information is generated the following detailed description of the present embodiment.
The second embodiment of the method for the step S501 to step S504 of the present embodiment and above-mentioned generation copybook informationStep S301 is same or similar to step S304, in the first embodiment for specifically referring to the method for above-mentioned generation copybook informationDetailed description.
In step S505, content processing module obtains the current person's of the practising handwriting font sample for the person of practising handwriting with setting time intervalThis, to judge whether to need to be updated practice font sample.Current practise handwriting person of the subsequent content processing module to acquisitionFont sample is learnt, and the current font feature combination in the current person's of practising handwriting font sample is obtained.
In step S506, content processing module calculates current in the current person's of practising handwriting font sample that step S505 is obtainedThe difference characteristic that character feature combination is combined with the practice character feature of corresponding practice font sample combines offset;ObtainThe difference value of the current person's of practising handwriting font sample and the practice font sample of setting.
In step s 507, difference characteristic combination offset is obtained less than preset value as step S506 is calculated, then explanation is worked asBefore the very close setting of the person's of practising handwriting font sample practice font sample, then need to be updated practice font sample,It is more nearly to practice font sample with standard letter sample.
Specifically, content processing module the feature that current font feature combines can combine the smallest standard letter of offsetThe standard letter feature combination of sample is combined as target character feature.Since the person of practising handwriting is during practice, possible written wordCognition is closer to other standard letter samples, when being updated to the current person's of practising handwriting font sample, examines simultaneouslyConsider and whether need to be updated standard letter sample, to further decrease the practice difficulty for the person of practising handwriting.
Subsequent content processing module is combined according to the current font feature for person's font sample of currently not practising handwriting and standard letterThe corresponding target character feature combination of sample, generates practice character feature combination.It such as can be used default practice weight ratio to currentCharacter feature combination and the combination of target character feature are weighted operation, to generate practice character feature combination.
Here settable default practice weight ratio is 3:1 to 6:1, certainly due to the combination of current font feature and target fontThe feature combination offset of feature combination can be smaller and smaller with the carry out of practice, in order to further increase the efficiency of practice, thisIn default practice weight ratio can be gradually reduced with the increase of update times so that current font feature combination and targetThe absolute value of the feature combination offset of character feature combination keeps relative stability, so that the update frequency of practice font sampleRate will not be too high.
Subsequent content processing module is updated practice font sample according to the combination of practice character feature, and uses and updatePractice font sample afterwards generates corresponding copybook information on a display screen, and the equipment of practising handwriting such as dot matrix pen can be used in the person that do not practise handwriting in this wayCopybook practice is carried out directly on clipboard.
Difference characteristic combination offset is obtained more than or equal to preset value as step S506 is calculated, then illustrates the current person's of practising handwriting wordBody sample and practice font differences between samples increase, and the person of practising handwriting continues to use current practice font sample and generates on electronic copybookCorresponding copybook information carries out copybook practice.
It is subsequently returned to step S505, until the current font feature combination for person's font sample of currently not practising handwriting and standard letterThe feature difference of the target character feature combination of sample is less than some preset particular value, that is, the person that do not practise handwriting completes corresponding copybookPractice.
Preferably, content processing module can also obtain multiple difference characteristic offset components of difference characteristic combination offset,Such as the offset component, the offset component of font pen section feature or the stroke length feature of font stroke feature of font stroke featureOffset component etc..The difference characteristic offset component can preferably feed back the main original of the generation of difference characteristic combination offsetCause, that is, the current writing font of the person that do not practise handwriting is font architecture problem or stroke structure problem etc..
Subsequent content processing module can obtain maximum difference characteristic offset component, determine font update information.The fontUpdate information is to suggest that the person of practising handwriting reduces the suggestion of the difference characteristic offset component.Such as do not practise handwriting person one deflection of stroke length it is short,And the offset component of stroke length feature is maximum, then produces the font amendment letter for suggesting that the person of practising handwriting suitably lengthens stroke lengthBreath.
After content processing module obtains font update information, display screen or speaker font update information can be fed back to simultaneouslyThe person of practising handwriting, so that the person of practising handwriting improves the current person's of practising handwriting font, to reduce the difference characteristic offset.
Preferably, content processing module can also be based on maximum difference characteristic offset component, the determining and maximum differenceThe relevant specified practice font content of characteristic offset component.Such as the corresponding difference characteristic offset of the stroke bending features of the person of practising handwritingComponent is maximum, then the specified practice font content with more bending stroke such as sphere of movements for the elephants may be selected, to help the person of practising handwriting to spyDetermine problem to improve.After content processing module determines specified practice font content, it can be used specified practice font content to white silkHandwriting practicing body sample is updated, and corresponding copybook information is generated on electronic copybook using updated practice font sample,The equipment of practising handwriting such as the usable dot matrix pen of the person that do not practise handwriting in this way continue to carry out copybook practice on electronic copybook.
So i.e. complete the present embodiment intelligence auxiliary practise handwriting system generate copybook information process.
On the basis of second embodiment, the present embodiment intelligence auxiliary practise handwriting system according to current font feature combination withThe difference characteristic of corresponding practice character feature combination combines offset, to determine whether to carry out the update of practice font sample,And the current person's of practising handwriting font sample and standard letter sample are updated simultaneously, further improve the white silk of electronic copybookThe update validity of handwriting practicing body.
Illustrate that intelligence auxiliary of the invention is practised handwriting the concrete operating principle of system below by a specific embodiment.It please refers toFig. 6 a and Fig. 6 b, Fig. 6 a are that intelligence auxiliary of the invention is practised handwriting the interactive environment structural schematic diagram of system, and Fig. 6 b is of the inventionIntelligence auxiliary practise handwriting system corresponding specific embodiment flow chart.Intelligence auxiliary system 60 of practising handwriting includes for writingDot matrix pen 61, for interactive Multifunctional box 62 (with content processing module is equal to), the touch screen 63 for showing copybook information(being equal to clipboard and display screen) and for providing the background server 64 of function technological service.Wherein dot matrix pen 61 and touchingControl screen 63 is connect by Multifunctional box 62 with background server 64.After the copybook information generation device of the present embodiment may be provided atIn platform server 64 and/or Multifunctional box 62.
The practise handwriting copybook information product process of system of the intelligence auxiliary of this specific embodiment includes:
Step S601 carries out the font acquisition of calligraphist, as multiple standard letter samples.To multiple standard letter samplesFrom the features such as structure feature between font stroke feature, font pen section feature, font architecture feature, font radical feature and wordDimension carries out collection apparatus, obtains multiple standard letter feature combinations, so that calligraphist's font database to be stored in backstage and takeIt is engaged in device 64.
Step S602 carries out font acquisition by 61 couples of the dot matrix pen users that practise handwriting, as the person's of practising handwriting font sample.To practising handwritingPerson's font sample is from structure between font stroke feature, font pen section feature, font architecture feature, font radical feature and wordThe characteristic dimensions such as feature carry out collection apparatus, obtain initial character feature combination.
Step S603, background server 64 or Multifunctional box 62 are special using the combination of initial character feature and multiple standard lettersSign combination carries out font matching, finds the standard letter feature combination conduct of the feature combination the smallest standard letter sample of offsetThe combination of target character feature.
Step S604, Multifunctional box 62 is combined using default practice weight ratio to initial character feature and target font is specialSign combination is weighted operation, to generate practice character feature combination, and uses the corresponding white silk of practice character feature combination producingHandwriting practicing body sample.
Step S605, Multifunctional box 62 generate corresponding copybook information in touch screen according to the practice font sample of generation.The user that practises handwriting dot matrix pen 61 can be used to carry out copybook on touch screen 63 and do simulated exercises, while the writing font for the user that practises handwriting passes through61 real-time Transmission of dot matrix pen to Multifunctional box 62 is analyzed.
Step S606, Multifunctional box 62 or background server 64 use the current writing for the user that practises handwriting by setting time intervalFont extracts current font feature combination therein as the current person's of practising handwriting font sample.
Step S607, Multifunctional box 62 calculate the difference of the current person's of practising handwriting font sample and practice font sample, that is, calculateThe difference characteristic that the combination of current font feature is combined with corresponding practice character feature combines offset.
Step S608 is then combined using target character feature if difference is smaller and the combination of current font feature is to practiceCharacter feature combination is updated, i.e., is updated to practice font sample, so that the white silk of updated practice font sampleThe feature difference that the combination of handwriting practicing body characteristics is combined with target character feature is smaller.Here it can be directly updated by setting ratio,The weight of the combination of target character feature and the combination of current font feature is identical in i.e. updated practice character feature combination;?It can be updated by set amount, i.e., the feature combination offset that updated practice character feature combination is combined with current font featureIt measures roughly equal.
It such as differs greatly, then return step S606, until the user that practises handwriting completes corresponding copybook practice.
Step S609, Multifunctional box 62 can be raw based on the maximum difference characteristic offset component of difference characteristic combination offsetIt is fed back at font update information, and in such a way that screen is shown or speaker plays, to prompt user to improve current practiceWord person's font, to reduce the difference characteristic offset.It such as generates and corrects voice " longitudinal pen section feature is to the left ", " longitudinal pen sectionFeature is to the right " etc..
Step S610, Multifunctional box 62 can be raw based on the maximum difference characteristic offset component of difference characteristic combination offsetAt specified practice font content, practice font sample is updated using specified practice font content.Such as practise handwriting the portion of userFirst structural focus be separated by it is relatively close, can prompt user " increases of font left-right parts spacing " voice simultaneously, need to generate and controlThe practice font of structure carries out practice improvement as specified practice font content to practise handwriting user to specific content.
The intelligence auxiliary for completing the present embodiment in this way is practised handwriting the copybook information product process of system.
Intelligence auxiliary based on dot matrix pen of the invention practises handwriting system based on the combination of initial character feature and target fontFeature combination producing practices character feature combination, corresponds to since the practice character feature for the person of practising handwriting, the continuous renewal combinesPractice font practice difficulty it is lower, therefore improve the person of practising handwriting copybook practice efficiency, shorten the person of practising handwriting copybook practicePractise the time;The existing intelligence auxiliary of effective solution practise handwriting the copybook practice for the person of practising handwriting in system efficiency it is lower and overall practicePractise time longer technical problem.
" component ", " module ", " system ", " interface ", " process " etc. are generally intended to as used herein the termRefer to computer related entity: hardware, the combination of hardware and software, software or software in execution.For example, component can be but notIt is limited to be the process on a processor of running, processor, object, executable application, thread, program and/or the computer executed.By diagram, both the application and the controller run on the controller can be component.One or more components can haveIt is in the process executed and/or thread, and component can be located on a computer and/or be distributed in two or more metersBetween calculation machine.
Fig. 7 and the discussion below are provided to realizing that intelligence auxiliary of the present invention practises handwriting the content processing module of systemBrief, summary the description of the working environment of the electronic equipment at place.The working environment of Fig. 7 is only working environment appropriateOne example and suggestion is not intended to about the purposes of working environment or any restrictions of the range of function.
Although not requiring, in the common background that " computer-readable instruction " is executed by one or more electronic equipmentsLower description embodiment.Computer-readable instruction can be distributed via computer-readable medium and (be discussed below).It is computer-readableInstruction can be implemented as program module, for example executes particular task or realize the function of particular abstract data type, object, applicationProgramming interface (API), data structure etc..Typically, the function of the computer-readable instruction can be in various environment arbitrarilyCombination or distribution.
Fig. 7 illustrates one or more implementations in the content processing module for system of practising handwriting including intelligence auxiliary of the inventionThe example of the electronic equipment 712 of example.In one configuration, electronic equipment 712 includes at least one processing unit 716 and memory718.According to the exact configuration and type of electronic equipment, memory 718 can be (such as RAM), non-volatile of volatibilityCertain combination of (such as ROM, flash memory etc.) or both.The configuration is illustrated in Fig. 7 by dotted line 714.
In other embodiments, electronic equipment 712 may include supplementary features and/or function.For example, equipment 712 may be used alsoTo include additional storage device (such as can be removed and/or non-removable) comprising but be not limited to magnetic memory apparatus, light is depositedStorage device etc..This additional memory devices are illustrated in Fig. 7 by storage device 720.In one embodiment, for realizingThe computer-readable instruction of one or more embodiment provided in this article can be in storage device 720.Storage device 720 is alsoIt can store other computer-readable instructions for realizing operating system, application program etc..Computer-readable instruction can carryEnter in memory 718 and is executed by such as processing unit 716.
Term as used herein " computer-readable medium " includes computer storage medium.Computer storage medium includesThe volatibility that any method or technique of the information of such as computer-readable instruction or other data etc is realized for storageWith non-volatile, removable and nonremovable medium.Memory 718 and storage device 720 are the examples of computer storage medium.Computer storage medium includes but is not limited to that RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, number are logicalWith disk (DVD) or other light storage devices, cassette tape, tape, disk storage device or other magnetic storage apparatus or can useIn any other medium storage expectation information and can accessed by electronic equipment 712.Any such computer storage mediumIt can be a part of electronic equipment 712.
Electronic equipment 712 can also include the communication connection 726 for allowing electronic equipment 712 to communicate with other equipment.CommunicationConnection 726 can include but is not limited to modem, network interface card (NIC), integrated network interface, radiofrequency launcher/connectReceive device, infrared port, USB connection or other interfaces for electronic equipment 712 to be connected to other electronic equipments.Communication connection726 may include wired connection or wireless connection.Communication connection 726 can emit and/or receive communication medium.
Term " computer-readable medium " may include communication media.Communication media typically comprises computer-readable instructionOr other data in " the own modulated data signal " of such as carrier wave or other transmission mechanisms etc, and passed including any informationSend medium.Term " own modulated data signal " may include such signal: one or more of the characteristics of signals is according to generalMode of the information coding into signal is set or changed.
Electronic equipment 712 may include input equipment 724, such as keyboard, mouse, pen, voice-input device, touch inputEquipment, infrared camera, video input apparatus and/or any other input equipment.It also may include output equipment in equipment 712722, such as one or more displays, loudspeaker, printer and/or other any output equipments.Input equipment 724 and defeatedEquipment 722 can be connected to electronic equipment 712 via wired connection, wireless connection or any combination thereof out.In one embodimentIn, input equipment or output equipment from another electronic equipment be used as electronic equipment 712 input equipment 724 orOutput equipment 722.
The component of electronic equipment 712 can be connected by various interconnection (such as bus).Such interconnection may include outerEnclose component interconnection (PCI) (such as quick PCI), universal serial bus (USB), firewire (IEEE 1394), optical bus structure etc.Deng.In another embodiment, the component of electronic equipment 712 can pass through network interconnection.For example, memory 718 can be by positionMultiple physical memory cells arcs composition in different physical locations, by network interconnection.
It would be recognized by those skilled in the art that the storage equipment for storing computer-readable instruction can be across network pointCloth.For example, can store via the background server 730 that network 728 accesses for realizing one provided by the present invention orThe computer-readable instruction of multiple embodiments.The accessible background server 730 of electronic equipment 712 and downloading computer is readableWhat is instructed is part or all of for execution.Alternatively, electronic equipment 712 can download a plurality of computer-readable finger as neededIt enables or some instruction can execute at electronic equipment 712 and some instructions can execute at background server 730.
There is provided herein the various operations of embodiment.In one embodiment, one or more operations can be with structureAt the computer-readable instruction stored on one or more computer-readable mediums, will make to succeed in one's scheme when being executed by electronic equipmentIt calculates equipment and executes the operation.Describing the sequences of some or all of operations, to should not be construed as to imply that these operations necessarily suitableSequence is relevant.It will be appreciated by those skilled in the art that the alternative sequence of the benefit with this specification.Furthermore, it is to be understood thatNot all operation must exist in each embodiment provided in this article.
Moreover, although the disclosure, this field skill has shown and described relative to one or more implementationsArt personnel will be appreciated that equivalent variations and modification based on the reading and understanding to the specification and drawings.The disclosure include it is all thisThe modifications and variations of sample, and be limited only by the scope of the following claims.In particular, to by said modules (such as element,Resource etc.) the various functions that execute, term for describing such components is intended to correspond to the specified function for executing the componentThe random component (unless otherwise instructed) of energy (such as it is functionally of equal value), even if illustrated herein with execution in structureThe disclosure exemplary implementations in function open structure it is not equivalent.In addition, although the special characteristic of the disclosureThrough being disclosed relative to the only one in several implementations, but this feature can with such as can be to given or specific applicationFor be expectation and one or more other features combinations of other advantageous implementations.Moreover, with regard to term " includes ", " toolHave ", " containing " or its deformation be used in specific embodiments or claims for, such term be intended to with termThe similar mode of "comprising" includes.
Each functional unit in the embodiment of the present invention can integrate in a processing module, be also possible to each unit listIt is solely physically present, can also be integrated in two or more units in a module.Above-mentioned integrated module can both useFormal implementation of hardware can also be realized in the form of software function module.If the integrated module is with software functionThe form of module is realized and when sold or used as an independent product, also can store in computer-readable storage JieIn matter.Storage medium mentioned above can be read-only memory, disk or CD etc..Above-mentioned each device or system, can be withExecute the method in correlation method embodiment.
Although the serial number before embodiment only makes for convenience of description in conclusion the present invention is disclosed above with embodimentWith not causing to limit to the sequence of various embodiments of the present invention.Also, above-described embodiment is not intended to limit the invention, this fieldThose of ordinary skill, without departing from the spirit and scope of the present invention, can make it is various change and retouch, therefore it is of the inventionProtection scope subjects to the scope of the claims.