WO2019113943A1 - 书写笔迹的处理方法及相关设备 - Google Patents

书写笔迹的处理方法及相关设备 Download PDF

Info

Publication number
WO2019113943A1
WO2019113943A1 PCT/CN2017/116490 CN2017116490W WO2019113943A1 WO 2019113943 A1 WO2019113943 A1 WO 2019113943A1 CN 2017116490 W CN2017116490 W CN 2017116490W WO 2019113943 A1 WO2019113943 A1 WO 2019113943A1
Authority
WO
WIPO (PCT)
Prior art keywords
writing
stroke
template
point
handwriting
Prior art date
Application number
PCT/CN2017/116490
Other languages
English (en)
French (fr)
Inventor
周政霖
Original Assignee
深圳市柔宇科技有限公司
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 深圳市柔宇科技有限公司 filed Critical 深圳市柔宇科技有限公司
Priority to PCT/CN2017/116490 priority Critical patent/WO2019113943A1/zh
Priority to CN201780097422.7A priority patent/CN111433830A/zh
Publication of WO2019113943A1 publication Critical patent/WO2019113943A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B11/00Teaching hand-writing, shorthand, drawing, or painting

Definitions

  • the present application relates to the field of intelligent writing technology, and in particular, to a writing handwriting processing method and related equipment.
  • the tablet can receive the written content input by the user through a writing instrument such as a writing pen, and can communicate with the user terminal, so that the user terminal can display and record the written content transmitted by the tablet.
  • a writing instrument such as a writing pen
  • the user terminal can display and record the written content transmitted by the tablet.
  • the user realizes operations such as recording or playback viewing of the written content through the tablet.
  • the user can use the tablet to perform operations such as word-writing.
  • the embodiment of the present application provides a method for processing a writing handwriting and related equipment. It can realize the contrast of writing handwriting, which enriches the use function of the writing board and enhances the user experience.
  • an embodiment of the present application provides a method for processing a handwriting, the method comprising:
  • Detecting a writing stroke input by a user through a writing instrument the writing stroke comprising at least one writing stroke, the writing stroke comprising at least 2 writing points;
  • an embodiment of the present application provides a processing device for writing a handwriting, the device comprising:
  • An input unit configured to detect a writing stroke input by a user through a writing instrument, the writing stroke comprising at least one writing stroke, the writing stroke comprising at least two writing points;
  • the input unit is further configured to acquire a writing template corresponding to the writing handwriting
  • a processing unit configured to match the writing handwriting with the writing template to obtain a matching result
  • an output unit configured to output prompt information corresponding to the matching result.
  • an embodiment of the present application provides a tablet, the tablet includes:
  • a processor coupled to the memory
  • memory is used to store computer instructions
  • the processor is configured to invoke the computer instructions to perform the following methods:
  • the writing handwriting including at least one writing a stroke, the writing stroke comprising at least 2 writing points;
  • an embodiment of the present application provides a computer readable storage medium, including computer instructions for being executed by a processor to implement the method in the first aspect.
  • the detected writing handwriting can be matched with the writing template to obtain a matching result, and the result can be outputted. Match the prompt information corresponding to the result.
  • FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present application
  • FIG. 2 is a schematic flow chart of a method for processing a writing handwriting provided by an embodiment of the present application
  • FIG. 3 is a schematic flow chart of another method for processing a writing handwriting provided by an embodiment of the present application.
  • FIG. 4 is a schematic flow chart of still another method for processing a writing handwriting provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of still another method for processing a writing handwriting provided by an embodiment of the present application.
  • FIG. 6 is a unit composition diagram of a processing device for writing a handwriting provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a writing board provided by an embodiment of the present application.
  • FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • the application scenario includes a user terminal 11, a tablet 13 and a writing instrument 15.
  • the user terminal 11 can implement a communication connection with the tablet 13.
  • the user terminal 11 and the tablet 13 may be connected by wire or wirelessly, and are not limited herein. If the user terminal 11 and the tablet 13 are wirelessly connected, they can be connected by Bluetooth, Bluetooth Low Energy (BLE), or the like.
  • BLE Bluetooth Low Energy
  • a communication connection can be realized between the tablet 13 and the writing instrument 15.
  • the writing board 13 and the writing instrument 15 can be connected by wire or wirelessly, which is not limited herein. If the tablet 13 and the writing instrument 15 are connected wirelessly, they can be connected by Bluetooth, Bluetooth Low Energy (BLE), or the like.
  • the user terminal 11 may be a device configured with a display screen.
  • the user terminal 11 may be a smart phone, a tablet computer, a virtual reality (VR) device, an augmented reality (AR) device, and a wearable device.
  • Display devices such as devices are not limited herein.
  • the writing pad 13 can be used to detect writing strokes of a writing pen or other writing instrument, and can collect writing data of writing points in the writing handwriting in a cycle.
  • the tablet can pass the configured flexible sensor (Flexible Sensor, FS) performs writing data collection of writing points.
  • the writing board 13 may be a resistive pressure plate, an electromagnetic induction plate, a capacitive touch panel, a flexible touch panel, or the like, which is not limited herein.
  • the writing pen 15 can be used to interact with the tablet 13.
  • the stylus pen 15 can receive the information of the tablet 13 and respond to the information or the like, which is not limited herein.
  • FIG. 2 is a schematic flowchart diagram of a method for processing a writing handwriting according to an embodiment of the present application. This method can be applied to the above writing board. As shown in FIG. 2, the method includes at least the following steps.
  • Step S201 detecting a writing stroke input by a user through a writing instrument, the writing stroke comprising at least one writing stroke, the writing stroke comprising at least two writing points.
  • the tablet can detect a written handwriting that the user inputs through the writing instrument.
  • the writing stroke can include at least one writing stroke.
  • Each of the at least one writing stroke may include at least two writing points.
  • the tablet can capture writing data of the writing point in real time. Further, the writing data of the writing stroke can be acquired according to the writing data of each writing point included in the writing stroke. Further, the writing data of the writing handwriting can be acquired based on the writing data of each writing stroke included in the writing handwriting.
  • the writing data of the writing point may include at least one of a coordinate value of the writing point, a pressure value of the writing point, and a writing time of the writing point.
  • the writing data of the writing point may be represented as the first writing data.
  • the two-dimensional coordinate system can be established by using the starting writing point in the starting stroke of the writing handwriting as the origin.
  • the starting writing point in the starting stroke can be expressed as (0,0).
  • it can be expressed as (x, y).
  • the coordinate value of the writing point may be a coordinate value of the writing point based on the above-mentioned two-dimensional coordinate system, or a relative coordinate value of the writing point with respect to the starting point of the writing stroke to which the writing point belongs, which is not limited herein.
  • the pressure value of the writing point may be obtained by a writing instrument and transmitted by the writing instrument to the writing board, or obtained by a pressure sensor disposed in the writing board, which is not limited herein.
  • the writing time of the writing point may be the acquisition time of acquiring the writing point, or the relative time of the writing point relative to the last writing point, or the relative time of the writing point relative to the starting point of the writing stroke to which the writing point belongs. This is not limited.
  • the writing data of each writing stroke in the writing handwriting can also be acquired.
  • the writing data of the writing stroke may be represented as the second writing data.
  • the writing data of the writing stroke can be obtained from the writing data of each writing point included therein, or directly obtained.
  • the writing data of the writing stroke may include at least one of distance information between the end point and the starting point in the writing stroke, an average pressure value of the writing stroke, and a writing duration of the writing stroke.
  • the distance information between the end point and the starting point in the writing stroke can be used to represent the size of the writing stroke.
  • the distance information between the end point and the starting point may include a distance value and a direction from the starting point to the ending point.
  • the distance information can be obtained according to the coordinate value of the end point and the coordinate value of the starting point.
  • the pressure value of the writing stroke can include the starting point or ending point or other key points in the writing stroke
  • the pressure value, or the average pressure value of each writing point in the writing stroke, is not limited herein.
  • the writing duration of the writing stroke may be determined according to the acquisition time of the starting point of the writing stroke and the acquisition time of the ending point. Or, when the starting point of the writing stroke is detected, the time is counted until the end point is detected, and the timing is obtained, which is not limited herein.
  • the writing data of the written handwriting can also be acquired.
  • the writing data of the writing handwriting can be represented as the third writing data.
  • the writing data of the writing handwriting can be obtained from the writing data of each writing stroke included therein, or directly obtained.
  • the writing data of the writing handwriting may include a sequence of writing strokes of each writing stroke, at least one of writing duration of each writing stroke, pressure value of each writing stroke, relative positional relationship of each writing stroke, and the like.
  • the order of the writing strokes may be determined based on the acquisition time by comparing the starting points of the respective writing strokes, or determined by other means.
  • the pressure value of each writing stroke can be referred to the manner in which the pressure value of the writing stroke is described.
  • the relative positional relationship of each writing stroke may be determined according to the position information of each writing stroke, or may be determined according to the coordinate values of the starting point, the ending point or other key points in each writing stroke.
  • first writing data, the second writing data, and the third writing data may further include other data or information, which are not limited herein.
  • Step S202 acquiring a writing template corresponding to the writing handwriting.
  • a writing template can be pre-stored in the user terminal.
  • the writing template may be a writing stroke input by the user, for example, the user inputs personal information as a password, and the personal information may include a user name or other writing handwriting, etc., and the password may be used as a writing template.
  • the writing template can be a standard font template for the practice mode of the writing pad.
  • the tablet can receive an instruction for setting a password sent by the user terminal or input by the user, and after receiving the instruction for setting the password, acquiring a writing hand input by the user through the writing tool, the writing handwriting This is the password entered by the received user.
  • the tablet may send the received password entered by the user to the user terminal for storage or may be stored in a memory of the tablet configuration.
  • the tablet receives an open command, or a playback command for a certain written content, or the user terminal receives an application corresponding to the open tablet, the user terminal or the tablet may prompt the user to input a password and invoke pre-stored writing.
  • Handwriting is used as a writing template for matching.
  • Step S203 matching the writing handwriting with the writing template to obtain a matching result, and outputting prompt information corresponding to the matching result.
  • the writing stroke can be matched with the writing template according to any one of the first writing data, the second writing data, and the third writing data.
  • one of the above-described writing data is determined according to the writing mode in which the writing board is located for matching to obtain a matching result.
  • the matching of the writing handwriting and the writing template refer to the following embodiments, which are not limited herein.
  • the prompt information corresponding to the matching result may be output.
  • the user can obtain the matching result through the prompt information, or learn the writing suggestion and the like.
  • the tablet may output the prompt information to the user terminal or output the same to the writing tool
  • the prompt information or the output device configured by the tablet, such as a display screen, a speaker, etc., outputs the prompt information, which is not limited herein.
  • the detected writing handwriting can be matched with the writing template to obtain a matching result, and the result can be outputted. Match the prompt information corresponding to the result.
  • FIG. 3 is a schematic flowchart diagram of another method for processing a writing handwriting according to an embodiment of the present application.
  • the method can be applied to a writing board as described in the embodiments of the present application. This method is mainly applied to the case where the tablet is in the decryption mode. As shown in FIG. 3, the method includes at least the following steps.
  • Step S301 determining that the writing mode in which the writing board is located is a decryption mode.
  • the tablet is switched to the active state when receiving the enable command, or the application sent by the connected user terminal requests the open command, or the user sent by the user terminal requests to view or edit the set with permission.
  • the notification of the written content can determine that the writing mode of the writing board is the decryption mode, that is, the user needs to input the writing handwriting as a password on the writing board, obtain the permission to open the application related to the writing board of the user terminal, or view Or edit the corresponding content, etc.
  • Step S302 detecting a writing stroke input by the user through a writing instrument, the writing stroke comprising at least one writing stroke, the writing stroke comprising at least 2 writing points.
  • Step S303 acquiring third writing data of the writing handwriting.
  • the written data of the written handwriting is the third written data.
  • the third writing data may include at least one of a sequence of strokes in the writing stroke, a writing duration of the strokes, a pressure value of each stroke, and a relative positional relationship of the strokes.
  • the third writing data may also include other data, which is not limited herein.
  • the third written data refer to the related description in the foregoing embodiment, and details are not described herein again.
  • Step S304 acquiring a writing template corresponding to the writing handwriting, the writing template being a password written by a user pre-stored in the user terminal or the writing board.
  • the writing template may include one or more passwords, and each password corresponds to one user system. Different writing content, other information related to the user system, and the like can be stored in each user system.
  • steps S302 to S303 and step S304 is not limited in the embodiment of the present application.
  • Step S305 determining an error between the writing handwriting and the writing template according to the third writing data.
  • At least one of the data included in the third writing data can be compared with corresponding data in the writing template to determine an error between the writing handwriting and the writing template.
  • the third writing data includes the order of the writing strokes, it can be compared with the order of the strokes of the writing template.
  • a writing stroke of the writing handwriting may be first recognized, and a writing stroke corresponding to the writing stroke in the writing template may be identified, which may be according to two
  • the writing strokes have the same shape, or the coordinates of the writing point are the same, and two corresponding writing strokes are determined.
  • the serial numbers of the two writing strokes in the sequence are obtained from the writing handwriting and the writing template respectively, and the serial numbers are used to represent the writing order of the writing strokes in the writing process. By comparing whether the serial numbers of the two writing strokes are consistent, it is determined whether there is an error between the two writing strokes.
  • the error value is 1, and the errors of each writing stroke in the writing handwriting are sequentially counted according to the above manner, and the matching result is determined according to the statistical number of strokes with errors. For example, if the error ratio is greater than the preset threshold, the match is successful; on the contrary, the match is failed. Or, if the number of statistical errors is greater than the preset threshold, the matching fails; on the contrary, the matching is successful.
  • the writing stroke length of the writing stroke in the writing handwriting and the corresponding writing stroke in the writing template can be sequentially compared. If the difference between the writing durations of the two writing strokes is less than the preset threshold, it is determined that there is no error, and conversely, there is an error.
  • the error of each writing stroke in the writing handwriting can be counted in turn, and the matching result is determined according to the number of statistically existing strokes. For example, if the error ratio is greater than the preset threshold, the match is successful; on the contrary, the match is failed. Or, if the number of statistical errors is greater than the preset threshold, the matching fails; on the contrary, the matching is successful.
  • the manner of determining the error of the writing handwriting and the writing template can be referred to the above-described embodiment for determining the error according to the writing duration.
  • the manner of determining the error between the writing handwriting and the writing template can be referred to the above-described embodiment of determining the error according to the writing order.
  • the error can also be determined according to the combination of the above data, which is not limited herein.
  • Step S306 determining a matching result according to the error, where the matching result includes a matching success or a matching failure.
  • the writing handwriting can be matched with the writing template in turn. And based on the multiple matching results, the final matching result is determined.
  • Step S307 output prompt information corresponding to the matching result.
  • the matching is successful, and the prompt information may be sent to the user terminal, thereby the user terminal If the authentication succeeds, the user operation is responded to; if the matching fails, the prompt information may be sent to the user terminal, so that the user terminal displays the authentication failure.
  • a prompt message may be output to prompt the user whether to use the written handwriting as a password. If a confirmation instruction of the user is received, a new user system may be created, and the written handwriting is used as a password and the The user system binds.
  • FIG. 4 is a schematic diagram of a method for processing a written handwriting provided by an embodiment of the present application.
  • the method can be applied to a writing board as described in the embodiments of the present application. This method is mainly applied to the case where the tablet is in the practice mode. As shown in FIG. 4, the method includes at least the following steps.
  • Step S401 determining that the mode in which the tablet is located is a practice mode.
  • the writing board when the writing board is in the practice mode, the user can write the word through the writing board.
  • Step S402 detecting a writing stroke input by the user through a writing instrument, the writing stroke comprising at least one writing stroke, the writing stroke comprising at least 2 writing points.
  • Step S403 acquiring first writing data of a writing point in the writing handwriting, the first writing data including at least a coordinate value of the writing point, a pressure value of the writing point, and a writing time of the writing point.
  • the first writing data including at least a coordinate value of the writing point, a pressure value of the writing point, and a writing time of the writing point.
  • Step S404 acquiring a writing template corresponding to the writing handwriting.
  • steps S402 to S403 and step S404 is not limited herein.
  • the user terminal may first determine and display the writing template according to the user operation, and send the writing template to the writing board. After the writing board first acquires the writing template, the writing board detects the writing handwriting and obtains the first writing point in the writing handwriting. Write data.
  • the tablet may first detect the writing stroke and obtain the first writing data of the writing point in the writing handwriting, and then acquire the writing template from the user terminal.
  • Step S405 determining an error of the writing point and a corresponding template point in the writing template according to the first writing data.
  • the first writing data includes coordinate values of the writing point
  • the coordinate values of the corresponding writing points in the writing template and the writing handwriting can be compared, and the difference between the two coordinate values, such as the distance difference and/or, is determined. Whether the angle difference is within the preset range. If yes, it indicates that there is no error, otherwise, it indicates that there is an error.
  • the error value may be obtained, and according to the magnitude of the error value, Determine the match result.
  • the implementation manner of determining the error of the writing point corresponding to the writing handwriting and the writing template according to the pressure value can be referred to the manner determined according to the coordinate value.
  • the implementation manner of determining the error of the writing point corresponding to the writing handwriting and the writing template according to the writing time can be referred to the manner determined according to the coordinate value.
  • the writing points in the writing handwriting may be first filtered. For example, comparing whether the distance between a writing point and a previous writing point is greater than a preset distance threshold, and if so, retaining the writing point in the writing handwriting; if not, filtering the writing from the writing handwriting point. After the writing strokes are filtered, they can be matched with the writing template.
  • Step S406 determining a matching result according to the error.
  • the matching result can be determined based on the determined error value.
  • the matching results can include different levels of matching.
  • the degree of matching can correspond to the range of error values.
  • the degree of matching corresponding thereto may be determined according to the range of error values into which the error value falls. And outputting prompt information corresponding to the matching degree.
  • Step S407 output prompt information corresponding to the matching result.
  • the prompt information can be output to a writing instrument connected to the writing pen.
  • the writer An indicator light can be configured in the appliance.
  • the indicator driving information corresponding to the matching degree may be output according to the determined matching degree, and the driving information is used to drive the display manner of the indicator light corresponding to the matching degree. For example, if the degree of matching is high, the drive indicator is green, and if the match is low, the drive indicator is red. For another example, if the matching degree is high, the driving indicator display brightness is high, and if the matching degree is low, the driving indicator light shows low brightness.
  • the tablet can output matching results in real time. Enables users to get real-time word feedback when writing in real time, improving the user experience.
  • the foregoing manner may further include:
  • the status information may include a tilt of the writing tool
  • the warning information related to the writing posture is output.
  • the writing tool may be configured with a communication device, such as a Bluetooth module, etc., and the status information of the writing instrument may be sent to the tablet.
  • the writing instrument may also be provided with an acceleration sensor or the like, which may be used to capture the inclination of the writing instrument, which is used to characterize the posture of the user holding the writing instrument and the like.
  • the writing tool may send the status information collected in real time to the tablet.
  • the status information may include other information in addition to the inclination, which is not limited herein.
  • the tablet can determine whether the user's writing posture matches the practice mode based on the status information sent by the writing instrument.
  • the practice mode may include practicing a calligraphy mode, practicing a pen mode, practicing a pencil mode, etc., and different practice modes correspond to different writing postures. Further, different writing postures correspond to different inclinations. Then, it can be determined according to the obtained inclination to match the current practice mode. If there is no match, the warning information may be sent to the writing tool, for example, sending the indicator driving information to drive the warning light to blink, etc.; or sending the warning information to the user terminal, so that the user terminal displays the holding posture of the current practice mode matching. To prompt the user to correct the current grip posture.
  • FIG. 5 is a schematic flow chart of a method for processing a written handwriting provided by an embodiment of the present application.
  • the method can be applied to a writing board as described in the embodiments of the present application. This method is mainly applied to the case where the tablet is in the practice mode. As shown in FIG. 5, the method includes at least the following steps.
  • Step S501 determining that the mode in which the tablet is located is a practice mode.
  • Step S502 detecting a writing stroke input by the user through a writing instrument, the writing stroke comprising at least one writing stroke, the writing stroke comprising at least 2 writing points.
  • Step S503 acquiring second writing data of the writing point in the writing handwriting, the second writing data includes distance information between an ending point and a starting point in the writing stroke, a pressure value of the writing stroke, and the Write at least one of the writing duration of the stroke.
  • Step S504 acquiring a writing template corresponding to the writing handwriting.
  • steps S502 to S503 and step S504 is not limited herein.
  • Step S505 determining, according to the second writing data, an error of the writing point and a corresponding template point in the writing template.
  • the second writing data includes the distance information between the ending point and the starting point, that is, the length of the writing stroke
  • the length of the corresponding writing stroke in the writing handwriting and the writing template may be compared, if the length difference is preset Within the range, it is determined that there is no error, and conversely, it is determined that there is an error.
  • the writing strokes when comparing the writing strokes and the corresponding initial writing strokes in the writing template, if the difference between the two initial writing strokes is large, the writing strokes may be according to the length of the starting writing strokes in the writing template. The length of each writing stroke is adjusted in proportion, and then adjusted and then compared.
  • the pressure value of the corresponding writing stroke in the writing handwriting and the writing template can be compared to obtain a pressure difference value. If the pressure difference is within the preset range, it is determined that there is no error, and conversely, it is determined that there is an error.
  • the implementation manner of determining the error according to the writing duration can be referred to the determination method according to the length of the pressure value.
  • the error can be determined based on the combination of the above data, which is not limited herein.
  • Step S506 determining a matching result according to the error.
  • the matching result is a matching failure, it may include related data of the matching written stroke, for example, the first written data or the second written data of the written stroke.
  • Step S507 output prompt information corresponding to the matching result.
  • the prompt information can be output to a user terminal or a display screen configured by a tablet.
  • the prompt information can be used to resolve the difference between the written stroke input by the user and the corresponding written stroke in the writing template. For example, the user is prompted at the point of exertion of the stroke, or the length of the stroke or the writing rhythm of the stroke, and the like.
  • the foregoing prompt information may be preset or determined according to the information carried in the matching result, which is not limited herein.
  • the user can get writing suggestions in time during the process of practicing the word, thereby improving the user experience.
  • the method in the embodiment shown in FIG. 4 and FIG. 5 can also be combined.
  • the stroke in the writing stroke can also be performed according to the second writing data.
  • FIG. 6 is a block diagram of a processing device for writing a handwriting according to an embodiment of the present application.
  • the apparatus may include an input unit 601, a processing unit 603, and an output unit 605.
  • the input unit 601 is configured to detect a writing stroke input by a user through a writing tool, the writing stroke includes at least one writing stroke, and the writing stroke includes at least two writing points;
  • the input unit 601 is further configured to acquire a writing template corresponding to the writing handwriting
  • the processing unit 603 is configured to match the writing handwriting with the writing template to obtain a matching result
  • the output unit 605 is configured to output prompt information corresponding to the matching result.
  • the above functional unit can be implemented based on the structure of the user terminal shown in FIG. 7 and is not limited herein.
  • FIG. 7 is a schematic structural diagram of a writing board according to an embodiment of the present application.
  • the tablet may include a memory 701, a processor 703, and a communication interface 705. Wherein, the above devices are coupled through a communication bus.
  • the memory 701 is configured to store applications, computer instructions, and data; the processor 703 is configured to invoke computer instructions and data to execute any of the methods performed by the user terminal; the communication interface 705 is used to communicate with the user under the control of the processor 703. A terminal or writing instrument for information interaction.
  • the processor 703 may also include a Central Processing Unit (CPU). Alternatively, processor 703 can also be understood to be a controller.
  • CPU Central Processing Unit
  • processor 703 can also be understood to be a controller.
  • the memory 701 may include a read only memory and a random access memory, and provides instructions, data, and the like to the processor 703.
  • a portion of the memory 701 can also include a non-volatile random access memory.
  • a computer readable storage medium may include computer instructions, applications, operating systems, and the like.
  • the components of a particular application are coupled together, for example, via a bus system.
  • the bus system can also include a power bus, a control bus, and a status signal bus.
  • various buses are labeled as bus system 707 in the figure.
  • Processor 703 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 703 or an instruction in a form of software.
  • the processor 703 may be a general purpose processor, a digital signal processor, an application specific integrated circuit, an off-the-shelf programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.
  • the processor 703 can implement or perform the various methods, steps, and logic blocks disclosed in the embodiments of the present invention.
  • the processor 703 can be an image processor, a microprocessor, or the processor can be any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • Software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory or
  • the device can be electrically erasable in a storage medium such as a programmable memory or a register.
  • the storage medium is located in the memory 701.
  • the processor 703 can read an application, computer instructions or data in the memory 701, and complete the steps of the above method performed by the user terminal in combination with the hardware thereof.
  • processor 703 is configured to invoke the computer instructions to perform the following methods:
  • Detecting a writing stroke input by a user through a writing instrument the writing stroke comprising at least one writing stroke, the writing stroke comprising at least 2 writing points;
  • processor 703 can also execute any one of the foregoing method embodiments by using a computer instruction, and details are not described herein again.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种书写笔迹的处理方法及相关设备。该方法包括:检测用户通过书写工具输入的书写笔迹(S201),所述书写笔迹包括至少1个书写笔划,所述书写笔划包括至少2个书写点;获取与所述书写笔迹对应的书写模板(S202);将所述书写笔迹与所述书写模板进行匹配以得到匹配结果,并输出与所述匹配结果对应的提示信息(S203)。能够实现书写笔迹的对比,进而丰富了书写板的使用功能,提升用户体验。

Description

书写笔迹的处理方法及相关设备 技术领域
本申请涉及智能书写技术领域,尤其涉及一种书写笔迹处理方法及相关设备。
背景技术
随着书写板的技术发展,书写板可以接收用户通过书写工具,如书写笔等,输入的书写内容,并可以实现与用户终端进行通信,使用户终端可以显示并记录书写板传输的书写内容。从而用户通过书写板实现对书写内容进行记录或回放查看等操作。并且用户可以利用书写板进行练字等操作。
当前,随着用户对书写板的个性化操作的要求逐渐提升,如何利用书写板对书写笔迹进行处理,例如,通过书写板实现书写笔迹的对比,成为本领域技术人员积极研究的课题。
发明内容
本申请实施例提供了一种书写笔迹的处理方法及相关设备。能够实现书写笔迹的对比,进而丰富了书写板的使用功能,提升用户体验。
第一方面,本申请实施例提供了一种书写笔迹的处理方法,该方法包括:
检测用户通过书写工具输入的书写笔迹,所述书写笔迹包括至少1个书写笔划,所述书写笔划包括至少2个书写点;
获取与所述书写笔迹对应的书写模板;
将所述书写笔迹与所述书写模板进行匹配以得到匹配结果,并输出与所述匹配结果对应的提示信息。
第二方面,本申请实施例提供了一种书写笔迹的处理装置,该装置包括:
输入单元,用于检测用户通过书写工具输入的书写笔迹,所述书写笔迹包括至少1个书写笔划,所述书写笔划包括至少2个书写点;
所述输入单元,还用于获取与所述书写笔迹对应的书写模板;
处理单元,用于将所述书写笔迹与所述书写模板进行匹配以得到匹配结果;
输出单元,用于输出与所述匹配结果对应的提示信息。
第三方面,本申请实施例提供了一种书写板,该书写板包括:
存储器;以及
与所述存储器耦合的处理器;
其中,所述存储器用于存储计算机指令;
所述处理器用于调用所述计算机指令,以执行以下方法:
检测用户通过书写工具输入的书写笔迹,所述书写笔迹包括至少1个书写 笔划,所述书写笔划包括至少2个书写点;
获取与所述书写笔迹对应的书写模板;
将所述书写笔迹与所述书写模板进行匹配以得到匹配结果,并输出与所述匹配结果对应的提示信息。
第四方面,本申请实施例提供了一种计算机可读性存储介质,包括计算机指令,所述计算机指令用于被处理器执行以实现第一方面中的方法。
本申请实施例中,通过检测用户通过书写工具输入的书写笔迹,并获取与书写笔迹对应的书写模板,可以将检测到的书写笔迹与书写模板进行匹配,以得到匹配结果,并可以输出与该匹配结果对应的提示信息。通过上述方式,可以丰富书写板的书写功能,使用户输入得到反馈,提升了用户体验。
附图说明
图1是本申请实施例提供的一种应用场景的示意图;
图2是本申请实施例提供的一种书写笔迹的处理方法的流程示意图;
图3是本申请实施例提供的另一种书写笔迹的处理方法的流程示意图;
图4是本申请实施例提供的又一种书写笔迹的处理方法的流程示意图;
图5是本申请实施例提供的再一种书写笔迹的处理方法的流程示意图;
图6是本申请实施例提供的一种书写笔迹的处理装置的单元组成图;
图7是本申请实施例提供的一种书写板的结构示意图。
具体实施方式
首先对本申请实施例所应用的应用场景进行简单介绍。
请参阅图1,图1是本申请实施例提供的一种应用场景的示意图。如图1所示,该应用场景包括用户终端11、书写板13以及书写工具15。
其中,用户终端11可以与书写板13之间实现通信连接。用户终端11与书写板13之间可以通过有线方式连接,或通过无线方式连接,在此不予限定。若用户终端11与书写板13之间通过无线方式连接,可以通过蓝牙(Bluetooth)、低功耗蓝牙(Bluetooth Low Energy,BLE)等方式进行连接。
进一步地,书写板13与书写工具15之间可以实现通信连接,书写板13与书写工具15之间可以通过有线方式连接,或通过无线方式连接,在此不予限定。若书写板13与书写工具15之间通过无线方式连接,可以通过蓝牙(Bluetooth)、低功耗蓝牙(Bluetooth Low Energy,BLE)等方式进行连接。
其中,用户终端11可以是配置有显示屏的设备,例如,用户终端11可以是智能手机、平板电脑、虚拟现实(Virtual Reality,VR)设备、增强现实(Augmented reality,AR)设备、可穿戴式设备等显示设备,在此不予限定。
书写板13可以用于检测书写笔或其他书写工具的书写笔迹,并可以按照周期采集书写笔迹中书写点的书写数据。书写板可以通过所配置的柔性传感器 (Flexible Sensor,FS)进行书写点的书写数据采集。书写板13可以是电阻式压力板、电磁式感应板、电容式触控板、柔性触控板等,在此不予限定。
书写笔15可以用于与书写板13进行交互。例如,书写笔15可以接收书写板13的信息,并响应该信息等,在此不予限定。
下面结合图1所示的应用场景,介绍本申请实施例提供的方法实施例。
请参阅图2,图2是本申请实施例提供的一种书写笔迹的处理方法的流程示意图。该方法可以应用于上述书写板中。如图2所示,该方法至少包括以下步骤。
步骤S201,检测用户通过书写工具输入的书写笔迹,所述书写笔迹包括至少1个书写笔划,所述书写笔划包括至少2个书写点。
示例性地,书写板可以检测用户通过书写工具输入的书写笔迹。其中,书写笔迹可以包括至少1个书写笔划。至少1个书写笔划中每个书写笔划可以包括至少2个书写点。
示例性地,书写板可以实时采集书写点的书写数据。进一步地,可以根据书写笔划包括的各书写点的书写数据,获取书写笔划的书写数据。进一步地,可以根据书写笔迹包括的各书写笔划的书写数据,获取书写笔迹的书写数据。
其中,书写点的书写数据可以包括书写点的坐标值,书写点的压力值,书写点的书写时间中的至少一个数据。本申请实施例其中,书写点的书写数据可以表示为第一书写数据。
在此,可以以书写笔迹的起始书写笔划中的起始书写点作为原点,建立二维坐标系。起始笔划中的起始书写点可以表示为(0,0)。对于书写笔迹中的其他书写点,可以表示为(x,y)。书写点的坐标值可以是该书写点基于上述建立二维坐标系的坐标值,或者是该书写点相对于其所属的书写笔划的起始点的相对坐标值,在此不予限定。
书写点的压力值可以是通过书写工具检测,并由书写工具传输至书写板中获得的,或者是通过书写板中配置的压力传感器获得的,在此不予限定。
书写点的书写时间可以是获取该书写点的获取时间,或者是该书写点相对于上一次书写点的相对时间,或者是该书写点相对于其所属的书写笔划的起始点的相对时间,在此不予限定。
进一步地,还可以获取书写笔迹中各书写笔划的书写数据。本申请实施例中,书写笔划的书写数据可以表示为第二书写数据。书写笔划的书写数据可以根据其包括的各书写点的书写数据获得,或者直接获得。
示例性地,书写笔划的书写数据可以包括书写笔划中结束点与起始点之间的距离信息,书写笔划的平均压力值,书写笔划的书写时长中的至少一个数据。
其中,书写笔划中结束点至起始点之间的距离信息可以用于表征该书写笔划的尺寸。结束点与起始点之间的距离信息可以包括距离值以及起始点至结束点的方向。该距离信息可以根据结束点的坐标值以及起始点的坐标值获得。
书写笔划的压力值可以包括起始点或结束点或书写笔划中其他关键点的 压力值,或者是书写笔划中各书写点的平均压力值等,在此不予限定。
书写笔划的书写时长可以是根据该书写笔划的起始点的获取时间以及结束点的获取时间确定的。或者是在检测到该书写笔划的起始点时计时,直至检测到结束点,获得计时时间,在此不予限定。
进一步地,还可以获取书写笔迹的书写数据。本申请实施例中,书写笔迹的书写数据可以表示为第三书写数据。书写笔迹的书写数据可以根据其包括的各书写笔划的书写数据获得,或直接获得。
其中,书写笔迹的书写数据可以包括书写笔迹各书写笔划的先后顺序,所述各书写笔划的书写时长,各书写笔划的压力值,各书写笔划的相对位置关系等中的至少一个数据。
各书写笔划的先后顺序可以根据通过比较各书写笔划的起始点的获取时间确定的,或者是通过其他方式确定的。
各书写笔划的压力值可以参考上述书写笔划的压力值的描述方式。
各书写笔划的相对位置关系可以根据各书写笔划的位置信息确定,或者,根据各书写笔划中起始点、结束点或其他关键点的坐标值确定。
当然,上述第一书写数据、第二书写数据、第三书写数据还可以分别包括其他数据或信息,在此不予限定。
步骤S202,获取与所述书写笔迹对应的书写模板。
示例性地,书写模板可以预存在用户终端中。书写模板可以是用户输入的书写笔迹,例如,用户输入个人信息作为密码,个人信息可以包括用户名称或其他书写笔迹等,该密码可以作为书写模板。或者,书写模板可以是标准字体模板,用于书写板的练习模式。
可选地,一种实现方式中,书写板可以接收用户终端发送的或者用户输入的设置密码的指令,在接收到该设置密码的指令后,获取用户通过书写工具输入的书写笔迹,该书写笔迹即为接收到的用户输入的密码。书写板可以将接收到的用户输入的密码发送至用户终端中进行存储,或者存储在书写板配置的存储器中。当书写板接收到开启指令,或者对某一书写内容的回放指令时,或者用户终端接收到开启书写板对应的应用程序时,用户终端或书写板可以提示用户输入密码,并调用预存储的书写笔迹作为书写模板以进行匹配。
步骤S203,将所述书写笔迹与所述书写模板进行匹配以得到匹配结果,并输出与所述匹配结果对应的提示信息。
示例性地,可以根据上述第一书写数据、第二书写数据、第三书写数据中的任意一种,将书写笔迹与书写模板进行匹配。或者,根据书写板所处的书写模式,确定上述书写数据的一种,以用于进行匹配得到匹配结果。书写笔迹与书写模板进行匹配的具体实现方式可以参见下述实施例,在此不予限定。
进一步地,在得到匹配结果后,可以输出与该匹配结果对应的提示信息。用户通过该提示信息可以获知匹配结果,或者获知书写建议等。
可选地,书写板可以向用户终端输出该提示信息,或者向书写工具输出该 提示信息,或者通过书写板配置的输出装置,如显示屏,扬声器等输出该提示信息,在此不予限定。
本申请实施例中,通过检测用户通过书写工具输入的书写笔迹,并获取与书写笔迹对应的书写模板,可以将检测到的书写笔迹与书写模板进行匹配,以得到匹配结果,并可以输出与该匹配结果对应的提示信息。通过上述方式,可以丰富书写板的书写功能,使用户输入得到反馈,提升了用户体验。
请参阅图3,图3是本申请实施例提供的另一种书写笔迹的处理方法的流程示意图。该方法可以应用于本申请实施例所述的书写板中。该方法主要应用于书写板处于解密模式的情形下。如图3所示,该方法至少包括以下步骤。
步骤S301,确定所述书写板所处的书写模式为解密模式。
示例性地,书写板在接收到使能指令时,或者由休眠状态切换至工作状态,或者连接的用户终端发送的应用程序请求开启指令,或者用户终端发送的用户请求查看或编辑设置有权限的书写内容的通知,均可以确定该书写板所处的书写模式为解密模式,即用户需要通过在书写板上输入书写笔迹作为密码,获取开启用户终端与书写板相关的应用程序的权限,或者查看或编辑相应地书写内容等。
步骤S302,检测用户通过书写工具输入的书写笔迹,所述书写笔迹包括至少1个书写笔划,所述书写笔划包括至少2个书写点。
步骤S303,获取所述书写笔迹的第三书写数据。
示例性地,书写笔迹的书写数据即为第三书写数据。通过上述描述可知,第三书写数据可以包括书写笔迹中各笔划的先后顺序、所述各笔划的书写时长、所述各笔划的压力值、所述各笔划的相对位置关系中的至少一个数据,当然第三书写数据还可以包括其他数据,在此不予限定。关于第三书写数据的具体描述可以参见上述实施例中的相关描述,在此不再赘述。
步骤S304,获取与所述书写笔迹对应的书写模板,所述书写模板为预存储于用户终端或书写板中的用户书写的密码。
其中,所述书写模板可以包括一个或多个密码,每个密码分别对应一个用户***。每个用户***中可以存储不同的书写内容,以及与该用户***相关的其他信息等。
需要说明的是,本申请实施例对步骤S302~步骤S303与步骤S304的执行顺序不予限定。
步骤S305,根据所述第三书写数据,确定所述书写笔迹与所述书写模板的误差。
示例性地,可以将第三书写数据包括的至少1个数据与书写模板中对应的数据进行比较,以确定书写笔迹与书写模板之间的误差。
举例说明,若第三书写数据包括各书写笔划的先后顺序,则可以与书写模板的各比划的先后顺序进行比较。具体地,可以首先识别出书写笔迹的一个书写笔划,并识别出书写模板中与该书写笔划相对应的书写笔划,可以根据两个 书写笔划的形状相同,或者书写点位置坐标相同等确定出两个对应的书写笔划。并分别从书写笔迹和书写模板中获取这两个书写笔划在先后顺序中的序列号,该序列号用以表征书写笔划在书写过程中的书写顺序。通过比较这两个书写笔划的序列号是否一致,来确定这两个书写笔划是否存在误差,若序列号一致,则不存在误差,可以记误差值为0;若序列号不一致,泽存在误差,可以记误差值为1,按照上述方式依次统计书写笔迹中各书写笔划的误差,并根据统计的存在误差的笔划数量,来确定匹配结果。例如,若误差比例大于预设阈值,则为匹配成功;相反,则为匹配失败等。或者,统计的误差数量大于预设阈值,则为匹配失败;相反,则为匹配成功等。
若第三书写数据包括各书写笔划的书写时长,可以依次比较书写笔迹中的书写笔划与书写模板中对应的书写笔划的书写时长。若两个书写笔划的书写时长之间的差值小于预设阈值,则确定不存在误差,反之,则存在误差。可以依次统计书写笔迹中各书写笔划的误差,并根据统计的存在误差的笔划数量,来确定匹配结果。例如,若误差比例大于预设阈值,则为匹配成功;相反,则为匹配失败等。或者,统计的误差数量大于预设阈值,则为匹配失败;相反,则为匹配成功等。
若第三书写数据包括各书写笔划的压力值,确定书写笔迹与书写模板的误差的方式可以参见上述根据书写时长确定误差的实施方式。
若第三书写数据包括各比划的相对位置关系,确定书写笔迹与书写模板的误差的方式可以参见上述根据书写顺序确定误差的实施方式。
当然,还可以根据上述数据的结合,来确定误差,在此不予限定。
步骤S306,根据所述误差,确定匹配结果,所述匹配结果包括匹配成功或匹配失败。
一种实现方式中,若书写模板为多个,则可以依次将书写笔迹与书写模板进行匹配。并根据多个匹配结果,确定最终的匹配结果。
步骤S307,输出与所述匹配结果对应的提示信息。
示例性地,若用户输入密码用于获取进入用户终端中与书写板相关的应用程序,或者获取查看或编辑某些书写内容的权限时,匹配成功,可以向用户终端发送提示信息,从而用户终端确定鉴权成功,响应上述用户操作;匹配失败,可以向用户终端发送提示信息,从而用户终端显示鉴权失败等。
示例性地,若匹配失败,可以输出提示信息,以提示用户是否将该书写笔迹作为密码,若接收到用户的确认指令,则可以创建一个新的用户***,并将该书写笔迹作为密码与该用户***进行绑定。
通过上述方式,增强了书写板的安全性及隐私性,提升了用户体验。
请参阅图4,图4是本申请实施例提供的有一种书写笔迹的处理方法。该方法可以应用于本申请实施例所述的书写板中。该方法主要应用于书写板处于练习模式的情形下。如图4所示,该方法至少包括以下步骤。
步骤S401,确定所述书写板所处的模式为练习模式。
其中,当书写板处于练习模式下,用户可以通过书写板书写练字。
步骤S402,检测用户通过书写工具输入的书写笔迹,所述书写笔迹包括至少1个书写笔划,所述书写笔划包括至少2个书写点。
步骤S403,获取所述书写笔迹中书写点的第一书写数据,所述第一书写数据包括所述书写点的坐标值、所述书写点的压力值、所述书写点的书写时间中的至少一个数据。
步骤S404,获取与所述书写笔迹对应的书写模板。
上述步骤的描述,可以参见上述实施例,在此不予赘述。
需要说明的是,步骤S402~S403和步骤S404的执行顺序在此不予限定。
具体地,用户终端可以首先根据用户操作,确定并显示书写模板,并将该书写模板发送至书写板中,书写板首先获取该书写模板后,检测书写笔迹并获取书写笔迹中书写点的第一书写数据。
或者,书写板可以首先检测书写笔迹,并获取书写笔迹中书写点的第一书写数据,再从用户终端获取书写模板。
步骤S405,根据所述第一书写数据,确定所述书写点与所述书写模板中对应的模板点的误差。
示例性地,若第一书写数据包括书写点的坐标值,可以比较书写模板与书写笔迹中对应的书写点的坐标值,判断这两个坐标值之间的差值,如距离差值和/或角度差值是否在预设范围内,若为是,则表明不存在误差,反之,则表明存在误差。具体地,还可以根据书写笔迹及书写模板中对应的起始点即原始点的坐标值,以及对应的其他书写点的坐标值,以及误差公式,得到误差值,并可根据该误差值的大小,确定匹配结果。
若第一书写数据包括书写点的压力值,根据压力值确定书写笔迹与书写模板对应的书写点的误差的实现方式可以参见根据坐标值确定的方式。
若第一书写数据包括书写点的书写时间,根据书写时间确定书写笔迹与书写模板对应的书写点的误差的实现方式可以参见根据坐标值确定的方式。
可选地,可以首先对书写笔迹中的书写点进行过滤处理。例如,比较一个书写点与前一个书写点之间的距离是否大于预设距离阈值,若为是,则在书写笔迹中保留该书写点;若为否,则从该书写笔迹中过滤掉该书写点。在对书写笔迹进行过滤处理后,即可与书写模板进行匹配。
步骤S406,根据所述误差,确定匹配结果。
示例性地,可以根据上述确定的误差值,来确定匹配结果。匹配结果可以包括不同的匹配程度。匹配程度可以与误差值范围对应。
具体地,可以根据误差值落入的误差值范围,确定与其对应的匹配程度。并输出与该匹配程度对应的提示信息。
步骤S407,输出与所述匹配结果对应的提示信息。
示例性地,可以向与书写笔连接的书写工具输出提示信息。例如,书写工 具中可以配置有指示灯。可以根据确定的匹配程度,输出与匹配程度对应的指示灯驱动信息,该驱动信息用于驱动指示灯显示与匹配程度对应的格式。例如,若匹配程度高,则驱动指示灯显示绿色,若匹配程度低,则驱动指示灯显示红色等。又例如,若匹配程度高,则驱动指示灯显示亮度高,若匹配程度低,则驱动指示灯显示亮度低等。
通过上述方式,书写板可以实时输出匹配结果。使用户在实时书写时,能够得到实时练字反馈,提升了用户体验。
可选地,上述方式还可以包括:
接收书写工具发送的书写工具的状态信息,该状态信息可以包括书写工具的倾斜度;
根据所述书写工具的状态信息,确定所述用户的书写姿势是否与所述练习模式相匹配;
若为否,输出与所述书写姿势相关的警示信息。
一种实现方式中,书写工具中可以配置有通信装置,如蓝牙模块等,可以将书写工具的状态信息发送至书写板。书写工具中还可以配置有加速度传感器等,可以用于采集书写工具的倾斜度,该倾斜度用以表征用户持握该书写工具的姿势等。书写工具可以将实时采集的状态信息发送给书写板,其中,状态信息除了包括倾斜度,还可以包括其他信息,在此不予限定。
书写板可以根据书写工具发送的状态信息,确定用户的书写姿势与练习模式是否相匹配。其中,练习模式可以包括练习书法模式、练习钢笔模式、练习铅笔模式等,不同的练习模式对应的书写姿势不同。进一步地,不同的书写姿势对应不同的倾斜度。则可以根据获取的倾斜度确定是否与当前练习模式相匹配。若不匹配,则可以向书写工具发送警示信息,例如发送指示灯驱动信息,以驱动警示灯进行闪烁等;或者,向用户终端发送警示信息,以使用户终端显示当前练习模式匹配的持握姿势,以提示用户对当前持握姿势进行矫正。
请参阅图5,图5是本申请实施例提供的有一种书写笔迹的处理方法的流程示意图。该方法可以应用于本申请实施例所述的书写板中。该方法主要应用于书写板处于练习模式的情形下。如图5所示,该方法至少包括以下步骤。
步骤S501,确定所述书写板所处的模式为练习模式。
步骤S502,检测用户通过书写工具输入的书写笔迹,所述书写笔迹包括至少1个书写笔划,所述书写笔划包括至少2个书写点。
步骤S503,获取所述书写笔迹中书写点的第二书写数据,所述第二书写数据包括所述书写笔划中结束点与起始点之间的距离信息、所述书写笔划的压力值、所述书写笔划的书写时长中的至少一个数据。
步骤S504,获取与所述书写笔迹对应的书写模板。
上述步骤的实现方式可以参见上述实施例中的描述方式,在此不予赘述。
需要说明的是,步骤S502~S503和步骤S504的执行顺序在此不予限定。
步骤S505,根据所述第二书写数据,确定所述书写点与所述书写模板中对应的模板点的误差。
示例性地,若第二书写数据包括结束点与起始点之间的距离信息,即书写笔划的长度,可以比较书写笔迹与书写模板中对应的书写笔划的长度,若该长度差值在预设范围内,则确定不存在误差,反之,则确定存在误差。
可选地,在比较书写笔迹与书写模板中对应的起始书写笔划时,若这两个起始书写笔划的差距较大,可以根据书写模板中的起始书写笔划的长度,对书写笔迹中各书写笔划的长度等比例调整,调整后再进行比对。
若第二书写数据包括书写笔划的压力值,可以比较书写笔迹与书写模板中对应的书写笔划的压力值,得到压力差值。若该压力差值在预设范围内,则确定不存在误差,反之,则确定存在误差。
若第二书写笔划的长度包括书写笔划的书写时长,根据书写时长确定误差的实现方式可以参见根据压力值货长度的确定方式。
当然,可以根据上述数据的结合来确定误差,在此不予限定。
步骤S506,根据所述误差,确定匹配结果。
示例性地,若上述误差在一定范围内,则确定匹配成功;反之,则确定匹配失败。若匹配结果为匹配失败,可以包括匹配失败的书写笔划的相关数据,例如,该书写笔划的第一书写数据或第二书写数据。
步骤S507,输出与所述匹配结果对应的提示信息。
示例性地,可以向用户终端或者通过书写板配置的显示屏输出该提示信息。该提示信息可以用于解析用户输入的书写笔划与书写模板中对应的书写笔划的差异。例如,提示用户在该笔划的用力点,或者该笔划的长度或者该笔划的书写节奏等。上述提示信息可以是预设的,或者是根据匹配结果中携带的信息确定的,在此不予限定。
通过上述方式,用户可以在练字过程中,及时得到书写建议,提升了用户体验。
可以理解地,图4及图5所示实施例中的方法还可以结合,例如,在根据第一书写数据实时进行匹配并输出提示信息后,还可以根据第二书写数据将书写笔迹中的笔划与书写模板中对应的笔划进行匹配,以输出书写建议等信息。
当然,上述实施例还可以存在其他结合方式,在此不予限定。
下面结合附图对本申请实施例中的装置实施例进行描述。
请参阅图6,图6是本申请实施例提供的一种书写笔迹的处理装置的单元组成图。如图6所示,该装置可以包括输入单元601,处理单元603以及输出单元605。
其中,输入单元601,用于检测用户通过书写工具输入的书写笔迹,所述书写笔迹包括至少1个书写笔划,所述书写笔划包括至少2个书写点;
所述输入单元601,还用于获取与所述书写笔迹对应的书写模板;
处理单元603,用于将所述书写笔迹与所述书写模板进行匹配以得到匹配结果;
输出单元605,用于输出与所述匹配结果对应的提示信息。
上述功能单元还可以实现上述方法实施例中描述的部分或全部方法,在此不再赘述。
上述功能单元可以基于图7所示的用户终端的结构实现,在此不予限定。
请参阅图7,图7是本申请实施例提供的一种书写板的结构示意图。如图7所示,书写板可以包括存储器701、处理器703、通信接口705。其中,上述器件通过通信总线耦合。
存储器701用于存储应用程序、计算机指令和数据;处理器703用于调用计算机指令和数据以执行上述用户终端所执行的任意一种方法;通信接口705用于在处理器703的控制下与用户终端或书写工具进行信息交互。
处理器703还可以包括中央处理单元(CPU,Central Processing Unit)。或者,处理器703也可以理解为是控制器。
存储器701可以包括只读存储器和随机存取存储器,并向处理器703提供指令和数据等。存储器701的一部分还可包括非易失性随机存取存储器。例如,计算机可读存储介质,其可包括计算机指令、应用程序、操作***等。具体的应用中各组件例如通过总线***耦合在一起。总线***除了可包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线***707。
上述本发明实施例揭示的方法可由处理器703实现。处理器703可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器703中的硬件的集成逻辑电路或者软件形式的指令完成。其中,上述处理器703可以是通用处理器、数字信号处理器、专用集成电路、现成可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。处理器703可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。处理器703可以是图像处理器、微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或 者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器701,例如处理器703可读取存储器701中的应用程序、计算机指令或数据,结合其硬件完成用户终端所执行的上述方法的步骤。
例如,所述处理器703用于调用所述计算机指令,以执行以下方法:
检测用户通过书写工具输入的书写笔迹,所述书写笔迹包括至少1个书写笔划,所述书写笔划包括至少2个书写点;
获取与所述书写笔迹对应的书写模板;
将所述书写笔迹与所述书写模板进行匹配以得到匹配结果,并输出与所述匹配结果对应的提示信息。
当然,处理器703还可以调用计算机指令执行上述方法实施例中的任意一种方法,在此不再赘述。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (20)

  1. 一种书写笔迹的处理方法,其特征在于,包括:
    检测用户通过书写工具输入的书写笔迹,所述书写笔迹包括至少1个书写笔划,所述书写笔划包括至少2个书写点;
    获取与所述书写笔迹对应的书写模板;
    将所述书写笔迹与所述书写模板进行匹配以得到匹配结果,并输出与所述匹配结果对应的提示信息。
  2. 根据权利要求1所述的方法,其特征在于,所述将所述书写笔迹与所述书写模板进行匹配以得到匹配结果,包括:
    获取所述书写笔迹中书写笔划包括的书写点的第一书写数据,所述第一书写数据包括所述书写点的坐标值、所述书写点的压力值、所述书写点的书写时间中的至少一个数据;
    根据所述第一书写数据,确定所述书写点与所述书写模板中对应的模板点的误差;
    根据所述误差,确定匹配结果。
  3. 根据权利要求2所述的方法,其特征在于,若所述第一书写数据包括所述书写点的坐标值,所述方法还包括:
    根据所述书写点的坐标值,确定所述书写点是否满足过滤条件;
    所述根据所述第一书写数据,确定所述书写点与所述书写模板中对应的模板点的误差,包括:
    若为否,根据所述第一书写数据,确定所述书写点与所述书写模板中对应的模板点的误差。
  4. 根据权利要求1所述的方法,其特征在于,所述将所述书写笔迹与所述书写模板进行匹配以得到匹配结果,包括:
    获取所述书写笔迹中书写笔划的第二书写数据,所述第二书写数据包括所述书写笔划中结束点与起始点之间的距离信息、所述书写笔划的压力值、所述书写笔划的书写时长中的至少一个数据;
    根据所述第二书写数据,确定所述书写笔划与所述书写模板中对应的模板笔划的误差;
    根据所述误差,确定匹配结果。
  5. 根据权利要求4所述的方法,其特征在于,若所述第二书写数据包括所述书写笔划中结束点与起始点之间的距离信息,且所述书写笔划为起始书写笔划,所述方法还包括:
    根据所述起始书写笔划中结束点与起始点之间的距离信息,调整所述书写模板的尺寸;
    所述根据所述第二书写数据,确定所述书写笔划与所述书写模板中对应的模板笔划的误差,包括:
    根据所述第二书写数据,确定所述起始书写笔划与调整尺寸后的书写模板中对应的模板笔划的误差。
  6. 根据权利要求1所述的方法,其特征在于,所述将所述书写笔迹与所述书写模板进行匹配以得到匹配结果,包括:
    获取所述书写笔迹的第三书写数据,所述第三书写数据包括所述书写笔迹中各笔划的先后顺序、所述各笔划的书写时长、所述各笔划的压力值、所述各笔划的相对位置关系中的至少一个数据;
    根据所述第三书写数据,确定所述书写笔迹与所述书写模板的误差;
    根据所述误差,确定匹配结果。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:
    确定所述书写板所处的书写模式,所述书写模式包括练习模式或解密模式。
  8. 根据权利要求6所述的方法,其特征在于,若所述书写模式为练习模式,所述输出与所述匹配结果对应的提示信息,包括:
    向所述书写工具输出与所述匹配结果对应的指示灯驱动信息;或者,
    输出与所述匹配结果对应的书写建议信息。
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    接收所述书写工具发送的所述书写工具的状态信息,所述状态信息包括所述书写工具的倾斜度;
    根据所述书写工具的状态信息,确定所述用户的书写姿势是否与所述练习模式相匹配;
    若为否,输出与所述书写姿势相关的警示信息。
  10. 根据权利要求6所述的方法,其特征在于,若所述书写模式为解密模式,所述输出与所述匹配结果对应的提示信息,包括:
    向用户终端输出与所述匹配结果对应的提示信息,所述提示信息用于所述用户终端确定是否开启与所述书写模板对应的用户***中。
  11. 一种书写笔迹的处理装置,其特征在于,包括:
    输入单元,用于检测用户通过书写工具输入的书写笔迹,所述书写笔迹包括至少1个书写笔划,所述书写笔划包括至少2个书写点;
    所述输入单元,还用于获取与所述书写笔迹对应的书写模板;
    处理单元,用于将所述书写笔迹与所述书写模板进行匹配以得到匹配结果;
    输出单元,用于输出与所述匹配结果对应的提示信息。
  12. 一种书写板,其特征在于,包括:
    存储器;以及
    与所述存储器耦合的处理器;
    其中,所述存储器用于存储计算机指令;
    所述处理器用于调用所述计算机指令,以执行以下方法:
    检测用户通过书写工具输入的书写笔迹,所述书写笔迹包括至少1个书写笔划,所述书写笔划包括至少2个书写点;
    获取与所述书写笔迹对应的书写模板;
    将所述书写笔迹与所述书写模板进行匹配以得到匹配结果,并输出与所述匹配结果对应的提示信息。
  13. 根据权利要求12所述的书写板,其特征在于,所述处理器用于调用所述计算机指令,以执行以下方法:
    获取所述书写笔迹中书写笔划包括的书写点的第一书写数据,所述第一书写数据包括所述书写点的坐标值、所述书写点的压力值、所述书写点的书写时间中的至少一个数据;
    根据所述第一书写数据,确定所述书写点与所述书写模板中对应的模板点的误差;
    根据所述误差,确定匹配结果。
  14. 根据权利要求13所述的书写板,其特征在于,若所述第一书写数据包括所述书写点的坐标值,所述处理器用于调用所述计算机指令,以执行以下方法:
    根据所述书写点的坐标值,确定所述书写点是否满足过滤条件;
    所述根据所述第一书写数据,确定所述书写点与所述书写模板中对应的模板点的误差,包括:
    若为否,根据所述第一书写数据,确定所述书写点与所述书写模板中对应的模板点的误差。
  15. 根据权利要求12所述的书写板,其特征在于,所述处理器用于调用所述计算机指令,以执行以下方法:
    获取所述书写笔迹中书写笔划的第二书写数据,所述第二书写数据包括所述书写笔划中结束点与起始点之间的距离信息、所述书写笔划的压力值、所述书写笔划的书写时长中的至少一个数据;
    根据所述第二书写数据,确定所述书写笔划与所述书写模板中对应的模板笔划的误差;
    根据所述误差,确定匹配结果。
  16. 根据权利要求15所述的书写板,其特征在于,若所述第二书写数据包括所述书写笔划中结束点与起始点之间的距离信息,且所述书写笔划为起始书写笔划,所述处理器用于调用所述计算机指令,以执行以下方法:
    根据所述起始书写笔划中结束点与起始点之间的距离信息,调整所述书写模板的尺寸;
    所述根据所述第二书写数据,确定所述书写笔划与所述书写模板中对应的模板笔划的误差,包括:
    根据所述第二书写数据,确定所述起始书写笔划与调整尺寸后的书写模板 中对应的模板笔划的误差。
  17. 根据权利要求12所述的书写板,其特征在于,所述处理器用于调用所述计算机指令,以执行以下方法:
    获取所述书写笔迹的第三书写数据,所述第三书写数据包括所述书写笔迹中各笔划的先后顺序、所述各笔划的书写时长、所述各笔划的压力值、所述各笔划的相对位置关系中的至少一个数据;
    根据所述第三书写数据,确定所述书写笔迹与所述书写模板的误差;
    根据所述误差,确定匹配结果。
  18. 根据权利要求12-17任一项所述的书写板,其特征在于,所述处理器用于调用所述计算机指令,以执行以下方法:
    确定所述书写板所处的书写模式,所述书写模式包括练习模式或解密模式。
  19. 根据权利要求17所述的书写板,其特征在于,所述处理器用于调用所述计算机指令,以执行以下方法:
    若所述书写模式为练习模式,向所述书写工具输出与所述匹配结果对应的指示灯驱动信息;或者,
    输出与所述匹配结果对应的书写建议信息;或者,
    若所述书写模式为解密模式,向用户终端输出与所述匹配结果对应的提示信息,所述提示信息用于所述用户终端确定是否开启与所述书写模板对应的用户***中。
  20. 一种计算机可读性存储介质,其特征在于,包括计算机指令,所述计算机指令用于被处理器执行以实现如权利要求1至10任意一项所述的方法。
PCT/CN2017/116490 2017-12-15 2017-12-15 书写笔迹的处理方法及相关设备 WO2019113943A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/116490 WO2019113943A1 (zh) 2017-12-15 2017-12-15 书写笔迹的处理方法及相关设备
CN201780097422.7A CN111433830A (zh) 2017-12-15 2017-12-15 书写笔迹的处理方法及相关设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/116490 WO2019113943A1 (zh) 2017-12-15 2017-12-15 书写笔迹的处理方法及相关设备

Publications (1)

Publication Number Publication Date
WO2019113943A1 true WO2019113943A1 (zh) 2019-06-20

Family

ID=66818874

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/116490 WO2019113943A1 (zh) 2017-12-15 2017-12-15 书写笔迹的处理方法及相关设备

Country Status (2)

Country Link
CN (1) CN111433830A (zh)
WO (1) WO2019113943A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117541999A (zh) * 2024-01-10 2024-02-09 江苏汉丹云教育科技有限公司 一种书写教学与评价***及方法

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256146B (zh) * 2020-09-09 2024-05-03 广州视源电子科技股份有限公司 一种白板书写笔迹的测试方法、装置、设备和存储介质
CN112181231A (zh) * 2020-10-09 2021-01-05 北京道明科技有限公司 板书输入方法、***及装置
CN115061621A (zh) * 2022-05-25 2022-09-16 山东蓝贝思特教装集团股份有限公司 一种双稳态液晶书写装置书写笔迹显示控制方法及***

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369382A (zh) * 2007-08-17 2009-02-18 英业达股份有限公司 汉字书写验证***及方法
CN101551724A (zh) * 2008-03-31 2009-10-07 联想(北京)有限公司 在触摸屏上书写文字的方法与装置
CN103646582A (zh) * 2013-12-04 2014-03-19 广东小天才科技有限公司 一种提示书写错误的方法及装置
CN103778818A (zh) * 2014-01-20 2014-05-07 广东小天才科技有限公司 一种提示书写错误的方法及装置
CN106708401A (zh) * 2015-11-18 2017-05-24 北京奇虎科技有限公司 一种字体的书写提示方法、装置和***

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615092B (zh) * 2009-08-11 2011-01-05 北京大业嘉成科技有限公司 电子毛笔及识别码定位触摸屏
TWI475431B (zh) * 2012-01-06 2015-03-01 Elan Microelectronics Corp 電容觸控筆筆頭結構
CN103473491B (zh) * 2013-09-01 2016-04-13 西安电子科技大学 基于书写过程的移动终端用户识别***及其方法
CN104360764A (zh) * 2014-10-20 2015-02-18 深圳市天时通科技有限公司 书写***
CN106096524A (zh) * 2016-06-01 2016-11-09 广东小天才科技有限公司 一种汉字美观度的获取方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369382A (zh) * 2007-08-17 2009-02-18 英业达股份有限公司 汉字书写验证***及方法
CN101551724A (zh) * 2008-03-31 2009-10-07 联想(北京)有限公司 在触摸屏上书写文字的方法与装置
CN103646582A (zh) * 2013-12-04 2014-03-19 广东小天才科技有限公司 一种提示书写错误的方法及装置
CN103778818A (zh) * 2014-01-20 2014-05-07 广东小天才科技有限公司 一种提示书写错误的方法及装置
CN106708401A (zh) * 2015-11-18 2017-05-24 北京奇虎科技有限公司 一种字体的书写提示方法、装置和***

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117541999A (zh) * 2024-01-10 2024-02-09 江苏汉丹云教育科技有限公司 一种书写教学与评价***及方法
CN117541999B (zh) * 2024-01-10 2024-03-22 江苏汉丹云教育科技有限公司 一种书写教学与评价***及方法

Also Published As

Publication number Publication date
CN111433830A (zh) 2020-07-17

Similar Documents

Publication Publication Date Title
WO2019113943A1 (zh) 书写笔迹的处理方法及相关设备
US11314943B2 (en) Typifying emotional indicators for digital messaging
RU2589397C2 (ru) Аутентификация графических жестов
US10506068B2 (en) Cloud-based cross-device digital pen pairing
US9690369B2 (en) Facial expression control system, facial expression control method, and computer system thereof
JP2016500887A (ja) スマートペンとコンピュータ装置との間の認証接続の確立および保持
WO2016121401A1 (en) Information processing apparatus and program
US20180101278A1 (en) Method and apparatus for applying free space input for surface constrained control
US10445605B2 (en) Biometric authentication of electronic signatures
CN105279410A (zh) 利用生物计量感测设备的用户认证重试
US20150084877A1 (en) Touch device and method for dynamically setting touch inactive area, and non-transitory recording medium
TW201339917A (zh) 用於電子裝置中的操控方法及系統
WO2016094056A1 (en) Multiple user biometric for authentication to secured resources
US11579706B2 (en) Method and apparatus for applying free space input for surface constrained control
CN107908942B (zh) 电子设备、显示***、集成控制芯片和生物特征验证方法
WO2021196989A1 (zh) 睡眠状态的判断方法、***、穿戴设备及存储介质
US9501632B2 (en) Visual authentication to a computing device
EP3906499B1 (en) User authentication using pose-based facial recognition
WO2023061262A1 (zh) 图像处理方法、装置、设备及存储介质
WO2019109231A1 (zh) 一种书写笔划的处理方法及相关设备
KR20200088030A (ko) 암호화될 데이터의 정보량에 기반하여 암호화에 사용될 키를 선택하는 전자 장치 및 전자 장치의 동작 방법
CN106406632B (zh) 一种信息管理方法和移动终端
TW201908922A (zh) 具有防近視功能的電子裝置及方法
WO2020227957A1 (zh) 工作模式的控制方法、电子设备及可读存储介质
WO2016121403A1 (en) Information processing apparatus, image processing system, and program

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: 17934462

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: 17934462

Country of ref document: EP

Kind code of ref document: A1