A visual fatigue intervention method based on effective working hour accumulation and safety fusing
By collecting motion and gaze data in real time, combined with scene risk levels and physiological rest behaviors, precise intervention for visual fatigue was achieved, solving the problems of inaccurate timing and safety hazards, and improving user compliance and management effectiveness.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- LERONG SMART HOME (BEIJING) TECHNOLOGY DEVELOPMENT CO LTD
- Filing Date
- 2026-04-13
- Publication Date
- 2026-06-05
AI Technical Summary
Existing eye fatigue management technologies cannot accurately identify the user's actual screen time, resulting in inaccurate timing, safety hazards, and poor user compliance.
By collecting real-time data on the wearer's movement and gaze, and combining this with the current risk level of the scene, the system can accurately accumulate or maintain an effective working time counter. It can also shield external interactive input signals under specific spectral intervention conditions and monitor physiological rest behaviors in real time to ensure effective intervention.
It enables scientific management of continuous eye use behavior, ensures user safety and comfort, improves the scientific nature and compliance of interventions, prevents cheating, and forms a sustainable closed loop for visual fatigue management.
Smart Images

Figure CN122141094A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of smart wearable device technology, and in particular to a method for intervening in visual fatigue based on effective working hours accumulation and safety circuit breaker. Background Technology
[0002] Currently, the market mainly offers the following technical solutions to address eye strain caused by prolonged screen time: The first category is timed reminder tools, typically represented by the Pomodoro Technique or various mobile applications. These solutions use a fixed elapsed time timing logic; regardless of the user's state, the timer counts down for a preset duration and issues a reminder when the time is up. However, this timing method cannot distinguish whether the user is truly in a "work-ready" state of continuous screen-gazing. When the user gets up, moves around, attends a meeting, or briefly leaves during the timing period, the timer continues to accumulate, causing the user to receive a reminder shortly after resuming work, resulting in false alarms. Conversely, if the user gets up frequently, a reset logic solution may prevent the timer from reaching the preset duration, leading to missed alarms. This timing method fails to accurately capture the core fatigue behavior of "continuous screen-gazing," resulting in inaccurate intervention timing.
[0003] The second category is forced occlusion glasses. These devices, after a preset time, use electrochromic or mechanical flipping to darken or change the lens color, thus forcibly interrupting the user's vision. However, these devices generally lack the ability to sense the user's movement. If the darkening is triggered while walking, going up or down stairs, or driving, the lens will instantly block the entire field of vision, causing temporary blindness and posing a significant safety hazard. Furthermore, these devices typically allow users to manually turn them off via a physical button during intervention, rendering the initial intention of "forced rest" meaningless and resulting in low user compliance.
[0004] The third category is wearable devices that provide reminders, such as smart bracelets or glasses, which use vibrations or sounds to prompt users to rest. This type of intervention is relatively gentle, but because it only provides reminders and lacks the ability to force an interruption, users often ignore the reminders when busy, making it difficult to achieve a true rest. Furthermore, current technology lacks methods to verify the effectiveness of rest behaviors, making it impossible to ensure that users actually perform relaxing actions such as closing their eyes or gazing into the distance.
[0005] In summary, existing technologies have significant shortcomings in terms of the scientific validity of timing logic, the safety of the intervention process, and the guarantee of user compliance. How to accurately identify a user's actual screen time, implement effective interventions while ensuring safety, and establish a verifiable rest loop has become a pressing technical problem to be solved in the field of visual fatigue management. Summary of the Invention
[0006] This disclosure provides a visual fatigue intervention method based on effective working hours accumulation and safety circuit breaker, which solves the above-mentioned technical problems.
[0007] According to a first aspect of this disclosure, a visual fatigue intervention method based on effective working hours accumulation and safety circuit breaker is provided. The method includes: The system collects the wearer's motion and gaze data in real time, and performs an accumulation or hold operation on the effective working time counter based on the joint determination result of the motion and gaze data. When the cumulative value of the effective working hours counter reaches the preset intervention trigger threshold, the timing of intervention is determined and an intervention control command is generated, taking into account the current risk level of the scenario and the wearer's real-time movement status. In response to the intervention control command, the optical modulation lens of the spectral intervention glasses is driven to switch from a transparent working state to a specific spectral intervention state, and external interactive input signals are simultaneously shielded; During the duration of the specific spectral intervention state, the wearer's physiological rest behavior characteristics are monitored in real time. When physiological rest behavior characteristics that meet the preset relaxation conditions are detected, a reset control command is generated. In response to the reset control command, the optical modulation lens of the spectral intervention glasses is driven back to the transparent working state, the shielding of external interactive input signals is released, and the effective working time counter is cleared.
[0008] In addition to the aspects and any possible implementations described above, a further implementation is provided, wherein the real-time acquisition of the wearer's motion state data and gaze state data, and the performance of an accumulation or hold operation on the effective working hour counter based on the joint determination result of the motion state data and gaze state data, includes: Acceleration and angular velocity data are collected by an inertial sensing unit, and the real-time motion intensity index is calculated based on the root mean square value of the sliding window of the acceleration magnitude. Eye image data or infrared reflection data are collected by an eye-tracking sensor unit, and the real-time gaze direction vector is calculated after feature extraction. When the real-time motion intensity index is continuously below the first static threshold for a duration of a first preset duration, and the wearer is in an effective gaze state for a duration of a duration of a second preset duration, it is determined that the wearer is in an effective working static state, and an accumulation pulse is sent to the effective working time counter to perform an accumulation operation. When the duration for which the real-time motion intensity index is continuously below the first static threshold does not reach the first preset duration, or when the duration for which the wearer is in an effective gaze state does not reach the second preset duration, the sending of accumulation pulses to the effective working time counter is paused, and the current value of the effective working time counter remains unchanged; wherein, The wearer being in an effective gaze state includes: the wearer's real-time gaze direction vector pointing within the space of the preset target area or the wearer's real-time gaze point being located within the preset target area.
[0009] In addition to the aspects and any possible implementations described above, a further implementation is provided in which the current scenario risk level is obtained through the following steps: Real-time acquisition of environmental feature data of the wearer's current location, wherein the environmental feature data includes at least one of spatial positioning data, wireless communication protocol data, or time-series data of environmental physical quantities; Based on a pre-stored risk feature library, the environmental feature data is matched and analyzed in real time to determine the risk level of the current scenario.
[0010] In addition to the aspects and any possible implementations described above, a further implementation is provided, wherein determining the timing of intervention and generating intervention control instructions by combining the current scenario risk level with the wearer's real-time movement status includes: If a data sequence matching a preset high-risk characteristic pattern is detected, the current scenario's risk level is determined to be high-risk; if no data sequence matching the preset high-risk characteristic pattern is detected, the current scenario's risk level is determined to be low-risk. The preset high-risk feature patterns include: road intersections, construction sites or stairwell areas matched based on the spatial positioning data; vehicle internal networks or identification information of moving vehicles identified based on the wireless communication protocol data; and one or more combinations of acceleration abrupt changes, height changes or rapid fluctuations in ambient light intensity detected based on the environmental physical quantity time series data. If the current scenario risk level is high, a suppression command is generated to block the generation of intervention and control commands, and environmental feature data is continuously monitored in a loop. If the current scenario risk level is low, then it is further determined whether the real-time motion intensity index is higher than the second static threshold; wherein, the second static threshold is greater than the first static threshold. If the real-time motion intensity index is higher than the second static threshold, the suspend timer is started to enter the delay waiting process, and the real-time motion intensity index is continuously monitored until the duration of the index being lower than the second static threshold reaches the third preset duration, at which point an intervention control command is generated; during this delay waiting process, the effective working time counter remains in a paused accumulation state. If the real-time motion intensity index is lower than or equal to the second resting threshold, an intervention control command is generated directly.
[0011] As described above and in any possible implementation, a further implementation is provided in which the delayed waiting process further includes: During the delayed waiting process, the cumulative duration of the suspended timer is compared with the preset maximum waiting time limit in real time; If the real-time motion intensity index still does not meet the condition of being continuously below the second static threshold and lasting for a duration of a third preset time when the cumulative duration of the suspended timer reaches the preset maximum waiting time limit, a downgrade intervention instruction is generated. In response to the degradation intervention command, the optical modulation lens is controlled to periodically switch between a transparent working state and a specific spectral intervention state, and tactile or auditory warning signals are output simultaneously. If the current scenario risk level changes from low risk to high risk during the delay waiting process, the delay waiting process is immediately terminated, the accumulation operation of the effective working hours counter is paused and the current accumulated value is saved, and the suspended timer is reset; after the current scenario risk level returns to low risk, the accumulation operation of the effective working hours counter is resumed.
[0012] In addition to the aspects and any possible implementations described above, a further implementation is provided in which the optical modulation lens employs a multilayer composite optical structure, including an electrically controlled polarization layer and an electrochromic layer.
[0013] In addition to the aspects and any possible implementations described above, a further implementation is provided in which the action of driving the optical modulation lens of the spectral intervention glasses to switch from a transparent working state to a specific spectral intervention state in response to the intervention control command includes: In response to the intervention control command, a driving voltage signal is generated to control the electro-polarized layer to switch between a transparent state and a polarization scattering state, and to control the electrochromic layer to switch between a transparent state and an amber coloring state. Under a specific spectral interference state, the electrically controlled polarization layer strongly scatters the linearly polarized light emitted from the liquid crystal screen, causing its transmittance to drop below the first transmittance threshold, while the transmittance of the ambient unpolarized light remains above the second transmittance threshold. This causes the contrast of the electronic display content observed through the optical modulation lens to drop below a preset contrast threshold, making the electronic display content unrecognizable to the naked eye, while the natural environment scene observed through the optical modulation lens remains clearly discernible.
[0014] In addition to the aspects and any possible implementations described above, a further implementation is provided, wherein the real-time monitoring of the wearer's physiological rest behavior characteristics, and the generation of a reset control command when physiological rest behavior characteristics that meet preset relaxation conditions are detected, includes: When the wearer is stationary and not under intervention, infrared distance time-series data during natural blinking is collected. The preset trough determination threshold is dynamically calibrated based on the waveform extreme value and updated to the calibrated trough determination threshold. Infrared distance time-series data is collected at the first sampling frequency, and the calibrated trough determination threshold is used to perform trough detection and duration statistics to obtain the continuous eyelid closure duration. Head posture timing data is collected at a second sampling frequency. The elevation angle is calculated and the duration is statistically analyzed for the head posture timing data to obtain the duration of continuous head elevation angle maintenance. When the duration of continuous eyelid closure reaches a preset eye-closing rest threshold and the real-time motion intensity index is lower than a preset motion amplitude threshold, it is determined that the eye-closing relaxation condition is met. When the duration of the continuous head tilt reaches the preset threshold for gazing into the distance for rest, and real-time infrared distance data indicates that the eyelids are open, it is determined that the conditions for gazing into the distance for relaxation are met. If either the closed-eye relaxation condition or the distant-looking relaxation condition is met, then the physiological rest behavior characteristics that meet the preset relaxation conditions are detected, and a reset control command is generated.
[0015] As described above and in any possible implementation, a further implementation is provided in which the spectral intervention glasses include physical buttons, and the shielding of external interactive input signals includes: By executing an interrupt disable operation on the interrupt signal line connected to the physical button through the interrupt controller, the interrupt response path from the button signal to the central processing unit is cut off at the hardware level. When the shielding of external interactive input signals is removed, the external interrupt response path is restored by sending an interrupt enable command to the interrupt controller.
[0016] As described above and in any possible implementation, a further implementation is provided in which the spectral intervention glasses further include a wear detection sensor, and the method further includes: The wear detection sensor monitors the wear contact status signal in real time. If, under a specific spectral intervention state, the wearing contact state signal is detected to switch from an effective state to an ineffective state, and the duration exceeds a preset disengagement time threshold, then a forced lockout state is entered. In the forced lock state, regardless of whether the wearing contact status signal is restored to the valid state, the optical modulation lens is kept in a specific spectral interference state and all single-trigger external interactive input signals are blocked. The forced lockout state will be exited and a reset control command will be generated only if any of the following conditions are met while the forced lockout state is in effect: The signal indicating that the wearing contact state has been restored to an effective state is detected, and after re-wearing, it is fully detected that either the closed-eye relaxation condition or the distant-looking relaxation condition is met; or The forced lock state lasts for the maximum preset lock time limit.
[0017] According to a second aspect of this disclosure, a visual fatigue intervention device based on effective working hours accumulation and safety circuit breaker is provided. The device includes: The data acquisition module is used to collect the wearer's motion state data and gaze state data in real time, and to perform an accumulation operation or a hold operation on the effective working time counter based on the joint determination result of the motion state data and gaze state data. The intervention instruction generation module is used to determine the timing of intervention and generate intervention control instructions when the cumulative value of the effective working hours counter reaches the preset intervention trigger threshold, in combination with the current scenario risk level and the wearer's real-time movement status. An intervention state switching module is used to respond to the intervention control command, drive the optical modulation lens of the spectral intervention glasses to switch from a transparent working state to a specific spectral intervention state, and simultaneously shield external interactive input signals; The reset command generation module is used to monitor the wearer's physiological rest behavior characteristics in real time during the duration of the specific spectral intervention state, and generate a reset control command when physiological rest behavior characteristics that meet the preset relaxation conditions are detected. The working state switching module is used to respond to the reset control command, drive the optical modulation lens of the spectral intervention glasses to return to the transparent working state, remove the shielding of external interactive input signals, and clear the effective working time counter.
[0018] According to a third aspect of this disclosure, an electronic device is provided. The electronic device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the program to implement the method described above.
[0019] According to a fourth aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the methods according to the first and / or second aspects of this disclosure.
[0020] In this disclosure, firstly, by collecting motion and gaze states in real time, and then accumulating or maintaining an effective working time counter based on the joint judgment result, the core fatigue behavior of "truly continuous screen viewing" is accurately captured. Compared to traditional fixed timers, this mechanism automatically eliminates non-gazing periods such as user movement and meetings, avoiding frequent interruptions and ensuring the necessity of intervention, thereby significantly improving the scientific nature of fatigue intervention and user compliance.
[0021] Secondly, when the accumulated value reaches the intervention trigger threshold, this disclosure does not simply execute the intervention, but further combines the current scenario risk level and real-time motion status to determine the timing of intervention execution. This "safety circuit breaker" mechanism constitutes a dual safety guarantee: on the one hand, in high-risk scenarios, the generation of intervention commands is directly suppressed to avoid triggering visual changes in dangerous environments; on the other hand, even in low-risk scenarios, if the user is in motion, the system will enter a delay waiting process, and the intervention will only be executed after the user returns to stillness and stability. This design completely eliminates the possibility of sudden visual intervention during walking or driving, fundamentally solving the safety hazards existing in the prior art.
[0022] Secondly, during the intervention execution phase, the driving optical modulation lens switches to a specific spectral intervention state, simultaneously blocking external interactive input signals. Compared to traditional complete blackout, this spectral intervention state renders the electronic screen content unreadable due to loss of contrast while maintaining a clear view of the environment. This achieves a "forced interruption" of work without affecting the user's perception of safety, resulting in higher psychological acceptance. The hardware lock mechanism, on the other hand, cuts off the response path of physical buttons at the hardware level, preventing users from bypassing the intervention through simple operations and ensuring the inescapability of the rest behavior.
[0023] Finally, during the intervention, the only unlocking condition is the wearer's physiological rest behavior characteristics (such as closing their eyes or looking into the distance) monitored in real time. The intervention is only lifted and the counter is reset when physiological behavior that meets the preset relaxation conditions is detected. This closed-loop verification mechanism effectively prevents cheating and ensures the authenticity and effectiveness of the rest. At the same time, after resetting, the system automatically starts a new round of accumulation cycle, forming a sustainable closed loop for visual fatigue management.
[0024] In summary, this disclosure, through the organic coordination of four stages—"precise accumulation—safe circuit breaking—spectral intervention—physiological unlocking"—not only solves the core problems of inaccurate timing, safety hazards, and poor compliance in existing technologies, but also achieves scientific management and mandatory intervention of continuous eye use behavior while ensuring user safety and comfort, demonstrating significant technological progress.
[0025] It should be understood that the description in the Summary of the Invention is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0026] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. The drawings are provided for a better understanding of the invention and are not intended to limit the scope of this disclosure. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein: Figure 1 A flowchart of a visual fatigue intervention method based on effective working hours accumulation and safety circuit breaker provided by an embodiment of the present disclosure is shown; Figure 2 A structural diagram of a visual fatigue intervention device based on effective working hours accumulation and safety circuit breaker provided by an embodiment of the present disclosure is shown. Figure 3 A structural diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure is shown. Detailed Implementation
[0027] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0028] Furthermore, the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0029] In this disclosure, firstly, by collecting motion and gaze states in real time, and then accumulating or maintaining an effective working time counter based on the joint judgment result, the core fatigue behavior of "truly continuous screen viewing" is accurately captured. Compared to traditional fixed timers, this mechanism automatically eliminates non-gazing periods such as user movement and meetings, avoiding frequent interruptions and ensuring the necessity of intervention, thereby significantly improving the scientific nature of fatigue intervention and user compliance.
[0030] Secondly, when the accumulated value reaches the intervention trigger threshold, this disclosure does not simply execute the intervention, but further combines the current scenario risk level and real-time motion status to determine the timing of intervention execution. This "safety circuit breaker" mechanism constitutes a dual safety guarantee: on the one hand, in high-risk scenarios, the generation of intervention commands is directly suppressed to avoid triggering visual changes in dangerous environments; on the other hand, even in low-risk scenarios, if the user is in motion, the system will enter a delay waiting process, and the intervention will only be executed after the user returns to stillness and stability. This design completely eliminates the possibility of sudden visual intervention during walking or driving, fundamentally solving the safety hazards existing in the prior art.
[0031] Secondly, during the intervention execution phase, the driving optical modulation lens switches to a specific spectral intervention state, simultaneously blocking external interactive input signals. Compared to traditional complete blackout, this spectral intervention state renders the electronic screen content unreadable due to loss of contrast while maintaining a clear view of the environment. This achieves a "forced interruption" of work without affecting the user's perception of safety, resulting in higher psychological acceptance. The hardware lock mechanism, on the other hand, cuts off the response path of physical buttons at the hardware level, preventing users from bypassing the intervention through simple operations and ensuring the inescapability of the rest behavior.
[0032] Finally, during the intervention, the only unlocking condition is the wearer's physiological rest behavior characteristics (such as closing their eyes or looking into the distance) monitored in real time. The intervention is only lifted and the counter is reset when physiological behavior that meets the preset relaxation conditions is detected. This closed-loop verification mechanism effectively prevents cheating and ensures the authenticity and effectiveness of the rest. At the same time, after resetting, the system automatically starts a new round of accumulation cycle, forming a sustainable closed loop for visual fatigue management.
[0033] In summary, this disclosure, through the organic coordination of four stages—"precise accumulation—safe circuit breaking—spectral intervention—physiological unlocking"—not only solves the core problems of inaccurate timing, safety hazards, and poor compliance in existing technologies, but also achieves scientific management and mandatory intervention of continuous eye use behavior while ensuring user safety and comfort, demonstrating significant technological progress.
[0034] Figure 1 The flowchart illustrates a visual fatigue intervention method based on effective working hours accumulation and safety circuit breaker provided by an embodiment of this disclosure, as shown below. Figure 1 As shown, a visual fatigue intervention method 100 based on effective working hours accumulation and safety circuit breaker may include the following steps: S110 collects the wearer's motion and gaze data in real time, and performs an accumulation or hold operation on the effective working time counter based on the joint determination result of the motion and gaze data.
[0035] In some embodiments, real-time acquisition of the wearer's motion state data and gaze state data, and based on the joint determination result of the motion state data and gaze state data, performing an accumulation operation or a hold operation on the effective working hour counter, includes: Acceleration and angular velocity data are collected by an inertial sensing unit, and the real-time motion intensity index is calculated based on the root mean square value of the sliding window of the acceleration magnitude. Eye image data or infrared reflection data are collected by an eye-tracking sensor unit, and the real-time gaze direction vector is calculated after feature extraction. When the real-time motion intensity index is continuously below the first static threshold for a duration of a first preset duration, and the wearer is in an effective gaze state for a duration of a second preset duration, it is determined that the wearer is in an effective working static state, and an accumulation pulse is sent to the effective working time counter to perform the accumulation operation. When the duration for which the real-time motion intensity index remains below the first static threshold does not reach the first preset duration, or when the duration for which the wearer is in an effective gaze state does not reach the second preset duration, the sending of accumulation pulses to the effective working time counter is paused, and the current value of the effective working time counter remains unchanged; wherein, The wearer being in an effective gaze state includes: the wearer's real-time gaze direction vector pointing within a preset target area, or the wearer's real-time gaze point being located within the preset target area. Specifically, firstly, through an inertial sensing unit built into the temples or frame of the spectral intervention glasses, the wearer's acceleration and angular velocity data in three-dimensional space are continuously collected at a set sampling frequency. For each sampling moment... Raw acceleration data collected along the X, Y, and Z axes , , Calculate its modulus This magnitude represents the overall intensity of instantaneous acceleration. To avoid interference from minor non-walking movements such as blinking and slight head swaying in motion state determination, the root mean square (RMS) calculation is performed on the acceleration magnitude sequence within a sliding window of a preset length N. Where N is the duration of the sliding window. With sampling frequency The product (i.e.) ); At the current moment, the window contains information from... arrive There are N acceleration magnitude sample points. For each new acceleration data point acquired, the window slides forward one position, discarding the oldest point and incorporating the newest. The mean of the sum of squares of all sample points within the window is recalculated, and then the square root is taken to obtain a real-time updated motion intensity index. This index can smoothly filter out instantaneous disturbances, and its value will only remain below a pre-defined first rest threshold when the wearer is truly in a relatively static sitting or standing posture. Simultaneously, eye-tracking sensing units located on the nose pads or inside the frame of the spectral intervention glasses acquire eye image data of the wearer or infrared distance data reflected from the cornea using infrared transmitting and receiving components. A gaze estimation method based on pupil center and corneal reflection (PCCR) is employed: First, a miniature infrared camera and multiple infrared LED light sources continuously acquire infrared images of the eye at a set frame rate. The infrared LEDs illuminate the eyeball from a specific angle, forming a bright spot (Pulchin spot) on the corneal surface. For each frame, the pupil center coordinates are extracted through adaptive thresholding and ellipse fitting, and the corneal reflection spot center coordinates are extracted through connected component analysis and centroid calculation. Then, a two-dimensional offset vector of the pupil center relative to the corneal reflection spot center is calculated. Since the geometric position of the eye-tracking sensor unit relative to the wearer's head is fixed, this two-dimensional offset vector is converted into the gaze axis direction in three-dimensional space using a factory-calibrated mapping function. Then, the fixed angle between the visual axis and the optical axis (typically 3°~5°) is compensated according to individual physiological differences, ultimately reconstructing the true gaze axis direction vector. Before first use, a calibration process is performed: the wearer is guided to sequentially gaze at multiple preset calibration points on the screen. A mapping model between the pupil-corneal reflection offset vector and the gaze point in screen space is established using second-order polynomial fitting. The mapping parameters are solved using the least squares method to adapt to the physiological differences in the eyeballs of different wearers. After the above feature extraction and algorithm calculation, a real-time gaze direction vector is obtained, which is used to determine whether the wearer's current gaze point is within the preset target area (e.g., the conventional spatial location of the electronic screen).
[0036] Based on the real-time output of the aforementioned motion intensity index and gaze direction vector, the controller performs a joint determination: when the duration for which the real-time motion intensity index is continuously below the first static threshold reaches a first preset duration (e.g., 10 consecutive seconds are considered static), and the duration for which the wearer is in an effective gaze state reaches a second preset duration (e.g., 5 consecutive seconds of gaze at the screen area), the controller determines that the wearer is in an effective working static state and sends an accumulation pulse to the effective working time counter, causing the counter to accumulate effective working time according to a preset time step. The wearer being in an effective gaze state includes: the wearer's real-time gaze direction vector pointing within the spatial range of a preset target area, or the wearer's real-time gaze point being located within the preset target area. Conversely, when the duration for which the real-time motion intensity index is continuously below the first static threshold does not reach the first preset duration, or the duration for which the wearer is in an effective gaze state does not reach the second preset duration, the controller pauses sending accumulation pulses to the effective working time counter, keeping the current value of the effective working time counter unchanged, neither clearing it to zero nor accumulating it, until the dual conditions of static and gaze are met again. Through the aforementioned joint judgment mechanism, the effective working hours counter only accumulates continuous eye use periods during which the wearer is truly "stationary and focused on the screen," thereby accurately eliminating ineffective working states such as walking, meetings, and eye shifts. This provides a scientific and accurate cumulative basis for subsequent intervention triggering. S120, when the accumulated value of the effective working hours counter reaches the preset intervention triggering threshold, the timing of intervention execution is determined and an intervention control command is generated, based on the current scenario risk level and the wearer's real-time movement status.
[0037] In some embodiments, the current scenario risk level is obtained through the following steps: Real-time acquisition of environmental characteristic data of the wearer's current location, including at least one of spatial positioning data, wireless communication protocol data, or time-series data of environmental physical quantities; Based on a pre-stored risk feature library, environmental feature data is matched and analyzed in real time to determine the risk level of the current scenario.
[0038] In some embodiments, determining the timing of intervention and generating intervention control instructions by combining the current risk level of the scenario with the wearer's real-time movement status includes: If a data sequence matching a preset high-risk characteristic pattern is detected, the current scenario's risk level is determined to be high-risk; if no data sequence matching the preset high-risk characteristic pattern is detected, the current scenario's risk level is determined to be low-risk. The preset high-risk feature patterns include: road intersections, construction sites or stairwell areas matched based on spatial positioning data; vehicle internal networks or identification information of moving vehicles identified based on wireless communication protocol data; and one or more combinations of acceleration abrupt changes, height changes or rapid fluctuations in ambient light intensity detected based on environmental physical quantity time series data. If the current scenario risk level is high, a suppression command is generated to block the generation of intervention and control commands, and environmental feature data is continuously monitored in a loop. If the current scenario risk level is low, then it is further determined whether the real-time motion intensity index is higher than the second static threshold; wherein, the second static threshold is greater than the first static threshold. If the real-time motion intensity index is higher than the second static threshold, the suspend timer is started to enter the delay waiting process, and the real-time motion intensity index is continuously monitored until the duration of the index being lower than the second static threshold reaches the third preset duration, at which point an intervention control command is generated; during this delay waiting process, the effective working time counter remains in a paused accumulation state. If the real-time motion intensity index is lower than or equal to the second resting threshold, an intervention control command is generated directly.
[0039] Specifically, the spectral intervention glasses acquire real-time environmental characteristic data of the wearer's current location through multiple built-in sensing modules. This environmental characteristic data can include spatial positioning data obtained through satellite positioning or indoor positioning technology, used to determine whether the wearer is in a preset high-risk geographical location such as a road intersection, construction site, or stairwell area; it can also include data obtained through wireless communication protocols such as Bluetooth, Wi-Fi, or near-field communication, used to identify whether the wearer is in a vehicle's internal network environment or detects the identification information of a moving vehicle, thereby determining whether they are riding in a vehicle or driving; it can also include time-series data of physical quantities such as acceleration and angular velocity continuously collected by an inertial sensing unit, and light intensity changes collected by an ambient light sensor, used to detect the presence of characteristic patterns related to high-risk activities, such as sudden acceleration changes, altitude changes, or rapid fluctuations in ambient light intensity. The spectral intervention glasses have a pre-stored risk feature library, which matches and analyzes the real-time acquired environmental characteristic data against high-risk characteristic patterns in the feature library. If a data sequence matching any preset high-risk characteristic pattern is detected, the current scene is classified as high-risk; otherwise, if no match is detected, it is classified as low-risk.
[0040] Specifically, when the current scenario is determined to be high-risk, the glasses immediately generate a suppression command to prevent the generation of intervention control commands, thus avoiding sudden visual changes in dangerous scenarios such as walking in stairwells, crossing roads, or driving vehicles, in order to ensure the wearer's safety. Simultaneously, the glasses continuously and cyclically monitor environmental feature data, tracking changes in the risk level in real time, until the risk level drops to low risk, at which point the intervention conditions are reassessed.
[0041] Specifically, when the current scenario's risk level is determined to be low, the spectral intervention glasses further assess whether the wearer's real-time motion intensity index exceeds a second static threshold. This second static threshold is higher than the first static threshold used to determine the effective working static state. This setting aims to distinguish between "complete stillness" and "slight activity," for example, setting the second static threshold to a threshold that identifies the wearer as standing but not walking. If the real-time motion intensity index exceeds the second static threshold, it indicates that although the wearer is in a low-risk scenario, their body is still in a state of significant activity such as walking or turning. In this case, directly triggering lens color change could still cause inconvenience or minor safety hazards due to sudden visual changes. Therefore, the spectral intervention glasses initiate a timer suspension and enter a delayed waiting process. During this delay, the spectral intervention glasses continuously monitor the real-time motion intensity index, and the effective working time counter remains paused, meaning it no longer accumulates new working hours, but the already accumulated threshold remains unchanged. Only when the real-time motion intensity index remains below the second static threshold for a third preset duration, confirming that the wearer has fully returned to a static state, is an intervention control command finally generated. If the real-time motion intensity index fails to meet the above static conditions during the delay waiting process, the glasses will continue to wait until the conditions are met or the subsequent protection mechanism is triggered.
[0042] In some embodiments, the delay waiting process further includes: During the delayed waiting process, the cumulative duration of the suspended timer is compared with the preset maximum waiting time limit in real time; If the real-time motion intensity index still does not meet the condition of being continuously below the second static threshold and lasting for a duration of the third preset time when the cumulative duration of the suspended timer reaches the preset maximum waiting time limit, a downgrade intervention instruction will be generated. In response to a downgrade intervention command, the optical modulation lens is controlled to periodically switch between a transparent working state and a specific spectral intervention state, and tactile or auditory warning signals are output simultaneously. If the risk level of the current scenario changes from low risk to high risk during the delay waiting process, the delay waiting process will be terminated immediately, the accumulation operation of the effective working hours counter will be paused and the current accumulated value will be saved, and the suspended timer will be reset; the accumulation operation of the effective working hours counter will be resumed after the risk level of the current scenario returns to low risk.
[0043] Specifically, the delayed waiting process further incorporates a timeout protection and dynamic risk response mechanism: real-time comparison of the accumulated duration of the suspension timer with the preset maximum waiting time limit. If the accumulated duration of the suspension timer has reached the maximum waiting time limit, and the real-time motion intensity index still does not meet the condition of continuously falling below the second rest threshold for a duration reaching the third preset duration, it indicates that the wearer has been in an active state for an extended period and cannot enter a completely still state. At this point, the spectral intervention glasses no longer wait indefinitely but generate a downgraded intervention instruction. In response to this downgraded intervention instruction, the spectral intervention glasses control the optical modulation lens to periodically and slowly switch between a transparent working state and a specific spectral intervention state, for example, alternating every few seconds. Simultaneously, tactile or auditory warning signals are output through a vibration motor or bone conduction speaker to gently prompt the wearer to rest without causing distress due to sudden visual changes.
[0044] Furthermore, if the risk level of the current scenario changes from low to high during the delayed waiting process—for example, if the wearer suddenly moves from an indoor, stationary state to an outdoor location and approaches a road intersection—the spectral intervention glasses immediately terminate the current delayed waiting process, suspend the accumulation of the effective working hours counter and save the current accumulated value, and simultaneously reset the suspended timer. The accumulation of the effective working hours counter will resume once the risk level of the subsequent scenario returns to low, and the intervention triggering conditions will be reassessed. Through this multi-layered safety judgment and dynamic adjustment mechanism, the spectral intervention glasses can select the most appropriate time to perform intervention while ensuring the wearer's safety. This avoids rash intervention in dangerous or active states and, through a degradation strategy, prevents the intervention from being permanently impossible due to the inability to meet the stationary condition for an extended period.
[0045] S130, in response to intervention control commands, drives the optical modulation lens of the spectral intervention glasses to switch from a transparent working state to a specific spectral intervention state, and simultaneously shields external interactive input signals.
[0046] In some embodiments, the optical modulation lens employs a multilayer composite optical structure, including an electrically controlled polarization layer and an electrochromic layer.
[0047] Specifically, upon generating an intervention control command, the spectral intervention glasses immediately drive the optical modulation lens to switch from a transparent working state to a specific spectral intervention state, and simultaneously perform a shielding operation on external interactive input signals. The optical modulation lens adopts a multi-layer composite optical structure, which includes at least an electrically controlled polarization layer and an electrochromic layer. Both remain transparent under normal conditions, ensuring clear and uninterrupted vision during daily wear. When an intervention control command is received, the drive circuit built into the temple applies corresponding drive voltage signals to the electrically controlled polarization layer and the electrochromic layer respectively according to a preset drive timing sequence.
[0048] In some embodiments, in response to an intervention control command, driving the optical modulation lens of the spectral intervention glasses to switch from a transparent working state to a specific spectral intervention state includes: In response to intervention control commands, a driving voltage signal is generated to control the switching of the electro-polarized layer between the transparent state and the polarization scattering state, and to control the switching of the electrochromic layer between the transparent state and the amber coloring state. Under a specific spectral interference state, the electrically controlled polarization layer strongly scatters the linearly polarized light emitted from the liquid crystal screen, causing its transmittance to drop below the first transmittance threshold, while the transmittance of the ambient unpolarized light remains above the second transmittance threshold. This causes the contrast of the electronic display content observed through the optical modulation lens to drop below a preset contrast threshold, making the electronic display content unrecognizable to the naked eye, while the natural environment scene observed through the optical modulation lens remains clearly discernible.
[0049] Specifically, for the electrically controlled polarization layer, the driving circuit applies an AC voltage of a specific frequency and amplitude. This voltage acts on the interdigitated electrode structure, generating an in-plane electric field between the electrodes, causing the liquid crystal molecules in the polymer-dispersed liquid crystal or polymer-stabilized liquid crystal material to align in an orientation. In the unenergized state, the liquid crystal molecules are randomly or parallelly aligned, and the lens exhibits high transparency. However, after the voltage is applied, the liquid crystal molecules form an ordered orientation under the influence of the electric field. At this time, light with a polarization direction parallel to the electrode fingers is strongly scattered, while light with a polarization direction perpendicular to the electrode fingers is basically unaffected. Since the light emitted from the liquid crystal display screen is essentially linearly polarized light, when this linearly polarized light passes through the electrically controlled polarization layer in an energized state, its transmittance drops sharply to below the first transmittance threshold, typically falling to 10% or even lower. Ambient light, which is mainly composed of unpolarized light, can still maintain a transmittance above the second transmittance threshold when passing through the electrically controlled polarization layer, typically reaching 40% to 50%. Simultaneously, the electrochromic layer undergoes an electrochemical reaction under the DC voltage applied by the driving circuit, gradually switching from a colorless and transparent state to an amber-colored state. The dominant wavelength is in the range of 580 to 620 nanometers, effectively blocking blue light in the 400 to 500 nanometer band. This color-changing process uses a gradually changing driving waveform, typically completed uniformly within a few seconds, avoiding visual abruptness.
[0050] Specifically, under specific spectral interference states, the electrically controlled polarization layer and the electrochromic layer work together to produce a unique optical effect. For the electronic display screen the wearer is viewing, the linearly polarized light emitted from the screen is first significantly attenuated by the electrically controlled polarization layer. The remaining transmitted light is then absorbed and filtered by the amber-colored electrochromic layer, resulting in extremely low screen brightness reaching the wearer's eyes. Furthermore, due to the optical defocusing effect introduced by the amber layer, the contrast of the screen content drops below a preset contrast threshold, making it impossible for the naked eye to clearly discern details such as text and images, effectively interrupting the visual conditions for continued work. As for the wearer's natural environment, the unpolarized ambient light maintains high transmittance when passing through the electrically controlled polarization layer, and then passes through the amber layer to transmit long-wavelength light above 525 nanometers. This allows the wearer to still clearly discern environmental outlines, obstacles, human activity, and changes in ground elevation, without affecting movement or spatial perception. This optical intervention state, where the screen is unreadable but the environment is clearly visible, achieves the purpose of forcibly interrupting continuous eye use while avoiding the safety hazards caused by complete darkness, allowing the wearer to maintain normal perception of the surrounding environment during rest.
[0051] Specifically, while driving the lens switching, the glasses simultaneously perform a shielding operation on external interactive input signals. This shielding mechanism is implemented at the hardware level. Specifically, the physical buttons on the spectral intervention glasses are connected to the general-purpose input / output pins of the main control chip via circuitry and configured as external interrupt sources. In normal mode, the nested vector interrupt controller is enabled, and the level transition generated by the button can trigger an interrupt request, thereby executing the corresponding button function. When entering a specific spectral intervention state, the main control program writes a specific control register value to the nested vector interrupt controller, performing an interrupt disabling operation, directly cutting off the interrupt response path from the button signal to the central processing unit at the hardware controller level. This means that even if the user physically presses the button, although the general-purpose input / output pin will produce a level change, because the interrupt channel has been marked as shielded by hardware, the signal cannot trigger an interrupt request, and the central processing unit cannot perceive the button action at all, so it will not jump to execute any button function code. This shielding mechanism implemented at the very front end of the hardware link, compared with the judgment method of application layer software flag bits, has an unavoidable mandatory nature and extremely high real-time performance, completely eliminating the possibility of the user exiting the intervention mode by rapid repeated pressing or software means. At this point, while completing the optical switch, the glasses also established a mandatory interactive lock state, creating conditions for subsequent physiological verification and unlocking.
[0052] S140 monitors the wearer's physiological rest behavior characteristics in real time during the duration of a specific spectral intervention state. When physiological rest behavior characteristics that meet the preset relaxation conditions are detected, a reset control command is generated.
[0053] In some embodiments, the wearer's physiological rest behavior characteristics are monitored in real time, and when physiological rest behavior characteristics that meet preset relaxation conditions are detected, a reset control command is generated, including: When the wearer is stationary and not under intervention, infrared distance time-series data during natural blinking is collected. The preset trough determination threshold is dynamically calibrated based on the waveform extreme value and updated to the calibrated trough determination threshold. Infrared distance time-series data were collected at the first sampling frequency. The calibrated trough determination threshold was used to detect troughs and count the duration of duration to obtain the continuous eyelid closure time. Head posture time-series data are collected at the second sampling frequency. The elevation angle is calculated and the duration is statistically analyzed to obtain the duration of continuous head elevation angle maintenance. When the duration of continuous eyelid closure reaches the preset eye-closing rest threshold, and the real-time motion intensity index is lower than the preset motion amplitude threshold, it is determined that the eye-closing relaxation condition is met. When the duration of continuous head tilt reaches the preset threshold for gazing into the distance for rest, and real-time infrared distance data indicates that the eyelids are open, it is determined that the conditions for gazing into the distance for relaxation are met. If either the closed-eye relaxation condition or the distant-looking relaxation condition is met, then the physiological rest behavior characteristics that meet the preset relaxation conditions are detected, and a reset control command is generated.
[0054] Specifically, to achieve accurate physiological behavior recognition, the spectral intervention glasses first undergo continuous dynamic calibration of individualized parameters during daily use when the wearer is at rest and not yet in an intervention state. Specifically, an infrared sensing unit located at the nose pad collects infrared distance time-series data during the wearer's natural blinking process at a set sampling frequency. When the wearer blinks normally, the closing and opening of the eyelids causes periodic changes in the infrared reflection distance, forming a waveform with distinct peaks and troughs. The spectral intervention glasses extract the extreme points in this waveform and dynamically calibrate a preset trough determination threshold, generating a calibrated trough determination threshold adapted to the current individual characteristics and wearing position of the wearer. This calibration process ensures that subsequent eyelid closure detection in the intervention state can accurately distinguish between the closed state and signal drift caused by loosening of the glasses or environmental interference, improving the robustness of the detection.
[0055] Specifically, upon entering a specific spectral intervention state, the spectral intervention glasses begin continuously acquiring infrared distance time-series data at a first sampling frequency, and perform real-time trough detection using the aforementioned calibrated trough determination threshold. When the detected infrared distance value is consistently below the trough threshold, it indicates that the eyelids are in a closed state. The spectral intervention glasses then accumulate the duration of continuous eyelid closure to obtain the continuous eyelid closure duration. Simultaneously, the inertial sensing unit continuously acquires head posture time-series data at a second sampling frequency. By fusing and solving the acceleration and angular velocity data, it calculates the head's elevation angle relative to the horizontal plane in real time, and accumulates the duration for which the head maintains a certain elevation angle to obtain the continuous elevation angle maintenance duration.
[0056] Specifically, during the monitoring process, the spectral intervention glasses independently assess two types of physiological behaviors simultaneously. When the duration of continuous eyelid closure reaches a preset rest threshold (e.g., 20 seconds), and the real-time motion intensity index is below a preset motion amplitude threshold, it indicates that the wearer has completed a continuous eye-closing relaxation behavior while at rest, thus meeting the eye-closing relaxation condition. When the duration of continuous head tilt reaches a preset distance-gazing rest threshold (e.g., head tilted upwards at more than 15 degrees for 10 seconds), and infrared distance time-series data indicates that the eyelids are in a normally open state, it indicates that the wearer is in a head-tilting, distance-gazing posture without closing their eyes, thus meeting the distance-gazing relaxation condition. These two relaxation conditions correspond to two common eye rest methods: eye-closing rest allows the eyeballs to be completely moistened and relaxed, while distance-gazing relieves ciliary muscle tension by adjusting the lens focal length. Meeting either condition confirms the detection of a physiological rest behavior characteristic that meets the preset relaxation condition.
[0057] Specifically, once the aforementioned physiological rest behavior characteristics are confirmed, the spectral intervention glasses immediately generate a reset control command. This command first triggers the interrupt enable operation of the nested vector interrupt controller, restoring the interrupt response path of the physical buttons and removing the shielding of external interactive input signals. Subsequently, it drives the electrically controlled polarization layer and the electrochromic layer to return to their unpowered transparent working state, allowing the lens to slowly return to its normal transparent appearance within a few seconds. A brief tactile feedback is then provided to the wearer via a vibration motor, indicating that the rest is complete and work can resume. At this point, a complete intervention cycle ends, and the effective working time counter is reset to zero, ready to enter the next round of effective working time accumulation. Through this verification mechanism that uses physiological behavior as the sole unlocking credential, the glasses effectively prevent users from bypassing rest through simple button operations, ensuring that each intervention delivers a genuine eye relaxation effect.
[0058] S150, in response to the reset control command, drives the optical modulation lens of the spectral intervention glasses to return to the transparent working state, removes the shielding of external interactive input signals, and resets the effective working time counter to zero.
[0059] In some embodiments, the spectral intervention glasses include physical buttons, and shielding external interactive input signals includes: By executing an interrupt disable operation on the interrupt signal line connected to the physical button through the interrupt controller, the interrupt response path from the button signal to the central processing unit is cut off at the hardware level. When the shielding of external interactive input signals is removed, the external interrupt response path is restored by sending an interrupt enable command to the interrupt controller.
[0060] Specifically, the reset control command first triggers the unmasking of external interactive input signals. Since the spectral intervention glasses disabled interrupts on the interrupt signal lines connected to the physical buttons via the interrupt controller when entering intervention mode, effectively cutting off the interrupt response path from the buttons to the central processing unit at the hardware level, this path needs to be restored during the reset process. Specifically, the main control program sends an interrupt enable command to the nested vector interrupt controller, re-enabling the interrupt channels previously marked as masked, allowing level transitions generated by the physical buttons to trigger interrupt requests again and execute the corresponding button functions. At this point, the user's manual control over the glasses is fully restored.
[0061] In some embodiments, the spectral intervention glasses further include a wearable detection sensor, and the method further includes: The wearable contact status signal is monitored in real time by wearing a detection sensor; If, under a specific spectral intervention state, the wearing contact state signal is detected to switch from an effective state to an ineffective state, and the duration exceeds a preset disengagement time threshold, then a forced lockout state is entered. In the forced lock state, regardless of whether the wearing contact status signal is restored to the valid state, the optical modulation lens is kept in a specific spectral interference state and all single-trigger external interactive input signals are blocked. The forced lockout state will be exited and a reset control command will be generated only if any of the following conditions are met while the forced lockout state is in effect: The signal indicating that the wearing contact state has been restored to an effective state has been detected, and after re-wearing, either the closed-eye relaxation condition or the distant-looking relaxation condition is fully detected; or The forced lock state lasts for the maximum preset lock time limit.
[0062] Specifically, simultaneously, the reset control command drives the optical modulation lens to return from a specific spectral interference state to a transparent working state. The driving circuit stops applying AC voltage to the electro-polarizing layer, the liquid crystal molecules return to a random or parallel alignment state, and the polarization scattering effect disappears; at the same time, the DC voltage applied to the electrochromic layer stops, and the electrochromic material gradually fades back to a colorless and transparent state. The overall light transmittance of the lens is restored to over 75%, and its appearance is consistent with ordinary glasses, allowing the wearer to view various electronic screens and environmental objects normally. The entire restoration process uses a gradually changing driving waveform and is usually completed within a few seconds to avoid discomfort caused by sudden visual changes.
[0063] Subsequently, the spectral intervention glasses reset the effective working hours counter to zero. The previously accumulated value that reached the intervention trigger threshold was reset to zero, preparing for the next round of effective working hours accumulation. At this point, the glasses returned to the initial state of transparent operation, button interaction was enabled, and the counter was reset to zero. The system then returned to the cycle of real-time acquisition of motion and gaze states and began to re-accumulate effective working hours.
[0064] Specifically, to address the possibility that wearers might attempt to avoid rest by removing their glasses during intervention, the spectral intervention glasses are equipped with a wear detection sensor. This sensor, typically located on the inside of the temples or nose pads, monitors the contact between the frame and the wearer's skin in real time using capacitive or photoelectric contact detection. In a specific spectral intervention state, if the wear contact signal changes from valid to invalid, it indicates that the wearer has removed the glasses, and this disengagement lasts for more than a preset disengagement duration threshold (e.g., no wear contact is detected for more than three consecutive seconds). The glasses then determine that there is an intention to avoid rest and enter a forced lock state. In the forced lock state, regardless of whether the wear contact signal subsequently returns to valid, the glasses maintain the optical modulation lenses in the specific spectral intervention state, continuously rendering the screen unreadable and continuing to block all single-trigger external interactive input signals. That is, physical buttons remain disabled, and the user cannot exit through any manual operation. The forced lock state is designed to eliminate the possibility of the wearer bypassing the rest verification by briefly removing the glasses, ensuring the mandatory nature of the intervention.
[0065] Specifically, exiting the forced lock state can only be achieved through two methods. The first method is for the wearer to put the glasses back on to a valid contact state and then fully perform either the closed-eye relaxation condition or the distant-gazing relaxation condition, i.e., completing the unlock verification through actual eye-closing or distant-gazing actions. This mechanism ensures that even in the forced lock state, the final unlock still depends on the completion of physiological rest, rather than simply putting them back on. The second method is for the forced lock state to last for a preset maximum lock time limit, such as five minutes. At this point, regardless of whether physiological verification is completed, the glasses will automatically exit the forced lock state. This design serves as a fallback protection mechanism to prevent the glasses from being permanently locked due to sensor malfunction or the wearer's inability to complete verification. When the forced lock state exits, the glasses perform the same operation as a normal reset: disabling the interruption shield, restoring the lens to transparency, and resetting the effective working time counter to zero, allowing the glasses to fully return to normal working status and restart the accumulation of effective working time. By introducing the aforementioned wearing detection and forced locking mechanisms, the glasses further improve the closed-loop management of user behavior, effectively preventing cheating by removing the glasses to avoid resting, while ensuring the availability and fault tolerance of the system through the setting of the maximum locking time limit.
[0066] According to the embodiments of this disclosure, the following technical effects are achieved: (1) By jointly determining motion state data and gaze state data, an "effective working time accumulation" mechanism was constructed. The time is only accumulated when the wearer is stationary and the gaze is continuously pointing at the target area. The time is automatically paused instead of being reset when the wearer moves or the gaze deviates. This design is fundamentally different from the timing logic based on fixed elapsed time in the existing technology. It accurately eliminates non-effective eye use periods such as walking, meetings, and gaze shifts. It avoids frequent accidental interruptions and ensures that intervention is triggered in the case of truly continuous screen viewing, which significantly improves the scientific nature and accuracy of fatigue intervention timing.
[0067] (2) By introducing a safety circuit breaker mechanism that combines scenario risk level recognition and motion status assessment, intervention is not immediately implemented after the cumulative value reaches the threshold. Instead, the current scenario risk level is first assessed. In high-risk scenarios, the generation of intervention instructions is directly suppressed; in low-risk scenarios, the intensity of motion is further assessed. If the person is active, a delay waiting period is initiated until they are completely still. If they cannot remain still for a long time, a downgraded intervention strategy is implemented, using periodic switching and warning signals to replace sudden visual changes. This mechanism completely eliminates the safety hazards caused by sudden blackouts or color changes in scenarios such as walking, driving, and going up and down stairs. At the same time, it can still provide gentle reminders during prolonged activity, balancing safety and the effectiveness of intervention.
[0068] (3) By employing an optical modulation lens that combines an electrically controlled polarizing layer and an electrochromic layer, a specific spectral intervention state of "screen unreadable, environment clearly visible" is achieved. In the intervention state, the electrically controlled polarizing layer utilizes the physical characteristic that the light emitted from the liquid crystal display screen is linearly polarized to reduce the screen light transmittance to an extremely low level, while maintaining the high transmittance of unpolarized ambient light; the electrochromic layer switches to an amber color state, further blocking blue light and introducing an optical defocus effect, making the screen content completely unreadable due to the loss of contrast, while the outlines of the natural environment, obstacles, and human activities remain clearly discernible. Compared with the existing technologies of complete black blocking or single color changing, this optical structure ensures the wearer's normal perception of the environment while forcibly interrupting operation, eliminating safety hazards, and has a higher psychological acceptance.
[0069] (4) By performing hardware-level interrupt masking during the intervention, the interrupt response path from the physical button to the central processing unit is cut off, realizing an unbypassable "hard lock mechanism." At the same time, the reset condition is uniquely bound to the completion of physiological rest behaviors such as closing the eyes or looking into the distance. Compared with the existing technology that relies on software flags to determine or allows manual button exit, this design fundamentally eliminates the possibility of users bypassing the intervention by rapid pressing or software means, ensuring the authenticity and mandatory nature of the rest behavior, and significantly improving user compliance.
[0070] (5) By introducing a wear detection sensor and a forced locking mechanism, when the wearer is detected to have removed the lens and the time spent without the lens exceeds a threshold during the intervention, the lens is kept in a specific spectral intervention state and the button is kept blocked. The wearer can only exit the system after completing physiological verification or reaching the maximum locking time limit after re-wearing the lens. This mechanism effectively prevents cheating by removing the lens to avoid rest, and at the same time, the setting of the maximum locking time limit provides a safety net for sensor failure or extreme situations, ensuring the availability and fault tolerance of the system.
[0071] (6) By dynamically calibrating the infrared distance time series data in a non-interventional state, the waveform extreme value during the natural blinking process is used to update the trough judgment threshold, so that the eyelid closure detection can adapt to the individual characteristics and wearing position changes of different wearers, thereby improving the accuracy and robustness of physiological behavior recognition; at the same time, by simultaneously monitoring the two relaxation conditions of closing the eyes and looking into the distance, it provides wearers with a variety of rest options, taking into account the convenience of use in different scenarios.
[0072] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this disclosure is not limited to the described order of actions, because according to this disclosure, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to this disclosure.
[0073] The above is an introduction to the method embodiments. The following describes the present disclosure further through device embodiments.
[0074] Figure 2 The diagram illustrates a structural representation of a visual fatigue intervention device based on effective working hours accumulation and safety circuit breaker, as provided in an embodiment of this disclosure. Figure 2 As shown, a visual fatigue intervention device 200 based on effective working hours accumulation and safety circuit breaker may include: The data acquisition module 210 is used to collect the wearer's motion state data and gaze state data in real time, and to perform an accumulation operation or a hold operation on the effective working time counter based on the joint determination result of the motion state data and gaze state data.
[0075] The intervention instruction generation module 220 is used to determine the timing of intervention and generate intervention control instructions when the cumulative value of the effective working hours counter reaches the preset intervention trigger threshold, combined with the current scenario risk level and the wearer's real-time movement status.
[0076] The intervention state switching module 230 is used to drive the optical modulation lens of the spectral intervention glasses to switch from a transparent working state to a specific spectral intervention state in response to intervention control commands, and simultaneously shield external interactive input signals.
[0077] The reset command generation module 240 is used to monitor the wearer's physiological rest behavior characteristics in real time during the duration of a specific spectral intervention state, and generate a reset control command when physiological rest behavior characteristics that meet the preset relaxation conditions are detected.
[0078] The working state switching module 250 is used to respond to the reset control command, drive the optical modulation lens of the spectral intervention glasses to return to the transparent working state, remove the shielding of external interactive input signals, and clear the effective working time counter.
[0079] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the described module can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0080] The acquisition, storage, and application of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0081] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0082] Figure 3 A schematic block diagram of an electronic device 300 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0083] Electronic device 300 includes a computing unit 301, which can perform various appropriate actions and processes according to a computer program stored in ROM 302 or a computer program loaded into RAM 303 from storage unit 308. RAM 303 can also store various programs and data required for the operation of electronic device 300. The computing unit 301, ROM 302, and RAM 303 are interconnected via bus 304. I / O interface 305 is also connected to bus 304.
[0084] Multiple components in electronic device 300 are connected to I / O interface 305, including: input unit 306, such as keyboard, mouse, etc.; output unit 307, such as various types of displays, speakers, etc.; storage unit 308, such as disk, optical disk, etc.; and communication unit 309, such as network card, modem, wireless transceiver, etc. Communication unit 309 allows electronic device 300 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0085] The computing unit 301 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 301 performs the various methods and processes described above, such as method 100. For example, in some embodiments, method 100 may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 308. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 300 via ROM 302 and / or communication unit 309. When the computer program is loaded into RAM 303 and executed by the computing unit 301, one or more steps of method 100 described above may be performed. Alternatively, in other embodiments, the computing unit 301 may be configured to perform method 100 by any other suitable means (e.g., by means of firmware).
[0086] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0087] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0088] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on 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 of the foregoing.
[0089] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including voice input, speech input, or tactile input).
[0090] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0091] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.
[0092] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this disclosure can be achieved, and this is not limited herein.
[0093] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A method for intervening in visual fatigue based on effective working hours accumulation and safety circuit breaker, applied to spectral intervention glasses, characterized in that, include: The system collects the wearer's motion and gaze data in real time, and performs an accumulation or hold operation on the effective working time counter based on the joint determination result of the motion and gaze data. When the cumulative value of the effective working hours counter reaches the preset intervention trigger threshold, the timing of intervention is determined and an intervention control command is generated, taking into account the current risk level of the scenario and the wearer's real-time movement status. In response to the intervention control command, the optical modulation lens of the spectral intervention glasses is driven to switch from a transparent working state to a specific spectral intervention state, and external interactive input signals are simultaneously shielded; During the duration of the specific spectral intervention state, the wearer's physiological rest behavior characteristics are monitored in real time. When physiological rest behavior characteristics that meet the preset relaxation conditions are detected, a reset control command is generated. In response to the reset control command, the optical modulation lens of the spectral intervention glasses is driven back to the transparent working state, the shielding of external interactive input signals is released, and the effective working time counter is cleared.
2. The method according to claim 1, characterized in that, The real-time acquisition of the wearer's motion and gaze data, and the calculation of the effective working hours counter based on the joint determination of the motion and gaze data, includes the following: Acceleration and angular velocity data are collected by an inertial sensing unit, and the real-time motion intensity index is calculated based on the root mean square value of the sliding window of the acceleration magnitude. Eye image data or infrared reflection data are collected by an eye-tracking sensor unit, and the real-time gaze direction vector is calculated after feature extraction. When the real-time motion intensity index is continuously below the first static threshold for a duration of a first preset duration, and the wearer is in an effective gaze state for a duration of a duration of a second preset duration, it is determined that the wearer is in an effective working static state, and an accumulation pulse is sent to the effective working time counter to perform an accumulation operation. When the duration for which the real-time motion intensity index is continuously below the first static threshold does not reach the first preset duration, or when the duration for which the wearer is in an effective gaze state does not reach the second preset duration, the sending of accumulation pulses to the effective working time counter is paused, and the current value of the effective working time counter remains unchanged; wherein, The wearer being in an effective gaze state includes: the wearer's real-time gaze direction vector pointing within the space of the preset target area or the wearer's real-time gaze point being located within the preset target area.
3. The method according to claim 2, characterized in that, The current scenario risk level is obtained through the following steps: Real-time acquisition of environmental feature data of the wearer's current location, wherein the environmental feature data includes at least one of spatial positioning data, wireless communication protocol data, or time-series data of environmental physical quantities; Based on a pre-stored risk feature library, the environmental feature data is matched and analyzed in real time to determine the risk level of the current scenario.
4. The method according to claim 3, characterized in that, The process of determining the timing of intervention and generating intervention control instructions by combining the current risk level of the scenario with the wearer's real-time movement status includes: If a data sequence matching a preset high-risk characteristic pattern is detected, the current scenario's risk level is determined to be high-risk; if no data sequence matching the preset high-risk characteristic pattern is detected, the current scenario's risk level is determined to be low-risk. The preset high-risk feature patterns include: road intersections, construction sites or stairwell areas matched based on the spatial positioning data; vehicle internal networks or identification information of moving vehicles identified based on the wireless communication protocol data; and one or more combinations of acceleration abrupt changes, height changes or rapid fluctuations in ambient light intensity detected based on the environmental physical quantity time series data. If the current scenario risk level is high, a suppression command is generated to block the generation of intervention and control commands, and environmental feature data is continuously monitored in a loop. If the current scenario risk level is low, then it is further determined whether the real-time motion intensity index is higher than the second static threshold; wherein, the second static threshold is greater than the first static threshold. If the real-time motion intensity index is higher than the second static threshold, the suspend timer is started to enter the delay waiting process, and the real-time motion intensity index is continuously monitored until the duration of the index being lower than the second static threshold reaches the third preset duration, at which point an intervention control command is generated; during this delay waiting process, the effective working time counter remains in a paused accumulation state. If the real-time motion intensity index is lower than or equal to the second resting threshold, an intervention control command is generated directly.
5. The method according to claim 4, characterized in that, The delay waiting process also includes: During the delayed waiting process, the cumulative duration of the suspended timer is compared with the preset maximum waiting time limit in real time; If the real-time motion intensity index still does not meet the condition of being continuously below the second static threshold and lasting for a duration of a third preset time when the cumulative duration of the suspended timer reaches the preset maximum waiting time limit, a downgrade intervention instruction is generated. In response to the degradation intervention command, the optical modulation lens is controlled to periodically switch between a transparent working state and a specific spectral intervention state, and tactile or auditory warning signals are output simultaneously. If the current scenario risk level changes from low risk to high risk during the delay waiting process, the delay waiting process is immediately terminated, the accumulation operation of the effective working hours counter is paused and the current accumulated value is saved, and the suspended timer is reset; after the current scenario risk level returns to low risk, the accumulation operation of the effective working hours counter is resumed.
6. The method according to claim 1, characterized in that, The optical modulation lens adopts a multi-layer composite optical structure, including an electrically controlled polarization layer and an electrochromic layer.
7. The method according to claim 6, characterized in that, The step of switching the optical modulation lens of the spectral intervention glasses from a transparent working state to a specific spectral intervention state in response to the intervention control command includes: In response to the intervention control command, a driving voltage signal is generated to control the electro-polarized layer to switch between a transparent state and a polarization scattering state, and to control the electrochromic layer to switch between a transparent state and an amber coloring state. Under a specific spectral interference state, the electrically controlled polarization layer strongly scatters the linearly polarized light emitted from the liquid crystal screen, causing its transmittance to drop below the first transmittance threshold, while the transmittance of the ambient unpolarized light remains above the second transmittance threshold. This causes the contrast of the electronic display content observed through the optical modulation lens to drop below a preset contrast threshold, making the electronic display content unrecognizable to the naked eye, while the natural environment scene observed through the optical modulation lens remains clearly discernible.
8. The method according to claim 1, characterized in that, The real-time monitoring of the wearer's physiological rest behavior characteristics, when detecting physiological rest behavior characteristics that meet preset relaxation conditions, generates a reset control command including: When the wearer is stationary and not under intervention, infrared distance time-series data during natural blinking is collected. The preset trough determination threshold is dynamically calibrated based on the waveform extreme value and updated to the calibrated trough determination threshold. Infrared distance time-series data is collected at the first sampling frequency, and the calibrated trough determination threshold is used to perform trough detection and duration statistics to obtain the continuous eyelid closure duration. Head posture timing data is collected at a second sampling frequency. The elevation angle is calculated and the duration is statistically analyzed for the head posture timing data to obtain the duration of continuous head elevation angle maintenance. When the duration of continuous eyelid closure reaches a preset eye-closing rest threshold and the real-time motion intensity index is lower than a preset motion amplitude threshold, it is determined that the eye-closing relaxation condition is met. When the duration of the continuous head tilt reaches the preset threshold for gazing into the distance for rest, and real-time infrared distance data indicates that the eyelids are open, it is determined that the conditions for gazing into the distance for relaxation are met. If either the closed-eye relaxation condition or the distant-looking relaxation condition is met, then the physiological rest behavior characteristics that meet the preset relaxation conditions are detected, and a reset control command is generated.
9. The method according to claim 1, characterized in that, The spectral intervention glasses include physical buttons, and the shielding of external interactive input signals includes: By executing an interrupt disable operation on the interrupt signal line connected to the physical button through the interrupt controller, the interrupt response path from the button signal to the central processing unit is cut off at the hardware level. When the shielding of external interactive input signals is removed, the external interrupt response path is restored by sending an interrupt enable command to the interrupt controller.
10. The method according to claim 8, characterized in that, The spectral intervention glasses also include a wearable detection sensor, and the method further includes: The wear detection sensor monitors the wear contact status signal in real time. If, under a specific spectral intervention state, the wearing contact state signal is detected to switch from an effective state to an ineffective state, and the duration exceeds a preset disengagement time threshold, then a forced lockout state is entered. In the forced lock state, regardless of whether the wearing contact status signal is restored to the valid state, the optical modulation lens is kept in a specific spectral interference state and all single-trigger external interactive input signals are blocked. The forced lockout state will be exited and a reset control command will be generated only if any of the following conditions are met while the forced lockout state is in effect: The signal indicating that the wearing contact state has been restored to an effective state is detected, and after re-wearing, it is fully detected that either the closed-eye relaxation condition or the distant-looking relaxation condition is met; or The forced lock state lasts for the maximum preset lock time limit.