CN113805785A - Data set processing method and system based on stroke strength adjustment - Google Patents

Data set processing method and system based on stroke strength adjustment Download PDF

Info

Publication number
CN113805785A
CN113805785A CN202111373980.6A CN202111373980A CN113805785A CN 113805785 A CN113805785 A CN 113805785A CN 202111373980 A CN202111373980 A CN 202111373980A CN 113805785 A CN113805785 A CN 113805785A
Authority
CN
China
Prior art keywords
input
stroke
standard
width
difference value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111373980.6A
Other languages
Chinese (zh)
Inventor
苗峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Yingke Information Technology Co ltd
Original Assignee
Beijing Yingke Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Yingke Information Technology Co ltd filed Critical Beijing Yingke Information Technology Co ltd
Priority to CN202111373980.6A priority Critical patent/CN113805785A/en
Publication of CN113805785A publication Critical patent/CN113805785A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Abstract

The invention relates to a data set processing method and a system based on stroke strength adjustment, wherein the method comprises the steps of acquiring an input data cluster, wherein the data cluster comprises at least two strokes, and acquiring the input pressure of the data cluster according to a set pressure sensing array; the preset standard stroke width represents the stroke width under the standard input pressure; comparing the actual stroke width obtained by the pressure sensing array with the standard stroke width to obtain a comparison result; and prompting the input strength of the user according to the comparison result, and prompting the user to increase the input strength or decrease the input strength in the process of inputting the data cluster so as to enable the actual stroke width in the input process of the next stroke to be consistent with the standard stroke width. The input width detection of the strokes is used for realizing effective adjustment of the input force, so that the width of the input strokes accords with the actual width standard, the purpose of quick correction is realized, and the input efficiency of the data set is improved.

Description

Data set processing method and system based on stroke strength adjustment
Technical Field
The invention relates to the technical field of data processing, in particular to a data set processing method and system based on stroke strength adjustment.
Background
With the continuous updating of the electronic equipment, people can copy by means of the electronic equipment during calligraphy practice, paperless copying and repeated copying of copied handwriting are achieved, and the copying rate of the electronic equipment is improved.
Whether characters or images are copied, the characters or the images are usually copied according to the outlines of the characters or the images, but the existing electronic equipment cannot effectively correct the input content of a user, and the electronic equipment is more prone to a multiplexing function, so that handwriting input by the user cannot be effectively processed and operated, and the feedback input by the user is lacked.
Certainly, when the in-service use, the copybook is imitatied to the paper in addition, be provided with sunkenly on this copybook, the handwriting of user's input write along sunken can, make it is more convenient to imitate to the copybook, but because electronic equipment's input panel texture is touch display screen, lack the sunken of the fixed orbit of handwriting walking, can only write according to the stroke of imitative word in the copybook, lack the restriction to writing, make to write the custom time-consuming to the reality of establishing the user, consequently there is certain limitation to the processing of user's input data among the prior art, cause the difficult formation of the establishment of user writing custom.
Disclosure of Invention
Therefore, the invention provides a data set processing method and system based on stroke strength adjustment, which can solve the problem of limitation in processing of user input data in the prior art.
In order to achieve the above object, the present invention provides a data set processing method and system based on stroke strength adjustment, including:
acquiring an input data cluster, wherein the data cluster comprises at least two strokes, and acquiring the input pressure of the data cluster according to a set pressure sensing array in the process of inputting the data cluster;
a preset standard stroke width, wherein the stroke width represents the stroke width under the standard input pressure;
comparing the actual stroke width obtained by the pressure sensing array with the standard stroke width to obtain a comparison result;
prompting the input force of the user according to the comparison result, and prompting the user to increase the input force or decrease the input force in the process of inputting the data cluster so as to enable the actual stroke width in the input process of the next stroke to be consistent with the standard stroke width;
if the actual stroke width is less than or equal to the standard stroke width, the input force P needs to be increased so as to enable the actual stroke width to be consistent with the standard stroke width in the next stroke process;
if the actual stroke width is larger than the standard stroke width, the input force P is reduced in the next stroke input process, so that the actual stroke width and the standard stroke width are consistent in the next stroke process.
Further, in the process of prompting the input strength of the user according to the comparison result, when the actual stroke width W > the stroke standard width W0, calculating a width difference value Δ W = W-W0, presetting a first standard difference value Δ W1, a second standard difference value Δ W2 and a third standard difference value Δ W3, and setting a first adjusting coefficient k1, a second adjusting coefficient k2 and a third adjusting coefficient k3, wherein the first standard difference value < the second standard difference value < the third standard difference value;
when the input pressure is adjusted, the adjusting coefficient is selected to adjust the input force P according to the relationship between the calculated width difference value delta W and the first standard difference value delta W1, the second standard difference value delta W2 and the third standard difference value delta W3, so that the input process of the next stroke in the data set is input according to the adjusted input force, and the stroke width in the data set tends to the stroke standard width.
Further, the selecting an adjustment coefficient to adjust the input force P according to the relationship between the calculated width difference Δ W and the first standard deviation Δ W1, the second standard deviation Δ W2, and the third standard deviation Δ W3 includes:
if the calculated width difference value delta W is less than or equal to the first standard difference value delta W1, the input force P does not need to be adjusted;
if the second standard difference value delta W2 is larger than or equal to the calculated width difference value delta W1, the input force P is adjusted by adopting a first adjusting coefficient k 1;
if the third standard difference value delta W3 is larger than or equal to the calculated width difference value delta W2, adjusting the input force P by adopting a second adjusting coefficient k 2;
and if the calculated width difference value delta W is larger than the third standard difference value delta W3, adjusting the input force P by using a third adjusting coefficient k 3.
The pressure sensing array is provided with a first stroke, a second stroke … and an nth stroke, and when pressure sensing is performed, if the obtained sensing sequence of real-time pressure does not accord with the standard pressure sensing sequence, no feedback is performed on input information of a user.
Further, when the input strength P is adjusted by using a first adjustment coefficient k1, the adjusted input strength is recorded as P1' = P0 × (1-k 1), where P0 is a standard input strength of the user, and the standard input strength is determined according to the actual age of the user;
when the input force P is adjusted by adopting a second adjusting coefficient k2, the adjusted input force is recorded as P2' = P0 x (1-k 2);
when the input force P is adjusted by using the third adjustment coefficient k3, the adjusted input force is recorded as P3' = P0 × (1-k 3).
Further, the first adjustment coefficient k1= Δ W1/(Δ W1+ Δ W2+ Δ W3), the second adjustment coefficient k2= Δ W2/(Δ W1+ Δ W2+ Δ W3), and the third adjustment coefficient k3= Δ W3/(Δ W1+ Δ W2+ Δ W3).
Further, in the process of prompting the input strength of the user according to the comparison result, when the actual stroke width W is not more than the stroke standard width W0, correcting the input strength according to the magnitude of the positive difference value;
if W0-W is less than or equal to 0.2 xW 0, the input force is increased by 1.2 times;
if the input force is 0.8 xW 0 which is more than or equal to W0-W and more than 0.2 xW 0, the input force is increased by 1.5 times;
if W0-W >0.8 XW 0, the input force is increased by 1.8 times.
Further, for any data cluster, an improvement coefficient B is set, n strokes are set in the data set and are respectively n1, n2 … and nn, the improvement coefficient B is the sum of n-1 coefficients, n-1 coefficients are respectively set as B1, B2, bn-1, B = B1+ B2+ … + bn-1, wherein B1 represents a coefficient for adjusting n2 according to the actual stroke width and the stroke standard width of n1, and the like, and bn-1 represents a coefficient for adjusting nn according to the actual stroke width and the stroke standard width of nn-1;
a standard coefficient B0 is preset, if the improvement coefficient B is more than or equal to the standard coefficient B0, the input signal of a user is backstepping, and the input device is in failure and needs to be maintained;
if the improvement factor B < the standard factor B0, indicating that the user's input signal is progressing, the strokes in the data set are approaching a standard typeface.
In another aspect, the present invention further provides a stroke strength adjustment-based data set processing system using the stroke strength adjustment-based data set processing method, the system comprising: the acquisition module is used for acquiring an input data cluster, the data cluster comprises at least two strokes, and in the process of inputting the data cluster, the input pressure and the input sequence of the data cluster are acquired according to the set pressure sensing array;
a setting module for presetting a standard stroke width, wherein the stroke width represents the stroke width under a standard input pressure;
the comparison module is used for comparing the actual stroke width acquired by the pressure sensing array with the standard stroke width to acquire a comparison result;
and the prompting module is used for prompting the input force of the user according to the comparison result and prompting the user to increase the input force or decrease the input force in the process of inputting the data cluster so as to enable the actual stroke width in the input process of the next stroke to be consistent with the standard stroke width.
In the comparison module, if the actual stroke width is less than or equal to the standard stroke width, the input force P needs to be increased so as to enable the actual stroke width to be consistent with the standard stroke width in the process of performing the next stroke such as a transverse fold;
if the actual stroke width is larger than the standard stroke width, the input force P is reduced in the next stroke input process, so that the actual stroke width and the standard stroke width are consistent in the process of performing the next stroke such as a transverse fold.
Further, the comparing module is further configured to calculate a width difference Δ W = W-W0 when the actual stroke width W > the stroke standard width W0 in a process of prompting the input strength of the user according to the comparison result, preset a first standard difference Δ W1, a second standard difference Δ W2 and a third standard difference Δ W3, and further preset a first adjustment coefficient k1, a second adjustment coefficient k2 and a third adjustment coefficient k 3;
when the input pressure is adjusted, the adjusting coefficient is selected to adjust the input force P according to the relationship between the calculated width difference value delta W and the first standard difference value delta W1, the second standard difference value delta W2 and the third standard difference value delta W3, so that the input process of the next stroke in the data set is input according to the adjusted input force, and the stroke width in the data set tends to the stroke standard width.
Furthermore, the comparison module is further configured to, in the process of prompting the input strength of the user according to the comparison result, correct the input strength according to the magnitude of the positive difference value when the actual stroke width W is less than or equal to the stroke standard width W0;
if W0-W is less than or equal to 0.2 xW 0, the input force is increased by 1.2 times
If the input force is 0.8 xW 0 which is more than or equal to W0-W and more than 0.2 xW 0, the input force is increased by 1.5 times;
if W0-W >0.8 XW 0, the input force is increased to 1.8 times of the original force.
Compared with the prior art, the method has the advantages that the input force is effectively adjusted by setting the first standard difference value delta W1, the second standard difference value delta W2, the third standard difference value delta W3, the first adjusting coefficient k1, the second adjusting coefficient k2 and the third adjusting coefficient k3 and according to the relationship among the calculated width difference value delta W, the first standard difference value delta W1, the second standard difference value delta W2 and the third standard difference value delta W3, so that the input stroke width accords with the actual width standard, the error posture of a user in the input process is improved, the real-time feedback of the user is improved, the purpose of quick correction is realized, and the input efficiency of a data set is improved.
Particularly, when the calculated width difference Δ W is in different interval ranges, if the difference is large, it indicates that the actual width deviation reference is too large, and accordingly, the input force needs to be adjusted a little more, so as to adjust the amplitude of the input force according to the actual stroke width, so that the adjustment of the stroke input force in the data set is more intelligent, and the consistency of the stroke width in the data set is improved.
Particularly, the input state of the later stroke is adjusted according to the input state of the previous stroke and the input state of the last stroke by the strokes in the data set according to the sequence, so that the input strength of the user can meet the actual requirement, the stroke width of the middle stroke in the data set continuously improves the precision, the character or the picture input by the last user is more perfect, the actual requirement is met, the input efficiency of the user can be improved, the input of the user is ensured to continuously trend towards the standard of the data set, and the input efficiency is improved.
In particular, the specific calculation methods of the first adjustment coefficient, the second adjustment coefficient and the third adjustment coefficient are defined, so that the input force prompting the user is more efficient in practical application, and the input efficiency of the user is ensured.
Particularly, when the actual stroke width W is less than or equal to the stroke standard width W0, the input state in the next input process is adjusted conveniently according to the current input state by adopting different increasing amplitudes of the input force according to the magnitude of the positive difference value, so that the next input process is a dynamic cycle process in the input process, the next input process is corrected according to the parameter of the previous input state, the feedback effect of the next input process according to the previous input process is more accurate, and the input efficiency is improved.
Particularly, the input state is comprehensively evaluated by setting the standard coefficient, and the comprehensive evaluation of the input device or the user state is realized according to the evaluation result, so that the actual state of the user can be conveniently determined according to the actual improvement coefficient, the user is substantially stimulated, the enthusiasm of the input device used by the user is improved, and the utilization rate of the equipment is improved.
Drawings
FIG. 1 is a schematic flow chart illustrating a data set processing method based on stroke strength adjustment according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a data set processing system based on stroke strength adjustment according to an embodiment of the present invention.
Detailed Description
In order that the objects and advantages of the invention will be more clearly understood, the invention is further described below with reference to examples; it should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and do not limit the scope of the present invention.
It should be noted that in the description of the present invention, the terms of direction or positional relationship indicated by the terms "upper", "lower", "left", "right", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, which are only for convenience of description, and do not indicate or imply that the device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention.
Furthermore, it should be noted that, in the description of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Referring to fig. 1, a data set processing method based on stroke strength adjustment according to an embodiment of the present invention includes:
step S100: acquiring an input data cluster, wherein the data cluster comprises at least two strokes, and acquiring the input pressure of the data cluster according to a set pressure sensing array in the process of inputting the data cluster;
step S200: a preset standard stroke width, wherein the stroke width represents the stroke width under the standard input pressure;
step S300: comparing the actual stroke width obtained by the pressure sensing array with the standard stroke width to obtain a comparison result;
step S400: and prompting the input strength of the user according to the comparison result, and prompting the user to increase the input strength or decrease the input strength in the process of inputting the data cluster so as to enable the actual stroke width in the input process of the next stroke to be consistent with the standard stroke width.
Specifically, in the embodiment of the present invention, a data cluster is a stroke of an input character, and is described by taking "middle" as an example, where the data cluster includes "vertical", "horizontal folding", "horizontal" and "vertical", when an input vertical is received, a stroke width of the actually input vertical in an extending direction thereof is determined, and if the actual stroke width is not greater than a standard stroke width, an input force P needs to be increased, so that the actual stroke width and the standard stroke width tend to be consistent in a process of performing a next stroke such as horizontal folding;
if the actual stroke width is larger than the standard stroke width, the input force P is reduced in the next stroke input process, so that the actual stroke width and the standard stroke width are consistent in the process of performing the next stroke such as a transverse fold.
Specifically, in the actual application process, if the user does not complete writing according to the agreed sequence after inputting the vertical stroke, it indicates that the copying sequence of the user is wrong, for example, the user inputs the vertical stroke first and then inputs the middle vertical stroke, at this time, the medium receiving the input of the user does not display the wrong handwriting, so as to guide the user to input the correct input stroke sequence, and improve the guiding effect on the user.
Specifically, when the received input sequence is correct, the input strength of the next stroke is adjusted according to the input handwriting of the previous stroke, so that the input strength of the strokes in the data cluster is dynamically adjusted, and the consistency of the data stroke width in the data set is improved.
Specifically, in the process of prompting the input strength of the user according to the comparison result, when the actual stroke width W > the stroke standard width W0, the width difference Δ W = W-W0 is calculated, the first standard difference Δ W1, the second standard difference Δ W2 and the third standard difference Δ W3 are preset, and the first standard difference < the second standard difference < the third standard difference, and the first adjustment coefficient k1, the second adjustment coefficient k2 and the third adjustment coefficient k3 are also set;
when the input pressure is adjusted, the adjusting coefficient is selected to adjust the input force P according to the relationship between the calculated width difference value delta W and the first standard difference value delta W1, the second standard difference value delta W2 and the third standard difference value delta W3, so that the input process of the next stroke in the data set is input according to the adjusted input force, the stroke width in the data set tends to the stroke standard width, and the problem of improper input force during input is corrected.
Specifically, the embodiment of the invention realizes effective adjustment of the input force by setting the first standard difference value Δ W1, the second standard difference value Δ W2, the third standard difference value Δ W3, the first adjustment coefficient k1, the second adjustment coefficient k2 and the third adjustment coefficient k3, and according to the relationship between the calculated width difference value Δ W and the first standard difference value Δ W1, the second standard difference value Δ W2 and the third standard difference value Δ W3, so that the input stroke width conforms to the actual width standard, the error posture of the user in the input process is improved, the real-time feedback to the user is improved, the purpose of quick correction is realized, and the input efficiency of the data set is improved.
Specifically, the selecting an adjustment coefficient to adjust the input force P according to the relationship between the calculated width difference Δ W and the first standard deviation Δ W1, the second standard deviation Δ W2 and the third standard deviation Δ W3 includes:
if the calculated width difference value delta W is less than or equal to the first standard difference value delta W1, the input force P does not need to be adjusted;
if the second standard difference value delta W2 is larger than or equal to the calculated width difference value delta W1, the input force P is adjusted by adopting a first adjusting coefficient k 1;
if the third standard difference value delta W3 is larger than or equal to the calculated width difference value delta W2, adjusting the input force P by adopting a second adjusting coefficient k 2;
and if the calculated width difference value delta W is larger than the third standard difference value delta W3, adjusting the input force P by using a third adjusting coefficient k 3.
Specifically, when the calculated width difference Δ W is in different interval ranges, if the difference is large, it indicates that the actual width deviation reference is too large, and accordingly more adjustments are needed to be made to the input strength, so that the amplitude of the input strength is adjusted according to the actual stroke width, adjustment of the stroke input strength in the data set is more intelligent, and the consistency of the stroke width in the data set is improved.
Specifically, when the input strength P is adjusted by using a first adjustment coefficient k1, the adjusted input strength is recorded as P1' = P0 × (1-k 1), where P0 is the standard input strength of the user, and the standard input strength is determined according to the actual age of the user;
when the input force P is adjusted by adopting a second adjusting coefficient k2, the adjusted input force is recorded as P2' = P0 x (1-k 2);
when the input force P is adjusted by using the third adjustment coefficient k3, the adjusted input force is recorded as P3' = P0 × (1-k 3).
Specifically, according to the strokes in the data set, the input state of the subsequent stroke is adjusted according to the input sequence of the strokes in the data set and the input state of the previous stroke, so that the input strength of the user can meet the actual requirement, the stroke width of the strokes in the data set continuously improves the precision, the character or the picture input by the user finally is more perfect, the actual requirement is met, the input efficiency of the user can be improved, the input of the user is ensured to continuously trend towards the standard of the data set, and the input efficiency is improved.
Specifically, the first adjustment coefficient k1= Δ W1/(Δ W1+ Δ W2+ Δ W3), the second adjustment coefficient k2= Δ W2/(Δ W1+ Δ W2+ Δ W3), and the third adjustment coefficient k3= Δ W3/(Δ W1+ Δ W2+ Δ W3).
Specifically, the specific calculation methods of the first adjustment coefficient, the second adjustment coefficient and the third adjustment coefficient are defined, so that the input force for prompting the user is more efficient in practical application, and the input efficiency of the user is ensured.
Specifically, in the process of prompting the input strength of the user according to the comparison result, when the actual stroke width W is not more than the stroke standard width W0, the input strength is corrected according to the magnitude of the positive difference value;
if W0-W is less than or equal to 0.2 xW 0, the input force is increased by 1.2 times
If the input force is 0.8 xW 0 which is more than or equal to W0-W and more than 0.2 xW 0, the input force is increased by 1.5 times;
if W0-W >0.8 XW 0, the input force is increased to 1.8 times of the original force.
Specifically, when the actual stroke width W is less than or equal to the stroke standard width W0, the input state in the next input process is adjusted according to the current input state by adopting different increasing amplitudes of the input force according to the magnitude of the positive difference value, so that the next input process is a dynamic cycle process in the input process, the next input process is corrected according to the parameter of the previous input state, the feedback effect of the next input process according to the previous input process is more accurate, and the input efficiency is improved.
Specifically, for any data cluster, a modification coefficient B is set, n strokes are set in the data set, and n1, n2 … and nn are set respectively, the modification coefficient B is the sum of n-1 coefficients, n-1 coefficients are set as B1, B2, bn-1, B = B1+ B2+ … + bn-1, wherein B1 represents a coefficient for adjusting n2 according to the actual stroke width and the stroke standard width of n1, and by analogy, bn-1 represents a coefficient for adjusting nn according to the actual stroke width and the stroke standard width of nn-1;
a standard coefficient B0 is preset, if the improvement coefficient B is more than or equal to the standard coefficient B0, the input signal of a user is backstepping, and the input device is in failure and needs to be maintained;
if the improvement factor B < the standard factor B0, this indicates that the user's input signal is progressing, and that the user is progressing for strokes in the data set that are approaching the standard typeface.
Specifically, the embodiment of the invention carries out comprehensive evaluation on the input state by setting the standard coefficient, and realizes comprehensive evaluation on the input device or the user state according to the evaluation result, so that the actual state of the user can be conveniently determined according to the actual improvement coefficient, the actual stimulation is carried out on the user, the enthusiasm of the input device used by the user is improved, and the utilization rate of the equipment is improved.
Specifically, as shown in fig. 2, an embodiment of the present invention further provides a data set processing system based on stroke strength adjustment, where the system includes:
the acquisition module 10 is configured to acquire an input data cluster, where the data cluster includes at least two strokes, and in the process of inputting the data cluster, input pressure and an input order of the data cluster are acquired according to a set pressure sensing array;
a setting module 20 for setting a standard stroke width in advance, wherein the stroke width represents the stroke width under the standard input pressure;
the comparison module 30 is used for comparing the actual stroke width obtained by the pressure sensing array with the standard stroke width to obtain a comparison result;
and the prompting module 40 is used for prompting the input strength of the user according to the comparison result, and prompting the user to increase the input strength or decrease the input strength in the process of inputting the data cluster so as to enable the actual stroke width in the input process of the next stroke to be consistent with the standard stroke width.
In the comparison module, if the actual stroke width is less than or equal to the standard stroke width, the input force P needs to be increased so as to enable the actual stroke width to be consistent with the standard stroke width in the process of performing the next stroke such as a transverse fold;
if the actual stroke width is larger than the standard stroke width, the input force P is reduced in the next stroke input process, so that the actual stroke width and the standard stroke width are consistent in the process of performing the next stroke such as a transverse fold.
Specifically, the comparing module is further configured to calculate a width difference Δ W = W-W0 when the actual stroke width W > the stroke standard width W0 in the process of prompting the input strength of the user according to the comparison result, preset a first standard difference Δ W1, a second standard difference Δ W2 and a third standard difference Δ W3, and further preset a first adjusting coefficient k1, a second adjusting coefficient k2 and a third adjusting coefficient k 3;
when the input pressure is adjusted, the adjusting coefficient is selected to adjust the input force P according to the relationship between the calculated width difference value delta W and the first standard difference value delta W1, the second standard difference value delta W2 and the third standard difference value delta W3, so that the input process of the next stroke in the data set is input according to the adjusted input force, the stroke width in the data set tends to the stroke standard width, and the problem of improper input force during input is corrected.
Specifically, the comparison module is further configured to, in the process of prompting the input strength of the user according to the comparison result, correct the input strength according to the magnitude of the positive difference value when the actual stroke width W is not greater than the stroke standard width W0;
if W0-W is less than or equal to 0.2 xW 0, the input force is increased by 1.2 times
If the input force is 0.8 xW 0 which is more than or equal to W0-W and more than 0.2 xW 0, the input force is increased by 1.5 times;
if W0-W >0.8 XW 0, the input force is increased by 1.8 times.
Specifically, the stroke strength adjustment-based data set processing system provided in the embodiment of the present invention belongs to an application system of the stroke strength adjustment-based data set processing method, and the system is configured to execute the stroke strength adjustment-based data set processing method, and can achieve the same technical effect as the data set processing method, which is not described herein again.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention; various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A data set processing method based on stroke strength adjustment is characterized by comprising the following steps:
acquiring an input data cluster, wherein the data cluster comprises at least two strokes, and acquiring the input pressure of the data cluster according to a set pressure sensing array in the process of inputting the data cluster;
a preset stroke standard width, wherein the stroke standard width represents the width of a stroke formed under a standard input pressure;
comparing the actual stroke width obtained by the pressure sensing array with the standard stroke width to obtain a comparison result;
prompting the input force of the user according to the comparison result, and prompting the user to increase the input force or decrease the input force in the process of inputting the data cluster so as to enable the actual stroke width in the input process of the next stroke to be consistent with the standard stroke width;
if the actual stroke width is less than or equal to the standard stroke width, the input force P needs to be increased so as to enable the actual stroke width to be consistent with the standard stroke width in the next stroke process;
if the actual stroke width is larger than the standard stroke width, reducing the input force P in the next stroke input process so as to enable the actual stroke width to be consistent with the standard stroke width in the next stroke process;
in the process of prompting the input strength of the user according to the comparison result, when the actual stroke width W > the stroke standard width W0, calculating a width difference value delta W = W-W0, presetting a first standard difference value delta W1, a second standard difference value delta W2 and a third standard difference value delta W3, and setting a first adjusting coefficient k1, a second adjusting coefficient k2 and a third adjusting coefficient k3, wherein the first standard difference value delta W1, the second standard difference value delta W2 and the third standard difference value delta W3 are preset;
when the input pressure is adjusted, the adjusting coefficient is selected to adjust the input force P according to the relationship between the calculated width difference value delta W and the first standard difference value delta W1, the second standard difference value delta W2 and the third standard difference value delta W3, so that the input process of the next stroke in the data set is input according to the adjusted input force, and the stroke width in the data set tends to the stroke standard width.
2. The stroke strength adjustment based data set processing method of claim 1, further comprising:
the method comprises the steps that a standard pressure sensing sequence is preset, the standard pressure sensing sequence is the sequence of strokes in a data cluster, a first stroke, a second stroke … and an nth stroke are arranged in the data cluster, and when pressure sensing is carried out on a pressure sensing array, if the obtained sensing sequence of real-time pressure does not accord with the standard pressure sensing sequence, input information of a user is not fed back.
3. The stroke force adjustment based data set processing method according to claim 1,
selecting an adjustment coefficient to adjust the input force P according to the relationship between the calculated width difference value Δ W and the first standard difference value Δ W1, the second standard difference value Δ W2 and the third standard difference value Δ W3 comprises:
if the calculated width difference value delta W is less than or equal to the first standard difference value delta W1, the input force P does not need to be adjusted;
if the second standard difference value delta W2 is larger than or equal to the calculated width difference value delta W1, the input force P is adjusted by adopting a first adjusting coefficient k 1;
if the third standard difference value delta W3 is larger than or equal to the calculated width difference value delta W2, adjusting the input force P by adopting a second adjusting coefficient k 2;
and if the calculated width difference value delta W is larger than the third standard difference value delta W3, adjusting the input force P by using a third adjusting coefficient k 3.
4. A stroke force adjustment based data set processing method according to claim 3,
when the input strength P is adjusted by adopting a first adjusting coefficient k1, the adjusted input strength is recorded as P1' = P0 x (1-k 1), wherein P0 is the standard input strength of the user, and the standard input strength is determined according to the actual age of the user;
when the input force P is adjusted by adopting a second adjusting coefficient k2, the adjusted input force is recorded as P2' = P0 x (1-k 2);
when the input force P is adjusted by using the third adjustment coefficient k3, the adjusted input force is recorded as P3' = P0 × (1-k 3).
5. The stroke strength adjustment-based data set processing method as claimed in claim 4, wherein the first adjustment coefficient k1= Δ W1/(Δ W1+ Δ W2+ Δ W3), the second adjustment coefficient k2= Δ W2/(Δ W1+ Δ W2+ Δ W3), and the third adjustment coefficient k3= Δ W3/(Δ W1+ Δ W2+ Δ W3).
6. A stroke force adjustment based data set processing method according to claim 5,
in the process of prompting the input force of the user according to the comparison result, when the actual stroke width W is not more than the stroke standard width W0, correcting the input force according to the magnitude of the positive difference value;
if W0-W is less than or equal to 0.2 xW 0, the input force is increased by 1.2 times;
if the input force is 0.8 xW 0 which is more than or equal to W0-W and more than 0.2 xW 0, the input force is increased by 1.5 times;
if W0-W >0.8 XW 0, the input force is increased by 1.8 times.
7. The stroke force adjustment based data set processing method according to claim 6,
setting an improvement coefficient B for any data cluster, setting n strokes in the data set as n1, n2 … and nn, wherein the improvement coefficient B is the sum of n-1 coefficients, and n-1 coefficients are respectively set as B1, B2, bn-1, B = B1+ B2+ … + bn-1, wherein B1 represents a coefficient for adjusting n2 according to the actual stroke width and the standard stroke width of n1, and by analogy, bn-1 represents a coefficient for adjusting nn according to the actual stroke width and the standard stroke width of nn-1;
a standard coefficient B0 is preset, if the improvement coefficient B is more than or equal to the standard coefficient B0, the input signal of a user is backstepping, and the input device is in failure and needs to be maintained;
if the improvement factor B < the standard factor B0, indicating that the user's input signal is progressing, the strokes in the data set are approaching a standard typeface.
8. A stroke strength adjustment based data set processing system applying the stroke strength adjustment based data set processing method of any one of claims 1 to 7,
the acquisition module is used for acquiring an input data cluster, the data cluster comprises at least two strokes, and in the process of inputting the data cluster, the input pressure and the input sequence of the data cluster are acquired according to the set pressure sensing array;
a setting module for presetting a standard stroke width, wherein the stroke width represents the stroke width under a standard input pressure;
the comparison module is used for comparing the actual stroke width acquired by the pressure sensing array with the standard stroke width to acquire a comparison result;
the prompting module is used for prompting the input force of the user according to the comparison result, and prompting the user to increase the input force or decrease the input force in the process of inputting the data cluster so as to enable the actual stroke width in the input process of the next stroke to be consistent with the standard stroke width;
in the comparison module, if the actual stroke width is less than or equal to the standard stroke width, the input force P needs to be increased so as to enable the actual stroke width to be consistent with the standard stroke width in the process of performing the next stroke such as a transverse fold;
if the actual stroke width is larger than the standard stroke width, the input force P is reduced in the next stroke input process, so that the actual stroke width and the standard stroke width are consistent in the process of performing the next stroke such as a transverse fold.
9. A stroke force adjustment based data set processing system according to claim 8,
the comparison module is further used for calculating a width difference value delta W = W-W0 when the actual stroke width W > the stroke standard width W0 in the process of prompting the input strength of the user according to the comparison result, presetting a first standard difference value delta W1, a second standard difference value delta W2 and a third standard difference value delta W3, and setting a first adjusting coefficient k1, a second adjusting coefficient k2 and a third adjusting coefficient k3, wherein the first standard difference value is less than the second standard difference value < the third standard difference value;
when the input pressure is adjusted, the adjusting coefficient is selected to adjust the input force P according to the relationship between the calculated width difference value delta W and the first standard difference value delta W1, the second standard difference value delta W2 and the third standard difference value delta W3, so that the input process of the next stroke in the data set is input according to the adjusted input force, and the stroke width in the data set tends to the stroke standard width.
10. A stroke force adjustment based data set processing system according to claim 9,
the comparison module is also used for correcting the input strength according to the magnitude of the positive difference value when the actual stroke width W is less than or equal to the stroke standard width W0 in the process of prompting the input strength of the user according to the comparison result;
if W0-W is less than or equal to 0.2 xW 0, the input force is increased to 1.2 times of the original force;
if the input force is 0.8 xW 0 which is more than or equal to W0-W and more than 0.2 xW 0, the input force is increased by 1.5 times;
if W0-W >0.8 XW 0, the input force is increased to 1.8 times of the original force.
CN202111373980.6A 2021-11-19 2021-11-19 Data set processing method and system based on stroke strength adjustment Pending CN113805785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111373980.6A CN113805785A (en) 2021-11-19 2021-11-19 Data set processing method and system based on stroke strength adjustment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111373980.6A CN113805785A (en) 2021-11-19 2021-11-19 Data set processing method and system based on stroke strength adjustment

Publications (1)

Publication Number Publication Date
CN113805785A true CN113805785A (en) 2021-12-17

Family

ID=78938401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111373980.6A Pending CN113805785A (en) 2021-11-19 2021-11-19 Data set processing method and system based on stroke strength adjustment

Country Status (1)

Country Link
CN (1) CN113805785A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101551724A (en) * 2008-03-31 2009-10-07 联想(北京)有限公司 Method and device for writing characters on touch screen
CN103677326A (en) * 2012-09-19 2014-03-26 深圳市经纬科技有限公司 Pressure compensation method and system of electromagnetic pen and terminal
TW201528111A (en) * 2014-01-08 2015-07-16 Acer Inc Stroke adjusting method and electronic apparatus use the same
CN112269481A (en) * 2020-10-27 2021-01-26 维沃移动通信有限公司 Method and device for controlling friction force adjustment and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101551724A (en) * 2008-03-31 2009-10-07 联想(北京)有限公司 Method and device for writing characters on touch screen
CN103677326A (en) * 2012-09-19 2014-03-26 深圳市经纬科技有限公司 Pressure compensation method and system of electromagnetic pen and terminal
TW201528111A (en) * 2014-01-08 2015-07-16 Acer Inc Stroke adjusting method and electronic apparatus use the same
CN112269481A (en) * 2020-10-27 2021-01-26 维沃移动通信有限公司 Method and device for controlling friction force adjustment and electronic equipment

Similar Documents

Publication Publication Date Title
JP5722482B2 (en) Image processing system and image processing method
CN113869293B (en) Lane line recognition method and device, electronic equipment and computer readable medium
CN111311485B (en) Image processing method and related device
CN111142770A (en) Method for generating pen point and processing device
CN106886358A (en) The method and system of mobile terminal loudness control
CN111986117A (en) System and method for correcting arithmetic operation
CN109241822A (en) A kind of multi-faceted method for detecting human face and system based on MTCNN
CN113805785A (en) Data set processing method and system based on stroke strength adjustment
CN109857322B (en) Android-based painting brush width control method and device
Shen et al. Fast adaptive optimization of weighted vector median filters
EP1093078A3 (en) Reducing apprearance differences between coded and noncoded units of text
EP1950699A2 (en) Reshaping a camera image
CN107506077A (en) A kind of resistive touch screen calibration method
CN102183923B (en) Computer related event executing control method and system
CN111063005B (en) Handwriting processing method and device
CN110515884B (en) Construction site reinforcing bar range unit based on image analysis
CN116309941B (en) Mobile equipment lineation line correction method and system
CN111223165A (en) Method, device and equipment for generating saw-free signature picture
CN111124180B (en) Method and device for generating handwriting lines
CN111297477B (en) Preparation method of full-information scoliosis model by compounding body surface data and X-ray film
CN113362418A (en) Curve smoothing method, system, equipment and storage medium based on Bezier curve
JPS5864563A (en) Interactive daily schedule device
CN115454236A (en) Gesture cursor mapping method based on machine vision, network equipment and storage medium
CN116820369A (en) Self-adaptive adjustment display system and display method for rivet mark point on image
CN115904158A (en) Gesture control method and device of three-dimensional model and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20211217

RJ01 Rejection of invention patent application after publication