Nothing Special   »   [go: up one dir, main page]

WO2020042145A1 - Handwriting sensing system, and handwriting input control device and method therefor - Google Patents

Handwriting sensing system, and handwriting input control device and method therefor Download PDF

Info

Publication number
WO2020042145A1
WO2020042145A1 PCT/CN2018/103508 CN2018103508W WO2020042145A1 WO 2020042145 A1 WO2020042145 A1 WO 2020042145A1 CN 2018103508 W CN2018103508 W CN 2018103508W WO 2020042145 A1 WO2020042145 A1 WO 2020042145A1
Authority
WO
WIPO (PCT)
Prior art keywords
handwriting
azimuth
stylus
angle
tablet
Prior art date
Application number
PCT/CN2018/103508
Other languages
French (fr)
Chinese (zh)
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/CN2018/103508 priority Critical patent/WO2020042145A1/en
Priority to CN201880094135.5A priority patent/CN112654958A/en
Publication of WO2020042145A1 publication Critical patent/WO2020042145A1/en

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]

Definitions

  • the present application relates to the technical field of handwriting input control, and in particular, to a handwriting induction system and a handwriting input control device and method thereof.
  • the present application provides a handwriting induction system and a handwriting input control device and method thereof, which can implement a simple gesture and algorithm to detect a writing gesture, and implement handwriting restoration when the stylus is writing according to the detected writing gesture. To give users a more realistic experience.
  • the present application provides a handwriting input control device, which is applied to a handwriting sensing system, where the handwriting sensing system includes a stylus pen and a handwriting pad.
  • the handwriting input control device includes:
  • An azimuth detection module configured to detect an azimuth included angle of the stylus relative to the tablet during writing
  • An inclination angle detection module for detecting an inclination angle of the stylus with respect to the tablet during writing
  • An adjustment module is configured to adjust writing handwriting of the stylus according to at least one of the azimuth included angle and the inclined included angle.
  • the present application provides a handwriting input control method, including:
  • the writing handwriting of the stylus pen is adjusted according to at least one of the azimuth included angle and the inclined included angle.
  • the present application provides a handwriting sensing system including a stylus, a tablet, and the handwriting input control device described above.
  • the handwriting input control device provided in the embodiment of the present application adopts a simple structure and algorithm to detect the writing gesture, and implements the handwriting restoration of the stylus when writing on the tablet according to the detected writing gesture, that is, to adjust the writing handwriting. To make the writing effect of the stylus closer to the writing effect of the real writing pen, so as to bring a more realistic user experience to the user.
  • FIG. 1 is a schematic diagram of a handwriting sensing system according to an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of a handwriting input control device according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of an azimuth angle and an inclination angle formed by a stylus pen and a corresponding reference plane in a three-dimensional space of the earth coordinate system.
  • FIG. 4 is a schematic diagram of the azimuth angle shown in FIG. 3 in the XY plane.
  • FIG. 5 is a schematic diagram of the inclination angle shown in FIG. 3 in a two-dimensional plane.
  • FIG. 6 is a schematic structural diagram of a controller according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of projections of the stylus pen and the preset directions of the tablet on a horizontal plane, respectively.
  • FIG. 8 is a schematic structural diagram of an inclination angle detection element according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of the pressure sensed by the pressure sensor of the tilt angle detecting element shown in FIG. 8 when the stylus pen is in a vertical state.
  • FIG. 10 is a schematic diagram of the pressure sensed by the pressure sensor of the inclination angle detecting element shown in FIG. 8 when the stylus pen is in an inclined state.
  • FIG. 11 is a schematic diagram of a writing handwriting presented on the tablet shown in FIG. 1.
  • FIG. 12 is a schematic diagram of another writing handwriting presented on the tablet shown in FIG. 1.
  • FIG. 13 is a schematic flowchart of a handwriting input control method according to an embodiment of the present application.
  • FIG. 14 is a schematic diagram of a sub-flow of a handwriting input control method according to an embodiment of the present application.
  • FIG. 15 is another schematic flowchart of a handwriting input control method according to an embodiment of the present application.
  • FIG. 1 is a schematic diagram of a handwriting sensing system 100 according to an embodiment of the present application.
  • the handwriting sensing system 100 includes at least a stylus pen 20, a handwriting pad 30, and a handwriting input control device 40.
  • the stylus 20 is used in combination with the stylus 30.
  • the stylus pen 20 is a capacitive pencil.
  • the handwriting input control device 40 includes an azimuth detection module 41, an inclination detection module 42, and an adjustment module 43.
  • the azimuth detection module 41 is used to detect the azimuth included angle of the stylus 20 relative to the tablet 30 during the writing process
  • the tilt angle detection module 42 is used to detect the handwriting during the writing process.
  • the inclination angle of the pen 20 relative to the tablet 30, and the adjustment module 43 is configured to adjust the writing handwriting of the stylus 20 according to at least one of the azimuth angle and the inclination angle .
  • FIG. 3-5 shows the relative position relationship between the stylus P and the corresponding reference plane in the earth coordinate system, and is used to explain the “azimuth angle” and “tilt angle” .
  • the “azimuth angle” described in this application refers to an included angle of the stylus pen P with respect to a reference plane.
  • the “tilt angle” described in this application refers to the angle between the stylus P and the horizontal plane XY.
  • FIG. 3 is a schematic diagram of the azimuth angle and tilt angle formed by the stylus pen P and the corresponding reference plane in the three-dimensional space of the earth coordinate system
  • FIG. 4 is a schematic diagram of the azimuth angle shown in FIG.
  • FIG. 3 in the horizontal plane XY. 5 is a schematic diagram of the inclination angle shown in FIG. 3 in a two-dimensional reference plane.
  • the angle between the projection P ′ of the stylus P on the horizontal plane XY and the X axis is the azimuth angle of the stylus P, It is expressed as ⁇ ;
  • the angle between the stylus pen P and the horizontal plane XY is the inclination angle of the stylus pen P, and it is expressed as ⁇ .
  • the azimuth detection module 41 includes an azimuth detection component 411 and a first calculation unit 412.
  • the azimuth detection component 411 is configured to detect the azimuth data of the stylus 20 and the tablet 30 during the writing process, wherein the azimuth data of the stylus 30 reflects the prediction of the handwriting 30 Set the azimuth data of the direction.
  • the first calculation unit 412 is configured to obtain azimuth data of the stylus 20 and the stylus 30 detected by the azimuth detection component 411, and according to the stylus 20 and
  • the azimuth data of the stylus 30 calculates the azimuth of the stylus 20 and the preset directions of the stylus 30 respectively, and calculates the azimuth of the stylus 20 and the azimuth of the stylus 20 according to the calculated azimuth.
  • the difference between the azimuth angles of the preset directions of the tablet 30, and the absolute value of the difference is determined as the azimuth included angle of the stylus 20 relative to the preset directions of the tablet 30. That is, the azimuth included angle refers to the included angle between the stylus 20 and the tablet 30 in the azimuth dimension.
  • the azimuth detection component 411 includes a first azimuth detection element 4111 and a second azimuth detection element 4112, wherein the first azimuth detection element 4111
  • the stylus 20 is provided on the stylus 20 and is used to detect azimuth data of the stylus 20 during writing.
  • the second azimuth detection element 4112 is disposed on the tablet 30 and is used to detect the azimuth data of the tablet 30 during writing.
  • the preset direction of the tablet 30 may be set as a length direction or a width direction of the tablet 30, or may be set as a writing direction of the tablet 30, for example, horizontal or vertical. That is, the preset direction of the tablet 30 may not be unique, and may be switched according to the actual writing needs of the user.
  • the azimuth indicated by the azimuth data of the tablet 30 may be the same as the orientation in which the preset direction of the tablet 30 is located, or may differ by 90 degrees.
  • the direction indicated by the azimuth data of the tablet 30 may be the same as the direction of the horizontal direction of the tablet 30; when the writing direction of the tablet 30 is When switched to the vertical orientation, the orientation indicated by the azimuth data of the tablet 30 is 90 degrees different from the orientation in which the tablet 30 is vertically oriented.
  • the first computing unit 412 may be an independent electronic device, and may be disposed in the handwriting tablet 30.
  • the handwriting input control device 40 may further include a controller 44 provided in the tablet 30, and the first calculation unit 412 It may be a part of the controller 44.
  • the stylus 20 and the tablet 30 are respectively provided with a wireless communication module (not shown), and the data detected by the first azimuth detection element 4111 can be transmitted through the stylus 20
  • the wireless communication module sends the wireless communication module on the tablet 30, and the wireless communication module on the tablet 30 transmits the wireless communication module to the first computing unit 412 or the controller 44.
  • the second azimuth detection element 4112 may be electrically connected to the first calculation unit 412 or the controller 44 and directly transmit the detected data to the first calculation unit 412 or the controller 44. Since this part is not the focus of the invention of this application, it will not be described in detail here.
  • FIG. 7 it is a schematic diagram of projections of the stylus pen 20 and the preset directions of the stylus tablet 30 on the horizontal plane, respectively, where the direction A indicates the projection of the stylus pen 20 on the horizontal plane, and The angle ⁇ 1 of the X axis represents the azimuth angle of the stylus pen 20, and the direction B indicates the projection of the preset direction of the tablet 30 on the horizontal plane, and the angle ⁇ 2 of the X axis represents the The azimuth angle of the preset direction of the tablet 30 will be described.
  • the value of the azimuth included angle is different. When it is zero, it can be determined that the orientation of the stylus 20 is different from the orientation of the preset direction of the tablet 30.
  • the stylus 20 can be judged that the orientation of the stylus 20 during writing is different from the orientation of the preset direction of the stylus 30; otherwise, the stylus 20 can be judged
  • the orientation during the writing process is the same as the orientation in the preset direction of the tablet 30.
  • the first azimuth angle detecting element 4111 and the second azimuth angle detecting element 4112 may be geomagnetic sensors, and the first azimuth angle detecting element 4111 and the second azimuth angle detecting element 4112 detect The azimuth data indicates a geographic orientation.
  • the tilt angle detection module 42 includes a tilt angle detection component 421 and a second calculation unit 422.
  • the tilt angle detection component 421 is configured to detect tilt angle data of the stylus pen 20 and the tablet 30 during a writing process.
  • the second calculation unit 422 is configured to obtain tilt angle data of the stylus pen 20 and the tablet 30 detected by the tilt angle detection component 421, and according to the stylus pen 20 and
  • the tilt angle data of the tablet 30 calculates the tilt angles of the stylus 20 and the tablet 30, and calculates the tilt angle of the stylus 20 and the tablet according to the calculated tilt angles.
  • the difference between the inclination angles of 30 and the absolute value of the difference is determined as the included angle of the inclination of the stylus 20 with respect to the tablet 30. That is, the inclined included angle refers to the actual included angle between the stylus 20 and the tablet 30 in the height dimension.
  • the tilt angle detection component 421 includes a first tilt angle detection element 4211 and a second tilt angle detection element 4212, and the first tilt angle detection element 4211 is provided in
  • the stylus 20 is used to detect the tilt angle data of the stylus 20 during writing.
  • the second inclination angle detecting element 4212 is disposed on the tablet 30 and is used to detect the inclination angle data of the tablet 30 during a writing process.
  • the second computing unit 422 may be an independent electronic device and may be disposed in the handwriting tablet 30.
  • the second calculation unit 422 may also be a part of the controller 44. It can be understood that the data detected by the first tilt angle detection element 4211 can be sent to the wireless communication module on the tablet 30 through the wireless communication module on the stylus 20, and then the tablet 30 The wireless communication module is transmitted to the second computing unit 422 or the controller 44.
  • the second tilt angle detection element 4212 may be electrically connected to the second calculation unit 422 or the controller 44, and directly transmit the detected data to the second calculation unit 422 or the controller 44. Since this part is not the focus of the invention of this application, it will not be described in detail here.
  • the first inclination angle detection element 4211 and the second inclination angle detection element 4212 each include a pressure sensor 4231 and a pressure sensor provided on a force-receiving surface of the pressure sensor 4231.
  • the metal ball 4232, the tilt angle data is pressure data sensed by a corresponding pressure sensor 4231.
  • the second calculation unit 422 determines the tilt angle of the stylus 20 according to the pressure data sensed by the pressure sensor 4231 of the first tilt angle detection element 4211 and a first preset pressure value, wherein the first The preset pressure value is the gravity of the corresponding metal ball 4232 sensed by the pressure sensor 4231 of the first tilt angle detection element 4211 when the stylus 20 is in a vertical state.
  • the second calculation unit 422 also determines the tilt angle of the tablet 30 according to the pressure data sensed by the pressure sensor 4231 of the second tilt angle detection element 4212 and a second preset pressure value, wherein the first The two preset pressure values are the gravity of the corresponding metal ball 4232 sensed by the pressure sensor 4231 of the second tilt angle detection element 4212 when the tablet 30 is in a vertical state.
  • the adjusting module 43 is configured to determine the calculated handwriting width corresponding to the calculated azimuth included angle according to a first preset correspondence between the azimuth included angle and the handwriting width, and display the determined handwriting width.
  • the writing handwriting of the stylus pen 20 can adjust the thickness of the writing handwriting through the writing gesture.
  • the adjustment module 43 is further configured to pre-calculate when the calculated azimuth included angle is zero, that is, when the orientation of the stylus 20 is the same as the orientation of the preset direction of the tablet 30.
  • the standard width is set to display the writing handwriting of the stylus 20; and the calculated value of the orientation angle is not zero, that is, when the orientation of the stylus 20 is different from the preset of the stylus 30 When the direction is azimuth, the writing handwriting of the stylus 20 is displayed with other preset widths.
  • the writing handwriting T1 is the same orientation as the orientation of the stylus 20 and the preset orientation of the tablet 30, the handwriting input by the stylus 20 in the tablet 30;
  • the writing handwriting T2 is an orientation in which the orientation of the stylus 20 is different from a preset direction of the tablet 30, and when the included angle of the orientation of the stylus 20 with respect to the tablet 30 is ⁇ 1, the handwriting The handwriting input by the pen 20 in the handwriting pad 30;
  • the writing handwriting T3 is an orientation in which the stylus pen 20 is oriented different from a preset direction of the handwriting pad 30, and the stylus pen 20 is relative to the handwriting
  • the azimuth included angle of the plate 30 is ⁇ 2
  • the preset standard width is smaller than other preset widths.
  • the handwriting width of the writing handwriting is the largest. Narrow, and when the orientation of the stylus 20 is different from the orientation of the preset direction of the tablet 30, the relationship between the width of the handwriting of the writing handwriting and the orientation angle is proportional, that is, the orientation clip The larger the angle, the wider the handwriting width of the writing handwriting.
  • the adjustment module 43 is further configured to adjust the azimuth angle of the stylus 20 to be greater than the azimuth angle of the preset direction of the stylus 30, that is, the azimuth of the stylus 20
  • the difference between the azimuth and the azimuth angle of the preset direction of the tablet 30 is greater than zero, the color of the writing handwriting is gradually faded along the first direction, and the azimuth of the pen 20 is smaller than the azimuth of the tablet
  • the difference between the azimuth angle of the preset direction of 30, that is, the azimuth angle of the stylus pen 20 and the azimuth angle of the preset direction of the tablet 30 is less than zero, the writing handwriting is gradually faded in the second direction.
  • the first direction and the second direction are two opposite directions. In this way, the relationship between the handwriting and the holding direction of the stylus and the writing force during real writing can be reflected, thereby providing a user experience.
  • the writing handwriting T4 is an azimuth angle of the stylus 20 greater than a preset direction of the stylus 30, the handwriting input by the stylus 20 in the stylus 30, The color of the writing handwriting T4 gradually fades along the first direction D1.
  • the holding direction of the stylus pen 20 with respect to the tablet 30 is the first direction D1.
  • the writing handwriting T5 is the azimuth angle of the stylus pen 20 smaller than the azimuth angle of the preset direction of the handwriting tablet 30, the handwriting input by the stylus pen 20 in the handwriting tablet 30, the color of the writing handwriting T5 Fading gradually in the second direction D2.
  • the holding direction of the stylus pen 20 with respect to the tablet 30 is the second direction D2.
  • the adjustment module 43 is configured to determine the handwriting width corresponding to the calculated inclined angle according to a second preset correspondence between the inclined angle and the handwriting width, and The determined handwriting width displays the writing handwriting of the stylus 20, so that the thickness of the writing handwriting can be adjusted by the writing gesture.
  • the adjustment module 43 may be further configured to display the handwriting with a preset standard width when the calculated value of the tilt angle is 90 degrees, that is, when the stylus 20 is perpendicular to the tablet 30.
  • the writing handwriting T1 is the handwriting input by the stylus pen 20 in the writing pad 30 when the stylus pen 20 is perpendicular to the writing pad 30
  • the writing handwriting T2 is the When the inclination angle of the stylus pen 20 relative to the tablet 30 is ⁇ 1, the handwriting input by the stylus pen 20 in the tablet 30
  • the writing handwriting T3 is the stylus 20 relative to the tablet 30 When the angle of inclination is ⁇ 2, the handwriting input by the stylus pen 20 in the tablet 30 is 90 °> ⁇ 1> ⁇ 2> 0.
  • the preset standard width is smaller than other preset widths.
  • the handwriting width of the writing handwriting is the narrowest, while the stylus 20 is relatively
  • the handwriting width of the writing handwriting is inversely proportional to the tilting included angle, that is, the smaller the tilted included angle, the wider the handwriting width of the writing handwriting.
  • the adjustment module 43 may be further configured to determine the calculated azimuth included angle and tilt according to a third preset correspondence between the azimuth included angle, the tilt included angle, and the handwriting width.
  • the width of the handwriting corresponding to the included angle, and the determined handwriting width displays the writing handwriting of the stylus, so that the thickness of the writing handwriting can be adjusted by the writing gesture. That is, the width of the handwriting is related to both the azimuth included angle and the inclined included angle.
  • the adjustment module 43 may be specifically configured to be used when the value of the azimuth included angle is zero, that is, the orientation in which the stylus 20 faces and the preset of the handwriting pad 30 When the directions and orientations are the same, the handwriting of the stylus 20 is displayed with a preset standard width; and when the value of the orientation angle is not zero, that is, the orientation of the stylus 20 is different from the handwriting When the orientation of the board 30 is in a preset direction, the handwriting width corresponding to the calculated oblique included angle is determined according to the fourth preset correspondence between the oblique included angle and the handwriting width, and the determined handwriting width displays the stylus Writing handwriting.
  • the width of the handwriting is independent of the tilt angle and is a preset standard width;
  • the width of the handwriting is proportional to the inclined included angle.
  • the fourth preset correspondence may be the same as the second preset correspondence. It can be understood that the fourth preset correspondence may be different from the second preset correspondence.
  • the adjustment module 43 may be an independent electronic device and connected to the first calculation unit 412 and the second calculation unit 422, respectively, so as to obtain the determination determined by the first calculation unit 412.
  • the azimuth included angle and the tilt included angle determined by the second calculation unit 422 are used to adjust the writing handwriting of the stylus according to the azimuth included angle and / or the tilt included angle.
  • the adjustment module 43 may also be a part of the controller 44.
  • the handwriting input control device 40 may further include a storage module 45.
  • the storage module 45 may be used to store the first, second, third, Four preset correspondences, a first preset pressure value, a second preset pressure value, and the like.
  • the storage module 45 may be disposed on the tablet 30.
  • the storage module 45 may include a high-speed random access memory, and may also include a non-volatile memory, such as a Smart Memory Card (SMC). , Flash Cards, etc.
  • SMC Smart Memory Card
  • Flash Cards etc.
  • the handwriting input control device 40 uses a simple structure and algorithm to detect a writing gesture, and implements handwriting restoration of the stylus 20 when writing on the tablet 30 according to the detected writing gesture, that is, The writing handwriting is adjusted so that the writing effect of the stylus pen 20 is closer to that of a real writing pen, so as to bring a more realistic use experience to the user.
  • FIG. 13 is a schematic flowchart of a handwriting input control method according to an embodiment of the present application.
  • the handwriting input control device 40 described above can be used to adjust the writing handwriting of the stylus pen 20 so that the writing effect of the stylus pen 20 is closer to that of a real writing pen.
  • the handwriting input control method includes the following steps.
  • Step 1301 Detect an azimuth included angle of the stylus pen 20 with respect to the tablet 30 during a writing process, and detect a tilt included angle of the stylus pen 20 with respect to the tablet 30.
  • FIG. 14 is a schematic diagram of a sub-flow of a handwriting input control method according to an embodiment of the present application, which is used to detect an azimuth angle of the stylus 20 with respect to the tablet 30 during a writing process.
  • the handwriting input control method includes the following steps.
  • Step 1401 Detect the azimuth data of the stylus 20 and the tablet 30 during the writing process, wherein the azimuth data of the stylus 30 is azimuth data that reflects a preset direction of the tablet 30.
  • the preset direction of the tablet 30 may be set as a length direction or a width direction of the tablet 30, or may be set as a writing direction of the tablet 30, for example, horizontal or vertical. That is, the preset direction of the tablet 30 may not be unique, and may be switched according to the actual writing needs of the user.
  • the azimuth indicated by the azimuth data of the tablet 30 may be the same as the orientation in which the preset direction of the tablet 30 is located, or may differ by 90 degrees.
  • the direction indicated by the azimuth data of the tablet 30 may be the same as the direction of the horizontal direction of the tablet 30; when the writing direction of the tablet 30 is When switched to the vertical orientation, the orientation indicated by the azimuth data of the tablet 30 is 90 degrees different from the orientation in which the tablet 30 is vertically oriented.
  • Step 1402 Calculate the azimuth angles in the preset directions of the stylus pen 20 and the handwriting pad 30 respectively according to the azimuth angle data of the stylus pen 20 and the handwriting pad 30.
  • FIG. 7 it is a schematic diagram of projections of the stylus pen 20 and the preset directions of the stylus tablet 30 on the horizontal plane, respectively, where the direction A indicates the projection of the stylus pen 20 on the horizontal plane, and The angle ⁇ 1 of the X axis represents the azimuth angle of the stylus pen 20, and the direction B indicates the projection of the preset direction of the tablet 30 on the horizontal plane, and the angle ⁇ 2 of the X axis represents the The azimuth angle of the preset direction of the tablet 30 will be described.
  • Step 1403 Calculate a difference between the azimuth angle of the stylus 20 and the azimuth angle of the preset direction of the tablet 30 according to the calculated azimuth angle, and determine an absolute value of the difference value The included angle of the stylus pen 20 relative to the preset direction of the stylus board 30.
  • the stylus 20 can be judged that the orientation of the stylus 20 during writing is different from the orientation of the preset direction of the stylus 30; otherwise, the stylus 20 can be judged
  • the orientation during the writing process is the same as the orientation in the preset direction of the tablet 30.
  • FIG. 15 is a schematic diagram of a sub-flow of a handwriting input control method according to an embodiment of the present application, which is used to detect an inclination angle of the stylus pen 20 with respect to the handwriting board 30 during a writing process.
  • the handwriting input control method includes the following steps.
  • Step 1501 Detecting tilt angle data of the stylus 20 and the stylus 30 during writing.
  • Step 1502 Calculate the tilt angles of the stylus pen 20 and the tablet 30 according to the tilt angle data of the stylus pen 20 and the tablet 30.
  • Step 1503 Calculate a difference between the tilt angle of the stylus pen 20 and the tilt angle of the tablet 30 according to the calculated tilt angle, and determine the absolute value of the difference as the handwriting.
  • step 1302 the writing handwriting of the stylus pen is adjusted according to at least one of the azimuth included angle and the inclined included angle.
  • the step 1302 may specifically include:
  • the calculated handwriting width corresponding to the azimuth included angle is calculated, and the determined handwriting width displays the writing handwriting of the stylus 20, so that the writing gesture can be determined by To adjust the thickness of the handwriting.
  • the handwriting is displayed with a preset standard width.
  • the writing handwriting of the pen 20; and the calculated azimuth included angle value is not zero, that is, when the orientation of the stylus pen 20 is different from the orientation of the preset direction of the tablet 30, other
  • the preset width displays the writing handwriting of the stylus 20.
  • the writing handwriting T1 is the same orientation as the orientation of the stylus 20 and the preset orientation of the tablet 30, the handwriting input by the stylus 20 in the tablet 30;
  • the writing handwriting T2 is an orientation in which the orientation of the stylus 20 is different from a preset direction of the tablet 30, and when the included angle of the orientation of the stylus 20 with respect to the tablet 30 is ⁇ 1, the handwriting The handwriting input by the pen 20 in the handwriting pad 30;
  • the writing handwriting T3 is an orientation in which the stylus pen 20 is oriented different from a preset direction of the handwriting pad 30, and the stylus pen 20 is relative to the handwriting
  • the azimuth included angle of the plate 30 is ⁇ 2
  • the preset standard width is smaller than other preset widths.
  • the handwriting width of the writing handwriting is the largest. Narrow, and when the orientation of the stylus 20 is different from the orientation of the preset direction of the tablet 30, the relationship between the width of the handwriting of the writing handwriting and the orientation angle is proportional, that is, the orientation clip The larger the angle, the wider the handwriting width of the writing handwriting.
  • the handwriting input control method may further include:
  • the first direction and the second direction are two opposite directions.
  • the writing handwriting T4 is an azimuth angle of the stylus 20 greater than a preset direction of the stylus 30, the handwriting input by the stylus 20 in the stylus 30, The color of the writing handwriting T4 gradually fades along the first direction D1.
  • the holding direction of the stylus pen 20 with respect to the tablet 30 is the first direction D1.
  • the writing handwriting T5 is the azimuth angle of the stylus pen 20 smaller than the azimuth angle of the preset direction of the handwriting tablet 30, the handwriting input by the stylus pen 20 in the handwriting tablet 30, the color of the writing handwriting T5 Fading gradually in the second direction D2.
  • the holding direction of the stylus pen 20 with respect to the tablet 30 is the second direction D2.
  • the step 1302 may specifically include:
  • the writing handwriting of the stylus pen 20 can be displayed with a preset standard width.
  • the value of the calculated tilt angle is not 90 degrees, that is, when the stylus pen 20 is tilted relative to the tablet 30, the writing handwriting of the stylus pen 20 may be displayed in other preset widths.
  • the writing handwriting T1 is the handwriting input by the stylus pen 20 in the writing pad 30 when the stylus pen 20 is perpendicular to the writing pad 30
  • the writing handwriting T2 is the When the inclination angle of the stylus pen 20 relative to the tablet 30 is ⁇ 1, the handwriting input by the stylus pen 20 in the tablet 30
  • the writing handwriting T3 is the stylus 20 relative to the tablet 30 When the angle of inclination is ⁇ 2, the handwriting input by the stylus pen 20 in the tablet 30 is 90 °> ⁇ 1> ⁇ 2> 0.
  • the preset standard width is smaller than other preset widths.
  • the handwriting width of the writing handwriting is the narrowest, while the stylus 20 is relatively
  • the handwriting width of the writing handwriting is inversely proportional to the tilting included angle, that is, the smaller the tilted included angle, the wider the handwriting width of the writing handwriting.
  • the step 1302 may specifically include:
  • the width of the handwriting is related to both the azimuth included angle and the inclined included angle.
  • the step 1302 may specifically include:
  • the calculated handwriting width corresponding to the calculated inclined included angle is determined, and the determined handwriting width is displayed.
  • the writing handwriting of the stylus is described.
  • the width of the handwriting is independent of the tilt angle and is a preset standard width;
  • the width of the handwriting is proportional to the inclined included angle.
  • the fourth preset correspondence may be the same as the second preset correspondence. It can be understood that the fourth preset correspondence may be different from the second preset correspondence.
  • the handwriting input control method provided in the embodiment of the present application detects the writing gesture and adjusts the writing handwriting according to the detected writing gesture, so that the writing effect of the stylus pen is closer to the writing effect of the real writing pen, which can further bring the user More authentic use experience.

Landscapes

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

Abstract

A handwriting sensing system (100), and a handwriting input control device (40) and method therefor. The handwriting sensing system (100) further comprises a stylus pen (20) and a handwriting pad (30); the handwriting input control device (40) comprises an azimuth detection module (41), an inclination angle detection module (42), and an adjustment module (43). The azimuth detection module (41) is used for detecting an azimuth angle of the stylus pen (20) with respect to the handwriting pad (30) during a writing process. The inclination angle detection module (42) is used for detecting an inclination angle of the stylus pen (20) with respect to the handwriting board (30) during the writing process. The adjustment module (43) is used for adjusting the writing of the stylus pen (20) according to at least one of the azimuth angle and the inclination angle.

Description

手写感应系统及其手写输入控制装置和方法Handwriting induction system and handwriting input control device and method thereof 技术领域Technical field
本申请涉及手写输入控制技术领域,尤其涉及一种手写感应系统及其手写输入控制装置和方法。The present application relates to the technical field of handwriting input control, and in particular, to a handwriting induction system and a handwriting input control device and method thereof.
背景技术Background technique
在具有手写笔和手写板的手写感应系统中,用户可通过手写笔在手写板上进行较细腻的手写输入操作。在实际应用时,如何给用户呈现更真实的书写笔迹,使手写笔的书写效果更加接近于真实的书写笔,以给用户带来更真实的使用体验,已成为研发人员的主要研究方向。In a handwriting sensing system with a stylus and a stylus, the user can perform more delicate handwriting input operations on the stylus through the stylus. In actual application, how to present users with more realistic writing handwriting, so that the writing effect of the stylus pen is closer to the real writing pen, in order to bring a more realistic user experience, has become the main research direction of R & D personnel.
发明内容Summary of the Invention
鉴于此,本申请提供一种手写感应系统及其手写输入控制装置和方法,能够以简单的结构及算法来实现书写姿态的检测,并根据检测到的书写姿态来实现手写笔书写时的笔迹还原,以给用户带来更真实的使用体验。In view of this, the present application provides a handwriting induction system and a handwriting input control device and method thereof, which can implement a simple gesture and algorithm to detect a writing gesture, and implement handwriting restoration when the stylus is writing according to the detected writing gesture. To give users a more realistic experience.
第一方面,本申请提供一种手写输入控制装置,应用于手写感应系统中,所述手写感应系统包括手写笔以及手写板。所述手写输入控制装置包括:In a first aspect, the present application provides a handwriting input control device, which is applied to a handwriting sensing system, where the handwriting sensing system includes a stylus pen and a handwriting pad. The handwriting input control device includes:
方位角检测模块,用于在书写过程中检测所述手写笔相对于所述手写板的方位夹角;An azimuth detection module, configured to detect an azimuth included angle of the stylus relative to the tablet during writing;
倾斜角检测模块,用于在书写过程中检测所述手写笔相对于所述手写板的倾斜夹角;以及An inclination angle detection module for detecting an inclination angle of the stylus with respect to the tablet during writing; and
调整模块,用于根据所述方位夹角及所述倾斜夹角的其中至少之一,对所述手写笔的书写笔迹进行调整。An adjustment module is configured to adjust writing handwriting of the stylus according to at least one of the azimuth included angle and the inclined included angle.
第二方面,本申请提供一种手写输入控制方法,包括:In a second aspect, the present application provides a handwriting input control method, including:
在书写过程中检测手写笔相对于手写板的方位夹角;Detecting the azimuth angle of the stylus relative to the tablet during the writing process;
在书写过程中检测所述手写笔相对于所述手写板的倾斜夹角;以及Detecting an inclination angle of the stylus with respect to the tablet during writing; and
根据所述方位夹角及所述倾斜夹角的其中至少之一,对所述手写笔的书写笔迹进行调整。The writing handwriting of the stylus pen is adjusted according to at least one of the azimuth included angle and the inclined included angle.
第三方面,本申请提供一种手写感应系统,包括手写笔、手写板、以及上述的手写输入控制装置。In a third aspect, the present application provides a handwriting sensing system including a stylus, a tablet, and the handwriting input control device described above.
本申请实施例提供的手写输入控制装置,采用简单的结构及算法来实现书写姿态的检测,并根据检测到的书写姿态来实现手写笔在手写板上进行书写时的笔迹还原,即调整书写笔迹,使手写笔的书写效果更加接近于真实的书写笔的书写 效果,从而能够给用户带来更真实的使用体验。The handwriting input control device provided in the embodiment of the present application adopts a simple structure and algorithm to detect the writing gesture, and implements the handwriting restoration of the stylus when writing on the tablet according to the detected writing gesture, that is, to adjust the writing handwriting. To make the writing effect of the stylus closer to the writing effect of the real writing pen, so as to bring a more realistic user experience to the user.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present application or the prior art more clearly, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are merely These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained according to these drawings without paying creative labor.
图1为本申请实施例提供的一种手写感应系统的示意图。FIG. 1 is a schematic diagram of a handwriting sensing system according to an embodiment of the present application.
图2为本申请实施例提供的一种手写输入控制装置的结构示意图。FIG. 2 is a schematic structural diagram of a handwriting input control device according to an embodiment of the present application.
图3为手写笔在地球坐标系的三维空间中与相应的参考面所形成的方位角度和倾斜角度的示意图。FIG. 3 is a schematic diagram of an azimuth angle and an inclination angle formed by a stylus pen and a corresponding reference plane in a three-dimensional space of the earth coordinate system.
图4为图3所示的方位角度在XY平面内的示意图。FIG. 4 is a schematic diagram of the azimuth angle shown in FIG. 3 in the XY plane.
图5为图3所示的倾斜角度在二维平面内的示意图。FIG. 5 is a schematic diagram of the inclination angle shown in FIG. 3 in a two-dimensional plane.
图6为本申请实施例提供的一种控制器的结构示意图。FIG. 6 is a schematic structural diagram of a controller according to an embodiment of the present application.
图7为所述手写笔以及所述手写板的预设方向分别在水平面上的投影示意图。FIG. 7 is a schematic diagram of projections of the stylus pen and the preset directions of the tablet on a horizontal plane, respectively.
图8为本申请实施例提供的一种倾斜角检测元件的结构示意图。FIG. 8 is a schematic structural diagram of an inclination angle detection element according to an embodiment of the present application.
图9为图8所示的倾斜角检测元件的压力传感器在手写笔处于竖直状态下时感测到的压力的示意图。FIG. 9 is a schematic diagram of the pressure sensed by the pressure sensor of the tilt angle detecting element shown in FIG. 8 when the stylus pen is in a vertical state.
图10为图8所示的倾斜角检测元件的压力传感器在手写笔处于倾斜状态下时感测到的压力的示意图。FIG. 10 is a schematic diagram of the pressure sensed by the pressure sensor of the inclination angle detecting element shown in FIG. 8 when the stylus pen is in an inclined state.
图11为在图1所示的手写板上呈现的一种书写笔迹的示意图。FIG. 11 is a schematic diagram of a writing handwriting presented on the tablet shown in FIG. 1.
图12为在图1所示的手写板上呈现的另一种书写笔迹的示意图。FIG. 12 is a schematic diagram of another writing handwriting presented on the tablet shown in FIG. 1.
图13为本申请实施例提供的一种手写输入控制方法的流程示意图。FIG. 13 is a schematic flowchart of a handwriting input control method according to an embodiment of the present application.
图14为本申请实施例提供的一种手写输入控制方法的一种子流程示意图。FIG. 14 is a schematic diagram of a sub-flow of a handwriting input control method according to an embodiment of the present application.
图15为本申请实施例提供的一种手写输入控制方法的另一种子流程示意图。FIG. 15 is another schematic flowchart of a handwriting input control method according to an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In the following, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
请参阅图1,为本申请实施例提供的手写感应系统100的示意图。在本申请 实施例中,所述手写感应系统100至少包括手写笔20、手写板30以及手写输入控制装置40。其中,所述手写笔20用于与所述手写板30配套使用,所述手写板30与所述手写笔20的工作原理可参考相关技术,由于该部分不是本申请的发明重点,在此不进行详细介绍。在本实施方式中,所述手写笔20为电容式铅笔。Please refer to FIG. 1, which is a schematic diagram of a handwriting sensing system 100 according to an embodiment of the present application. In the embodiment of the present application, the handwriting sensing system 100 includes at least a stylus pen 20, a handwriting pad 30, and a handwriting input control device 40. The stylus 20 is used in combination with the stylus 30. For the working principle of the stylus 30 and the stylus 20, reference may be made to related technologies. Since this part is not the focus of the invention of this application, it will not Detailed introduction. In this embodiment, the stylus pen 20 is a capacitive pencil.
在本实施例中,请参阅图2,所述手写输入控制装置40包括方位角检测模块41、倾斜角检测模块42以及调整模块43。其中,所述方位角检测模块41用于在书写过程中检测所述手写笔20相对于所述手写板30的方位夹角,所述倾斜角检测模块42用于在书写过程中检测所述手写笔20相对于所述手写板30的倾斜夹角,所述调整模块43用于根据所述方位夹角及所述倾斜夹角的其中至少之一,对所述手写笔20的书写笔迹进行调整。In this embodiment, referring to FIG. 2, the handwriting input control device 40 includes an azimuth detection module 41, an inclination detection module 42, and an adjustment module 43. The azimuth detection module 41 is used to detect the azimuth included angle of the stylus 20 relative to the tablet 30 during the writing process, and the tilt angle detection module 42 is used to detect the handwriting during the writing process. The inclination angle of the pen 20 relative to the tablet 30, and the adjustment module 43 is configured to adjust the writing handwriting of the stylus 20 according to at least one of the azimuth angle and the inclination angle .
在具体介绍本申请的所述手写笔20相对于所述手写板30的方位夹角以及倾斜夹角的检测方案之前,先结合图3-5来说明本申请的下文中将要涉及到的“方位角度”和“倾斜角度”的定义。Before specifically introducing the detection scheme of the azimuth included angle and the tilt included angle of the stylus pen 20 relative to the tablet 30 in the present application, the “azimuth” to be referred to in the following of this application will be described with reference to FIGS. 3-5. Definitions of "angle" and "tilt angle".
以手写笔P为例,图3-5示出了在地球坐标系中所述手写笔P与相应的参考面之间的相对位置关系,用于说明所述“方位角度”和“倾斜角度”。本申请所述的“方位角度”是指所述手写笔P的朝向相对参考面的夹角。本申请所述的“倾斜角度”是指所述手写笔P与水平面XY的夹角。其中,图3为手写笔P在地球坐标系的三维空间中与相应的参考面所形成的方位角度和倾斜角度的示意图,图4为图3所示的方位角度在水平面XY内的示意图,图5为图3所示的倾斜角度在二维参考平面内的示意图。如图3、4所示,当所述手写笔P相对于水平面XY倾斜时,所述手写笔P在水平面XY的投影P’与X轴的夹角即为所述手写笔P的方位角度,表示为β;如图3、5所示,所述手写笔P与水平面XY的夹角即为所述手写笔P的倾斜角度,表示为θ。Taking the stylus P as an example, FIG. 3-5 shows the relative position relationship between the stylus P and the corresponding reference plane in the earth coordinate system, and is used to explain the “azimuth angle” and “tilt angle” . The “azimuth angle” described in this application refers to an included angle of the stylus pen P with respect to a reference plane. The “tilt angle” described in this application refers to the angle between the stylus P and the horizontal plane XY. Among them, FIG. 3 is a schematic diagram of the azimuth angle and tilt angle formed by the stylus pen P and the corresponding reference plane in the three-dimensional space of the earth coordinate system, and FIG. 4 is a schematic diagram of the azimuth angle shown in FIG. 3 in the horizontal plane XY. 5 is a schematic diagram of the inclination angle shown in FIG. 3 in a two-dimensional reference plane. As shown in FIGS. 3 and 4, when the stylus P is inclined with respect to the horizontal plane XY, the angle between the projection P ′ of the stylus P on the horizontal plane XY and the X axis is the azimuth angle of the stylus P, It is expressed as β; as shown in FIGS. 3 and 5, the angle between the stylus pen P and the horizontal plane XY is the inclination angle of the stylus pen P, and it is expressed as θ.
以下将结合图1-2及7来对本申请的手写笔20相对于手写板30的方位夹角的检测方案进行详细说明。The detection scheme of the azimuth included angle of the stylus pen 20 with respect to the tablet 30 according to the present application will be described in detail below with reference to FIGS. 1-2 and 7.
在本实施例中,如图2所示,所述方位角检测模块41包括方位角检测组件411以及第一计算单元412。所述方位角检测组件411用于在书写过程中检测所述手写笔20及所述手写板30的方位角数据,其中,所述手写板30的方位角数据为反映所述手写板30的预设方向的方位数据。In this embodiment, as shown in FIG. 2, the azimuth detection module 41 includes an azimuth detection component 411 and a first calculation unit 412. The azimuth detection component 411 is configured to detect the azimuth data of the stylus 20 and the tablet 30 during the writing process, wherein the azimuth data of the stylus 30 reflects the prediction of the handwriting 30 Set the azimuth data of the direction.
在本实施例中,所述第一计算单元412用于获取所述方位角检测组件411检测到的所述手写笔20及所述手写板30的方位角数据,并根据所述手写笔20及所述手写板30的方位角数据分别计算所述手写笔20以及所述手写板30的预设方向的方位角度,以及根据计算出的所述方位角度来计算所述手写笔20的方位角度与所述手写板30的预设方向的方位角度之间的差值,并将所述差值的绝对 值确定为所述手写笔20相对于所述手写板30的预设方向的方位夹角。也就是说,所述方位夹角是指所述手写笔20与所述手写板30之间在方位维度的夹角。In this embodiment, the first calculation unit 412 is configured to obtain azimuth data of the stylus 20 and the stylus 30 detected by the azimuth detection component 411, and according to the stylus 20 and The azimuth data of the stylus 30 calculates the azimuth of the stylus 20 and the preset directions of the stylus 30 respectively, and calculates the azimuth of the stylus 20 and the azimuth of the stylus 20 according to the calculated azimuth. The difference between the azimuth angles of the preset directions of the tablet 30, and the absolute value of the difference is determined as the azimuth included angle of the stylus 20 relative to the preset directions of the tablet 30. That is, the azimuth included angle refers to the included angle between the stylus 20 and the tablet 30 in the azimuth dimension.
具体地,在本实施例中,如图1所示,所述方位角检测组件411包括第一方位角检测元件4111和第二方位角检测元件4112,其中,所述第一方位角检测元件4111设于所述手写笔20上,用于在书写过程中检测所述手写笔20的方位角数据。所述第二方位角检测元件4112设于所述手写板30上,用于在书写过程中检测所述手写板30的方位角数据。Specifically, in this embodiment, as shown in FIG. 1, the azimuth detection component 411 includes a first azimuth detection element 4111 and a second azimuth detection element 4112, wherein the first azimuth detection element 4111 The stylus 20 is provided on the stylus 20 and is used to detect azimuth data of the stylus 20 during writing. The second azimuth detection element 4112 is disposed on the tablet 30 and is used to detect the azimuth data of the tablet 30 during writing.
其中,所述手写板30的预设方向可设为所述手写板30的长度方向或宽度方向,或者可设为所述手写板30的书写方向,例如横向或竖向。也就是说,所述手写板30的预设方向可以不是唯一的,并可以根据用户的实际书写需求来切换的。相应地,所述手写板30的方位角数据指示的方位可与所述手写板30的预设方向所在的方位一致,或者相差90度。例如,当所述手写板30的书写方向为横向时,所述手写板30的方位角数据指示的方位可与所述手写板30的横向所在的方位一致;当所述手写板30的书写方向被切换为竖向时,所述手写板30的方位角数据指示的方位与所述手写板30的竖向所在的方位相差90度。Wherein, the preset direction of the tablet 30 may be set as a length direction or a width direction of the tablet 30, or may be set as a writing direction of the tablet 30, for example, horizontal or vertical. That is, the preset direction of the tablet 30 may not be unique, and may be switched according to the actual writing needs of the user. Correspondingly, the azimuth indicated by the azimuth data of the tablet 30 may be the same as the orientation in which the preset direction of the tablet 30 is located, or may differ by 90 degrees. For example, when the writing direction of the tablet 30 is horizontal, the direction indicated by the azimuth data of the tablet 30 may be the same as the direction of the horizontal direction of the tablet 30; when the writing direction of the tablet 30 is When switched to the vertical orientation, the orientation indicated by the azimuth data of the tablet 30 is 90 degrees different from the orientation in which the tablet 30 is vertically oriented.
在一种实施例中,所述第一计算单元412可为独立的电子器件,并可设于所述手写板30中。可选地,在另一种实施例中,如图1及6所示,所述手写输入控制装置40还可包括设于所述手写板30中的控制器44,所述第一计算单元412也可以是所述控制器44的一部分。可以理解的是,所述手写笔20以及手写板30上还分别设有无线通信模块(图未示),所述第一方位角检测元件4111检测到的数据可以通过所述手写笔20上的无线通信模块发送给所述手写板30上的无线通信模块,再由所述手写板30上的无线通信模块传送给所述第一计算单元412或所述控制器44。所述第二方位角检测元件4112可与所述第一计算单元412或所述控制器44电连接,并将检测到的数据直接传送给所述第一计算单元412或所述控制器44。由于该部分不是本申请的发明重点,在此不进行详细介绍。In one embodiment, the first computing unit 412 may be an independent electronic device, and may be disposed in the handwriting tablet 30. Optionally, in another embodiment, as shown in FIGS. 1 and 6, the handwriting input control device 40 may further include a controller 44 provided in the tablet 30, and the first calculation unit 412 It may be a part of the controller 44. It can be understood that the stylus 20 and the tablet 30 are respectively provided with a wireless communication module (not shown), and the data detected by the first azimuth detection element 4111 can be transmitted through the stylus 20 The wireless communication module sends the wireless communication module on the tablet 30, and the wireless communication module on the tablet 30 transmits the wireless communication module to the first computing unit 412 or the controller 44. The second azimuth detection element 4112 may be electrically connected to the first calculation unit 412 or the controller 44 and directly transmit the detected data to the first calculation unit 412 or the controller 44. Since this part is not the focus of the invention of this application, it will not be described in detail here.
如图7所示,为所述手写笔20以及所述手写板30的预设方向分别在水平面上的投影示意图,其中,A方向指示的是所述手写笔20在水平面上的投影,其与X轴的夹角β1代表的是所述手写笔20的方位角度,B方向指示的是所述手写板30的预设方向在水平面上的投影,其与X轴的夹角β2代表的是所述手写板30的预设方向的方位角度。As shown in FIG. 7, it is a schematic diagram of projections of the stylus pen 20 and the preset directions of the stylus tablet 30 on the horizontal plane, respectively, where the direction A indicates the projection of the stylus pen 20 on the horizontal plane, and The angle β1 of the X axis represents the azimuth angle of the stylus pen 20, and the direction B indicates the projection of the preset direction of the tablet 30 on the horizontal plane, and the angle β2 of the X axis represents the The azimuth angle of the preset direction of the tablet 30 will be described.
可以理解的是,当所述第一计算单元412计算出的所述手写笔20的方位角度以及所述手写板30的预设方向的方位角度不相同时,即所述方位夹角的值不为零时,可判断所述手写笔20朝向的方位不同于所述手写板30的预设方向的方位。It can be understood that when the azimuth angle of the stylus pen 20 calculated by the first calculation unit 412 and the azimuth angle of the preset direction of the tablet 30 are different, the value of the azimuth included angle is different. When it is zero, it can be determined that the orientation of the stylus 20 is different from the orientation of the preset direction of the tablet 30.
例如图7所示,若β1≠β2,则可判断所述手写笔20在书写过程中朝向的方位不同于所述手写板30的预设方向的方位;反之,则可判断所述手写笔20在书写过程中朝向的方位与所述手写板30的预设方向的方位相同。For example, as shown in FIG. 7, if β1 ≠ β2, it can be judged that the orientation of the stylus 20 during writing is different from the orientation of the preset direction of the stylus 30; otherwise, the stylus 20 can be judged The orientation during the writing process is the same as the orientation in the preset direction of the tablet 30.
在本实施例中,所述第一方位角检测元件4111和所述第二方位角检测元件4112可采用地磁传感器,所述第一方位角检测元件4111以及第二方位角检测元件4112检测到的方位角数据指示的是地理方向的定位。In this embodiment, the first azimuth angle detecting element 4111 and the second azimuth angle detecting element 4112 may be geomagnetic sensors, and the first azimuth angle detecting element 4111 and the second azimuth angle detecting element 4112 detect The azimuth data indicates a geographic orientation.
以下将结合图1-2以及8-10来对本申请的手写笔20相对于手写板30的倾斜夹角的检测方案进行详细说明。The detection scheme of the inclination angle of the stylus pen 20 relative to the tablet 30 according to the present application will be described in detail with reference to FIGS. 1-2 and 8-10.
在本实施例中,如图2所示,所述倾斜角检测模块42包括倾斜角检测组件421以及第二计算单元422。其中,所述倾斜角检测组件421用于在书写过程中检测所述手写笔20及所述手写板30的倾斜角数据。In this embodiment, as shown in FIG. 2, the tilt angle detection module 42 includes a tilt angle detection component 421 and a second calculation unit 422. The tilt angle detection component 421 is configured to detect tilt angle data of the stylus pen 20 and the tablet 30 during a writing process.
在本实施例中,所述第二计算单元422用于获取所述倾斜角检测组件421检测到的所述手写笔20及所述手写板30的倾斜角数据,并根据所述手写笔20及所述手写板30的倾斜角数据分别计算所述手写笔20与所述手写板30的倾斜角度,以及根据计算出的所述倾斜角度来计算所述手写笔20的倾斜角度与所述手写板30的倾斜角度之间的差值,并将所述差值的绝对值确定为所述手写笔20相对于所述手写板30的倾斜夹角。也就是说,所述倾斜夹角是指所述手写笔20与所述手写板30之间在高度维度的实际夹角。In this embodiment, the second calculation unit 422 is configured to obtain tilt angle data of the stylus pen 20 and the tablet 30 detected by the tilt angle detection component 421, and according to the stylus pen 20 and The tilt angle data of the tablet 30 calculates the tilt angles of the stylus 20 and the tablet 30, and calculates the tilt angle of the stylus 20 and the tablet according to the calculated tilt angles. The difference between the inclination angles of 30 and the absolute value of the difference is determined as the included angle of the inclination of the stylus 20 with respect to the tablet 30. That is, the inclined included angle refers to the actual included angle between the stylus 20 and the tablet 30 in the height dimension.
具体地,在本实施例中,如图1所示,所述倾斜角检测组件421包括第一倾斜角检测元件4211和第二倾斜角检测元件4212,所述第一倾斜角检测元件4211设于所述手写笔20上,用于在书写过程中检测所述手写笔20的倾斜角数据。所述第二倾斜角检测元件4212设于所述手写板30上,用于在书写过程中检测所述手写板30的倾斜角数据。Specifically, in this embodiment, as shown in FIG. 1, the tilt angle detection component 421 includes a first tilt angle detection element 4211 and a second tilt angle detection element 4212, and the first tilt angle detection element 4211 is provided in The stylus 20 is used to detect the tilt angle data of the stylus 20 during writing. The second inclination angle detecting element 4212 is disposed on the tablet 30 and is used to detect the inclination angle data of the tablet 30 during a writing process.
在一种实施例中,所述第二计算单元422可为独立的电子器件,并可设于所述手写板30中。在另一种实施例中,如图6所示,所述第二计算单元422也可以是所述控制器44的一部分。可以理解的是,所述第一倾斜角检测元件4211检测到的数据可以通过所述手写笔20上的无线通信模块发送给所述手写板30上的无线通信模块,再由所述手写板30上的无线通信模块传送给所述第二计算单元422或所述控制器44。所述第二倾斜角检测元件4212可与所述第二计算单元422或所述控制器44电连接,并将检测到的数据直接传送给所述第二计算单元422或所述控制器44。由于该部分不是本申请的发明重点,在此不进行详细介绍。In one embodiment, the second computing unit 422 may be an independent electronic device and may be disposed in the handwriting tablet 30. In another embodiment, as shown in FIG. 6, the second calculation unit 422 may also be a part of the controller 44. It can be understood that the data detected by the first tilt angle detection element 4211 can be sent to the wireless communication module on the tablet 30 through the wireless communication module on the stylus 20, and then the tablet 30 The wireless communication module is transmitted to the second computing unit 422 or the controller 44. The second tilt angle detection element 4212 may be electrically connected to the second calculation unit 422 or the controller 44, and directly transmit the detected data to the second calculation unit 422 or the controller 44. Since this part is not the focus of the invention of this application, it will not be described in detail here.
在本实施例中,如图8所示,所述第一倾斜角检测元件4211和所述第二倾斜角检测元件4212均包括压力传感器4231以及设于所述压力传感器4231的受力表面上的金属球4232,所述倾斜角数据为相应的压力传感器4231感测到的压 力数据。In this embodiment, as shown in FIG. 8, the first inclination angle detection element 4211 and the second inclination angle detection element 4212 each include a pressure sensor 4231 and a pressure sensor provided on a force-receiving surface of the pressure sensor 4231. The metal ball 4232, the tilt angle data is pressure data sensed by a corresponding pressure sensor 4231.
所述第二计算单元422根据所述第一倾斜角检测元件4211的压力传感器4231感测到的压力数据以及第一预设压力值确定所述手写笔20的倾斜角度,其中,所述第一预设压力值为所述第一倾斜角检测元件4211的压力传感器4231在所述手写笔20处于竖直状态下时感测到的相应金属球4232的重力。The second calculation unit 422 determines the tilt angle of the stylus 20 according to the pressure data sensed by the pressure sensor 4231 of the first tilt angle detection element 4211 and a first preset pressure value, wherein the first The preset pressure value is the gravity of the corresponding metal ball 4232 sensed by the pressure sensor 4231 of the first tilt angle detection element 4211 when the stylus 20 is in a vertical state.
所述第二计算单元422还根据所述第二倾斜角检测元件4212的压力传感器4231感测到的压力数据以及第二预设压力值确定所述手写板30的倾斜角度,其中,所述第二预设压力值为所述第二倾斜角检测元件4212的压力传感器4231在所述手写板30处于竖直状态下时感测到的相应金属球4232的重力。The second calculation unit 422 also determines the tilt angle of the tablet 30 according to the pressure data sensed by the pressure sensor 4231 of the second tilt angle detection element 4212 and a second preset pressure value, wherein the first The two preset pressure values are the gravity of the corresponding metal ball 4232 sensed by the pressure sensor 4231 of the second tilt angle detection element 4212 when the tablet 30 is in a vertical state.
以设于所述手写笔20上的所述第一倾斜角检测元件4211为例,假设所述金属球4232的重力为m*g,如图9所示,在所述手写笔20处于竖直状态下时,所述压力传感器4231感测到的压力F1等于所述金属球4232的重力m*g,即F1=m*g。如图10所示,在所述手写笔20处于倾斜状态,且与水平面50的夹角为θ时,所述压力传感器4231感测到的压力F2为:F2=m*g*sinθ。如此,所述手写笔20的倾斜角度θ可计算为:θ=arcsin(F2/F1)。由于所述手写板30的倾斜角度的检测方案与所述手写笔20的检测方案相似,在此不重复赘述。Taking the first tilt angle detecting element 4211 provided on the stylus pen 20 as an example, it is assumed that the gravity of the metal ball 4232 is m * g, as shown in FIG. 9, when the stylus pen 20 is in a vertical position In the state, the pressure F1 sensed by the pressure sensor 4231 is equal to the gravity m * g of the metal ball 4232, that is, F1 = m * g. As shown in FIG. 10, when the stylus pen 20 is in an inclined state and the included angle with the horizontal plane 50 is θ, the pressure F2 sensed by the pressure sensor 4231 is: F2 = m * g * sinθ. In this way, the tilt angle θ of the stylus pen 20 can be calculated as: θ = arcsin (F2 / F1). Since the detection scheme of the inclination angle of the handwriting pad 30 is similar to the detection scheme of the stylus pen 20, details are not repeated here.
以下结合图11-12对本申请根据上述的方位夹角和/或倾斜夹角对手写笔20的书写笔迹的调整方案进行详细说明。The following describes in detail the adjustment scheme of the writing handwriting of the stylus 20 according to the above-mentioned azimuth included angle and / or inclined included angle with reference to FIGS. 11-12.
在一种实施例中,所述调整模块43用于根据方位夹角与笔迹宽度的第一预设对应关系,确定计算出的所述方位夹角对应的笔迹宽度,并以确定的笔迹宽度显示所述手写笔20的书写笔迹,从而可通过书写姿态来实现对书写笔迹的粗细的调整。In one embodiment, the adjusting module 43 is configured to determine the calculated handwriting width corresponding to the calculated azimuth included angle according to a first preset correspondence between the azimuth included angle and the handwriting width, and display the determined handwriting width. The writing handwriting of the stylus pen 20 can adjust the thickness of the writing handwriting through the writing gesture.
其中,所述调整模块43还用于在计算出的所述方位夹角的值为零,即所述手写笔20朝向的方位与所述手写板30的预设方向的方位相同时,以预设的标准宽度显示所述手写笔20的书写笔迹;以及在计算出的所述方位夹角的值不为零,即当所述手写笔20朝向的方位不同于所述手写板30的预设方向的方位时,以其他的预设宽度显示所述手写笔20的书写笔迹。Wherein, the adjustment module 43 is further configured to pre-calculate when the calculated azimuth included angle is zero, that is, when the orientation of the stylus 20 is the same as the orientation of the preset direction of the tablet 30. The standard width is set to display the writing handwriting of the stylus 20; and the calculated value of the orientation angle is not zero, that is, when the orientation of the stylus 20 is different from the preset of the stylus 30 When the direction is azimuth, the writing handwriting of the stylus 20 is displayed with other preset widths.
例如图11所示,假设书写笔迹T1为所述手写笔20朝向的方位与所述手写板30的预设方向的方位相同时,所述手写笔20在所述手写板30中输入的笔迹;书写笔迹T2为所述手写笔20朝向的方位不同于所述手写板30的预设方向的方位,且所述手写笔20相对于所述手写板30的方位夹角为β1时,所述手写笔20在所述手写板30中输入的笔迹;书写笔迹T3为所述手写笔20朝向的方位不同于所述手写板30的预设方向的方位,且所述手写笔20相对于所述手写板30的方位夹角为β2时,所述手写笔20在所述手写板30中输入的笔迹,其中,0<β1<β2 ≤90°。For example, as shown in FIG. 11, assuming that the writing handwriting T1 is the same orientation as the orientation of the stylus 20 and the preset orientation of the tablet 30, the handwriting input by the stylus 20 in the tablet 30; The writing handwriting T2 is an orientation in which the orientation of the stylus 20 is different from a preset direction of the tablet 30, and when the included angle of the orientation of the stylus 20 with respect to the tablet 30 is β1, the handwriting The handwriting input by the pen 20 in the handwriting pad 30; the writing handwriting T3 is an orientation in which the stylus pen 20 is oriented different from a preset direction of the handwriting pad 30, and the stylus pen 20 is relative to the handwriting When the azimuth included angle of the plate 30 is β2, the handwriting input by the stylus pen 20 in the handwriting plate 30, where 0 <β1 <β2 ≦ 90 °.
也就是说,所述预设的标准宽度小于其他的预设宽度,在所述手写笔20朝向的方位与所述手写板30的预设方向的方位相同时,所述书写笔迹的笔迹宽度最窄,而在所述手写笔20朝向的方位不同于所述手写板30的预设方向的方位时,所述书写笔迹的笔迹宽度和所述方位夹角成正比的关系,即所述方位夹角越大,所述书写笔迹的笔迹宽度越宽。That is, the preset standard width is smaller than other preset widths. When the orientation of the stylus 20 is the same as the orientation of the preset direction of the tablet 30, the handwriting width of the writing handwriting is the largest. Narrow, and when the orientation of the stylus 20 is different from the orientation of the preset direction of the tablet 30, the relationship between the width of the handwriting of the writing handwriting and the orientation angle is proportional, that is, the orientation clip The larger the angle, the wider the handwriting width of the writing handwriting.
可选地,在一些实施例中,所述调整模块43还用于在所述手写笔20的方位角度大于所述手写板30的预设方向的方位角度,即所述手写笔20的方位角度与所述手写板30的预设方向的方位角度之间的差值大于零时,沿第一方向逐渐淡化所述书写笔迹的颜色,以及在所述手写笔20的方位角度小于所述手写板30的预设方向的方位角度,即所述手写笔20的方位角度与所述手写板30的预设方向的方位角度之间的差值小于零时,沿第二方向逐渐淡化所述书写笔迹的颜色。其中,所述第一方向与第二方向为相反的两个方向。如此,可体现真实书写时笔迹与手写笔的握持方向及书写用力之间的关系,从而可提供用户使用体验。Optionally, in some embodiments, the adjustment module 43 is further configured to adjust the azimuth angle of the stylus 20 to be greater than the azimuth angle of the preset direction of the stylus 30, that is, the azimuth of the stylus 20 When the difference between the azimuth and the azimuth angle of the preset direction of the tablet 30 is greater than zero, the color of the writing handwriting is gradually faded along the first direction, and the azimuth of the pen 20 is smaller than the azimuth of the tablet When the difference between the azimuth angle of the preset direction of 30, that is, the azimuth angle of the stylus pen 20 and the azimuth angle of the preset direction of the tablet 30 is less than zero, the writing handwriting is gradually faded in the second direction. s color. The first direction and the second direction are two opposite directions. In this way, the relationship between the handwriting and the holding direction of the stylus and the writing force during real writing can be reflected, thereby providing a user experience.
例如图12所示,假设书写笔迹T4为所述手写笔20的方位角度大于所述手写板30的预设方向的方位角度时,所述手写笔20在所述手写板30中输入的笔迹,所述书写笔迹T4的颜色沿第一方向D1逐渐淡化。此时,手写笔20相对手写板30的握持方向为第一方向D1。书写笔迹T5为所述手写笔20的方位角度小于所述手写板30的预设方向的方位角度时,所述手写笔20在所述手写板30中输入的笔迹,所述书写笔迹T5的颜色沿第二方向D2逐渐淡化。此时,手写笔20相对手写板30的握持方向为第二方向D2。For example, as shown in FIG. 12, assuming that the writing handwriting T4 is an azimuth angle of the stylus 20 greater than a preset direction of the stylus 30, the handwriting input by the stylus 20 in the stylus 30, The color of the writing handwriting T4 gradually fades along the first direction D1. At this time, the holding direction of the stylus pen 20 with respect to the tablet 30 is the first direction D1. When the writing handwriting T5 is the azimuth angle of the stylus pen 20 smaller than the azimuth angle of the preset direction of the handwriting tablet 30, the handwriting input by the stylus pen 20 in the handwriting tablet 30, the color of the writing handwriting T5 Fading gradually in the second direction D2. At this time, the holding direction of the stylus pen 20 with respect to the tablet 30 is the second direction D2.
可选地,在另一种实施例中,所述调整模块43用于根据倾斜夹角与笔迹宽度的第二预设对应关系,确定计算出的所述倾斜夹角对应的笔迹宽度,并以确定的笔迹宽度显示所述手写笔20的书写笔迹,从而可通过书写姿态来实现对书写笔迹的粗细的调整。Optionally, in another embodiment, the adjustment module 43 is configured to determine the handwriting width corresponding to the calculated inclined angle according to a second preset correspondence between the inclined angle and the handwriting width, and The determined handwriting width displays the writing handwriting of the stylus 20, so that the thickness of the writing handwriting can be adjusted by the writing gesture.
其中,所述调整模块43还可用于在计算出的所述倾斜夹角的值为90度,即所述手写笔20垂直于所述手写板30时,以预设的标准宽度显示所述手写笔20的书写笔迹;以及在计算出的所述倾斜夹角的值不为90度,即当所述手写笔20相对于所述手写板30发生倾斜时,以其他的预设宽度显示所述手写笔20的书写笔迹。The adjustment module 43 may be further configured to display the handwriting with a preset standard width when the calculated value of the tilt angle is 90 degrees, that is, when the stylus 20 is perpendicular to the tablet 30. The writing handwriting of the pen 20; and the calculated value of the tilt angle is not 90 degrees, that is, when the stylus pen 20 is tilted relative to the tablet 30, the preset width is displayed in another Writing handwriting of the stylus 20.
例如,同样以图11为例,假设书写笔迹T1为所述手写笔20垂直于所述手写板30时,所述手写笔20在所述手写板30中输入的笔迹;书写笔迹T2为所述手写笔20相对于所述手写板30的倾斜夹角为θ1时,所述手写笔20在所述手写板30中输入的笔迹;书写笔迹T3为所述手写笔20相对于所述手写板30的 倾斜夹角为θ2时,所述手写笔20在所述手写板30中输入的笔迹,其中,90°>θ1>θ2>0。For example, also taking FIG. 11 as an example, assuming that the writing handwriting T1 is the handwriting input by the stylus pen 20 in the writing pad 30 when the stylus pen 20 is perpendicular to the writing pad 30; the writing handwriting T2 is the When the inclination angle of the stylus pen 20 relative to the tablet 30 is θ1, the handwriting input by the stylus pen 20 in the tablet 30; the writing handwriting T3 is the stylus 20 relative to the tablet 30 When the angle of inclination is θ2, the handwriting input by the stylus pen 20 in the tablet 30 is 90 °> θ1> θ2> 0.
也就是说,所述预设的标准宽度小于其他预设宽度,在所述手写笔20垂直于所述手写板30时,所述书写笔迹的笔迹宽度最窄,而在所述手写笔20相对于所述手写板30发生倾斜时,所述书写笔迹的笔迹宽度和所述倾斜夹角成反比的关系,即所述倾斜夹角越小,所述书写笔迹的笔迹宽度越宽。That is, the preset standard width is smaller than other preset widths. When the stylus 20 is perpendicular to the tablet 30, the handwriting width of the writing handwriting is the narrowest, while the stylus 20 is relatively When the handwriting board 30 is tilted, the handwriting width of the writing handwriting is inversely proportional to the tilting included angle, that is, the smaller the tilted included angle, the wider the handwriting width of the writing handwriting.
可选地,在再一种实施例中,所述调整模块43还可用于根据方位夹角、倾斜夹角及笔迹宽度的第三预设对应关系,确定计算出的所述方位夹角及倾斜夹角对应的笔迹宽度,并以确定的笔迹宽度显示所述手写笔的书写笔迹,从而可通过书写姿态来实现对书写笔迹的粗细的调整。也就是说,笔迹宽度与所述方位夹角及倾斜夹角均相关。Optionally, in still another embodiment, the adjustment module 43 may be further configured to determine the calculated azimuth included angle and tilt according to a third preset correspondence between the azimuth included angle, the tilt included angle, and the handwriting width. The width of the handwriting corresponding to the included angle, and the determined handwriting width displays the writing handwriting of the stylus, so that the thickness of the writing handwriting can be adjusted by the writing gesture. That is, the width of the handwriting is related to both the azimuth included angle and the inclined included angle.
可选地,在又一些实施例中,所述调整模块43可具体用于在所述方位夹角的值为零时,即所述手写笔20朝向的方位与所述手写板30的预设方向的方位相同时,以预设的标准宽度显示所述手写笔20的书写笔迹;以及在所述方位夹角的值不为零时,即所述手写笔20朝向的方位不同于所述手写板30的预设方向的方位时,根据倾斜夹角与笔迹宽度的第四预设对应关系,确定计算出的所述倾斜夹角对应的笔迹宽度,并以确定的笔迹宽度显示所述手写笔的书写笔迹。Optionally, in still other embodiments, the adjustment module 43 may be specifically configured to be used when the value of the azimuth included angle is zero, that is, the orientation in which the stylus 20 faces and the preset of the handwriting pad 30 When the directions and orientations are the same, the handwriting of the stylus 20 is displayed with a preset standard width; and when the value of the orientation angle is not zero, that is, the orientation of the stylus 20 is different from the handwriting When the orientation of the board 30 is in a preset direction, the handwriting width corresponding to the calculated oblique included angle is determined according to the fourth preset correspondence between the oblique included angle and the handwriting width, and the determined handwriting width displays the stylus Writing handwriting.
也就是说,在所述手写笔20朝向的方位与所述手写板30的预设方向的方位相同时,笔迹宽度与所述倾斜夹角无关,且均为预设的标准宽度;而在所述手写笔20朝向的方位不同于所述手写板30的预设方向的方位时,笔迹宽度与所述倾斜夹角成比例关系。其中,所述第四预设对应关系可与所述第二预设对应关系相同。可以理解的是,所述第四预设对应关系也可不同于所述第二预设对应关系。That is, when the orientation of the stylus 20 is the same as the orientation of the preset direction of the tablet 30, the width of the handwriting is independent of the tilt angle and is a preset standard width; When the orientation of the stylus 20 is different from the orientation of the preset direction of the tablet 30, the width of the handwriting is proportional to the inclined included angle. The fourth preset correspondence may be the same as the second preset correspondence. It can be understood that the fourth preset correspondence may be different from the second preset correspondence.
可以理解的是,所述书写笔迹的笔迹宽度的变化并不限于上述的举例,本领域的技术人员还可以在该举例的基础上做一些变形。It can be understood that the change in the handwriting width of the writing handwriting is not limited to the above example, and those skilled in the art can also make some deformations based on this example.
在一种实施例中,所述调整模块43可为独立的电子器件,并与所述第一计算单元412以及第二计算单元422分别连接,以获取所述第一计算单元412确定的所述方位夹角以及第二计算单元422确定的所述倾斜夹角,从而根据所述方位夹角和/或所述倾斜夹角对所述手写笔的书写笔迹进行调整。可选地,在另一种实施例中,如图6所示,所述调整模块43也可以是所述控制器44的一部分。In one embodiment, the adjustment module 43 may be an independent electronic device and connected to the first calculation unit 412 and the second calculation unit 422, respectively, so as to obtain the determination determined by the first calculation unit 412. The azimuth included angle and the tilt included angle determined by the second calculation unit 422 are used to adjust the writing handwriting of the stylus according to the azimuth included angle and / or the tilt included angle. Optionally, in another embodiment, as shown in FIG. 6, the adjustment module 43 may also be a part of the controller 44.
请再次参阅图1,在本实施例中,所述手写输入控制装置40还可包括存储模块45,所述存储模块45可用于预先存储上述的夹角与笔迹宽度的第一、二、三、四预设对应关系,第一预设压力值、第二预设压力值等。其中,所述存储模块45可设置于所述手写板30上,所述存储模块45可以包括高速随机存取存储器,还可以包括非易失性存储器,例如智能存储卡(Smart Media Card,SMC)、 闪存卡(Flash Card)等。Please refer to FIG. 1 again. In this embodiment, the handwriting input control device 40 may further include a storage module 45. The storage module 45 may be used to store the first, second, third, Four preset correspondences, a first preset pressure value, a second preset pressure value, and the like. The storage module 45 may be disposed on the tablet 30. The storage module 45 may include a high-speed random access memory, and may also include a non-volatile memory, such as a Smart Memory Card (SMC). , Flash Cards, etc.
本申请实施例提供的手写输入控制装置40,采用简单的结构及算法来实现书写姿态的检测,并根据检测到的书写姿态来实现手写笔20在手写板30上进行书写时的笔迹还原,即调整书写笔迹,使手写笔20的书写效果更加接近于真实的书写笔的书写效果,从而能够给用户带来更真实的使用体验。The handwriting input control device 40 provided in the embodiment of the present application uses a simple structure and algorithm to detect a writing gesture, and implements handwriting restoration of the stylus 20 when writing on the tablet 30 according to the detected writing gesture, that is, The writing handwriting is adjusted so that the writing effect of the stylus pen 20 is closer to that of a real writing pen, so as to bring a more realistic use experience to the user.
图13为本申请实施例提供的一种手写输入控制方法的流程示意图。所述手写输入控制方法可采用上述的手写输入控制装置40来实现对手写笔20的书写笔迹进行调整,使手写笔20的书写效果更加接近于真实的书写笔的书写效果。如图13所示,所述手写输入控制方法包括以下步骤。FIG. 13 is a schematic flowchart of a handwriting input control method according to an embodiment of the present application. In the handwriting input control method, the handwriting input control device 40 described above can be used to adjust the writing handwriting of the stylus pen 20 so that the writing effect of the stylus pen 20 is closer to that of a real writing pen. As shown in FIG. 13, the handwriting input control method includes the following steps.
步骤1301,在书写过程中检测所述手写笔20相对于所述手写板30的方位夹角,以及检测所述手写笔20相对于所述手写板30的倾斜夹角。Step 1301: Detect an azimuth included angle of the stylus pen 20 with respect to the tablet 30 during a writing process, and detect a tilt included angle of the stylus pen 20 with respect to the tablet 30.
其中,图14为本申请实施例提供的一种手写输入控制方法的子流程示意图,用于在书写过程中检测所述手写笔20相对于所述手写板30的方位夹角。如图14所示,所述手写输入控制方法包括以下步骤。FIG. 14 is a schematic diagram of a sub-flow of a handwriting input control method according to an embodiment of the present application, which is used to detect an azimuth angle of the stylus 20 with respect to the tablet 30 during a writing process. As shown in FIG. 14, the handwriting input control method includes the following steps.
步骤1401,在书写过程中检测所述手写笔20及所述手写板30的方位角数据,其中,所述手写板30的方位角数据为反映所述手写板30的预设方向的方位数据。Step 1401: Detect the azimuth data of the stylus 20 and the tablet 30 during the writing process, wherein the azimuth data of the stylus 30 is azimuth data that reflects a preset direction of the tablet 30.
其中,所述手写板30的预设方向可设为所述手写板30的长度方向或宽度方向,或者可设为所述手写板30的书写方向,例如横向或竖向。也就是说,所述手写板30的预设方向可以不是唯一的,并可以根据用户的实际书写需求来切换的。相应地,所述手写板30的方位角数据指示的方位可与所述手写板30的预设方向所在的方位一致,或者相差90度。例如,当所述手写板30的书写方向为横向时,所述手写板30的方位角数据指示的方位可与所述手写板30的横向所在的方位一致;当所述手写板30的书写方向被切换为竖向时,所述手写板30的方位角数据指示的方位与所述手写板30的竖向所在的方位相差90度。Wherein, the preset direction of the tablet 30 may be set as a length direction or a width direction of the tablet 30, or may be set as a writing direction of the tablet 30, for example, horizontal or vertical. That is, the preset direction of the tablet 30 may not be unique, and may be switched according to the actual writing needs of the user. Correspondingly, the azimuth indicated by the azimuth data of the tablet 30 may be the same as the orientation in which the preset direction of the tablet 30 is located, or may differ by 90 degrees. For example, when the writing direction of the tablet 30 is horizontal, the direction indicated by the azimuth data of the tablet 30 may be the same as the direction of the horizontal direction of the tablet 30; when the writing direction of the tablet 30 is When switched to the vertical orientation, the orientation indicated by the azimuth data of the tablet 30 is 90 degrees different from the orientation in which the tablet 30 is vertically oriented.
步骤1402,根据所述手写笔20及所述手写板30的方位角数据分别计算所述手写笔20以及所述手写板30的预设方向的方位角度。Step 1402: Calculate the azimuth angles in the preset directions of the stylus pen 20 and the handwriting pad 30 respectively according to the azimuth angle data of the stylus pen 20 and the handwriting pad 30.
如图7所示,为所述手写笔20以及所述手写板30的预设方向分别在水平面上的投影示意图,其中,A方向指示的是所述手写笔20在水平面上的投影,其与X轴的夹角β1代表的是所述手写笔20的方位角度,B方向指示的是所述手写板30的预设方向在水平面上的投影,其与X轴的夹角β2代表的是所述手写板30的预设方向的方位角度。As shown in FIG. 7, it is a schematic diagram of projections of the stylus pen 20 and the preset directions of the stylus tablet 30 on the horizontal plane, respectively, where the direction A indicates the projection of the stylus pen 20 on the horizontal plane, and The angle β1 of the X axis represents the azimuth angle of the stylus pen 20, and the direction B indicates the projection of the preset direction of the tablet 30 on the horizontal plane, and the angle β2 of the X axis represents the The azimuth angle of the preset direction of the tablet 30 will be described.
步骤1403,根据计算出的所述方位角度来计算所述手写笔20的方位角度与所述手写板30的预设方向的方位角度之间的差值,并将所述差值的绝对值确定 为所述手写笔20相对于所述手写板30的预设方向的方位夹角。Step 1403: Calculate a difference between the azimuth angle of the stylus 20 and the azimuth angle of the preset direction of the tablet 30 according to the calculated azimuth angle, and determine an absolute value of the difference value The included angle of the stylus pen 20 relative to the preset direction of the stylus board 30.
可以理解的是,当计算出的所述手写笔20的方位角度以及所述手写板30的预设方向的方位角度不相同时,即所述方位夹角的值不为零时,可判断所述手写笔20朝向的方位不同于所述手写板30的预设方向的方位。It can be understood that when the calculated azimuth angle of the stylus pen 20 and the azimuth angle of the preset direction of the tablet 30 are different, that is, when the value of the azimuth included angle is not zero, it can be judged that The orientation of the stylus 20 is different from the orientation of the preset direction of the tablet 30.
例如图7所示,若β1≠β2,则可判断所述手写笔20在书写过程中朝向的方位不同于所述手写板30的预设方向的方位;反之,则可判断所述手写笔20在书写过程中朝向的方位与所述手写板30的预设方向的方位相同。For example, as shown in FIG. 7, if β1 ≠ β2, it can be judged that the orientation of the stylus 20 during writing is different from the orientation of the preset direction of the stylus 30; otherwise, the stylus 20 can be judged The orientation during the writing process is the same as the orientation in the preset direction of the tablet 30.
其中,图15为本申请实施例提供的一种手写输入控制方法的子流程示意图,用于在书写过程中检测所述手写笔20相对于所述手写板30的倾斜夹角。如图15所示,所述手写输入控制方法包括以下步骤。FIG. 15 is a schematic diagram of a sub-flow of a handwriting input control method according to an embodiment of the present application, which is used to detect an inclination angle of the stylus pen 20 with respect to the handwriting board 30 during a writing process. As shown in FIG. 15, the handwriting input control method includes the following steps.
步骤1501,在书写过程中检测所述手写笔20及所述手写板30的倾斜角数据。Step 1501: Detecting tilt angle data of the stylus 20 and the stylus 30 during writing.
步骤1502,根据所述手写笔20及所述手写板30的倾斜角数据分别计算所述手写笔20与所述手写板30的倾斜角度。Step 1502: Calculate the tilt angles of the stylus pen 20 and the tablet 30 according to the tilt angle data of the stylus pen 20 and the tablet 30.
步骤1503,根据计算出的所述倾斜角度来计算所述手写笔20的倾斜角度与所述手写板30的倾斜角度之间的差值,并将所述差值的绝对值确定为所述手写笔20相对于所述手写板30的倾斜夹角。Step 1503: Calculate a difference between the tilt angle of the stylus pen 20 and the tilt angle of the tablet 30 according to the calculated tilt angle, and determine the absolute value of the difference as the handwriting. The included angle of the pen 20 relative to the tablet 30.
请再次参阅图13,步骤1302,根据所述方位夹角及所述倾斜夹角的其中至少之一,对所述手写笔的书写笔迹进行调整。Referring to FIG. 13 again, in step 1302, the writing handwriting of the stylus pen is adjusted according to at least one of the azimuth included angle and the inclined included angle.
在一种实施例中,所述步骤1302可具体包括:In one embodiment, the step 1302 may specifically include:
根据方位夹角与笔迹宽度的第一预设对应关系,确定计算出的所述方位夹角对应的笔迹宽度,并以确定的笔迹宽度显示所述手写笔20的书写笔迹,从而可通过书写姿态来实现对书写笔迹的粗细的调整。According to the first preset correspondence between the azimuth included angle and the handwriting width, the calculated handwriting width corresponding to the azimuth included angle is calculated, and the determined handwriting width displays the writing handwriting of the stylus 20, so that the writing gesture can be determined by To adjust the thickness of the handwriting.
其中,在计算出的所述方位夹角的值为零,即所述手写笔20朝向的方位与所述手写板30的预设方向的方位相同时,以预设的标准宽度显示所述手写笔20的书写笔迹;以及在计算出的所述方位夹角的值不为零,即当所述手写笔20朝向的方位不同于所述手写板30的预设方向的方位时,以其他的预设宽度显示所述手写笔20的书写笔迹。Wherein, when the calculated azimuth included angle is zero, that is, when the orientation of the stylus 20 is the same as the orientation of the preset direction of the tablet 30, the handwriting is displayed with a preset standard width. The writing handwriting of the pen 20; and the calculated azimuth included angle value is not zero, that is, when the orientation of the stylus pen 20 is different from the orientation of the preset direction of the tablet 30, other The preset width displays the writing handwriting of the stylus 20.
例如图11所示,假设书写笔迹T1为所述手写笔20朝向的方位与所述手写板30的预设方向的方位相同时,所述手写笔20在所述手写板30中输入的笔迹;书写笔迹T2为所述手写笔20朝向的方位不同于所述手写板30的预设方向的方位,且所述手写笔20相对于所述手写板30的方位夹角为β1时,所述手写笔20在所述手写板30中输入的笔迹;书写笔迹T3为所述手写笔20朝向的方位不同于所述手写板30的预设方向的方位,且所述手写笔20相对于所述手写板30的 方位夹角为β2时,所述手写笔20在所述手写板30中输入的笔迹,其中,0<β1<β2≤90°。For example, as shown in FIG. 11, assuming that the writing handwriting T1 is the same orientation as the orientation of the stylus 20 and the preset orientation of the tablet 30, the handwriting input by the stylus 20 in the tablet 30; The writing handwriting T2 is an orientation in which the orientation of the stylus 20 is different from a preset direction of the tablet 30, and when the included angle of the orientation of the stylus 20 with respect to the tablet 30 is β1, the handwriting The handwriting input by the pen 20 in the handwriting pad 30; the writing handwriting T3 is an orientation in which the stylus pen 20 is oriented different from a preset direction of the handwriting pad 30, and the stylus pen 20 is relative to the handwriting When the azimuth included angle of the plate 30 is β2, the handwriting input by the stylus pen 20 in the handwriting plate 30, where 0 <β1 <β2 ≦ 90 °.
也就是说,所述预设的标准宽度小于其他的预设宽度,在所述手写笔20朝向的方位与所述手写板30的预设方向的方位相同时,所述书写笔迹的笔迹宽度最窄,而在所述手写笔20朝向的方位不同于所述手写板30的预设方向的方位时,所述书写笔迹的笔迹宽度和所述方位夹角成正比的关系,即所述方位夹角越大,所述书写笔迹的笔迹宽度越宽。That is, the preset standard width is smaller than other preset widths. When the orientation of the stylus 20 is the same as the orientation of the preset direction of the tablet 30, the handwriting width of the writing handwriting is the largest. Narrow, and when the orientation of the stylus 20 is different from the orientation of the preset direction of the tablet 30, the relationship between the width of the handwriting of the writing handwriting and the orientation angle is proportional, that is, the orientation clip The larger the angle, the wider the handwriting width of the writing handwriting.
可选地,在一些实施例中,所述手写输入控制方法还可包括:Optionally, in some embodiments, the handwriting input control method may further include:
比较所述手写笔20的方位角度以及所述手写板30的预设方向的方位角度的大小;Comparing the azimuth angle of the stylus 20 and the azimuth angle of the preset direction of the stylus 30;
在所述手写笔20的方位角度大于所述手写板30的预设方向的方位角度时,沿第一方向逐渐淡化所述书写笔迹的颜色;以及When the azimuth angle of the stylus pen 20 is greater than the azimuth angle of the preset direction of the tablet 30, gradually fade the color of the writing handwriting along the first direction; and
在所述手写笔20的方位角度小于所述手写板30的预设方向的方位角度时,沿第二方向逐渐淡化所述书写笔迹的颜色;When the azimuth angle of the stylus pen 20 is smaller than the azimuth angle of the preset direction of the tablet 30, gradually fade the color of the writing handwriting along the second direction;
其中,所述第一方向与第二方向为相反的两个方向。The first direction and the second direction are two opposite directions.
如此,可体现真实书写时笔迹与手写笔的握持方向及书写用力之间的关系,从而可提供用户使用体验。In this way, the relationship between the handwriting and the holding direction of the stylus and the writing force during real writing can be reflected, thereby providing a user experience.
例如图12所示,假设书写笔迹T4为所述手写笔20的方位角度大于所述手写板30的预设方向的方位角度时,所述手写笔20在所述手写板30中输入的笔迹,所述书写笔迹T4的颜色沿第一方向D1逐渐淡化。此时,手写笔20相对手写板30的握持方向为第一方向D1。书写笔迹T5为所述手写笔20的方位角度小于所述手写板30的预设方向的方位角度时,所述手写笔20在所述手写板30中输入的笔迹,所述书写笔迹T5的颜色沿第二方向D2逐渐淡化。此时,手写笔20相对手写板30的握持方向为第二方向D2。For example, as shown in FIG. 12, assuming that the writing handwriting T4 is an azimuth angle of the stylus 20 greater than a preset direction of the stylus 30, the handwriting input by the stylus 20 in the stylus 30, The color of the writing handwriting T4 gradually fades along the first direction D1. At this time, the holding direction of the stylus pen 20 with respect to the tablet 30 is the first direction D1. When the writing handwriting T5 is the azimuth angle of the stylus pen 20 smaller than the azimuth angle of the preset direction of the handwriting tablet 30, the handwriting input by the stylus pen 20 in the handwriting tablet 30, the color of the writing handwriting T5 Fading gradually in the second direction D2. At this time, the holding direction of the stylus pen 20 with respect to the tablet 30 is the second direction D2.
可选地,在另一种实施例中,所述步骤1302可具体包括:Optionally, in another embodiment, the step 1302 may specifically include:
根据倾斜夹角与笔迹宽度的第二预设对应关系,确定计算出的所述倾斜夹角对应的笔迹宽度,并以确定的笔迹宽度显示所述手写笔20的书写笔迹,从而可通过书写姿态来实现对书写笔迹的粗细的调整。Determine the calculated handwriting width corresponding to the inclined included angle according to the second preset correspondence between the inclined included angle and the handwriting width, and display the writing handwriting of the stylus 20 with the determined handwriting width, so that the writing gesture can be displayed by To adjust the thickness of the handwriting.
其中,在计算出的所述倾斜夹角的值为90度,即所述手写笔20垂直于所述手写板30时,可以预设的标准宽度显示所述手写笔20的书写笔迹。在计算出的所述倾斜夹角的值不为90度,即当所述手写笔20相对于所述手写板30发生倾斜时,可以其他的预设宽度显示所述手写笔20的书写笔迹。Wherein, when the calculated value of the inclined angle is 90 degrees, that is, when the stylus pen 20 is perpendicular to the stylus board 30, the writing handwriting of the stylus pen 20 can be displayed with a preset standard width. When the value of the calculated tilt angle is not 90 degrees, that is, when the stylus pen 20 is tilted relative to the tablet 30, the writing handwriting of the stylus pen 20 may be displayed in other preset widths.
例如,同样以图11为例,假设书写笔迹T1为所述手写笔20垂直于所述手写板30时,所述手写笔20在所述手写板30中输入的笔迹;书写笔迹T2为所 述手写笔20相对于所述手写板30的倾斜夹角为θ1时,所述手写笔20在所述手写板30中输入的笔迹;书写笔迹T3为所述手写笔20相对于所述手写板30的倾斜夹角为θ2时,所述手写笔20在所述手写板30中输入的笔迹,其中,90°>θ1>θ2>0。For example, also taking FIG. 11 as an example, assuming that the writing handwriting T1 is the handwriting input by the stylus pen 20 in the writing pad 30 when the stylus pen 20 is perpendicular to the writing pad 30; the writing handwriting T2 is the When the inclination angle of the stylus pen 20 relative to the tablet 30 is θ1, the handwriting input by the stylus pen 20 in the tablet 30; the writing handwriting T3 is the stylus 20 relative to the tablet 30 When the angle of inclination is θ2, the handwriting input by the stylus pen 20 in the tablet 30 is 90 °> θ1> θ2> 0.
也就是说,所述预设的标准宽度小于其他预设宽度,在所述手写笔20垂直于所述手写板30时,所述书写笔迹的笔迹宽度最窄,而在所述手写笔20相对于所述手写板30发生倾斜时,所述书写笔迹的笔迹宽度和所述倾斜夹角成反比的关系,即所述倾斜夹角越小,所述书写笔迹的笔迹宽度越宽。That is, the preset standard width is smaller than other preset widths. When the stylus 20 is perpendicular to the tablet 30, the handwriting width of the writing handwriting is the narrowest, while the stylus 20 is relatively When the handwriting board 30 is tilted, the handwriting width of the writing handwriting is inversely proportional to the tilting included angle, that is, the smaller the tilted included angle, the wider the handwriting width of the writing handwriting.
可选地,在再一种实施例中,所述步骤1302可具体包括:Optionally, in still another embodiment, the step 1302 may specifically include:
根据方位夹角、倾斜夹角及笔迹宽度的第三预设对应关系,确定计算出的所述方位夹角及倾斜夹角对应的笔迹宽度,并以确定的笔迹宽度显示所述手写笔的书写笔迹,从而可通过书写姿态来实现对书写笔迹的粗细的调整。也就是说,笔迹宽度与所述方位夹角及倾斜夹角均相关。Determine the calculated handwriting width corresponding to the azimuth included angle and the inclined included angle according to the third preset correspondence between the azimuth included angle, the inclined included angle, and the handwriting width, and display the writing of the stylus with the determined handwriting width Handwriting, so that the thickness of the writing handwriting can be adjusted by the writing gesture. That is, the width of the handwriting is related to both the azimuth included angle and the inclined included angle.
可选地,在又一些实施例中,所述步骤1302可具体包括:Optionally, in still other embodiments, the step 1302 may specifically include:
在所述方位夹角的值为零时,以预设的标准宽度显示所述手写笔20的书写笔迹;以及Displaying the writing handwriting of the stylus 20 with a preset standard width when the azimuth included angle is zero; and
在所述方位夹角的值不为零时,根据倾斜夹角与笔迹宽度的第四预设对应关系,确定计算出的所述倾斜夹角对应的笔迹宽度,并以确定的笔迹宽度显示所述手写笔的书写笔迹。When the value of the azimuth included angle is not zero, according to the fourth preset correspondence between the inclined included angle and the handwriting width, the calculated handwriting width corresponding to the calculated inclined included angle is determined, and the determined handwriting width is displayed. The writing handwriting of the stylus is described.
也就是说,在所述手写笔20朝向的方位与所述手写板30的预设方向的方位相同时,笔迹宽度与所述倾斜夹角无关,且均为预设的标准宽度;而在所述手写笔20朝向的方位不同于所述手写板30的预设方向的方位时,笔迹宽度与所述倾斜夹角成比例关系。其中,所述第四预设对应关系可与所述第二预设对应关系相同。可以理解的是,所述第四预设对应关系也可不同于所述第二预设对应关系。That is, when the orientation of the stylus 20 is the same as the orientation of the preset direction of the tablet 30, the width of the handwriting is independent of the tilt angle and is a preset standard width; When the orientation of the stylus 20 is different from the orientation of the preset direction of the tablet 30, the width of the handwriting is proportional to the inclined included angle. The fourth preset correspondence may be the same as the second preset correspondence. It can be understood that the fourth preset correspondence may be different from the second preset correspondence.
可以理解的是,所述书写笔迹的笔迹宽度的变化并不限于上述的举例,本领域的技术人员还可以在该举例的基础上做一些变形。It can be understood that the change in the handwriting width of the writing handwriting is not limited to the above example, and those skilled in the art can also make some deformations based on this example.
本申请实施例提供的手写输入控制方法通过检测书写姿态,并根据检测到的书写姿态调整书写笔迹,从而使手写笔的书写效果更加接近于真实的书写笔的书写效果,进而能够给用户带来更真实的使用体验。The handwriting input control method provided in the embodiment of the present application detects the writing gesture and adjusts the writing handwriting according to the detected writing gesture, so that the writing effect of the stylus pen is closer to the writing effect of the real writing pen, which can further bring the user More authentic use experience.
最后应说明的是,以上实施方式仅用以说明本申请的技术方案而非限制,尽管参照以上较佳实施方式对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换都不应脱离本申请技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application and are not restrictive. Although the present application has been described in detail with reference to the above preferred embodiments, those skilled in the art should understand that the technology of the present application Modifications or equivalent replacements of the schemes should not depart from the spirit and scope of the technical schemes of this application.

Claims (16)

  1. 一种手写输入控制装置,应用于手写感应系统中,所述手写感应系统包括手写笔以及手写板,其特征在于,所述手写输入控制装置包括:A handwriting input control device is applied to a handwriting induction system. The handwriting induction system includes a stylus pen and a tablet. The handwriting input control device includes:
    方位角检测模块,用于在书写过程中检测所述手写笔相对于所述手写板的方位夹角;An azimuth detection module, configured to detect an azimuth included angle of the stylus relative to the tablet during writing;
    倾斜角检测模块,用于在书写过程中检测所述手写笔相对于所述手写板的倾斜夹角;以及An inclination angle detection module for detecting an inclination angle of the stylus with respect to the tablet during writing; and
    调整模块,用于根据所述方位夹角及所述倾斜夹角的其中至少之一,对所述手写笔的书写笔迹进行调整。An adjustment module is configured to adjust writing handwriting of the stylus according to at least one of the azimuth included angle and the inclined included angle.
  2. 如权利要求1所述的手写输入控制装置,其特征在于,所述调整模块用于根据方位夹角与笔迹宽度的第一预设对应关系,确定计算出的所述方位夹角对应的笔迹宽度,并以确定的笔迹宽度显示所述手写笔的书写笔迹;或者The handwriting input control device according to claim 1, wherein the adjustment module is configured to determine a handwriting width corresponding to the calculated azimuth included angle according to a first preset correspondence between the azimuth included angle and the handwriting width. And display the handwriting of the stylus with a determined handwriting width; or
    所述调整模块用于根据倾斜夹角与笔迹宽度的第二预设对应关系,确定计算出的所述倾斜夹角对应的笔迹宽度,并以确定的笔迹宽度显示所述手写笔的书写笔迹;或者The adjusting module is configured to determine a calculated handwriting width corresponding to the inclined included angle according to a second preset correspondence between the inclined included angle and the handwriting width, and display the writing handwriting of the stylus with the determined handwriting width; or
    所述调整模块用于根据方位夹角、倾斜夹角及笔迹宽度的第三预设对应关系,确定计算出的所述方位夹角及倾斜夹角对应的笔迹宽度,并以确定的笔迹宽度显示所述手写笔的书写笔迹;或者The adjusting module is configured to determine the calculated handwriting width corresponding to the azimuth included angle and the inclined included angle according to the third preset corresponding relationship of the azimuth included angle, the inclined included angle, and the handwriting width, and display the determined handwriting width. The writing of the stylus; or
    所述调整模块用于在所述方位夹角的值为零时,以预设的标准宽度显示所述手写笔的书写笔迹;以及在所述方位夹角不为零时,根据所述倾斜夹角与笔迹宽度的第四预设对应关系,确定计算出的所述倾斜夹角对应的笔迹宽度,并以确定的笔迹宽度显示所述手写笔的书写笔迹。The adjusting module is configured to display the writing handwriting of the stylus pen with a preset standard width when the azimuth included angle is zero; and when the azimuth included angle is not zero, according to the tilt clamp The fourth preset correspondence between the angle and the width of the handwriting, determines the handwriting width corresponding to the calculated inclined angle, and displays the writing handwriting of the stylus with the determined handwriting width.
  3. 如权利要求1或2所述的手写输入控制装置,其特征在于,所述方位角检测模块包括:The handwriting input control device according to claim 1 or 2, wherein the azimuth detection module comprises:
    方位角检测组件,用于在书写过程中检测所述手写笔及所述手写板的方位角数据,其中,所述手写板的方位角数据为反映所述手写板的预设方向的方位数据;以及An azimuth detection component, configured to detect azimuth data of the stylus and the tablet during writing, wherein the azimuth data of the tablet is azimuth data reflecting a preset direction of the tablet; as well as
    第一计算单元,用于根据所述手写笔及所述手写板的方位角数据分别计算所述手写笔以及所述手写板的预设方向的方位角度,并根据计算出的所述方位角度来计算所述手写笔的方位角度与所述手写板的预设方向的方位角度之间的差值,以及将所述差值的绝对值确定为所述手写笔相对于所述手写板的预设方向的方位夹角。A first calculation unit, configured to calculate an azimuth angle in a preset direction of the stylus pen and the tablet according to the azimuth angle data of the stylus pen and the tablet, and to calculate the azimuth angle based on the calculated azimuth angle Calculating a difference between an azimuth angle of the stylus and an azimuth angle of a preset direction of the tablet, and determining an absolute value of the difference as a preset of the stylus relative to the tablet The azimuth angle of the direction.
  4. 如权利要求3所述的手写输入控制装置,其特征在于,所述方位角检测组 件包括:The handwriting input control device according to claim 3, wherein the azimuth detection component comprises:
    第一方位角检测元件,设于所述手写笔上,用于在书写过程中检测所述手写笔的方位角数据;A first azimuth angle detecting element, which is provided on the stylus pen and is used to detect azimuth angle data of the stylus pen during writing;
    第二方位角检测元件,设于所述手写板上,用于在书写过程中检测所述手写板的方位角数据。A second azimuth angle detecting element is provided on the tablet and is used to detect the azimuth data of the tablet during writing.
  5. 如权利要求4所述的手写输入控制装置,其特征在于,所述第一方位角检测元件和所述第二方位角检测元件为地磁传感器。The handwriting input control device according to claim 4, wherein the first azimuth detection element and the second azimuth detection element are geomagnetic sensors.
  6. 如权利要求1或2所述的手写输入控制装置,其特征在于,所述倾斜角检测模块包括:The handwriting input control device according to claim 1 or 2, wherein the tilt angle detection module comprises:
    倾斜角检测组件,用于在书写过程中检测所述手写笔及所述手写板的倾斜角数据;以及An inclination angle detecting component for detecting inclination angle data of the stylus pen and the tablet during writing; and
    第二计算单元,用于根据所述手写笔及所述手写板的倾斜角数据分别计算所述手写笔以及所述手写板的倾斜角度,并根据计算出的所述倾斜角度来计算所述手写笔的倾斜角度与所述手写板的倾斜角度之间的差值,以及将所述差值的绝对值确定为所述手写笔相对于所述手写板的倾斜夹角。A second calculation unit, configured to calculate the inclination angles of the stylus pen and the tablet according to the inclination angle data of the stylus pen and the stylus tablet, and calculate the handwriting according to the calculated inclination angles The difference between the tilt angle of the pen and the tilt angle of the tablet, and the absolute value of the difference is determined as the tilt angle of the pen with respect to the tablet.
  7. 如权利要求6所述的手写输入控制装置,其特征在于,所述倾斜角检测组件包括:The handwriting input control device according to claim 6, wherein the tilt angle detection component comprises:
    第一倾斜角检测元件,设于所述手写笔上,用于在书写过程中检测所述手写笔的倾斜角数据;A first inclination angle detecting element, which is provided on the stylus pen and is used to detect inclination angle data of the stylus pen in a writing process;
    第二倾斜角检测元件,设于所述手写板上,用于在书写过程中检测所述手写板的倾斜角数据。A second inclination angle detecting element is provided on the tablet and is used to detect the inclination angle data of the tablet during writing.
  8. 如权利要求7所述的手写输入控制装置,其特征在于,所述第一倾斜角检测元件和所述第二倾斜角检测元件均包括压力传感器以及设于所述压力传感器的受力表面上的金属球,所述倾斜角数据为相应的压力传感器感测到的压力数据。The handwriting input control device according to claim 7, wherein the first inclination angle detection element and the second inclination angle detection element each include a pressure sensor and a pressure sensor provided on a force-receiving surface of the pressure sensor. For a metal ball, the tilt angle data is pressure data sensed by a corresponding pressure sensor.
  9. 如权利要求8所述的手写输入控制装置,其特征在于,所述第二计算单元根据所述第一倾斜角检测元件的压力传感器感测到的压力数据以及第一预设压力值确定所述手写笔的倾斜角度,其中,所述第一预设压力值为所述第一倾斜角检测元件的压力传感器在所述手写笔处于竖直状态下时感测到的相应金属球的重力;The handwriting input control device according to claim 8, wherein the second computing unit determines the first data based on pressure data sensed by a pressure sensor of the first tilt angle detection element and a first preset pressure value. The tilt angle of the stylus, wherein the first preset pressure value is the gravity of the corresponding metal ball sensed by the pressure sensor of the first tilt angle detection element when the stylus is in a vertical state;
    所述第二计算单元还根据所述第二倾斜角检测元件的压力传感器感测到的压力数据以及第二预设压力值确定所述手写板的倾斜角度,其中,所述第二预设压力值为所述第二倾斜角检测元件的压力传感器在所述手写板处于竖直状态下时感测到的相应金属球的重力。The second calculation unit further determines the tilt angle of the tablet according to pressure data sensed by the pressure sensor of the second tilt angle detection element and a second preset pressure value, wherein the second preset pressure The value of the gravity of the corresponding metal ball sensed by the pressure sensor of the second tilt angle detecting element when the tablet is in a vertical state.
  10. 如权利要求3所述的手写输入控制装置,其特征在于,所述调整模块还用于在所述手写笔的方位角度大于所述手写板的预设方向的方位角度时,沿第一方向逐渐淡化所述书写笔迹的颜色,以及在所述手写笔的方位角度小于所述手写板的预设方向的方位角度时,沿第二方向逐渐淡化所述书写笔迹的颜色,其中,所述第一方向与第二方向为相反的两个方向。The handwriting input control device according to claim 3, wherein the adjustment module is further configured to gradually move along the first direction when the azimuth angle of the stylus pen is greater than the azimuth angle of the preset direction of the tablet. Fade the color of the writing handwriting, and gradually fade the color of the writing handwriting along the second direction when the azimuth angle of the stylus pen is smaller than the azimuth angle of the preset direction of the tablet, wherein the first The directions are opposite to the second direction.
  11. 一种手写输入控制方法,包括:A handwriting input control method includes:
    在书写过程中检测手写笔相对于手写板的方位夹角,以及检测所述手写笔相对于所述手写板的倾斜夹角;以及Detecting the azimuth included angle of the stylus with respect to the tablet during the writing process, and detecting the tilt angle of the stylus with respect to the tablet; and
    根据所述方位夹角及所述倾斜夹角的其中至少之一,对所述手写笔的书写笔迹进行调整。The writing handwriting of the stylus pen is adjusted according to at least one of the azimuth included angle and the inclined included angle.
  12. 如权利要求11所述的手写输入控制方法,其特征在于,所述“根据所述方位夹角及所述倾斜夹角的其中至少之一,对所述手写笔的书写笔迹进行调整”包括:The handwriting input control method according to claim 11, wherein the "adjusting the writing handwriting of the stylus according to at least one of the azimuth included angle and the inclined included angle" comprises:
    根据方位夹角与笔迹宽度的第一预设对应关系,确定计算出的所述方位夹角对应的笔迹宽度,并以确定的笔迹宽度显示所述手写笔的书写笔迹;或者Determining the calculated handwriting width corresponding to the azimuth included angle according to a first preset correspondence between the azimuth included angle and the handwriting width, and displaying the writing handwriting of the stylus with the determined handwriting width; or
    根据倾斜夹角与笔迹宽度的第二预设对应关系,确定计算出的所述倾斜夹角对应的笔迹宽度,并以确定的笔迹宽度显示所述手写笔的书写笔迹;或者Determining the calculated handwriting width corresponding to the inclined included angle according to the second preset correspondence between the inclined included angle and the handwriting width, and displaying the writing handwriting of the stylus with the determined handwriting width; or
    根据方位夹角、倾斜夹角及笔迹宽度的第三预设对应关系,确定计算出的所述方位夹角及倾斜夹角对应的笔迹宽度,并以确定的笔迹宽度显示所述手写笔的书写笔迹;或者Determine the calculated handwriting width corresponding to the azimuth included angle and the inclined included angle according to the third preset correspondence between the azimuth included angle, the inclined included angle, and the handwriting width, and display the writing of the stylus with the determined handwriting width Handwriting; or
    在所述方位夹角的值为零时,以预设的标准宽度显示所述手写笔的书写笔迹;以及在所述方位夹角不为零时,根据所述倾斜夹角与笔迹宽度的第四预设对应关系,确定计算出的所述倾斜夹角对应的笔迹宽度,并以确定的笔迹宽度显示所述手写笔的书写笔迹。When the azimuth included angle is zero, the writing handwriting of the stylus is displayed with a preset standard width; and when the azimuth included angle is not zero, according to the first Four preset correspondence relationships determine the handwriting width corresponding to the calculated inclined angle, and the determined handwriting width displays the writing handwriting of the stylus.
  13. 如权利要求11或12所述的手写输入控制方法,其特征在于,所述“在书写过程中检测手写笔相对于手写板的方位夹角”包括:The method for controlling a handwriting input according to claim 11 or 12, wherein the "detecting the azimuth angle of the stylus with respect to the tablet during the writing process" comprises:
    在书写过程中检测所述手写笔及所述手写板的方位角数据,其中,所述手写板的方位角数据为反映所述手写板的预设方向的方位数据;Detecting azimuth data of the stylus pen and the tablet during writing, wherein the azimuth data of the pen is azimuth data reflecting a preset direction of the pen;
    根据所述手写笔及所述手写板的方位角数据分别计算所述手写笔以及所述手写板的预设方向的方位角度;以及Calculate the azimuth angles of the preset directions of the stylus pen and the tablet according to the azimuth data of the stylus pen and the tablet; and
    根据计算出的所述方位角度来计算所述手写笔的方位角度与所述手写板的预设方向的方位角度之间的差值,并将所述差值的绝对值确定为所述手写笔相对于所述手写板的预设方向的方位夹角。Calculate a difference between the azimuth of the stylus and the azimuth of a preset direction of the tablet according to the calculated azimuth, and determine the absolute value of the difference as the stylus An azimuth included angle with respect to a preset direction of the tablet.
  14. 如权利要求11或12所述的手写输入控制方法,其特征在于,所述“在 书写过程中检测所述手写笔相对于所述手写板的倾斜夹角”包括:The method for controlling a handwriting input according to claim 11 or 12, wherein the "detecting the inclination angle of the stylus with respect to the tablet during writing" comprises:
    在书写过程中检测所述手写笔及所述手写板的倾斜角数据;Detecting tilt angle data of the stylus pen and the tablet during writing;
    根据所述手写笔及所述手写板的倾斜角数据分别计算所述手写笔以及所述手写板的倾斜角度;以及Calculate the tilt angles of the stylus pen and the tablet according to the tilt angle data of the stylus pen and the tablet; and
    根据计算出的所述倾斜角度来计算所述手写笔的倾斜角度与所述手写板的倾斜角度之间的差值,并将所述差值的绝对值确定为所述手写笔相对于所述手写板的倾斜夹角。Calculate a difference between the tilt angle of the stylus and the tilt angle of the stylus according to the calculated tilt angle, and determine the absolute value of the difference as the stylus relative to the Angle of the tilt of the tablet.
  15. 如权利要求13所述的手写输入控制方法,其特征在于,所述方法还包括:The method for controlling handwriting input according to claim 13, further comprising:
    比较所述手写笔的方位角度以及所述手写板的预设方向的方位角度的大小;Comparing the azimuth angle of the stylus and the azimuth angle of a preset direction of the tablet;
    在所述手写笔的方位角度大于所述手写板的预设方向的方位角度时,沿第一方向逐渐淡化所述书写笔迹的颜色;以及When the azimuth angle of the stylus pen is greater than the azimuth angle of the preset direction of the tablet, gradually fade the color of the writing handwriting along the first direction; and
    在所述手写笔的方位角度小于所述手写板的预设方向的方位角度时,沿第二方向逐渐淡化所述书写笔迹的颜色;When the azimuth angle of the stylus is smaller than the azimuth angle of the preset direction of the tablet, gradually fade the color of the writing handwriting along the second direction;
    其中,所述第一方向与第二方向为相反的两个方向。The first direction and the second direction are two opposite directions.
  16. 一种手写感应系统,包括手写笔、手写板、以及如权利要求1-10任意一项所述的手写输入控制装置。A handwriting sensing system includes a stylus, a tablet, and a handwriting input control device according to any one of claims 1-10.
PCT/CN2018/103508 2018-08-31 2018-08-31 Handwriting sensing system, and handwriting input control device and method therefor WO2020042145A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/103508 WO2020042145A1 (en) 2018-08-31 2018-08-31 Handwriting sensing system, and handwriting input control device and method therefor
CN201880094135.5A CN112654958A (en) 2018-08-31 2018-08-31 Handwriting induction system and handwriting input control device and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/103508 WO2020042145A1 (en) 2018-08-31 2018-08-31 Handwriting sensing system, and handwriting input control device and method therefor

Publications (1)

Publication Number Publication Date
WO2020042145A1 true WO2020042145A1 (en) 2020-03-05

Family

ID=69643792

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/103508 WO2020042145A1 (en) 2018-08-31 2018-08-31 Handwriting sensing system, and handwriting input control device and method therefor

Country Status (2)

Country Link
CN (1) CN112654958A (en)
WO (1) WO2020042145A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115938244A (en) * 2023-02-20 2023-04-07 深圳市英唐数码科技有限公司 Display method, system and storage medium of electronic paper book adapting to multiple pen shapes

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976128A (en) * 2010-10-11 2011-02-16 庄永基 Digital calligraphy/painting real-time data acquisition simulation system and acquisition method thereof
CN104345917A (en) * 2013-08-09 2015-02-11 联想(北京)有限公司 Information processing method and electronic pen
CN106648418A (en) * 2016-11-14 2017-05-10 北京爱知之星科技股份有限公司 Handwriting correction method and device
US20170192539A1 (en) * 2016-01-04 2017-07-06 Boe Technology Group Co., Ltd. Active Pen for a Touch Module, a Touch Input System and a Driving Method Thereof
CN108446036A (en) * 2018-03-27 2018-08-24 京东方科技集团股份有限公司 Intelligent writing equipment and intelligent writing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976128A (en) * 2010-10-11 2011-02-16 庄永基 Digital calligraphy/painting real-time data acquisition simulation system and acquisition method thereof
CN104345917A (en) * 2013-08-09 2015-02-11 联想(北京)有限公司 Information processing method and electronic pen
US20170192539A1 (en) * 2016-01-04 2017-07-06 Boe Technology Group Co., Ltd. Active Pen for a Touch Module, a Touch Input System and a Driving Method Thereof
CN106648418A (en) * 2016-11-14 2017-05-10 北京爱知之星科技股份有限公司 Handwriting correction method and device
CN108446036A (en) * 2018-03-27 2018-08-24 京东方科技集团股份有限公司 Intelligent writing equipment and intelligent writing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115938244A (en) * 2023-02-20 2023-04-07 深圳市英唐数码科技有限公司 Display method, system and storage medium of electronic paper book adapting to multiple pen shapes

Also Published As

Publication number Publication date
CN112654958A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
KR102278816B1 (en) Display apparatus and method for dring the same
US20180136724A1 (en) Immersive environment correction display and method
US8933885B2 (en) Method, apparatus, and computer program product for reducing hand or pointing device occlusions of a display
TWI476364B (en) Detecting method and apparatus
US20120054690A1 (en) Apparatus and method for displaying three-dimensional (3d) object
US7657095B2 (en) Information processing apparatus, method and program
US20150084881A1 (en) Data processing method and electronic device
TWI601053B (en) Correction method of touch point and electromagnetic-type touch panel using the same
TWI557637B (en) Method for adjusting screen displaying mode and electronic device
KR20140050830A (en) Control method for screen display of terminal and terminal thereof
US20170031434A1 (en) Display device viewing angle compensation system
US10409395B2 (en) Method for determining display orientation and electronic apparatus using the same and computer readable recording medium
US9195322B2 (en) Input apparatus and input controlling method thereof
CN101819501A (en) Device and electronic product for realizing virtual keyboard and implementation method thereof
WO2014112132A1 (en) Information apparatus and information processing method
US20170160875A1 (en) Electronic apparatus having a sensing unit to input a user command adn a method thereof
WO2020042145A1 (en) Handwriting sensing system, and handwriting input control device and method therefor
US9778792B2 (en) Information handling system desktop surface display touch input compensation
TW201621454A (en) Projection alignment
US20150309597A1 (en) Electronic apparatus, correction method, and storage medium
US9658715B2 (en) Display mapping modes for multi-pointer indirect input devices
TWI584156B (en) Manipulation system, manipulation method and stylus
WO2018098771A1 (en) Method for determining azimuthal angle or posture, touch input device, touch panel, and system
JP2018116346A (en) Input control device, display device, and input control method
TW201531930A (en) System for adjusting user interface and adjustment method thereof

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

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

Country of ref document: EP

Kind code of ref document: A1