CN107608619A - Person's handwriting curve generation method, device, equipment and storage medium for touch screen - Google Patents

Person's handwriting curve generation method, device, equipment and storage medium for touch screen Download PDF

Info

Publication number
CN107608619A
CN107608619A CN201710852514.3A CN201710852514A CN107608619A CN 107608619 A CN107608619 A CN 107608619A CN 201710852514 A CN201710852514 A CN 201710852514A CN 107608619 A CN107608619 A CN 107608619A
Authority
CN
China
Prior art keywords
touch point
distance
point
touch
setting
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
CN201710852514.3A
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen Information Technology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shizhen Information Technology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201710852514.3A priority Critical patent/CN107608619A/en
Priority to PCT/CN2017/116744 priority patent/WO2019056611A1/en
Publication of CN107608619A publication Critical patent/CN107608619A/en
Pending legal-status Critical Current

Links

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

Abstract

Include the embodiment of the invention discloses a kind of for the person's handwriting curve generation method of touch screen, device, equipment and storage medium, methods described:Obtain the touch data of each touch point in the touch operation of user;The distance between adjacent touch point is predicted according to the prediction rule of setting, to obtain the Prediction distance between each adjacent touch point;When the actual range between the Prediction distance and adjacent touch point meets the distance condition of setting, it is determined that touch point corresponding to the Prediction distance is control point;The control point is generated into person's handwriting curve according to the Bezier of setting.Solve the problems, such as, using broken line caused by Bezier drafting person's handwriting curve, to make the person's handwriting curve of drafting rounder and more smooth.

Description

Person's handwriting curve generation method, device, equipment and storage medium for touch screen
Technical field
The present invention relates to touch technology, more particularly to a kind of person's handwriting curve generation method, device, equipment for touch screen And storage medium.
Background technology
In some existing drawing softwares or drawing tools, generally generated using Bessel Formula algorithm according to control point Bezier.
In existing intelligent interaction flat board, generally use touch data point draws Bezier as control point. When touch apparatus is because sample rate is low or noise jamming produces abnormal touch data.If by the data point of abnormal touch data Bezier is drawn as control point, will result in broken line phenomenon.
The content of the invention
The embodiment of the present invention provides a kind of person's handwriting curve generation method, device, equipment and storage medium for touch screen, Solve the problems, such as, using broken line caused by Bezier drafting person's handwriting curve, to make the person's handwriting curve of drafting rounder and more smooth.
In a first aspect, the embodiments of the invention provide a kind of person's handwriting curve generation method for touch screen, methods described Including:
Obtain the touch data of each touch point in the touch operation of user;
The distance between adjacent touch point is predicted according to the prediction rule of setting, to obtain each adjacent touch Prediction distance between point;
When the actual range between the Prediction distance and adjacent touch point meets the distance condition of setting, then really Touch point corresponding to the fixed Prediction distance is control point;
The control point is generated into person's handwriting curve according to the Bezier of setting.
Second aspect, the embodiment of the present invention additionally provide a kind of person's handwriting curve generating means for touch screen, the dress Put including:
Data acquisition module, the touch data of each touch point in the touch operation for obtaining user;
Range prediction module, the distance between adjacent touch point is predicted for the prediction rule according to setting, with Obtain the Prediction distance between each adjacent touch point;
Control point determining module, for meeting to set when the actual range between the Prediction distance and adjacent touch point During fixed distance condition, it is determined that touch point corresponding to the Prediction distance is control point;
Person's handwriting curve generation module, for the control point to be generated into person's handwriting curve according to the Bezier of setting.
The third aspect, the embodiment of the present invention additionally provide a kind of computer equipment, including memory, processor and are stored in Realized on memory and the computer program that can run on a processor, during the computing device described program as the present invention is real Apply any described person's handwriting curve generation method for touch screen in example.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer Program, realize that the person's handwriting curve for touch screen as described in any in the embodiment of the present invention is given birth to when the program is executed by processor Into method.
In the embodiment of the present invention, the touch data of each touch point in the touch operation by obtaining user, according to setting Prediction rule is predicted to the distance between adjacent touch point, to obtain the Prediction distance between each adjacent touch point, Then judge when the actual range between the Prediction distance and adjacent touch point meets the distance condition of setting, then really Touch point corresponding to the fixed Prediction distance is control point, and the control point is generated into person's handwriting song according to the Bezier of setting Line.Solve the problems, such as, using broken line caused by Bezier drafting person's handwriting curve, to make the person's handwriting curve of drafting rounder and more smooth.
Brief description of the drawings
Fig. 1 a are a kind of flow charts of person's handwriting curve generation method for touch screen in the embodiment of the present invention one;
Fig. 1 b are the situation schematic diagrams for existing in a kind of touch data that the embodiment of the present invention one is applicable abnormity point;
Fig. 1 c are a kind of schematic diagrames for Bezier drawn out according to Fig. 1 b that the embodiment of the present invention one is applicable;
A kind of schematic diagram for filtering out the Bezier after abnormity point that Fig. 1 d are that the embodiment of the present invention one is applicable;
Fig. 2 a are a kind of flow charts of person's handwriting curve generation method for touch screen in the embodiment of the present invention two;
Fig. 2 b are the relative position signals of each touch point when a kind of finger that the embodiment of the present invention two is applicable touches screen Figure;
Fig. 3 a are a kind of flow charts of person's handwriting curve generation method for touch screen in the embodiment of the present invention three;
Fig. 3 b are the Bei Sai that a kind of unused this programme (when abnormity point be present) that the embodiment of the present invention three is applicable is drawn The schematic diagram of your curve;
Fig. 3 c are the Bezier that one kind that the embodiment of the present invention three is applicable uses that this programme (after filtering out abnormity point) is drawn The schematic diagram of curve;
Fig. 4 is a kind of structural representation of person's handwriting curve generating means for touch screen in the embodiment of the present invention four;
Fig. 5 is a kind of structural representation of computer equipment in the embodiment of the present invention five.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 a are a kind of flow chart for person's handwriting curve generation method for touch screen that the embodiment of the present invention one provides, this Embodiment is applicable to the situation using Bezier generation person's handwriting curve, and this method can be the use that embodiment provides by the present invention Performed in the person's handwriting curve generating means of touch screen, the device can be realized by the way of software and/or hardware.Reference chart 1a, this method specifically may include steps of:
S110, obtain user touch operation in each touch point touch data.
Specifically, when user is carrying out touch operation on smart machine, each touch point in the touch operation of user is obtained Touch data.Exemplary, the touch operation of user can carry out touch generation to touch-screen by the finger of user, Can be that operation generation is carried out to touch-screen by felt pen, wherein, touch-screen can be capacitance plate, electromagnetic screen or infrared touch Screen etc..Optionally, when touch-screen is electromagnetic screen, used time writer as felt pen.
Optionally, the touch data includes the abscissa value and ordinate value of the touch point.Accordingly, the acquisition The touch data of each touch point in the touch operation of user, including:Touched according to each in the time cycle collection touch operation of setting Touch a little, and obtain the abscissa value and ordinate value of each touch point.
Wherein, touch-screen is after touch operation is detected, according to each tactile in the time cycle collection touch operation of setting Touch a little.Optionally, the time cycle of setting can be 30 milliseconds.After touch-screen obtains the touch operation of user, by touch data Application layer is reported, application layer records to touch data, to obtain the abscissa value of each touch point and ordinate value, its In, abscissa value and ordinate value show position of the touch point in touch-screen, to abscissa value and the numerical value of ordinate value Unit does not limit, and numerical value unit can be the numerical value to put in order of pixel or apart from touch-screen left side edge Or the cms or millimeter of upper edge.
S120, according to the prediction rule of setting the distance between adjacent touch point is predicted, to obtain each phase Prediction distance between adjacent touch point.
Specifically, the number at least two of touch point, according to setting prediction rule between adjacent touch point away from From being predicted, the prediction rule of setting can be formulated according to prediction algorithm, obtain the Prediction distance between adjacent touch point.Can Choosing, Prediction distance is usedRepresent.
S130, the distance condition when the actual range satisfaction setting between the Prediction distance and adjacent touch point When, it is determined that touch point corresponding to the Prediction distance is control point.
Specifically, when judging that Prediction distance between adjacent touch point and actual range meet the condition of setting, this is pre- Ranging is control point from corresponding touch point.It should be noted that touch point corresponding to each Prediction distance is two, according to tactile Touch operation sequencing selection, here using case time sequencing in two touch points compared with the touch point that the latter occurs as control Point.
S140, the Bezier generation person's handwriting curve by the control point according to setting.
Specifically, after specific control point is determined, using existing control point, using the Bezier of setting Generate person's handwriting curve.Wherein, Bezier is the mathematic curve applied to X-Y scheme application program, in general vector graphics Curve is accurately drawn by it, Bezier is made up of line segment or node, and node is the fulcrum that can be dragged, and Bezier is bent Line is parameter curve important in computer graphics.
In a specific example, Fig. 1 b show abnormity point in a kind of touch data be present, and Fig. 1 c are shown A kind of Bezier drawn out according to Fig. 1 b, Fig. 1 d show a kind of Bezier filtered out after abnormity point.Can To find out, during user slides on the touchscreen, sliding speed is typically to approach at the uniform velocity, it may thus be appreciated that the C in Fig. 1 b Point is abnormity point, and Fig. 1 c show due to abnormity point C presence, and Bezier has broken line, and (broken line part is in B, C point Between), Fig. 1 d show after filtering out abnormity point C, and Bezier is smooth normal Bezier.
In the embodiment of the present invention, the touch data of each touch point in the touch operation by obtaining user, according to setting Prediction rule is predicted to the distance between adjacent touch point, to obtain the Prediction distance between each adjacent touch point, Then judge when the actual range between the Prediction distance and adjacent touch point meets the distance condition of setting, then really Touch point corresponding to the fixed Prediction distance is control point, and the control point is generated into person's handwriting song according to the Bezier of setting Line.Solve the problems, such as, using broken line caused by Bezier drafting person's handwriting curve, to make the person's handwriting curve of drafting rounder and more smooth.
Embodiment two
Fig. 2 a are a kind of flow chart for person's handwriting curve generation method for touch screen that the embodiment of the present invention two provides, this Embodiment is on the basis of above-described embodiment, when the prediction rule of setting is optimized for being predicted using Kalman filter, And to " being predicted according to the prediction rule of setting to the distance between adjacent touch point, to obtain each adjacent touch point Between Prediction distance " be optimized.With reference to figure 2a, this method specifically may include steps of:
S210, obtain user touch operation in each touch point touch data.
S220, according to the touch data calculate adjacent touch point between actual range.
Specifically, the actual range between adjacent touch point is calculated according to touch data.In a specific example, with Collect in touch operation exemplified by 10 touch points, Fig. 2 b show a kind of relative position of each touch point when finger touches screen Put, wherein, first point when A points are finger touch-screen, B is second point, is gone down successively, 10 touch points be respectively C, D, E、F、G、H、I.The distance between adjacent touch point is calculated according to the coordinate of each touch point.So that 2 points of A, B as an example, if the seat of A points Mark is (xA,xB), the coordinate (y of B pointsA,yB), then when finger passes through B points, calculating the distance between 2 points of AB isSimilarly, 2 points of the distance between remaining consecutive points computational methods and AB it Between distance calculating method it is identical, will not be repeated here.It should be noted that because A points are first points, then pass through in finger A moment does not produce distance also, therefore need not now calculate any distance.
S230, using the actual range between the adjacent touch point, and application Kalman filter adjacent is touched to described Touch and the distance between be a little predicted, to obtain the Prediction distance between each adjacent touch point.
Specifically, after the actual range between each adjacent touch point is determined, using Kalman filter to each adjacent The distance between touch point is predicted.Optionally, so that finger touches as an example, touching process each time includes:Finger down, hand Refer to slide and lifted with finger.In Kalman filter in use, it is required for initializing karr in each finger down Graceful wave filter, during touching each time, initialized card Thalmann filter is required for, that is, calculating point and point in first time Between apart from when, it is necessary to initialized card Thalmann filter, for example, it is desired to use DistABDeinitialization Kalman filter, and afterwards Touch point C, D, E, F, G, H, I, J etc. need to use DistBC、DistCD、DistDE、DistEF、DistFG、DistGH、DistHI、 DistIJRenewal Kalman filter is removed respectively.It should be noted that when the renewal process of Kalman filter is that application is previous The desired value at quarter and the parameter of setting go to predict the desired value at current time, wherein, the parameter of setting includes kalman gain, control Input, process noise etc. are made, specific renewal process will not be repeated here.Optionally, in embodiments of the present invention, desired value can To be the distance between adjacent touch point.
In a specific example, definition status vectorWherein, dnFor the distance between touch point, Such as DistAB、DistBC、DistCD、DistDE、DistEF、DistFG、DistGH、DistHI、DistIJ, vdnRepresent dnConversion Speed, in this example equivalent to n=B, C, D, E, F, G, H, I.Optionally;Definition status transfer matrixEvery time Measured value have one, i.e. the distance between current point and previous point, therefore measured valueDefinition measurement square Battle arraySystem does not have a control input in this example, thus the matrix of control input take 0 (this 0 represents null matrix, Rather than numeral is 0).Calculate in second point (being in this example point B) during each touch and touched with first point Touch is the distance between a little d0, thenPredict the distance between each touch point and update Kalman filter, 3rd touch point starts, by the distance between each adjacent touch point of calculating DistnBring the renewal side of Kalman filter into Journey, and obtain the distance value of predictionI.e.
In this specific example, the relation between Prediction distance, actual range, state-transition matrix and calculation matrix It is as follows: Wherein, A (n-1) can take constantConstant can be takenK (n) is kalman gain, K (n) calculating process does not repeat herein.
S240, the distance condition when the actual range satisfaction setting between the Prediction distance and adjacent touch point When, it is determined that touch point corresponding to the Prediction distance is control point.
S250, the Bezier generation person's handwriting curve by the control point according to setting.
In the embodiment of the present invention, by calculating the actual range between adjacent touch point according to the touch data, utilize Actual range between the adjacent touch point, and application Kalman filter is carried out to the distance between described adjacent touch point Prediction, to obtain the Prediction distance between each adjacent touch point.By between each touch point Prediction distance and actual range Relation, provide judgement basis for filtering out for touch point.
Embodiment three
Fig. 3 a are a kind of flow chart for person's handwriting curve generation method for touch screen that the embodiment of the present invention three provides, this Embodiment is on the basis of above-described embodiment, to " when the actual range between the Prediction distance and adjacent touch point is expired During the distance condition set enough, it is determined that touch point corresponding to the Prediction distance is control point " it is optimized.Reference chart 3a, this method specifically may include steps of:
S310, obtain user touch operation in each touch point touch data.
S320, according to the prediction rule of setting the distance between adjacent touch point is predicted, to obtain each phase Prediction distance between adjacent touch point.
S330, when the difference of the actual range between the adjacent touch point and the corresponding Prediction distance meet setting During distance condition, it is determined that touch point corresponding to the Prediction distance is control point.
Specifically, judging whether the difference of actual range between adjacent touch point and corresponding Prediction distance meets setting Distance condition.Optionally, the distance condition set is less than zero as the difference of actual range and Prediction distance, and the absolute value of difference is more than Actual range is multiplied by the coefficient of setting, and the coefficient of setting is set according to the demand of user, is formulated as follows:Meet diff<0,|diff|>R × y (n), wherein, r is the coefficient of setting.Setting will be unsatisfactory for Touch point corresponding to the Prediction distance of distance condition filters out, touch point corresponding to the Prediction distance for the distance condition that satisfaction is set For control point.It should be noted that the touch point filtered out simply filters out when drawing Bezier, that is, not made For control point, it is determined that retain whole touch points during control point, with reference to figure 1d, after C points are filtered out, then C points not as The control point of Bezier.
S340, the Bezier generation person's handwriting curve by the control point according to setting.
In the embodiment of the present invention, by judge the actual range between adjacent touch point and the corresponding Prediction distance it Whether difference meets that the distance condition of setting realizes the determination to control point.
Optionally, the control point is generated into person's handwriting curve according to the Bezier of setting, can is specifically:According to institute The quantity for stating control point selects Bezier of the Bezier corresponding with the control point as setting;By the control Point generates person's handwriting curve according to the Bezier of setting.
Wherein, Bezier corresponding with control point is selected with reference to the quantity at control point, in a specific example, If control point is three, Bezier of the secondary Bezier as setting can be selected;If control point is four, Bezier of the eligible Cubic kolmogorov's differential system as setting.It should be noted that the quantity at control point and setting The selection of Bezier is not unique corresponding, have selected Bezier of the secondary Bezier for setting, then ABC tri- Put and sequentially draw one section of Bezier, BCD tri- point-renderings, one section of Bezier, by that analogy, each section of Bezier group Into complete Bezier;If selecting Cubic kolmogorov's differential system wireless for the Bezier of setting, 4 points of ABCD is sequentially drawn One section of Bezier, tetra- points of BCDE sequentially draw one section of Bezier, and by that analogy, each section of Bezier has formed Whole Bezier.Realize the generation for curve of being identified the handwriting according to the Bezier of setting.
In a specific example, Fig. 3 b show the Bei Sai that a kind of unused this programme (when abnormity point be present) is drawn That curve, Fig. 3 c show a kind of Bezier drawn using this programme (after filtering out abnormity point).As can be seen that in Fig. 3 b In, there is broken line problem at 350 and 360, Fig. 3 c Bezier is more smoother than Fig. 3 b Bezier.
Example IV
Fig. 4 is the structural representation that the present invention is a kind of person's handwriting curve generating means for touch screen that example IV provides Figure, the device are adapted for carrying out a kind of person's handwriting curve generation method for touch screen that the embodiment of the present invention is supplied to.Such as Fig. 4 Shown, the device can specifically include:
Data acquisition module 410, the touch data of each touch point in the touch operation for obtaining user;
Range prediction module 420, the distance between adjacent touch point is predicted for the prediction rule according to setting, To obtain the Prediction distance between each adjacent touch point;
Control point determining module 430, for expiring when the actual range between the Prediction distance and adjacent touch point During the distance condition set enough, it is determined that touch point corresponding to the Prediction distance is control point;
Person's handwriting curve generation module 440, for the control point to be generated into person's handwriting curve according to the Bezier of setting.
Further, the prediction rule of the setting includes being predicted using Kalman filter;
Accordingly, range prediction module 420 is specifically used for:
Actual range between adjacent touch point is calculated according to the touch data;
Using the actual range between the adjacent touch point, and application Kalman filter to the adjacent touch point it Between distance be predicted, to obtain the Prediction distance between each adjacent touch point.
Further, control point determining module 430 is specifically used for:
When the difference of the actual range between the adjacent touch point and the corresponding Prediction distance meets the distance of setting During condition, it is determined that touch point corresponding to the Prediction distance is control point.
Further, person's handwriting curve generation module 440 is specifically used for:
Bezier of the Bezier corresponding with the control point as setting is selected according to the quantity at the control point Curve;
The control point is generated into person's handwriting curve according to the Bezier of setting.
Further, the touch data includes the abscissa value and ordinate value of the touch point;
Accordingly, data acquisition module 410 is specifically used for:
According to each touch point in the time cycle collection touch operation of setting, and obtain the abscissa value of each touch point And ordinate value.
Person's handwriting curve generating means provided in an embodiment of the present invention for touch screen can perform any embodiment of the present invention The person's handwriting curve generation method for touch screen provided, possesses the corresponding functional module of execution method and beneficial effect.
Embodiment five
Fig. 5 is a kind of structural representation for computer equipment that the embodiment of the present invention five provides.Fig. 5 is shown suitable for being used for Realize the block diagram of the exemplary computer device 12 of embodiment of the present invention.The computer equipment 12 that Fig. 5 is shown is only one Example, any restrictions should not be brought to the function and use range of the embodiment of the present invention.
As shown in figure 5, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with Including but not limited to:One or more processor or processing unit 16, system storage 28, connect different system component The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC) Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Computer equipment 12 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by The usable medium that computer equipment 12 accesses, including volatibility and non-volatile media, moveable and immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/can not Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for read-write not Movably, non-volatile magnetic media (Fig. 5 is not shown, is commonly referred to as " hard disk drive ").Although not shown in Fig. 5, can with There is provided for the disc driver to may move non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable non-volatile The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving Device can be connected by one or more data media interfaces with bus 18.Memory 28 can include at least one program and produce Product, the program product have one group of (for example, at least one) program module, and these program modules are configured to perform of the invention each The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42, such as memory 28 can be stored in In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs Module and routine data, the realization of network environment may be included in each or certain combination in these examples.Program mould Block 42 generally performs function and/or method in embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 Deng) communication, the equipment communication interacted with the computer equipment 12 can be also enabled a user to one or more, and/or with making Obtain any equipment that the computer equipment 12 can be communicated with one or more of the other computing device (such as network interface card, modulatedemodulate Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also To pass through network adapter 20 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network Network, such as internet) communication.As illustrated, network adapter 20 is led to by bus 18 and other modules of computer equipment 12 Letter.It should be understood that although not shown in Fig. 5, computer equipment 12 can be combined and use other hardware and/or software module, bag Include but be not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic tape drive Device and data backup storage system etc..
Processing unit 16 is stored in program in system storage 28 by operation, so as to perform various function application and Data processing, such as realize the person's handwriting curve generation method for touch screen that the embodiment of the present invention is provided:
That is, the processing unit is realized when performing described program:Each touch point touches in the touch operation of acquisition user Touch data;The distance between adjacent touch point is predicted according to the prediction rule of setting, to obtain each adjacent touch Prediction distance between point;When the actual range between the Prediction distance and adjacent touch point meets the distance bar of setting During part, it is determined that touch point corresponding to the Prediction distance is control point;Bezier by the control point according to setting Generate person's handwriting curve.
Embodiment six
The embodiment of the present invention six provides a kind of computer-readable recording medium, is stored thereon with computer program, the journey The person's handwriting curve generation method for touch screen provided such as all inventive embodiments of the application is provided when sequence is executed by processor:
That is, the program is realized when being executed by processor:Obtain the touch data of each touch point in the touch operation of user; The distance between adjacent touch point is predicted according to the prediction rule of setting, to obtain between each adjacent touch point Prediction distance;When the actual range between the Prediction distance and adjacent touch point meets the distance condition of setting, then It is control point to determine touch point corresponding to the Prediction distance;The control point is generated into person's handwriting according to the Bezier of setting Curve.
Any combination of one or more computer-readable media can be used.Computer-readable medium can be calculated Machine readable signal medium or computer-readable recording medium.Computer-readable recording medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or it is any more than combination.Calculate The more specifically example (non exhaustive list) of machine readable storage medium storing program for executing includes:Electrical connection with one or more wires, just Take formula computer disk, hard disk, random access memory (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In this document, computer-readable recording medium can any include or store journey The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium beyond computer-readable recording medium, the computer-readable medium can send, propagate or Transmit for by instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited In --- wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that operates of the present invention Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Also include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with Fully perform, partly perform on the user computer on the user computer, the software kit independent as one performs, portion Divide and partly perform or performed completely on remote computer or server on the remote computer on the user computer. Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as carried using Internet service Pass through Internet connection for business).
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. person's handwriting curve generation method for touch screen, it is characterised in that including:
    Obtain the touch data of each touch point in the touch operation of user;
    The distance between adjacent touch point is predicted according to the prediction rule of setting, with obtain each adjacent touch point it Between Prediction distance;
    When the actual range between the Prediction distance and adjacent touch point meets the distance condition of setting, it is determined that institute It is control point to state touch point corresponding to Prediction distance;
    The control point is generated into person's handwriting curve according to the Bezier of setting.
  2. 2. according to the method for claim 1, it is characterised in that the prediction rule of the setting includes applying Kalman filtering Device is predicted;
    Accordingly, the prediction rule according to setting is predicted to the distance between adjacent touch point, described each to obtain Prediction distance between adjacent touch point, including:
    Actual range between adjacent touch point is calculated according to the touch data;
    Using the actual range between the adjacent touch point, and application Kalman filter is between the adjacent touch point Distance is predicted, to obtain the Prediction distance between each adjacent touch point.
  3. 3. according to the method for claim 1, it is characterised in that it is described when the Prediction distance and adjacent touch point it Between actual range meet setting distance condition when, it is determined that touch point corresponding to the Prediction distance is control point, including:
    When the difference of the actual range between the adjacent touch point and the corresponding Prediction distance meets the distance condition of setting When, it is determined that touch point corresponding to the Prediction distance is control point.
  4. 4. according to the method for claim 1, it is characterised in that the Bezier by the control point according to setting Person's handwriting curve is generated, including:
    Bezier of the Bezier corresponding with the control point as setting is selected according to the quantity at the control point;
    The control point is generated into person's handwriting curve according to the Bezier of setting.
  5. 5. according to the method for claim 1, it is characterised in that the touch data includes the abscissa value of the touch point And ordinate value;
    Accordingly, it is described obtain user touch operation in each touch point touch data, including:
    According to each touch point in the time cycle collection touch operation of setting, and obtain the abscissa value of each touch point and indulge Coordinate value.
  6. A kind of 6. person's handwriting curve generating means for touch screen, it is characterised in that including:
    Data acquisition module, the touch data of each touch point in the touch operation for obtaining user;
    Range prediction module, the distance between adjacent touch point is predicted for the prediction rule according to setting, to obtain Prediction distance between each adjacent touch point;
    Control point determining module, for meeting setting when the actual range between the Prediction distance and adjacent touch point During distance condition, it is determined that touch point corresponding to the Prediction distance is control point;
    Person's handwriting curve generation module, for the control point to be generated into person's handwriting curve according to the Bezier of setting.
  7. 7. device according to claim 6, it is characterised in that the prediction rule of the setting includes applying Kalman filtering Device is predicted;
    Accordingly, the range prediction module is specifically used for:
    Actual range between adjacent touch point is calculated according to the touch data;
    Using the actual range between the adjacent touch point, and application Kalman filter is between the adjacent touch point Distance is predicted, to obtain the Prediction distance between each adjacent touch point.
  8. 8. device according to claim 6, it is characterised in that the control point determining module is specifically used for:
    When the difference of the actual range between the adjacent touch point and the corresponding Prediction distance meets the distance condition of setting When, it is determined that touch point corresponding to the Prediction distance is control point.
  9. 9. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that the side as described in any in claim 1-5 is realized during the computing device described program Method.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The method as described in any in claim 1-5 is realized during execution.
CN201710852514.3A 2017-09-20 2017-09-20 Person's handwriting curve generation method, device, equipment and storage medium for touch screen Pending CN107608619A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710852514.3A CN107608619A (en) 2017-09-20 2017-09-20 Person's handwriting curve generation method, device, equipment and storage medium for touch screen
PCT/CN2017/116744 WO2019056611A1 (en) 2017-09-20 2017-12-17 Touch screen handwriting curve generating method, apparatus, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710852514.3A CN107608619A (en) 2017-09-20 2017-09-20 Person's handwriting curve generation method, device, equipment and storage medium for touch screen

Publications (1)

Publication Number Publication Date
CN107608619A true CN107608619A (en) 2018-01-19

Family

ID=61061331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710852514.3A Pending CN107608619A (en) 2017-09-20 2017-09-20 Person's handwriting curve generation method, device, equipment and storage medium for touch screen

Country Status (2)

Country Link
CN (1) CN107608619A (en)
WO (1) WO2019056611A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110297677A (en) * 2018-03-22 2019-10-01 阿里巴巴集团控股有限公司 Method for drafting, device, equipment and storage medium
WO2019222998A1 (en) * 2018-05-25 2019-11-28 深圳市柔宇科技有限公司 Data processing method, handwriting pen, and storage medium
CN111443864A (en) * 2020-04-14 2020-07-24 重庆赋比兴科技有限公司 iOS-based curve drawing method
CN111931735A (en) * 2020-09-26 2020-11-13 绿漫科技有限公司 Handwritten signature method suitable for iOS application
CN112835504A (en) * 2021-02-05 2021-05-25 深圳市亿图软件有限公司 Thinking guide graph track processing method and device, computer equipment and storage medium
TWI751528B (en) * 2020-04-14 2022-01-01 元太科技工業股份有限公司 Electronic paper display and driving method thereof
CN114461091A (en) * 2021-07-23 2022-05-10 荣耀终端有限公司 Touch data processing method, keyboard, equipment, chip and readable storage medium
WO2023016430A1 (en) * 2021-08-09 2023-02-16 广州视源电子科技股份有限公司 Writing effect processing method and apparatus, device, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096530A (en) * 2011-01-28 2011-06-15 广东威创视讯科技股份有限公司 Multi-touch trajectory tracking method
CN102375416A (en) * 2010-08-13 2012-03-14 同济大学 Human type robot kicking action information processing method based on rapid search tree
CN102521858A (en) * 2011-11-28 2012-06-27 北京盛世宣合信息科技有限公司 Handwriting generating method for electronic writing brush
CN102520849A (en) * 2011-11-28 2012-06-27 北京盛世宣合信息科技有限公司 Electronic brush writing method and system
CN103425300A (en) * 2012-05-14 2013-12-04 北京汇冠新技术股份有限公司 Multipoint touch trajectory tracking method
CN103942552A (en) * 2014-02-11 2014-07-23 北京大学 Character image vectorization method and system based on framework instruction
CN107003993A (en) * 2014-09-29 2017-08-01 微软技术许可有限责任公司 Wet black fallout predictor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622120B (en) * 2011-01-31 2015-07-08 宸鸿光电科技股份有限公司 Touch path tracking method of multi-point touch control panel
US9317893B2 (en) * 2013-03-26 2016-04-19 Sharp Laboratories Of America, Inc. Methods and systems for correcting a document image

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102375416A (en) * 2010-08-13 2012-03-14 同济大学 Human type robot kicking action information processing method based on rapid search tree
CN102096530A (en) * 2011-01-28 2011-06-15 广东威创视讯科技股份有限公司 Multi-touch trajectory tracking method
CN102521858A (en) * 2011-11-28 2012-06-27 北京盛世宣合信息科技有限公司 Handwriting generating method for electronic writing brush
CN102520849A (en) * 2011-11-28 2012-06-27 北京盛世宣合信息科技有限公司 Electronic brush writing method and system
CN103425300A (en) * 2012-05-14 2013-12-04 北京汇冠新技术股份有限公司 Multipoint touch trajectory tracking method
CN103942552A (en) * 2014-02-11 2014-07-23 北京大学 Character image vectorization method and system based on framework instruction
CN107003993A (en) * 2014-09-29 2017-08-01 微软技术许可有限责任公司 Wet black fallout predictor

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110297677B (en) * 2018-03-22 2022-12-23 斑马智行网络(香港)有限公司 Drawing method, drawing device, drawing equipment and storage medium
CN110297677A (en) * 2018-03-22 2019-10-01 阿里巴巴集团控股有限公司 Method for drafting, device, equipment and storage medium
WO2019222998A1 (en) * 2018-05-25 2019-11-28 深圳市柔宇科技有限公司 Data processing method, handwriting pen, and storage medium
CN112513868A (en) * 2018-05-25 2021-03-16 深圳市柔宇科技股份有限公司 Data processing method, handwriting pen and storage medium
CN111443864A (en) * 2020-04-14 2020-07-24 重庆赋比兴科技有限公司 iOS-based curve drawing method
CN111443864B (en) * 2020-04-14 2023-03-07 重庆赋比兴科技有限公司 iOS-based curve drawing method
TWI751528B (en) * 2020-04-14 2022-01-01 元太科技工業股份有限公司 Electronic paper display and driving method thereof
US11320930B2 (en) 2020-04-14 2022-05-03 E Ink Holdings Inc. Electronic paper display and driving method thereof
CN111931735A (en) * 2020-09-26 2020-11-13 绿漫科技有限公司 Handwritten signature method suitable for iOS application
CN112835504A (en) * 2021-02-05 2021-05-25 深圳市亿图软件有限公司 Thinking guide graph track processing method and device, computer equipment and storage medium
CN112835504B (en) * 2021-02-05 2023-08-08 深圳市亿图软件有限公司 Thinking guide graph track processing method, thinking guide graph track processing device, computer equipment and storage medium
CN114461091B (en) * 2021-07-23 2022-12-16 荣耀终端有限公司 Touch data processing method, keyboard, equipment, chip and readable storage medium
CN114461091A (en) * 2021-07-23 2022-05-10 荣耀终端有限公司 Touch data processing method, keyboard, equipment, chip and readable storage medium
WO2023016430A1 (en) * 2021-08-09 2023-02-16 广州视源电子科技股份有限公司 Writing effect processing method and apparatus, device, and storage medium

Also Published As

Publication number Publication date
WO2019056611A1 (en) 2019-03-28

Similar Documents

Publication Publication Date Title
CN107608619A (en) Person&#39;s handwriting curve generation method, device, equipment and storage medium for touch screen
EP3552085B1 (en) Multi-task machine learning for predicted touch interpretations
KR102186864B1 (en) Network topology adaptive data visualization method, device, equipment and storage medium
CN104020943B (en) Character string is replaced
US20130120282A1 (en) System and Method for Evaluating Gesture Usability
CN103403650A (en) Drawing control method, apparatus and mobile terminal
TWI584164B (en) Emulating pressure sensitivity on multi-touch devices
US20090066659A1 (en) Computer system with touch screen and separate display screen
CN104011629A (en) Enhanced target selection for a touch-based input enabled user interface
US10347027B2 (en) Animated transition between data visualization versions at different levels of detail
US20220004293A1 (en) Interactive data visualization user interface with hierarchical filtering based on gesture location on a chart
CN104024983B (en) Interaction models for indirect interaction equipment
CN103955339A (en) Terminal operation method and terminal equipment
CN108596955A (en) A kind of image detecting method, image detection device and mobile terminal
US10347018B2 (en) Interactive data visualization user interface with hierarchical filtering based on gesture location on a chart
CN105892877A (en) Multi-finger closing/opening gesture recognition method and device as well as terminal equipment
CN105027032A (en) Scalable input from tracked object
CN107291277A (en) A kind of method of false-touch prevention, device, equipment and storage medium
CN104303145A (en) Translation of touch input into local input based on a translation profile for an application
US20190235642A1 (en) User interaction method based on stylus, system for classifying tap events on stylus, and stylus product
US20130321303A1 (en) Touch detection
CN111025039A (en) Method, device, equipment and medium for testing accuracy of touch display screen
CN105074622A (en) Method for generating writing data and an electronic device thereof
CN103412724A (en) Mobile terminal and operation control method for same
US20220004298A1 (en) Prediction control method, input system and computer readable recording medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180119