WO2020102937A1 - Handwriting processing method, handwriting input device and computer readable storage medium - Google Patents
Handwriting processing method, handwriting input device and computer readable storage mediumInfo
- Publication number
- WO2020102937A1 WO2020102937A1 PCT/CN2018/116185 CN2018116185W WO2020102937A1 WO 2020102937 A1 WO2020102937 A1 WO 2020102937A1 CN 2018116185 W CN2018116185 W CN 2018116185W WO 2020102937 A1 WO2020102937 A1 WO 2020102937A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- handwriting
- data point
- attribute information
- stroke
- information
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
Definitions
- the present application relates to the technical field of data processing, and in particular, to a method for processing handwriting, a handwriting input device, and a computer-readable storage medium.
- Embodiments of the present application disclose a handwriting handwriting processing method, a handwriting input device, and a computer-readable storage medium, which can compress handwriting data, thereby reducing the storage space and transmission time of handwriting data, and improving user experience.
- a method for processing handwriting disclosed in an embodiment of the present application is applied to a handwriting input device.
- the method for processing handwriting includes the following steps:
- a handwriting input device disclosed in an embodiment of the present application includes a memory and a processor.
- the memory stores a corresponding program of a handwriting process method
- the processor runs the corresponding program of the handwriting process method to perform the following operations:
- a computer-readable storage medium disclosed in an embodiment of the present application a program corresponding to a handwriting process method is stored on the computer-readable storage medium, and the program corresponding to the handwriting process method is executed by a processor to implement the above-mentioned handwriting Handwriting processing method steps.
- the handwriting process method, handwriting input device and computer-readable storage medium of the present application because the handwriting data is grouped according to strokes, and a certain data point in each stroke is selected for marking, and then each stroke is divided
- the handwriting attribute information of the data points other than the data point is the same as the handwriting attribute information of the marked data point, thereby achieving lossless compression of the handwriting data, reducing the storage space and transmission time of the handwriting data To improve the user experience.
- FIG. 1 is a flowchart of a method for processing handwriting in an embodiment of the present application.
- FIG. 2 is a schematic diagram of handwriting data marks and handwriting attribute information in an embodiment of the present application.
- FIG. 3 is a schematic diagram of handwriting attribute information included in handwriting data compressed in an embodiment of the present application.
- FIG. 4 is a flowchart of a method for processing handwriting in another embodiment of the present application.
- FIG. 5 is a flowchart of a method for processing handwriting in yet another embodiment of the present application.
- FIG. 6 is a flowchart of a method for processing handwriting in another embodiment of the present application.
- FIG. 7 is a schematic diagram of handwriting data after being compressed in another embodiment of the present application.
- FIG. 8 is a structural block diagram of a handwriting input device in an embodiment of this application.
- FIG. 1 is a flowchart of a method for processing handwriting disclosed in an embodiment of the present application.
- the method for processing handwriting is applied to a handwriting input device.
- the method for processing handwriting includes the following steps:
- Step S11 Obtain the handwriting attribute information of each data point in each stroke.
- the stroke data may be obtained directly through handwriting input, or may be obtained through network reception.
- the handwriting input device is a tablet
- the corresponding stroke data can be obtained by making handwriting income on the touch screen
- the handwriting input device is a mobile phone or tablet
- it can be connected to the tablet through a wireless network (such as Bluetooth) Connect wirelessly and receive handwriting data sent by the tablet through the wireless network.
- a wireless network such as Bluetooth
- the stroke data includes several data points, and each data point carries corresponding handwriting attribute information.
- the handwriting attribute information includes basic attribute information and additional attribute information.
- the basic attribute information is coordinate information.
- the accessory attribute information is at least one of pressure information, color information, width information, transparency information, and time information.
- the handwriting attribute information may further include other attribute information, such as blooming effect attribute information, which is not limited herein.
- the coordinate information represents the position of each data point.
- the coordinate information includes X-axis and Y-axis data. Therefore, the position of each data point on the display screen can be determined according to the coordinate information of each data point.
- the pressure information represents the pressure value of each data point, that is, the pressure value generated by the stylus at each position on the tablet during handwriting input, wherein the pressure value affects the display effect of the handwriting.
- the color information represents the color of each data point.
- the color of the handwriting may be red, yellow, or green.
- the width information represents the width of each data point.
- the width of the handwriting may be 1 mm, 0.5 mm, etc.
- the width information may be related to pressure information.
- the transparency information represents the transparency of each data point.
- the transparency may be 90% or 95%.
- the time information represents the time at which each data point was generated.
- the time can be obtained by the system clock of the handwriting input device. For example, when the time when the first data point is generated is 10:01, the time is used as the time information of the data point. Therefore, the time information of each data point is different, and the order in which multiple data points are generated can be determined by the time information.
- step S12 a certain data point in each stroke is selected for marking and recorded as a marked data point.
- the content corresponding to the handwriting can be embodied by strokes, that is, no matter what content (such as text or images), it is composed of several strokes, for example, when the handwriting corresponds When the content is "people", it includes two strokes, one stroke and one stroke.
- the handwriting can be divided into two groups according to the stroke.
- the selecting a certain data point in each stroke for marking includes: adding a marker to mark the selected data point in each stroke. For example, add a first marker to a data point in the first stroke, and add a second marker to a data point in the second stroke.
- the marker includes at least one of numbers, letters, numbers and letter combinations.
- the marker is a number, and the number is a positive integer greater than one.
- the number represents the sequence number of the stroke. For example, when the stroke is the first stroke, the marker added to a data point in the stroke is 1, and when the stroke is the second stroke, the marker added to a data point in the stroke is 2, to And so on, until a certain data point in the handwriting data corresponding to all strokes is marked.
- the marked data point is the starting data point in each stroke.
- Step S13 Delete the handwriting attribute information that is the same as the handwriting attribute information of the marked data point in the handwriting attribute information of the data points other than the marked data point in each stroke.
- each data point Since each set of handwriting data, each data point will have the same handwriting attribute information. If all the handwriting attribute information of each data point is stored, it will occupy a larger storage space, and will be other than the marked data point. The deletion of the handwriting attribute information with the same data points as the marked data points can save a lot of storage space without affecting the original characteristic information of the handwriting data, that is, the lossless compression of the handwriting data is realized.
- the final saved note data will only include the handwriting attribute information of the marked data points of each stroke data and the handwriting attribute information of other data points other than the marked data points that are different from the handwritten attribute information of the marked data points .
- the handwriting attribute information in the handwriting attribute information of the data points other than the marked data point in each stroke data that is the same as the handwriting attribute information of the marked data point is specifically: Delete the handwriting attribute information that is the same as the additional attribute information of the marked data point in the additional attribute information of the data points other than the marked data point in each stroke data.
- the additional attribute information that is the same as the marked data point includes at least one of color information, width information, and transparency information. Because the handwriting data is grouped according to strokes, the color, width and transparency of the same stroke are the same. Therefore, the color information, width information and transparency information of each data point in each stroke data can be deleted and only retained It is sufficient to mark the additional attribute information of the data point, so that a larger storage space can be saved.
- the color, width and transparency of the handwriting are preset. Therefore, when the pen is drawn, the color, width and transparency are determined. If you want to make changes, you need to stop the pen to set After the pen is fixed, the pen is dropped again, and after the pen is dropped again, it is the next stroke. Therefore, the color, width, and transparency in the same stroke are the same.
- the color, width, and transparency in the same stroke may also be different.
- the color, width and transparency in the same stroke can be changed due to different factors such as writing pressure or writing speed during writing. For example, when the writing speed is relatively high, the stroke color changes to a warm color system, and when the writing speed is relatively low, the stroke color changes to a cool color system. When the writing pressure is relatively high, the transparency of the stroke is low and the width is large; when the writing pressure is relatively low, the transparency of the stroke is high and the width is small.
- the handwriting writing processing method disclosed in this application selects a certain data point in each stroke data for marking, and then combines the handwriting attribute information of other data points in each stroke data except the marked data point with the The handwriting attribute information with the same handwriting attribute information of the marked data point is deleted, thereby achieving lossless compression of the handwriting data, reducing the storage space and transmission time of the handwriting data, and improving the user experience.
- the handwriting process method compared to the process method in FIG. 1 before step S11 further includes:
- Step S41 When the time interval between two adjacent data points exceeds a preset time value, it is determined that the two data points belong to two adjacent strokes.
- each continuous stroke can be determined according to the time information of each data point, that is, the strokes and the order of the strokes are determined by the time information of each data point corresponding to each stroke.
- each stroke is composed of consecutive data points, and the user will raise the pen before writing the next stroke when writing the next stroke. Therefore, there is a time interval between different strokes. Therefore, the time information of adjacent data points in the same stroke should be continuous. Then it can be determined that the continuous data points of the time information are the same stroke, and the start data point of the stroke is the data point corresponding to the earliest time point in the continuous time information, and the end data point of the stroke is the continuous time information The data point corresponding to the latest time point.
- each data point in the same stroke can also be sorted according to time information, that is, the earliest time information is the starting data point, and the latest time attribute information is the ending data point of the stroke.
- the step S41 may also be: when the coordinate difference between two adjacent data points exceeds a preset difference, it is determined that the two data points belong to two adjacent strokes.
- each continuous stroke can be determined according to the coordinate information of each data point. That is, each stroke and the order of each stroke can be determined by the coordinate difference of a current data point relative to the previous data point.
- each stroke is composed of consecutive data points, and the user will raise the pen before writing the next stroke when writing the next stroke. Therefore, the coordinates between different strokes are spaced. Therefore, when the difference between the coordinate information between two adjacent data points exceeds a preset difference, it can be judged that the two data points belong to two phases Neighbor strokes. Please refer to FIG. 5 again.
- the handwriting processing method compared to the processing method in FIG. 1 before step S12 further includes:
- Step S51 Determine invalid data points in each stroke, and delete the invalid data points.
- the determination of the invalid data point in each stroke includes: determining that the data point whose handwriting attribute information does not meet the preset condition is the invalid data point, wherein the invalid data point is unable The data points identified or displayed. For example, when the pressure information is less than the preset value, the data point cannot be displayed. .
- the handwriting processing method further includes the following steps compared with the method in FIG. 1:
- Step S61 Delete the time information of all data points.
- the method may further include the step of: in response to an operation such as displaying the corresponding content of the handwritten handwriting, controlling the handwriting attribute information according to the marked data points in each stroke and in addition to the marked data points
- the handwriting attribute information of the other data points is the same as the handwriting attribute information of the marked data point.
- the handwriting attribute information of each other data point is restored to the complete handwriting attribute information of each other data point, and The complete handwriting attribute information of the data point is displayed.
- each data point is restored according to the handwriting attribute information of the marked data point in each stroke and the handwriting attribute information of other data points other than the marked data point and the handwritten attribute information of the marked data point
- Complete handwriting attribute information including: adding the handwriting attribute information of the marked data point to the handwriting attribute information of data points other than the marked data point, and restoring the complete handwriting attribute information of each other data point .
- FIG. 8 is a structural block diagram of a handwriting input device 100 in an embodiment of the present application.
- the handwriting input device 100 may be, but not limited to, a mobile phone, a tablet computer, a notebook computer, a personal digital assistant (Personal Digital Assistant (PDA), a portable media player (Portable Media Player, PMP), a navigation device, a wearable device, Smart bracelets, pedometers, etc. are not limited here.
- the handwriting input device 100 includes but is not limited to the memory 10 and the processor 20. Specifically, the memory 10 and the processor 20 may be coupled through a communication bus 30. Those skilled in the art should understand that FIG.
- the handwriting input device 100 may include more information than shown in FIG. More or fewer components, or a combination of certain components, or different components, for example, the handwriting input device 100 may further include a touch screen, an input and output device, a network access device, and the like.
- the memory 10 may be used to store computer programs and / or modules.
- the processor 20 executes or executes the computer programs and / or modules stored in the memory 10 and calls the data stored in the memory 10 to achieve The various functions of the handwriting input device 100 will be described.
- the memory 10 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, application programs required for multiple functions (such as a sound playback function, an image playback function, etc.), etc .; the data storage area may Store data (such as audio data, phone book, etc.) created according to the use of mobile phones.
- the memory 10 may include a high-speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), and secure digital (SD) ) Card, flash card (Flash Card), multiple disk storage devices, flash memory devices, or other volatile solid-state storage devices.
- non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), and secure digital (SD) ) Card, flash card (Flash Card), multiple disk storage devices, flash memory devices, or other volatile solid-state storage devices.
- the processor 20 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-programmable gate array (Field-Programmable GateArray, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
- the processor is the control center of the handwriting input device 100, and uses various interfaces and lines to connect the entire handwriting input device 100 various parts.
- the memory 10 stores the corresponding program of the handwriting process method
- the processor 20 runs the corresponding program of the handwriting process method to perform the following operations: obtain the handwriting of each data point in each stroke Attribute information; select a data point in each stroke to mark and mark it as a marked data point; delete the handwriting attribute information of other data points except the marked data point in each stroke and the marked data point The handwriting attribute information of the same handwriting attribute information.
- the handwriting attribute information includes basic attribute information and additional attribute information.
- the basic attribute information is coordinate information
- the additional attribute information is pressure information, color information, width information, transparency information, and time information. At least one. Deleting the handwriting attribute information in the handwriting attribute information of data points other than the marked data point in each stroke data that is the same as the handwriting attribute information of the marked data point, specifically: deleting each stroke data
- the handwriting attribute information in the additional attribute information of the data points other than the marked data point is the same as the additional attribute information of the marked data point.
- the handwriting input device 100 disclosed in this application selects a certain data point in each stroke data for marking, and then compares the handwriting attribute information of other data points in each stroke data except the marked data point with the The handwriting attribute information with the same handwriting attribute information of the marked data point is deleted, thereby achieving lossless compression of the handwriting data, reducing the storage space and transmission time of the handwriting data, and improving the user experience.
- the marked data point is the starting data point in each stroke.
- the selecting a certain data point in each stroke for marking includes: adding a marker to mark the selected data point in each stroke.
- the marker is a number, and the number is a positive integer greater than one. Among them, the number represents the sequence number of the stroke. For example, when the stroke is the first stroke, the marker added to a data point in the stroke is 1, and when the stroke is the second stroke, the marker added to a data point in the stroke is 2, to And so on, until a certain data point in the handwriting data corresponding to all strokes is marked.
- the corresponding program of the processor 20 running the handwriting handwriting processing method before acquiring the handwriting attribute information of each data point in each stroke, the corresponding program of the processor 20 running the handwriting handwriting processing method also performs the following operations: when two adjacent data points When the coordinate difference between them exceeds the preset difference, it is determined that the two data points belong to two adjacent strokes.
- each continuous stroke can be determined according to the time information of each data point, that is, the strokes and the order of the strokes are determined by the time information of each data point corresponding to each stroke.
- each stroke is composed of consecutive data points, and the user will raise the pen before writing the next stroke when writing the next stroke. Therefore, there is a time interval between different strokes. Therefore, the time information of adjacent data points in the same stroke should be continuous. Then it can be determined that the continuous data points of the time information are the same stroke, and the start data point of the stroke is the data point corresponding to the earliest time point in the continuous time information, and the end data point of the stroke is the continuous time information The data point corresponding to the latest time point.
- each data point in the same stroke can also be sorted according to time information, that is, the earliest time information is the starting data point, and the latest time attribute information is the ending data point of the stroke.
- the corresponding program of the processor 20 running the handwriting handwriting processing method before acquiring the handwriting attribute information of each data point in each stroke, the corresponding program of the processor 20 running the handwriting handwriting processing method also performs the following operations: when two adjacent data points When the time interval between them exceeds a preset time value, it is determined that the two data points belong to two adjacent strokes.
- each continuous stroke can be determined according to the coordinate information of each data point. That is, each stroke and the order of each stroke can be determined by the coordinate difference of a current data point relative to the previous data point.
- each stroke is composed of consecutive data points, and the user will raise the pen before writing the next stroke when writing the next stroke. Therefore, the coordinates between different strokes are spaced. Therefore, when the difference between the coordinate information between two adjacent data points exceeds a preset difference, it can be judged that the two data points belong to two phases Neighbor strokes.
- the processor runs the corresponding program of the handwriting writing processing method and also performs the following operations: determining the invalidity in each stroke Data points, and delete the invalid data points. In this way, the storage efficiency can be further improved.
- the determination of the invalid data point in each stroke includes: determining that the data point whose handwriting attribute information does not meet the preset condition is the invalid data point, wherein the invalid data point is unable The data points identified or displayed. For example, when the pressure information is less than the preset value, the data point cannot be displayed.
- the corresponding program of the processor 20 running the handwriting processing method also performs the following operations: deleting the time information of all data points. In this way, the storage efficiency can be further improved.
- the method for processing handwriting provided by the present application may be implemented in hardware or firmware, or as software or computer code that can be stored in a computer-readable storage medium such as CD, ROM, RAM, floppy disk, hard disk, or magneto-optical disk, or The computer code that can be stored as original on a remote recording medium or non-transitory machine-readable medium, downloaded over a network, and stored in a local recording medium, so that the method described here can utilize a general-purpose computer or a special processor or in such as ASIC or Programmable or dedicated hardware such as FPGA is presented as software stored on a recording medium.
- a computer-readable storage medium such as CD, ROM, RAM, floppy disk, hard disk, or magneto-optical disk
- a computer, processor, microprocessor, controller, or programmable hardware includes memory components, such as RAM, ROM, flash memory, etc., which are accessed when the computer, processor, or hardware implements the processing methods described herein
- the memory component may store or receive the software or computer code.
- the general-purpose computer accesses the code for implementing the processing shown here, the execution of the code converts the general-purpose computer into a dedicated computer for performing the processing shown here.
- the computer-readable storage medium may be solid-state memory, memory card, optical disc, etc.
- the computer-readable storage medium stores program instructions for the computer to execute the above-mentioned handwriting processing method.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present application discloses a handwriting processing method, which is applied to a handwriting input device. The handwriting processing method comprises the following steps: acquiring handwriting attribute information about each data point in each stroke; selecting a certain data point in each stroke for marking, and marking same as a marked data point; and deleting, from the handwriting attribute information about data points other than the marked data point in each stroke, handwriting attribute information that is the same as the handwriting attribute information about the marked data point. The present application further discloses a handwriting input device (100) and a computer readable storage medium. The present application is able to perform lossless compression on handwriting data, thereby reducing the storage space and transmission time of the handwriting data.
Description
本申请涉及数据处理技术领域,尤其涉及一种手写笔迹处理方法、手写输入设备及计算机可读存储介质。The present application relates to the technical field of data processing, and in particular, to a method for processing handwriting, a handwriting input device, and a computer-readable storage medium.
目前,为实现文字内容的数字化存储,通常采用在手写板或触摸设备上对文字内容进行手写输入,并对手写输入的内容进行识别并将所述识别到的书写笔迹发送给其他终端设备(例如手机)实现手写输入内容的数字化存储及数据分享。At present, in order to realize the digital storage of text content, it is common to use handwriting input on the text content on the tablet or touch device, and recognize the handwritten input content and send the recognized handwriting to other terminal devices (such as Mobile phone) to achieve digital storage and data sharing of handwritten input content.
然而,当手写输入的内容信息比较大时,会导致存储的数据量大以及数据传输时耗时过长等问题。However, when the content information input by handwriting is relatively large, it will cause problems such as a large amount of stored data and a long time for data transmission.
发明内容Summary of the invention
本申请实施例公开一种手写笔迹处理方法、手写输入设备及计算机可读存储介质,能够对笔迹数据进行压缩,进而能够减小笔迹数据的存储空间以及传输时间,提高用户体验。Embodiments of the present application disclose a handwriting handwriting processing method, a handwriting input device, and a computer-readable storage medium, which can compress handwriting data, thereby reducing the storage space and transmission time of handwriting data, and improving user experience.
本申请实施例公开的一种手写笔迹处理方法,应用于手写输入设备中,所述手写笔迹处理方法包括如下步骤:A method for processing handwriting disclosed in an embodiment of the present application is applied to a handwriting input device. The method for processing handwriting includes the following steps:
获取每一笔划中各个数据点的笔迹属性信息;Obtain the handwriting attribute information of each data point in each stroke;
选择每一笔划中的某一数据点进行标记,并记为标记数据点;Select a data point in each stroke to mark and mark it as a marked data point;
删除每一笔划中除所述标记数据点之外的其他数据点的笔迹属性信息中与所述标记数据点的笔迹属性信息相同的笔迹属性信息。Delete the handwriting attribute information that is the same as the handwriting attribute information of the marked data point in the handwriting attribute information of the data points other than the marked data point in each stroke.
本申请实施例公开的一种手写输入设备,包括存储器和处理器,所述存储器存有手写笔迹处理方法的相应程序,所述处理器运行所述手写笔迹处理方法的相应程序执行如下操作:A handwriting input device disclosed in an embodiment of the present application includes a memory and a processor. The memory stores a corresponding program of a handwriting process method, and the processor runs the corresponding program of the handwriting process method to perform the following operations:
获取每一笔划中各个数据点的笔迹属性信息;Obtain the handwriting attribute information of each data point in each stroke;
选择每一笔划中的某一数据点进行标记,并记为标记数据点;Select a data point in each stroke to mark and mark it as a marked data point;
删除每一笔划中除所述标记数据点之外的其他数据点的笔迹属性信息中与所述标记数据点的笔迹属性信息相同的笔迹属性信息。Delete the handwriting attribute information that is the same as the handwriting attribute information of the marked data point in the handwriting attribute information of the data points other than the marked data point in each stroke.
本申请实施例公开的一种计算机可读存储介质,所述计算机可读存储介质上存储有手写笔迹处理方法的相应程序,所述手写笔迹处理方法的相应程序被处理器执行时实现上述的手写笔迹处理方法的步骤。A computer-readable storage medium disclosed in an embodiment of the present application, a program corresponding to a handwriting process method is stored on the computer-readable storage medium, and the program corresponding to the handwriting process method is executed by a processor to implement the above-mentioned handwriting Handwriting processing method steps.
本申请的手写笔迹处理方法、手写输入设备及计算机可读存储介质,由于对笔迹数据按照笔划进行了分组,并选择每一笔划中的某一数据点进行标记,然后将每一笔划中除标记数据点之外的其他数据点的笔迹属性信息中与所述标记数据点的笔迹属性信息相同的笔迹属性信息删除,进而实现了对笔迹数据的无损压缩,减少了笔迹数据的存储空间及传输时间,提高了用户体验。The handwriting process method, handwriting input device and computer-readable storage medium of the present application, because the handwriting data is grouped according to strokes, and a certain data point in each stroke is selected for marking, and then each stroke is divided The handwriting attribute information of the data points other than the data point is the same as the handwriting attribute information of the marked data point, thereby achieving lossless compression of the handwriting data, reducing the storage space and transmission time of the handwriting data To improve the user experience.
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without paying any creative work, other drawings can be obtained based on these drawings.
图1为本申请一实施例中的手写笔迹处理方法的流程图。FIG. 1 is a flowchart of a method for processing handwriting in an embodiment of the present application.
图2为本申请一实施例中的笔迹数据标记以及笔迹属性信息的示意图。FIG. 2 is a schematic diagram of handwriting data marks and handwriting attribute information in an embodiment of the present application.
图3为本申请一实施例中的笔迹数据压缩后包含的笔迹属性信息的示意图。FIG. 3 is a schematic diagram of handwriting attribute information included in handwriting data compressed in an embodiment of the present application.
图4为本申请另一实施例中的手写笔迹处理方法的流程图。4 is a flowchart of a method for processing handwriting in another embodiment of the present application.
图5为本申请再一实施例中的手写笔迹处理方法的流程图。FIG. 5 is a flowchart of a method for processing handwriting in yet another embodiment of the present application.
图6为本申请又一实施例中的手写笔迹处理方法的流程图。6 is a flowchart of a method for processing handwriting in another embodiment of the present application.
图7为本申请另一实施例中的笔迹数据压缩后的示意图。7 is a schematic diagram of handwriting data after being compressed in another embodiment of the present application.
图8为本申请一实施例中的手写输入设备的结构框图。FIG. 8 is a structural block diagram of a handwriting input device in an embodiment of this application.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清 楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without making creative work fall within the scope of protection of this application.
需要说明的是,在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。It should be noted that the terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include the majority forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" as used herein refers to and includes any or all possible combinations of one or more associated listed items.
请参阅图1,图1为本申请一实施例公开的手写笔迹处理方法的流程图。所述手写笔迹处理方法应用于一手写输入设备中,如图1所示,所述手写笔迹处理方法包括如下步骤:Please refer to FIG. 1, which is a flowchart of a method for processing handwriting disclosed in an embodiment of the present application. The method for processing handwriting is applied to a handwriting input device. As shown in FIG. 1, the method for processing handwriting includes the following steps:
步骤S11,获取每一笔划中各个数据点的笔迹属性信息。Step S11: Obtain the handwriting attribute information of each data point in each stroke.
其中,所述笔划数据可以通过手写输入直接获得,也可以通过网络接收而获得。例如,当手写输入设备为手写板时,通过在触摸屏上进行手写收入即可得到相应的笔划数据;当手写输入设备为手机或平板电脑时,其可通过无线网络(比如蓝牙)与手写板进行无线连接,并接收所述手写板通过无线网络发送的笔迹数据。Wherein, the stroke data may be obtained directly through handwriting input, or may be obtained through network reception. For example, when the handwriting input device is a tablet, the corresponding stroke data can be obtained by making handwriting income on the touch screen; when the handwriting input device is a mobile phone or tablet, it can be connected to the tablet through a wireless network (such as Bluetooth) Connect wirelessly and receive handwriting data sent by the tablet through the wireless network.
在本实施方式中,所述笔划数据包括若干数据点,且每个数据点携带有相应的笔迹属性信息。其中,所述笔迹属性信息包括基本属性信息和附加属性信息。所述基本属性信息为坐标信息。所述附件属性信息为压力信息、颜色信息、宽度信息、透明度信息及时间信息中的至少一种。在其他实施方式中,所述笔迹属性信息还可以包括其他属性信息,例如晕染效果属性信息,在此不做限定。In this embodiment, the stroke data includes several data points, and each data point carries corresponding handwriting attribute information. Wherein, the handwriting attribute information includes basic attribute information and additional attribute information. The basic attribute information is coordinate information. The accessory attribute information is at least one of pressure information, color information, width information, transparency information, and time information. In other embodiments, the handwriting attribute information may further include other attribute information, such as blooming effect attribute information, which is not limited herein.
所述坐标信息代表每个数据点的位置。具体地,所述坐标信息包括X轴和Y轴的数据,因此,根据每个数据点的坐标信息即可确定每个数据点在显示屏上的位置。The coordinate information represents the position of each data point. Specifically, the coordinate information includes X-axis and Y-axis data. Therefore, the position of each data point on the display screen can be determined according to the coordinate information of each data point.
所述压力信息代表了每个数据点的压力值,即,手写笔在手写输入时在所述手写板上每个位置所述产生的压力值,其中,所述压力值影响笔迹的显示效果。The pressure information represents the pressure value of each data point, that is, the pressure value generated by the stylus at each position on the tablet during handwriting input, wherein the pressure value affects the display effect of the handwriting.
所述颜色信息代表了每个数据点的颜色。例如,所述笔迹的颜色可以是红 色、黄色或者是绿色。The color information represents the color of each data point. For example, the color of the handwriting may be red, yellow, or green.
所述宽度信息代表了每个数据点的宽度。例如,所述笔迹的宽度可以是1mm、0.5mm等。在一些实施例中,宽度信息可以与压力信息有关。The width information represents the width of each data point. For example, the width of the handwriting may be 1 mm, 0.5 mm, etc. In some embodiments, the width information may be related to pressure information.
所述透明度信息代表了每个数据点的透明度。例如,透明度可以是90%或者95%等。The transparency information represents the transparency of each data point. For example, the transparency may be 90% or 95%.
所述时间信息代表了每个数据点产生的时间。其中,所述时间可以通过手写输入设备的系统时钟获得。例如,当产生第一个数据点的时间为10:01时,则将该时间作为该数据点的时间信息。因此,每个数据点的时间信息是不同的,且通过所述时间信息可以确定多个数据点产生的顺序。The time information represents the time at which each data point was generated. Wherein, the time can be obtained by the system clock of the handwriting input device. For example, when the time when the first data point is generated is 10:01, the time is used as the time information of the data point. Therefore, the time information of each data point is different, and the order in which multiple data points are generated can be determined by the time information.
步骤S12,选择每一笔划中的某一数据点进行标记,并记为标记数据点。In step S12, a certain data point in each stroke is selected for marking and recorded as a marked data point.
请再参阅图2,由于手写笔迹所对应的内容可以通过笔划来进行体现,即,不论是什么内容(例如文字或图像),都是由若干笔划所组成的,例如,当所述手写笔迹对应的内容为“人”字时,包括一撇一捺两个笔划,可以按照笔划将所述手写笔迹分成两组。Please refer to FIG. 2 again, because the content corresponding to the handwriting can be embodied by strokes, that is, no matter what content (such as text or images), it is composed of several strokes, for example, when the handwriting corresponds When the content is "people", it includes two strokes, one stroke and one stroke. The handwriting can be divided into two groups according to the stroke.
所述选择每一笔划中的某一数据点进行标记,包括:添加标记符标记所选择的每一笔划中的数据点。例如,对第一个笔划中的某个数据点添加第一标记符,同时对第二个笔划中的某个数据点添加第二标记符。其中,所述标记符包括数字、字母、数字和字母组合中的至少一种。The selecting a certain data point in each stroke for marking includes: adding a marker to mark the selected data point in each stroke. For example, add a first marker to a data point in the first stroke, and add a second marker to a data point in the second stroke. Wherein, the marker includes at least one of numbers, letters, numbers and letter combinations.
在本实施方式中,所述标记符为数字,且所述数字为大1的正整数。其中,所述数字代表了笔划的顺序号。例如,当笔划为第一笔时,则该笔划中某一数据点添加的标记符为1,当笔划为第二笔时,则该笔划中的某个数据点添加的标记符为2,以此类推,直至所有笔划对应的笔迹数据中的某个数据点标记完成。In this embodiment, the marker is a number, and the number is a positive integer greater than one. Among them, the number represents the sequence number of the stroke. For example, when the stroke is the first stroke, the marker added to a data point in the stroke is 1, and when the stroke is the second stroke, the marker added to a data point in the stroke is 2, to And so on, until a certain data point in the handwriting data corresponding to all strokes is marked.
在一个实施方式中,所述标记数据点为每一笔划中的起始数据点。In one embodiment, the marked data point is the starting data point in each stroke.
步骤S13,删除每一笔划中除标记数据点之外的其他数据点的笔迹属性信息中与所述标记数据点的笔迹属性信息相同的笔迹属性信息。Step S13: Delete the handwriting attribute information that is the same as the handwriting attribute information of the marked data point in the handwriting attribute information of the data points other than the marked data point in each stroke.
由于每组笔迹数据中,各个数据点会有相同的笔迹属性信息,若将每个数据点的笔迹属性信息全部进行存储,则会占用较大的存储空间,而将除标记的数据点的其他数据点与标记的数据点相同的笔迹属性信息删除,则可以节省很 多存储空间,且不影响笔迹数据的原有特征信息,即实现了对所述笔迹数据的无损压缩。Since each set of handwriting data, each data point will have the same handwriting attribute information. If all the handwriting attribute information of each data point is stored, it will occupy a larger storage space, and will be other than the marked data point. The deletion of the handwriting attribute information with the same data points as the marked data points can save a lot of storage space without affecting the original characteristic information of the handwriting data, that is, the lossless compression of the handwriting data is realized.
从而,最终保存的笔记数据将只包括每一笔划数据的标记数据点的笔迹属性信息以及除所述标记数据点之外的其他数据点与所述标记数据点的笔迹属性信息不同的笔迹属性信息。Thus, the final saved note data will only include the handwriting attribute information of the marked data points of each stroke data and the handwriting attribute information of other data points other than the marked data points that are different from the handwritten attribute information of the marked data points .
在一些实施方式中,所述删除每一笔划数据中除所述标记数据点之外的其他数据点的笔迹属性信息中与所述标记数据点的笔迹属性信息相同的笔迹属性信息,具体为:删除每一笔划数据中除所述标记数据点之外的其他数据点的附加属性信息中与所述标记数据点的附加属性信息相同的笔迹属性信息。In some embodiments, the handwriting attribute information in the handwriting attribute information of the data points other than the marked data point in each stroke data that is the same as the handwriting attribute information of the marked data point is specifically: Delete the handwriting attribute information that is the same as the additional attribute information of the marked data point in the additional attribute information of the data points other than the marked data point in each stroke data.
请再参阅图3,在本实施方式中,所述与所述标记数据点相同的附加属性信息,包括:颜色信息、宽度信息、透明度信息中的至少一种。由于所述笔迹数据是按照笔划进行分组的,同一笔划的颜色、宽度和透明度是相同的,因此,可以将每一笔划数据中各个数据点的颜色信息、宽度信息和透明度信息进行删除,只保留标记数据点的附加属性信息即可,如此,可节省较大存储空间。Please refer to FIG. 3 again. In this embodiment, the additional attribute information that is the same as the marked data point includes at least one of color information, width information, and transparency information. Because the handwriting data is grouped according to strokes, the color, width and transparency of the same stroke are the same. Therefore, the color information, width information and transparency information of each data point in each stroke data can be deleted and only retained It is sufficient to mark the additional attribute information of the data point, so that a larger storage space can be saved.
需要说明的是,在书写过程中,笔迹的颜色、宽度和透明度都是预设的,因此,在落笔时,颜色、宽度和透明度都是确定的,若要进行更改,则需停笔进行设定后再次落笔,而再次落笔后则是下一个笔划了,因此,同一笔划中的颜色、宽度和透明度是相同的。It should be noted that during the writing process, the color, width and transparency of the handwriting are preset. Therefore, when the pen is drawn, the color, width and transparency are determined. If you want to make changes, you need to stop the pen to set After the pen is fixed, the pen is dropped again, and after the pen is dropped again, it is the next stroke. Therefore, the color, width, and transparency in the same stroke are the same.
在其他实施例中,同一笔划中的颜色、宽度和透明度也可以不相同。同一笔划中的颜色、宽度和透明度可因书写时的书写压力或者书写速度等因素的不同而改变。例如,在书写速度比较大的时候笔划的颜色向暖色系变化,书写速度比较小的时候笔划的颜色向冷色系变化。书写压力比较大的时候,笔划的透明度较低、宽度较大;书写压力比较小的时候,笔划的透明度较高、宽度较小。In other embodiments, the color, width, and transparency in the same stroke may also be different. The color, width and transparency in the same stroke can be changed due to different factors such as writing pressure or writing speed during writing. For example, when the writing speed is relatively high, the stroke color changes to a warm color system, and when the writing speed is relatively low, the stroke color changes to a cool color system. When the writing pressure is relatively high, the transparency of the stroke is low and the width is large; when the writing pressure is relatively low, the transparency of the stroke is high and the width is small.
本申请所公开的手写笔迹处理方法,由于选择每一笔划数据中的某一数据点进行标记,然后将每一笔划数据中除标记数据点之外的其他数据点的笔迹属性信息中与所述标记数据点的笔迹属性信息相同的笔迹属性信息删除,进而实现了对笔迹数据的无损压缩,减少了笔迹数据的存储空间和传输时间,提高了用户体验。The handwriting writing processing method disclosed in this application selects a certain data point in each stroke data for marking, and then combines the handwriting attribute information of other data points in each stroke data except the marked data point with the The handwriting attribute information with the same handwriting attribute information of the marked data point is deleted, thereby achieving lossless compression of the handwriting data, reducing the storage space and transmission time of the handwriting data, and improving the user experience.
请再参阅图4,在一些实施方式中,所述手写笔迹处理方法较之图1中的 处理方法在步骤S11之前,还包括:Please refer to FIG. 4 again. In some embodiments, the handwriting process method compared to the process method in FIG. 1 before step S11 further includes:
步骤S41:当相邻两数据点之间的时间间隔超过预设时间值时,判断所述两数据点分属相邻的两笔划。Step S41: When the time interval between two adjacent data points exceeds a preset time value, it is determined that the two data points belong to two adjacent strokes.
在本实施方式中,可以根据各个数据点的时间信息确定每一连续的笔划,即,所述笔划及笔划的顺序由各个笔划所对应的各个数据点的时间信息确定。由于在书写过程中,每个笔划是由连续的数据点组成的,且用户在书写下一笔划时会提笔后再落笔。因此,不同笔划之间是有时间间隔的,因此,同一笔划中的相邻数据点的时间信息来说,应该是连续的。则可以确定该时间信息连续的数据点为同一个笔划,且该笔划的起始数据点为连续的时间信息中最早的时间点对应的数据点,该笔划的终止数据点为连续的时间信息中最晚的时间点对应的数据点。从另一方面来说,当相邻的两个数据点的时间间隔大于预设时间值时,则确定该相邻的两个数据点分属相邻的两笔画,其中,相邻的两个数据点中的时间信息靠前的为前一笔划的终止数据点,时间信息靠后的为下一笔划的起始数据点。同时,还可以依据时间信息对同一笔划中的各个数据点进行排序,即时间信息最早的为起始数据点,时间属性信息最晚的为该笔划的终止数据点。In this embodiment, each continuous stroke can be determined according to the time information of each data point, that is, the strokes and the order of the strokes are determined by the time information of each data point corresponding to each stroke. During the writing process, each stroke is composed of consecutive data points, and the user will raise the pen before writing the next stroke when writing the next stroke. Therefore, there is a time interval between different strokes. Therefore, the time information of adjacent data points in the same stroke should be continuous. Then it can be determined that the continuous data points of the time information are the same stroke, and the start data point of the stroke is the data point corresponding to the earliest time point in the continuous time information, and the end data point of the stroke is the continuous time information The data point corresponding to the latest time point. On the other hand, when the time interval between two adjacent data points is greater than a preset time value, it is determined that the two adjacent data points belong to two adjacent strokes, where the two adjacent data points The time information earlier in the data point is the end data point of the previous stroke, and the time information later is the start data point of the next stroke. At the same time, each data point in the same stroke can also be sorted according to time information, that is, the earliest time information is the starting data point, and the latest time attribute information is the ending data point of the stroke.
在另一实施例中,所述步骤S41还可以为:当相邻两数据点之间的坐标差值超过预设差值时,判断所述两数据点分属相邻的两笔划。在本实施方式中,可以根据各个数据点的坐标信息确定每一连续的笔划。即,每一笔划及每一笔划的顺序可以一个当前数据点相对于前一数据点的坐标差值来确定。由于在书写过程中,每个笔划是由连续的数据点组成的,且用户在书写下一笔划时会提笔后再落笔。因此,不同笔划之间的坐标是有间隔的,因此,当相邻的两个数据点之间的坐标信息的差值超过预设差值时,则可以判断两个数据点分属两个相邻的笔划。请再参阅图5,在一些实施例中,为了提高存储空间的有效利用率,所述手写笔迹处理方法较之图1中的处理方法在步骤S12之前,还包括:In another embodiment, the step S41 may also be: when the coordinate difference between two adjacent data points exceeds a preset difference, it is determined that the two data points belong to two adjacent strokes. In this embodiment, each continuous stroke can be determined according to the coordinate information of each data point. That is, each stroke and the order of each stroke can be determined by the coordinate difference of a current data point relative to the previous data point. During the writing process, each stroke is composed of consecutive data points, and the user will raise the pen before writing the next stroke when writing the next stroke. Therefore, the coordinates between different strokes are spaced. Therefore, when the difference between the coordinate information between two adjacent data points exceeds a preset difference, it can be judged that the two data points belong to two phases Neighbor strokes. Please refer to FIG. 5 again. In some embodiments, in order to improve the effective utilization of storage space, the handwriting processing method compared to the processing method in FIG. 1 before step S12 further includes:
步骤S51,:确定每一笔划中的无效数据点,并将所述无效数据点删除。在本实施方式中,所述确定每一笔划中的无效数据点,包括:确定所述笔迹属性信息不符合预设条件的数据点为所述无效数据点,其中,所述无效数据点为无法识别或显示的数据点。例如,当压力信息小于预设值时,将无法将该数据 点进行显示。。Step S51: Determine invalid data points in each stroke, and delete the invalid data points. In this embodiment, the determination of the invalid data point in each stroke includes: determining that the data point whose handwriting attribute information does not meet the preset condition is the invalid data point, wherein the invalid data point is unable The data points identified or displayed. For example, when the pressure information is less than the preset value, the data point cannot be displayed. .
请再参阅图6,在一些实施例中,为了进一步提高存储效率,所述手写笔迹处理方法较之图1中的方法还包括如下步骤:Please refer to FIG. 6 again. In some embodiments, in order to further improve storage efficiency, the handwriting processing method further includes the following steps compared with the method in FIG. 1:
步骤S61,将所有数据点的时间信息删除。Step S61: Delete the time information of all data points.
在本实施方式中,虽然各个数据点的时间信息不同,但是在先前的步骤中,已经按照时间的顺序将所有数据点进行了排序(顺序存放),因此,时间属性信息已经没有其他作用,因此,如图7所示,可以将其进行删除以进一步节约存储空间。In this embodiment, although the time information of each data point is different, in the previous step, all data points have been sorted (sequentially stored) in the order of time, so the time attribute information has no other effect, so As shown in Figure 7, you can delete it to further save storage space.
在一些实施例中,所述方法还可包括步骤:响应对手写笔迹的对应内容进行显示等的操作时,控制根据每一笔划中的标记的数据点的笔迹属性信息以及除标记数据点之外的其他数据点的笔迹属性信息与所述标记数据点的笔迹属性信息相同的笔迹属性信息还原出每个其他数据点的完整的笔迹属性信息,并根据标记数据点的笔迹属性信息以及每个其他数据点的完整的笔迹属性信息进行显示。In some embodiments, the method may further include the step of: in response to an operation such as displaying the corresponding content of the handwritten handwriting, controlling the handwriting attribute information according to the marked data points in each stroke and in addition to the marked data points The handwriting attribute information of the other data points is the same as the handwriting attribute information of the marked data point. The handwriting attribute information of each other data point is restored to the complete handwriting attribute information of each other data point, and The complete handwriting attribute information of the data point is displayed.
其中,所述根据每一笔划中的标记数据点的笔迹属性信息以及除标记数据点之外的其他数据点与所述标记的数据点的笔迹属性信息不同的笔迹属性信息还原出每个数据点的完整的笔迹属性信息,包括:将标记数据点的笔迹属性信息添加到所述标记数据点之外的其他数据点的笔迹属性信息中,而还原出每个其他数据点的完整的笔迹属性信息。Wherein, each data point is restored according to the handwriting attribute information of the marked data point in each stroke and the handwriting attribute information of other data points other than the marked data point and the handwritten attribute information of the marked data point Complete handwriting attribute information, including: adding the handwriting attribute information of the marked data point to the handwriting attribute information of data points other than the marked data point, and restoring the complete handwriting attribute information of each other data point .
请参阅图8,其为本申请一实施例中的手写输入设备100的结构框图。所述手写输入设备100可以是但不限于手机、平板电脑、笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备、智能手环、计步器等,此处不做限定。所述手写输入设备100包括但不限于存储器10以及处理器20。具体地,所述存储器10及所述处理器20可以通过通信总线30耦合。本领技术人员应当理解的是,所述图6仅是所述手写输入设备100的示例,并不构成对所述手写输入设备100的限定,所述手写输入设备100可以包括比图1所示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述手写输入设备100还可以包括触摸屏、输入输出设备、网络接入设备等。Please refer to FIG. 8, which is a structural block diagram of a handwriting input device 100 in an embodiment of the present application. The handwriting input device 100 may be, but not limited to, a mobile phone, a tablet computer, a notebook computer, a personal digital assistant (Personal Digital Assistant (PDA), a portable media player (Portable Media Player, PMP), a navigation device, a wearable device, Smart bracelets, pedometers, etc. are not limited here. The handwriting input device 100 includes but is not limited to the memory 10 and the processor 20. Specifically, the memory 10 and the processor 20 may be coupled through a communication bus 30. Those skilled in the art should understand that FIG. 6 is only an example of the handwriting input device 100, and does not constitute a limitation on the handwriting input device 100. The handwriting input device 100 may include more information than shown in FIG. More or fewer components, or a combination of certain components, or different components, for example, the handwriting input device 100 may further include a touch screen, an input and output device, a network access device, and the like.
所述存储器10可用于存储计算机程序和/或模块,所述处理器20通过运行或执行存储在所述存储器10内的计算机程序和/或模块,以及调用存储在存储器10内的数据,实现所述手写输入设备100的各种功能。所述存储器10可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、多个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;数据存储区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。The memory 10 may be used to store computer programs and / or modules. The processor 20 executes or executes the computer programs and / or modules stored in the memory 10 and calls the data stored in the memory 10 to achieve The various functions of the handwriting input device 100 will be described. The memory 10 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, application programs required for multiple functions (such as a sound playback function, an image playback function, etc.), etc .; the data storage area may Store data (such as audio data, phone book, etc.) created according to the use of mobile phones.
此外,所述存储器10可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(SmartMedia Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。In addition, the memory 10 may include a high-speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), and secure digital (SD) ) Card, flash card (Flash Card), multiple disk storage devices, flash memory devices, or other volatile solid-state storage devices.
所述处理器20可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable GateArray,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,所述处理器是所述手写输入设备100的控制中心,利用各种接口和线路连接整个所述手写输入设备100的各个部分。The processor 20 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-programmable gate array (Field-Programmable GateArray, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The processor is the control center of the handwriting input device 100, and uses various interfaces and lines to connect the entire handwriting input device 100 various parts.
在本实施方式中,所述存储器10中存有手写笔迹处理方法的相应程序,所述处理器20运行所述手写笔迹处理方法的相应程序执行如下操作:获取每一笔划中各个数据点的笔迹属性信息;选择每一笔划中的某一数据点进行标记,并标记为标记数据点;删除每一笔划中除标记的数据点之外的其他数据点的笔迹属性信息中与所述标记数据点的笔迹属性信息相同的笔迹属性信息。In this embodiment, the memory 10 stores the corresponding program of the handwriting process method, and the processor 20 runs the corresponding program of the handwriting process method to perform the following operations: obtain the handwriting of each data point in each stroke Attribute information; select a data point in each stroke to mark and mark it as a marked data point; delete the handwriting attribute information of other data points except the marked data point in each stroke and the marked data point The handwriting attribute information of the same handwriting attribute information.
在本实施方式中,所述笔迹属性信息包括基本属性信息和附加属性信息,所述基本属性信息为坐标信息,所述附加属性信息为压力信息、颜色信息、宽度信息、透明度信息及时间信息中的至少一种。所述删除每一笔划数据中除所述标记数据点之外的其他数据点的笔迹属性信息中与所述标记数据点的笔迹属性信息相同的笔迹属性信息,具体为:删除每一笔划数据中除所述标记数据点之外的其他数据点的附加属性信息中与所述标记数据点的附加属性信息相同的笔迹属性信息。In this embodiment, the handwriting attribute information includes basic attribute information and additional attribute information. The basic attribute information is coordinate information, and the additional attribute information is pressure information, color information, width information, transparency information, and time information. At least one. Deleting the handwriting attribute information in the handwriting attribute information of data points other than the marked data point in each stroke data that is the same as the handwriting attribute information of the marked data point, specifically: deleting each stroke data The handwriting attribute information in the additional attribute information of the data points other than the marked data point is the same as the additional attribute information of the marked data point.
本申请所公开的手写输入设备100,由于选择每一笔划数据中的某一数据点进行标记,然后将每一笔划数据中除标记数据点之外的其他数据点的笔迹属性信息中与所述标记数据点的笔迹属性信息相同的笔迹属性信息删除,进而实现了对笔迹数据的无损压缩,减少了笔迹数据的存储空间和传输时间,提高了用户体验。The handwriting input device 100 disclosed in this application selects a certain data point in each stroke data for marking, and then compares the handwriting attribute information of other data points in each stroke data except the marked data point with the The handwriting attribute information with the same handwriting attribute information of the marked data point is deleted, thereby achieving lossless compression of the handwriting data, reducing the storage space and transmission time of the handwriting data, and improving the user experience.
在一些实施方式中,所述标记数据点为每一笔划中的起始数据点。所述选择每一笔划中的某一数据点进行标记,包括:添加标记符标记所选择的每一笔划中的数据点。在本实施方式中,所述标记符为数字,且所述数字为大1的正整数。其中,所述数字代表了笔划的顺序号。例如,当笔划为第一笔时,则该笔划中某一数据点添加的标记符为1,当笔划为第二笔时,则该笔划中的某个数据点添加的标记符为2,以此类推,直至所有笔划对应的笔迹数据中的某个数据点标记完成。In some embodiments, the marked data point is the starting data point in each stroke. The selecting a certain data point in each stroke for marking includes: adding a marker to mark the selected data point in each stroke. In this embodiment, the marker is a number, and the number is a positive integer greater than one. Among them, the number represents the sequence number of the stroke. For example, when the stroke is the first stroke, the marker added to a data point in the stroke is 1, and when the stroke is the second stroke, the marker added to a data point in the stroke is 2, to And so on, until a certain data point in the handwriting data corresponding to all strokes is marked.
在一些实施方式中,在所述获取每一笔画中各个数据点的笔迹属性信息之前,所述处理器20运行所述手写笔迹处理方法的相应程序还执行如下操作:当相邻两数据点之间的坐标差值超过预设差值时,判断所述两数据点分属相邻的两笔划。In some embodiments, before acquiring the handwriting attribute information of each data point in each stroke, the corresponding program of the processor 20 running the handwriting handwriting processing method also performs the following operations: when two adjacent data points When the coordinate difference between them exceeds the preset difference, it is determined that the two data points belong to two adjacent strokes.
在本实施方式中,可以根据各个数据点的时间信息确定每一连续的笔划,即,所述笔划及笔划的顺序由各个笔划所对应的各个数据点的时间信息确定。由于在书写过程中,每个笔划是由连续的数据点组成的,且用户在书写下一笔划时会提笔后再落笔。因此,不同笔划之间是有时间间隔的,因此,同一笔划中的相邻数据点的时间信息来说,应该是连续的。则可以确定该时间信息连续的数据点为同一个笔划,且该笔划的起始数据点为连续的时间信息中最早的时间点对应的数据点,该笔划的终止数据点为连续的时间信息中最晚的时间点对应的数据点。从另一方面来说,当相邻的两个数据点的时间间隔大于预设时间值时,则确定该相邻的两个数据点分属相邻的两笔划,其中,相邻的两个数据点中的时间信息靠前的为前一笔划的终止数据点,时间信息靠后的为下一笔划的起始数据点。同时,还可以依据时间信息对同一笔划中的各个数据点进行排序,即时间信息最早的为起始数据点,时间属性信息最晚的为该笔划的终止数据点。In this embodiment, each continuous stroke can be determined according to the time information of each data point, that is, the strokes and the order of the strokes are determined by the time information of each data point corresponding to each stroke. During the writing process, each stroke is composed of consecutive data points, and the user will raise the pen before writing the next stroke when writing the next stroke. Therefore, there is a time interval between different strokes. Therefore, the time information of adjacent data points in the same stroke should be continuous. Then it can be determined that the continuous data points of the time information are the same stroke, and the start data point of the stroke is the data point corresponding to the earliest time point in the continuous time information, and the end data point of the stroke is the continuous time information The data point corresponding to the latest time point. On the other hand, when the time interval between two adjacent data points is greater than a preset time value, it is determined that the two adjacent data points belong to two adjacent strokes, where the two adjacent data points The time information earlier in the data point is the end data point of the previous stroke, and the time information later is the start data point of the next stroke. At the same time, each data point in the same stroke can also be sorted according to time information, that is, the earliest time information is the starting data point, and the latest time attribute information is the ending data point of the stroke.
在其他实施方式中,在所述获取每一笔画中各个数据点的笔迹属性信息之前,所述处理器20运行所述手写笔迹处理方法的相应程序还执行如下操作:当相邻两数据点之间的时间间隔超过预设时间值时,判断所述两数据点分属相邻的两笔划。在本实施方式中,可以根据各个数据点的坐标信息确定每一连续的笔划。即,每一笔划及每一笔划的顺序可以一个当前数据点相对于前一数据点的坐标差值来确定。由于在书写过程中,每个笔划是由连续的数据点组成的,且用户在书写下一笔划时会提笔后再落笔。因此,不同笔划之间的坐标是有间隔的,因此,当相邻的两个数据点之间的坐标信息的差值超过预设差值时,则可以判断两个数据点分属两个相邻的笔划。In other embodiments, before acquiring the handwriting attribute information of each data point in each stroke, the corresponding program of the processor 20 running the handwriting handwriting processing method also performs the following operations: when two adjacent data points When the time interval between them exceeds a preset time value, it is determined that the two data points belong to two adjacent strokes. In this embodiment, each continuous stroke can be determined according to the coordinate information of each data point. That is, each stroke and the order of each stroke can be determined by the coordinate difference of a current data point relative to the previous data point. During the writing process, each stroke is composed of consecutive data points, and the user will raise the pen before writing the next stroke when writing the next stroke. Therefore, the coordinates between different strokes are spaced. Therefore, when the difference between the coordinate information between two adjacent data points exceeds a preset difference, it can be judged that the two data points belong to two phases Neighbor strokes.
在所述选择每一笔划中的某一数据点进行标记,并记为标记数据点之前,所述处理器运行所述手写笔迹处理方法的相应程序还执行如下操作:确定每一笔划中的无效数据点,并将所述无效数据点删除。如此,可以进一步提高存储效率。在本实施方式中,所述确定每一笔划中的无效数据点,包括:确定所述笔迹属性信息不符合预设条件的数据点为所述无效数据点,其中,所述无效数据点为无法识别或显示的数据点。例如,当压力信息小于预设值时,将无法将该数据点进行显示。Before selecting a certain data point in each stroke for marking and marking it as a marked data point, the processor runs the corresponding program of the handwriting writing processing method and also performs the following operations: determining the invalidity in each stroke Data points, and delete the invalid data points. In this way, the storage efficiency can be further improved. In this embodiment, the determination of the invalid data point in each stroke includes: determining that the data point whose handwriting attribute information does not meet the preset condition is the invalid data point, wherein the invalid data point is unable The data points identified or displayed. For example, when the pressure information is less than the preset value, the data point cannot be displayed.
在一些实施例中,在所述删除每一笔划中除所述标记数据点之外的其他数据点的笔迹属性信息中与所述标记数据点的笔迹属性信息相同的笔迹属性信息步骤之后,所述处理器20运行所述手写笔迹处理方法的相应程序还执行如下操作:将所有数据点的时间属信息删除。如此,可以进一步提高存储效率。In some embodiments, after the step of deleting the handwriting attribute information in the handwriting attribute information of the data points other than the marked data point in each stroke is the same as the handwriting attribute information of the marked data point, The corresponding program of the processor 20 running the handwriting processing method also performs the following operations: deleting the time information of all data points. In this way, the storage efficiency can be further improved.
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某一些步骤可以采用其他顺序或者同时进行。其次,本领技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that this application is not limited by the sequence of actions described because According to this application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For a part that is not described in detail in an embodiment, you can refer to the related descriptions of other embodiments.
本申请实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present application may be adjusted, merged, and deleted sequentially according to actual needs.
本申请提供的手写笔迹处理方法可以在硬件、固件中实施,或者可以作为可以存储在例如CD、ROM、RAM、软盘、硬盘或磁光盘的等计算机可读存储介质中的软件或计算机代码,或者可以作为原始存储在远程记录介质或非瞬时的机器可读介质上、通过网络下载并且存储在本地记录介质中的计算机代码,从而这里描述的方法可以利用通用计算机或特殊处理器或在诸如ASIC或FPGA之类的可编程或专用硬件中以存储在记录介质上的软件来呈现。如本领能够理解的,计算机、处理器、微处理器、控制器或可编程硬件包括存储器组件,例如,RAM、ROM、闪存等,当计算机、处理器或硬件实施这里描述的处理方法而存取和执行软件或计算机代码时,存储器组件可以存储或接收软件或计算机代码。另外,当通用计算机存取用于实施这里示出的处理的代码时,代码的执行将通用计算机转换为用于执行这里示出的处理的专用计算机。The method for processing handwriting provided by the present application may be implemented in hardware or firmware, or as software or computer code that can be stored in a computer-readable storage medium such as CD, ROM, RAM, floppy disk, hard disk, or magneto-optical disk, or The computer code that can be stored as original on a remote recording medium or non-transitory machine-readable medium, downloaded over a network, and stored in a local recording medium, so that the method described here can utilize a general-purpose computer or a special processor or in such as ASIC or Programmable or dedicated hardware such as FPGA is presented as software stored on a recording medium. As can be understood in the art, a computer, processor, microprocessor, controller, or programmable hardware includes memory components, such as RAM, ROM, flash memory, etc., which are accessed when the computer, processor, or hardware implements the processing methods described herein When executing software or computer code, the memory component may store or receive the software or computer code. In addition, when the general-purpose computer accesses the code for implementing the processing shown here, the execution of the code converts the general-purpose computer into a dedicated computer for performing the processing shown here.
其中,所述计算机可读存储介质可为固态存储器、存储卡、光碟等。所述计算机可读存储介质存储有程序指令而供计算机调用后执行上述的手写笔迹处理方法。Wherein, the computer-readable storage medium may be solid-state memory, memory card, optical disc, etc. The computer-readable storage medium stores program instructions for the computer to execute the above-mentioned handwriting processing method.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施例进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领的一般技术人员,依据本申请的思想,在具体实施例及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application are described in detail above, and specific examples are used to explain the principles and embodiments of the present application. The descriptions of the above embodiments are only used to help understand the method and the core idea of the present application; A person of ordinary skill in the art, according to the ideas of the present application, may have changes in specific embodiments and application scopes. In summary, the content of this specification should not be construed as limiting the present application.
Claims (20)
- 一种手写笔迹处理方法,应用于手写输入设备中,其特征在于,所述手写笔迹处理方法包括如下步骤:A handwriting handwriting processing method is applied to a handwriting input device, and is characterized in that the handwriting handwriting processing method includes the following steps:获取每一笔划中各个数据点的笔迹属性信息;Obtain the handwriting attribute information of each data point in each stroke;选择每一笔划中的某一数据点进行标记,并记为标记数据点;Select a data point in each stroke to mark and mark it as a marked data point;删除每一笔划中除所述标记数据点之外的其他数据点的笔迹属性信息中与所述标记数据点的笔迹属性信息相同的笔迹属性信息。Delete the handwriting attribute information that is the same as the handwriting attribute information of the marked data point in the handwriting attribute information of the data points other than the marked data point in each stroke.
- 如权利要求1所述的手写笔迹处理方法,其特征在于,所述笔迹属性信息包括基本属性信息和附加属性信息,所述基本属性信息为坐标信息,所述附加属性信息为压力信息、颜色信息、宽度信息、透明度信息及时间信息中的至少一种。The method for processing handwriting according to claim 1, wherein the handwriting attribute information includes basic attribute information and additional attribute information, the basic attribute information is coordinate information, and the additional attribute information is pressure information and color information , Width information, transparency information, and time information.
- 如权利要求2所述的手写笔迹处理方法,其特征在于,所述删除每一笔划数据中除所述标记数据点之外的其他数据点的笔迹属性信息中与所述标记数据点的笔迹属性信息相同的笔迹属性信息,具体为:删除每一笔划数据中除所述标记数据点之外的其他数据点的附加属性信息中与所述标记数据点的附加属性信息相同的笔迹属性信息。The method for processing handwriting according to claim 2, wherein the deletion of the handwriting attribute information of the data points other than the marked data point in each stroke data and the handwritten attribute of the marked data point The handwriting attribute information with the same information is specifically: deleting the handwriting attribute information that is the same as the additional attribute information of the marked data point in the additional attribute information of the data points other than the marked data point in each stroke data.
- 如权利要求1所述的手写笔迹处理方法,其特征在于,在步骤获取每一笔画中各个数据点的笔迹属性信息之前,还包括步骤:The method for processing handwriting according to claim 1, wherein before the step of acquiring the handwriting attribute information of each data point in each stroke, the method further comprises the step of:当相邻两数据点之间的时间间隔超过预设时间值时,判断所述两数据点分属相邻的两笔划。When the time interval between two adjacent data points exceeds a preset time value, it is determined that the two data points belong to two adjacent strokes.
- 如权利要求1所述的手写笔迹处理方法,其特征在于,在步骤获取每一笔画中各个数据点的笔迹属性信息之前,还包括步骤:The method for processing handwriting according to claim 1, wherein before the step of acquiring the handwriting attribute information of each data point in each stroke, the method further comprises the step of:当相邻两数据点之间的坐标差值超过预设差值时,判断所述两数据点分属相邻的两笔划。When the coordinate difference between two adjacent data points exceeds a preset difference, it is determined that the two data points belong to two adjacent strokes.
- 如权利要求1所述的控制方法,其特征在于,所述选择每一笔划中的某一数据点进行标记,包括:添加标记符标记所选择的每一笔划中的数据点。The control method according to claim 1, wherein the selecting a certain data point in each stroke for marking comprises: adding a marker to mark the selected data point in each stroke.
- 如权利要求1所述的手写笔迹处理方法,其特征在于,所述标记数据点为每一笔划中的起始数据点。The method for processing handwriting according to claim 1, wherein the marked data point is a starting data point in each stroke.
- 如权利要求1所述的手写笔迹处理方法,其特征在于,在所述选择每 一笔划中的某一数据点进行标记,并记为标记数据点之前,还包括步骤:The method for processing handwriting according to claim 1, wherein before selecting a certain data point in each stroke for marking and recording it as a marked data point, further comprising the steps of:确定每一笔划中的无效数据点,并将所述无效数据点删除。Determine invalid data points in each stroke and delete the invalid data points.
- 如权利要求8所述的手写笔迹处理方法,其特征在于,所述确定每一笔划中的无效数据点,包括:确定所述笔迹属性信息不符合预设条件的数据点为所述无效数据点,其中,所述无效数据点为无法识别或显示的数据点。The method for processing handwriting according to claim 8, wherein the determining an invalid data point in each stroke comprises: determining that the data point where the handwriting attribute information does not meet a preset condition is the invalid data point , Where the invalid data point is a data point that cannot be identified or displayed.
- 如权利要求1所述的手写笔迹处理方法,其特征在于,在所述删除每一笔划中除所述标记数据点之外的其他数据点的笔迹属性信息中与所述标记数据点的笔迹属性信息相同的笔迹属性信息步骤之后,还包括如下步骤:The method for processing handwriting according to claim 1, wherein in the handwriting attribute information of the data points other than the marked data point in each deleted stroke, the handwriting attribute of the marked data point After the handwriting attribute information step with the same information, the following steps are also included:将所有数据点的时间信息删除。Delete the time information of all data points.
- 一种手写输入设备,包括存储器和处理器,其特征在于,所述存储器存有手写笔迹处理方法的相应程序,所述处理器运行所述手写笔迹处理方法的相应程序执行如下操作:A handwriting input device includes a memory and a processor, wherein the memory stores a corresponding program of a handwriting process method, and the processor runs the corresponding program of the handwriting process method to perform the following operations:获取每一笔划中各个数据点的笔迹属性信息;Obtain the handwriting attribute information of each data point in each stroke;选择每一笔划中的某一数据点进行标记,并记为标记数据点;Select a data point in each stroke to mark and mark it as a marked data point;删除每一笔划中除标记的数据点之外的其他数据点的笔迹属性信息中与所述标记数据点的笔迹属性信息相同的笔迹属性信息。Delete the handwriting attribute information that is the same as the handwriting attribute information of the marked data point in the handwriting attribute information of the data points other than the marked data point in each stroke.
- 如权利要求11所述的手写输入设备,其特征在于,所述笔迹属性信息包括基本属性信息和附加属性信息,所述基本属性信息为坐标信息,所述附加属性信息为压力信息、颜色信息、宽度信息、透明度信息及时间信息中的至少一种。The handwriting input device according to claim 11, wherein the handwriting attribute information includes basic attribute information and additional attribute information, the basic attribute information is coordinate information, and the additional attribute information is pressure information, color information, At least one of width information, transparency information, and time information.
- 如权利要求12所述的手写输入设备,其特征在于,所述删除每一笔划数据中除所述标记数据点之外的其他数据点的笔迹属性信息中与所述标记数据点的笔迹属性信息相同的笔迹属性信息,具体为:删除每一笔划数据中除所述标记数据点之外的其他数据点的附加属性信息中与所述标记数据点的附加属性信息相同的笔迹属性信息。The handwriting input device according to claim 12, wherein the handwriting attribute information of the data points other than the marked data point in each stroke data is deleted from the handwriting attribute information of the marked data point The same handwriting attribute information is specifically: deleting the handwriting attribute information that is the same as the additional attribute information of the marked data point in the additional attribute information of the data points other than the marked data point in each stroke data.
- 如权利要求11所述的手写输入设备,其特征在于,在所述获取每一笔画中各个数据点的笔迹属性信息之前,所述处理器运行所述手写笔迹处理方法的相应程序还执行如下操作:The handwriting input device according to claim 11, wherein before the acquiring the handwriting attribute information of each data point in each stroke, the corresponding program of the processor running the handwriting handwriting processing method also performs the following operations :当相邻两数据点之间的坐标差值超过预设差值时,判断所述两数据点分属 相邻的两笔划。When the coordinate difference between two adjacent data points exceeds a preset difference, it is determined that the two data points belong to two adjacent strokes.
- 如权利要求11所述的手写输入设备,其特征在于,在所述获取每一笔画中各个数据点的笔迹属性信息之前,所述处理器运行所述手写笔迹处理方法的相应程序还执行如下操作:The handwriting input device according to claim 11, wherein before the acquiring the handwriting attribute information of each data point in each stroke, the corresponding program of the processor running the handwriting handwriting processing method also performs the following operations :当相邻两数据点之间的时间间隔超过预设时间值时,判断所述两数据点分属相邻的两笔划。When the time interval between two adjacent data points exceeds a preset time value, it is determined that the two data points belong to two adjacent strokes.
- 如权利要求11所述的手写输入设备,其特征在于,所述选择每一笔划中的某一数据点进行标记,包括:添加标记符标记所选择的每一笔划中的数据点。The handwriting input device according to claim 11, wherein the selecting a certain data point in each stroke for marking comprises: adding a marker to mark the selected data point in each stroke.
- 如权利要求11所述的手写输入设备,其特征在于,所述标记数据点为每一笔划中的起始数据点。The handwriting input device according to claim 11, wherein the marked data point is a starting data point in each stroke.
- 如权利要求11所述的手写输入设备,其特征在于,在所述选择每一笔划中的某一数据点进行标记,并记为标记数据点之前,所述处理器运行所述手写笔迹处理方法的相应程序还执行如下操作:The handwriting input device according to claim 11, characterized in that before the selection of a certain data point in each stroke for marking and recording as a marked data point, the processor runs the handwriting writing processing method The corresponding program also performs the following operations:确定每一笔划中的无效数据点,并将所述无效数据点删除。Determine invalid data points in each stroke and delete the invalid data points.
- 如权利要求11所述的手写输入设备,其特征在于,在所述删除每一笔划中除所述标记数据点之外的其他数据点的笔迹属性信息中与所述标记数据点的笔迹属性信息相同的笔迹属性信息步骤之后,所述处理器运行所述手写笔迹处理方法的相应程序还执行如下操作:The handwriting input device according to claim 11, wherein the handwriting attribute information of the data points other than the marked data point in each stroke is deleted from the handwriting attribute information of the marked data point After the same handwriting attribute information step, the corresponding program of the processor running the handwriting handwriting processing method also performs the following operations:将所有数据点的时间信息删除。Delete the time information of all data points.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有手写笔迹处理方法的相应程序,所述手写笔迹处理方法的相应程序被处理器执行时实现如权利要求1至10中任一项所述的手写笔迹处理方法的步骤。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a corresponding program of a handwriting processing method, and the corresponding program of the handwriting processing method is implemented by a processor as claimed in claims 1 to The steps of the handwriting processing method according to any one of 10.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/116185 WO2020102937A1 (en) | 2018-11-19 | 2018-11-19 | Handwriting processing method, handwriting input device and computer readable storage medium |
CN201880095927.4A CN112639700A (en) | 2018-11-19 | 2018-11-19 | Handwriting processing method, handwriting input device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/116185 WO2020102937A1 (en) | 2018-11-19 | 2018-11-19 | Handwriting processing method, handwriting input device and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020102937A1 true WO2020102937A1 (en) | 2020-05-28 |
Family
ID=70773205
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/116185 WO2020102937A1 (en) | 2018-11-19 | 2018-11-19 | Handwriting processing method, handwriting input device and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112639700A (en) |
WO (1) | WO2020102937A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113763492A (en) * | 2021-08-26 | 2021-12-07 | 厦门鲸至教育科技有限公司 | Method for improving smoothness of drawing board track |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010016068A1 (en) * | 1996-12-02 | 2001-08-23 | Kazuki Shibata | Electronic document generating apparatus, electronic document generating method, and program thereof |
CN103838484A (en) * | 2014-02-21 | 2014-06-04 | 联想(北京)有限公司 | Method for deleting redundancy images, and electronic device |
CN106250804A (en) * | 2015-06-10 | 2016-12-21 | 联想(新加坡)私人有限公司 | The document stroke storage reduced |
CN108733306A (en) * | 2017-04-14 | 2018-11-02 | 华为技术有限公司 | A kind of Piece file mergence method and device |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6938222B2 (en) * | 2002-02-08 | 2005-08-30 | Microsoft Corporation | Ink gestures |
CN101561725B (en) * | 2008-04-16 | 2010-12-08 | 汉王科技股份有限公司 | Method and system of fast handwriting input |
JP5395927B2 (en) * | 2012-05-11 | 2014-01-22 | 株式会社東芝 | Electronic device and handwritten document search method |
JP5349645B1 (en) * | 2012-05-11 | 2013-11-20 | 株式会社東芝 | Electronic device and handwritten document processing method |
CN102903136B (en) * | 2012-09-28 | 2015-10-21 | 王平 | A kind of handwriting electronization method and system |
CN103176651B (en) * | 2013-03-05 | 2016-08-03 | 山东明海软件技术有限公司 | A kind of hand-written information Quick Acquisition method |
CN103268166B (en) * | 2013-05-17 | 2015-12-09 | 山东明海软件技术有限公司 | The former handwriting information collection of handwriting input device and display packing |
CN105678126A (en) * | 2014-11-20 | 2016-06-15 | 阿里巴巴集团控股有限公司 | Handwriting processing method and device |
CN105511792A (en) * | 2015-12-08 | 2016-04-20 | 刘炳林 | In-position hand input method and system for form |
CN108763320A (en) * | 2018-04-28 | 2018-11-06 | 广东蜂助手网络技术股份有限公司 | A kind of writing note data storage method, device, terminal and storage medium |
-
2018
- 2018-11-19 WO PCT/CN2018/116185 patent/WO2020102937A1/en active Application Filing
- 2018-11-19 CN CN201880095927.4A patent/CN112639700A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010016068A1 (en) * | 1996-12-02 | 2001-08-23 | Kazuki Shibata | Electronic document generating apparatus, electronic document generating method, and program thereof |
CN103838484A (en) * | 2014-02-21 | 2014-06-04 | 联想(北京)有限公司 | Method for deleting redundancy images, and electronic device |
CN106250804A (en) * | 2015-06-10 | 2016-12-21 | 联想(新加坡)私人有限公司 | The document stroke storage reduced |
CN108733306A (en) * | 2017-04-14 | 2018-11-02 | 华为技术有限公司 | A kind of Piece file mergence method and device |
Also Published As
Publication number | Publication date |
---|---|
CN112639700A (en) | 2021-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12112038B2 (en) | Display device, display controlling method, and computer program | |
US20230153274A1 (en) | File sharing method and apparatus, terminal, and storage medium | |
CN110100251B (en) | Apparatus, method, and computer-readable storage medium for processing document | |
CN105068727B (en) | A kind of implementation method and device of drawing tool | |
CN107390972B (en) | Terminal screen recording method and device and computer readable storage medium | |
US20160004425A1 (en) | Method of displaying graphic user interface and electronic device implementing same | |
JP2017531330A (en) | Picture processing method and apparatus | |
WO2019105237A1 (en) | Image processing method, computer device, and computer-readable storage medium | |
CN103955339A (en) | Terminal operation method and terminal equipment | |
US20170192653A1 (en) | Display area adjusting method and electronic device | |
WO2020102937A1 (en) | Handwriting processing method, handwriting input device and computer readable storage medium | |
CN109542307B (en) | Image processing method, device and computer readable storage medium | |
CN105513098B (en) | Image processing method and device | |
EP4131055A1 (en) | Annotation method and electronic device | |
KR102266869B1 (en) | Electronic apparatus and dispalying method thereof | |
CN112506370A (en) | Real-time recording storage method and device based on touch screen and storage medium | |
CN108549702B (en) | Method for cleaning picture library of mobile terminal and mobile terminal | |
WO2022143337A1 (en) | Display control method and apparatus, and electronic device and storage medium | |
CN113114559B (en) | Information display method, device and equipment | |
US20160034165A1 (en) | Activity processing method and electronic device supporting the same | |
WO2020062121A1 (en) | Page operating method, electronic device, and computer readable storage medium | |
JP2014071539A (en) | Image data editing device, and method for editing image data | |
WO2022111435A1 (en) | Method and apparatus for recording by usb device along with channel, and storage medium | |
CN111427498A (en) | Interface pushing method and device based on off-screen fingerprint | |
WO2024174190A1 (en) | Processing methods, intelligent terminal, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18940676 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18940676 Country of ref document: EP Kind code of ref document: A1 |