Writing health prompting method, handwriting pen and storage medium

By integrating pressure detection and posture sensing modules into the stylus, feedback parameters are generated to control the light source for visual feedback, solving the problem of the lack of intuitive feedback in styluses, realizing real-time writing health prompts, preventing hand strain and improving user experience.

CN122200920APending Publication Date: 2026-06-12MAXEYE SMART TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
MAXEYE SMART TECH CO LTD
Filing Date
2026-01-22
Publication Date
2026-06-12

Smart Images

  • Figure CN122200920A_ABST
    Figure CN122200920A_ABST
Patent Text Reader

Abstract

The application discloses a writing health prompting method, a handwriting pen and a storage medium, and relates to the technical field of input device control. The method is applied to the handwriting pen, and the handwriting pen comprises a pressure detection module, a posture sensing module, a main control module and an addressable light source. The method is executed by the main control module, and comprises the following steps: acquiring pen tip pressure data of a pen tip of the handwriting pen acting on an input surface collected by the pressure detection module; acquiring spatial posture data of a pen body of the handwriting pen relative to a reference surface collected by the posture sensing module; generating a pressure feedback parameter based on a preset pressure interval and the pen tip pressure data; generating a posture feedback parameter according to a preset holding posture and the spatial posture data; and controlling the addressable light source to perform visual feedback based on the pressure feedback parameter and / or the posture feedback parameter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of input device control technology, and in particular to a method for writing health prompts, a stylus, and a storage medium. Background Technology

[0002] Currently, input devices such as styluses, touch pens, and active capacitive pens are very mature in terms of pressure sensitivity accuracy, latency, and tilt detection. However, their human-computer interaction still mainly relies on the terminal screen. When writing or drawing, users often press the pen tip too hard in order to achieve different line thicknesses or shades, or suffer from hand fatigue, joint damage, or even tenosynovitis due to prolonged use of incorrect pen-holding posture.

[0003] Therefore, existing styluses lack an intuitive, real-time feedback mechanism, making it difficult for users to master the appropriate writing pressure and correct grip, and thus failing to effectively prevent hand strain. Summary of the Invention

[0004] The main purpose of this application is to provide a method for writing health tips, a stylus, and a storage medium, aiming to solve the technical problem that styluses in the prior art lack an intuitive and real-time pen feedback mechanism.

[0005] To achieve the above objectives, this application proposes a writing health prompt method, which is applied to a stylus. The stylus includes: a pressure detection module, a posture sensing module, a main control module, and an addressable light source. The method is executed by the main control module and includes: The pressure data of the pen tip acting on the input surface is collected by the pressure detection module. The spatial posture data of the stylus body relative to the reference plane is acquired by the posture sensing module. Pressure feedback parameters are generated based on the preset pressure range and the pen tip pressure data; Generate posture feedback parameters based on the preset grip posture and the spatial posture data; The addressable light source is controlled to provide visual feedback based on the pressure feedback parameters and / or the posture feedback parameters.

[0006] In addition, to achieve the above objectives, this application also proposes a stylus, which includes: a pressure detection module, an attitude sensing module, a main control module, and an addressable light source; The main control module is connected to the pressure detection module, the attitude sensing module and the addressable light source respectively; The pressure detection module is used to collect the pen tip pressure data of the pen tip acting on the input surface. The posture sensing module is used to collect spatial posture data of the stylus body relative to a reference plane. The main control module is used to generate pressure feedback parameters based on the preset pressure range and the pen tip pressure data; The main control module is also used to generate posture feedback parameters based on the preset grip posture and the spatial posture data; The main control module is also used to control the addressable light source to provide visual feedback based on the pressure feedback parameters and / or the posture feedback parameters.

[0007] In addition, to achieve the above objectives, this application also provides a storage medium storing a program for implementing the writing health tips method, wherein the program for implementing the writing health tips method is executed by a processor to implement the steps of the writing health tips method as described above.

[0008] This application provides a method for writing health prompts, a stylus, and a storage medium. The method is applied to a stylus, which includes a pressure detection module, a posture sensing module, a main control module, and an addressable light source. The method is executed by the main control module and includes: acquiring pen tip pressure data collected by the pressure detection module (the pen tip acting on an input surface); acquiring spatial posture data of the pen body relative to a reference surface collected by the posture sensing module; generating pressure feedback parameters based on a preset pressure range and pen tip pressure data; generating posture feedback parameters based on a preset holding posture and spatial posture data; and controlling the addressable light source to provide visual feedback based on the pressure feedback parameters and / or posture feedback parameters.

[0009] This application collects pen tip pressure data and pen body spatial posture data, compares them with preset pressure ranges and preset grip postures, generates corresponding feedback parameters, and controls an addressable light source on the pen body to provide visual feedback, transforming abstract pressure and posture information into intuitive light effects. This visual feedback is directly integrated into the pen body, eliminating the need for the user to focus on the screen. The feedback is real-time and intuitive, thus achieving real-time guidance that can be perceived without the user's distraction from the screen. This effectively prevents hand strain and has training, correction, and user experience enhancement functions. Attached Figure Description

[0010] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0011] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1A flowchart illustrating the first embodiment of the health advisory method for this application; Figure 2 A schematic diagram illustrating the effect of the first visual feedback operation in the first embodiment of the health prompt method of this application; Figure 3 A schematic diagram illustrating the effect of the second visual feedback operation in the first embodiment of the health prompt method of this application; Figure 4 A flowchart illustrating the second embodiment of the health advisory method for this application; Figure 5 This is a structural block diagram of an embodiment of the stylus pen of this application; Figure 6 This is an interactive diagram illustrating an embodiment of the stylus pen used in this application.

[0013] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0014] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0015] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific embodiments.

[0016] The main solution of this application is: to acquire pen tip pressure data of the pen tip acting on the input surface collected by the pressure detection module; to acquire spatial posture data of the pen body relative to the reference surface collected by the posture sensing module; to generate pressure feedback parameters based on the preset pressure range and pen tip pressure data; to generate posture feedback parameters based on the preset holding posture and spatial posture data; and to control the addressable light source to provide visual feedback based on the pressure feedback parameters and / or posture feedback parameters.

[0017] Existing styluses lack an intuitive, real-time feedback mechanism, making it difficult for users to control the appropriate writing pressure and grip, and thus failing to effectively prevent hand strain.

[0018] This application integrates a multimodal sensor—namely, a pressure detection module, a posture sensing module, and an addressable LED light source—into the pen body. The main control module maps the sensor data into intuitive visual feedback signals. By collecting pen tip pressure data and pen body spatial posture data, and comparing them with preset pressure ranges and preset grip postures, corresponding feedback parameters are generated. These parameters control the addressable light source within the pen body to provide visual feedback, transforming abstract force and posture information into intuitive light effects. This visual feedback is directly integrated into the pen body, eliminating the need for the user to focus on the screen. The feedback is real-time and intuitive, thus enabling real-time guidance without requiring the user to look at the screen. This effectively prevents hand strain and provides training, correction, and an improved user experience.

[0019] It should be noted that the executing entity in this embodiment can be a writing health reminder system, or an electronic device with data processing, network communication and program running functions, such as a stylus, stylus, active capacitive pen, etc., or an input device that can achieve the above functions, etc. This embodiment does not specifically limit it.

[0020] It is easy to understand that, taking a stylus as an example, the stylus includes: a pressure detection module, an attitude sensing module, a main control module, and an addressable light source. In this embodiment, the stylus can be used with electronic devices (such as mobile phones, tablets, capacitive screen displays, etc.).

[0021] The pressure detection module, typically a pressure sensor, is used to collect pressure data from the stylus tip acting on the input surface of the electronic device. The posture sensing module is used to collect spatial posture data of the pen body relative to a reference surface (such as a desktop). The main control module is the core computing unit of the stylus, such as a microcontroller unit (MCU), responsible for receiving and processing sensor data, generating feedback parameters, and controlling the addressable light source. The addressable light source can be an independently controllable light-emitting component arranged along the pen body, such as an addressable RGB LED strip, supporting dynamic adjustment of brightness, color, illuminated area, and flow direction. In this case, the main control module of the stylus will be used as the execution entity to illustrate this embodiment and the following embodiments.

[0022] Based on this, embodiments of this application provide a method for writing health tips, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the method for writing health tips in this application.

[0023] In this embodiment, the method for writing health tips includes steps S10 to S50: Step S10: Obtain the pen tip pressure data of the pen tip acting on the input surface collected by the pressure detection module; Step S20: Obtain the spatial posture data of the stylus body relative to the reference plane collected by the posture sensing module; It is easy to understand that the aforementioned input surface can be a touch-sensitive surface of an electronic device used to receive input from a stylus pen. Its material can be a capacitive sensing material, capable of responding to the pressure and contact signal of the stylus pen tip. Accordingly, the pen tip pressure data can be detected in real time by the pressure sensor built into the stylus pen, reflecting a quantitative value reflecting the amount of pressure applied by the pen tip to the input surface.

[0024] The aforementioned reference plane is the plane where the input surface is placed horizontally, and the spatial posture data may include the tilt angle between the pen body and the normal of the reference plane, the rotation angle of the pen body about its own long axis, and the grip position information of the fingers on the pen body.

[0025] Therefore, in one feasible implementation, the attitude sensing module includes an inertial measurement unit and a capacitive sensing strip located on the body of the stylus, the capacitive sensing strip including a plurality of capacitive sensing points arranged along the axial and circumferential directions of the stylus body. In this embodiment, step S20 may include steps A1 to A3: Step A1: Obtain the raw attitude data of the pen body collected by the inertial measurement unit; Step A2: Obtain the raw contact data generated when the finger contacts the pen body, collected by the capacitive sensing strip; Step A3: The original posture data and the original contact data are integrated in time synchronization according to the acquisition time to obtain the spatial posture data of the pen body relative to the reference plane.

[0026] It should be noted that the aforementioned Inertial Measurement Unit (IMU) can be a sensing component built into the pen body, which may include a three-axis accelerometer and a three-axis gyroscope, used to collect raw data of the pen body's acceleration and angular velocity along the three orthogonal axes of X, Y, and Z. Therefore, the aforementioned raw attitude data can be the unprocessed raw signal output by the IMU, including three-axis acceleration values ​​(unit: m / s²) and three-axis angular velocity values ​​(unit: rad / s).

[0027] The aforementioned capacitive sensing strip can be a flexible, transparent circuit assembly arranged along the axial and circumferential directions of the pen body, containing multiple evenly distributed capacitive sensing points (electrodes), attached to the inner wall of the pen shell, and forming a reference capacitance with ground. Correspondingly, the aforementioned raw contact data can be obtained by the main control module or a dedicated capacitive touch controller sequentially scanning each capacitive sensing point in the capacitive sensing strip at high frequency, sending drive signals, and reading the capacitance change data detected by the capacitive sensing strip at each sensing point, reflecting whether the user's finger is in contact with that location and the degree of contact.

[0028] At this point, the main control module can align and integrate the raw attitude data acquired by the IMU and the raw contact data acquired by the capacitive sensing strip according to the acquisition timestamp, ensuring that the attitude data and contact data at the same moment in the integrated spatial attitude data correspond and match. For example, the main control module can record the acquisition timestamp of each frame of raw attitude data and raw contact data, and through timestamp matching, associate and integrate the two types of data at the same moment to form complete spatial attitude data, thereby avoiding data deviation caused by acquisition time difference.

[0029] Therefore, the main control module can accurately obtain the macroscopic attitude angle and microscopic contact position of the pen body, providing a reliable data foundation for the subsequent generation of accurate posture feedback parameters.

[0030] Step S30: Generate pressure feedback parameters based on the preset pressure range and the pen tip pressure data; Step S40: Generate posture feedback parameters based on the preset grip posture and the spatial posture data; Step S50: Control the addressable light source to provide visual feedback based on the pressure feedback parameters and / or the posture feedback parameters.

[0031] It is easy to understand that the aforementioned addressable light source can be a light source component that allows independent control of each light-emitting unit, preferably an RGB LED light strip. In this embodiment, the addressable light source can be arranged along the longitudinal or circumferential direction of the stylus, and each LED can have its brightness and color adjusted individually to achieve diverse visual feedback.

[0032] It should be noted that the aforementioned preset pressure range can be a pressure division range pre-configured in the main control module, and can at least include three key thresholds: F_min (minimum effective pressure), F_opt (ideal pressure range upper limit), and F_max (maximum recommended pressure / warning threshold), which can be adjusted according to the usage scenario (such as child mode, professional mode). The aforementioned pressure feedback parameters can be control signal parameters generated based on the comparison results between pen tip pressure data and preset pressure range, and may include the number of LEDs lit, display color, etc.

[0033] The aforementioned preset grip posture can be standard pen grip posture data pre-stored in the main control module, including recommended tilt angle range, rotation angle range, and standard finger contact distribution on the pen body. In this case, the aforementioned posture feedback parameters can be control signal parameters generated based on the comparison between spatial posture data and the preset grip posture, and may include LED illumination areas, dynamic display strategies, etc.

[0034] Therefore, in one feasible implementation, step S50 may include step B1 and / or step B2: Step B1: Determine the display quantity, display color, and display area corresponding to the addressable light source based on the pressure feedback parameters, and perform a first visual feedback operation based on the display quantity, the display color, and the display area; And / or, in step B2, determine the display area and display strategy corresponding to the addressable light source based on the posture feedback parameters, and perform a second visual feedback operation according to the display area and the display strategy.

[0035] It's easy to understand that the aforementioned display area represents a specific illuminated part of the addressable light source, such as the area corresponding to thumb contact or the middle area of ​​the pen body. The first visual feedback operation can be a pre-configured light source feedback action executed based on pressure feedback parameters. Its core objective is to indicate the writing pressure through the number and color changes of the illuminated LEDs. At this time, the main control module determines the specific number of illuminated LEDs, their corresponding colors, and positions based on the calculated number of illuminated LEDs in the pressure feedback parameters (e.g., 34% of the total number of LEDs), the color mapping rules (green-blue-red gradient), and the display area. For ease of understanding, refer to... Figure 2 Provide an explanation. Figure 2 This is a schematic diagram illustrating the effect of the first visual feedback operation in the first embodiment of the health prompt method of this application. (Example:) Figure 2 As shown, the main control module can send drive signals to the corresponding number of LED beads through the LED drive circuit according to the determined pressure feedback parameters, and control them to light up in the preset position according to the set color. For example, when the pressure value is low, 34% of the LEDs can be lit up and green will be displayed at the tip of the pen; when the pressure value is medium, the blue indicator light in the middle will be lit up.

[0036] Understandably, the aforementioned second visual feedback operation can be a light source feedback action executed based on posture feedback parameters. In this case, the pen-holding posture can be indicated through the LED illumination area and dynamic display strategy. The display strategy can represent the dynamic working state of the addressable light source, including breathing flashing, directional flow, and constant illumination, used to indicate the direction of posture correction. For ease of understanding, refer to... Figure 3 Provide an explanation. Figure 3 This is a schematic diagram illustrating the effect of the second visual feedback operation in the first embodiment of the health prompt method of this application. (See diagram below.) Figure 3 As shown, the main control module can determine the illuminated area (the area where the thumb touches the corresponding indicator light or the entire area) and the display strategy (breathing green light, constant red light or light flowing upward) based on the determined posture feedback parameters, that is, the finger position detected by the capacitive sensing strip.

[0037] Furthermore, in this embodiment, the main control module can also perform three different writing health prompt modes based on the button switch or the mode switching signal received on the pen body: pressure feedback only, in which the main control module can receive pressure feedback parameters (such as "light up 97% of the LEDs, sky blue"), and control 97% of the RGB LED beads on the pen body to light up through the LED driver circuit, presenting a sky blue color, to prompt the user that the current writing force is normal; posture feedback only, for example, when the user's pen grip posture is incorrect (such as a tilt angle of 70°, which is seriously deviated), the main control module can receive corresponding posture feedback parameters (such as "LED area in the middle of the pen body, light flowing in the direction of 30°-60°, green gradient"), control the corresponding area LEDs to light up in the direction of flow, and guide the user to adjust the pen body tilt angle; and pressure feedback and posture feedback in parallel, for example, when the user uses excessive force (F=3800) and the thumb is too high, the main control module simultaneously executes the first visual feedback (all LEDs light up red and flash) and the second visual feedback (the red light in the area corresponding to the thumb is always on), while simultaneously prompting excessive force and incorrect posture.

[0038] Therefore, the main control module can transform pressure feedback parameters and posture feedback parameters into intuitive visual effects, allowing users to quickly perceive whether their writing force and posture are healthy without looking at the screen, thus providing real-time prompts.

[0039] In this embodiment, visual feedback directly integrated into the pen body allows users to receive intuitive visual cues in a timely manner without having to pay attention to the screen of the terminal device. This effectively reminds users to avoid excessive force and incorrect posture, thus preventing hand health damage from the root.

[0040] This embodiment provides a writing health prompt method applied to a stylus. The stylus includes a pressure detection module, a posture sensing module, a main control module, and an addressable light source. The method is executed by the main control module. The posture sensing module includes an inertial measurement unit and a capacitive sensing strip located on the stylus body. The capacitive sensing strip includes multiple capacitive sensing points arranged along the axial and circumferential directions of the stylus body. The writing health prompt method includes: acquiring pen tip pressure data collected by the pressure detection module (the pen tip acting on the input surface); acquiring raw posture data of the pen body collected by the inertial measurement unit; acquiring raw contact data generated when a finger contacts the pen body (the capacitive sensing strip); integrating the raw posture data and raw contact data in a time-synchronized manner according to the acquisition time to obtain spatial posture data of the pen body relative to a reference surface; generating pressure feedback parameters based on a preset pressure range and pen tip pressure data; generating posture feedback parameters based on a preset grip posture and spatial posture data; and controlling the addressable light source to provide visual feedback based on the pressure feedback parameters and / or posture feedback parameters.

[0041] This application collects pen tip pressure data and pen body spatial posture data, compares them with preset pressure ranges and preset grip postures, generates corresponding feedback parameters, and controls an addressable light source on the pen body to provide visual feedback, transforming abstract pressure and posture information into intuitive light effects. This visual feedback is directly integrated into the pen body, eliminating the need for the user to focus on the screen. The feedback is real-time and intuitive, thus achieving real-time guidance that can be perceived without the user's distraction from the screen. This effectively prevents hand strain and has training, correction, and user experience enhancement functions.

[0042] Based on the first embodiment of this application, in the second embodiment of this application, the same or similar content as the first embodiment described above can be referred to the above description, and will not be repeated hereafter.

[0043] Based on the first embodiment, please refer to Figure 4 , Figure 4 This is a flowchart illustrating the second embodiment of the method for writing health tips according to this application. In this embodiment, step S30 includes steps S31 to S32: Step S31: Compare the threshold value of the preset pressure range with the pen tip pressure data to determine the current pressure level; It is easy to understand that the aforementioned interval threshold can be the boundary value corresponding to multiple pressure sub-intervals contained within the preset pressure interval. In this embodiment, it may include the minimum effective pressure F_min, the upper limit of the ideal pressure interval F_opt, and the maximum recommended pressure / warning threshold F_max. The specific value of this interval threshold can be configured according to the usage scenario, such as F_opt=1024 for child mode and F_opt=3072 for professional mode. This embodiment does not impose any restrictions on this.

[0044] It is understood that the current pressure level can be a level determined based on the preset pressure range into which the pen tip pressure data falls. In this embodiment, the current pressure level can include four categories: "below effective pressure", "ideal pressure", "close to warning pressure" and "exceeding warning pressure".

[0045] At this point, the main control module can compare the collected real-time pen tip pressure data (such as 800, 2000, 3800) with the preset F_min, F_opt, and F_max one by one to determine the pressure range to which the data belongs, and then determine the current pressure level.

[0046] Step S32: Generate pressure feedback parameters based on the current pressure level.

[0047] It's important to understand that the main control module can map the pressure level based on the pressure data to the corresponding pressure feedback parameter. For example, when the pen tip pressure data is below F_min, the corresponding pressure feedback parameter could be "all LEDs are off"; when the pen tip pressure data is between F_min and F_opt, the corresponding pressure feedback parameter could be "number of LEDs lit = N, color gradually changes from green to blue", where N = (F - F_min) / (F_opt - F_min) * total number of LEDs; when the pen tip pressure data is between F_opt and F_max, the corresponding pressure feedback parameter could be "all LEDs are lit, color gradually changes from blue to red"; and when the pen tip pressure data exceeds F_max, the corresponding pressure feedback parameter could be "all LEDs are red".

[0048] In this embodiment, by pre-setting a configurable pressure range, real-time pressure data is compared with the range threshold to determine the pressure level and generate corresponding pressure feedback parameters. These pressure feedback parameters accurately correspond to the pressure conditions, support scenario-based configuration, and can adapt to different user needs. Furthermore, the pressure feedback parameters can directly drive the light source, providing intuitive pressure feedback and effectively helping users control their writing pressure.

[0049] In one feasible implementation, the attitude feedback parameter includes attitude deviation; in this embodiment, step S40 includes steps S41-S42: Step S41: Perform a preset fusion filter on the original attitude data after time synchronization to obtain the absolute attitude angle of the pen body relative to the reference plane. It is easy to understand that the accelerometer is easily affected by motion acceleration when the pen body moves, leading to inaccurate tilt angle calculations; the gyroscope has inherent "drift" error, and the angle error accumulates over time after integration. Therefore, in this embodiment, the data from both needs to be combined through the aforementioned preset fusion filtering to compensate for each other's shortcomings. In this preset fusion filtering process, the main control module can first filter and denoise the time-synchronized raw attitude data in the spatial attitude data (such as mean filtering) to eliminate abnormal data caused by environmental vibration and electromagnetic interference; then, through a pre-configured signal processing algorithm, preferably complementary filtering or Kalman filtering, the raw data from the accelerometer and gyroscope after preliminary processing is fused to eliminate the error of a single sensor. The aforementioned absolute attitude angle can be a precise, drift-free pen body attitude angle obtained by fusion filtering of the raw attitude data, which may include the tilt angle, i.e., the angle between the pen body and the normal to the reference plane; and the rotation angle, i.e., the rotation angle of the pen body around its own major axis.

[0050] Step S42: Generate the posture deviation based on the standard posture angle range corresponding to the preset grip posture and the absolute posture angle.

[0051] It is easy to understand that the above standard posture angle range can be the healthy pen grip angle range defined in the preset grip posture, such as tilt angle 30°-60°, rotation angle -15°-15° (which can be adjusted according to the usage scenario, and the specific values ​​are not limited in this embodiment).

[0052] At this point, the aforementioned posture deviation can be the degree of deviation between the actual absolute posture angle of the pen body and the standard posture angle range of the preset holding posture, which can be quantified by numerical values ​​or levels (such as slight deviation, severe deviation). For example, if the actual data conforms to the standard posture angle range, that is, the tilt angle is within 30°-60° and the rotation angle is within -15°-15°, the posture deviation can be 0 (no deviation); if the actual angle exceeds the standard posture angle range, the excess difference can be further calculated (such as a tilt angle of 70° and a deviation value of 10°), and the deviation level (slight, moderate, severe) can be divided according to the size of the difference, and the corresponding posture deviation parameter can be generated.

[0053] In a second feasible implementation, the attitude feedback parameter includes the contact deviation; in this embodiment, step S40 includes steps S43-S44: Step S43: Based on the preset trigger threshold and the original contact data after time synchronization, determine the axial and circumferential positions of the triggered capacitive sensing points, and generate contact distribution data; It is easy to understand that the aforementioned preset trigger threshold can be a pre-set critical value (such as 5pF) for determining whether the capacitive sensing point has been touched by a finger. Capacitance changes below this threshold can be considered as environmental interference and not recognized as finger contact. The aforementioned contact distribution data can be a set of data consisting of the axial position (vertical height) and circumferential position (circumferential orientation) of the triggered capacitive sensing point, which can characterize the actual contact layout of the user's finger on the pen body.

[0054] For example, the main control module can first filter and denoise the original contact data after time synchronization, such as by median filtering, to eliminate interference signals caused by static electricity and temperature changes. Then, it compares the capacitance change of each sensing point after removing interference with a preset trigger threshold. Sensing points that exceed the preset trigger threshold are then determined to be "triggered," and their axial and circumferential coordinates are recorded. The main control module then summarizes the coordinates of all triggered sensing points to form contact distribution data reflecting the finger contact layout, such as "axial position 2-3cm, circumferential position 0°, 90°, 180°."

[0055] Step S44: Generate the contact deviation based on the standard finger distribution position corresponding to the preset grip posture and the contact distribution data.

[0056] It should be understood that the above-mentioned standard finger distribution positions can be the contact positions of the fingers when holding the pen in a healthy grip posture as defined in the preset grip posture. For example, the thumb, index finger, and middle finger correspond to the central area of ​​the pen body axis and the circumferentially symmetrically distributed sensing points in the preset grip posture, respectively.

[0057] Therefore, the aforementioned contact deviation can be the degree of deviation between the actual finger contact position on the pen body and the standard finger distribution position of the preset grip posture. It can be expressed in the form of a quantifiable value or a specific deviation type (such as thumb too high, pen grip too low). At this time, if the axial and circumferential positions of the triggered sensing point are consistent with the standard position, the contact deviation can be determined to be 0. If, in the contact distribution data, the axial position of the sensing point corresponding to the thumb is lower than the standard position (which corresponds to pen grip too low, serious deviation), or the circumferential position overlaps (which corresponds to thumb wrapping around index finger, slight deviation), or the axial position of the sensing point where the thumb is located is abnormally forward (close to the pen tip), while the index finger position is normal (which corresponds to thumb grip pressure too high, moderate deviation), then the deviation type and deviation level are determined according to the specific situation, and the deviation distance is calculated to generate the contact deviation parameter.

[0058] In this embodiment, raw contact data can be collected via a capacitive sensing strip. A trigger threshold is set to determine the finger contact position, generating contact distribution data. This data is then compared with a standard finger distribution to generate a contact deviation. Based on this contact deviation, detailed errors in the finger contact position can be accurately identified. Furthermore, the contact deviation parameter is highly targeted, allowing subsequent visual feedback to directly indicate the error location (e.g., a red light illuminates the corresponding area), helping users quickly correct their pen-holding posture.

[0059] In summary, this embodiment can directly drive the light source by generating pressure feedback parameters that accurately correspond to pressure conditions and support scenario-based configuration, thereby achieving intuitive pressure prompts and helping users control writing force. Furthermore, by combining the posture deviation of the corresponding macroscopic angle of the pen body and the contact deviation of the corresponding microscopic contact position of the fingers, the degree of posture error can be effectively quantified, making subsequent visual feedback more targeted. This ensures that users can accurately know where the posture problem lies, thus providing users with effective real-time visual perception guidance, effectively preventing hand strain, and improving the user experience.

[0060] This embodiment discloses comparing the interval threshold of a preset pressure range with the pen tip pressure data to determine the current pressure level; and generating pressure feedback parameters based on the current pressure level. A preset fusion filter is applied to the time-synchronized raw posture data to obtain the absolute posture angle of the pen body relative to a reference plane; the posture deviation is generated based on the standard posture angle range corresponding to the preset grip posture and the absolute posture angle. The axial and circumferential positions of the triggered capacitive sensing points are determined based on a preset trigger threshold and the time-synchronized raw contact data, generating contact distribution data; the contact deviation is generated based on the standard finger distribution position corresponding to the preset grip posture and the contact distribution data. This embodiment can directly drive the light source by generating pressure feedback parameters that accurately correspond to the pressure situation and support scenario-based configuration, achieving intuitive pressure prompts and helping users control writing force; and by combining the posture deviation of the corresponding macroscopic angle of the pen body and the contact deviation of the corresponding microscopic contact position of the fingers, it effectively quantifies the degree of posture error, making subsequent visual feedback more targeted, ensuring that users can accurately know where the posture problem is, thereby providing users with effective real-time visual perception guidance, effectively preventing hand strain, and improving user experience.

[0061] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the method of writing health tips in this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0062] This application provides a stylus; please refer to [reference needed]. Figure 5 , Figure 5 This is a structural block diagram of an embodiment of the stylus pen of this application. The stylus pen includes: a pressure detection module 1001, an attitude sensing module 1002, a main control module 1003, and an addressable light source 1004; The main control module 1003 is connected to the pressure detection module 1001, the attitude sensing module 1002 and the addressable light source 1004 respectively; The pressure detection module 1001 is used to collect the pen tip pressure data of the pen tip acting on the input surface. The posture sensing module 1002 is used to collect spatial posture data of the pen body relative to a reference plane. The main control module 1003 is used to generate pressure feedback parameters based on a preset pressure range and the pen tip pressure data. The main control module 1003 is also used to generate posture feedback parameters based on the preset grip posture and the spatial posture data; The main control module 1003 is also used to control the addressable light source 1004 to provide visual feedback based on the pressure feedback parameters and / or the posture feedback parameters.

[0063] It should be understood that the stylus in this application embodiment can be an intelligent handwriting device that integrates a writing health reminder function. This device not only has the writing input function of ordinary handwriting devices (such as writing and drawing on tablets and paper screens to input information), but also realizes the writing health reminder function through built-in hardware and software. It is a composite device that combines input function and health reminder function.

[0064] The stylus can integrate a multimodal sensing system including a pressure detection module 1001 and an attitude sensing module 1002, which can collect pen tip pressure data and pen body spatial attitude data from multiple dimensions, and is the core component for data acquisition. The pressure detection module 1001 can collect pen tip pressure data; the attitude sensing module 1002 can collect pen body spatial attitude data, and the pen tip pressure data and pen body spatial attitude data can be transmitted to the main control module 1003 in real time.

[0065] The aforementioned main control module 1003 can employ a high-performance microcontroller unit (MCU), such as the STM32 series chip. As the core processing unit of the stylus, it is responsible for core operations such as data processing, feedback parameter generation, and light source control. By running the internally stored writing health reminder program, it controls the pressure detection module 1001 and the posture sensing module 1002 to work together to complete data acquisition, analysis, and reminder operations.

[0066] It is easy to understand that the addressable light source 1004 mentioned above is a visual prompting module. In this embodiment, it may include an LED driving circuit and independently addressable RGB LED light strips. Each light strip can be arranged longitudinally or circumferentially along the pen body shell, with a length adapted to the pen body (e.g., 10-15cm). Each light strip may contain 10-20 independent LED beads.

[0067] At this time, the main control module 1003 can run the internally stored writing health prompt program, process pressure data to generate pressure feedback parameters, and process posture data to generate posture feedback parameters. Then, through the LED driver circuit (such as WS2812B), the feedback parameters are converted into drive signals to control the number, color, area, and dynamic effects of the RGB LED light strip.

[0068] In one feasible implementation, in this embodiment, the attitude sensing module 1002 includes an inertial measurement unit and a capacitive sensing strip located on the body of the stylus, the capacitive sensing strip including a plurality of capacitive sensing points arranged along the axial and circumferential directions of the stylus body; The inertial measurement unit is used to collect the raw posture data of the pen body; The capacitive sensing strip is used to collect raw contact data generated when a finger comes into contact with the pen body; The main control module 1003 is also used to integrate the original posture data and the original contact data according to the acquisition time to obtain the spatial posture data of the pen body relative to the reference plane.

[0069] It is easy to understand that an inertial measurement unit (IMU) can contain a three-axis accelerometer and a three-axis gyroscope to collect raw data of pen body acceleration and angular velocity, i.e., the aforementioned raw attitude data; The capacitive sensing strip can be a flexible touch sensing component arranged along the pen body, containing multiple axially and circumferentially arranged capacitive sensing points for collecting raw capacitance data from finger contact, i.e., the aforementioned raw contact data. The capacitive sensing points can be tiny electrodes on the capacitive sensing strip, which can identify finger contact through capacitance changes, and are densely arranged axially and circumferentially (e.g., one point every 10mm axially and one point every 120° circumferentially).

[0070] For easier understanding, please refer to Figure 6 Provide an explanation. Figure 6 This is an interactive diagram illustrating an embodiment of the stylus pen used in this application. Figure 6 As shown, the process of writing health tips in this embodiment can be divided into the following four steps: Step 1, Data Collection: When the stylus is in use, the pressure sensor collects the pressure data of the pen tip against the input surface in real time, the inertial measurement unit (IMU) collects the acceleration and angular velocity data of the pen body, and the capacitive sensing strip collects the capacitance change data of the finger touching the pen body.

[0071] Step 2, generate pressure feedback parameters: The main control module calls preset pressure range data (such as F_min=100, F_opt=2048, F_max=3500) and compares the collected pen tip pressure data with the threshold: if the pressure is lower than F_min, a parameter corresponding to "all LEDs are off" can be generated; if it is between F_min and F_opt, a parameter corresponding to "the number of LEDs increases with increasing pressure and the color gradually changes from green to blue" can be generated; if it is between F_opt and F_max, a parameter corresponding to "all LEDs are on and the color gradually changes from blue to red" can be generated; if it exceeds F_max, a parameter corresponding to "all LEDs are red" can be generated.

[0072] Step 3, Generate posture feedback parameters: The main control module performs fusion filtering (such as Kalman filtering) on ​​the IMU data, calculates the absolute attitude angles (tilt angle, rotation angle), compares them with the preset standard attitude angle range, and generates attitude deviation parameters; it also filters and thresholds the capacitive sensing strip data to determine the axial and circumferential positions of the finger contact, compares them with the standard finger distribution positions, and generates contact deviation parameters; based on the deviation, it generates corresponding parameters such as "LED lights up at incorrect positions" and "light flows in the correct direction".

[0073] Step 4, Visual Feedback Output: Based on the pressure feedback parameters and / or posture feedback parameters, the main control module drives the RGB LED strip in the addressable light source through the indicator light driver circuit to present corresponding effects, such as green when the pressure is normal, and red light in the corresponding area with a flowing prompt when the pen grip posture is incorrect.

[0074] Furthermore, as a possible implementation method, such as Figure 5 As shown, in this embodiment, the stylus also includes a wireless communication module 1005; The wireless communication module is connected to the terminal device 2001 and the main control module 1003 respectively; The wireless communication module is used to synchronously transmit the pressure feedback parameters and the posture feedback parameters transmitted by the main control module 1003 to the terminal device 2001.

[0075] It is easy to understand that the aforementioned wireless communication module 1005 can be a hardware component in the stylus used to realize wireless data transmission. It can adopt Bluetooth BLE (Bluetooth Low Energy) technology and support pairing and connection with the terminal device 2001. The terminal device 2001 can be a smart device (such as a mobile phone or tablet) with a matching health reminder APP installed. It can be used to receive, store, and display the data transmitted by the stylus, and support user-defined thresholds and viewing historical trends.

[0076] At this time, as Figure 6 As shown, the wireless communication module 1005 can be electrically connected to the main control module 1003 via SPI (Serial Peripheral Interface), and at the same time establish a wireless connection with the terminal device 2001 via Bluetooth signal; after successful connection, it maintains a low-power data transmission state.

[0077] After generating pressure and posture feedback parameters, the main control module 1003 transmits the data to the wireless communication module 1005 via the UART interface. The wireless communication module 1005 then packages this data into Bluetooth data packets and transmits them synchronously to the terminal application on the terminal device 2001. The terminal application records the user's pressure usage habits (such as average pressure value and number of excessive force applications) and posture error statistics (such as the number of incorrect tilt angles and the number of times the thumb is too high), generating weekly / monthly health reports. When the stylus emits a strong warning (flashing red LED), the terminal application can simultaneously pop up a prompt box to enhance the prompting effect. This achieves linkage between the stylus and the terminal device, allowing users to view writing data reports through the terminal application and further optimize healthy writing habits.

[0078] In one embodiment, such as Figure 5 As shown, the stylus may also include a power management module 1006 for providing power to the stylus, which may be a rechargeable lithium battery.

[0079] It should be noted that the above Figure 5 The stylus structure shown is merely an example and should not be construed as limiting the functionality or scope of the embodiments described in this application. While the figures illustrate styluses with various systems, it should be understood that implementation or possession of all shown systems is not required. More or fewer systems may be implemented alternatively.

[0080] The stylus provided in this application employs the writing health management method described in the above embodiments, which can solve the technical problem of how to proactively and intelligently issue reminders during the user's writing process to maintain the user's writing health. Compared with the prior art, the beneficial effects of the stylus provided in this application are the same as those of the writing health management method provided in the above embodiments, and other technical features of the stylus are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0081] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0082] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0083] This application provides a storage medium having computer-readable program instructions (i.e., a writing health tips program) stored thereon, which are used to execute the writing health tips method in the above embodiments.

[0084] The storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of the storage medium may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0085] The aforementioned storage medium may be included in the writing health reminder device; or it may exist independently and not be assembled into the writing health reminder device.

[0086] The aforementioned storage medium carries one or more programs, and when the aforementioned one or more programs are executed by the health prompt writing device, the health prompt writing device writes health prompts.

[0087] The written health prompt program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof. These programming languages ​​include object-oriented programming languages—such as Java, Smalltalk, and C++—as well as conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0088] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and health reminder program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0089] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0090] The readable storage medium provided in this application is a storage medium that stores computer-readable program instructions (i.e., a writing health prompt program) for executing the above-described writing health prompt method. This addresses the technical problem in the prior art where styluses lack an intuitive, real-time pen feedback mechanism, making it difficult for users to master appropriate writing pressure and correct grip, thus failing to effectively prevent hand strain. Compared to the prior art, the beneficial effects of the storage medium provided in this application are the same as those of the writing health prompt method provided in the above embodiments, and will not be repeated here.

[0091] The above are only some embodiments of this application and do not limit the scope of the solution of this application. All equivalent structural transformations made under the technical concept of this application and using the content of this application specification and drawings, or direct / indirect applications in other related technical fields, are included within the protection scope of this application.

Claims

1. A method for writing health tips, characterized in that, The method is applied to a stylus, which includes: a pressure detection module, a posture sensing module, a main control module, and an addressable light source. The method is executed by the main control module and includes: The pressure data of the pen tip acting on the input surface is collected by the pressure detection module. The spatial posture data of the stylus body relative to the reference plane is acquired by the posture sensing module. Pressure feedback parameters are generated based on the preset pressure range and the pen tip pressure data; Generate posture feedback parameters based on the preset grip posture and the spatial posture data; The addressable light source is controlled to provide visual feedback based on the pressure feedback parameters and / or the posture feedback parameters.

2. The method for writing health tips as described in claim 1, characterized in that, The attitude sensing module includes an inertial measurement unit and a capacitive sensing strip located on the body of the stylus. The capacitive sensing strip includes multiple capacitive sensing points arranged along the axial and circumferential directions of the stylus body. The step of acquiring the spatial posture data of the stylus body relative to the reference plane collected by the posture sensing module includes: Acquire the raw attitude data of the pen body collected by the inertial measurement unit; Acquire raw contact data generated when a finger comes into contact with the pen body, collected by the capacitive sensing strip; The original posture data and the original contact data are integrated in time synchronization according to the acquisition time to obtain the spatial posture data of the pen body relative to the reference plane.

3. The method for writing health tips as described in claim 2, characterized in that, The attitude feedback parameters include attitude deviation; The step of generating posture feedback parameters based on the preset grip posture and the spatial posture data includes: The original attitude data after time synchronization is subjected to a preset fusion filter to obtain the absolute attitude angle of the pen body relative to the reference plane. The posture deviation is generated based on the standard posture angle range corresponding to the preset grip posture and the absolute posture angle.

4. The method for writing health tips as described in claim 2, characterized in that, The attitude feedback parameters include contact deviation; The step of generating posture feedback parameters based on the preset grip posture and the spatial posture data further includes: Based on the preset trigger threshold and the original contact data after time synchronization, the axial and circumferential positions of the triggered capacitive sensing points are determined, and contact distribution data is generated. The contact deviation is generated based on the standard finger distribution position corresponding to the preset grip posture and the contact distribution data.

5. The method for writing health tips as described in claim 1, characterized in that, The step of generating pressure feedback parameters based on a preset pressure range and the pen tip pressure data includes: The current pressure level is determined by comparing the threshold value of the preset pressure range with the pen tip pressure data. Pressure feedback parameters are generated based on the current pressure level.

6. The method for writing health tips as described in claim 1, characterized in that, The step of controlling the addressable light source to provide visual feedback based on the pressure feedback parameters and / or the posture feedback parameters includes: Based on the pressure feedback parameters, the number of displays, display colors, and display areas corresponding to the addressable light source are determined, and a first visual feedback operation is performed based on the number of displays, the display colors, and the display areas. And / or, based on the posture feedback parameters, determine the display area and display strategy corresponding to the addressable light source, and perform a second visual feedback operation according to the display area and the display strategy.

7. A stylus, characterized in that, The stylus includes: a pressure detection module, an attitude sensing module, a main control module, and an addressable light source; The main control module is connected to the pressure detection module, the attitude sensing module and the addressable light source respectively; The pressure detection module is used to collect the pen tip pressure data of the pen tip acting on the input surface. The posture sensing module is used to collect spatial posture data of the stylus body relative to a reference plane. The main control module is used to generate pressure feedback parameters based on the preset pressure range and the pen tip pressure data; The main control module is also used to generate posture feedback parameters based on the preset grip posture and the spatial posture data; The main control module is also used to control the addressable light source to provide visual feedback based on the pressure feedback parameters and / or the posture feedback parameters.

8. The stylus as described in claim 7, characterized in that, The attitude sensing module includes an inertial measurement unit and a capacitive sensing strip located on the body of the stylus. The capacitive sensing strip includes multiple capacitive sensing points arranged along the axial and circumferential directions of the stylus body. The inertial measurement unit is used to collect the raw posture data of the pen body; The capacitive sensing strip is used to collect raw contact data generated when a finger comes into contact with the pen body; The main control module is also used to integrate the original posture data and the original contact data according to the acquisition time to obtain the spatial posture data of the pen body relative to the reference plane.

9. The stylus as described in claim 7, characterized in that, The stylus also includes a wireless communication module; The wireless communication module is connected to both the terminal device and the main control module. The wireless communication module is used to synchronously transmit the pressure feedback parameters and the posture feedback parameters transmitted by the main control module to the terminal device.

10. A storage medium, characterized in that, The storage medium stores a writing health reminder program, which, when executed by a processor, implements the steps of the writing health reminder method as described in any one of claims 1 to 6.