CN112394838A - Handwriting determining method and touch display device - Google Patents

Handwriting determining method and touch display device Download PDF

Info

Publication number
CN112394838A
CN112394838A CN202011287469.XA CN202011287469A CN112394838A CN 112394838 A CN112394838 A CN 112394838A CN 202011287469 A CN202011287469 A CN 202011287469A CN 112394838 A CN112394838 A CN 112394838A
Authority
CN
China
Prior art keywords
contact point
touch display
handwriting
pressure value
display device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011287469.XA
Other languages
Chinese (zh)
Other versions
CN112394838B (en
Inventor
娄建生
王兆恩
杨飞利
刘杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Commercial Display Co Ltd
Original Assignee
Qingdao Hisense Commercial Display Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Commercial Display Co Ltd filed Critical Qingdao Hisense Commercial Display Co Ltd
Priority to CN202011287469.XA priority Critical patent/CN112394838B/en
Publication of CN112394838A publication Critical patent/CN112394838A/en
Application granted granted Critical
Publication of CN112394838B publication Critical patent/CN112394838B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • G06F3/04144Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position using an array of force sensing means
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04162Control or interface arrangements specially adapted for digitisers for exchanging data with external devices, e.g. smart pens, via the digitiser sensing hardware
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/80Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a handwriting determining method and a touch display device, which are used for reducing the difference between handwriting of the touch display device and actual handwriting of a user. The method comprises the following steps: the touch display equipment responds to a first writing operation of a user, and determines pressure values of M contact points connected in the first writing operation, wherein the pressure value of the Nth contact point in the M contact points corresponds to the speed of the Nth contact point, M, N is a positive integer, and M is larger than or equal to N; and the touch display equipment determines the handwriting corresponding to the first writing operation of the user according to the pressure values of the M contact points. The method and the device are applied to the process that the user writes on the touch display equipment.

Description

Handwriting determining method and touch display device
Technical Field
The embodiment of the application relates to the technical field of touch control, in particular to a handwriting determining method and a touch control display device.
Background
With the continuous development of touch technology, writing scenes have been migrated from a conventional blackboard to a touch display device. Through the touch display device, a user can directly perform writing operation on the touch display device by using a stylus or a finger, and correspondingly, the touch display device can display handwriting corresponding to the writing operation. For example, in a scenario in which a teacher teaches, the teacher may use a stylus or finger to perform a writing operation or an erasing operation on the display screen. On one hand, the touch display equipment has the advantages of easy erasing of handwriting and no trace, and is convenient and quick; on the other hand, compared with the traditional method of using chalk to write or erase on a blackboard, the method can avoid dust generation and has no harm to human bodies.
Generally, when a user performs writing operation on the touch display device, the thickness of the handwriting displayed by the touch display device is uniform, and the difference between the thickness of the handwriting and the actual handwriting of the user is large. Therefore, how to reduce the difference between the handwriting displayed by the touch display device and the actual handwriting of the user becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a handwriting determination method and a touch display device, which are used for reducing the difference between handwriting of the touch display device and actual handwriting of a user.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, a method for determining a handwriting is provided, where the method includes: the touch display equipment responds to a first writing operation of a user, and determines pressure values of M contact points connected in the first writing operation, wherein the pressure value of the Nth contact point in the M contact points corresponds to the speed of the Nth contact point, M, N is a positive integer, and M is larger than or equal to N; and the touch display equipment determines the handwriting corresponding to the first writing operation of the user according to the pressure values of the M contact points.
According to the handwriting determining method provided by the embodiment of the application, the touch display device can determine the pressure values of the contact points according to the speeds of the contact points in the writing operation of the user, and then determine the handwriting corresponding to the writing operation according to the pressure values of the contact points. When users write, the writing strength is different, which results in different thickness of the handwriting. The stronger the writing force is, the thicker the handwriting is. Based on the principle, in the technical scheme of the application, the touch display device can convert the moving speed of a user when the user uses a touch pen (or a finger) to write into the pressure value, and the thickness of the handwriting is determined according to the pressure values of a plurality of contact points of the writing operation. Therefore, the handwriting drawn by the touch display equipment is more similar to the actual handwriting of the user, and the effect of pressure writing is achieved.
In a second aspect, an apparatus for determining a handwriting, where the apparatus may be a touch display device or a chip applied to the touch display device, and the apparatus may include:
the processing unit is used for responding to a first writing operation of a user, determining pressure values of M connected contact points in the first writing operation, wherein the pressure value of the Nth contact point in the M contact points corresponds to the speed of the Nth contact point, M, N is a positive integer, and M is larger than or equal to N; and the processing unit is further used for determining handwriting corresponding to the first writing operation of the user according to the pressure values of the M contact points.
In a third aspect, a readable storage medium is provided, having stored therein instructions that, when executed, implement the method of the first aspect.
In a fourth aspect, there is provided a computer program product comprising at least one instruction which, when run on a computer, causes the computer to perform the method of the first aspect.
In a fifth aspect, a chip is provided, the chip comprising at least one processor and a communication interface, the communication interface being coupled to the at least one processor, the at least one processor being configured to execute computer programs or instructions to implement the method of the first aspect.
The above-mentioned apparatuses, computer storage media, computer program products, or chips are all configured to execute the corresponding methods provided above, and therefore, the beneficial effects that can be achieved by the apparatuses, the computer storage media, the computer program products, or the chips refer to the beneficial effects of the corresponding schemes in the corresponding methods provided above, and are not described herein again.
Drawings
FIG. 1 is a schematic diagram of a user writing operation provided by an embodiment of the present application;
FIG. 2 is a schematic diagram of a contact point corresponding to a writing operation according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a touch display device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a touch display device 400 according to an embodiment of the present disclosure;
FIG. 5 is a flowchart illustrating a method for determining a handwriting according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating a correspondence relationship between a speed of a contact point and a pressure value according to an embodiment of the present application;
FIG. 7a is a schematic diagram of a display interface provided by an embodiment of the present application;
FIG. 7b is a schematic diagram of another display interface provided by embodiments of the present application;
FIG. 7c is a schematic view of yet another display interface provided by an embodiment of the present application;
FIG. 8 is a schematic diagram of pressure jumps at a contact point provided by an embodiment of the present application;
FIG. 9 is a flowchart illustrating another handwriting determination method provided by an embodiment of the present application;
FIG. 10 is a schematic diagram of a writing effect provided by an embodiment of the present application;
fig. 11 is a schematic structural diagram of another touch display device 110 according to an embodiment of the present disclosure.
Detailed Description
With the continuous development of touch technology, a user can perform writing operation through a touch display device. In response to a writing operation of a user, the touch display device may display a corresponding handwriting. Compared with a traditional blackboard, the touch display equipment has the following advantages: firstly, a user can quickly erase and restore handwriting without leaving traces and generating dust; secondly, the user can edit the written characters again, for example, the positions of the characters can be moved, the sizes, the thicknesses and/or the colors of the characters can be changed, resources are saved, and meanwhile the user experience can be improved.
It should be noted that, in the embodiment of the present application, the touch display device may be applied to scenes such as teaching and meetings, and the touch display device may have whiteboard writing software (e.g., Windows drawing software and whiteboard software). For example, the touch display device may be an infrared touch all-in-one machine, an interactive touch all-in-one machine, or a tablet computer.
At present, most whiteboard software (such as Windows drawing software) on the market writes handwriting with consistent thickness and no change, and does not conform to the normal writing habit of people. Some software (such as whiteboard software) has a certain degree of optimization on handwriting, but the handwriting is written in a uniform thickness except for a pen point, and the user feels poor.
In addition, in the infrared touch control all-in-one machine, an infrared touch control frame of the infrared touch control all-in-one machine does not detect pressure data. That is, the thickness of the handwriting displayed by the infrared touch control all-in-one machine is consistent, and the writing habit of the user cannot be reflected intuitively.
In view of this, an embodiment of the present application provides a method for determining a handwriting, where the method includes: the touch display equipment responds to a first writing operation of a user, and determines a pressure value of each contact point in a plurality of contact points in the first writing operation, wherein the pressure value of the contact point corresponds to the speed of the contact point; and the touch display equipment determines handwriting corresponding to the first writing operation according to the pressure values of the plurality of contact points.
Based on the above, the touch display device may determine the pressure values of the contact points according to the speeds of the plurality of contact points in the writing operation of the user, and then determine the handwriting corresponding to the writing operation according to the pressure values of the plurality of contact points. When users write, the writing strength is different, which results in different thickness of the handwriting. The stronger the writing force is, the thicker the handwriting is. Based on the principle, in the technical scheme of the application, the touch display device can convert the moving speed of a user when the user uses a touch pen (or a finger) to write into the pressure value, and the thickness of the handwriting is determined according to the pressure values of a plurality of contact points of the writing operation. Therefore, the handwriting drawn by the touch display equipment is more similar to the actual handwriting of the user, and the effect of pressure writing is achieved.
In this embodiment, the writing operation may refer to an operation of drawing a line on an input device of the touch display device by a stylus (or a finger). A contact point may refer to a plurality of points in a drawn line. For example, as shown in FIG. 1, a user moves from point A to point B on the touch-sensitive display device using a stylus, resulting in the line in FIG. 1. The line may be formed of a plurality of points (point 1 to point 5). The plurality of points may be referred to as contact points, for example, as shown in fig. 2, the plurality of contact points are contact point 1, contact point 2, contact point 3, contact point 4, and contact point 5, respectively.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
In an example, as shown in fig. 3, for a touch display device provided in the embodiment of the present application, the touch display device may include a display device 31 (e.g., a display), a touch device 32 (e.g., a touch screen), and a processor 33. The touch device 32 may be disposed on a surface of the display device 31 (that is, the touch display apparatus may be a touch display all-in-one machine). The processor 33 is connected to the display device 31 and the touch device 32.
In another example, the touch display device may also be a touch display separated device. The touch device 32 and the display device 31 may be connected by a wired (e.g., Universal Serial Bus (USB), type-C) or wireless (e.g., bluetooth, wireless-fidelity (wifi)) connection.
The touch device 32 is used for detecting writing operation of a user and sending an operation instruction corresponding to the writing operation to the processor 32. For example, the operation instruction may include position information of a plurality of contact points.
The processor 33 is configured to receive an operation instruction from the touch device 32, and determine a corresponding handwriting according to the operation instruction.
The processor 33 is further configured to control the display device 31 to display handwriting corresponding to the operation instruction.
In one possible implementation, the touch display device may further include a memory for executing instructions by a computer and a bus. The processor and the memory are connected by a bus. When the touch display device is operated, the processor executes the computer execution instructions stored in the memory, so that the touch display device executes the method of the embodiment of the application.
In a specific implementation, the touch display device in fig. 3 may adopt the composition structure shown in fig. 4, or include the components shown in fig. 4. Fig. 4 is a schematic composition diagram of a touch display device 400 according to an embodiment of the present disclosure, where the touch display device 400 may be a touch display device or a chip or a system on a chip in a network device. As shown in fig. 4, the touch display device 400 includes a processor 401, a communication interface 402, and a communication line 403.
Further, the touch display device 400 may further include a memory 404. The processor 401, the memory 404 and the communication interface 402 may be connected by a communication line 403.
The processor 401 may be a CPU, a general purpose processor Network (NP), a Digital Signal Processor (DSP), a microprocessor, a microcontroller, a Programmable Logic Device (PLD), or any combination thereof. The processor 401 may also be other means having processing functionality, such as, without limitation, a circuit, a device, or a software module.
A communication interface 402 for communicating with other devices or other communication networks. The other communication network may be an ethernet, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), or the like. The communication interface 402 may be a module, a circuit, a communication interface, or any device capable of enabling communication.
A communication line 403 for transmitting information between the components included in the touch display device 400.
A memory 404 for storing instructions. Wherein the instructions may be a computer program.
The memory 404 may be a read-only memory (ROM) or other types of static storage devices that can store static information and/or instructions, a Random Access Memory (RAM) or other types of dynamic storage devices that can store information and/or instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), a magnetic disc storage medium or other magnetic storage devices, and the like, without limitation.
It is noted that the memory 404 may exist separately from the processor 401 or may be integrated with the processor 401. The memory 404 may be used for storing instructions or program code or some data or the like. The memory 404 may be located inside the touch display device 400, or may be located outside the touch display device 400, which is not limited. A processor 401, configured to execute the instructions stored in the memory 404 to implement the handwriting determination method provided in the following embodiments of the present application.
In one example, processor 401 may include one or more CPUs, such as CPU0 and CPU1 in fig. 4.
As an alternative implementation, the touch display device 400 includes a plurality of processors, for example, a processor 407 may be included in addition to the processor 401 in fig. 4.
As an alternative implementation, the touch display device 400 further includes an output device 405 and an input device 406. Illustratively, the input device 406 is a whiteboard, a tablet, or the like, and the output device 405 is a display screen, or the like.
It is noted that the touch display device 400 may be a mobile phone, a tablet computer, or a device with a similar structure as in fig. 4. In addition, the constituent structure shown in fig. 4 does not constitute a limitation of the touch display device, and the touch display device may include more or less components than those shown in fig. 4, or combine some components, or a different arrangement of components, in addition to the components shown in fig. 4.
In the embodiment of the present application, the chip system may be composed of a chip, and may also include a chip and other discrete devices.
In addition, acts, terms, and the like referred to between the embodiments of the present application may be mutually referenced and are not limited. In the embodiment of the present application, the name of the message exchanged between the devices or the name of the parameter in the message, etc. are only an example, and other names may also be used in the specific implementation, which is not limited.
In the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same or similar items having substantially the same function and action. For example, the first writing operation and the second writing operation are only for distinguishing different writing operations, and the sequence of the first writing operation and the second writing operation is not limited. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
It is noted that, in the present application, words such as "exemplary" or "for example" are used to mean exemplary, illustrative, or descriptive. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
The following describes a handwriting determination method provided in an embodiment of the present application with reference to the communication system shown in fig. 1. The touch display device described in the following embodiments may include the components shown in fig. 2, which are not described in detail. In this application, the actions, terms, and the like referred to in the embodiments are all mutually referred to, and are not limited. In the embodiment of the present application, the name of the message exchanged between the devices or the name of the parameter in the message, etc. are only an example, and other names may also be used in the specific implementation, which is not limited. The actions related to the embodiments of the present application are only an example, and other names may also be used in the specific implementation, for example: the term "comprising" in the embodiments of the present application may also be replaced by "carrying" or the like.
As shown in fig. 5, fig. 5 illustrates a method for determining a handwriting provided by an embodiment of the present application, where the method may include:
step 501, the touch display device determines pressure values of M contact points in a first writing operation in response to the first writing operation of a user.
The touch display device may be the apparatus of fig. 3 or fig. 4. The first writing operation and the M contact points can be referred to as shown in fig. 1 and 2 above. M is a positive integer greater than 1.
Wherein, the pressure value of the contact point can be used for determining the thickness of the handwriting. The larger the pressure value of the contact point is, the thicker the corresponding handwriting is; the smaller the pressure value of the contact point, the thinner the corresponding handwriting. The pressure value at the contact point corresponds to the velocity of the contact point. The pressure value at the point of contact may be inversely proportional to the velocity at the point of contact. That is, the greater the velocity of the contact point, the smaller the pressure value of the contact point; the smaller the velocity of the contact point, the larger the pressure value of the contact point.
Wherein the speed of the point of contact can be used to indicate how fast the user is writing. The speed of the contact points may be a ratio of the distance between adjacent contact points and the time interval.
For example, the velocity V for the Nth contact point of the M contact pointsNL/. DELTA.t. Wherein L is the N-1 th junctionThe distance between the contact point and the Nth contact point, and Delta T is the time interval between the Nth-1 contact point and the Nth contact point. The distance between the (N-1) th contact point and the Nth contact point may be determined according to the position information of the (N-1) th contact point and the position information of the Nth contact point. For example, the position information of the Nth contact point is (X)N,YN) The position information of the N-1 st contact point is (X)N-1,YN-1) Then, then
Figure BDA0002782844650000081
N is a positive integer, and N is less than or equal to M.
It should be noted that the method for acquiring the position information of the contact point may refer to the prior art and is not described in detail. The time interval between the N-1 st contact point and the nth contact point may be a preset time interval, for example, may be 8.069 milliseconds (ms). Alternatively, the touch display device may also acquire the position information of the multiple contact points at preset time intervals. Alternatively, the touch display device acquires a time value of each contact point when acquiring position information of a plurality of contact points. For example, the touch display device may have a counter that starts counting when the touch display device detects a touch operation by a user, and acquires position information and time information of a plurality of contact points during writing by the user, and thus, the touch display device may acquire the position information and the time information of the plurality of contact points.
Further, in order to avoid the speed of the contact point being too large or too small, an upper limit value and a lower limit value may be set for the speed of the contact point in the embodiment of the present application, so that the speed of the contact point obtained by the above method is in an interval with the upper limit value and the lower limit value. For example, the upper limit value may be 0.9 and the lower limit value may be 0.1. Of course, other values are also possible, without limitation. The upper and lower limits may also be obtained by testing. As such, when the speed calculated from the position information and the time information of the contact point is less than the lower limit value, the speed of the contact point may be the lower limit value; when the speed calculated from the position information and the time information of the contact point is greater than the upper limit value, the speed of the contact point may be increased by the upper limit value.
In one example, if the touch display device is an infrared touch all-in-one machine, the touch display device may detect a movement track of a finger or a stylus of a user through an infrared touch frame. For example, an upper frame of an infrared touch frame of a touch display device may be provided with a plurality of infrared emitters (e.g., infrared emission tubes), and a lower frame may be provided with a plurality of infrared receivers (e.g., infrared reception tubes). The positions of the infrared transmitters of the upper frame correspond to the positions of the infrared receivers of the lower frame one by one. The left frame of the infrared touch frame of the touch display device can also be provided with a plurality of infrared emitters (such as infrared transmitting tubes), and the right frame can be provided with a plurality of infrared receivers (such as infrared receiving tubes). The positions of the infrared transmitters of the left frame correspond to the positions of the infrared receivers of the right frame one by one.
The infrared transmitter is used for transmitting infrared rays to the corresponding infrared receiver. The infrared receiver is used for receiving the infrared rays sent by the corresponding infrared transmitter. When a user moves on a display screen of the touch display device, infrared rays can be shielded, and one or more infrared receivers of the lower frame and the right frame cannot receive the infrared rays. Therefore, the infrared touch control all-in-one machine can determine the speed of the contact point of the writing operation of the user according to the position information of the infrared receiver which does not receive the infrared rays and the time information which does not receive the infrared rays.
In a possible implementation manner, the pressure value of the contact point may be determined according to the speed of the contact point and a preset corresponding relationship between the speed and the pressure value.
The preset corresponding relation between the speed and the pressure value can be preset on the touch display device. The preset corresponding relationship between the speed and the pressure value may be a preset formula, and of course, the preset corresponding relationship between the speed and the pressure value may also be a plurality of groups of values, and the plurality of groups of values may include a plurality of speeds and corresponding pressure values. For example, it can be as shown in table 1 below.
In one example, the preset corresponding relationship between the speed and the pressure value may be as shown in the following formulas one to three.
P=aV2+ bV + c formula one
P=k1V+d1Formula two
P=1/k2V+d2Formula three
In the above formula, P represents a pressure value and V represents a velocity. a. b, c, k1、d1、k2、d2Are coefficients. The values of the coefficients can be set as desired, for example, by testing the coefficients several times, for example, a can be-0.75, b can be 0.15, c can be 0.4925, k1May be-0.6, d1May be 0.56, k2May be 18.5, d2May be-0.04. Of course, the coefficients may be other values, and are not limited.
For example, as shown in fig. 6, it is a schematic diagram of the corresponding relationship between the pressure value and the speed in the above three formulas.
In yet another example, the preset corresponding relationship between the speed and the pressure value may be as shown in table 1.
TABLE 1
Speed of rotation Pressure value
0.2 0.49
0.3 0.46
0.4 0.44
0.5 0.37
0.6 0.31
0.7 0.23
0.8 0.13
0.9 0
It should be noted that the numerical values in table 1 are only exemplary, and may also include other speeds and corresponding pressure values, which are not described in detail. If the pressure value of the contact point is 0, the writing operation of the user is finished.
It should be noted that, in this embodiment of the application, if the nth contact point is a first contact point in the first writing operation of the user, the pressure value of the contact point may be a preset pressure value. The preset pressure value may be set according to needs, for example, may be 0.5, and is not limited.
Further, in order to avoid an excessively large variation range of the pressure value of the contact point, in the embodiment of the present application, an upper limit value and a lower limit value may be set for the pressure value of the contact point, so that the pressure value of the contact point obtained according to the method for determining the pressure value is located in an interval formed by the upper limit value and the lower limit value. For example, the upper limit value may be 0.5 and the lower limit value may be 0.02. Of course, other values are also possible, without limitation. The upper and lower limits may also be obtained by testing. Thus, when the pressure value of the contact point obtained by the method for determining the pressure value is smaller than the lower limit value, the lower limit value can be used as the pressure value of the contact point; when the pressure value of the contact point obtained by the above method for determining the pressure value is greater than the upper limit value, the upper limit value may be set as the pressure value of the contact point.
Step 502, the touch display device determines a first handwriting corresponding to the first writing operation according to the pressure values of the M contact points.
The first handwriting corresponding to the first writing operation refers to the thickness of the handwriting corresponding to the first writing operation. The first trace can be obtained by connecting the M contact points in sequence.
In one possible implementation, the touch display device may be preset with a correspondence between the pressure value and the width of the handwriting. The corresponding relation comprises a plurality of pressure values and the width of one or more handwriting corresponding to each pressure value. The corresponding relationship may be stored in the touch display device in a table form, and of course, may also be stored in the touch display device in an array form, which is not described in detail. For example, the correspondence between the pressure value and the width of the handwriting can be as shown in table 2.
TABLE 2
Pressure value Width of handwriting 1 Width of handwriting 2
0.5 0.7 1.4
0.46 0.6 1.2
0.44 0.5 1.0
0.37 0.4 0.8
0.31 0.3 0.6
0.23 0.2 0.4
0.13 0.1 0.2
0 0 0.0
It should be noted that the numerical values in table 2 are only exemplary, and may also include other pressure values and corresponding widths of handwriting, which are not described in detail. The width of the handwriting in table 2 can also be adjusted. For example, as shown in fig. 7a, in response to the user clicking on "select" operation, the display interface may display a sub-interface 601 shown in fig. 7 b. The sub-interface may include a plurality of sub-function keys, such as "font size", "font color", "font weight", and the like. For example, in response to a user clicking on "font size," the display interface may display a sub-interface 602 as shown in FIG. 7 c. The symbols "+", "-" in the sub-interface 602 may be used to resize the font. Wherein, the user clicks "+" to make the current written font larger. Clicking "-" by the user may make the currently written font smaller.
In an example, taking the touch display device as an example of acquiring a plurality of contact points at preset time intervals, when the touch display device detects a touch operation of a stylus (or a finger of a user), a point a (referred to as a contact point a) may be displayed at a touch position, a pressure value of the point a may be a preset value, for example, may be 0.5, and a width (or thickness) of handwriting at the point may be determined according to the above table 2, for example, may be 0.6. The following is a brief description of the drawing process of the handwriting corresponding to the multiple contact points:
firstly, as the stylus (or the finger of the user) moves, the touch display device obtains the position information of a second contact point (for example, the contact point b) adjacent to the contact point a after a preset time interval, and determines the speed of the contact point b according to the position information (namely, the touch position) of the contact point a, the position information of the contact point b and the preset time interval. The determination method of the speed of the contact point b may refer to the description of step 501 above.
Further, the touch display device may determine the width of the handwriting at the contact point b according to the speed of the contact point b. For example, the touch display device may determine a pressure value corresponding to the speed of the contact point b according to any one of the above formulas or table 1, and then determine the width of the handwriting corresponding to the pressure value of the contact point b according to table 2.
If the pressure value of the contact point b is larger than that of the contact point a, the width (or radius) of the handwriting at the contact point b is larger than that of the handwriting at the contact point a. The touch display device may connect the contact point a and the contact point b with reference to a width (or radius) of the handwriting at the contact point a, that is, draw the handwriting between the contact point a and the contact point b. The initial width of the handwriting between the contact point a and the contact point is the width of the contact point a, the terminal width is the width of the contact point b, and the width of the handwriting is gradually increased from the contact point a to the contact point b, that is, the handwriting is gradually thickened.
If the pressure value of the contact point b is equal to the pressure value of the contact point a, the width (or radius) of the handwriting at the contact point b is equal to the width (or radius) of the handwriting at the contact point a. The touch display device can draw the handwriting between the contact point a and the contact point b, and the width of the handwriting is consistent with the width at the contact point a, that is, under the condition that the pressure value of the contact point b is consistent with the pressure value of the contact point a, the handwriting between the contact point a and the contact point b is a straight line, and the width of the handwriting is not changed.
If the pressure value of the contact point b is smaller than that of the contact point a, the width (or radius) of the handwriting at the contact point b is smaller than that of the handwriting at the contact point a. The touch display may connect the contact point a and the contact point b with reference to a width (or radius) of the handwriting at the contact point a, that is, draw the handwriting between the contact point a and the contact point b. The initial width of the handwriting between the contact point a and the contact point b is the width at the contact point a, the terminal width is the width at the contact point b, and the width of the handwriting becomes gradually smaller from the contact point a to the contact point b, that is, the handwriting becomes gradually thinner.
Secondly, as the stylus (or the finger of the user) continues to move, and after a preset time interval, the touch display device obtains the position information of a third contact point (for example, the contact point c) which is behind the contact point b and adjacent to the contact point b.
The touch display device may continue to draw the handwriting between the contact point b and the contact point c, and specifically, the process of drawing the handwriting between the contact point a and the contact point b may be referred to above, which is not described in detail.
In this way, the touch display device may draw a handwriting corresponding to the movement track according to the movement track of the stylus (or the finger of the user), and the thickness of the handwriting is related to the pressure values of the plurality of contact points in the movement track.
Based on the technical scheme of fig. 5, the touch display device may determine pressure values of the contact points according to the speeds of the plurality of contact points in the writing operation of the user, and then determine handwriting corresponding to the writing operation according to the pressure values of the plurality of contact points. When users write, the writing strength is different, which results in different thickness of the handwriting. The stronger the writing force is, the thicker the handwriting is. Based on the principle, in the technical scheme of the application, the touch display device can convert the moving speed of a user when the user uses a touch pen (or a finger) to write into the pressure value, and the thickness of the handwriting is determined according to the pressure values of a plurality of contact points of the writing operation. Therefore, the handwriting drawn by the touch display equipment is more similar to the actual handwriting of the user, and the effect of pressure writing is achieved.
In a possible implementation manner, based on the technical solution of fig. 5, the method provided in the embodiment of the present application may further include:
responding to a second writing operation of the user, and displaying a second handwriting on the touch display equipment; and responding to a third writing operation of the user, and displaying the third handwriting by the touch display equipment.
The determination method of the second trace and the determination method of the third trace may refer to the determination method of the first trace, which is not described in detail.
Wherein the second writing operation corresponds to a second speed. The third writing operation corresponds to a third speed. And if the second speed is greater than the third speed, the width of the second handwriting is less than that of the third handwriting. And if the second speed is less than the third speed, the width of the second handwriting is greater than that of the third handwriting.
The second writing operation corresponding to the second speed may refer to a speed of a plurality of contact points in the second writing operation. For example, the second speed may refer to an average speed of a plurality of contact points of the second writing operation. Alternatively, the second speed may be an average of a maximum speed and a minimum speed among the speeds of the plurality of contact points. Still alternatively, the second speed may be a speed of an intermediate contact point of the plurality of contact points. Alternatively, the second speed may be an intermediate speed value among the speeds of the plurality of contact points. Alternatively, the second velocity may be a variance of velocities of the plurality of contact points.
Similarly, the third writing operation corresponding to the third speed may refer to a speed of the plurality of contact points in the third writing operation. For example, the third speed may refer to an average speed of the plurality of contact points of the third writing operation. Alternatively, the third speed may be an average of a maximum speed and a minimum speed among the speeds of the plurality of contact points. Still alternatively, the third speed may be a speed of an intermediate contact point of the plurality of contact points. Alternatively, the third speed may be an intermediate speed value among the speeds of the plurality of contact points. Alternatively, the third speed may be a variance of the speeds of the plurality of contact points.
Based on the possible implementation mode, the touch display device can display different handwriting according to different writing operations. Therefore, in the writing process of the user, the handwriting displayed by the touch display equipment is close to the actual writing handwriting of the user on the whole.
In the technical scheme provided by the embodiment of the application, due to the fact that the difference value between the pressure values of the adjacent contact points is large, the pressure jump phenomenon may occur on the handwriting corresponding to the first writing operation.
The pressure jump may refer to a difference between a pressure value of a contact point and a pressure value of an adjacent contact point being greater than a preset value. The preset value can be set according to the requirement, for example, can be 0.05, and is not limited.
In one example, the consecutive contact points in the first writing operation of the user are contact point 1, contact point 2, contact point 3, contact point 4, and contact point 5, respectively. The pressure value of the contact point 1 is 0.58, the pressure value of the contact point 2 is 0.52, the pressure value of the contact point 3 is 0.58, the pressure value of the contact point 4 is 0.57, and the pressure value of the contact point 5 is 0.57. Since the difference between the pressure value of the contact point 2 and the pressure value of the contact point 1 is 0.58-0.52, 0.06 > 0.05, and the difference between the pressure value of the contact point 2 and the pressure value of the contact point 3 is 0.58-0.52, 0.06 > 0.05, the handwriting at the contact point 2 is obviously thinner than the handwriting at the contact points 1 and 3. For example, the handwriting at the contact point 2 may be as shown in fig. 8, and in fig. 8, the handwriting corresponding to the first writing operation becomes thinner at the contact point 2, which causes the thickness change of the handwriting corresponding to the first writing operation to be abrupt, resulting in unsightly and unsmooth handwriting.
In view of this, in order to prevent a pressure jump from occurring on a handwriting corresponding to the first writing operation, as shown in fig. 9, the method provided in the embodiment of the present application may further include:
step 901, if the difference between the pressure value of the nth contact point and the pressure value of the (N-1) th contact point is greater than a preset value, and/or the difference between the pressure value of the nth contact point and the pressure value of the (N +1) th contact point is greater than a preset value, the touch display device adjusts the pressure value of the nth contact point.
The pressure value after the adjustment of the nth contact point may be an average value of pressure values of a plurality of contact points adjacent to each other. For example, the adjusted pressure value of the nth contact point may be an average value of the pressure value of the nth-1 contact point and the pressure value of the (N +1) th contact point. For example, the pressure value of the N-1 th contact point, the pressure value of the N-2 nd contact point, the pressure value of the N +1 th contact point, and the average value of the pressure values of the N +2 th contact point may be used. Without limitation.
For example, in the example described above, the pressure value of the contact point 1 is 0.58, the pressure value of the contact point 2 is 0.57, the pressure value of the contact point 3 is 0.51, the pressure value of the contact point 4 is 0.57, and the pressure value of the contact point 5 is 0.59. Based on the above method, the pressure value after the contact point 3 is adjusted may be (0.57+0.57)/2 — 0.57. Alternatively, the adjusted pressure value of the contact point 3 may be (0.58+0.57+0.57+0.59)/4 ═ 0.5775.
Based on the possible implementation manner, the touch display device may adjust the pressure value of the contact point where the pressure jump occurs, so that a difference value between the pressure value of the contact point after the adjustment and the pressure value of the adjacent contact point is smaller than a preset value. Therefore, the handwriting drawn by the touch display equipment according to the adjusted pressure value of the contact point is smoother and more attractive.
In addition, when a user writes characters on a traditional blackboard, the pen point of the handwriting of the characters generally has a pen point. For example, a user may be writing a word "two" where the nib of a horizontal line above and a horizontal line below the word becomes thinner (i.e., a nib appears). Thus, the characters can be beautiful.
Therefore, in order to make the handwriting more beautiful, the technical solution provided by the embodiment of the present application may further include step 902:
step 902, when the touch display device detects a touch operation of a user, in a first writing process of the user, adjusting the last L contact points so that the adjusted pressure values of the L contact points are gradually reduced.
Where L is a positive integer, for example, L may be 5, 10, 20, etc., without limitation.
The adjusting process of the touch display device on the last L contact points may be: determining first pressure values of the last L contact points; and adjusting the first pressure values of the last L contact points according to a preset formula to obtain adjusted second pressure values of the L contact points.
Further, the touch display device may draw the handwriting of the L contact points according to the second pressure values of the L contact points. If the touch display device detects another contact point (e.g., contact point L +1) among the L contact points, the touch display device may adjust the second pressure value of the first contact point among the L contact points to the first pressure value, and adjust the second pressure value of the last L-1 contact point among the L contact points and the first pressure value of the contact point L +1 according to a preset formula, so as to obtain the adjusted pressure values of the last L-1 contact points among the L contact points and the second pressure value of the contact point L + 1. The touch display device can draw corresponding handwriting according to the pressure value adjusted by the last L-1 contact points and the second pressure value of the contact point L + 1. And the process is circulated until a new contact point cannot be detected.
That is, the touch display device may dynamically adjust the pressure values of the last multiple contact points in the first writing operation of the user, so that the handwriting obtained by the user in the first writing process always has the effect of writing style.
It should be noted that the pressure value interval of the last L contact points of the handwriting may be [ Pa,PminReal]. Wherein, PaThe preset value may be, for example, 0.01, without limitation. This preset value can also be obtained by testing. PminRealThe pressure value with the minimum pressure value in the last L contact points.
In one example, the preset formula may be the following formula four:
P1kx + b equation four
Wherein, P1And the adjusted pressure value of the Kth contact point is represented, x represents the serial number of the Kth contact point, K and b represent coefficients, and K is smaller than 0. k. The value of b can be detected according to the touch display equipmentAnd determining the pressure value with the minimum pressure value in the plurality of detected contact points and the corresponding serial number, and the serial number of the last detected contact point and a preset pressure value.
For example, the serial numbers and the pressure values of the multiple contact points detected by the touch display device are (1, 0.3), (2, 0.4), (3, 0.3), (4, 0.2), and (5, 0.6), respectively. The preset pressure value is 0.01. The touch display device may substitute the above equation 4 according to (4, 0.2) and (5, 0.01), and may obtain k equal to 0.19 and b equal to 0.96.
The following description will be given to the handwriting peak determination process, taking L ═ 5 as an example:
1. when the touch display device detects the touch operation of a user, counting the number of contact points is started.
2. When the number of the contact points is 5, the pressure values (i.e., the first pressure values) of the 5 contact points are determined according to the above step 501.
3. And determining the coefficient of the formula four according to the serial numbers of the 5 contact points and the first pressure value.
The method for determining the coefficient of formula four may refer to the above description, and is not repeated.
4. And adjusting the first pressure values of the 5 contact points according to a formula four to obtain the adjusted pressure values (namely, second pressure values) of the 5 contact points.
Wherein, the pressure value after the 5 contact points are adjusted is gradually reduced.
5. And drawing the handwriting corresponding to the 5 contact points according to the second pressure values of the 5 contact points.
The method for drawing the corresponding handwriting according to the second pressure values of the 5 contact points may refer to the above description, which is not repeated.
Since the second pressure values of the 5 contact points are sequentially reduced, that is, the widths of the contrasted handwriting are sequentially thinned. Therefore, the handwriting corresponding to the 5 contact points can constitute the pen point.
6. When the 6 th contact point is detected, determining a first pressure value of the 6 th contact point, and adjusting a second pressure value of the 1 st contact point to the first pressure value of the 1 st contact point.
7. And determining the coefficient of the formula IV according to the first pressure value and the serial number in the 2 nd to 6 th contact points.
The method for determining the coefficient of formula four may refer to the above description, and is not repeated.
8. And adjusting the first pressure value from the 2 nd contact point to the 6 th contact point according to the formula 4 to obtain a second pressure value from the 2 nd contact point to the 6 th contact point.
Wherein, the second pressure value from the 2 nd contact point to the 6 th contact point is gradually reduced.
It should be noted that, since the coefficient determined in step 7 may not match the coefficient in step 3, the second pressures of the 2 nd to 5 th contact points in step 8 may not be the same as the second pressure value in step 4.
9. And drawing the handwriting corresponding to the 2 nd contact point to the 6 th contact point according to the second pressure values from the 2 nd contact point to the 6 th contact point.
Illustratively, as shown in fig. 10, fig. 10 is a schematic diagram of writing effect obtained based on the above technical solution of fig. 9, in the schematic diagram, each font may be composed of multiple scripts, and the multiple scripts are not connected with each other. Different handwriting corresponds to different writing operations. For example, a "moon" is composed of four writings, a glance at the left, a transverse-folding vertical hook at the right, and two internal crossbars. The four handwriting are not connected, the width of the handwriting at the initial position of the handwriting is basically consistent, and the tail of the handwriting is provided with a pen point. The writing effect in fig. 10 is substantially similar to the actual writing effect of the user.
Based on the possible implementation manners, the touch display device dynamically adjusts the pressure values of the last contact points in the first writing process of the user, and the adjusted pressure values of the contact points are sequentially reduced. Therefore, in the writing process of the user, the obtained handwriting keeps the handwriting corresponding to the pressure values of the plurality of contact points after adjustment to be gradually thinned, that is, the handwriting corresponding to the first writing operation can have a writing point. Therefore, the written characters have aesthetic property, and the user experience is improved.
The person skilled in the art uses the whiteboard software a based on the above technical solution, and uses the Windows drawing software and the whiteboard software B of other technical solutions to perform writing delay tests. The technician tested 10 sets of data. The test results can be shown in table 3.
TABLE 3
Figure BDA0002782844650000181
As can be seen from table 3, the whiteboard software a using the technical scheme provided in the embodiment of the present application optimizes the handwriting written by the user, and at the same time, the writing delay is low. Therefore, the technical scheme provided by the embodiment of the application can improve the use experience of the user.
All the schemes in the above embodiments of the present application can be combined without contradiction.
In the embodiment of the application, the touch display device may be divided into the functional modules or the functional units according to the method example, for example, each functional module or functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in a form of hardware, or may be implemented in a form of a software functional module or a functional unit. The division of the modules or units in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of dividing each function module corresponding to each function, fig. 11 shows a schematic structural diagram of a touch display device 110, where the touch display device 110 may be a touch display device or a chip applied to the touch display device, and the touch display device 110 may be configured to execute the functions of the touch display device in the foregoing embodiments. The touch display device 110 shown in fig. 11 may include: a processing unit 111 and a communication unit 112.
And the processing unit 111 is used for responding to the first writing operation of the user and determining the pressure values of the M contact points in the first writing operation.
The processing unit 111 is further configured to determine handwriting corresponding to the first writing operation according to the pressure values of the M contact points.
The communication unit 112 is configured to perform the actions received or sent by the touch display device in the above embodiments.
The specific implementation manner of the touch display device 110 may refer to a behavior function of the touch display device in the handwriting determination method shown in fig. 5 or fig. 9.
In one possible design, the touch display device 110 shown in fig. 11 may further include a storage unit 113. The memory unit 113 is used for storing program codes and instructions.
In one possible design, the speed of the nth contact point is determined based on the distance and time difference between the nth-1 contact point and the nth contact point.
In one possible design, the pressure value of the nth contact point is determined by the speed of the nth contact point and a preset corresponding relationship between the speed and the pressure value.
In one possible design, the predetermined relationship between the speed and the pressure is P ═ aV2+ bV + c, or P ═ k1V+d1Or, P is 1/k2V+d2Where P represents a pressure value of the Nth contact point, V represents a velocity of the Nth contact point, a, b, c, k1、d1、k2、d2Are coefficients.
In one possible design, the processing unit 111 is further configured to: if the difference value between the pressure value of the Nth contact point and the pressure value of the (N-1) th contact point is larger than a preset value, and/or the difference value between the pressure value of the Nth contact point and the pressure value of the (N +1) th contact point is larger than a preset value, adjusting the pressure value of the Nth contact point, and the difference value between the pressure value of the (N-1) th contact point of the pressure value adjusted by the Nth contact point and the pressure value of the (N +1) th contact point are smaller than or equal to the preset value.
In one possible design, the processing unit 111 is further configured to: when the touch operation of the user is detected, in the first writing process of the user, the last L contact points are adjusted, so that the adjusted pressure values of the L contact points are gradually reduced, wherein L is a positive integer.
As yet another implementable manner, the processing unit 111 in fig. 11 may be replaced by a processor, which may integrate the functions of the processing unit 111. The communication unit 112 in fig. 11 may be replaced by a transceiver or transceiver unit, which may integrate the functionality of the communication unit 112.
Further, when the processing unit 111 is replaced by a processor and the communication unit 112 is replaced by a transceiver or a transceiver unit, the touch display device 110 according to the embodiment of the present application may be the touch display device shown in fig. 4.
The embodiment of the application also provides a computer readable storage medium. All or part of the processes in the above method embodiments may be performed by relevant hardware instructed by a computer program, which may be stored in the above computer-readable storage medium, and when executed, may include the processes in the above method embodiments. The computer-readable storage medium may be an internal storage unit of the touch display device (including the data sending end and/or the data receiving end) in any of the foregoing embodiments, for example, a hard disk or a memory of the touch display device. The computer readable storage medium may also be an external storage device of the touch display device, such as a plug-in hard disk, a Smart Memory Card (SMC), a Secure Digital (SD) card, a flash card (flash card), and the like, which are provided on the touch display device. Further, the computer-readable storage medium may include both an internal storage unit and an external storage device of the touch display device. The computer-readable storage medium is used for storing the computer program and other programs and data required by the touch display device. The above-described computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
It should be noted that the terms "first" and "second" and the like in the description, claims and drawings of the present application are used for distinguishing different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more, "at least two" means two or three and three or more, "and/or" for describing an association relationship of associated objects, meaning that three relationships may exist, for example, "a and/or B" may mean: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for handwriting determination, the method comprising:
responding to a first writing operation of a user, and determining pressure values of M continuous contact points in the first writing operation, wherein the pressure value of the Nth contact point in the M contact points corresponds to the speed of the Nth contact point, M, N is a positive integer, and M is larger than or equal to N;
and determining a first handwriting corresponding to the first writing operation according to the pressure values of the M contact points.
2. The method of claim 1, wherein the speed of the nth contact point is determined based on a distance and time difference between the nth-1 contact point and the nth contact point.
3. The method of claim 2, wherein the pressure value of the nth contact point is determined by the speed of the nth contact point and a preset corresponding relationship between the speed and the pressure value.
4. The method according to claim 3, wherein the predetermined correspondence between speed and pressure values is P-aV2+ bV + c, or P ═ k1V+d1Or, P is 1/k2V+d2Wherein P represents a pressure value of the Nth contact point, V represents a speed of the Nth contact point, a, b, c, k1、d1、k2、d2Are coefficients.
5. The method according to any one of claims 1-4, further comprising:
if the difference value between the pressure value of the Nth contact point and the pressure value of the (N-1) th contact point is larger than a preset value, and/or the difference value between the pressure value of the Nth contact point and the pressure value of the (N +1) th contact point is larger than the preset value, adjusting the pressure value of the Nth contact point, wherein the difference value between the pressure value of the Nth contact point after adjustment and the pressure value of the (N-1) th contact point and the difference value between the pressure value of the (N +1) th contact point are smaller than or equal to the preset value.
6. The method according to any one of claims 1-4, further comprising:
when the touch operation of a user is detected, in the first writing process of the user, the last L contact points are adjusted, so that the adjusted pressure values of the L contact points are gradually reduced, wherein L is a positive integer.
7. A touch display device, characterized in that the touch display device comprises:
the touch display screen is used for receiving writing operation and displaying;
a processor coupled to the touch display screen, the processor configured to:
performing the method of any one of claims 1-6.
8. A touch display device, characterized in that the touch display device comprises:
the touch display screen is used for receiving writing operation and displaying;
a processor coupled to the touch display screen, the processor configured to: responding to a second writing operation of the user, and controlling the touch display screen to display a second handwriting, wherein the second writing operation corresponds to a second speed;
responding to a third writing operation of a user, and controlling the touch display screen to display a third handwriting, wherein the second writing operation corresponds to a third speed;
and the second speed is greater than the third speed, and the width of the second handwriting is smaller than that of the third handwriting.
9. The touch display device of claim 8, wherein the second velocity is a velocity mean of a plurality of contact points in the second writing operation, and wherein the third velocity is a velocity mean of a plurality of contact points in the third writing operation.
10. A readable storage medium having stored therein instructions which, when executed, implement the method of any one of claims 1 to 6.
CN202011287469.XA 2020-11-17 2020-11-17 Handwriting determining method and touch display device Active CN112394838B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011287469.XA CN112394838B (en) 2020-11-17 2020-11-17 Handwriting determining method and touch display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011287469.XA CN112394838B (en) 2020-11-17 2020-11-17 Handwriting determining method and touch display device

Publications (2)

Publication Number Publication Date
CN112394838A true CN112394838A (en) 2021-02-23
CN112394838B CN112394838B (en) 2023-11-10

Family

ID=74605851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011287469.XA Active CN112394838B (en) 2020-11-17 2020-11-17 Handwriting determining method and touch display device

Country Status (1)

Country Link
CN (1) CN112394838B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113296616A (en) * 2021-05-12 2021-08-24 深圳市宝视达光电有限公司 Pen point selection method and device and intelligent terminal
CN113521725A (en) * 2021-07-26 2021-10-22 网易(杭州)网络有限公司 Pattern effect display method, storage medium, and computer device
CN114924658A (en) * 2022-05-31 2022-08-19 青岛海信移动通信技术股份有限公司 Terminal equipment and handwriting generation method
TWI823584B (en) * 2022-08-11 2023-11-21 大陸商環勝電子(深圳)有限公司 Handwritten data processing method and handwritten data processing system

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750064A (en) * 2011-04-22 2012-10-24 汉王科技股份有限公司 Electromagnetic handwriting device and control method thereof
CN102937849A (en) * 2012-12-04 2013-02-20 上海合合信息科技发展有限公司 Method for beautifying handwriting in real time and electronic equipment
CN104049874A (en) * 2014-06-10 2014-09-17 广州视睿电子科技有限公司 Touch handwriting generation method and system of stylus
CN106125963A (en) * 2016-06-24 2016-11-16 江西金格科技股份有限公司 On a kind of equipment without pressure sensitivity former person's handwriting Handwriting Signature System and the former person's handwriting of PDF document hand-written sign method
CN106527947A (en) * 2016-11-11 2017-03-22 广东小天才科技有限公司 Touch pen-based drawing method, drawing system and related equipment
CN107481299A (en) * 2017-06-27 2017-12-15 北京新国人智慧科技股份有限公司 A kind of written handwriting display methods and system, intelligent terminal and intelligent writing system
CN109840034A (en) * 2019-01-30 2019-06-04 郑州万特电气股份有限公司 A kind of Brush calligraphy Writing method based on touch apparatus
CN110321054A (en) * 2019-06-20 2019-10-11 广州视源电子科技股份有限公司 Writing brush handwriting drawing method, device, equipment and readable storage medium
CN110531875A (en) * 2019-08-21 2019-12-03 深圳市威屏科技有限公司 Write generation method, terminal device and the storage medium of the vigour of style in writing
CN111142770A (en) * 2019-12-23 2020-05-12 江苏欧帝电子科技有限公司 Method for generating pen point and processing device
CN111273807A (en) * 2020-01-07 2020-06-12 通彩视听科技(上海)有限公司 Handwriting implementation and optimization method and device and computer equipment
CN111381754A (en) * 2020-04-30 2020-07-07 京东方科技集团股份有限公司 Handwriting processing method, equipment and medium
CN111782131A (en) * 2020-07-27 2020-10-16 深圳市千分一智能技术有限公司 Pen point implementation method, device, equipment and readable storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750064A (en) * 2011-04-22 2012-10-24 汉王科技股份有限公司 Electromagnetic handwriting device and control method thereof
CN102937849A (en) * 2012-12-04 2013-02-20 上海合合信息科技发展有限公司 Method for beautifying handwriting in real time and electronic equipment
CN104049874A (en) * 2014-06-10 2014-09-17 广州视睿电子科技有限公司 Touch handwriting generation method and system of stylus
CN106125963A (en) * 2016-06-24 2016-11-16 江西金格科技股份有限公司 On a kind of equipment without pressure sensitivity former person's handwriting Handwriting Signature System and the former person's handwriting of PDF document hand-written sign method
CN106527947A (en) * 2016-11-11 2017-03-22 广东小天才科技有限公司 Touch pen-based drawing method, drawing system and related equipment
CN107481299A (en) * 2017-06-27 2017-12-15 北京新国人智慧科技股份有限公司 A kind of written handwriting display methods and system, intelligent terminal and intelligent writing system
CN109840034A (en) * 2019-01-30 2019-06-04 郑州万特电气股份有限公司 A kind of Brush calligraphy Writing method based on touch apparatus
CN110321054A (en) * 2019-06-20 2019-10-11 广州视源电子科技股份有限公司 Writing brush handwriting drawing method, device, equipment and readable storage medium
CN110531875A (en) * 2019-08-21 2019-12-03 深圳市威屏科技有限公司 Write generation method, terminal device and the storage medium of the vigour of style in writing
CN111142770A (en) * 2019-12-23 2020-05-12 江苏欧帝电子科技有限公司 Method for generating pen point and processing device
CN111273807A (en) * 2020-01-07 2020-06-12 通彩视听科技(上海)有限公司 Handwriting implementation and optimization method and device and computer equipment
CN111381754A (en) * 2020-04-30 2020-07-07 京东方科技集团股份有限公司 Handwriting processing method, equipment and medium
CN111782131A (en) * 2020-07-27 2020-10-16 深圳市千分一智能技术有限公司 Pen point implementation method, device, equipment and readable storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113296616A (en) * 2021-05-12 2021-08-24 深圳市宝视达光电有限公司 Pen point selection method and device and intelligent terminal
CN113296616B (en) * 2021-05-12 2022-09-30 深圳市宝视达光电有限公司 Pen point selection method and device and intelligent terminal
CN113521725A (en) * 2021-07-26 2021-10-22 网易(杭州)网络有限公司 Pattern effect display method, storage medium, and computer device
CN113521725B (en) * 2021-07-26 2024-08-16 网易(杭州)网络有限公司 Pattern effect display method, storage medium and computer device
CN114924658A (en) * 2022-05-31 2022-08-19 青岛海信移动通信技术股份有限公司 Terminal equipment and handwriting generation method
TWI823584B (en) * 2022-08-11 2023-11-21 大陸商環勝電子(深圳)有限公司 Handwritten data processing method and handwritten data processing system

Also Published As

Publication number Publication date
CN112394838B (en) 2023-11-10

Similar Documents

Publication Publication Date Title
CN112394838B (en) Handwriting determining method and touch display device
CN105117190B (en) LED display screen configuration method
US8952906B2 (en) Apparatus and method for inputting writing information according to writing pattern
CN110321054B (en) Writing brush handwriting drawing method, device, equipment and readable storage medium
EP2869174A1 (en) Method and device for text input and display of intelligent terminal
US10120568B2 (en) Hover controlled user interface element
CN107798717A (en) Electronic brush writing method, device, computer equipment and storage medium
CN111475045A (en) Handwriting drawing method, device, equipment and storage medium
CN113835604B (en) Multi-area touch input processing method and system
CN103365541A (en) Window display method and terminal
CN112835504B (en) Thinking guide graph track processing method, thinking guide graph track processing device, computer equipment and storage medium
CN111782131A (en) Pen point implementation method, device, equipment and readable storage medium
CN108763391A (en) Questionnaire page surface treatment method and apparatus
CN103235694A (en) Page turning method and device of e-book reader and mobile terminal
CN114415918A (en) Electronic equipment, method and device for simulating pen touch and computer readable medium
CN105183217A (en) Touch display device and touch display method
CN115834958A (en) Touch screen writing delay test method and device
CN106843714B (en) Method and system for optimizing handwriting of touch pen
CN114546146B (en) Touch response delay measurement method, device and system of touch screen and interaction panel
CN107403087B (en) Touch feedback method and device and terminal
CN114327140A (en) Screen touch method, device, system, equipment and storage medium
KR20130080218A (en) Method for moving the cursor of text editor using motion sensor, and computer-readable recording medium with moving program of the cursor of text editor using motion sensor
CN113362418A (en) Curve smoothing method, system, equipment and storage medium based on Bezier curve
CN112558699A (en) Touch method, device, equipment and computer readable storage medium
CN114578956A (en) Equipment control method and device, virtual wearable equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant