A scientifically designed eyeglass frame for managing eye use and a method for monitoring and reminding users of their eye-use behavior.

CN122731973APending Publication Date: 2026-09-11SHANGHAI WEIAI MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611103279.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-23
Publication Date
2026-09-11

AI Technical Summary

Technical Problem

[0002]近些年全球近视人口急剧增加,尤其是在我国,青少年儿童近视患病人数急剧增加,近视进展向高度近视及低龄化发展,使得近视成为危害公共卫生安全的一大问题,对于近视干预的方法有许多,包括户外活动、科学用眼、光学干预等,但许多近视儿童配戴近视防控眼镜后,由于用眼习惯不恰当,仍然难以达到良好的近视防控效果,而家长工作繁忙,又难以时刻监督青少年儿童的用眼习惯,对于不科学用眼的改正较为困难

Benefits of technology

[0041] This invention integrates an infrared ranging sensor and a six-axis gyroscope into the eyeglass frame, protected by an infrared cover. This achieves integrated, high-precision real-time monitoring of eye distance and head posture. Utilizing sliding window filtering, Kalman filtering, and pitch angle correction algorithms, it effectively suppresses environmental interference and dynamic false alarms, keeping the posture angle error within 0.5°. An amber-colored bio-lamp provides tiered optical alerts, automatically adjusting the constant or flashing mode and brightness based on the type and severity of the abnormality. This provides gentle and effective correction while avoiding excessive interference for children. Combined with a WeChat mini-program, it enables categorized display of poor eye habits, multi-dimensional data visualization, and weekly comprehensive report generation, allowing parents to intuitively understand their children's eye habits and implement scientific interventions. Furthermore, it features intelligent power management functions such as wear detection, automatic sleep mode, and automatic shutdown, significantly extending battery life. Threshold parameters can be individually fine-tuned to suit children of different body types, thus comprehensively assisting in improving eye behavior and enhancing myopia prevention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122731973A_ABST
    Figure CN122731973A_ABST
Patent Text Reader

Abstract

This invention provides an eyeglass frame for scientifically managing eye use, comprising a frame body, an infrared distance sensor, a six-axis gyroscope, an infrared cover plate, and a bio-lamp. The frame body includes a frame, lenses, temples, and nose pads. The infrared distance sensor is mounted on the frame to detect eye distance. The six-axis gyroscope is mounted on the frame to detect head posture angle and acceleration. The infrared cover plate is located at the front of the frame, covering the outside of the infrared distance sensor. The bio-lamp is mounted on the temples to provide optical reminders. This invention also discloses a method for monitoring and reminding eye use behavior using an eyeglass frame, including initializing the infrared distance sensor and the six-axis gyroscope, real-time acquisition of eye distance and posture angle data, and filtering and fusion processing of the acquired data. This invention achieves high-precision monitoring of eye distance and posture, tiered optical reminders, data visualization management, long battery life, adjustability, and effectively assists in myopia prevention and control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of smart glasses technology, and in particular to a glasses frame for scientifically managing eye use and a method for monitoring and reminding eye use behavior. Background Technology

[0002] In recent years, the global myopia population has increased dramatically, especially in my country, where the number of children and adolescents with myopia has risen sharply. Myopia is progressing towards high myopia and occurring at younger ages, making it a major public health and safety issue. There are many methods for myopia intervention, including outdoor activities, scientific eye care, and optical intervention. However, many myopic children still find it difficult to achieve good myopia control results after wearing myopia prevention glasses due to improper eye care habits. Parents are busy with work and find it difficult to supervise their children's eye care habits at all times, making it difficult to correct unscientific eye care practices.

[0003] Currently available myopia control glasses are merely passive optical correction tools, lacking active sensing and feedback capabilities. Even with control lenses, the effectiveness of control will be significantly reduced if children misuse their eyes. Although some smart wearable devices can monitor posture or distance, these devices are usually separate from glasses, making them inconvenient to wear and unable to accurately measure the actual distance between the eyes and the reading target. Furthermore, they cannot form an integrated solution with myopia control glasses. In addition, existing technologies lack a systematic platform for recording and analyzing eye behavior data, making it difficult for parents to obtain objective, continuous, and quantifiable behavioral data for scientific assessment and targeted intervention.

[0004] Therefore, there is an urgent need for an integrated smart glasses system that can be tightly integrated into everyday glasses, monitor eye distance and head posture in real time, provide timely and non-intrusive reminders for bad behaviors, and remotely synchronize data to parents for analysis and management. Summary of the Invention

[0005] To address the aforementioned issues, this invention proposes a scientifically designed eyeglass frame for managing eye use and a method for monitoring and reminding users of eye-use behaviors. This method enables high-precision real-time monitoring of eye distance and head posture, timely optical reminders of poor eye-use behaviors, and remote data synchronization and visualization analysis, thereby helping to improve eye habits and enhance myopia prevention and control.

[0006] This invention is achieved through the following technical solution:

[0007] An eyeglass frame for scientifically managing eye use includes a frame body, an infrared distance sensor, a six-axis gyroscope, an infrared cover plate, and a bio-lamp. The frame body includes a frame, lenses, temples, and nose pads. The infrared distance sensor is mounted on the frame to detect viewing distance. The six-axis gyroscope is mounted on the frame to detect head posture angle and acceleration. The infrared cover plate is located at the front of the frame, covering the outside of the infrared distance sensor. The bio-lamp is mounted on the temples to provide optical reminders.

[0008] The eyeglasses frame is also equipped with a main control unit for receiving sensor data and executing judgment logic; a Bluetooth module for communicating with external terminal devices; and a power module for supplying power to each module.

[0009] Preferably, the main control unit includes:

[0010] The sliding window filtering module is used to perform mean filtering on infrared ranging data;

[0011] The Kalman filter module is used to fuse angular velocity and acceleration data from a six-axis gyroscope to estimate attitude angles;

[0012] The anomaly detection module is used to determine whether the viewing distance and posture angle exceed the set thresholds;

[0013] The reminder control module is used to control the reminders of the bioluminescent lamps.

[0014] Preferably, the detection distance threshold of the infrared ranging sensor is set to less than 29cm. When the distance is continuously detected to be too close for more than 1 second, the bio-lamp is triggered to keep on as a reminder.

[0015] Preferably, the attitude angle threshold detected by the six-axis gyroscope is set as follows:

[0016] Left and right tilt angle: 17° ± 3°;

[0017] Upward angle: 40° ± 5°;

[0018] Downward tilt angle: 55° ± 5°;

[0019] When the attitude angle exceeds the above range for more than 3 seconds, the bio-light is triggered to flash as a reminder with a period of 500ms.

[0020] Preferably, the eyeglass frame further includes a wear detection module for determining whether the eyeglasses have been in a static state for more than a set time. If the time exceeds 10 minutes, the eyeglasses will automatically enter sleep mode or shut down.

[0021] Preferably, the eyeglass frame further includes a magnetic charging interface and an LED status indicator, which is used to indicate the power-on, charging, and fully charged status.

[0022] Preferably, the Bluetooth module is used to transmit viewing distance, posture angle, and abnormal event data to a WeChat mini program for user viewing and analysis.

[0023] The present invention also provides a method for monitoring and reminding users of eye use behavior based on the aforementioned eyeglass frame, comprising the following steps:

[0024] Initialize the infrared ranging sensor and the six-axis gyroscope;

[0025] Real-time acquisition of eye distance and posture angle data;

[0026] The collected data is filtered and fused.

[0027] Determine if the set threshold is exceeded;

[0028] If the threshold is exceeded and the duration exceeds the set time, a bio-light reminder will be triggered.

[0029] Data is uploaded to the terminal device via Bluetooth.

[0030] Preferably, in step S3:

[0031] Infrared ranging data are filtered using a sliding window mean filter, with a window size of 5 to 10.

[0032] The angular velocity and acceleration data from the six-axis gyroscope are fused using a discrete Kalman filter to output pitch and roll angles.

[0033] The infrared ranging value is corrected using the pitch angle, and the correction formula is as follows:

[0034] dactual = dmeasured / cosθp

[0035] Where dmeasured is the distance value directly measured by the infrared ranging sensor, θp is the pitch angle, and dactual is the corrected actual horizontal eye distance.

[0036] Preferably, the anomaly detection logic in step S4 includes:

[0037] Distance abnormality; corrected actual horizontal viewing distance (dactual) < 29 cm;

[0038] Abnormal attitude; pitch angle exceeds the range of −55° to +40°, or roll angle exceeds the range of ±17°.

[0039] An alert of the corresponding level will be triggered if the abnormal state persists for more than 500ms.

[0040] The beneficial effects of this invention are:

[0041] This invention integrates an infrared ranging sensor and a six-axis gyroscope into the eyeglass frame, protected by an infrared cover. This achieves integrated, high-precision real-time monitoring of eye distance and head posture. Utilizing sliding window filtering, Kalman filtering, and pitch angle correction algorithms, it effectively suppresses environmental interference and dynamic false alarms, keeping the posture angle error within 0.5°. An amber-colored bio-lamp provides tiered optical alerts, automatically adjusting the constant or flashing mode and brightness based on the type and severity of the abnormality. This provides gentle and effective correction while avoiding excessive interference for children. Combined with a WeChat mini-program, it enables categorized display of poor eye habits, multi-dimensional data visualization, and weekly comprehensive report generation, allowing parents to intuitively understand their children's eye habits and implement scientific interventions. Furthermore, it features intelligent power management functions such as wear detection, automatic sleep mode, and automatic shutdown, significantly extending battery life. Threshold parameters can be individually fine-tuned to suit children of different body types, thus comprehensively assisting in improving eye behavior and enhancing myopia prevention. Attached Figure Description

[0042] Figure 1 This is a schematic diagram of the eyeglass frame structure for scientific eye use according to the present invention;

[0043] Figure 2 This is a schematic diagram of the eye-use behavior monitoring and reminder method for eyeglass frames that scientifically manage eye use according to the present invention.

[0044] In the diagram: 1. Lens; 2. Nose pad; 3. Infrared rangefinder sensor; 4. Six-axis gyroscope; 5. Bio-lamp; 6. Infrared cover plate. Detailed Implementation

[0045] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0046] Example 1

[0047] Please refer to Figure 1 This is a schematic diagram of the eyeglass frame structure for scientific eye use according to the present invention. The eyeglass frame, which provides a method for scientifically managing eye use, includes a frame body, an infrared distance sensor 3, a six-axis gyroscope 4, an infrared cover plate 6, and a bio-lamp 5. The frame body includes a frame, lenses 1, temples, and nose pads 2. The infrared distance sensor 3 is mounted on the frame and is used to detect the viewing distance. The six-axis gyroscope 4 is mounted on the frame and is used to detect head posture angle and acceleration. The infrared cover plate 6 is located at the front of the frame and covers the outside of the infrared distance sensor 3. The bio-lamp 5 is mounted on the temples and is used to provide optical reminders.

[0048] The eyeglasses frame is also equipped with a main control unit for receiving sensor data and executing judgment logic; a Bluetooth module for communicating with external terminal devices; and a power module for supplying power to each module.

[0049] In this embodiment, the main body of the eyeglass frame is injection molded from TR90 ultralight polymer material, and the overall weight is controlled within 22 grams, making it suitable for children aged 6-12 years. The frame width is 128mm, the temple length is 135mm, and the nose pads 2 are made of adjustable food-grade silicone material.

[0050] The infrared ranging sensor 3 is a miniature infrared ranging sensor based on the time-of-flight (ToF) method, model VL53L0X, with a measurement range of 30mm~1000mm, an accuracy of ±5mm, and a field of view of 25°. This sensor communicates with the main control unit through the I2C interface and has a built-in laser emitter and single-photon avalanche diode receiver array. It is not sensitive to ambient light. The sensor is installed in the center of the frame, and the emission window is tilted slightly downwards at 5° to better align with the book or desktop area.

[0051] The six-axis gyroscope 4 uses the MPU6050, which integrates a three-axis gyroscope and a three-axis accelerometer. The gyroscope has a range of ±250° / s, and the accelerometer has a range of ±2g. It communicates via an I2C interface and the sampling frequency is set to 100Hz. This chip is installed on the left or right side of the frame near the temple connection to accurately sense the pitch, roll, and yaw movements of the head.

[0052] The infrared cover plate 6 is located at the front of the frame and covers the outside of the infrared ranging sensor 3. The cover plate is made of dark semi-transparent PC material, which can protect the sensor from external impact and dust contamination, and can effectively transmit infrared light signals. At the same time, it hides the sensor from the appearance, making the overall eyeglass frame more beautiful. The cover plate is fixed to the frame by snaps or ultrasonic welding.

[0053] The bio-lamp 5 uses surface-mount LEDs with a wavelength of 590nm. It is installed on the outer side of both temples near the temples and covered with translucent white silicone to make the light soft and uniform. Brightness levels are achieved through PWM dimming: 30% PWM duty cycle indicates low light, 50% indicates medium brightness, and 80% indicates high light.

[0054] The main control unit is located inside the cavity near the frame of the left temple. The main control unit is an STM32F103C8T6 with an ARM Cortex-M3 core, a 72MHz clock speed, 64KB Flash, and 20KB RAM. The main peripherals are configured as follows: Timer TIM1 generates a 10ms periodic interrupt as a control reference; Timer TIM2 outputs a PWM signal to control the biological lamp 5; I2C1 connects to the VL53L0X infrared ranging sensor 3; I2C2 connects to the MPU6050 six-axis gyroscope 4; USART1 connects to the BLE5.0 Bluetooth module; ADC monitors the battery voltage; and GPIO controls the LED indicators and button inputs.

[0055] The power module is located at the rear of the right temple. The power module uses a 702030 polymer lithium battery, which is 7mm thick, 20mm wide, and 30mm long, with a capacity of 100mAh and a rated voltage of 3.7V. The charging management chip is TP4056, the charging current is set to 100mA, and the full charge cutoff voltage is 4.2V. The magnetic charging interface adopts a four-pin design with two pins for 5V charging input and two pins for GND, and has reverse connection protection.

[0056] The Bluetooth module is located on the back of the left temple near the ear. The Bluetooth module is a low-power Bluetooth 5.0 module (model HY-40R204P), which communicates with the main control unit through the UART interface. It supports broadcast mode and connection mode, balancing response speed and power consumption. The Bluetooth module is used to transmit viewing distance, posture angle, and abnormal event data to a WeChat mini program for user viewing and analysis.

[0057] In one embodiment, the main control unit includes: a sliding window filtering module for performing mean filtering on infrared ranging data; a Kalman filtering module for fusing angular velocity data and acceleration data from the six-axis gyroscope 4 to estimate the attitude angle; an anomaly judgment module for judging whether the viewing distance and attitude angle exceed a set threshold; and a reminder control module for controlling the reminder of the bio-lamp 5.

[0058] The detection distance threshold of the infrared ranging sensor 3 is set to less than 29cm. When the distance is continuously detected to be too close for more than 1 second, the bio-lamp 5 is triggered to keep on as a reminder.

[0059] The attitude angle thresholds detected by the six-axis gyroscope 4 are set as follows: left and right tilt angles: 17° ± 3°; upward tilt angle: 40° ± 5°; downward tilt angle: 55° ± 5°. When the attitude angle exceeds the above range for more than 3 seconds, the bio-lamp 5 is triggered to flash as a reminder with a period of 500ms.

[0060] In one embodiment, the eyeglass frame further includes a wear detection module for determining whether the eyeglasses have been in a static state for more than a set time. If the time exceeds 10 minutes, the eyeglass frame will automatically enter sleep mode or shut down. The eyeglass frame also includes a magnetic charging interface and an LED status indicator, which indicates whether the eyeglasses are powered on, charging, or fully charged.

[0061] Example 2

[0062] Please refer to Figure 2 This is a schematic diagram of the eye-use behavior monitoring and reminder method for eyeglass frames that scientifically manage eye use according to the present invention, including the following steps;

[0063] S1; Initialize the infrared ranging sensor 3 and the six-axis gyroscope 4;

[0064] S2; Real-time acquisition of eye distance and posture angle data;

[0065] S3; Filter and fuse the collected data;

[0066] S4; Determine if the set threshold is exceeded;

[0067] S5; If the threshold is exceeded and the duration exceeds the set time, trigger bio-lamp 5 reminder;

[0068] S6; Uploads data to the terminal device via Bluetooth.

[0069] In step S3: the infrared ranging data is filtered using a sliding window mean filter, with a window size of 5-10; the angular velocity and acceleration data from the six-axis gyroscope 4 are fused using a discrete Kalman filter to output the pitch and roll angles; the pitch angle is used to correct the infrared ranging value, and the correction formula is:

[0070] dactual = dmeasured / cosθp

[0071] Where dmeasured is the distance value directly measured by the infrared ranging sensor 3, θp is the pitch angle, and dactual is the corrected actual horizontal eye distance.

[0072] The anomaly detection logic in step S4 includes:

[0073] Distance abnormality; corrected actual horizontal viewing distance (dactual) < 29 cm;

[0074] Abnormal attitude; pitch angle exceeds the range of −55° to +40°, or roll angle exceeds the range of ±17°.

[0075] An alert of the corresponding level will be triggered if the abnormal state persists for more than 500ms.

[0076] As described in step S1, specifically, after the system is powered on, initialization is performed first. Press and hold the button on the outside of the right mirror arm for 3 seconds to power on the main control unit and execute the following self-test process: the system clock is configured to 72MHz, peripheral clock is enabled; ADC calibration; I2C bus scan to detect whether VL53L0X and MPU6050 respond; read the factory calibration parameters stored in the internal Flash, including infrared ranging zero offset (default 0.5cm), infrared sensitivity coefficient (default 1.02), gyroscope zero bias (within ±2° / s), attitude angle threshold (tilt left and right 17°, pitch up 40°, tilt down 55°), distance threshold (29cm). The blue LED indicator flashes rapidly 3 times to indicate that the self-test is passed, and then stays on for 10 seconds before turning off.

[0077] During the Bluetooth pairing process, the Bluetooth module enters broadcast mode after powering on. The broadcast name is a preset identifier. Parents open the WeChat mini program, click "Pair Device," search for nearby Bluetooth devices, select the corresponding device, and send a pairing request. After the glasses frame confirms, the key is exchanged to complete the pairing. After pairing, parents can fill in the child's information in the mini program: nickname, date of birth, height, current myopia degree, etc., which are optional.

[0078] The on-site calibration procedure is used to adapt to the current usage environment. Parents should have their children maintain a standard sitting posture, looking straight ahead, about 40cm away from the wall or book, with their heads upright. Parents should click the calibration button in the mini-program. After receiving the command, the glasses frame will collect 50 consecutive values ​​from the infrared ranging sensor 3 and take the average as the reference distance for the current environment. At the same time, it will collect the gravity vector of the accelerometer in the six-axis gyroscope 4 in a stationary state and calculate the initial attitude angle as the zero offset. After the calibration is completed, all subsequent detections will be corrected relative to the reference of this calibration.

[0079] Regarding personalized threshold adjustments, for younger children or children with special body types, parents can fine-tune the trigger thresholds in the mini-program: the distance threshold can be set to any integer between 25cm and 35cm; the left and right tilt angle threshold can be set to 15° to 25°; the downward tilt angle threshold can be set to 45° to 65°; the upward tilt angle threshold can be set to 35° to 50°; and the reminder delay time can be set to 0.5 seconds to 3 seconds. The adjusted thresholds are sent to the glasses frame via Bluetooth and stored in Flash memory, and will not be lost when power is off.

[0080] Considering the individual physiological differences among children, such as arm length and sitting posture habits, the present invention provides a personalized adjustment function for the distance threshold. At the factory, the system uniformly presets the standard eye distance threshold of the infrared ranging sensor 3 to 30cm. In actual use, if parents or optometrists find that a child's scientific eye use distance is not the standard 30cm, but farther (e.g., 43cm), it can be precisely adjusted through the WeChat mini program. The specific operation process is as follows: Enter the device management interface of the WeChat mini program bound to the eyeglasses frame, enter the unique identification ID number of the eyeglasses frame (e.g., 100005), and in the distance threshold setting, change the original value "30" to "43" which is the actual need of the child, and save and send it; after receiving the update instruction, the eyeglasses frame will store the new threshold "43cm" in the internal Flash memory, overwriting the factory default value; thereafter, the system will perform distance anomaly detection and reminder based on the new judgment standard of "corrected actual horizontal eye distance < 43cm"; this mechanism allows the same set of hardware devices to flexibly adapt to the personalized needs of different children, avoiding frequent false alarms caused by overly strict standards, and preventing missed effective reminders due to overly lenient standards, greatly improving the universality of the product and user satisfaction.

[0081] Eye distance detection and reminder implementation

[0082] As described in steps S2 and S3, specifically, after the system enters real-time monitoring, a control interrupt is triggered every 10ms. The infrared ranging sensor 3 collects the distance signal, which is converted by the ADC and then enters the sliding window filter. The window size N of the sliding window mean filter is 7. The filtering formula is that the current filtered value is equal to the arithmetic mean of the most recent 7 sampled values. This sliding window mean filter can effectively suppress ambient light interference and random circuit noise, and output a stable distance measurement value.

[0083] Meanwhile, the three-axis gyroscope and three-axis accelerometer in the six-axis gyroscope 4 output angular velocity and acceleration data respectively. The raw data enters the discrete Kalman filter for fusion. Referring to the above correction formula, taking the pitch angle as an example, the state transition matrix in the state equation is set to 1, the control matrix is ​​set to a sampling period of 0.01 seconds, and the control input is the gyroscope angular velocity; the observation matrix in the observation equation is set to 1, and the observed value is the pitch angle calculated by the accelerometer. The Kalman filter outputs the optimal attitude angle estimate in each cycle through five steps: state prediction, error covariance prediction, Kalman gain calculation, state update, and error covariance update. The static error does not exceed 0.5°, and the dynamic tracking delay does not exceed 50ms. To avoid the gimbal lock problem of Euler angles under extreme attitudes, the algorithm uses quaternions to represent the attitude. The quaternion update formula is that the derivative of the quaternion is equal to half of the product of the quaternion and the quaternion of the angular velocity vector. When outputting, it is converted into Euler angles, namely pitch angle, roll angle, and yaw angle.

[0084] After obtaining the pitch angle, the system corrects the infrared ranging value. The correction formula is that the actual horizontal viewing distance is equal to the measured distance divided by the cosine of the pitch angle. This correction solves the problem that the oblique distance and the horizontal distance are inconsistent when looking down or up. In actual tests, in 100 head-down tests, the pitch angle correction algorithm of this invention reduced the false trigger rate from 32% before correction to less than 3%, which significantly improved the detection accuracy.

[0085] The system then performs anomaly detection; if the corrected actual horizontal viewing distance is less than 29cm, it is determined that the distance is too close, and a duration timer is started. If this state lasts for more than 1 second, the biological lamp 5 is triggered to stay on as a reminder. The system provides graded reminders based on the duration: 1 to 2 seconds is mild, with a PWM duty cycle of 30%; 2 to 5 seconds is moderate, with a PWM duty cycle of 50%; and more than 5 seconds is severe, with a PWM duty cycle of 80%. When the distance returns to normal, the biological lamp 5 immediately turns off. At the same time, this abnormal event is recorded, including fields such as start timestamp, end timestamp, minimum corrected distance, and average distance.

[0086] Posture detection and reminder implementation

[0087] The attitude angles output by the six-axis gyroscope 4 include pitch angle and roll angle. As mentioned above, the attitude angle threshold range set by the system is as follows: left and right tilt angles, i.e., roll angle, are 17°±3°; upward tilt angles, i.e., positive values ​​of pitch angle, are 40°±5°; downward tilt angles, i.e., negative values ​​of pitch angle, are 55°±5°.

[0088] When the pitch angle exceeds the range of -55° to +40° or the roll angle exceeds the range of ±17°, the system determines that the sitting posture is incorrect and starts a duration timer. If the state lasts for more than 3 seconds, the bio-lamp 5 will be triggered to periodically flash as a reminder. The flashing period and brightness are graded according to the severity of the abnormality: 3 to 5 seconds is mild, with a flashing period of 500ms and a PWM duty cycle of 40%; 5 to 10 seconds is moderate, with a flashing period of 300ms and a PWM duty cycle of 60%; and more than 10 seconds is severe, with a flashing period of 200ms and a PWM duty cycle of 80%. When the posture returns to normal, the bio-lamp 5 immediately stops flashing.

[0089] If a child simultaneously lowers their head and tilts their head, the system will prioritize identifying it as an incorrect sitting posture and mark both dimensions as abnormal in the record. The BioLight 5 reminder method uses the highest level for combined abnormalities, and the abnormal state must last for more than 500ms to be confirmed as a valid abnormality. This anti-shake design can avoid false triggering caused by the child's brief posture adjustment.

[0090] Bluetooth data transmission and WeChat mini programs

[0091] As described in step S6, specifically, the eyeglasses frame uploads unsynchronized event records via Bluetooth at a fixed time each day, such as 9 PM, or when actively requested by the WeChat mini-program. Data transmission uses a custom binary protocol, with each record being 24 bytes, including a frame header, event type, Unix timestamp, duration, measurement value, and checksum. The Bluetooth module is normally in broadcast mode to reduce power consumption. After connection is established, data is transmitted at a baud rate of 115200, and automatically disconnected after transmission is complete. The WeChat mini-program, serving as the human-computer interaction and data management platform of this invention, has the following functional modules: a user login and device binding module supports one-click login via WeChat, binding is completed by scanning the QR code on the eyeglasses frame or manually entering the Bluetooth MAC address; each mini-program account can bind multiple eyeglasses devices; and a personal information management module records the child's age, height, grade, etc. Basic information such as myopia degree is used for personalized threshold recommendations. The device parameter calibration module allows parents to fine-tune parameters such as the infrared ranging zero point and posture angle threshold, which is achieved by sending configuration commands to the eyeglasses frame via Bluetooth. The poor eye use record display module is categorized by date and displays the start and end time and type of each abnormal event in a timeline format. It supports filtering data by week and month. The data visualization and analysis module provides various charts such as eye use distance distribution chart, posture angle change chart, poor eye use frequency bar chart, and comprehensive score radar chart. The comprehensive eye use analysis report module automatically generates a weekly report, which includes the total number of poor eye use events this week, the main abnormal types, the trend compared with last week, the highest risk period of the day, and provides targeted text suggestions. This system does not have a points redemption or mall function, focusing on eye health management. It supports multiple parents to share and view the data, making it convenient for parents to participate in supervision.

[0092] Intelligent power management

[0093] As described above, the system is designed with the following low-power strategy to extend battery life. Wear detection combines infrared ranging and motion detection methods: if any infrared sampling value is less than 80cm and greater than 5cm, and five consecutive samples are within this range, it is determined that the device is being worn; if the amplitude of the combined vector of the three-axis accelerometer deviates from 1g by more than 0.1g, or the absolute value of the angular velocity of any axis of the gyroscope is greater than 5° / s, it is determined that the device is in motion and implicitly worn.

[0094] In terms of state transition, all functions are fully enabled when worn normally, with an operating current of approximately 8 to 25 mA. After 30 consecutive seconds of being determined as not being worn, the system enters a light sleep state: the continuous infrared sampling is turned off and replaced with sampling once every 5 seconds, the attitude calculation algorithm is turned off, while Bluetooth broadcasting and real-time clock are retained, and the current drops to 1.2 mA. After 10 minutes of standby without being worn, the system prepares to shut down, first saving the currently unsynchronized data to Flash, then turning off Bluetooth broadcasting, stopping all sensors, and performing a complete shutdown. The total current is less than 1 μA, and it can monitor normally for more than 48 hours when fully charged.

[0095] For charging management, when the user connects the magnetic charging cable to the eyeglass frame, the charging chip detects a 5V input and automatically starts charging. The LED indicator turns solid red, the system wakes up and enters charging mode, and the sensors are turned off, monitoring only the battery level and communication. When the battery voltage reaches 4.18V, the charging current gradually decreases, eventually cutting off at 4.20V, and the LED indicator turns off, indicating a full charge. Battery level monitoring uses an ADC to collect the battery voltage and maps it to a battery percentage.

[0096] This invention integrates an infrared ranging sensor 3 and a six-axis gyroscope 4 into the eyeglass frame, protected by an infrared cover plate 6. This achieves integrated, high-precision real-time monitoring of eye distance and head posture. Utilizing sliding window filtering, Kalman filtering, and pitch angle correction algorithms, it effectively suppresses environmental interference and dynamic false alarms, keeping the posture angle error within 0.5°. An amber-colored biological lamp 5 provides tiered optical reminders, automatically adjusting the constant or flashing mode and brightness according to the type and severity of the abnormality, providing gentle and effective correction while avoiding excessive interference to children. Combined with a WeChat mini-program, it enables categorized display of poor eye habits, multi-dimensional data visualization, and weekly comprehensive report generation, allowing parents to intuitively understand their children's eye habits and implement scientific interventions. It also features intelligent power management functions such as wear detection, automatic sleep mode, and automatic shutdown, significantly extending battery life. Furthermore, the threshold parameters can be individually fine-tuned to suit children of different body types, thus comprehensively assisting in improving eye behavior and enhancing myopia prevention and control.

[0097] Of course, the present invention may have many other embodiments. Based on this embodiment, other embodiments obtained by those skilled in the art without any creative effort are all within the scope of protection of the present invention.

Claims

1. A pair of eyeglasses frames for scientifically managing eye use, characterized in that, The device includes a main frame, an infrared distance sensor (3), a six-axis gyroscope (4), an infrared cover plate (6), and a bio-lamp (5). The main frame includes a frame, lenses (1), temples, and nose pads (2). The infrared distance sensor (3) is mounted on the frame and is used to detect the distance to the eyes. The six-axis gyroscope (4) is mounted on the frame and is used to detect the head posture angle and motion acceleration. The infrared cover plate (6) is located at the front of the frame and covers the outside of the infrared distance sensor (3). The bio-lamp (5) is mounted on the temples and is used to provide optical reminders. The eyeglasses frame is also equipped with a main control unit for receiving sensor data and executing judgment logic; and a Bluetooth module for communicating with external terminal devices. A power supply module is installed to provide power to each module.

2. The eyeglass frame for scientifically managing eye use according to claim 1, characterized in that, The main control unit includes: The sliding window filtering module is used to perform mean filtering on infrared ranging data; The Kalman filter module is used to fuse the angular velocity data and acceleration data from the six-axis gyroscope (4) to estimate the attitude angle; The anomaly detection module is used to determine whether the viewing distance and posture angle exceed the set thresholds; The reminder control module is used to control the reminders of the biological lamp (5).

3. The eyeglass frame for scientifically managing eye use according to claim 1, characterized in that, The detection distance threshold of the infrared ranging sensor (3) is set to less than 29cm. When the distance is detected to be too close for more than 1 second, the bio-lamp (5) is triggered to keep on as a reminder.

4. The eyeglass frame for scientifically managing eye use according to claim 1, characterized in that, The attitude angle threshold detected by the six-axis gyroscope (4) is set as follows: Left and right tilt angle: 17° ± 3°; Upward angle: 40° ± 5°; Downward tilt angle: 55° ± 5°; When the attitude angle exceeds the above range for more than 3 seconds, the bio-lamp (5) is triggered to flash as a reminder with a period of 500ms.

5. The eyeglass frame for scientifically managing eye use according to claim 1, characterized in that, The eyeglasses frame also includes a wear detection module, which is used to determine whether the glasses have been in a static state for more than a set time. If it exceeds 10 minutes, it will automatically enter sleep mode or shut down.

6. The eyeglass frame for scientifically managing eye use according to claim 1, characterized in that, The eyeglass frame also includes a magnetic charging interface and an LED status indicator, which is used to indicate the power-on, charging, and fully charged status.

7. The eyeglass frame for scientifically managing eye use according to claim 1, characterized in that, The Bluetooth module is used to transmit viewing distance, posture angle, and abnormal event data to the WeChat mini program for user viewing and analysis.

8. A method for monitoring and reminding users of eye use behavior based on an eyeglass frame according to any one of claims 1 to 7, characterized in that, Includes the following steps: Initialize the infrared ranging sensor (3) and the six-axis gyroscope (4); Real-time acquisition of eye distance and posture angle data; The collected data is filtered and fused. Determine if the set threshold is exceeded; If the threshold is exceeded and the duration exceeds the set time, the bio-lamp (5) will be triggered as a reminder; Data is uploaded to the terminal device via Bluetooth.

9. The method for monitoring and reminding users of eye-use behavior in a pair of eyeglasses frames for scientific management of eye use according to claim 8, characterized in that, In step S3: Infrared ranging data are filtered using a sliding window mean filter, with a window size of 5 to 10. The angular velocity data and acceleration data in the six-axis gyroscope (4) are fused using discrete Kalman filtering to output pitch and roll angles; The infrared ranging value is corrected using the pitch angle, and the correction formula is as follows: dactual = dmeasured / cosθp Where dmeasured is the distance value directly measured by the infrared ranging sensor (3), θp is the pitch angle, and dactual is the corrected actual horizontal eye distance.

10. The method for monitoring and reminding users of eye use behavior in a pair of eyeglasses frames for scientific management of eye use according to claim 9, characterized in that, The anomaly detection logic in step S4 includes: Distance abnormality; corrected actual horizontal viewing distance (dactual) < 29 cm; Abnormal attitude; pitch angle exceeding the range of −55° to +40°, or roll angle exceeding the range of ±17°. An alert of the corresponding level will be triggered if the abnormal state persists for more than 500ms.